*, *::before, *::after { box-sizing: border-box; }
:root {
  color-scheme: dark;
  --bg: #000000; --fg: #F2F2F4; --fg2: #A0A0A8; --line: #232326; --off: #232326; --faint: #19191B;
  --acc: #F5A524; --on-acc: #1A1A1C; --dot: #F5A524;
}
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg); overflow-x: clip;
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2 { text-wrap: balance; letter-spacing: -.02em; line-height: 1.08; }
h1 { font-size: clamp(36px, 6.2vw, 68px); max-width: 12em; }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: 17px; font-weight: 600; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.lead { font-size: clamp(18px, 1.9vw, 21px); color: var(--fg2); max-width: 32em; }
.wrap { max-width: 1040px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; }
.nav .brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; text-decoration: none; }
.nav .brand img { border-radius: 23%; box-shadow: 0 0 0 1px #3A3A3F; }
.nav nav a { margin-left: 20px; font-size: 15px; color: var(--fg2); text-decoration: none; }
.nav nav a:hover { color: var(--fg); }
.cta { display: inline-block; background: var(--acc); color: var(--on-acc); font-weight: 600; padding: 14px 24px; border-radius: 99px; }
.stack { display: grid; gap: 18px; justify-items: start; }
.sec { padding-block: clamp(56px, 9vw, 120px); }
.row { display: grid; gap: 36px; align-items: center; }
.row > * { min-width: 0; }
@media (min-width: 800px) { .row { grid-template-columns: 1fr 1fr; gap: 72px; } .row.flip > :first-child { order: 2; } }

.hero { position: relative; height: min(100vh, 920px); height: min(100svh, 920px); min-height: 560px; touch-action: pan-y; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero .nav { position: relative; z-index: 1; }
.hero-text { position: absolute; inset: auto 0 clamp(28px, 6vh, 64px); pointer-events: none; }
.hero-text .hint { font-size: 13px; color: var(--fg2); }

.digits { display: grid; grid-template-columns: repeat(26, 1fr); }
.digits i, .hours i, .grid i { display: block; aspect-ratio: 1; border-radius: 50%; scale: .76; transition: background-color .2s ease-out; }
.digits i.dim { background: var(--faint); }
.digits i.on { background: var(--dot); }
.hours { display: flex; margin-top: 18px; }
.hours i { flex: 1; background: var(--off); }
.hours i.on { background: var(--dot); }
.times { display: flex; justify-content: space-between; font-size: 13px; color: var(--fg2); margin-top: 6px; }
.board .state { font-size: clamp(28px, 4vw, 34px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.board .togo { font-size: 20px; font-weight: 600; margin-top: 16px; }
.board .ends { font-size: 15px; color: var(--fg2); }
.grid { display: grid; grid-template-rows: repeat(7, auto); grid-auto-flow: column; grid-auto-columns: 1fr; }
.grid i { background: var(--off); transition-delay: calc(var(--w, 0) * 22ms); }
.grid i.l1 { background: color-mix(in oklab, var(--dot) 28%, var(--off)); }
.grid i.l2 { background: color-mix(in oklab, var(--dot) 55%, var(--off)); }
.grid i.l3 { background: color-mix(in oklab, var(--dot) 82%, var(--off)); }
.grid i.l4 { background: var(--dot); }
.grid i.none { background: none; }
.grid.wait i:not(.none) { background: var(--off); }
.year { display: grid; gap: 36px; }
.widget { width: 100%; max-width: 380px; justify-self: center; padding: 18px; border-radius: 28px; border: 1px solid var(--line); }
.widget small { display: block; font-size: 13px; color: var(--fg2); margin-bottom: 10px; }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 3vw, 44px); }
.phones figure { display: grid; gap: 14px; align-content: start; }
.phones figcaption { font-size: 15px; color: var(--fg2); }
.phones figcaption b { display: block; color: var(--fg); font-size: 17px; }
.phones img { display: block; width: 100%; height: auto; border-radius: clamp(16px, 4.2vw, 40px); border: 1px solid var(--line); }
@media (max-width: 620px) { .phones figcaption { font-size: 13px; } .phones figcaption b { font-size: 14px; } }
/* 53 columns make 6px dots on a phone, so it shows the last 26 weeks, as the app does */
@media (max-width: 620px) { .grid[data-grid="53"] i:nth-child(-n+189) { display: none; } }

.rest { display: grid; gap: clamp(48px, 7vw, 88px); padding-block: clamp(56px, 9vw, 120px); border-top: 1px solid var(--line); }
.rest .cols { display: grid; gap: 28px; }
.rest .two { display: grid; gap: 28px; }
@media (min-width: 800px) {
  .rest .cols { grid-template-columns: 1fr 2fr; gap: 56px; }
  .rest .two { grid-template-columns: 1fr 1fr; gap: 56px; }
}
.rest h2 { font-size: clamp(22px, 2.6vw, 28px); }
.rest h2 + p { margin-top: 12px; }
.rest h3 { margin-bottom: 6px; }
.rest h3:not(:first-child) { margin-top: 18px; }
.rest p, .rest li { color: var(--fg2); }
.rest p { max-width: 36em; }
.rest ul { padding-left: 20px; display: grid; gap: 6px; }
.rest p + p { margin-top: 10px; }
footer { border-top: 1px solid var(--line); padding-block: 20px 56px; color: var(--fg2); font-size: 15px; }
footer a { margin-right: 18px; }
footer p { margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .digits i, .hours i, .grid i { transition: none; } }

.nav nav a[aria-current] { color: var(--fg); }
a.cta { text-decoration: none; pointer-events: auto; }
.band { height: 176px; min-height: 0; }
.doc { padding-bottom: clamp(56px, 9vw, 120px); }
.doc-head { display: grid; gap: 14px; padding-block: clamp(8px, 3vw, 32px) clamp(40px, 6vw, 72px); }
.doc-head h1 { font-size: clamp(36px, 5.4vw, 56px); }
.doc .updated { font-size: 15px; color: var(--fg2); }
.doc .cols { display: grid; gap: 14px; padding-block: 28px; border-top: 1px solid var(--line); }
.doc .cols > * { min-width: 0; }
@media (min-width: 800px) { .doc .cols { grid-template-columns: 1fr 2fr; gap: 56px; padding-block: 36px; } }
.doc h2 { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.2; }
.doc .cols p, .doc .cols li { color: var(--fg2); max-width: 38em; }
.doc .cols div > * + * { margin-top: 12px; }
.doc .cols div > h3 + p { margin-top: 4px; }
.doc .cols div > h3:not(:first-child) { margin-top: 26px; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.doc strong { color: var(--fg); font-weight: 600; }
