:root {
  --ink: #f5f5f7;
  --muted: #a1a1a6;
  --blue: #2997ff;
  --green: #30d158;
  --panel: #1c1c1e;
  --line: #38383a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #060608; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.05em; }
p { color: var(--muted); line-height: 1.55; }
.eyebrow { margin-bottom: 20px; color: inherit; font-size: .7rem; font-weight: 760; letter-spacing: .13em; text-transform: uppercase; }

header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(1240px, calc(100% - 48px)); height: 74px; margin: auto; border-bottom: 1px solid var(--line); }
header .brand img { width: 105px; }
.exit { justify-self: end; font-size: .78rem; text-decoration: none; }

.intro { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; width: min(1180px, calc(100% - 48px)); margin: auto; padding: 110px 0 85px; }
.intro h1 { margin: 0; font-size: clamp(4.6rem, 9.5vw, 9.5rem); font-weight: 650; line-height: .84; }
.intro h1 span { color: #86868b; }
.lede { max-width: 700px; margin: 38px 0 0; font-size: 1.2rem; }
.mission-progress { width: 220px; padding-bottom: 18px; }
.mission-progress span { display: block; margin-bottom: 12px; color: var(--muted); font-size: .75rem; }
.mission-progress i { display: block; height: 5px; border-radius: 8px; background: #2c2c2e; }
.mission-progress b { display: block; width: 33%; height: 100%; border-radius: 8px; background: var(--blue); }

.simulator { display: grid; grid-template-columns: .72fr 1.28fr; width: min(1400px, calc(100% - 32px)); margin: auto; overflow: hidden; border: 1px solid var(--line); border-radius: 32px; background: var(--panel); }
.controls { padding: 58px 48px; border-right: 1px solid var(--line); }
.control-head h2 { margin: 0 0 45px; font-size: 3rem; }
.control-head .run { margin-bottom: 50px; }
.run { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 19px; color: #fff; border: 0; border-radius: 13px; background: var(--blue); font-weight: 650; cursor: pointer; }
.run:disabled { opacity: .45; }
.run span { font-size: 1.4rem; }
.controls > label { display: flex; justify-content: space-between; align-items: end; margin-bottom: 18px; color: var(--muted); font-size: .82rem; }
.controls > label strong { color: #fff; font-size: 1.8rem; letter-spacing: -.04em; }
.controls input[type="range"] { width: 100%; accent-color: var(--blue); }
fieldset { padding: 0; margin: 50px 0 28px; border: 0; }
legend { margin-bottom: 16px; color: var(--muted); font-size: .78rem; }
.rate-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rate-options input { position: absolute; opacity: 0; }
.rate-options span { display: grid; place-items: center; height: 46px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.rate-options input:checked + span { color: #fff; border-color: var(--blue); background: #102a46; }
.boundary { margin: 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: .75rem; }
.stage { display: flex; flex-direction: column; justify-content: center; gap: 18px; min-height: 690px; padding: 58px; background: #101012; }
.year { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.year small { margin-right: auto; color: var(--muted); letter-spacing: .12em; }
.year strong { font-size: 4.8rem; letter-spacing: -.07em; }
.year span { color: var(--muted); }
.track-card { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #1c1c1e; }
.growth-card { border-color: #195b94; }
.track-heading { display: flex; justify-content: space-between; gap: 25px; align-items: end; }
.track-heading small { color: var(--muted); font-size: .65rem; letter-spacing: .1em; }
.track-heading h3 { margin: 8px 0 5px; font-size: 1.45rem; }
.track-heading p { margin: 0; font-size: .75rem; }
.track-heading > strong { font-size: 1.9rem; letter-spacing: -.05em; }
.track { height: 10px; margin-top: 28px; overflow: hidden; border-radius: 10px; background: #343438; }
.track i { display: block; width: 0; height: 100%; border-radius: 10px; background: #8e8e93; transition: width .1s linear; }
.growth-card .track i { background: linear-gradient(90deg, var(--blue), var(--green)); }
.goal-line { display: flex; justify-content: space-between; padding: 8px 5px 0; color: var(--muted); font-size: .74rem; }
.goal-line strong { color: #fff; }
.insight { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: start; width: min(1180px, calc(100% - 48px)); margin: 28px auto 0; padding: 42px; border-radius: 24px; background: #eaf8f1; color: #071f15; }
.insight[hidden] { display: none; }
.insight h2 { margin: 0 0 12px; font-size: 2.5rem; }
.insight p { max-width: 670px; color: #3f5d50; }
.insight button { padding: 12px 18px; border: 1px solid #86b69f; border-radius: 99px; background: transparent; cursor: pointer; }
.learn-more { width: min(1180px, calc(100% - 48px)); margin: auto; padding: 150px 0; }
.lessons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 55px; margin: 60px 0 65px; }
.lessons article { padding-top: 25px; border-top: 1px solid var(--line); }
.lessons span { color: var(--muted); font-size: .72rem; }
.lessons h3 { margin: 42px 0 14px; font-size: 1.7rem; }
.lessons p { font-size: .9rem; }
.learn-more > a { color: var(--blue); font-weight: 650; text-decoration: none; }
.learn-more > a span { font-size: 1.3em; }
footer { display: flex; justify-content: space-between; gap: 30px; padding: 40px max(24px, calc((100vw - 1180px) / 2)); border-top: 1px solid var(--line); }
footer p { margin: 0; font-size: .75rem; }
footer a { color: var(--blue); font-size: .78rem; text-decoration: none; }

@media (max-width: 900px) {
  .intro, .simulator { grid-template-columns: 1fr; }
  .mission-progress { width: 100%; }
  .controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .stage { min-height: 600px; }
  .insight { grid-template-columns: auto 1fr; }
  .insight button { grid-column: 2; justify-self: start; }
  .lessons { grid-template-columns: 1fr; }
  .lessons article { display: grid; grid-template-columns: 50px 1fr; gap: 0 20px; }
  .lessons article p { grid-column: 2; }
  .lessons h3 { margin: 0 0 12px; }
}

@media (max-width: 600px) {
  header { grid-template-columns: 1fr auto; width: calc(100% - 32px); }
  .intro { grid-template-columns: 1fr; width: calc(100% - 32px); padding: 80px 0 60px; }
  .intro h1 { font-size: 4.3rem; }
  .lede { font-size: 1rem; }
  .simulator { width: calc(100% - 16px); border-radius: 22px; }
  .controls, .stage { padding: 38px 22px; }
  .control-head h2 { font-size: 2.5rem; }
  .stage { min-height: 560px; }
  .year strong { font-size: 4rem; }
  .track-heading { display: block; }
  .track-heading > strong { display: block; margin-top: 22px; }
  .insight { grid-template-columns: 1fr; width: calc(100% - 32px); padding: 30px 24px; }
  .insight button { grid-column: 1; }
  .learn-more { width: calc(100% - 32px); padding: 100px 0; }
  .lessons { gap: 35px; margin-top: 45px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track i { transition: none; }
}
