:root {
  --ink: #14263a;
  --muted: #4a5b6c;
  --paper: #f6f8fb;
  --surface: #ffffff;
  --rule: #d5dde6;
  --azure: #0b63b8;
  --security: #0a7468;
  --data: #9a5800;
  --ai: #5b3fb5;
  --focus: #0b63b8;
  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Hero */
.hero { padding: 3.5rem 0 2rem; }
.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: 16ch;
}
.hero p { max-width: 58ch; margin: 0 0 0.75rem; color: var(--muted); font-size: 1.1rem; }
.hero .checked { font-size: 0.95rem; }

/* Track key */
.key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
}
.key a { text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.key a:hover { text-decoration: underline; }
.swatch { width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--c); flex: none; }

/* Tracks */
.track {
  --c: var(--azure);
  padding: 2.5rem 0 1rem;
  border-top: 1px solid var(--rule);
  margin-top: 1.5rem;
}
.track.azure { --c: var(--azure); }
.track.security { --c: var(--security); }
.track.data { --c: var(--data); }
.track.ai { --c: var(--ai); }

.track-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  line-height: 1.15;
  margin: 0 0 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.track-head h2 .swatch { width: 1.1rem; height: 1.1rem; }
.track-head p { margin: 0 0 1.75rem; color: var(--muted); max-width: 60ch; }

.levels { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) {
  .levels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
}

.level h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 3px solid var(--c);
}

.stops {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.stops::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 3px;
  background: var(--c);
  opacity: 0.35;
}

.stop {
  position: relative;
  padding: 0.7rem 0.75rem 0.7rem 2rem;
  margin: 0 0 0.35rem;
  border-radius: 6px;
}
.stop::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--c);
}
.stop:hover { background: var(--surface); }

.stop a {
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.stop a::after { content: ""; position: absolute; inset: 0; }
.stop:hover a { text-decoration-thickness: 2px; }
.stop:focus-within { background: var(--surface); }

.code {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.stop p { margin: 0.2rem 0 0; font-size: 0.95rem; color: var(--muted); }

.start {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background: var(--c);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  vertical-align: middle;
}

/* 2026 changes */
.changes { padding: 3rem 0 2rem; border-top: 1px solid var(--rule); margin-top: 2rem; }
.changes h2 { font-family: var(--font-head); font-size: 1.8rem; margin: 0 0 0.5rem; }
.changes > .wrap > p { max-width: 62ch; color: var(--muted); margin: 0 0 1.5rem; }

.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; background: var(--surface); }
th, td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-family: var(--font-head); font-size: 0.95rem; background: #eaf0f6; }
td a { text-underline-offset: 3px; }

/* Footer */
.foot { padding: 2rem 0 3rem; color: var(--muted); font-size: 0.95rem; border-top: 1px solid var(--rule); }
.foot p { max-width: 62ch; margin: 0 0 0.6rem; }

.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  z-index: 10;
}
.skip:focus { left: 0.5rem; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
