:root {
  --navy: #082f39;
  --navy-deep: #06252d;
  --teal: #168da0;
  --cyan: #4eb8c7;
  --mint: #5ae3b4;
  --paper: #f4f7f6;
  --white: #fff;
  --ink: #11343c;
  --muted: #647b80;
  --line: #dbe5e4;
  --danger: #d56862;
  --shadow: 0 24px 70px rgba(7, 47, 57, .14);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: absolute; z-index: 5; top: 0; left: 50%; display: flex; width: min(1180px, calc(100% - 40px)); height: 92px; align-items: center; justify-content: space-between; transform: translateX(-50%); }
.brand { display: block; }
.brand-logo { display: block; width: 9.5rem; height: auto; }
.header-note { display: flex; align-items: center; gap: 9px; color: #bcd1d5; font-size: 13px; font-weight: 650; }
.header-note span { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(90,227,180,.12); }

.hero { position: relative; display: grid; min-height: 100vh; overflow: hidden; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; padding: 140px max(40px, calc((100vw - 1180px) / 2)) 80px; color: var(--white); background: radial-gradient(circle at 73% 35%, #105665 0, var(--navy) 38%, var(--navy-deep) 77%); }
.hero::after { position: absolute; right: -8%; bottom: -34%; width: 610px; height: 610px; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; content: ""; box-shadow: 0 0 0 80px rgba(255,255,255,.018), 0 0 0 160px rgba(255,255,255,.012); }
.hero-content, .hero-card { position: relative; z-index: 2; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.hero-glow-one { top: -180px; left: 18%; width: 450px; height: 450px; background: rgba(41,145,158,.1); }
.hero-glow-two { right: 7%; bottom: 8%; width: 280px; height: 280px; background: rgba(90,227,180,.08); }
.eyebrow { margin: 0 0 19px; color: var(--mint); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 680px; margin: 0; font-size: clamp(42px, 5vw, 72px); line-height: 1.03; letter-spacing: -.055em; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero-copy { max-width: 650px; margin: 28px 0 34px; color: #bed0d4; font-size: clamp(17px, 1.7vw, 20px); }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 22px; padding: 0 24px; border: 0; border-radius: 12px; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy-deep); background: var(--mint); box-shadow: 0 14px 30px rgba(90,227,180,.16); }
.button-primary:hover { background: #72ebc1; box-shadow: 0 16px 36px rgba(90,227,180,.23); }
.time-note { display: grid; color: #d9e4e6; font-size: 13px; }
.time-note span { color: #819da3; }
.trust-row { display: flex; flex-wrap: wrap; gap: 23px; margin-top: 38px; color: #9db3b8; font-size: 13px; }
.trust-row i { display: inline-grid; width: 19px; height: 19px; margin-right: 5px; place-items: center; border-radius: 50%; color: var(--navy); background: var(--mint); font-size: 11px; font-style: normal; font-weight: 900; }

.hero-card { padding: 28px; border: 1px solid rgba(255,255,255,.1); border-radius: 26px; background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); box-shadow: 0 36px 90px rgba(0,0,0,.2); backdrop-filter: blur(14px); transform: rotate(1deg); }
.card-topline { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.1); font-weight: 750; }
.card-topline small { color: #8eaab0; font-weight: 500; }
.preview-score { display: flex; gap: 22px; align-items: center; padding: 27px 0 24px; }
.score-ring { display: grid; flex: 0 0 105px; width: 105px; height: 105px; place-content: center; border: 8px solid rgba(78,184,199,.22); border-top-color: var(--cyan); border-radius: 50%; text-align: center; transform: rotate(-18deg); }
.score-ring > * { transform: rotate(18deg); }
.score-ring strong { font-size: 34px; line-height: 1; }
.score-ring span { color: #8fa9ae; font-size: 11px; }
.preview-score small { color: #8fa9ae; }
.preview-score h2 { margin: 3px 0 7px; font-size: 20px; }
.preview-score p { margin: 0; color: #a7bbc0; font-size: 13px; }
.mini-bars { display: grid; gap: 13px; padding: 21px; border-radius: 16px; background: rgba(3,28,34,.38); }
.mini-bars div { display: grid; grid-template-columns: 145px 1fr; align-items: center; gap: 13px; }
.mini-bars span { color: #b8c9cd; font-size: 11px; }
.mini-bars i { position: relative; height: 5px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.1); }
.mini-bars i::after { display: block; width: var(--value); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--mint)); content: ""; }
.insight-chip { display: flex; gap: 13px; align-items: center; margin-top: 14px; padding: 13px 17px; border: 1px solid rgba(90,227,180,.18); border-radius: 13px; color: #c7d7da; background: rgba(90,227,180,.06); font-size: 12px; }
.insight-chip b { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; color: var(--navy); background: var(--mint); font-size: 10px; }

.quiz-shell { display: flex; width: 100%; min-height: 100vh; min-height: 100svh; flex-direction: column; margin: 0; padding: 100px max(20px, calc((100% - 820px) / 2)) 18px; color: var(--white); background: radial-gradient(circle at 73% 35%, #105665 0, var(--navy) 38%, var(--navy-deep) 77%); }
.quiz-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.quiz-kicker { color: var(--mint); }
.quiz-kicker, .section-label { font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.quiz-header h2 { margin: 5px 0 0; font-size: 27px; letter-spacing: -.025em; }
.progress-summary { display: grid; text-align: right; }
.progress-summary strong { font-size: 23px; }
.progress-summary span { color: #a9bec2; font-size: 12px; }
.progress-track { flex: 0 0 6px; height: 6px; margin: 12px 0 16px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.15); }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--mint)); transition: width .35s ease; }
.quiz-shell form { display: flex; min-height: 0; flex: 1; flex-direction: column; }
.question-card { min-height: 0; margin: 0; padding: clamp(20px, 3vh, 30px); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--paper); box-shadow: 0 18px 55px rgba(0,0,0,.18); }
.question-count { color: var(--teal); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.question-card h3 { max-width: 650px; margin: 8px 0 clamp(12px, 2vh, 20px); font-size: clamp(21px, 3.2vw, 28px); line-height: 1.2; letter-spacing: -.035em; }
.question-help { margin: -8px 0 12px; color: var(--muted); font-size: 13px; }
.answer-list { display: grid; gap: clamp(6px, 1vh, 9px); }
.answer-option { position: relative; display: flex; min-height: clamp(44px, 6.3vh, 52px); align-items: center; gap: 13px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; transition: border .18s, background .18s, transform .18s; }
.answer-option:hover { border-color: #9fcfd5; background: #f4fbfa; transform: translateX(3px); }
.answer-option input { position: absolute; opacity: 0; pointer-events: none; }
.answer-key { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; border: 1px solid #cadbdc; border-radius: 8px; color: var(--muted); background: #f8faf9; font-size: 12px; font-weight: 850; }
.answer-option:has(input:checked) { border-color: var(--teal); background: #edf9f7; box-shadow: 0 0 0 2px rgba(22,141,160,.09); }
.answer-option:has(input:checked) .answer-key { border-color: var(--teal); color: white; background: var(--teal); }
.answer-label { font-size: 15px; font-weight: 650; }
.form-alert { min-height: 18px; margin: 5px 0 0; color: #ffaaa5; font-size: 12px; font-weight: 650; }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 6px; }
.quiz-nav .button { min-height: 46px; }
.button-ghost { color: #c1d0d3; background: transparent; }
.button-ghost:disabled { opacity: .35; cursor: default; }
.keyboard-hint { display: none; }
kbd { padding: 2px 6px; border: 1px solid #cad7d6; border-bottom-width: 2px; border-radius: 5px; background: white; font: inherit; font-weight: 750; }

.result-section { width: min(1120px, calc(100% - 40px)); margin: auto; padding: 60px 0 80px; }
.result-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.result-header h1 { margin: 0; font-size: clamp(32px, 5vw, 50px); letter-spacing: -.045em; }
.result-header p:last-child { margin: 10px 0 0; color: var(--muted); }
.button-outline { border: 1px solid #b7cdce; color: var(--ink); background: transparent; }
.result-hero { display: grid; grid-template-columns: 260px 1fr; min-height: 320px; overflow: hidden; border-radius: 28px; color: white; background: linear-gradient(125deg, var(--navy-deep), #0b4652); box-shadow: var(--shadow); }
.result-score-block { display: grid; place-content: center; text-align: center; background: rgba(255,255,255,.035); }
.large-score { display: flex; align-items: baseline; }
.large-score strong { color: var(--mint); font-size: 88px; line-height: .9; letter-spacing: -.08em; }
.large-score span { color: #89a5aa; }
.result-score-block p { margin-bottom: 0; color: #a9bec2; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.maturity-copy { align-self: center; max-width: 720px; padding: 45px 54px; }
.status-pill { display: inline-block; padding: 6px 11px; border-radius: 99px; color: var(--navy); background: var(--mint); font-size: 11px; font-weight: 850; }
.maturity-copy h2 { margin: 12px 0 4px; font-size: 37px; letter-spacing: -.04em; }
.maturity-tagline { margin: 0 0 18px !important; color: var(--cyan) !important; font-weight: 750; }
.maturity-copy p { color: #bed0d3; }
.report-grid, .details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.report-card { padding: 31px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: white; box-shadow: 0 12px 40px rgba(7,47,57,.05); }
.report-card h3 { margin: 8px 0 23px; font-size: 22px; line-height: 1.3; }
.pillar-card { border-top: 5px solid var(--mint); background: linear-gradient(145deg, #fff, #eef9f6); box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.pillar-card .section-label { color: #087f8f; }
.pillar-card h3 { color: var(--navy-deep); }
.pillar-list { display: grid; gap: 17px; }
.pillar-row { display: grid; grid-template-columns: 160px 1fr 42px; gap: 14px; align-items: center; }
.pillar-row span { font-size: 13px; font-weight: 700; }
.pillar-row b { text-align: right; font-size: 14px; }
.pillar-bar { height: 8px; overflow: hidden; border-radius: 99px; background: #e6edec; }
.pillar-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--mint)); }
.owner-card { position: relative; color: white; background: var(--navy); }
.owner-card .section-label { color: var(--mint); }
.owner-icon { position: absolute; top: 27px; right: 28px; font-size: 33px; }
.owner-card h3 { margin-bottom: 10px; font-size: 27px; }
.owner-card blockquote { margin: 0 0 16px; color: var(--cyan); font-weight: 750; }
.owner-card p { color: #b8cbcf; font-size: 14px; }
.owner-section { margin-top: 22px; }
.owner-section h4 { margin: 0 0 10px; color: var(--mint); font-size: 13px; }
.owner-section ul { display: grid; gap: 7px; margin: 0; padding-left: 18px; color: #b8cbcf; font-size: 13px; }
.owner-development { display: grid; margin-top: 21px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.owner-development span { color: #829fa5; font-size: 11px; text-transform: uppercase; }
.owner-development p { margin: 8px 0 0; }
.insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.insight-card { display: flex; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: white; }
.insight-icon { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; border-radius: 13px; font-size: 23px; font-weight: 800; }
.risk .insight-icon { color: #b9524d; background: #fae9e7; }
.strength .insight-icon { color: #087e68; background: #e0f7ef; }
.insight-card small { color: var(--muted); font-weight: 750; text-transform: uppercase; }
.insight-card h3 { margin: 3px 0 8px; font-size: 21px; }
.insight-card p { margin: 0; color: var(--muted); font-size: 14px; }
.priority-card { display: grid; grid-template-columns: 100px 1fr; gap: 25px; align-items: center; margin-top: 18px; padding: 35px; border-radius: var(--radius); color: white; background: linear-gradient(115deg, #116f7d, #0a3e49); }
.priority-number { color: var(--mint); font-size: 58px; font-weight: 850; letter-spacing: -.07em; }
.priority-card span { color: var(--mint); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.priority-card h2 { margin: 4px 0 7px; font-size: 25px; }
.priority-card p { margin: 0; color: #c0d4d7; }
.details-grid { grid-template-columns: 1fr 1fr; }
.report-card p { color: var(--muted); }
.report-card h4 { margin: 23px 0 5px; }
.next-steps ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.next-steps li { position: relative; padding-left: 32px; color: var(--muted); }
.next-steps li::before { position: absolute; top: 0; left: 0; display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; color: var(--navy); background: var(--mint); content: "✓"; font-size: 11px; font-weight: 900; }
.maturity-signs ul { display: grid; gap: 13px; margin: 0; padding-left: 20px; color: var(--muted); }
.report-footer { display: flex; align-items: center; gap: 20px; margin-top: 35px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.report-footer img { width: 9rem; height: auto; object-fit: contain; transform: none; }

.lead-gate { position: fixed; z-index: 50; inset: 0; display: grid; overflow-y: auto; place-items: center; padding: 25px; }
.gate-backdrop { position: fixed; inset: 0; background: rgba(4,29,35,.72); backdrop-filter: blur(10px); }
.lead-modal { position: relative; z-index: 2; width: min(700px, 100%); margin: auto; padding: 36px 40px; border: 1px solid rgba(255,255,255,.7); border-radius: 25px; color: var(--ink); background: rgba(255,255,255,.97); box-shadow: 0 35px 100px rgba(0,0,0,.28); }
.modal-badge { display: inline-block; padding: 6px 11px; border-radius: 99px; color: #087c68; background: #e1f8f0; font-size: 11px; font-weight: 850; text-transform: uppercase; }
.lead-modal h2 { margin: 11px 0 8px; font-size: clamp(26px, 4vw, 37px); line-height: 1.15; letter-spacing: -.04em; }
.lead-modal > p { margin: 0 0 24px; color: var(--muted); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field span { color: #3b5a60; font-size: 12px; font-weight: 750; }
.field input { width: 100%; height: 46px; padding: 0 13px; border: 1px solid #cddbdc; border-radius: 10px; outline: none; color: var(--ink); background: white; }
.field input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(22,141,160,.1); }
.field input.invalid { border-color: var(--danger); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; color: var(--muted); font-size: 12px; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--teal); }
.button-full { width: 100%; }
.privacy-note { display: block; margin-top: 11px; color: #84979b; text-align: center; }
body.modal-open { overflow: hidden; }
body.result-view { min-height: 100vh; color: var(--white); background: radial-gradient(circle at 73% 35%, #105665 0, var(--navy) 38%, var(--navy-deep) 77%) fixed; }
body.result-view .result-section { padding-top: 125px; }
body.result-view .result-header > div > p:last-child,
body.result-view .report-footer { color: #b8cbcf; }
body.result-view .button-outline { border-color: rgba(255,255,255,.35); color: var(--white); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 55px; padding-top: 145px; }
  .hero-card { width: min(570px, 100%); }
  .report-grid, .details-grid, .insight-grid { grid-template-columns: 1fr; }
  .result-hero { grid-template-columns: 220px 1fr; }
}

@media (max-width: 650px) {
  .site-header { width: calc(100% - 30px); height: 80px; }
  .brand-logo { width: 9.5rem; }
  .header-note { display: none; }
  .hero { padding: 125px 20px 60px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .time-note { text-align: center; }
  .trust-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .hero-card { padding: 20px; transform: none; }
  .preview-score { align-items: flex-start; flex-direction: column; }
  .mini-bars div { grid-template-columns: 120px 1fr; }
  .quiz-shell { width: 100%; padding: 86px 14px 10px; }
  .quiz-header h2 { font-size: 21px; }
  .progress-summary strong { font-size: 19px; }
  .progress-track { margin: 8px 0 10px; }
  .question-card { min-height: 0; padding: 17px 14px; border-radius: 16px; }
  .question-card h3 { margin: 6px 0 12px; font-size: clamp(18px, 5.4vw, 23px); }
  .question-help { margin: -5px 0 9px; font-size: 12px; }
  .answer-list { gap: 6px; }
  .answer-option { min-height: 42px; gap: 10px; padding: 5px 10px; }
  .answer-key { flex-basis: 27px; width: 27px; height: 27px; }
  .answer-label { font-size: 13px; line-height: 1.25; }
  .form-alert { min-height: 15px; margin-top: 2px; }
  .quiz-nav { margin-top: 3px; }
  .quiz-nav .button { min-height: 42px; padding: 0 15px; }
  .result-section { width: calc(100% - 28px); padding-top: 35px; }
  body.result-view .result-section { padding-top: 105px; }
  .result-header { align-items: flex-start; flex-direction: column; }
  .result-hero { grid-template-columns: 1fr; }
  .result-score-block { padding: 38px; }
  .maturity-copy { padding: 33px 25px; }
  .report-card { padding: 24px 20px; }
  .pillar-row { grid-template-columns: 130px 1fr 36px; gap: 8px; }
  .priority-card { grid-template-columns: 1fr; gap: 5px; padding: 28px 22px; }
  .priority-number { font-size: 36px; }
  .lead-gate { align-items: start; padding: 12px; }
  .lead-modal { padding: 26px 20px; border-radius: 19px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
}

@media (max-height: 720px) {
  .quiz-shell { padding-top: 78px; }
  .quiz-header h2 { margin-top: 2px; font-size: 20px; }
  .progress-track { margin: 6px 0 8px; }
  .question-card { padding-top: 14px; padding-bottom: 14px; }
  .question-card h3 { margin: 4px 0 9px; font-size: 19px; }
  .answer-list { gap: 5px; }
  .answer-option { min-height: 39px; padding-top: 4px; padding-bottom: 4px; }
  .answer-key { width: 25px; height: 25px; flex-basis: 25px; }
  .quiz-nav .button { min-height: 39px; }
}

@media print {
  @page { margin: 12mm; }
  body { color: #12343b; background: white; }
  .site-header, .hero, .quiz-shell, .print-control, .lead-gate { display: none !important; }
  .result-section, body.result-view .result-section { display: block !important; width: 100%; padding: 0; }
  .result-header { margin-bottom: 14px; }
  .result-hero, .owner-card, .priority-card { color: #12343b; background: white; border: 1px solid #bccdce; box-shadow: none; }
  .result-score-block { border-right: 1px solid #bccdce; }
  .maturity-copy p, .owner-card p, .priority-card p { color: #526b70; }
  .large-score strong, .status-pill, .owner-card .section-label, .priority-card span, .priority-number { color: #087f8f; }
  .status-pill { border: 1px solid #9bc8cc; background: white; }
  .report-grid, .details-grid, .insight-grid { gap: 10px; margin-top: 10px; }
  .report-card, .insight-card, .priority-card { break-inside: avoid; box-shadow: none; }
  .report-footer img { filter: none; }
}
