:root {
  --navy: #111f49;
  --navy-2: #1c3068;
  --red: #c91e27;
  --red-dark: #9e151d;
  --ink: #17213a;
  --muted: #596175;
  --line: #d9deea;
  --soft: #f3f6fa;
  --white: #fff;
  --focus: #2f6feb;
  --shadow: 0 14px 40px rgba(17, 31, 73, .11);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--white); }
button, input { font: inherit; }
button { touch-action: manipulation; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 10; padding: .75rem 1rem; background: var(--white); color: var(--navy); border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.shell { width: min(100% - 2rem, 1100px); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand-logo { width: min(290px, 66vw); height: auto; }
.privacy-note { color: var(--navy); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }

.view { min-height: calc(100svh - 124px); }
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.hero::before { content: ""; position: absolute; width: 540px; height: 540px; right: -230px; top: -260px; border: 78px solid rgba(201,30,39,.42); border-radius: 50%; pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--red); }
.hero-shell { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); align-items: center; gap: clamp(2rem, 7vw, 6rem); padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.hero-copy { max-width: 720px; }
.campaign-label { display: inline-flex; margin: 0 0 1.7rem; padding: .48rem .7rem; color: #fff; border: 1px solid rgba(255,255,255,.34); border-radius: .35rem; font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { margin: 0 0 .65rem; color: var(--navy); font-size: .75rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow.red { color: var(--red-dark); }
.eyebrow.light { color: #fff; opacity: .78; }
h1, h2 { margin: 0; color: var(--navy); letter-spacing: -.035em; line-height: 1.08; }
h1 { font-size: clamp(2.1rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
.hero .hero-copy h1 { max-width: 780px; color: #fff; }
.hero-text { max-width: 650px; margin: 1.4rem 0; color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.1rem; margin-top: 1.7rem; }
.hero-actions span { color: rgba(255,255,255,.72); font-size: .82rem; font-weight: 700; }
.trust-row { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; margin-top: 1.4rem; color: rgba(255,255,255,.84); font-size: .78rem; font-weight: 720; }
.trust-row span { position: relative; padding-left: 1rem; }
.trust-row span::before { content: ""; position: absolute; left: 0; top: .32rem; width: .48rem; height: .48rem; border-radius: 50%; background: var(--red); }
.hero-visual { width: min(100%, 390px); justify-self: end; }
.logo-stage { padding: clamp(1rem, 3vw, 1.6rem); border-radius: 1rem 1rem 0 0; background: #fff; box-shadow: 0 18px 45px rgba(0,0,0,.2); }
.logo-stage img { width: min(100%, 270px); max-height: 285px; margin-inline: auto; object-fit: contain; }
.pillar-preview { padding: 1rem 1.2rem 1.2rem; border-radius: 0 0 1rem 1rem; background: #f3f6fa; box-shadow: 0 18px 45px rgba(0,0,0,.2); }
.pillar-preview > p { margin: 0 0 .8rem; color: var(--navy); font-size: .75rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.pillar-preview > div { display: grid; grid-template-columns: 112px minmax(0,1fr); align-items: center; gap: .7rem; margin-top: .5rem; }
.pillar-preview span { color: var(--navy); font-size: .72rem; font-weight: 750; }
.pillar-preview i { display: block; height: 6px; overflow: hidden; border-radius: 99px; background: #dce1ec; }
.pillar-preview i::after { content: ""; display: block; width: 78%; height: 100%; border-radius: inherit; background: var(--red); }
.pillar-preview > div:nth-child(3) i::after { width: 90%; }
.pillar-preview > div:nth-child(4) i::after { width: 68%; }
.pillar-preview > div:nth-child(5) i::after { width: 82%; }
.pillar-preview > div:nth-child(6) i::after { width: 73%; }
.landing-lower { position: relative; z-index: 1; color: var(--ink); padding-block: clamp(2.5rem, 6vw, 4.2rem); }
.landing-lower::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: #fff; }
.landing-intro { display: grid; grid-template-columns: minmax(260px,.75fr) minmax(0,1.25fr); gap: .5rem 3rem; align-items: end; }
.landing-intro .eyebrow { grid-column: 1 / -1; }
.landing-intro p:last-child { margin: 0; color: var(--muted); line-height: 1.55; }
.pillar-chips { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: .7rem; margin-top: 2rem; }
.pillar-chips span { min-width: 0; padding: .85rem .75rem; color: var(--navy); border-top: 3px solid var(--red); background: var(--soft); font-size: .78rem; font-weight: 800; overflow-wrap: anywhere; }
.pillar-chips strong { display: block; margin-bottom: .35rem; color: var(--red-dark); font-size: .68rem; }
.scale-panel { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 1rem 2rem; margin-top: 1.5rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: .8rem; }
.scale-panel > p { margin: 0; color: var(--navy); font-size: .82rem; font-weight: 800; }
.scale-summary { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.7rem 0; }
.scale-panel .scale-summary { justify-content: end; margin: 0; }
.scale-summary span { padding: .5rem .72rem; color: var(--navy); background: var(--soft); border-radius: .5rem; font-size: .78rem; }
.scale-summary strong { color: var(--red-dark); }
.time-note { margin: .8rem 0 0; color: var(--muted); font-size: .82rem; }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.1rem; border: 2px solid transparent; border-radius: .7rem; font-weight: 800; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .text-button:focus-visible, .rating-input:focus-visible + .rating-label, .pillar-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.button-primary { color: #fff; background: var(--red); border-color: var(--red); }
.button-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.button-secondary { color: var(--navy); background: #fff; border-color: var(--navy); }
.button-secondary:hover { background: var(--soft); }

.assessment { padding-block: clamp(2rem, 6vw, 4.5rem); }
.assessment-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; }
.assessment-head h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
.pillar-prompt { margin: .6rem 0 0; color: var(--red-dark); font-weight: 750; }
.progress-copy { color: var(--muted); font-size: .85rem; font-weight: 750; white-space: nowrap; }
.progress-track { width: 100%; height: 8px; margin: 1.25rem 0 2rem; overflow: hidden; border-radius: 99px; background: #e8ebf2; }
.progress-bar { width: 0; height: 100%; border-radius: inherit; background: var(--red); transition: width .25s ease; }
.question-list { display: grid; gap: 1rem; }
.question-card { margin: 0; padding: clamp(1.15rem, 3vw, 1.65rem); border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 7px 24px rgba(17,31,73,.06); }
.question-card legend { width: 100%; margin: 0 0 1rem; padding: 0; color: var(--ink); font-size: clamp(1rem, 2vw, 1.14rem); font-weight: 720; line-height: 1.45; }
.rating-group { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .55rem; }
.rating-choice { position: relative; min-width: 0; }
.rating-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rating-label { min-height: 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .18rem; padding: .4rem .15rem; color: var(--navy); border: 2px solid var(--line); border-radius: .7rem; background: var(--white); cursor: pointer; }
.rating-label strong { font-size: 1.15rem; }
.rating-label small { color: var(--muted); font-size: clamp(.58rem, 1.5vw, .72rem); text-align: center; line-height: 1.15; }
.rating-input:checked + .rating-label { color: #fff; border-color: var(--navy); background: var(--navy); }
.rating-input:checked + .rating-label small { color: #fff; }
.validation-message { margin: 1rem 0 0; padding: .8rem 1rem; color: #7d1118; border-left: 4px solid var(--red); background: #fff2f3; font-weight: 700; }
.form-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }

.results { background: var(--soft); }
.results-hero { color: #fff; background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.results-hero-inner { padding-block: clamp(2rem, 6vw, 4rem); }
.results-logo { width: min(310px, 78vw); margin-bottom: 2.5rem; padding: .45rem; border-radius: .4rem; background: #fff; }
.overall-score { display: flex; align-items: end; flex-wrap: wrap; gap: .35rem .8rem; margin-top: .4rem; }
.overall-score strong { font-size: clamp(4.3rem, 12vw, 7.4rem); line-height: .82; letter-spacing: -.07em; }
.overall-score span { padding-bottom: .45rem; font-weight: 750; opacity: .76; }
.results-hero h1 { max-width: 850px; margin-top: 1rem; color: #fff; font-size: clamp(2rem, 5vw, 4rem); }
.ranking-description { max-width: 760px; margin: 1rem 0 0; font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.55; opacity: .88; }
.results-body { padding-block: clamp(2rem, 6vw, 4rem); }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1rem; }
.tap-note { margin: 0; color: var(--muted); font-size: .8rem; }
.pillar-dashboard { display: grid; gap: .75rem; }
.pillar-card { width: 100%; display: block; padding: 1rem; color: var(--ink); text-align: left; border: 1px solid var(--line); border-radius: .85rem; background: #fff; cursor: pointer; }
.pillar-card.growth { border: 2px solid var(--red); background: #fff8f8; }
.pillar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; }
.pillar-name { min-width: 0; color: var(--navy); font-size: 1rem; font-weight: 850; overflow-wrap: anywhere; }
.pillar-score { color: var(--navy); font-weight: 900; white-space: nowrap; }
.pillar-track { display: block; width: 100%; height: 9px; margin-top: .7rem; overflow: hidden; border-radius: 99px; background: #e7eaf1; }
.pillar-fill { display: block; height: 100%; border-radius: inherit; background: var(--navy); }
.growth .pillar-fill { background: var(--red); }
.growth-label { display: block; margin-top: .55rem; color: var(--red-dark); font-size: .75rem; font-weight: 850; text-transform: uppercase; letter-spacing: .05em; }
.pillar-detail { display: none; margin: .8rem 0 0; color: var(--muted); line-height: 1.5; }
.pillar-card[aria-expanded="true"] .pillar-detail { display: block; }
.growth-panel, .share-panel { margin-top: 2rem; padding: clamp(1.2rem, 4vw, 2rem); border-radius: 1rem; background: #fff; box-shadow: var(--shadow); }
.growth-panel > p { color: var(--muted); line-height: 1.55; }
.growth-actions { display: grid; gap: .65rem; margin-top: 1.2rem; }
.growth-action { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: .7rem; align-items: start; }
.growth-action strong { width: 28px; height: 28px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--navy); }
.growth-action span { padding-top: .18rem; line-height: 1.45; }
blockquote { margin: 1.5rem 0 0; padding: 1rem 1.15rem; color: var(--navy); border-left: 4px solid var(--red); background: var(--soft); font-weight: 800; line-height: 1.45; }
.share-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem; }
.share-panel p { margin: .6rem 0 0; color: var(--muted); }
.share-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: .65rem; }
.share-status { grid-column: 1 / -1; min-height: 1.2rem; font-size: .85rem; }
.restart-wrap { padding: 1.5rem 0 0; text-align: center; }
.text-button { padding: .5rem; color: var(--navy); border: 0; background: transparent; font-weight: 800; text-decoration: underline; cursor: pointer; }
.site-footer { padding: 1.1rem 0; color: #fff; background: var(--navy); font-size: .75rem; text-align: center; }

@media (max-width: 720px) {
  .hero-shell { grid-template-columns: 1fr; padding-block: 3rem; }
  .hero-visual { width: min(100%, 520px); justify-self: start; display: grid; grid-template-columns: minmax(180px,.8fr) minmax(220px,1.2fr); }
  .logo-stage { display: grid; place-items: center; border-radius: 1rem 0 0 1rem; }
  .pillar-preview { border-radius: 0 1rem 1rem 0; }
  .landing-intro { grid-template-columns: 1fr; align-items: start; }
  .pillar-chips { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .scale-panel { grid-template-columns: 1fr; }
  .scale-panel .scale-summary { justify-content: start; }
  .assessment-head, .section-heading-row { align-items: start; flex-direction: column; gap: .6rem; }
  .share-panel { grid-template-columns: 1fr; }
  .share-actions { justify-content: stretch; }
  .share-actions .button { flex: 1 1 100%; }
}

@media (max-width: 480px) {
  .shell { width: min(100% - 1.25rem, 1100px); }
  .site-header { position: static; }
  .header-inner { min-height: 64px; }
  .privacy-note { display: none; }
  .brand-logo { width: min(265px, 82vw); }
  .hero-shell { padding-block: 2.5rem; }
  .hero-visual { grid-template-columns: 1fr; }
  .logo-stage { border-radius: 1rem 1rem 0 0; }
  .logo-stage img { max-height: 235px; }
  .pillar-preview { border-radius: 0 0 1rem 1rem; }
  .pillar-chips { grid-template-columns: 1fr 1fr; }
  .pillar-chips span:last-child { grid-column: 1 / -1; }
  .scale-summary { display: grid; grid-template-columns: 1fr 1fr; }
  .scale-summary span:last-child { grid-column: 1 / -1; }
  .button { width: 100%; }
  .rating-group { gap: .32rem; }
  .rating-label { min-height: 62px; }
  .rating-label small { display: none; }
  .form-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .form-actions .button { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
  @page { size: letter; margin: .45in; }
  body { background: #fff; }
  .site-header, .site-footer, #intro, #assessment, .share-panel, .restart-wrap, .tap-note { display: none !important; }
  #results { display: block !important; background: #fff; }
  .results-hero { color: var(--ink); background: #fff; border-bottom: 3px solid var(--navy); }
  .results-hero-inner { padding: 0 0 .2in; }
  .results-logo { width: 2.8in; margin-bottom: .2in; padding: 0; }
  .eyebrow.light, .results-hero h1 { color: var(--navy); opacity: 1; }
  .overall-score strong { font-size: 44pt; }
  .results-body { padding: .2in 0 0; }
  .pillar-dashboard { grid-template-columns: 1fr 1fr; }
  .pillar-card { break-inside: avoid; padding: .12in; }
  .pillar-detail { display: block !important; font-size: 8.5pt; }
  .growth-panel { margin-top: .18in; padding: .15in; box-shadow: none; border: 1px solid var(--line); break-inside: avoid; }
  .growth-actions { grid-template-columns: 1fr 1fr; }
  blockquote { display: none; }
}
