/*
 * Timeslide — landing.
 * The page is one day. The sky behind it is the app's SkyPalette at the hour the scroll has
 * reached; type flips dark while the sky is bright. Unbounded for display, Hanken Grotesk for text,
 * Martian Mono for every clock; a headline's second voice is the display face in hairline weight.
 */

:root {
  --sky-top: #0A0F24;
  --sky-bottom: #1A2144;
  --stars-o: 1;
  --sun-x: 50vw;
  --sun-y: 110vh;
  --sun-c: #F4F1E6;
  --sun-o: 0;

  --ink: #F4F2EE;
  --ink-2: rgba(244, 242, 238, .72);
  --ink-3: rgba(244, 242, 238, .48);
  --line: rgba(244, 242, 238, .16);
  --glass: rgba(255, 255, 255, .07);
  --glass-2: rgba(255, 255, 255, .12);
  --accent: #FF7A4D;
  --accent-2: #FFB08A;

  --gutter: clamp(18px, 4.4vw, 72px);
  --max: 1380px;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --display: "Unbounded", "Hanken Grotesk", sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
/* daylight: the sky is bright, so type goes dark */
html.is-day {
  --ink: #0C1530;
  --ink-2: rgba(12, 21, 48, .74);
  --ink-3: rgba(12, 21, 48, .5);
  --line: rgba(12, 21, 48, .18);
  --glass: rgba(255, 255, 255, .34);
  --glass-2: rgba(255, 255, 255, .5);
  --accent: #D9420F;
  --accent-2: #C2410C;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: #0A0F24; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  transition: color .8s var(--ease);
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.qa__q { font: inherit; letter-spacing: inherit; }
::selection { background: var(--accent); color: #fff; }
/* the second voice of a headline: the same face, hairline weight, in the dawn colour */
em { font-style: normal; font-weight: 200; color: var(--accent-2); transition: color .8s var(--ease); }

/* line masks (see js: prepLines) */
[data-lines] .l { display: block; overflow: hidden; padding: .04em .06em .22em; margin: -.04em -.06em -.22em; }
[data-lines] .l > [data-inner] { display: inline-block; will-change: transform; }
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
.wi { display: inline-block; }

/* ---------- preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 10px; background: #0A0F24; color: #F4F2EE; }
html:not(.js) .preloader { display: none; }
.preloader__count { font-family: var(--mono); font-size: clamp(56px, 11vw, 150px); font-weight: 200; letter-spacing: -.06em; font-variant-numeric: tabular-nums; line-height: 1; }
.preloader__word { font-family: var(--sans); font-style: italic; font-size: 28px; opacity: .7; }

/* ---------- sky ---------- */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: linear-gradient(180deg, var(--sky-top), var(--sky-bottom)); }
.sky__sun {
  position: absolute; left: var(--sun-x); top: var(--sun-y); width: 13vmin; height: 13vmin; margin: -6.5vmin 0 0 -6.5vmin; border-radius: 50%;
  background: radial-gradient(circle, var(--sun-c) 0 34%, transparent 35%), radial-gradient(circle, color-mix(in srgb, var(--sun-c) 45%, transparent), transparent 70%);
  opacity: var(--sun-o); filter: blur(.4px);
}
.sky__stars {
  position: absolute; inset: 0; opacity: var(--stars-o); transition: opacity 1s;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 28% 42%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 44% 12%, #fff, transparent), radial-gradient(1px 1px at 63% 30%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 78% 8%, #fff, transparent), radial-gradient(1px 1px at 90% 36%, #fff, transparent),
    radial-gradient(1px 1px at 8% 58%, #fff, transparent), radial-gradient(1.3px 1.3px at 52% 54%, #fff, transparent),
    radial-gradient(1px 1px at 72% 62%, #fff, transparent), radial-gradient(1px 1px at 35% 70%, #fff, transparent);
  background-size: 560px 480px; animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { filter: brightness(.6); } to { filter: brightness(1.2); } }
.sky__grain {
  position: absolute; inset: -50%; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- HUD ---------- */
.hud__clock {
  position: fixed; z-index: 40; left: var(--gutter); bottom: 24px; display: grid; gap: 2px; pointer-events: none;
}
.hud__clock b { font-family: var(--mono); font-weight: 300; font-size: 34px; letter-spacing: -.05em; font-variant-numeric: tabular-nums; line-height: 1; }
.hud__clock span { font-family: var(--sans); font-style: italic; font-size: 17px; color: var(--ink-2); }
.hud__rail { position: fixed; z-index: 40; right: 22px; top: 18vh; bottom: 18vh; width: 2px; background: var(--line); pointer-events: none; }
.hud__rail span { position: absolute; right: 12px; top: calc(var(--p) * 100%); transform: translateY(-50%); font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.hud__knob { position: absolute; left: 50%; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 25%, transparent); }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 18px; left: var(--gutter); right: var(--gutter);
  display: flex; align-items: center; gap: 22px; height: 52px; padding: 0 6px 0 14px; border-radius: 18px;
  transition: background .5s var(--ease), box-shadow .5s var(--ease);
}
.nav.is-scrolled { background: color-mix(in srgb, var(--sky-top) 55%, transparent); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); box-shadow: 0 0 0 1px var(--line) inset; }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.02em; font-size: 18px; }
.nav__brand img { border-radius: 8px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { display: flex; align-items: baseline; gap: 6px; padding: 8px 12px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); transition: color .3s, background .3s; }
.nav__links a i { font-family: var(--mono); font-style: normal; font-size: 11px; color: var(--ink-3); }
.nav__links a:hover { color: var(--ink); background: var(--glass); }
/* the chapter on screen */
.nav__links a.is-on { color: var(--ink); background: var(--glass-2); }
.nav__cta { height: 40px; display: grid; place-items: center; padding: 0 18px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 600; font-size: 14.5px; transition: background .8s var(--ease), transform .3s; }
.nav__cta:hover { transform: translateY(-1px); }

/* ---------- shared ---------- */
.chapter { position: relative; width: min(100% - 2 * var(--gutter), var(--max)); margin: 0 auto; padding: 18vh 0; }
.stamp { display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px; font-family: var(--sans); font-style: italic; font-size: 20px; color: var(--ink-2); }
.stamp b { font-family: var(--mono); font-style: normal; font-weight: 400; font-size: 14px; letter-spacing: .04em; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink); }
.display { font-family: var(--display); font-size: clamp(40px, 6.2vw, 104px); line-height: .98; letter-spacing: -.045em; font-weight: 500; max-width: 100%; }
.display em { letter-spacing: -.04em; }
.chapter__text { max-width: 46ch; margin-top: 32px; font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); }
.chapter__text--center { margin-left: auto; margin-right: auto; text-align: center; }

