:root {
  --surface: #FCFBF8;
  --surface-2: #FFFFFF;
  --surface-3: #F2F5F3;
  --on-surface: #1C201E;
  --on-surface-2: #4A554E;
  --muted: #6E7A73;
  --brand: #22C55E;
  --brand-dark: #16A34A;
  --brand-soft: #DCFCE7;
  --brand-soft-ink: #166534;
  --border: #E8ECE9;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 20, 0.04), 0 2px 8px rgba(15, 23, 20, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 20, 0.08);
  --font-display: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-text: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--surface);
  color: var(--on-surface);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  margin: 0 0 12px;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; margin-top: 8px; }
h3 { font-size: 1.2rem; line-height: 1.35; margin-top: 4px; }

p { margin: 0 0 14px; color: var(--on-surface-2); }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); text-decoration: underline; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(252, 251, 248, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--on-surface);
  letter-spacing: -0.01em;
}
.brand img { width: 34px; height: 34px; display: block; border-radius: 10px; }
.brand:hover { text-decoration: none; color: var(--on-surface); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: var(--on-surface-2);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { background: var(--surface-3); color: var(--on-surface); text-decoration: none; }
.nav-links a.active { color: var(--brand-dark); background: var(--brand-soft); }

@media (max-width: 620px) {
  .nav-links a { padding: 8px 10px; font-size: 0.9rem; }
  .brand { font-size: 1.05rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.05s ease, background 0.15s ease, box-shadow 0.2s ease;
  border: 0;
  cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; text-decoration: none; box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--on-surface); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--surface-3); color: var(--on-surface); text-decoration: none; }
.btn:active { transform: translateY(1px); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  text-align: center;
}
.hero .eyebrow {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand-soft-ink);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero p.lead {
  max-width: 620px;
  margin: 8px auto 32px;
  font-size: 1.15rem;
  color: var(--on-surface-2);
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Feature grid ---------- */
.features {
  padding: clamp(24px, 5vw, 56px) 0 clamp(48px, 8vw, 96px);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #DDE4E0; }
.card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-soft-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.card h3 { margin-bottom: 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--on-surface-2); font-size: 0.96rem; }

/* ---------- Section headers ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto; }
.section-head p { color: var(--on-surface-2); font-size: 1.05rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 44px 32px;
  text-align: center;
  margin: 40px 0 8px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 560px; margin: 6px auto 22px; }
.cta-band .btn-ghost { background: #fff; color: var(--on-surface); border-color: transparent; }
.cta-band .btn-ghost:hover { background: #F4F5F3; }

/* ---------- Article / legal / support pages ---------- */
.page {
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
}
.page-head { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.page-head .kicker { color: var(--brand-dark); font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; font-size: 0.82rem; }
.page-head p { color: var(--on-surface-2); margin-top: 6px; font-size: 1.05rem; }

.article {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.article h2 { margin-top: 28px; }
.article h2:first-of-type { margin-top: 4px; }
.article ul { padding-left: 20px; margin: 0 0 14px; }
.article li { margin-bottom: 8px; color: var(--on-surface-2); }
.article li strong { color: var(--on-surface); }
.article .updated {
  display: inline-block;
  background: var(--surface-3);
  color: var(--on-surface-2);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
details.faq-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px 20px;
  transition: border-color 0.15s ease, box-shadow 0.2s ease;
}
details.faq-item[open] { border-color: #C9E8D5; box-shadow: var(--shadow-sm); }
details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--on-surface);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+'; font-size: 1.5rem; color: var(--brand-dark); font-weight: 400;
  transition: transform 0.15s ease;
}
details.faq-item[open] summary::after { content: '−'; }
details.faq-item .answer { padding: 0 0 18px; color: var(--on-surface-2); }

/* ---------- Contact box ---------- */
.contact-card {
  max-width: 620px;
  margin: 36px auto 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.contact-card .email-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 18px;
  background: var(--brand-soft);
  color: var(--brand-soft-ink);
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-display);
}
.contact-card .email-btn:hover { background: #C6F0D5; text-decoration: none; }

/* ---------- Values row ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.value h3 { font-size: 1.05rem; margin-bottom: 4px; }
.value p { font-size: 0.96rem; }
.value .num { color: var(--brand-dark); font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; letter-spacing: 0.04em; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 40px;
  margin-top: 40px;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--on-surface-2); font-weight: 600; }
.footer-links a:hover { color: var(--brand-dark); }

@media (max-width: 520px) {
  .footer-row { flex-direction: column; text-align: center; }
}
