:root {
  --navy: #0b1324;
  --navy-2: #111a2e;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #dbe3ef;
  --blue: #2f7bff;
  --blue-d: #1d63e6;
  --blue-soft: #eaf2ff;
  --green: #16a34a;
  --red: #dc2626;
  --gold: #e9b949;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-d); }
.ic {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 44px 16px 120px;
  background: linear-gradient(180deg, #070b15 0%, #121a2b 52%, #8a909b 80%, #fff 100%);
  color: #fff;
}
.brand {
  font-weight: 800;
  letter-spacing: .32em;
  font-size: 18px;
}
.tagline {
  margin-top: 8px;
  color: #6ea2ff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 860px;
  margin: 22px auto 0;
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: #4b8dff; font-weight: 800; }
.hero-sub {
  max-width: 620px;
  margin: 16px auto 0;
  font-size: 17px;
  line-height: 1.5;
  color: #e2e8f0;
}
.hero-sub b { color: #fff; }

/* ---------- Quiz card ---------- */
main { padding: 0 16px; }
.quiz {
  position: relative;
  max-width: 480px;
  margin: -84px auto 0;
  padding: 28px 24px 24px;
  background: #fff;
  border: 1px solid #c9dafb;
  border-radius: 18px;
  box-shadow: 0 24px 60px -24px rgba(15, 23, 42, .35), 0 0 0 6px rgba(47, 123, 255, .05);
  transition: max-width .3s ease;
}
.quiz.is-wide { max-width: 760px; }
.quiz-head { text-align: center; }
.quiz-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.quiz-head h2 span { color: var(--blue); }
.quiz-head p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }

.progress { margin: 22px 0 6px; }
.progress-meta {
  display: flex; justify-content: space-between;
  font-size: 12.5px; color: var(--muted); margin-bottom: 8px;
}
.progress-bar { height: 6px; border-radius: 99px; background: #edf1f7; overflow: hidden; }
.progress-bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--blue), #5b9bff);
  border-radius: inherit;
  transition: width .45s cubic-bezier(.2, .8, .2, 1);
}

.step { display: none; margin-top: 18px; }
.step.is-active { display: block; animation: stepIn .35s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step h3 {
  margin: 0 0 16px;
  text-align: center;
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 700;
}

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 10px 12px;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s, box-shadow .15s;
}
.choice:hover { border-color: var(--blue); background: #f7faff; }
.choice:active { transform: scale(.98); }
.choice.is-selected {
  border-color: var(--blue); background: var(--blue-soft);
  box-shadow: 0 0 0 3px rgba(47, 123, 255, .15);
}
.choice kbd {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  font: 600 11px/1 "Inter", sans-serif; color: var(--muted);
  border: 1px solid var(--line); border-radius: 6px; background: #f8fafc;
}
.choice.is-selected kbd { background: var(--blue); border-color: var(--blue); color: #fff; }

.field { display: block; position: relative; margin-bottom: 12px; }
.field input {
  width: 100%; height: 50px; padding: 0 14px;
  font: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px;
  outline: none; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #8a94a6; }
.field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 123, 255, .15); }
.field small { display: none; margin: 6px 2px 0; font-size: 12.5px; color: var(--red); }
.field.has-error input { border-color: var(--red); }
.field.has-error small { display: block; }
.field-phone .cc {
  position: absolute; left: 14px; top: 15px;
  font-size: 15px; color: var(--ink); font-weight: 500;
}
.field-phone input { padding-left: 42px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 56px; padding: 0 22px; margin-top: 4px;
  font: inherit; font-size: 16px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
  color: #fff; text-decoration: none;
  background: linear-gradient(180deg, #3f87ff, var(--blue-d));
  border: 0; border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(29, 99, 230, .8);
  cursor: pointer;
  transition: transform .1s, filter .15s;
}
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .7; cursor: wait; }
.btn-outline {
  width: auto; background: #fff; color: var(--blue-d);
  border: 2px solid var(--blue); box-shadow: none;
}

.back {
  display: block; margin: 14px auto 0; padding: 4px 8px;
  font: inherit; font-size: 13px; color: var(--muted);
  background: none; border: 0; cursor: pointer;
}
.back:hover { color: var(--ink); }
.consent { margin: 12px 0 0; font-size: 11.5px; line-height: 1.5; color: #8a94a6; text-align: center; }
.consent a { color: inherit; }

.good-news {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: -4px auto 14px; padding: 10px 14px;
  font-size: 14px; color: #14532d;
  background: #ecfdf3; border: 1px solid #bbf0cf; border-radius: 10px;
}
.good-news .ic { font-size: 18px; color: var(--green); }
.calendly-box {
  height: 700px; min-width: 280px;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.cal-demo {
  height: 100%; display: grid; place-content: center; gap: 10px;
  padding: 24px; text-align: center; background: #f8fafc;
}
.cal-demo b { color: var(--ink); font-size: 17px; }
.cal-demo p { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.cal-demo code { background: #e2e8f0; padding: 1px 6px; border-radius: 4px; }

/* ---------- Trust row ---------- */
.trust {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 760px; margin: 28px auto 0; padding: 0;
}
.trust li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  background: #f5f8ff; border: 1px solid #dbe6fb; border-radius: 999px;
}
.trust .ic { color: var(--blue); }

/* ---------- How it works ---------- */
.how, .faq { max-width: 960px; margin: 80px auto 0; text-align: center; }
.how h2, .faq h2 {
  margin: 0 0 28px; color: var(--ink);
  font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; letter-spacing: -.02em;
}
.how h2 span { color: var(--blue); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.how-card {
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.how-num {
  display: grid; place-items: center; width: 34px; height: 34px;
  font-weight: 800; color: #fff; background: var(--navy); border-radius: 10px;
}
.how-card h4 { margin: 16px 0 6px; font-size: 17px; color: var(--ink); }
.how-card p { margin: 0; font-size: 14.5px; line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; text-align: left; }
.faq h2 { text-align: center; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 2px; font-weight: 600; color: var(--ink); font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; padding-right: 30px; line-height: 1.6; font-size: 15px; }
.faq .btn-outline { display: flex; width: max-content; margin: 32px auto 0; }

/* ---------- Footer ---------- */
.foot {
  margin-top: 90px; padding: 28px 16px 36px;
  text-align: center; font-size: 13px; color: var(--muted);
  border-top: 1px solid var(--line);
}
.foot a { color: inherit; }
.foot .disclaimer { max-width: 720px; margin: 10px auto 0; font-size: 11.5px; line-height: 1.5; color: #94a3b8; }

/* ---------- Simple pages (not-a-fit, privacy) ---------- */
.simple { max-width: 640px; margin: 0 auto; padding: 56px 16px 40px; }
.simple .brand { color: var(--ink); text-align: center; }
.simple h1 { margin: 28px 0 12px; color: var(--ink); font-size: clamp(26px, 4vw, 34px); letter-spacing: -.02em; line-height: 1.2; }
.simple p, .simple li { line-height: 1.65; font-size: 15.5px; }
.simple h2 { margin-top: 28px; color: var(--ink); font-size: 18px; }
.panel { margin: 24px 0; padding: 20px 22px; background: #f8fafc; border: 1px solid var(--line); border-radius: var(--radius); }
.panel ul { margin: 8px 0 0; padding-left: 20px; }

@media (max-width: 720px) {
  .hero { padding: 24px 16px 100px; }
  .brand { font-size: 15px; }
  .tagline { font-size: 10.5px; letter-spacing: .14em; }
  .hero h1 { margin-top: 14px; font-size: 27px; }
  .hero-sub { margin-top: 10px; font-size: 14.5px; }
  .quiz { padding: 20px 16px 18px; }
  .quiz-head h2 { font-size: 21px; }
  .quiz-head p { font-size: 13.5px; }
  .progress { margin-top: 16px; }
  .choices { gap: 10px; }
  .choice { font-size: 14px; }
  .how-grid { grid-template-columns: 1fr; }
  .calendly-box { height: 1000px; }
}