.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.stores--center { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 22px 0 16px; border-radius: 16px;
  background: var(--glass); box-shadow: 0 0 0 1px var(--line) inset; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background .3s, transform .3s var(--ease);
}
.store:hover { background: var(--glass-2); transform: translateY(-2px); }
.store svg { width: 22px; height: 24px; flex: none; }
.store span { display: grid; line-height: 1.1; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.store small { font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.store--lg { height: 70px; padding: 0 28px 0 22px; }
.store--lg span { font-size: 21px; }

/* ---------- 00:00 hero ---------- */
.hero { min-height: 100svh; padding: 140px 0 12vh; display: grid; align-content: center; }
.hero__title { font-family: var(--display); font-size: clamp(52px, min(9vw, 16svh), 168px); line-height: .92; letter-spacing: -.06em; font-weight: 600; margin-left: -.05em; }
.hero__title .l, .final__title .l, .display .l { white-space: nowrap; }
.hero__title .l:last-child { padding-left: .9em; }
.hero__title em { letter-spacing: -.05em; }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; margin-top: 40px; }
.hero__sub { max-width: 38ch; font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); }

/* the real app, leaning into the night on the right */
.hero__phone { position: absolute; right: 2%; top: 50%; width: clamp(220px, 21vw, 300px); transform: translateY(-46%) rotate(6deg); }
.hero__phone .dev__phone { width: 100%; }
.hero__title, .hero__row { position: relative; z-index: 1; }
.hero__row { max-width: 64%; }

