:root {
  --navy: #0F2544;
  --navy-2: #16406C;
  --navy-3: #0D2748;
  --gold: #D6B368;
  --gold-dark: #B8964A;
  --ivory: #F7F5F0;
  --ivory-2: #EFEBE2;
  --ink: #1F2430;
  --muted: #5B6273;
  --line: #E2DDD2;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); font-weight: 700; color: var(--navy); }
h3 { font-size: 1.25rem; color: var(--navy); margin-top: 1.6em; }
p { margin: 0 0 1em; }
a { color: var(--navy-2); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.gold { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 600; font-size: 1rem;
  border: 0; border-radius: 999px; padding: 15px 28px; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 24px rgba(214,179,104,.35); }
.btn-gold:hover { background: #E0C07A; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; opacity: .85; }
.btn-link { background: none; color: var(--muted); padding: 10px 4px; font-weight: 500; }
.btn[disabled] { opacity: .6; cursor: wait; }
.wide { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }

/* Landing hero */
.hero {
  background: linear-gradient(160deg, var(--navy-2) 0%, var(--navy-3) 70%);
  color: #fff; padding: 56px 0 0; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: end; }
.hero-copy { padding-bottom: 64px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--gold); margin-bottom: 18px; }
.eyebrow.dark { color: var(--gold-dark); }
.lead { font-size: 1.15rem; color: rgba(255,255,255,.86); max-width: 34ch; }
.fine { font-size: .88rem; color: rgba(255,255,255,.6); margin-top: 14px; }
.hero-photo img { border-radius: 18px 18px 0 0; width: 100%; height: auto; object-fit: cover; }

.band { padding: 64px 0; }
.band.alt { background: var(--ivory-2); }
.checks { list-style: none; padding: 0; margin: 0 0 24px; }
.checks li { position: relative; padding: 10px 0 10px 38px; font-size: 1.08rem; border-bottom: 1px solid var(--line); }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 16px; width: 18px; height: 10px;
  border-left: 3px solid var(--gold-dark); border-bottom: 3px solid var(--gold-dark); transform: rotate(-45deg);
}
.pillar-strip { color: var(--muted); font-weight: 600; font-size: .95rem; }

.trust { background: var(--navy); color: rgba(255,255,255,.85); padding: 36px 0; text-align: center; }
.trust-label { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--gold); margin: 0 0 6px; }
.trust-names { font-weight: 600; margin-bottom: 18px; }
.trust-names:last-child { margin-bottom: 0; }

.quotes { padding: 0 0 64px; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
blockquote { margin: 0; background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
blockquote p { font-size: 1.02rem; }
cite { font-style: normal; font-weight: 700; color: var(--navy); font-size: .92rem; }

.final { background: linear-gradient(160deg, var(--navy-2), var(--navy-3)); color: #fff; padding: 72px 0; }
.final h2 { color: #fff; }
.final p { color: rgba(255,255,255,.8); }
.final .btn-gold { margin-top: 8px; }
.share { margin-top: 18px; }
.contact { font-size: .92rem; margin-top: 28px; }
.contact a { color: var(--gold); }
.foot { text-align: center; font-size: .85rem; color: var(--muted); padding: 28px 20px; background: var(--ivory); }

/* Question flow */
body.is-flow { background: var(--ivory); }
.flow { min-height: 100vh; min-height: 100dvh; display: flex; align-items: flex-start; padding: 40px 0; }
.flow-wrap { max-width: 680px; width: 100%; }
.progress { margin-bottom: 36px; }
.progress-meta { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.fill { height: 100%; background: linear-gradient(90deg, var(--navy-2), var(--gold)); border-radius: 99px; transition: width .3s ease; }
.instruction { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.q { font-size: clamp(1.4rem, 4vw, 1.9rem); color: var(--navy); margin-bottom: 26px; }
.sub { color: var(--muted); }
.opts { display: grid; gap: 10px; }
.opt {
  font: inherit; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 16px 18px; cursor: pointer; color: var(--ink); font-weight: 500;
  transition: border-color .15s ease, background .15s ease;
}
.opt:hover { border-color: var(--navy-2); }
.opt.selected { border-color: var(--navy); background: var(--navy); color: #fff; }
.back { margin-top: 22px; }
textarea, select, input[type=text], input[type=email], input[type=tel], .gate input:not([type=checkbox]) {
  width: 100%; font: inherit; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
textarea:focus, input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--navy-2); }
.gate form { display: grid; gap: 16px; margin-top: 18px; }
.gate label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--navy); }
.opt-label { color: var(--muted); font-weight: 400; }
.gate .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); }
.gate .consent input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--navy); }
.err { color: #A23B2A; font-weight: 600; margin: 0; }

/* Results */
.result-hero { background: linear-gradient(160deg, var(--navy-2), var(--navy-3)); color: #fff; padding: 56px 0; }
.result-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: center; }
.result-hero h1 { color: #fff; }
.score-card { background: #fff; color: var(--navy); border-radius: 18px; padding: 28px; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.score { font-size: 4.4rem; font-weight: 800; line-height: 1; color: var(--navy); margin-bottom: 14px; }
.score-card .fill { background: var(--gold); }
.tier { font-size: 1.5rem; font-weight: 700; margin-top: 14px; color: var(--gold-dark); }
.prose p { font-size: 1.05rem; }
.block { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-top: 14px; }
.block-n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.block h4 { color: var(--navy); font-size: 1.15rem; margin-bottom: 4px; }
.block p { margin: 0; color: var(--muted); }
.pct { color: var(--gold-dark); font-weight: 800; }
.pillar { border-top: 1px solid var(--line); padding: 26px 0 8px; }
.pillar-head { display: flex; justify-content: space-between; align-items: baseline; }
.pillar-head h4 { letter-spacing: .08em; color: var(--navy); font-size: 1.05rem; }
.pillar .bar { margin: 6px 0 16px; }
.pillar .why { color: var(--muted); font-size: .95rem; }

@media (max-width: 820px) {
  body { font-size: 16px; }
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 24px; }
  .hero-photo { max-width: 360px; margin: 0 auto; }
  .quote-grid, .result-grid { grid-template-columns: 1fr; }
  .band { padding: 48px 0; }
  .flow { padding: 24px 0; }
  .cta-row .btn-gold { width: 100%; }
}

/* Results v2 */
.hero-note { color: rgba(255,255,255,.7); font-size: .95rem; margin: 0; }
.block .lo { margin-top: 8px; color: var(--ink); }
.block p + p { margin-top: 8px; }
.cta-box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; margin-top: 28px; text-align: center; }
.cta-box h3 { color: #fff; margin-top: 0; }
.cta-box p { color: rgba(255,255,255,.8); }
details.pillar { border-top: 1px solid var(--line); padding: 18px 0; }
details.pillar summary { list-style: none; cursor: pointer; }
details.pillar summary::-webkit-details-marker { display: none; }
details.pillar .pillar-head h4::after { content: " +"; color: var(--muted); font-weight: 500; }
details.pillar[open] .pillar-head h4::after { content: " −"; }
details.pillar .bar { margin: 6px 0 0; }
.pillar-body { padding-top: 14px; }
details.science { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; }
details.science summary { cursor: pointer; font-weight: 700; color: var(--navy); }
details.science p { margin-top: 12px; }
.gate textarea { resize: vertical; }

/* Score moment: same family as the rest of the site, heavier and tighter so it reads as the hero */
.result-hero h1 { font-weight: 800; font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: -0.03em; }
.score { font-weight: 800; font-size: 5rem; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.tier { font-weight: 700; font-style: normal; letter-spacing: -0.01em; }

.tagline { font-weight: 700; color: var(--gold); font-size: 1.15rem; margin-bottom: 10px; }

.gate select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #5B6273 50%), linear-gradient(135deg, #5B6273 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }

/* Application page */
.gate fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.gate legend { font-weight: 600; font-size: .95rem; color: var(--navy); margin-bottom: 8px; padding: 0; }
.opt.radio { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--ink); }
.opt.radio input { accent-color: var(--navy); width: 18px; height: 18px; margin: 0; flex: none; }
.opt.radio:has(input:checked) { border-color: var(--navy); background: #EEF1F6; }
.calendar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 8px; }
.calendar iframe { width: 100%; height: 820px; border: 0; display: block; }
.fine-dark { font-size: .9rem; color: var(--muted); margin-top: 12px; }
.sub a { color: var(--navy-2); }

