*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #1a7a4a;
  --green-dark: #145e38;
  --green-light: #eaf4ee;
  --text: #1c1c1c;
  --muted: #555;
  --border: #d0d5d8;
  --error: #c0392b;
  --radius: 6px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header ── */

header {
  background: var(--green);
  padding: 16px 0;
}

header h1 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ── Hero ── */

.hero {
  background: var(--green-light);
  border-bottom: 1px solid #c4dece;
  padding: 52px 0 44px;
  text-align: center;
}

.hero h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero .lead {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── How it works ── */

.how-it-works {
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
}

.how-it-works h3 {
  font-size: 1.4rem;
  margin-bottom: 28px;
  color: var(--green-dark);
}

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.steps li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 2px;
}

.steps li strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.steps li p {
  color: var(--muted);
  font-size: 0.97rem;
}

.note {
  margin-top: 28px;
  padding: 14px 18px;
  background: #fff8e1;
  border-left: 4px solid #f9a825;
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: #5a4200;
}

/* ── Form section ── */

.form-section {
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
}

.form-section h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--green-dark);
}

.form-section > .container > p {
  color: var(--muted);
  margin-bottom: 32px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26, 122, 74, 0.15);
}

.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: var(--error);
}

.field-error {
  display: block;
  font-size: 0.85rem;
  color: var(--error);
  margin-top: 4px;
  min-height: 1.2em;
}

.forgot-code-link {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 6px;
}

.forgot-code-link a {
  color: var(--green);
  text-decoration: none;
}

.forgot-code-link a:hover {
  text-decoration: underline;
}

.field-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

.form-status {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.97rem;
  margin-bottom: 20px;
  display: none;
}

.form-status.success {
  display: block;
  background: var(--green-light);
  border: 1px solid #7ecba0;
  color: var(--green-dark);
}

.form-status.error {
  display: block;
  background: #fdf0ef;
  border: 1px solid #f5c6c2;
  color: var(--error);
}

button[type="submit"] {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 13px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  width: 100%;
}

button[type="submit"]:hover {
  background: var(--green-dark);
}

button[type="submit"]:disabled {
  background: #90b8a1;
  cursor: not-allowed;
}

/* ── FAQ ── */

.faq {
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
}

.faq h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: var(--green-dark);
}

details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
}

summary {
  padding: 14px 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--green);
  flex-shrink: 0;
}

details[open] summary::after {
  content: "−";
}

details p {
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 0.97rem;
}

/* ── Footer ── */

footer {
  padding: 24px 0;
  text-align: center;
}

footer p {
  font-size: 0.9rem;
  color: var(--muted);
}

footer a {
  color: var(--green);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ── Responsive ── */

@media (max-width: 480px) {
  .hero h2 {
    font-size: 1.5rem;
  }

  .hero .lead {
    font-size: 1.05rem;
  }
}