/* ---------- 06:00 slide ---------- */
.slide { width: auto; padding: 14vh 0; }
.slide__inner { width: min(100% - 2 * var(--gutter), var(--max)); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6vw; padding-top: 60px; }
.slide__steps { display: grid; gap: 14px; margin-top: 40px; counter-reset: s; }
.slide__steps li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; font-size: 18px; color: var(--ink-3); transition: color .5s var(--ease); }
.slide__steps li b { font-family: var(--mono); font-weight: 400; font-size: 13px; padding-top: 4px; }
.slide__steps li.is-on { color: var(--ink); }
.slide__steps li.is-on b { color: var(--accent-2); }
.slide__device { display: grid; justify-items: center; gap: 22px; }
.slide__offset { font-family: var(--mono); font-weight: 200; font-size: clamp(44px, 6vw, 84px); letter-spacing: -.06em; color: var(--accent-2); line-height: 1; font-variant-numeric: tabular-nums; }
.cards { display: grid; gap: 12px; width: min(460px, 100%); }
.tcard { position: relative; height: clamp(100px, 14svh, 124px); border-radius: 30px; overflow: hidden; color: #fff; isolation: isolate; box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 26px 50px -30px rgba(0,0,0,.8); }
.tcard__sky { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, var(--t, #0A0F24), var(--b, #1A2144)); }
.tcard__stars { position: absolute; inset: 0; z-index: -1; opacity: var(--s, 1); transition: opacity .4s;
  background-image: radial-gradient(1px 1px at 18% 30%, #fff, transparent), radial-gradient(1.2px 1.2px at 42% 18%, #fff, transparent), radial-gradient(1px 1px at 66% 40%, #fff, transparent), radial-gradient(1px 1px at 84% 22%, #fff, transparent), radial-gradient(1.3px 1.3px at 30% 64%, #fff, transparent); }
.tcard__top { position: absolute; left: 22px; top: 18px; display: grid; gap: 2px; }
.tcard__top b { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.tcard__top small { font-family: var(--mono); font-size: 12px; opacity: .7; }
.tcard__time { position: absolute; right: 22px; bottom: 14px; display: grid; justify-items: end; }
.tcard__time time { font-family: var(--display); font-size: clamp(38px, 5svh, 48px); font-weight: 500; letter-spacing: -.05em; font-variant-numeric: tabular-nums; line-height: 1; }
.tcard__delta { font-family: var(--mono); font-size: 12px; opacity: .8; margin-top: 4px; }
.tcard__bow { position: absolute; left: 38%; width: 30%; top: 34%; height: 44%; overflow: visible; }
.tcard__bow path { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 1.4; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.tcard__knob { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.35); display: grid; place-items: center; }
.tcard__knob svg { width: 16px; height: 10px; fill: none; stroke: #FF7A4D; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 09:00 overlap ---------- */
.overlap__board { position: relative; margin-top: 7vh; padding: 28px 0; }
.overlap__axis { display: flex; justify-content: space-between; margin-left: 150px; margin-bottom: 14px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.overlap__row { display: grid; grid-template-columns: 150px 1fr; align-items: center; height: 64px; }
.overlap__row b { font-size: clamp(17px, 1.6vw, 22px); font-weight: 500; }
.overlap__track { display: grid; grid-template-columns: repeat(24, 1fr); gap: 4px; height: 100%; padding: 14px 0; }
/* the large widget's day strip: one cell per hour of the home city's day, lit by this city's hour */
.overlap__track i { border-radius: 6px; background: var(--ink); opacity: .08; }
.overlap__track i.is-edge { opacity: .3; }
.overlap__track i.is-work { opacity: .78; }
.overlap__now { position: absolute; top: 30px; bottom: -8px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); }
.overlap__window {
  position: absolute; top: 34px; bottom: 0; border-radius: 14px; pointer-events: none;
  background: color-mix(in srgb, var(--accent) 22%, transparent); box-shadow: 0 0 0 1.5px var(--accent) inset, 0 0 60px -10px var(--accent);
}
.overlap__window span { position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); text-align: center; font-family: var(--sans); font-style: italic; font-size: 20px; white-space: nowrap; color: var(--accent-2); }

/* ---------- 12:00 weather ---------- */
.noon__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6vw; }
.rain-card { position: relative; aspect-ratio: 1 / 1.05; border-radius: 40px; overflow: hidden; color: #fff; padding: 30px; display: grid; grid-template-rows: auto 1fr auto; background: linear-gradient(180deg, #5E6D86, #A9B6C8); box-shadow: 0 50px 90px -50px rgba(0,0,0,.8); isolation: isolate; }
.rain-card__glass { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.rain-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.rain-card__top > span:first-child { display: grid; gap: 2px; }
.rain-card__top b { font-size: 22px; font-weight: 600; }
.rain-card__top small { font-family: var(--mono); font-size: 12px; opacity: .75; }
.rain-card__chip { display: inline-flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 600; }
.rain-card__chip svg { width: 26px; height: 26px; }
.rain-card__time { font-family: var(--display); align-self: center; font-size: clamp(80px, 9vw, 140px); font-weight: 500; letter-spacing: -.06em; line-height: 1; }
.rain-card__hours { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.rain-card__hours div { display: grid; justify-items: center; gap: 6px; padding: 10px 0; border-radius: 14px; font-family: var(--mono); font-size: 12px; background: rgba(255,255,255,.1); transition: background .4s, transform .4s var(--ease); }
.rain-card__hours div.is-on { background: rgba(255,255,255,.3); transform: translateY(-4px); }
.rain-card__hours svg { width: 26px; height: 26px; }

/* ---------- 15:00 themes ---------- */
.themes .display { text-align: center; }
.themes .stamp { justify-content: center; }
.deck { position: relative; height: clamp(320px, 42vw, 520px); margin-top: 6vh; perspective: 1400px; }
.deck__card {
  position: absolute; left: 50%; top: 50%; width: clamp(220px, 24vw, 340px); aspect-ratio: 3 / 2.1; margin: 0; border-radius: 30px;
  padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between; color: #fff;
  transform: translate(-50%, -50%); box-shadow: 0 40px 70px -40px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.1) inset;
}
.deck__card b { font-size: 18px; font-weight: 600; }
.deck__card span { font-family: var(--display); align-self: flex-end; font-size: clamp(44px, 4.6vw, 70px); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.deck__card--sky { background: linear-gradient(180deg, #4A8FDC, #CFE3FF); }
.deck__card--vblack { background: radial-gradient(120% 140% at 15% 10%, #F08C6C, transparent 55%), radial-gradient(120% 140% at 90% 100%, #C2566A, transparent 60%), radial-gradient(90% 90% at 60% 40%, #6B4BB8, transparent 60%), #08080C; }
.deck__card--vlight { background: radial-gradient(120% 140% at 10% 0%, #FFB38A, transparent 55%), radial-gradient(120% 140% at 100% 100%, #E68FC1, transparent 60%), #F3EEF0; }
.deck__card--dark { background: linear-gradient(180deg, #232327, #141417); }
.deck__card--light { background: linear-gradient(180deg, #FFFFFF, #ECECEC); color: #141414; }

/* ---------- 18:00 everywhere ---------- */
.everywhere .display, .everywhere .stamp { text-align: center; justify-content: center; }
.constellation { position: relative; height: clamp(720px, 72vw, 900px); margin-top: 4vh; }
.constellation__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.constellation__lines path { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.dev { position: absolute; display: grid; justify-items: center; gap: 26px; transform: translate(-50%, -50%); }
.dev figcaption { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-2); white-space: nowrap; }
.dev--phone { left: 50%; top: 52%; }
.dev--watch { left: 13%; top: 20%; }
.dev--mac { left: 85%; top: 20%; }
.dev--widget { left: 15%; top: 80%; }
.dev--qr { left: 85%; top: 80%; }
.dev__phone { width: clamp(200px, 19vw, 280px); aspect-ratio: 720 / 1565; padding: 8px; border-radius: 44px; background: linear-gradient(145deg, #2a2d3e, #05060b); box-shadow: 0 0 0 1.5px #3a3e52 inset, 0 60px 90px -40px rgba(0,0,0,.9); }
.dev__phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }
.dev__watch { position: relative; width: clamp(120px, 11vw, 160px); aspect-ratio: 416 / 496; padding: 8px; border-radius: 40px; background: linear-gradient(145deg, #3a3d4d, #0b0c12); box-shadow: 0 0 0 1.5px #4a4e62 inset, 0 30px 50px -24px rgba(0,0,0,.9); }
.dev__watch img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; }
.dev__watch i { position: absolute; right: -8px; top: 28%; width: 9px; height: 30px; border-radius: 4px; background: repeating-linear-gradient(180deg, #8d90a0 0 2px, #4b4e5e 2px 4px); }
.dev__mac { width: clamp(220px, 21vw, 300px); border-radius: 14px; overflow: hidden; background: rgba(20, 22, 34, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 30px 60px -30px rgba(0,0,0,.9); color: #fff; }
.dev__menubar { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px; background: rgba(255,255,255,.1); font-family: var(--mono); font-size: 11px; }
.dev__menubar span { width: 12px; height: 8px; border-radius: 2px; background: rgba(255,255,255,.3); }
.dev__mark { width: 12px; height: 12px; margin-left: auto; border-radius: 50%; border: 1.6px solid #fff; background: linear-gradient(90deg, #fff 50%, transparent 50%); }
.dev__popover { display: grid; gap: 6px; padding: 10px; }
.mini { display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 0 12px; border-radius: 12px; background: linear-gradient(180deg, var(--t, #0E1330), var(--b, #1D2148)); font-size: 13px; font-weight: 500; }
.mini time { font-size: 20px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.dev__widget { width: clamp(220px, 20vw, 280px); padding: 16px; border-radius: 26px; color: #fff; background: linear-gradient(180deg, var(--t, #4F95E2), var(--b, #B9DCFF)); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.12) inset; }
.dev__widget-top { display: flex; justify-content: space-between; align-items: baseline; }
.dev__widget-top b { font-size: 15px; font-weight: 600; }
.dev__widget-top time { font-family: var(--display); font-size: 30px; font-weight: 600; letter-spacing: -.05em; }
.dev__widget-hours { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 12px; }
.dev__widget-hours span { display: grid; justify-items: center; gap: 2px; padding: 7px 0; border-radius: 10px; background: rgba(255,255,255,.14); font-size: 16px; }
.dev__widget-hours b { font-size: 12px; font-weight: 600; }
.dev__qr { width: clamp(110px, 10vw, 140px); aspect-ratio: 1; padding: 10px; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.dev__qr img { width: 100%; height: 100%; image-rendering: pixelated; }

/* ---------- 21:00 free ---------- */
.zeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.zeros li { display: grid; gap: 4px; padding: 30px 0 34px; border-bottom: 1px solid var(--line); }
.zeros li:not(:nth-child(3n+1)) { padding-left: 4vw; border-left: 1px solid var(--line); }
.zeros b { font-family: var(--display); font-weight: 200; font-size: clamp(80px, 13vw, 210px); letter-spacing: -.08em; line-height: .9; }
.zeros span { font-family: var(--sans); font-style: italic; font-size: clamp(22px, 2.2vw, 32px); color: var(--ink-2); }
.zeros__wide { grid-column: span 2; }
.zeros li.zeros__wide + li { border-left: 1px solid var(--line); }

/* ---------- 23:00 faq ---------- */
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--display); font-size: clamp(19px, 2vw, 30px); font-weight: 400; letter-spacing: -.035em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line) inset; transition: transform .6s var(--ease), background .3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.6px; margin: -.8px 0 0 -7px; background: var(--ink); transition: transform .6s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i { background: var(--accent); transform: rotate(180deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 0 28px; max-width: 62ch; color: var(--ink-2); font-size: 18px; }

/* ---------- 23:59 final ---------- */
.final { min-height: 100svh; display: grid; align-content: center; justify-items: center; text-align: center; gap: 28px; }
.final .stamp { justify-content: center; margin-bottom: 0; }
.final__title { font-family: var(--display); font-size: clamp(52px, min(9.5vw, 17svh), 176px); line-height: .92; letter-spacing: -.06em; font-weight: 600; }

.final__sub { max-width: 40ch; color: var(--ink-2); font-size: 19px; }

/* ---------- footer ---------- */
.footer { position: relative; background: rgba(4, 6, 16, .82); color: #F4F2EE; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.footer__inner { width: min(100% - 2 * var(--gutter), var(--max)); margin: 0 auto; padding: 72px 0 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand { display: grid; gap: 18px; align-content: start; max-width: 380px; }
.footer__brand img { border-radius: 10px; }
.footer__brand p { color: rgba(244,242,238,.7); }
.footer__links { display: grid; gap: 10px; align-content: start; }
.footer__links a { color: rgba(244,242,238,.7); transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__credit { display: grid; gap: 6px; align-content: start; justify-items: end; text-align: right; }
.footer__credit span { font-family: var(--sans); font-style: italic; font-size: 20px; color: rgba(244,242,238,.6); }
.footer__agency { font-family: var(--display); white-space: nowrap; font-size: clamp(18px, 1.6vw, 26px); font-weight: 500; letter-spacing: -.04em; background: linear-gradient(90deg, #FFB08A, #FF7A4D 50%, #C2566A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__bottom { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px 30px; padding-top: 22px; border-top: 1px solid rgba(244,242,238,.12); font-size: 13px; color: rgba(244,242,238,.5); }
.footer__bottom > span:last-child { text-align: right; }
.footer__langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; font-size: 13px; }
.footer__langs a { padding: 5px 10px; border-radius: 999px; }
.footer__langs a[aria-current="page"] { background: rgba(255,255,255,.08); }
.footer__lang { color: rgba(244,242,238,.5); }
.footer__lang:hover, .footer__lang[aria-current="page"] { color: #fff; }

/* ---------- language menu + hint ---------- */
.lang-menu { position: relative; }
.lang-menu__btn { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 12px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); box-shadow: 0 0 0 1px var(--line) inset; }
.lang-menu__btn::-webkit-details-marker { display: none; }
.lang-menu__btn:hover, .lang-menu[open] .lang-menu__btn { background: var(--glass); color: var(--ink); }
.lang-menu__btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.lang-menu__list { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 180px; display: grid; padding: 8px; border-radius: 16px; background: rgba(14, 18, 38, .94); color: #F4F2EE; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 24px 50px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.1) inset; }
.lang-menu__item { padding: 9px 12px; border-radius: 10px; font-size: 15px; color: rgba(244,242,238,.75); }
.lang-menu__item:hover { background: rgba(255,255,255,.07); color: #fff; }
.lang-menu__item[aria-current="page"] { color: #fff; background: rgba(255, 122, 77, .2); }
.lang-hint { position: fixed; z-index: 70; left: 0; right: 0; bottom: 24px; margin: 0 auto; width: fit-content; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 18px; border-radius: 16px; background: rgba(14, 18, 38, .94); color: #F4F2EE; box-shadow: 0 20px 44px -18px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.1) inset; font-size: 14.5px; }
.lang-hint__go { padding: 9px 14px; border-radius: 10px; background: #FF7A4D; color: #fff; font-weight: 600; }
.lang-hint__x { width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: rgba(244,242,238,.6); font-size: 22px; cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .hero__row { grid-template-columns: 1fr; max-width: none; }
  .hero__phone { position: relative; right: auto; top: auto; margin: 8vh auto 0; transform: rotate(3deg); }
  .slide__inner { grid-template-columns: 1fr; align-content: center; gap: 30px; }
  .slide__steps { margin-top: 20px; }
  .display { font-size: clamp(44px, 11vw, 96px); }
  .noon__grid { grid-template-columns: 1fr; }
  .rain-card { max-width: 520px; }
  .constellation { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 20px; justify-items: center; }
  .constellation__lines { display: none; }
  .dev { position: static; transform: none; }
  .dev--phone { grid-column: 1 / -1; order: -1; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__credit { justify-items: start; text-align: left; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { top: 10px; left: 10px; right: 10px; }
  .hud__rail { display: none; }
  .hud__clock { left: 16px; bottom: 14px; }
  .hud__clock b { font-size: 24px; }
  .hero__title .l:last-child { padding-left: .4em; }
  .overlap__axis { margin-left: 92px; }
  .overlap__row { grid-template-columns: 92px 1fr; }
  .zeros { grid-template-columns: 1fr 1fr; }
  .zeros li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .zeros li:nth-child(even) { padding-left: 5vw; border-left: 1px solid var(--line); }
  .zeros__wide { grid-column: span 2; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { grid-template-columns: 1fr; }
  .footer__bottom > span:last-child { text-align: left; }
  .footer__langs { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* daylight contrast for the morning board */

/* real captures only: the slide video, the Forecast widget and the theme cards */
.slide__device { justify-items: center; }
.slide__phone { width: min(330px, 70vw); }
.slide__phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 40px; display: block; aspect-ratio: 720 / 1564; }
.noon__widget { max-width: 520px; justify-self: center; filter: drop-shadow(0 40px 60px rgba(0,0,0,.45)); }
.noon__widget { position: relative; }
.noon__widget img { width: 100%; height: auto; }
/* raindrops on the glass, over the widget and clipped to its corners */
.noon__drops { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 6.04% / 5.76%; pointer-events: none; }
.deck__card { position: absolute; left: 50%; top: 50%; width: clamp(240px, 24vw, 340px); margin: 0; padding: 0; background: none; box-shadow: none; display: grid; gap: 22px; justify-items: center; }
.deck__card img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); }
.deck__card figcaption { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.dev__mac { width: clamp(210px, 17vw, 260px); background: none; box-shadow: none; overflow: visible; }
.dev__mac img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 30px 60px -30px rgba(0,0,0,.9); }
.dev__widget { width: clamp(260px, 24vw, 340px); padding: 0; background: none; box-shadow: none; }
.dev__widget img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }

/* who it's for, and the problem the slide answers */
.hero__who { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; max-width: 64%; }
.hero__who li { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2); box-shadow: 0 0 0 1px var(--line) inset; background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero__row { margin-top: 22px; }
.slide__lead { max-width: 40ch; margin-top: 26px; font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); }
@media (max-width: 1080px) { .hero__who { max-width: none; } }

.free__pro { margin-top: 36px; max-width: 30ch; font-family: var(--display); font-weight: 300; font-size: clamp(22px, 2.4vw, 36px); line-height: 1.2; letter-spacing: -.03em; }
