/* TTP checks: shared styles. Broadcast Light (site v2): cream ground, white
   question cards, navy selected state, gold for the one next step. */
:root {
    --ground: #F7F5F0;
    --band: #EFEBE2;
    --card: #FFFFFF;
    --ink: #00293E;
    --ink2: #45626F;
    --ink3: #5E7480;
    --navy2: #003652;
    --gold: #DDB65C;
    --gold-light: #E8CC7A;
    --gold-text: #7A5E1C;
    --gold-tint: #F6ECD3;
    --ice: #ABFFEF;
    --black: #0B0B0C;
    --line: rgba(0, 41, 62, 0.1);
    --font-head: 'Montserrat', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
    background: var(--ground);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.embed { overflow: hidden; background: transparent; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.15; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
[tabindex="-1"]:focus { outline: none; }

@keyframes ck-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ck-grow { from { transform: scaleX(0); } to { transform: none; } }

/* Nav (hidden in embed mode) */
.check-nav { border-bottom: 1px solid var(--line); background: rgba(247, 245, 240, 0.95); position: sticky; top: 0; z-index: 5; }
.check-nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 16px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.check-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); min-width: 0; }
.check-brand img { height: 38px; width: auto; display: block; flex-shrink: 0; }
.check-brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.check-nav-links { display: flex; gap: 18px; align-items: center; font-size: 14px; font-weight: 600; color: var(--ink2); }
.check-nav-links a { text-decoration: none; }
.check-nav-links a:hover { color: var(--ink); }
@media (max-width: 520px) { .check-brand span { display: none; } }
body.embed .check-nav, body.embed .check-footer { display: none; }

/* Shell */
.check-shell { max-width: 720px; margin: 0 auto; padding: 48px 16px 80px; min-height: 70vh; }
.check-shell > * { animation: ck-rise .5s var(--ease) both; }
body.embed .check-shell { padding: 12px 12px 16px; min-height: 0; }
.check-eyebrow { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); display: flex; align-items: center; gap: 10px; }
.check-eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--gold); }
.check-title { font-size: clamp(30px, 6vw, 46px); font-weight: 900; margin-top: 12px; overflow-wrap: anywhere; color: var(--ink); }
.check-result .check-title { font-weight: 900; font-size: clamp(26px, 5.4vw, 38px); }
.check-lead { color: var(--ink2); margin-top: 14px; font-size: 18px; }
.check-meta { margin-top: 14px; font-size: 14px; color: var(--ink3); font-weight: 600; }
.check-disclaimer { margin-top: 22px; font-size: 13px; color: var(--ink3); }
.check-support { margin-top: 22px; padding: 12px 14px; border-left: 3px solid var(--gold); background: var(--gold-tint); border-radius: 6px; font-size: 14px; color: var(--ink); }
.check-note { margin-top: 12px; font-size: 14px; color: var(--ink3); }
.check-stage { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--gold-text); letter-spacing: 0.02em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 14px 24px; min-height: 52px; font-family: var(--font-head); font-weight: 800; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; text-align: center; line-height: 1.3; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { box-shadow: 0 12px 28px -12px rgba(122, 94, 28, 0.7); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: rgba(0, 41, 62, 0.18); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--gold); color: var(--black); }
.btn-light:hover { box-shadow: 0 12px 28px -12px rgba(122, 94, 28, 0.7); }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }
.btn:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Intro */
.check-choice { margin-top: 28px; display: grid; gap: 10px; }
.check-choice-label { font-size: 14px; font-weight: 700; color: var(--ink2); }
.check-choice .btn { width: 100%; }
@media (min-width: 560px) { .check-choice { grid-template-columns: 1fr 1fr; } .check-choice-label { grid-column: 1 / -1; } }
.check-actions { margin-top: 28px; }
@media (max-width: 559px) { .check-actions .btn { width: 100%; } }

