
:root {
  --brand: #0F5B46;
  --brand-dark: #0A4535;
  --brand-tint: #DCEDE5;
  --accent: #E0A526;
  --ink: #14201B;
  --ink-muted: #5B6660;
  --surface: #F7F5F0;
  --card: #FFFFFF;
  --line: #E2DED5;
  --warning: #9A5B00;
  --critical: #B3261E;
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--surface);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; }

.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 20px; letter-spacing: -0.3px; }
.logo img { width: 36px; height: 36px; }

/* Hero */
.hero { background: var(--brand); color: #fff; border-radius: 0 0 28px 28px; padding-bottom: 32px; position: relative; overflow: hidden; }
.hero .logo { color: #fff; }
.hero .logo img { background: #fff; border-radius: 10px; }
.hero h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.8px; margin: 28px 0 14px; font-weight: 700; }
.hero p.lead { font-size: 17px; color: var(--brand-tint); margin: 0 0 24px; }
.hero .pulse { position: absolute; right: -40px; top: 8px; width: 260px; opacity: 0.10; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--accent); text-transform: uppercase; }

.points { list-style: none; padding: 0; margin: 28px 0 8px; display: grid; gap: 12px; }
.points li { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.points .dot { width: 10px; height: 10px; border-radius: 999px; background: var(--accent); flex-shrink: 0; margin-top: 7px; }
.points b { display: block; }
.points span { color: var(--ink-muted); font-size: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: var(--radius); border: none; font: 600 16px "Plus Jakarta Sans", system-ui, sans-serif; cursor: pointer; text-decoration: none; transition: background .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-gold { background: var(--accent); color: var(--ink); }
.btn-gold:hover { background: #cf9619; color: var(--ink); }
.btn-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.meta { font-size: 13px; color: var(--ink-muted); margin-top: 12px; }
.hero .meta { color: var(--brand-tint); }

/* Survey */
.survey { padding: 8px 0 40px; }
.progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 4px 0 20px; }
.progress > div { height: 100%; background: var(--brand); width: 0; transition: width .25s; }
.step-count { font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.question { font-size: 24px; line-height: 1.25; letter-spacing: -0.4px; font-weight: 700; margin: 8px 0 6px; }
.hint { color: var(--ink-muted); font-size: 14px; margin: 0 0 16px; }

.options { display: grid; gap: 10px; margin: 16px 0 24px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option label { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font-weight: 500; }
.option label::before { content: ""; width: 20px; height: 20px; flex-shrink: 0; border: 2px solid var(--line); border-radius: 999px; background: #fff; }
.option input[type=checkbox] + label::before { border-radius: 6px; }
.option input:checked + label { border: 2px solid var(--brand); background: var(--brand-tint); padding: 11px 15px; }
.option input:checked + label::before { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 3px #fff; }
.option input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.option input:disabled + label { opacity: .45; cursor: not-allowed; }

.roles { display: grid; gap: 12px; margin: 20px 0; }
.role { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font: inherit; color: inherit; }
.role:hover { border-color: var(--brand); }
.role .ic { width: 44px; height: 44px; border-radius: 999px; background: var(--brand-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.role b { display: block; font-size: 16px; }
.role span { font-size: 14px; color: var(--ink-muted); }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 500; color: var(--ink-muted); }
input[type=text], input[type=tel], input[type=email], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--card); color: var(--ink); font: 500 16px "Plus Jakarta Sans", system-ui, sans-serif;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }

.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--brand); margin: 1px 0 0; flex-shrink: 0; }
.check span { font-size: 15px; }
.check small { display: block; color: var(--ink-muted); font-size: 13px; }

.nav { display: flex; gap: 10px; }
.nav .btn-ghost { flex: 0 0 auto; }
.nav .btn-primary { flex: 1; }

.error { color: var(--critical); font-size: 14px; font-weight: 600; margin: 0 0 12px; min-height: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Thanks */
.done { text-align: center; padding: 40px 0; }
.done .tick { width: 84px; height: 84px; border-radius: 999px; background: var(--brand); display: inline-flex; align-items: center; justify-content: center; position: relative; }
.done .tick::after { content: ""; position: absolute; top: 4px; right: 4px; width: 18px; height: 18px; border-radius: 999px; background: var(--accent); border: 3px solid var(--surface); }
.done h2 { font-size: 28px; letter-spacing: -0.5px; margin: 20px 0 8px; }
.done p { color: var(--ink-muted); margin: 0 auto 24px; max-width: 380px; }
.explainer { margin: 0 0 24px; }
.explainer video { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: var(--radius); border: 1px solid var(--line); background: var(--brand); }
.explainer figcaption { font-size: 13px; color: var(--ink-muted); margin-top: 8px; }

footer { padding: 24px 0 40px; font-size: 13px; color: var(--ink-muted); }
footer a { color: var(--ink-muted); }

/* Privacy page */
.doc h1 { font-size: 28px; letter-spacing: -0.5px; margin: 12px 0 8px; }
.doc h2 { font-size: 18px; margin: 28px 0 6px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 20px; }

[hidden] { display: none !important; }

@media (min-width: 640px) {
  .hero h1 { font-size: 42px; }
}
