:root {
  color-scheme: dark;
  --ink: #f7f8ff;
  --muted: #c1c8de;
  --night: #10152b;
  --purple: #c6b5ff;
  --paper: #f0effb;
  --dark: #171933;
  --line: #d7d4e9;
  font: 100%/1.55 system-ui, sans-serif;
  scroll-padding-top: 1.5rem;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--ink); }
a { color: inherit; text-underline-offset: .24em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid #8764f2; outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
header { border-bottom: 1px solid #343953; }
nav, footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; flex-wrap: wrap; padding-block: 1.1rem; }
.links { display: flex; gap: 1.1rem; font-size: .9rem; }
.brand { font-weight: 850; letter-spacing: .12em; text-decoration: none; }
.brand span, h1 span { color: var(--purple); }
.skip { position: absolute; transform: translateY(-160%); padding: .6rem 1rem; background: white; color: black; }
.skip:focus { transform: none; z-index: 1; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .56fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 8vw, 8rem); }
.eyebrow { margin: 0 0 .75rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 730; font-size: .875rem; color: var(--purple); }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.045em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 9.3vw, 8rem); }
h2 { font-size: clamp(2.15rem, 5vw, 4rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
.lead { font-size: clamp(1.4rem, 3vw, 2.15rem); line-height: 1.23; max-width: 24ch; margin: 1rem 0; }
.intro, .section-intro { max-width: 60ch; margin-block: 1rem 1.6rem; color: var(--muted); }
.meta, .note { font-size: .875rem; color: var(--muted); }
.hero-stat { background: radial-gradient(ellipse at 85% 4%, #4b357c, #222647 70%); padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid #57537c; border-radius: 1.25rem; }
.hero-stat strong { font-size: clamp(3.4rem, 8vw, 7rem); line-height: 1; letter-spacing: -.08em; color: #decfff; }
.hero-stat p { max-width: 30ch; }
.hero-stat a { font-size: .9rem; }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.light { color-scheme: light; background: var(--paper); color: var(--dark); --muted: #494766; }
.light .eyebrow { color: #5534a4; }
.panel { padding: clamp(1.25rem, 4vw, 2.5rem); background: white; border: 1px solid var(--line); border-radius: 1rem; max-width: 55rem; }
button, .button { display: inline-flex; align-items: center; justify-content: center; background: #5937b4; border: 1px solid transparent; border-radius: .6rem; color: white; font: inherit; font-weight: 720; text-decoration: none; padding: .65rem 1.1rem; cursor: pointer; min-height: 2.85rem; text-align: center; }
.hero .button { background: var(--purple); color: #1b1340; }
button:hover, .button:hover { filter: brightness(1.12); }
.secondary { background: white; border-color: #968bb8; color: #372477; }
.actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: 1.25rem; }
#next { margin-left: auto; }
fieldset { border: 0; padding: 0; margin: 1.3rem 0 0; min-inline-size: 0; }
legend { padding: 0; margin-bottom: .85rem; font-weight: 760; font-size: clamp(1.2rem, 3vw, 1.7rem); line-height: 1.25; }
progress { width: 100%; height: .7rem; display: block; margin-top: .5rem; accent-color: #5937b4; }
.option { display: flex; align-items: center; gap: .8rem; border: 1px solid var(--line); border-radius: .6rem; padding: .75rem; margin-bottom: .55rem; cursor: pointer; }
.option:has(input:checked) { background: #eee8ff; border-color: #7251c6; }
input[type=radio] { flex: 0 0 auto; margin: 0; accent-color: #5937b4; width: 1.15rem; height: 1.15rem; }
.error { color: #aa2342; }
.bench, #personal { display: grid; gap: 1rem; }
.bench { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#personal { margin-top: 1rem; }
.metric { border: 1px solid #454c68; border-radius: .85rem; padding: 1.2rem; }
.light .metric { border-color: var(--line); }
.metric h3, .metric h4 { font-size: 1.05rem; line-height: 1.35; letter-spacing: 0; margin: 0 0 .8rem; }
.metric p { margin: 0 0 .75rem; }
.series { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .25rem .65rem; margin-top: .65rem; font-size: .875rem; }
.track { grid-column: 1 / -1; height: .5rem; background: #39405b; border-radius: 1rem; overflow: hidden; }
.fill { display: block; height: 100%; background: #b7a0ff; border-radius: inherit; }
.series + .series .fill { background: #74dfdd; }
.light .track { background: #ece9fa; }
.light .fill { background: #6945c6; }
.light .series + .series .fill { background: #137e80; }
.source { margin-top: 1.5rem; }
.business { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.demo-label { margin-top: 0; font-weight: 750; }
#demo label { display: grid; gap: .25rem; margin-bottom: .85rem; font-weight: 640; }
#demo label span { font-size: .875rem; font-weight: 400; }
#demo input, #demo textarea { width: 100%; color: var(--dark); font: inherit; border: 1px solid #9a95b2; border-radius: .4rem; padding: .55rem .65rem; }
#demo textarea { resize: vertical; }
#confirmation { color: #17594f; font-weight: 670; }
footer p { margin: 0; font-size: .875rem; color: var(--muted); }
[hidden] { display: none !important; }
@media (max-width: 45rem) {
  .hero, .bench, .business { grid-template-columns: 1fr; }
  .wrap { width: calc(100% - 2rem); }
}
