@font-face { font-family: "Barlow"; src: url("/fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --track: #2447a0;
  --track-deep: #172f6c;
  --lane: #fbfbf8;
  --ink: #0e1a33;
  --ink-soft: #46536e;
  --mist: #e6ebf5;
  --paper: #f7f8fb;
  --finish: #f2c230;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--track); text-underline-offset: 0.18em; }
a:hover { color: var(--track-deep); }
:focus-visible { outline: 3px solid var(--finish); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--mist); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.01em; }
.site-nav { display: flex; gap: clamp(14px, 3vw, 28px); font-weight: 500; font-size: 0.98rem; }
.site-nav a { color: var(--ink-soft); text-decoration: none; }
.site-nav a:hover { color: var(--track); }

/* Hero */
.hero { background: var(--track); color: var(--lane); overflow: hidden; position: relative; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; min-height: min(78vh, 640px); gap: 24px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.005em;
  margin: 0 0 24px;
  max-width: 11ch;
}
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34ch; margin: 0; color: #dfe6f7; }
.hero-art { align-self: stretch; display: flex; align-items: center; justify-content: flex-end; margin-right: calc(-1 * clamp(20px, 5vw, 48px)); }
.hero-art svg { width: 100%; height: auto; max-height: 560px; }
.lane-line { fill: none; stroke: var(--lane); stroke-width: 3; }
.lane-num { font-family: var(--display); font-weight: 700; font-size: 44px; fill: var(--lane); opacity: 0.92; }
.finish-line { stroke: var(--finish); stroke-width: 6; }
@media (prefers-reduced-motion: no-preference) {
  .lane-line { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 1.6s cubic-bezier(.4,0,.2,1) forwards; }
  .lane-line:nth-of-type(2) { animation-delay: .12s; }
  .lane-line:nth-of-type(3) { animation-delay: .24s; }
  .lane-line:nth-of-type(4) { animation-delay: .36s; }
  .lane-line:nth-of-type(5) { animation-delay: .48s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* Sections */
section.block { padding: clamp(56px, 9vw, 104px) 0; }
section.block + section.block { border-top: 1px solid var(--mist); }
.block h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.02;
  margin: 0 0 16px;
}
.block .lede { max-width: 60ch; color: var(--ink-soft); margin: 0 0 40px; }

/* Lanes (programs) */
.lanes { display: grid; gap: 0; border-top: 3px solid var(--ink); }
.lane {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(0, 300px);
  gap: clamp(16px, 3vw, 40px);
  padding: 32px 0;
  border-bottom: 1px solid #cdd5e6;
}
.lane-no { font-family: var(--display); font-weight: 700; font-size: 4.2rem; line-height: 0.85; color: var(--track); }
.lane.is-open .lane-no { color: #b8c3dc; }
.lane h3 { font-family: var(--display); font-weight: 600; font-size: 1.9rem; line-height: 1.05; margin: 0 0 6px; }
.lane .for { font-weight: 500; color: var(--ink); margin: 0 0 10px; }
.lane p { margin: 0 0 10px; max-width: 58ch; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--finish); }
.lane.is-open .status::before { background: #b8c3dc; }
.prices { margin: 0; padding: 0; list-style: none; font-size: 0.98rem; }
.prices li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed #cdd5e6; }
.prices li:last-child { border-bottom: 0; }
.prices strong { font-weight: 600; white-space: nowrap; }
.price-note { font-size: 0.88rem; color: var(--ink-soft); margin: 10px 0 0; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--track); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--track); margin-bottom: 10px; }
.steps h3 { font-family: var(--display); font-weight: 600; font-size: 1.45rem; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--ink-soft); }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.facts h3 { font-family: var(--display); font-weight: 600; font-size: 1.45rem; margin: 0 0 8px; }
.facts p { margin: 0 0 8px; max-width: 52ch; }

/* Footer */
.site-footer { background: var(--ink); color: #c9d2e6; padding: 48px 0 40px; font-size: 0.95rem; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; }
.site-footer a { color: var(--lane); }
.site-footer p { margin: 0 0 6px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; justify-items: start; }
.footer-name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--lane); margin-bottom: 8px; }

/* Legal pages */
.legal-head { background: var(--track); color: var(--lane); padding: clamp(40px, 7vw, 72px) 0; }
.legal-head h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1; margin: 0 0 10px; }
.legal-head p { margin: 0; color: #dfe6f7; }
.legal { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.legal .wrap, .legal-head .wrap { max-width: 820px; }
.legal h2 { font-family: var(--display); font-weight: 600; font-size: 1.7rem; line-height: 1.1; margin: 44px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { max-width: 68ch; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.table-wrap { overflow-x: auto; margin: 12px 0 20px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 0.95rem; min-width: 560px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #cdd5e6; }
.legal th { font-weight: 600; background: var(--mist); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 0; min-height: 0; }
  .hero-art { margin: 0 calc(-1 * clamp(20px, 5vw, 48px)); justify-content: center; }
  .lane { grid-template-columns: 64px minmax(0, 1fr); }
  .lane-no { font-size: 3.2rem; }
  .lane .lane-price { grid-column: 2; }
  .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .site-nav a:not(.nav-keep) { display: none; }
}
