:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #17201b;
  --muted: #5a645e;
  --line: #e2e0d8;
  --brand: #0f6b4a;
  --brand-ink: #ffffff;
  --brand-soft: #e6f2ec;
  --warn-bg: #fff6e3;
  --warn-line: #f0d9a6;
  --red: #a8322d;
  --radius: 14px;
  --max: 1040px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101512;
    --surface: #171e1a;
    --ink: #e9eee9;
    --muted: #a3ada6;
    --line: #2a332e;
    --brand: #3fb184;
    --brand-ink: #0c1410;
    --brand-soft: #1b2b23;
    --warn-bg: #2a2416;
    --warn-line: #4a3f22;
    --red: #e0736c;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--brand); }
img, svg { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; }

/* Header */
header.site { border-bottom: 1px solid var(--line); background: var(--surface); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.logo b { color: var(--brand); font-weight: 700; }
.logo svg { width: 30px; height: 30px; flex: none; }
nav.top a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px; }
nav.top a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; max-width: 14ch; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 46ch; margin: 0 0 28px; }
.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); padding: 13px 22px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.btn.ghost { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); margin-left: 10px; }
.pillrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pill { background: var(--brand-soft); color: var(--ink); border-radius: 999px; padding: 6px 14px; font-size: 14px; }

/* Sections */
section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(26px, 3.6vw, 34px); line-height: 1.2; margin: 0 0 10px; letter-spacing: -0.01em; }
section p.sub { color: var(--muted); margin: 0 0 30px; max-width: 60ch; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 700; font-size: 15px; margin-bottom: 12px; }
ol.steps { padding-left: 0; list-style: none; counter-reset: s; margin: 0; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.flags li { margin-bottom: 10px; }
.flags li::marker { color: var(--red); }
.twocol { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card.do h3 { color: var(--brand); }
.card.dont h3 { color: var(--red); }
.card ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }

/* Risk */
.risk { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius); padding: 22px; }
.risk h2 { font-size: 22px; }
.risk p { margin: 0 0 8px; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer.site a { color: var(--muted); margin-right: 18px; }

/* Legal pages */
.legal { padding: 56px 0 72px; max-width: 760px; }
.legal h1 { font-size: 36px; margin: 0 0 24px; }
.legal h2 { font-size: 21px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--ink); }
.legal address { font-style: normal; }

@media (max-width: 560px) {
  nav.top { display: none; }
  .btn.ghost { margin: 10px 0 0; }
  .hero { padding: 48px 0 40px; }
}
