/* The visual front page at /clock. Self-contained: it shares the site's night
   surface, typeface and focus colour, and nothing else from styles.css.
   Violet is what has been measured and where that pace points. Each of the four
   moments keeps one colour of its own wherever it appears, and so does each
   dial. Every set was checked for colour-blind separation on this surface.
   Text never takes a data colour. */
@font-face {
  font-family: Geist;
  src: url('./assets/geist.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night: #100e1a;
  --dusk: #191627;
  --rule: #2a2438;
  --edge: #453c5f;
  --chalk: #f1edf9;
  --haze: #b8afc9;
  --mist: #a39ab7;
  --violet: #9887ef;
  --amber: #d28e05;
  --span: #6a5f95;
  --teal: #73e8cc;
  --gutter: clamp(16px, 4.5vw, 56px);
  --stop-rsi: #00a888;
  --stop-agi: #d28e05;
  --stop-singularity: #e24d8b;
  --stop-asi: #338ced;
  --dial-build: #338ced;
  --dial-chips: #e76624;
  --dial-money: #00a888;
  --dial-power: #d28e05;
  --dial-ideas: #e24d8b;
  --dial-self: #9887ef;
  --dial-pause: #eb6263;
  --lab-openai: #00a888;
  --lab-anthropic: #e76624;
  --lab-google: #338ced;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
[data-stop='rsi'] { --hue: var(--stop-rsi); }
[data-stop='agi'] { --hue: var(--stop-agi); }
[data-stop='singularity'] { --hue: var(--stop-singularity); }
[data-stop='asi'] { --hue: var(--stop-asi); }
[data-lab='openai'] { --hue: var(--lab-openai); }
[data-lab='anthropic'] { --hue: var(--lab-anthropic); }
[data-lab='google'] { --hue: var(--lab-google); }
[data-dial='build'] { --hue: var(--dial-build); }
[data-dial='chips'] { --hue: var(--dial-chips); }
[data-dial='money'] { --hue: var(--dial-money); }
[data-dial='power'] { --hue: var(--dial-power); }
[data-dial='ideas'] { --hue: var(--dial-ideas); }
[data-dial='self'] { --hue: var(--dial-self); }
[data-dial='pause'] { --hue: var(--dial-pause); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 300px;
  background: var(--night);
  color: var(--chalk);
  font: 400 18px/1.5 Geist, system-ui, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p, ul, ol, figure { margin: 0; }
h1, h2 { font: inherit; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-line: underline; text-decoration-color: var(--edge); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-color: var(--teal); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 2px; }
[hidden] { display: none !important; }
#main:focus { outline: none; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 9; top: 10px; left: 10px; padding: 10px 13px; border-radius: 6px; background: var(--teal); color: var(--night); transform: translateY(-160%); }
.skip:focus { transform: none; }

/* Masthead */
.top { border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.mark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 650; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.more { display: inline-flex; align-items: center; min-height: 44px; color: var(--haze); font-size: 16px; white-space: nowrap; }
@media (max-width: 380px) {
  .top .wrap { gap: 10px; }
  .mark { gap: 8px; font-size: 16px; }
  .more { font-size: 15px; }
}

/* Questions are quiet and answers are loud, all the way down the page. */
h1, h2 { color: var(--haze); font-size: clamp(20px, 2.3vw, 30px); font-weight: 500; line-height: 1.2; letter-spacing: -.015em; }
.answer { max-width: 15em; margin-top: .14em; font-size: clamp(34px, 5.4vw, 76px); font-weight: 720; line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.detail { max-width: 34em; margin-top: 18px; color: var(--haze); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.4; text-wrap: pretty; }

/* The first screen: the question, the published year, and the faster path
   beneath it. The year is the largest thing on the page. */
.hero { padding-top: clamp(20px, 4.4vw, 56px); }
.status { color: var(--mist); font-size: clamp(15px, 1.4vw, 18px); }
.status b { color: var(--chalk); font-weight: 650; }
h1 { margin-top: 4px; }
.big { margin: .07em 0 0 -.05em; font-size: max(min(36vw, 150px), min(19vw, 264px)); font-weight: 780; line-height: .86; letter-spacing: -.065em; font-variant-numeric: tabular-nums; }
.big[data-kind='words'] { font-size: max(min(25.5vw, 92px), min(15.4vw, 208px)); }
.big[data-kind='long'] { font-size: max(min(18.4vw, 68px), min(11.4vw, 150px)); line-height: .94; }
.call, .also { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; column-gap: 10px; color: var(--haze); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.25; }
.call { margin-top: clamp(10px, 1.4vw, 18px); }
.call b { color: var(--chalk); font-weight: 650; }
.call .key-pin { justify-self: center; box-shadow: 0 0 14px var(--hue); }
.also { margin-top: clamp(6px, .8vw, 10px); text-wrap: balance; }
.also b { margin-right: .12em; color: var(--chalk); font-size: 1.62em; font-weight: 740; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.also .key-mark { justify-self: center; width: 11px; height: 11px; }
.hero-side { margin-top: clamp(18px, 3vw, 28px); }
.meaning { max-width: 31em; color: var(--haze); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; text-wrap: pretty; }
.stamp { display: flex; flex-wrap: wrap; gap: 0 .4em; margin-top: 12px; color: var(--mist); font-size: 15px; font-variant-numeric: tabular-nums; }
@media (min-width: 1000px) {
  .hero { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: clamp(48px, 6vw, 104px); }
  .hero-side { margin: 0; padding-bottom: 4px; }
  .hero > .notice { grid-column: 1 / -1; }
}
.notice { max-width: 40em; margin-top: 24px; padding: 14px 16px; border: 1px solid var(--edge); border-radius: 8px; font-size: 16px; }
.band { margin-top: clamp(88px, 12vw, 176px); }
/* The measurement sits close under the forecast it supports. */
.band.far { margin-top: clamp(52px, 7.4vw, 104px); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* The ladder */
.ladder { margin-top: clamp(24px, 4vw, 48px); }
.chart { position: relative; touch-action: pan-y; }
.ladder-svg { display: block; width: 100%; height: auto; overflow: visible; }
.ladder-svg [hidden] { display: none; }
.ladder-svg text { font-family: inherit; }
.rung { stroke: var(--rule); stroke-width: 1; }
.rung-name { fill: var(--mist); font-size: 15px; font-weight: 500; }
.rung-name.is-reached, .rung-name.is-next { fill: var(--chalk); }
.rung-note { fill: var(--haze); font-size: 13px; }
.route-ahead { stroke: var(--edge); stroke-width: 2; }
.route-done { stroke: var(--violet); stroke-width: 2; }
.node { fill: var(--night); stroke: var(--edge); stroke-width: 2; }
.node.is-reached { fill: var(--violet); stroke: var(--night); }
.node.is-next { stroke: var(--violet); }
.node-check { fill: none; stroke: var(--night); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.year-tick { stroke: var(--edge); }
.year-name { fill: var(--mist); font-size: 14px; font-variant-numeric: tabular-nums; }
.spread { fill: var(--violet); fill-opacity: .1; }
.spread.is-tested { fill-opacity: .22; }
.pace { fill: none; stroke: var(--violet); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1 7; stroke-opacity: .75; }
.pace.is-tested { stroke-dasharray: 7 6; stroke-opacity: 1; }
.pace.is-past { stroke-width: 1; stroke-dasharray: none; stroke-opacity: .4; }
.here line { stroke: var(--span); stroke-width: 1; }
.here text { fill: var(--haze); font-size: 14px; font-weight: 500; }
.climb { fill: none; stroke: var(--violet); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 7px rgb(152 135 239 / .55)); }
.dot { fill: var(--violet); stroke: var(--night); stroke-width: 2; }
.dot.is-record { filter: drop-shadow(0 0 9px rgb(152 135 239 / .9)); }
.crossing { fill: var(--night); stroke: var(--violet); stroke-width: 2; stroke-opacity: .8; }
.crossing.is-tested { stroke-opacity: 1; }
.crossing-name, .point-name { fill: var(--haze); font-size: 14px; }
.point-system { fill: var(--chalk); font-weight: 600; }
.is-halo, .is-halo tspan { fill: var(--night); stroke: var(--night); stroke-width: 6px; stroke-linejoin: round; }
.crosshair line { stroke: var(--mist); stroke-width: 1; }
.crosshair circle { fill: none; stroke: var(--chalk); stroke-width: 1.5; }

/* One arrival: the line draws itself once, then the forecast fades in. */
@media (prefers-reduced-motion: no-preference) {
  .is-first .climb { stroke-dasharray: 1; stroke-dashoffset: 1; animation: climb 1.3s cubic-bezier(.3, .1, .2, 1) .15s forwards; }
  .is-first .dot { opacity: 0; animation: appear .3s ease-out forwards; animation-delay: calc(.2s + var(--i) * .1s); }
  .is-first .future, .is-first .crossings, .is-first .names { opacity: 0; animation: appear .7s ease-out 1.45s forwards; }
  /* Held at its first frame until the chart has scrolled into view. */
  .is-waiting .climb, .is-waiting .dot, .is-waiting .future, .is-waiting .crossings, .is-waiting .names { animation-play-state: paused; }
}
@keyframes climb { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

.tip { position: absolute; z-index: 2; top: 0; left: 0; width: max-content; max-width: min(272px, 86%); padding: 10px 12px; border: 1px solid var(--edge); border-radius: 8px; background: var(--dusk); color: var(--haze); font-size: 14px; line-height: 1.35; pointer-events: none; }
.tip b { display: block; color: var(--chalk); font-size: 16px; font-weight: 650; }

.legend { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 18px; color: var(--haze); font-size: 15px; }
.legend li { display: inline-flex; align-items: center; gap: 9px; }
.key-line { stroke: var(--violet); stroke-width: 2.5; }
.key-dot { fill: var(--violet); stroke: var(--night); stroke-width: 2; }
.key-dash { stroke: var(--violet); stroke-width: 2; stroke-dasharray: 7 6; stroke-linecap: round; }
.key-wash { fill: var(--violet); fill-opacity: .34; }
.key-pin { flex: none; width: 13px; height: 13px; }
.key-pin.is-experts { border-radius: 50%; background: var(--hue, var(--haze)); }
.key-span { flex: none; width: 34px; height: 10px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--haze); }
figcaption { max-width: 46em; margin-top: 14px; color: var(--mist); font-size: 15px; line-height: 1.5; text-wrap: pretty; }

.numbers { margin-top: 8px; font-size: 15px; }
.numbers summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--haze); cursor: pointer; list-style: none; text-decoration: underline; text-decoration-color: var(--edge); text-decoration-thickness: 1px; text-underline-offset: .22em; }
.numbers summary::-webkit-details-marker { display: none; }
.numbers summary::before { content: ''; width: 7px; height: 7px; margin-right: 11px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-1px) rotate(-45deg); }
.numbers[open] summary::before { transform: translateY(-3px) rotate(45deg); }
.table-wrap { overflow-x: auto; }
table { min-width: min(100%, 560px); border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: 9px 24px 9px 0; border-bottom: 1px solid var(--rule); text-align: left; white-space: nowrap; }
th { color: var(--mist); font-weight: 500; }
td { color: var(--haze); }
td:nth-child(2) { color: var(--chalk); }
@media (max-width: 620px) {
  .numbers table { font-size: 14px; }
  .numbers th, .numbers td { padding-right: 12px; white-space: normal; vertical-align: top; }
  .numbers th:last-child, .numbers td:last-child { padding-right: 0; }
}

/* Three moments, to scale */
.moments { display: grid; gap: 18px; margin-top: clamp(28px, 4vw, 48px); }
.moments li { display: grid; grid-template-columns: minmax(0, 210px) 1fr; align-items: center; column-gap: 20px; }
.who { font-size: 16px; font-weight: 600; line-height: 1.25; }
.who small { display: block; color: var(--mist); font-size: 14px; font-weight: 400; }
.track { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bar { flex: none; width: max(3px, calc((100% - 7.4em) * var(--share))); height: 22px; border-radius: 0 4px 4px 0; background: var(--violet); }
.val { font-size: 16px; font-weight: 600; white-space: nowrap; }
@media (max-width: 620px) {
  .moments li { grid-template-columns: 1fr; row-gap: 6px; }
  .who small { display: inline; margin-left: 8px; }
}

/* The stops */
.stops .legend { margin-top: clamp(24px, 3.4vw, 40px); }
.stops-chart { margin-top: 18px; }
.stop, .stop-axis { display: grid; grid-template-columns: minmax(0, 320px) 1fr; column-gap: 32px; }
.stop-axis { padding-left: 18px; }
.stop { position: relative; align-items: center; padding: 20px 0 20px 18px; border-top: 1px solid var(--rule); }
.stop::before { content: ''; position: absolute; top: 18px; bottom: 18px; left: 0; width: 5px; border-radius: 3px; background: var(--hue); }
.stop-name b { display: block; font-size: clamp(18px, 1.8vw, 22px); font-weight: 620; line-height: 1.2; letter-spacing: -.015em; }
.stop-name span { color: var(--mist); font-size: 15px; }
.stop-track { position: relative; height: 72px; }
.stop-tick { position: absolute; top: 0; bottom: 0; left: calc(var(--at) * 100%); width: 1px; background: var(--rule); }
.stop-span { position: absolute; top: 28px; left: calc(var(--from) * 100%); width: calc((var(--to) - var(--from)) * 100%); height: 12px; border-radius: 6px; background: color-mix(in srgb, var(--hue) 34%, var(--night)); box-shadow: inset 0 0 0 1.5px var(--hue); }
.stop-mark { position: absolute; top: 34px; left: calc(var(--at) * 100%); width: 8px; height: 8px; margin: -4px 0 0 -4px; border: 1.5px solid var(--chalk); border-radius: 50%; background: var(--night); }
.pin { position: absolute; top: 34px; left: calc(var(--at) * 100%); transition: left .55s var(--ease); }
.pin i { position: absolute; top: -9px; left: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--hue); box-shadow: 0 0 0 3px var(--night), 0 0 18px var(--hue); }
.pin b, .pin small { position: absolute; left: 0; white-space: nowrap; transform: translateX(-50%); }
.pin b { bottom: 13px; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pin small { top: 14px; color: var(--haze); font-size: 14px; }
.pin[data-edge='start'] b, .pin[data-edge='start'] small { transform: translateX(-10px); }
.pin[data-edge='end'] b, .pin[data-edge='end'] small { transform: translateX(calc(-100% + 10px)); }
.pin[data-off='true'] i { opacity: .55; box-shadow: 0 0 0 3px var(--night); }
.stop-axis { padding-top: 8px; border-top: 1px solid var(--rule); }
.stop-ticks { position: relative; grid-column: 2; height: 24px; }
.stop-ticks span { position: absolute; left: calc(var(--at) * 100%); color: var(--mist); font-size: 14px; font-variant-numeric: tabular-nums; transform: translateX(-50%); }
.stop-ticks span:first-child { transform: none; }
.stop-ticks span:last-child { transform: translateX(-100%); }
@media (max-width: 820px) {
  .stop, .stop-axis { grid-template-columns: 1fr; }
  .stop { row-gap: 4px; padding: 18px 0 8px 16px; }
  .stop::before { top: 16px; bottom: 12px; }
  .stop-axis { padding-left: 16px; }
  .stop-ticks { grid-column: 1; }
}

/* At work */
.effects { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(36px, 5vw, 64px) clamp(32px, 4vw, 56px); margin-top: clamp(32px, 5vw, 56px); }
.effect { display: grid; align-content: start; gap: 18px; padding-top: 22px; border-top: 1px solid var(--rule); }
.effect-source { margin: -8px 0 -12px; }
.effect-say { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.3; letter-spacing: -.01em; text-wrap: pretty; }
.effect-say b { font-weight: 720; }
.pair { display: grid; justify-items: start; gap: 14px; }
.flip { display: inline-flex; padding: 3px; border: 1px solid var(--edge); border-radius: 25px; }
.flip button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 22px; background: transparent; color: var(--haze); font: inherit; font-size: 15px; cursor: pointer; }
.flip button[aria-pressed='true'] { background: var(--chalk); color: var(--night); font-weight: 600; }
.pair > div:not(.flip) { width: 100%; }
.squares { display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; width: 100%; max-width: 440px; }
.squares i { aspect-ratio: 1; border-radius: 2px; background: var(--rule); transition: background-color .2s ease calc(var(--n) * 3ms), box-shadow .2s ease calc(var(--n) * 3ms); }
.squares i.is-on { background: var(--span); }
.squares i.is-on[data-gap] { background: var(--violet); box-shadow: 0 0 9px rgb(152 135 239 / .6); }
.squares.is-wide { grid-template-columns: repeat(16, 1fr); gap: 4px; max-width: 520px; margin-top: 16px; }
.squares.is-wide i { border-radius: 3px; }
.doubling { margin-top: clamp(40px, 6vw, 72px); }
.double-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.go { min-height: 48px; padding: 0 24px; border: 0; border-radius: 24px; background: var(--violet); color: var(--night); font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.go:hover { background: var(--chalk); }
.go:disabled { opacity: .4; cursor: default; }
.double-read { max-width: 34em; margin-top: 16px; color: var(--haze); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.4; }
.double-read b { color: var(--chalk); font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing: -.02em; }
.replay { margin-top: 12px; }
.pair-reading { color: var(--haze); font-size: 16px; }
.pair-reading b { color: var(--chalk); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.effect-source { color: var(--mist); font-size: 14px; }
.effect-source a { display: inline-block; padding: 12px 0; }
.effect .numbers { margin-top: -14px; font-size: 14px; }
.effect .numbers p { max-width: 34em; color: var(--mist); line-height: 1.5; }

.foot { margin-top: clamp(96px, 13vw, 184px); padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); border-top: 1px solid var(--rule); }
.why { max-width: 21em; font-size: clamp(22px, 2.4vw, 30px); font-weight: 560; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.credit { max-width: 40em; margin-top: 18px; color: var(--mist); font-size: 15px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 22px; font-size: 16px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--haze); }

@media (max-width: 520px) {
  body { font-size: 17px; }
  .rung-name { font-size: 14px; }
  .crossing-name, .point-name, .year-name, .here text { font-size: 13px; }
}

/* Forced colours repaint every background, which would erase the bars drawn in
   CSS, and would turn each label's halo into a solid block behind the words. */
@media (forced-colors: active) {
  .bar, .stop-span, .stop-tick, .stop::before, .pin i, .key-pin, .key-span, .squares i, .road::before, .road-base, .road-pin, .dial input, .result::before, .result-name::before, .result-base::before { forced-color-adjust: none; }
  .is-halo { display: none; }
}

/* What if. A console: questions and dials on one side, what they add up to on
   the other. The result is always labelled as the reader's own scenario, with
   the published date directly beneath it. */
.console { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: clamp(22px, 3.4vw, 40px); }
.console-in { min-width: 0; }
.console-out {
  position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) 104px; align-items: start; gap: 6px 14px;
  margin-inline: calc(-1 * var(--gutter)); padding: 10px var(--gutter) 12px; border-bottom: 1px solid var(--edge);
  background: rgb(16 14 26 / .93); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.result { position: relative; grid-column: 1; padding-left: 12px; }
.result::before { content: ''; position: absolute; top: 3px; bottom: 3px; left: 0; width: 4px; border-radius: 2px; background: var(--hue, var(--violet)); }
.result-name { color: var(--haze); font-size: 14px; font-weight: 600; line-height: 1.25; }
.result-yours { color: var(--haze); font-size: 15px; line-height: 1.1; }
.result-yours b { margin-right: 7px; color: var(--chalk); font-size: 31px; font-weight: 760; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.result-base { color: var(--haze); font-size: 14px; line-height: 1.3; }
.result-base b { color: var(--chalk); font-weight: 650; font-variant-numeric: tabular-nums; }
.result.is-next .result-name { font-size: 13px; font-weight: 400; color: var(--mist); }
.result.is-next .result-yours { line-height: 1.25; }
.result.is-next .result-yours b { margin-right: 5px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.result.is-next .result-base { font-size: 13px; }
.meter { grid-column: 2; grid-row: 1 / span 2; }
.gauge-svg { display: block; width: 100%; height: auto; overflow: visible; }
.gauge-track, .gauge-fill { fill: none; stroke-width: 14; stroke-linecap: round; }
.gauge-track { stroke: var(--rule); }
.gauge-fill { stroke: var(--violet); filter: drop-shadow(0 0 8px rgb(152 135 239 / .7)); transition: stroke-dasharray .5s var(--ease); }
.gauge-tick { stroke: var(--edge); stroke-width: 2; stroke-linecap: round; }
.gauge-tick.is-today { stroke: var(--chalk); }
.gauge-name { display: none; fill: var(--mist); font-family: inherit; font-size: 16px; }
.gauge-needle { transform-origin: 130px 140px; transition: transform .5s var(--ease); }
.gauge-needle line { stroke: var(--chalk); stroke-width: 3.5; stroke-linecap: round; }
.gauge-needle circle { fill: var(--chalk); stroke: var(--night); stroke-width: 3; }
.speed { margin-top: 4px; color: var(--haze); font-size: 13px; line-height: 1.2; text-align: center; }
.speed b { display: block; color: var(--chalk); font-size: 27px; font-weight: 760; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.road-box { display: none; }
.whatif-why { grid-column: 1 / -1; color: var(--chalk); font-size: 15px; line-height: 1.35; text-wrap: pretty; }
/* How far a date moved stays in one piece and drops to its own line when it must. */
.result-yours span:last-child { white-space: nowrap; }
@media (max-width: 350px) {
  .console-out { grid-template-columns: minmax(0, 1fr) 84px; gap: 6px 10px; }
  .result { padding-left: 10px; }
  .result-yours b { font-size: 28px; }
  .result.is-next .result-yours b { font-size: 17px; }
}
.asks-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.asks-title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.02em; }
.reset { min-height: 44px; padding: 0 14px; border: 1px solid var(--edge); border-radius: 22px; background: transparent; color: var(--chalk); font: inherit; font-size: 15px; cursor: pointer; }
.reset:disabled { opacity: .45; cursor: default; }
.asks { display: flex; gap: 8px; margin: 10px calc(-1 * var(--gutter)) 0; padding: 2px var(--gutter) 12px; overflow-x: auto; scrollbar-width: none; }
.asks::-webkit-scrollbar { display: none; }
/* The what-if questions are few enough to stand in the open, so they wrap. */
.console .asks { flex-wrap: wrap; margin: 10px 0 0; padding: 0; overflow: visible; }
.console .chip { min-height: 44px; padding: 9px 16px; line-height: 1.25; text-align: left; white-space: normal; }
.more-asks { margin-top: 2px; }
.more-asks .asks { margin-top: 2px; padding-bottom: 12px; }
.chip { flex: none; min-height: 44px; padding: 0 16px; border: 1px solid var(--edge); border-radius: 22px; background: var(--dusk); color: var(--chalk); font: inherit; font-size: 15px; white-space: nowrap; cursor: pointer; }
.chip:hover { border-color: var(--violet); }
.chip[aria-pressed='true'] { border-color: var(--violet); background: var(--violet); color: var(--night); font-weight: 650; }
.dials { margin-top: 8px; }
.dial { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 14px 0 12px; border-top: 1px solid var(--rule); }
.dial-name { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 640; letter-spacing: -.01em; }
.dial-icon { flex: none; fill: none; stroke: var(--hue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dial-value { color: var(--haze); font-size: 15px; text-align: right; }
.dial[data-moved='true'] .dial-value { color: var(--chalk); font-weight: 650; }
.dial[data-held='true'] .dial-value::after { content: ' · the bottleneck'; color: var(--haze); font-weight: 400; }
.dial input { -webkit-appearance: none; appearance: none; grid-column: 1 / -1; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; }
.dial input::-webkit-slider-runnable-track { height: 12px; border-radius: 6px; background: linear-gradient(to right, var(--hue) 0 var(--fill, 50%), var(--rule) var(--fill, 50%) 100%); }
.dial input::-moz-range-track { height: 12px; border-radius: 6px; background: var(--rule); }
.dial input::-moz-range-progress { height: 12px; border-radius: 6px; background: var(--hue); }
.dial input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -9px; border: 4px solid var(--night); border-radius: 50%; background: var(--hue); box-shadow: 0 0 0 2px var(--hue), 0 0 16px var(--hue); }
.dial input::-moz-range-thumb { width: 22px; height: 22px; border: 4px solid var(--night); border-radius: 50%; background: var(--hue); box-shadow: 0 0 0 2px var(--hue), 0 0 16px var(--hue); }
.dial input:focus-visible { outline: 2px solid var(--teal); outline-offset: 0; border-radius: 8px; }
.dial-ticks { display: flex; grid-column: 1 / -1; justify-content: space-between; margin-top: -8px; padding: 0 14px; }
.dial-ticks i { width: 2px; height: 6px; border-radius: 1px; background: var(--edge); }
.dial-ticks i.is-start { height: 11px; background: var(--haze); }
.dial-about { grid-column: 1 / -1; max-width: 34em; margin-top: 8px; color: var(--mist); font-size: 14px; line-height: 1.4; }
.fine { max-width: 52em; margin-top: 22px; color: var(--mist); font-size: 14px; line-height: 1.5; text-wrap: pretty; }
@media (min-width: 960px) {
  .console { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
  .console-out { top: 20px; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); align-items: center; gap: 0 20px; margin: 0; padding: 24px 26px 22px; border: 1px solid var(--edge); border-radius: 22px; background: var(--dusk); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .result { padding-left: 0; }
  .result::before { content: none; }
  .result-name, .result-base { padding-left: 20px; text-indent: -20px; }
  .result-name::before, .result-base::before { content: ''; display: inline-block; width: 11px; height: 11px; margin-right: 9px; border-radius: 50%; }
  .result-name::before { background: var(--hue, var(--violet)); box-shadow: 0 0 12px var(--hue, var(--violet)); }
  .result-base::before { border: 2px solid var(--mist); }
  .result-name { font-size: 16px; }
  .result-yours { margin-top: 2px; font-size: 17px; line-height: 1.15; }
  .result-yours b { display: block; margin: 0 0 2px -.03em; font-size: clamp(50px, 4.9vw, 68px); line-height: .95; }
  .result-base { margin-top: 8px; font-size: 16px; }
  .meter { grid-row: 1; }
  .speed { margin-top: 2px; font-size: 15px; }
  .speed b { font-size: clamp(36px, 3.4vw, 46px); }
  .road-box { display: block; grid-column: 1 / -1; margin-top: 12px; }
  .road { position: relative; height: 26px; }
  .road::before { content: ''; position: absolute; top: 11px; right: 0; left: 0; height: 4px; border-radius: 2px; background: var(--rule); }
  .road-base, .road-pin { position: absolute; top: 13px; left: calc(var(--base, 0) * 100%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; }
  .road-base { border: 2px solid var(--mist); background: var(--dusk); }
  .road-pin { left: calc(var(--at, 0) * 100%); background: var(--hue, var(--violet)); box-shadow: 0 0 0 3px var(--dusk), 0 0 16px var(--hue, var(--violet)); transition: left .5s var(--ease); }
  .road[data-off='true'] .road-pin { opacity: .5; }
  .road-ends { display: flex; justify-content: space-between; color: var(--mist); font-size: 13px; }
  .result.is-next { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 18px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule); }
  .result.is-next .result-name { flex: 0 0 100%; font-size: 15px; }
  .result.is-next .result-yours { margin: 0; font-size: 16px; white-space: nowrap; }
  .result.is-next .result-yours b { display: inline; margin: 0 8px 0 0; font-size: 28px; letter-spacing: -.03em; }
  .result.is-next .result-base { margin: 0; font-size: 15px; }
  .whatif-why { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 17px; }
  .asks { flex-wrap: wrap; margin: 12px 0 0; padding: 0 0 14px; overflow: visible; }
  .console .asks { padding: 0; }
  .more-asks .asks { padding-bottom: 14px; }
}
/* The gauge's own labels need a panel wide enough to keep them readable. */
@media (min-width: 1200px) { .gauge-name { display: inline; } }
@media (prefers-reduced-motion: reduce) {
  .gauge-fill, .gauge-needle, .road-pin, .squares i { transition: none; }
}

/* The field of models */
.field .asks { margin-top: clamp(20px, 3vw, 32px); }
.chip-count { color: var(--mist); font-size: 13px; font-variant-numeric: tabular-nums; }
.chip[aria-pressed='true'] .chip-count { color: var(--night); }
.chip[data-lab]::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--hue); }
.chip[data-lab][aria-pressed='true']::before { box-shadow: 0 0 0 2px var(--night); }
.field-svg { display: block; width: 100%; height: auto; overflow: visible; }
.field-svg text { font-family: inherit; }
.field-svg [hidden] { display: none; }
.model { fill: var(--span); stroke: var(--night); stroke-width: 1; }
.model.is-openai { fill: var(--lab-openai); }
.model.is-anthropic { fill: var(--lab-anthropic); }
.model.is-google { fill: var(--lab-google); }
.model.is-dim { fill-opacity: .16; stroke-opacity: 0; }
.model.is-lit { stroke: var(--chalk); stroke-width: 1.5; }
.record-line { fill: none; stroke: var(--chalk); stroke-width: 1.5; stroke-linejoin: round; stroke-opacity: .85; }
.record-line.is-dim { stroke-opacity: .25; }
.field-ring { fill: none; stroke: var(--chalk); stroke-width: 1.5; }
.key-lab { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--hue, var(--span)); }

/* Pick a future */
.pick { display: grid; gap: 10px; margin-top: clamp(22px, 3vw, 36px); }
.pick-title { font-size: clamp(20px, 2vw, 24px); font-weight: 700; letter-spacing: -.02em; }
.pick .asks { flex-wrap: wrap; margin: 0; padding: 0 0 6px; overflow: visible; }
.age { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 14px; max-width: 520px; --hue: var(--violet); --fill: 33%; }
.age label { font-size: 17px; font-weight: 640; }
.age output { color: var(--chalk); font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.age input { -webkit-appearance: none; appearance: none; grid-column: 1 / -1; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; }
.age input::-webkit-slider-runnable-track { height: 12px; border-radius: 6px; background: var(--rule); }
.age input::-moz-range-track { height: 12px; border-radius: 6px; background: var(--rule); }
.age input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -9px; border: 4px solid var(--night); border-radius: 50%; background: var(--chalk); box-shadow: 0 0 0 2px var(--chalk); }
.age input::-moz-range-thumb { width: 22px; height: 22px; border: 4px solid var(--night); border-radius: 50%; background: var(--chalk); box-shadow: 0 0 0 2px var(--chalk); }
.age input:focus-visible { outline: 2px solid var(--teal); outline-offset: 0; border-radius: 8px; }
.stops .legend { margin-top: 16px; }
.key-mark { flex: none; width: 9px; height: 9px; border: 1.5px solid var(--chalk); border-radius: 50%; }
.needs { grid-column: 1 / -1; margin-top: 2px; font-size: 15px; }
.needs summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--haze); cursor: pointer; list-style: none; text-decoration: underline; text-decoration-color: var(--edge); text-decoration-thickness: 1px; text-underline-offset: .22em; }
.needs summary::-webkit-details-marker { display: none; }
.needs summary::before { content: ''; width: 7px; height: 7px; margin-right: 11px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-1px) rotate(-45deg); }
.needs[open] summary::before { transform: translateY(-3px) rotate(45deg); }
.needs ul { display: grid; gap: 10px; margin: 4px 0 12px; }
.needs li { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; font-size: 16px; }
.needs li i { width: 16px; height: 16px; border: 2px solid var(--hue); border-radius: 50%; }
.needs li.is-met i { background: var(--hue); }
.needs-count { color: var(--haze); }
.needs-sign { max-width: 44em; margin: 6px 0 12px; color: var(--mist); line-height: 1.5; }
@media (min-width: 960px) {
  .field .asks { flex-wrap: wrap; margin-inline: 0; padding: 0 0 10px; overflow: visible; }
}
@media (prefers-reduced-motion: reduce) { .pin { transition: none; } }
@media (forced-colors: active) { .model, .key-lab, .stop-mark, .key-mark, .needs li i, .age input { forced-color-adjust: none; } }
