:root {
  --bg: #fbfaf6;
  --bg-alt: #f1efe6;
  --text: #1d2a22;
  --muted: #55625a;
  --brand: #1f6b46;
  --brand-dark: #154d32;
  --accent: #e0a526;
  --card: #ffffff;
  --border: #e2dfd3;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111814;
    --bg-alt: #17211b;
    --text: #e8eee9;
    --muted: #a7b5ac;
    --brand: #4fb582;
    --brand-dark: #3d9a6b;
    --card: #1a251f;
    --border: #2a382f;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 720px) { .nav nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--brand); color: #fff; text-decoration: none; font-weight: 600;
  border: 2px solid var(--brand); transition: background .15s, transform .15s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); }
.btn-small { padding: 7px 16px; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand-dark); border-color: #fff; }
.btn-light:hover { background: #f3f3f3; border-color: #f3f3f3; }

/* Hero */
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.eyebrow { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin: 0 0 12px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.journey {
  list-style: none; margin: 0; padding: 24px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.journey li { display: flex; align-items: center; gap: 14px; padding: 12px 0; font-weight: 600; }
.journey li + li { border-top: 1px dashed var(--border); }
.journey span {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-size: .9rem;
  background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand);
}

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); max-width: 62ch; margin-top: -4px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 32px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.card p { color: var(--muted); margin: 0; }
.icon { font-size: 1.7rem; margin-bottom: 10px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { padding-left: 52px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 700;
  background: var(--accent); color: #2b1d00;
}
.step p { color: var(--muted); margin: 0; }

.checklist-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .checklist-grid { grid-template-columns: 1fr; } }
.checklist { list-style: none; margin: 0; padding: 8px 24px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.checklist li { padding: 12px 0 12px 34px; position: relative; }
.checklist li + li { border-top: 1px solid var(--border); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 12px; width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
  background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand);
}
.note { font-size: .9rem; color: var(--muted); font-style: italic; }

.section-cta { padding: 56px 0; }
.cta-box {
  text-align: center; color: #fff; border-radius: 22px; padding: 56px 24px;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}
.cta-box p { max-width: 56ch; margin: 0 auto 24px; opacity: .92; }

.sources .source-list { padding-left: 1.2em; }
.sources li { margin: 8px 0; color: var(--muted); }
.disclaimer { margin-top: 24px; padding: 16px 18px; border-left: 4px solid var(--accent); background: var(--bg-alt); border-radius: 8px; font-size: .92rem; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: .92rem; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-row nav { display: flex; gap: 18px; }
.footer-row a { color: var(--muted); }

/* Legal pages */
.legal { padding: 56px 0 72px; max-width: 760px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.todo { background: #fff4d6; color: #5a4300; padding: 2px 6px; border-radius: 4px; font-weight: 600; }
