:root {
  --navy: #0b1446;
  --purple: #3b1066;
  --orange: #ff8a00;
  --yellow: #ffe100;
  --ink: #1b1f2a;
  --muted: #5b6272;
  --line: #e3e6ee;
  --card: #ffffff;
  --brand: #1f3fd1;
  --brand-dark: #142c9e;
  --ok: #138a4b;
  --err: #c62828;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #f4f5f9;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 600px at 10% 0%, #5a1a86 0%, transparent 60%),
              radial-gradient(900px 600px at 100% 30%, #1a2a9a 0%, transparent 60%),
              linear-gradient(160deg, var(--navy), var(--purple));
  color: #fff;
  text-align: center;
  padding: 28px 16px 56px;
}
.logo-chip {
  display: inline-block;
  background: #fff;
  border-radius: 12px;
  padding: 6px 14px;
  margin-bottom: 22px;
}
.logo-chip img { height: 64px; width: auto; }
.hero h1 {
  font-size: clamp(30px, 6.5vw, 58px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin: 0 auto 14px;
  max-width: 860px;
  text-transform: uppercase;
}
.hero h1 .hl { color: var(--orange); text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.hero h2 {
  font-size: clamp(20px, 3.8vw, 32px);
  font-weight: 800;
  margin: 0 0 6px;
  text-transform: uppercase;
}
.hero h2 .hl { color: var(--yellow); text-decoration: underline; text-underline-offset: 5px; }
.hero .sub { font-style: italic; opacity: .92; margin: 0 0 24px; }

.book-wrap { max-width: 280px; margin: 0 auto 26px; }
.book-wrap img { border-radius: 6px; box-shadow: 0 18px 50px rgba(0,0,0,.45); }

.hero .intro { max-width: 640px; margin: 0 auto; font-size: 17px; }
.hero .intro strong { color: var(--yellow); }
.hero .fine { font-size: 13px; opacity: .85; margin: 6px 0 0; }

/* ---------- Survey card ---------- */
.survey-section { padding: 0 16px; margin-top: -32px; scroll-margin-top: 16px; }
.card {
  background: var(--card);
  max-width: 640px;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(15, 23, 60, .18);
  padding: 26px 22px 24px;
}
.progress { height: 8px; background: #eceef5; border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.progress > div { height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), #ffb347); transition: width .3s ease; }
.step-count { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.q-title { font-size: 21px; font-weight: 800; margin: 0 0 4px; }
.q-help { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.req { color: var(--err); }

.options { display: grid; gap: 10px; margin-top: 12px; }
.opt {
  display: flex; align-items: center; gap: 12px;
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  cursor: pointer;
  font-weight: 600;
  background: #fff;
  transition: border-color .15s, background .15s;
}
.opt:hover { border-color: #b9c3ea; }
.opt input { width: 20px; height: 20px; accent-color: var(--brand); margin: 0; flex: none; }
.opt.selected { border-color: var(--brand); background: #f0f3ff; }

.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field select {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 12px 13px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 6px 0 4px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand); }

.error-msg { color: var(--err); font-size: 14px; font-weight: 600; min-height: 20px; margin-top: 10px; }

.actions { display: flex; gap: 10px; margin-top: 16px; }
.btn {
  appearance: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 800; font-size: 17px;
  padding: 14px 20px; border-radius: 10px;
  background: var(--brand); color: #fff;
  flex: 1;
  text-decoration: none; text-align: center; display: inline-block;
}
.btn:hover { background: var(--brand-dark); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn.secondary { background: #eef0f6; color: var(--ink); flex: 0 0 auto; }
.btn.secondary:hover { background: #e2e5ef; }
.btn.cta { background: var(--orange); color: #111; font-size: 19px; }
.btn.cta:hover { background: #ff9d26; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.scarcity { text-align: center; margin: 14px 0 0; font-weight: 800; color: var(--err); }
.scarcity small { display: block; font-weight: 500; color: var(--muted); }

/* ---------- Content sections ---------- */
.section { max-width: 920px; margin: 0 auto; padding: 48px 16px; }
.section h3 { font-size: clamp(22px, 4vw, 30px); font-weight: 900; text-align: center; margin: 0 0 22px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.pill {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; font-weight: 700; display: flex; gap: 10px; align-items: center;
}
.pill .x { color: var(--err); font-weight: 900; }
.pill .q { color: var(--brand); font-weight: 900; }
.center { text-align: center; }
.center .btn { flex: none; min-width: 260px; margin-top: 22px; }

.expert { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center; }
@media (min-width: 760px) { .expert { grid-template-columns: 1fr 1fr; } }
.expert img { border-radius: var(--radius); }
.expert p { margin: 0 0 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.badge { background: #eef1ff; color: var(--brand-dark); font-weight: 800; font-size: 13px; padding: 6px 10px; border-radius: 99px; }

/* ---------- Footer ---------- */
footer { background: #0e1330; color: #c9cee0; font-size: 13px; padding: 32px 16px; }
footer .inner { max-width: 920px; margin: 0 auto; }
footer a { color: #fff; }
footer p { margin: 0 0 10px; }
footer .links a { margin-right: 14px; }

/* ---------- Thank-you ---------- */
.ty .card { margin-top: 0; text-align: center; }
.ty h1 { font-size: clamp(26px, 5vw, 40px); }
.steps { text-align: left; margin: 18px 0 6px; padding-left: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 12px 40px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 14px;
}
.steps li.done::before { content: "✓"; background: var(--ok); }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 32px 16px 56px; background: #fff; }
.legal h1 { font-size: 30px; }
.legal h2 { font-size: 18px; margin-top: 26px; }
.legal p, .legal li { color: #333; }
.legal-top { background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px; }
.legal-top img { height: 52px; width: auto; }
