:root {
  color-scheme: light;
  --ink: #182440;
  --muted: #4e5970;
  --blue: #234bc8;
  --deep-blue: #193ba7;
  --paper: #fffdf5;
  --canvas: #faf9f5;
  --line: #d9dce3;
  --yellow: #ffd66b;
  font: 100%/1.55 "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
a { color: var(--deep-blue); }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
.shell { width: min(100% - 3rem, 74rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; transform: translateY(-180%); z-index: 1; background: white; padding: .75rem; }
.skip:focus { transform: none; }
.site-header, .site-footer, nav, .actions, .offer { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.site-header, .site-footer { justify-content: space-between; padding-block: 1.25rem; }
.site-header nav a { font-weight: 650; }
.site-header nav > a:not(.button) { text-decoration: none; padding-block: .65rem; }
.site-header nav > a:hover { text-decoration: underline; }
.wordmark { color: var(--ink); text-decoration: none; font-size: 2rem; font-weight: 850; letter-spacing: -.08em; line-height: 1; }
.wordmark span, .period, .paper-head strong span { color: var(--blue); }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: stretch; padding-block: 1.5rem 3rem; }
.hero-copy { align-self: center; padding-block: 1.5rem; }
.eyebrow { font-size: .875rem; font-weight: 760; color: var(--deep-blue); margin: 0 0 .75rem; }
h1, h2, h3, p { margin: 0 0 1rem; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.04; letter-spacing: -.045em; }
h1 { font-size: clamp(3rem, 7.5vw, 7rem); }
.hero-line { display: block; }
h2 { font-size: clamp(2.05rem, 4.7vw, 3.75rem); }
h3 { font-size: 1.45rem; line-height: 1.2; letter-spacing: -.025em; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 41ch; }
.offer { gap: .65rem; margin: 1.25rem 0; color: var(--muted); }
.offer strong { color: var(--ink); font-size: 1.8rem; letter-spacing: -.04em; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.85rem; padding: .65rem 1.05rem; border: 1px solid transparent; border-radius: .45rem; background: var(--blue); color: white; text-align: center; text-decoration: none; font-weight: 700; line-height: 1.25; transition: background-color 150ms ease-out, transform 150ms ease-out; }
.button.outline { color: var(--deep-blue); background: transparent; border-color: #a8b7e5; }
.button:active { transform: scale(.98); }
.button:disabled { opacity: .62; cursor: progress; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--deep-blue); }
  .button.outline:hover { background: #e9eeff; }
}
.roadmap-stage { min-width: 0; display: grid; place-items: center; padding: clamp(1.25rem, 5vw, 4rem); border-radius: .85rem; background: var(--blue); }
.paper { width: 100%; max-width: 25rem; padding: clamp(1.1rem, 3vw, 2.15rem); background: var(--paper); box-shadow: .6rem .65rem 0 var(--yellow); transform: rotate(-2deg); }
.paper-head, .paper-row { display: flex; justify-content: space-between; gap: .75rem; align-items: baseline; }
.paper-head { font-size: .875rem; color: var(--muted); padding-bottom: .85rem; border-bottom: 1px solid var(--line); }
.paper-head strong { font-size: 1.125rem; color: var(--ink); letter-spacing: -.06em; }
.paper h2 { margin: 1.15rem 0 .55rem; font-size: clamp(2rem, 4.5vw, 3.6rem); }
.paper-subtitle { color: var(--muted); font-size: .9rem; }
.paper-row { justify-content: start; display: grid; grid-template-columns: minmax(5rem, .8fr) 1.2fr; font-size: .875rem; border-top: 1px solid var(--line); padding-block: .65rem; }
.paper-row:last-child { padding-bottom: 0; }
.section { padding-block: 2.75rem; border-top: 1px solid var(--line); }
.programs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.program { border: 1px solid var(--line); border-radius: .7rem; padding: clamp(1rem, 3vw, 2rem); background: var(--paper); }
.program:last-child { background: #edf1ff; }
.program p:not(.eyebrow), .mentor > p:last-child { max-width: 54ch; color: var(--muted); }
.process ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding-left: 1.5rem; }
.process li { padding-left: .35rem; }
.process li::marker { color: var(--blue); font-weight: 750; }
.process li p { color: var(--muted); margin-top: .25rem; }
.ambassadors { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.1rem, 4vw, 3rem); }
.ambassadors p:last-child { margin-bottom: 0; }
.ambassador-role { padding: clamp(1.15rem, 4vw, 2rem); background: #edf1ff; border: 1px solid #c8d3f8; border-radius: .7rem; }
.ambassador-role p { color: var(--muted); max-width: 45ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: .65rem 1rem; }
.referral-notice { padding: .75rem 1rem; background: #edf1ff; border-radius: .45rem; }
.invite-controls { display: flex; align-items: stretch; gap: .6rem; margin-top: .35rem; }
.invite-controls input { min-width: 0; }
.invite-controls .button { flex-shrink: 0; }
.form-status { margin: .6rem 0 0; color: var(--deep-blue); }
.form-status:empty { display: none; }
.referral-totals { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: .75rem; margin: 1rem 0; }
.referral-totals div { padding: .65rem; border-top: 1px solid var(--line); }
.referral-totals dt { font-size: .875rem; font-weight: 650; }
.referral-totals dd { margin: .2rem 0 0; color: var(--deep-blue); font-size: 1.65rem; font-weight: 750; }
.site-footer { border-top: 1px solid var(--line); }
.site-footer p { margin: 0; color: var(--muted); font-size: .9rem; }
.screen { max-width: 49rem; margin-inline: auto; padding-block: 2rem 3.5rem; }
.screen.wide { max-width: none; }
.screen h1 { font-size: clamp(2.55rem, 6vw, 4.5rem); overflow-wrap: anywhere; }
.panel, .report { background: var(--paper); border: 1px solid var(--line); padding: clamp(1rem, 4vw, 2rem); border-radius: .7rem; margin-block: 1.25rem; }
.next { background: #edf1ff; border-color: #c8d3f8; }
.report h2 { font-size: clamp(1.7rem, 4vw, 2.75rem); }
.report section + section { border-top: 1px solid var(--line); margin-top: 1.25rem; padding-top: 1.25rem; }
.report p:last-child { margin-bottom: 0; }
.notes { white-space: pre-wrap; overflow-wrap: anywhere; }
.advisor-card h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
.advisor-card > p:last-child { margin-bottom: 0; }
.advisor-overview { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem; }
.advisor-overview > .panel { margin-block: 0; }
.assessment-findings { margin: 0; }
.assessment-findings dt { font-weight: 700; }
.assessment-findings dd { margin: .15rem 0 .7rem; color: var(--muted); }
.assessment-findings dd:last-child { margin-bottom: 0; }
.editor-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.editor-fields label { display: block; margin: 0 0 .35rem; }
.editor-fields textarea { min-height: 8.5rem; }
#roadmap-status:empty { display: none; }
form { display: grid; gap: .4rem; }
label { font-weight: 650; }
form label:not(:first-child) { margin-top: .55rem; }
input:not([type="checkbox"]), select, textarea { width: 100%; min-height: 2.85rem; padding: .55rem .65rem; border: 1px solid #8a95aa; border-radius: .35rem; background: white; color: var(--ink); }
select { appearance: none; padding-right: 2rem; background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) right 1.25rem center / .35rem .35rem no-repeat, linear-gradient(135deg, var(--ink) 50%, transparent 50%) right .9rem center / .35rem .35rem no-repeat, white; }
textarea { min-height: 7rem; resize: vertical; }
.check { display: flex; align-items: baseline; gap: .5rem; padding-block: .5rem; }
form .button { justify-self: start; margin-top: .5rem; }
.hint, .note { color: var(--muted); }
.hint { font-size: .9rem; }
.timeline { padding: 0; list-style: none; }
.timeline li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.timeline span { color: var(--muted); }
.timeline [aria-current="step"] { font-weight: 700; color: var(--deep-blue); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .65rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }

@media (max-width: 52rem) {
  .hero { gap: 1.5rem; }
}
@media (max-width: 42rem) {
  .shell { width: min(100% - 2rem, 74rem); }
  .hero, .programs, .process ol, .ambassadors, .advisor-overview, .editor-fields { grid-template-columns: 1fr; }
  .hero { gap: 1.25rem; padding-block: .25rem 2rem; }
  .hero-copy { padding-block: 0; }
  .hero h1 { margin-bottom: .75rem; }
  .hero .lede { margin-bottom: 0; }
  .hero .offer { margin-block: .75rem; }
  .site-header { gap: .6rem; padding-block: .8rem 1.1rem; }
  .site-header nav > a:not(.button) { display: none; }
  .invite-controls { flex-direction: column; align-items: start; }
  .roadmap-stage { padding: 1.65rem 1.35rem; }
  .paper { transform: none; box-shadow: .35rem .35rem 0 var(--yellow); }
  .process ol { gap: .35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:active { transform: none; }
}
@media print {
  body { background: white; color: black; }
  .site-header, .site-footer, .skip, .screen > .actions { display: none; }
  .shell { width: 100%; }
  .screen { padding: 0; }
  .report { border: 0; background: white; padding: 0; }
  .report section { break-inside: avoid; }
}