/* Question */
.check-progress { margin-bottom: 22px; }
.check-progress-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; color: var(--ink3); margin-bottom: 8px; }
.check-bar { height: 6px; border-radius: 999px; background: var(--band); overflow: hidden; }
.check-bar span { display: block; height: 100%; background: var(--ink); border-radius: 999px; transition: width .35s var(--ease); }
.check-qtext { font-size: clamp(22px, 4.6vw, 30px); font-weight: 900; margin-top: 6px; color: var(--ink); }
.check-options { display: grid; gap: 10px; margin-top: 22px; }
.check-option { text-align: left; width: 100%; background: var(--card); color: var(--ink); border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 18px; font-size: 16px; font-weight: 500; line-height: 1.45; min-height: 56px; box-shadow: 0 10px 24px -20px rgba(0, 41, 62, 0.45); transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease; animation: ck-rise .45s var(--ease) both; }
.check-option:nth-child(2) { animation-delay: .05s; }
.check-option:nth-child(3) { animation-delay: .1s; }
.check-option:nth-child(4) { animation-delay: .15s; }
.check-option:nth-child(5) { animation-delay: .2s; }
.check-option:hover { border-color: var(--ink); transform: translateY(-1px); }
.check-option.on { border-color: var(--ink); background: var(--ink); color: #FFFFFF; }
.check-qnav { display: flex; justify-content: space-between; margin-top: 20px; }
.check-back { background: none; border: 0; color: var(--ink2); font-weight: 600; font-size: 14px; padding: 10px 2px; text-decoration: underline; text-underline-offset: 3px; }
.check-back:hover { color: var(--ink); }

/* Result */
.check-panel { margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px 20px; animation: ck-rise .5s var(--ease) both; }
.check-result .check-panel:nth-of-type(2) { animation-delay: .1s; }
.check-result .check-panel:nth-of-type(3) { animation-delay: .2s; }
.check-panel h2 { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
.check-panel p { color: var(--ink2); }
.check-ladder { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.check-rung { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 2px; background: var(--ground); }
.check-rung strong { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--ink); }
.check-rung-step { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink3); }
.check-rung-text { font-size: 14px; color: var(--ink3); }
.check-rung.on { border-color: var(--ink); background: var(--ink); padding: 20px 18px; }
.check-rung.on strong { color: #FFFFFF; font-size: 18px; }
.check-rung.on .check-rung-step { color: var(--ice); }
.check-rung.on .check-rung-text { color: rgba(255, 255, 255, 0.75); }
.check-rung-tag { justify-self: start; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--black); background: var(--gold); border-radius: 999px; padding: 4px 10px; margin-bottom: 8px; }
.check-why { margin-top: 10px; color: #FFFFFF !important; font-size: 15px; }
.check-cta { margin-top: 14px; width: 100%; }
@media (min-width: 560px) { .check-cta { width: auto; justify-self: start; } }

.check-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.check-barlabel { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; color: var(--ink2); margin-bottom: 6px; }
.check-barval { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 800; }
.check-barrow .check-bar { height: 10px; }
.check-barrow .check-bar span { background: var(--navy2); transform-origin: left; animation: ck-grow 1s .3s var(--ease) both; }
.check-barrow:nth-child(2) .check-bar span { animation-delay: .4s; }
.check-barrow:nth-child(3) .check-bar span { animation-delay: .5s; }
.check-barrow:nth-child(4) .check-bar span { animation-delay: .6s; }
.check-barrow.low .check-bar span { background: var(--gold); }
.check-barrow.low .check-barlabel span:first-child { color: var(--ink); font-weight: 800; }

/* Email */
.check-email { margin-top: 18px; border-radius: 24px; padding: 26px 22px; background: var(--ink); color: #FFFFFF; scroll-margin-top: 90px; animation: ck-rise .5s .3s var(--ease) both; }
.check-email h2 { font-size: 24px; font-weight: 900; color: #FFFFFF; }
.check-email > p { color: rgba(255, 255, 255, 0.82); margin-top: 6px; }
.check-email form { margin-top: 16px; display: grid; gap: 14px; }
.check-email .btn { width: 100%; }
@media (min-width: 560px) { .check-email .btn { width: auto; justify-self: start; } }
.fields { display: grid; gap: 12px; }
@media (min-width: 560px) { .fields { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.8); }
.field input { width: 100%; background: rgba(255, 255, 255, 0.06); color: #FFFFFF; border: 1.5px solid rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 13px 18px; font: inherit; font-size: 16px; }
.field input::placeholder { color: rgba(255, 255, 255, 0.5); }
.check-status { font-size: 14px; color: var(--ice); min-height: 1em; }
.check-status:empty { display: none; }
.check-fine { font-size: 12px; color: rgba(255, 255, 255, 0.6); margin-top: 12px; }
.check-done { color: var(--ice) !important; font-weight: 700; margin-top: 8px; }

/* Footer */
.check-footer { border-top: 1px solid var(--line); padding: 28px 16px; text-align: center; color: var(--ink3); font-size: 13px; }
.check-footer a { color: var(--ink2); text-decoration: none; margin: 0 8px; display: inline-block; padding: 4px 0; }
.check-footer a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
