:root {
  color-scheme: light;
  --ink: #18202a;
  --navy: #102433;
  --blue: #184a68;
  --green: #4f6f52;
  --paper: #f6f7f9;
  --line: #d4dce1;
  --muted: #465966;
  --focus: #b15000;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: white;
  color: var(--ink);
  font: 400 1.125rem/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
}
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
input { min-width: 0; }
a { color: var(--blue); text-underline-offset: .19em; }
a:hover { text-decoration-thickness: .12em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 3px; }
button:focus-visible, input:focus-visible { outline-offset: 3px; }
[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;
}
.skip-link {
  position: absolute; left: 1rem; top: -5rem; z-index: 50;
  padding: .55rem 1rem; background: white; color: var(--navy);
}
.skip-link:focus { top: .75rem; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .9rem; color: var(--navy); text-decoration: none; }
.brand-mark { font-size: 1.65rem; font-weight: 850; letter-spacing: -.09em; line-height: 1; }
.brand-dot { color: var(--green); }
.brand-caption { padding-left: .9rem; border-left: 1px solid var(--line); font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; line-height: 1.25; }
.external-mark { font-size: .75rem; align-self: flex-start; margin-left: -.55rem; }
.header-link { font-size: .95rem; font-weight: 650; white-space: nowrap; }
.header-link span, .site-footer nav span, .method-aside a span { font-size: .8em; margin-left: .1em; }
.intro { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(17rem, .75fr); gap: clamp(2rem, 6vw, 6.5rem); align-items: end; padding-block: clamp(3.25rem, 6vw, 5.6rem); }
.eyebrow { margin: 0 0 1.1rem; color: var(--green); font-size: .85rem; line-height: 1.35; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p, ol, dl { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.13; letter-spacing: -.035em; }
h1 { font-size: clamp(2.55rem, 5.2vw, 4.65rem); max-width: 14ch; margin-bottom: 1.35rem; }
h2 { font-size: clamp(2.05rem, 3.25vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin-bottom: .65rem; }
.lead { font-size: clamp(1.15rem, 1.55vw, 1.32rem); max-width: 62ch; color: #344652; line-height: 1.55; margin-bottom: 1.65rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 3.25rem; border: 2px solid transparent; border-radius: .35rem;
  padding: .75rem 1.3rem; text-align: center; text-decoration: none;
  font-weight: 750; font-size: 1rem; line-height: 1.3; transition: background-color .16s, border-color .16s;
}
.button-primary { color: white; background: var(--blue); }
.button-primary:hover { background: var(--navy); }
.button-secondary { color: white; background: var(--green); }
.button-secondary:hover { background: #38523b; }
.button-light { color: var(--navy); background: white; }
.button-light:hover { background: #e8eff1; }
.button-quiet { background: white; color: var(--blue); border-color: #9db1bd; }
.button-quiet:hover { background: #f1f5f7; border-color: var(--blue); }
.privacy-note { color: var(--muted); font-size: .9rem; margin: 1rem 0 0; max-width: 66ch; }
.intro-aside { padding: 1.65rem 0 1.1rem 1.6rem; border-left: 2px solid var(--green); }
.aside-label { color: var(--green); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.intro-aside ol { padding: 0; list-style: none; margin-bottom: 1.35rem; }
.intro-aside li { display: flex; align-items: baseline; gap: .85rem; padding: .45rem 0; border-bottom: 1px solid var(--line); font-weight: 650; font-size: 1rem; }
.intro-aside li span { font-size: .75rem; letter-spacing: .08em; color: var(--green); font-weight: 800; }
.intro-aside p:last-child { font-size: 1rem; color: var(--muted); margin: 0; }
.check-band { background: var(--paper); padding-block: clamp(3rem, 5vw, 5rem); scroll-margin-top: 1rem; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: end; margin-bottom: 1.7rem; }
.section-heading p:last-child { color: var(--muted); max-width: 42ch; margin-bottom: .2rem; }
.check-card { background: white; border: 1px solid var(--line); border-top: 5px solid var(--navy); box-shadow: 0 12px 38px rgba(16,36,51,.045); padding: clamp(1.25rem, 4vw, 3rem); }
.step-meta { display: flex; justify-content: space-between; gap: .75rem; color: var(--muted); font-size: .9rem; font-weight: 700; }
.step-meta p { margin-bottom: .8rem; }
.progress-track { height: .45rem; background: #e4e9ec; overflow: hidden; border-radius: 1rem; }
.progress-track span { display: block; height: 100%; background: var(--green); transition: width .2s ease; }
.step-heading { display: flex; align-items: start; gap: 1.2rem; margin: 2.1rem 0 1.55rem; }
.step-number { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid #a4b8c3; border-radius: 50%; color: var(--blue); font-size: .9rem; font-weight: 800; }
.step-heading h3 { margin: .15rem 0 .3rem; }
.step-heading p { margin-bottom: 0; color: var(--muted); }
.question { padding: 1.35rem 0; border-top: 1px solid var(--line); }
.question legend { width: 100%; padding: 0; font-size: 1.1rem; font-weight: 680; line-height: 1.45; color: var(--navy); }
.question legend span { display: inline-block; min-width: 2rem; color: var(--green); font-size: .84rem; font-weight: 800; }
.question fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.choice { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-width: 7.25rem; min-height: 3rem; padding: .55rem .85rem; border: 1.5px solid #a5b4bd; border-radius: .3rem; font-size: .94rem; font-weight: 650; color: var(--navy); cursor: pointer; }
.choice:hover { border-color: var(--blue); background: #f4f8fa; }
.choice:has(input:checked) { background: #e6f0f3; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.choice input { width: 1rem; height: 1rem; accent-color: var(--blue); margin: 0; }
.form-error { color: #a0351c; font-weight: 700; margin: .5rem 0 1rem; }
.step-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.step-actions .button:last-child { margin-left: auto; }
.check-footnote { font-size: .87rem; color: var(--muted); margin: 1rem 0 0; }
.results { padding-block: clamp(3.4rem, 6vw, 6rem); scroll-margin-top: 1rem; }
.results-heading { align-items: end; }
.text-button { background: none; border: 0; color: var(--blue); text-decoration: underline; text-underline-offset: .2em; padding: .6rem 0; justify-self: end; font-size: .95rem; font-weight: 700; }
.result-hero { display: grid; grid-template-columns: .83fr 1.17fr; background: var(--navy); color: white; }
.score-block { padding: clamp(1.5rem, 4vw, 3.1rem); border-right: 1px solid rgba(255,255,255,.24); }
.score-label { font-size: .9rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.score-value { display: flex; align-items: baseline; gap: .45rem; font-size: clamp(4.1rem, 9vw, 7.3rem); line-height: 1; font-weight: 800; letter-spacing: -.07em; margin: .5rem 0; }
.score-unit { font-size: 1.4rem; letter-spacing: 0; font-weight: 600; }
.score-fraction { margin: 0; color: #d4e1e8; font-size: .93rem; }
.maturity-block { align-self: center; padding: clamp(1.5rem, 4vw, 3.1rem); }
.maturity-block .eyebrow, .result-cta .eyebrow { color: #b5d5ba; }
.maturity-block h3, .result-cta h3 { color: white; font-size: clamp(1.8rem, 3vw, 2.55rem); }
.maturity-block p { max-width: 49ch; }
.maturity-block .small-muted { color: #d4e1e8; font-size: .86rem; margin: 1.4rem 0 0; }
.result-columns { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); padding-block: 3.5rem; }
.result-columns h3 { margin-bottom: 1.4rem; }
.dimension-row { padding: 1.1rem 0 1.25rem; border-top: 1px solid var(--line); }
.dimension-line { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; font-weight: 700; font-size: .98rem; }
.dimension-line strong { color: var(--blue); white-space: nowrap; }
.dimension-row p { font-size: .86rem; color: var(--muted); margin: .2rem 0 .7rem; }
.bar { height: .55rem; border-radius: 1rem; background: #e2e9ed; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--green); }
.section-intro { color: var(--muted); font-size: 1rem; margin-bottom: 1.15rem; }
.action-list { counter-reset: action; list-style: none; padding: 0; margin: 0; }
.action-list li { position: relative; border-top: 1px solid var(--line); padding: 1.1rem 0 1.15rem 3.3rem; }
.action-list li::before { counter-increment: action; content: counter(action, decimal-leading-zero); position: absolute; left: 0; top: 1.25rem; color: var(--green); font-size: .9rem; font-weight: 800; }
.action-list strong { display: block; color: var(--navy); line-height: 1.3; font-size: 1.06rem; }
.action-list small { color: var(--green); display: block; margin: .3rem 0 .5rem; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.action-list p { margin: 0; color: #344652; font-size: .98rem; }
.prompt-section { border-top: 2px solid var(--navy); background: var(--paper); padding: clamp(1.5rem, 4vw, 3rem); margin-bottom: 3.5rem; }
.prompt-intro { max-width: 65ch; }
.prompt-intro p:last-child { color: var(--muted); font-size: 1rem; }
.prompt-fields { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin: 1.65rem 0; }
.prompt-fields label { display: block; color: var(--navy); font-size: .92rem; font-weight: 700; }
.prompt-fields input { display: block; width: 100%; min-height: 3.2rem; border: 1.5px solid #8fa2ac; border-radius: .25rem; padding: .6rem .75rem; margin-top: .45rem; background: white; color: var(--ink); font-size: 1rem; }
.prompt-fields input::placeholder { color: #637783; opacity: 1; }
.prompt-output { display: grid; gap: .8rem; margin-top: 1.5rem; }
.prompt-card { border: 1px solid var(--line); background: white; padding: 1.3rem; }
.prompt-card h4 { margin: 0 0 .55rem; color: var(--navy); font-size: 1rem; }
.prompt-card p { overflow-wrap: anywhere; margin: 0 0 .85rem; font-size: .98rem; }
.copy-button { min-height: 2.75rem; border: 1px solid var(--blue); background: white; border-radius: .25rem; color: var(--blue); padding: .3rem .8rem; font-size: .9rem; font-weight: 750; }
.copy-button:hover { background: #e6f0f3; }
.result-cta { display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 2rem; align-items: end; background: var(--blue); color: white; padding: clamp(1.5rem, 4vw, 3.2rem); }
.result-cta h3 { max-width: 23ch; }
.result-cta p:last-child { max-width: 63ch; margin: 0; }
.result-cta .button { white-space: nowrap; }
.method { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(16rem, .7fr); gap: clamp(2rem, 8vw, 7rem); padding-block: clamp(4rem, 7vw, 7rem); }
.method-main p:not(.eyebrow) { max-width: 69ch; color: #344652; }
.method-aside { border-top: 3px solid var(--green); padding-top: 1.3rem; }
.method-aside h3 { font-size: 1.35rem; }
.method-aside dl { margin-bottom: 1.5rem; }
.method-aside dl div { display: flex; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.method-aside dt { width: 4.2rem; flex: none; color: var(--green); font-weight: 800; }
.method-aside dd { margin: 0; }
.method-aside p { font-size: .92rem; }
.site-footer { background: var(--navy); color: #d8e3e8; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; padding-block: 2.3rem; }
.site-footer strong { color: white; font-size: 1.35rem; letter-spacing: -.06em; }
.site-footer p { font-size: .9rem; margin: .25rem 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; align-content: start; gap: .9rem 1.8rem; font-size: .92rem; }
.site-footer a { color: white; }
@media (max-width: 850px) {
  .intro { grid-template-columns: 1fr; gap: 2rem; }
  .intro-aside { max-width: 35rem; }
  .section-heading, .result-columns, .method { grid-template-columns: 1fr; }
  .section-heading { gap: .2rem; }
  .result-columns { gap: 2.4rem; }
  .prompt-fields { grid-template-columns: 1fr; }
  .result-cta { grid-template-columns: 1fr; }
  .result-cta .button { width: fit-content; white-space: normal; }
}
@media (max-width: 600px) {
  .wrap { width: min(100% - 2rem, 76rem); }
  .header-inner { min-height: 4.6rem; gap: .5rem; }
  .brand { gap: .55rem; }
  .brand-mark { font-size: 1.35rem; }
  .brand-caption { padding-left: .55rem; font-size: .58rem; }
  .header-link { font-size: .82rem; }
  .intro { padding-block: 2.7rem 3rem; }
  h1 { font-size: clamp(2.18rem, 9vw, 3.3rem); }
  .intro-aside { padding: .4rem 0 .4rem 1rem; }
  .check-card { padding: 1.15rem; }
  .step-heading { gap: .75rem; margin: 1.6rem 0 1rem; }
  .step-number { width: 2.3rem; height: 2.3rem; }
  .step-heading h3 { font-size: 1.35rem; }
  .choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; }
  .choice { min-width: 0; padding: .5rem .3rem; gap: .3rem; font-size: .82rem; }
  .choice input { width: .9rem; height: .9rem; flex: none; }
  .step-actions { gap: .45rem; }
  .step-actions .button { padding-inline: .7rem; font-size: .92rem; }
  .result-hero { grid-template-columns: 1fr; }
  .score-block { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.24); }
  .results-heading { gap: .1rem; }
  .text-button { justify-self: start; }
  .footer-inner { display: block; }
  .site-footer nav { margin-top: 1.5rem; }
}
@media (max-width: 355px) {
  .brand-caption { display: none; }
  .choice { display: flex; flex-direction: column; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .site-header, .intro, .check-band, .method, .site-footer, .text-button, .prompt-form, .copy-button, .result-cta { display: none !important; }
  .results { padding: 0; }
  .result-hero { color: var(--ink); background: white; border: 1px solid #888; }
  .maturity-block h3 { color: var(--ink); }
  .maturity-block .eyebrow, .maturity-block .small-muted { color: var(--ink); }
  .prompt-section { break-inside: avoid; }
}
