:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1d1b22;
  --muted: #5d5a66;
  --line: #e7e3dc;
  --accent: #1f6f5c;
  --accent-ink: #ffffff;
  --accent-soft: #e4f1ec;
  --radius: 14px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141317;
    --surface: #1c1b20;
    --text: #ecebef;
    --muted: #a6a3ad;
    --line: #2e2c33;
    --accent: #5cc2a3;
    --accent-ink: #0d1f19;
    --accent-soft: #1a2c27;
    color-scheme: dark;
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.01em;
}
.brand svg { width: 30px; height: 30px; flex: none; }
.site-nav { display: flex; gap: 6px 20px; flex-wrap: wrap; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }

/* Home */
.hero { padding: 72px 0 56px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 15px; margin: 0 0 12px; }
.hero h1 {
  font-size: clamp(32px, 5.4vw, 52px); line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 20px; max-width: 18ch;
}
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 62ch; margin: 0 0 28px; }
.button {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 600;
}
.button:hover { filter: brightness(1.08); }

section { padding: 48px 0; }
section h2 { font-size: 28px; letter-spacing: -0.01em; margin: 0 0 24px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps .num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 15px; margin-bottom: 12px;
}
.steps h3 { margin: 0 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

.nots { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; max-width: 70ch; }
.nots li { padding-left: 28px; position: relative; }
.nots li::before {
  content: ""; position: absolute; left: 4px; top: 0.55em; width: 12px; height: 12px;
  border-radius: 50%; border: 2px solid var(--accent);
}

.section-lead { color: var(--muted); max-width: 62ch; margin: -8px 0 24px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 28px 32px; }
.cards.two-up { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.cards + .cards { margin-top: 36px; }
.cards h3 { margin: 0 0 12px; font-size: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; max-width: 560px;
}
.contact-card dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; }
.contact-card dt { color: var(--muted); }
.contact-card dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .contact-card dl { grid-template-columns: 1fr; gap: 0; }
  .contact-card dd { margin-bottom: 12px; }
  .contact-card dd:last-child { margin-bottom: 0; }
}

/* Legal pages */
.doc { padding: 48px 0 64px; }
.doc h1 { font-size: clamp(28px, 4.4vw, 38px); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.doc h2 { font-size: 21px; margin: 36px 0 10px; }
.doc p, .doc li { max-width: 70ch; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .note {
  background: var(--accent-soft); border-radius: var(--radius); padding: 16px 20px; margin: 24px 0;
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 32px; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
