/* =====================================================
   EXIT-READY PAGES — Claya-level direct response
   Mobile-first, one buyer, one CTA. Serif display + pill
   CTAs with shine, floating badges, soft card shadows.
   ===================================================== */

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

:root {
  --navy:     #0E1547;
  --blue:     #172ED7;
  --blue-2:   #4A6CF7;
  --cta-bg:   #101B66;
  --white:    #ffffff;
  --bg-soft:  #F5F6FB;
  --bg-card:  #FBFBFE;
  --text:     #1A1A2E;
  --muted:    #6B6B80;
  --border:   #E7E7F1;
  --green:    #16A567;
  --amber:    #C77D00;
  --red:      #D64541;
  --lilac:    #EEF0FF;
  --lilac-bd: #D7DBFF;

  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius:    18px;
  --radius-sm: 10px;
  --max-w:     760px;

  --shadow-soft: 0 6px 24px rgba(14,21,71,.06);
  --shadow-card: 0 14px 40px rgba(14,21,71,.10);
}

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  font-family: var(--font-sans); color: var(--text); background: var(--white);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 22px; width: 100%; }
.center { text-align: center; }

h1, h2 { font-family: var(--font-serif); color: var(--navy); line-height: 1.1; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(34px, 9.4vw, 52px); }
h2 { font-size: clamp(27px, 7vw, 40px); }
.text-blue { color: var(--blue); }

/* ---------- buttons — pill + animated shine ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 700; font-size: 16.5px;
  border-radius: 50px; padding: 16px 30px; cursor: pointer; border: none;
  color: var(--white); background: var(--cta-bg); text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
  position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(16,27,102,.30); }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%;
  width: 55%; transform: skewX(-22deg); pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.5) 50%, transparent 100%);
  animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%, 62% { left: -70%; } 88%, 100% { left: 130%; } }
.btn--full { width: 100%; }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { box-shadow: 0 10px 26px rgba(0,0,0,.22); }

/* ---------- badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--lilac); border: 1px solid var(--lilac-bd); color: var(--blue);
  font-size: 12.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  border-radius: 50px; padding: 7px 14px; margin-bottom: 14px;
}

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav__inner { max-width: var(--max-w); margin: 0 auto; padding: 12px 22px; display: flex; align-items: center; justify-content: space-between; }
.nav__logo img { height: 34px; width: auto; }
.nav .btn { padding: 11px 20px; font-size: 14.5px; }

/* ---------- hero ---------- */
.hero { padding: 30px 0 10px; }
.hero__sub { font-size: 17.5px; color: #3A3A50; margin: 14px 0 20px; }
.hero__sub strong { color: var(--blue); }
.hero__image { position: relative; margin: 22px 0 18px; }
.hero__image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.float-badge {
  position: absolute; right: 12px; bottom: 12px;
  display: flex; align-items: center; gap: 9px;
  background: var(--white); border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow-card); font-size: 12.5px; font-weight: 800; line-height: 1.3; color: var(--navy);
}
.float-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; }
.hero__fine { font-size: 13.5px; color: var(--muted); margin-top: 12px; text-align: center; }

/* ---------- trust bar ---------- */
.trust-bar { background: var(--bg-soft); border-block: 1px solid var(--border); margin-top: 26px; }
.trust-bar__inner { display: flex; justify-content: space-around; align-items: center; padding: 18px 10px; gap: 6px; }
.trust-bar__item { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.trust-bar__item svg { width: 24px; height: 24px; flex: none; color: var(--blue); }

/* ---------- scorecard (the "product shot") ---------- */
.scorecard {
  background: var(--navy); border-radius: var(--radius); padding: 24px 26px; color: #E8EDF7;
  box-shadow: var(--shadow-card); font-variant-numeric: tabular-nums; margin-top: 26px;
}
.scorecard .sc-k { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: #93A2C4; font-weight: 800; margin-bottom: 6px; }
.scorecard .sc-big { font-family: var(--font-serif); font-size: 26px; font-weight: 700; margin-bottom: 14px; color: #fff; }
.sc-row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid #26325C; font-size: 14.5px; }
.sc-row span:first-child { color: #B9C6DC; }
.sc-row b { font-weight: 700; }
.sc-row .bad { color: #FF9D96; } .sc-row .mid { color: #FFCE7A; } .sc-row .ok { color: #7FE7BA; }
.sc-note { margin-top: 14px; font-size: 12.5px; color: #93A2C4; }

/* ---------- sections ---------- */
section { padding: 52px 0; }
section.soft { background: var(--bg-soft); border-block: 1px solid var(--border); }
.sec-sub { font-size: 16.5px; color: var(--muted); margin: 12px 0 4px; }

/* ---------- symptom checklist ---------- */
.sym { display: grid; gap: 10px; margin-top: 24px; }
.sym div {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 15px 17px; font-size: 15.5px; color: #3A3A50; box-shadow: var(--shadow-soft);
}
.sym div::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--lilac); color: var(--blue); font-weight: 800; font-size: 13px;
  display: grid; place-items: center; margin-top: 2px; }
.sym b { color: var(--navy); }

/* ---------- risk trio ---------- */
.risk { display: grid; gap: 12px; margin-top: 24px; }
.risk .card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-soft); }
.risk .card b { display: block; margin-bottom: 6px; font-size: 17px; color: var(--navy); font-family: var(--font-serif); }
.risk .card p { font-size: 14.5px; color: var(--muted); }
.risk .card .tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: var(--red); background: #FDEDEC; border-radius: 6px; padding: 3px 9px; margin-bottom: 10px; }

/* ---------- framework steps (numbered, progress spine) ---------- */
.steps__list { position: relative; margin-top: 28px; display: grid; gap: 16px; }
.steps__list::before { content: ""; position: absolute; left: 21px; top: 20px; bottom: 20px; width: 2px; background: var(--lilac-bd); }
.steps__item { position: relative; display: flex; gap: 16px; }
.steps__number { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff;
  font-weight: 800; font-size: 17px; display: grid; place-items: center; z-index: 1; box-shadow: 0 6px 16px rgba(23,46,215,.35); }
.steps__card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-soft); flex: 1; }
.steps__card b { display: block; font-family: var(--font-serif); font-size: 18px; color: var(--navy); margin-bottom: 5px; }
.steps__card p { font-size: 14.5px; color: var(--muted); }

/* ---------- what you get ---------- */
.get { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.get div { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px;
  font-size: 14px; font-weight: 700; color: var(--navy); box-shadow: var(--shadow-soft); display: flex; gap: 8px; align-items: center; }
.get div::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; margin-top: 24px; }
.faq details { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 700; color: var(--navy); font-size: 15.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--blue); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; font-size: 14.5px; color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--navy); border-radius: var(--radius); padding: 40px 28px; text-align: center; margin: 10px 0 40px; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #B9C6DC; margin: 12px auto 22px; max-width: 46ch; }
.cta-banner .fine { font-size: 12.5px; color: #93A2C4; margin-top: 12px; }

footer { padding: 8px 0 46px; color: var(--muted); font-size: 13px; text-align: center; }
footer a { color: var(--navy); font-weight: 600; }

/* ---------- sticky CTA (after hero) ---------- */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 120;
  transform: translateY(120%); opacity: 0; transition: transform .3s ease, opacity .3s ease; pointer-events: none; }
.sticky-cta.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.sticky-cta .btn { width: 100%; box-shadow: 0 12px 30px rgba(0,0,0,.30); }

/* ---------- desktop ---------- */
@media (min-width: 861px) {
  :root { --max-w: 980px; }
  .hero { padding: 52px 0 20px; }
  .hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 44px; align-items: center; }
  .hero__image { margin: 0; }
  .sym { grid-template-columns: 1fr 1fr; }
  .risk { grid-template-columns: repeat(3, 1fr); }
  .get { grid-template-columns: repeat(4, 1fr); }
  .hero__fine { text-align: left; }
}

/* ---------- assessment quiz ---------- */
.quiz { max-width: 640px; margin: 0 auto; }
.progress { height: 7px; background: var(--border); border-radius: 99px; margin: 22px 0 8px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--blue); border-radius: 99px; transition: width .25s ease; }
.prog-fine { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.q-ask { font-size: clamp(21px, 3vw, 26px); line-height: 1.25; margin-bottom: 20px; font-family: var(--font-serif); font-weight: 600; color: var(--navy); }
.q-opts { display: grid; gap: 10px; }
.q-opts button { text-align: left; background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 18px; font: 15.5px/1.5 var(--font-sans); color: var(--text); cursor: pointer;
  transition: border-color .12s, box-shadow .12s; box-shadow: var(--shadow-soft); }
.q-opts button:hover { border-color: var(--blue); box-shadow: 0 8px 22px rgba(23,46,215,.12); }
.q-back { background: none; border: 0; color: var(--muted); font-size: 14px; cursor: pointer; margin-top: 18px; padding: 6px 0; }
.contact { display: grid; gap: 10px; margin-top: 8px; }
.contact input { border: 1px solid var(--border); border-radius: 12px; padding: 15px 17px; font: 15.5px var(--font-sans); width: 100%; }
.contact input:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------- results ---------- */
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0; }
@media (min-width: 861px) { .res-grid { grid-template-columns: repeat(4, 1fr); } }
.res-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-soft); }
.res-card .rk { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-bottom: 8px; }
.res-card .rv { font-family: var(--font-serif); font-size: 34px; font-weight: 700; line-height: 1; color: var(--navy); }
.res-card .rb { font-size: 11.5px; font-weight: 800; letter-spacing: .05em; margin-top: 8px; display: inline-block; padding: 3px 9px; border-radius: 6px; }
.rb.bad { background: #FDEDEC; color: var(--red); } .rb.mid { background: #FDF3E0; color: var(--amber); } .rb.ok { background: #E5F7EF; color: var(--green); }
.res-bar { height: 7px; background: var(--border); border-radius: 99px; margin-top: 12px; overflow: hidden; }
.res-bar i { display: block; height: 100%; border-radius: 99px; }
.insight { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 16px 18px; margin-bottom: 10px; font-size: 15.5px; color: #3A3A50; box-shadow: var(--shadow-soft); }

/* ---------- booking ---------- */
.book { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-top: 26px; box-shadow: var(--shadow-card); }
.pick { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.pick button { background: var(--white); border: 1px solid var(--border); border-radius: 50px; padding: 10px 16px; font: 14px var(--font-sans); cursor: pointer; }
.pick button.sel { background: var(--blue); border-color: var(--blue); color: #fff; }
#bookBtn:disabled { opacity: .5; cursor: default; }
#bookBtn:disabled::after { animation: none; }
.fine { color: var(--muted); font-size: 13.5px; }
