/* Hallmark · shape: Workbench · genre: editorial · theme: Ink (deal 2/3, seed local-hour-iphone-apple-0a69·7cb9f486·2026-10-31·r0) · job: try · draw: 0c0168
 * hero: Stage · nav: slab · footer: statement · imagery: the product (the dial built live, one simulator capture) · signature: the 24-hour sky dial, turnable, naming real cities at that hour now · ink: paper
 * axes: light/grotesk-sans/chromatic-teal · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P, a calm notice page could read as plain; let the dial carry all the colour so the restraint reads as a choice */
/* waive 22 · ink and greys at zero chroma · the theme prints in plain black so the sky dial is the only colour */
/* waive 2a · the hero sky is the app's own Horizon SkyPalette (App/Views/HorizonSky.swift), shown as the product, never as page decoration */
/* 2026-11-13 · refreshed to the app's Horizon redesign: live sky hero, system type, raised tiles */
@import url("./tokens.css");
@import url("./base.css");

:root {
  /* the app's sky, noon at the top, running clockwise (App/Views/ClockView.swift, SunDial.sky) */
  --sky-noon: oklch(78% 0.09 205);
  --sky-gold: oklch(87% 0.12 80);
  --sky-sunset: oklch(68% 0.16 35);
  --sky-dusk: oklch(45% 0.12 320);
  --sky-night: oklch(28% 0.09 275);
  --sky-midnight: oklch(16% 0.06 270);
  --sky-sunrise: oklch(72% 0.14 30);
  --sky-morning: oklch(89% 0.1 85);
  --sky-day: oklch(84% 0.07 200);
  --sky-sun: oklch(62% 0.15 65);
  --sky-moon: oklch(45% 0.08 275);
  --dot-on: oklch(99.5% 0.003 100);
  --dot-off: oklch(99.5% 0.003 100 / 0.55);
  --nav-h: 64px;
  /* Horizon (App/Views/HorizonSky.swift): the dusk sky at 7 PM, and the Earth */
  --sky-dusk-top: #0c0d26; --sky-dusk-mid: #423266; --sky-dusk-bot: #c7a0aa;
  --earth: #0b0f25;
}

/* chrome */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-paper); color: var(--color-ink); border-radius: 8px; }
.skip:focus-visible { top: var(--space-sm); }

.slab { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-ink); color: var(--color-paper); }
.slab__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--nav-h); }
.wordmark { display: inline-flex; white-space: nowrap; align-items: center; gap: var(--space-sm); font-weight: 700; font-size: var(--text-lg); letter-spacing: -0.02em; text-decoration: none; }
.wordmark img { width: 32px; height: 32px; border-radius: 8px; }
.slab nav ul { display: flex; align-items: center; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.slab nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); font-weight: 600; text-decoration: none; transition: color var(--dur-micro) var(--ease-out); }
.slab nav a:hover { color: var(--color-accent-soft); }
.slab a:focus-visible { outline-color: var(--color-accent-soft); }
.slab .store-link { position: relative; display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); white-space: nowrap; transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-short) var(--ease-spring); }
/* Drawn at 36px, tappable at 44px. */
.slab .store-link::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; }
.slab .store-link:active { transform: scale(0.96); transition-duration: var(--dur-micro); transition-timing-function: var(--ease-out); }
.slab nav .store-link:hover { color: var(--color-ink); background: var(--color-paper-3); }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font: 600 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-spring); }
.btn:hover { background: var(--color-paper-3); border-color: var(--color-muted); }
.btn:active { transform: scale(0.97); transition-duration: var(--dur-micro); transition-timing-function: var(--ease-out); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.btn--primary:hover { background: var(--color-ink-2); border-color: var(--color-ink-2); }
.btn--light { background: #fff; border-color: #fff; color: oklch(16% 0 0); border-radius: var(--radius-pill); }
.btn--light:hover { background: oklch(94% 0 0); border-color: oklch(94% 0 0); }
.btn--glass { background: rgb(255 255 255 / 0.12); border-color: rgb(255 255 255 / 0.22); color: #fff; }
.btn--glass:hover { background: rgb(255 255 255 / 0.2); border-color: rgb(255 255 255 / 0.35); }
/* Apple's official badge: at least 40px tall, with clear space of a quarter of its height around it */
.store-badge { display: inline-flex; border-radius: 9px; transition: transform var(--dur-short) var(--ease-spring); }
.store-badge:active { transform: scale(0.96); transition-duration: var(--dur-micro); transition-timing-function: var(--ease-out); }
.store-badge img { height: 48px; width: auto; }
.store-badge:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.btn--icon { width: 48px; padding: 0; }
.btn--icon svg { width: 20px; height: 20px; }

.tag { display: inline-flex; align-items: center; min-height: 28px; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 600; line-height: 1.2; background: var(--color-paper-3); white-space: nowrap; }
.tag--in { background: var(--color-accent-soft); color: var(--color-accent-soft-ink); }
.tag--glass { background: rgb(255 255 255 / 0.12); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18); }
.tag--out { background: transparent; box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule); color: var(--color-muted); }

a:not([class]) { font-weight: 600; transition: text-decoration-color var(--dur-micro) var(--ease-out); }
a:not([class]):hover { text-decoration-color: var(--color-accent); }

/* hero: the Horizon sky from the app's Clock tab, drawn live by assets/horizon.js */
.horizon { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--earth); --ink-sky: #fff; }
.horizon.is-bright { --ink-sky: oklch(16% 0 0); }
.horizon__sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
/* Without the script, a still dusk sky over the Earth. */
.horizon__air { position: relative; background: linear-gradient(var(--sky-dusk-top), var(--sky-dusk-mid) 60%, var(--sky-dusk-bot)); color: var(--ink-sky); transition: color var(--dur-long) var(--ease-out); user-select: none; -webkit-user-select: none; }
.horizon.has-sky .horizon__air { background: none; cursor: grab; }
.horizon.is-dragging .horizon__air { cursor: grabbing; }
.horizon__air-row { position: relative; display: grid; align-content: start; gap: var(--space-lg); min-height: clamp(520px, 66svh, 700px); padding-block: var(--space-2xl) 240px; padding-right: calc(var(--gutter) + 96px); }

.readout { display: grid; gap: var(--space-2xs); }
.readout__mood { font-size: var(--text-lg); font-weight: 600; opacity: 0.75; }
.readout__city { font-family: var(--font-display); font-size: clamp(3.5rem, 9vw + 0.5rem, 8.5rem); font-weight: 700; letter-spacing: -0.035em; line-height: 0.98; overflow-wrap: anywhere; text-wrap: balance; }
.readout__line { font-size: var(--text-lead); font-weight: 500; opacity: 0.75; font-variant-numeric: tabular-nums; }

.drag { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); }
.drag__pill, .orb-btn { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 48px; padding: 0 var(--space-lg); border: 1px solid rgb(255 255 255 / 0.28); border-radius: var(--radius-pill); background: rgb(255 255 255 / 0.16); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); color: inherit; font: 500 var(--text-md)/1 var(--font-body); }
.drag__pill { cursor: ns-resize; touch-action: none; }
.drag__pill svg { width: 20px; height: 20px; flex: none; }
.orb-btn { justify-content: center; width: 48px; padding: 0; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-spring); }
.orb-btn--text { width: auto; padding: 0 var(--space-lg); font-weight: 600; }
.orb-btn svg { width: 20px; height: 20px; }
.orb-btn:hover { background: rgb(255 255 255 / 0.28); }
.orb-btn:active { transform: scale(0.92); transition-duration: var(--dur-micro); transition-timing-function: var(--ease-out); }
.is-bright .drag__pill, .is-bright .orb-btn { border-color: rgb(0 0 0 / 0.1); background: rgb(255 255 255 / 0.4); }
.horizon :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* The ruler: midnight at the top, the hours running down to the horizon. */
.ruler { position: absolute; top: 200px; bottom: var(--space-md); right: var(--gutter); width: 96px; touch-action: none; cursor: ns-resize; }
.ruler ul { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.ruler li { position: absolute; right: 0; top: calc(var(--i) / 24 * 100%); width: 14px; height: 2px; border-radius: 1px; background: currentColor; opacity: 0.55; }
.ruler li.is-major { width: 24px; opacity: 0.9; }
.ruler__pill { position: absolute; top: -18px; right: 34px; display: grid; place-items: center; min-height: 36px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: #fff; color: oklch(16% 0 0); font-weight: 700; font-size: var(--text-md); white-space: nowrap; font-variant-numeric: tabular-nums; box-shadow: 0 4px 16px rgb(0 0 0 / 0.18); will-change: transform; transition: scale var(--dur-short) var(--ease-spring), box-shadow var(--dur-short) var(--ease-out); }
.horizon.is-dragging .ruler__pill { scale: 1.1; box-shadow: 0 8px 24px rgb(0 0 0 / 0.26); transition-duration: var(--dur-micro); }

.horizon__ground { position: relative; padding-block: 104px var(--space-3xl); }
.horizon__ground-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: start; }
.pitch { display: grid; gap: var(--space-lg); justify-items: start; }
.pitch h1 { font-size: var(--text-display-s); max-width: 13ch; }
.pitch .lead { color: rgb(255 255 255 / 0.78); max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-top: var(--space-xs); }

/* The cities at that hour, on glass like the app's station card. */
.tuned { padding: var(--space-lg); border: 1px solid rgb(255 255 255 / 0.14); border-radius: 28px; background: rgb(255 255 255 / 0.07); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.tuned__label { font-size: var(--text-sm); font-weight: 600; color: rgb(255 255 255 / 0.65); margin-bottom: var(--space-2xs); }
.tuned ol { margin: 0; padding: 0; list-style: none; }
.tuned li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 0 var(--space-md); align-items: center; padding-block: var(--space-sm); border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.tuned li:last-child { border-bottom: 0; }
.tuned li::before { content: ""; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(160deg, oklch(80% 0.15 160), oklch(66% 0.15 165)) center / cover; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.15); }
.tuned li:first-child::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='22' cy='22' r='2.6' fill='white'/%3E%3Cpath d='M16.5 16.5a7.8 7.8 0 0 0 0 11M27.5 16.5a7.8 7.8 0 0 1 0 11M13 13a12.7 12.7 0 0 0 0 18M31 13a12.7 12.7 0 0 1 0 18'/%3E%3C/svg%3E") center / 44px no-repeat, linear-gradient(160deg, oklch(80% 0.15 160), oklch(66% 0.15 165)); }
.tuned li:not(:first-child)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='22' cy='22' r='2.6' fill='white'/%3E%3Cpath d='M16.5 16.5a7.8 7.8 0 0 0 0 11M27.5 16.5a7.8 7.8 0 0 1 0 11M13 13a12.7 12.7 0 0 0 0 18M31 13a12.7 12.7 0 0 1 0 18'/%3E%3C/svg%3E") center / 44px no-repeat, rgb(255 255 255 / 0.1); opacity: 0.7; }
.tuned b { grid-column: 2; font-weight: 600; font-size: var(--text-lg); overflow-wrap: anywhere; line-height: 1.25; }
.tuned small { grid-column: 2; font-size: var(--text-sm); color: rgb(255 255 255 / 0.6); }
.tuned time { grid-column: 3; grid-row: 1 / span 2; font-size: var(--text-sm); font-variant-numeric: tabular-nums; color: rgb(255 255 255 / 0.8); }
.tuned li:only-child { grid-template-columns: minmax(0, 1fr); }
.tuned li:only-child::before { display: none; }
.tuned li:only-child b, .tuned li:only-child small { grid-column: 1; }

/* sections */
.section { padding-block: var(--section-gap) 0; }
.section--l { padding-block-start: var(--section-gap-l); }
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.head .lead { color: var(--color-ink-2); }
.head--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: end; }

/* pinned: the real Clock screen held while three panels pass */
.pinned { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); }
.pinned__visual { position: sticky; top: calc(var(--nav-h) + var(--space-xl)); align-self: start; justify-self: center; width: min(100%, 360px); }
.screen { position: relative; margin: 0; border-radius: 36px; outline: var(--rule-hair) solid var(--color-rule); outline-offset: -1px; overflow: hidden; background: var(--color-paper-2); aspect-ratio: 804 / 1271; box-shadow: var(--shadow-card); }
.screen img { width: 100%; height: 100%; object-fit: cover; }
.screen__mark { position: absolute; left: var(--l); top: var(--t); width: var(--w); height: var(--h); border: 3px solid oklch(85% 0.12 185); box-shadow: 0 0 0 3px oklch(16% 0 0 / 0.25); border-radius: 18px; opacity: 0; scale: 0.96; transition: opacity var(--dur-short) var(--ease-out), scale var(--dur-short) var(--ease-spring); }
.screen__mark.is-on { opacity: 1; scale: 1; }
.pinned__caption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); text-align: center; }
.panels { margin: 0; padding: 0; list-style: none; counter-reset: panel; }
.panels li { min-height: 62vh; display: grid; align-content: center; gap: var(--space-md); padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); counter-increment: panel; }
.panels li:first-child { border-top-color: var(--color-ink); }
.panels li::before { content: counter(panel); font-size: var(--text-display-s); font-weight: 700; letter-spacing: var(--tracking-display); line-height: 1; color: var(--color-rule); transition: color var(--dur-short) var(--ease-out); }
.panels li.is-on::before { color: var(--color-accent); }
.panels h3 { font-size: var(--text-2xl); }
.panels p { color: var(--color-ink-2); max-width: 42ch; }

/* hours: each tile a small Horizon scene at its hour, filled live */
.hours { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); margin: 0; padding: 0; list-style: none; }
.hour { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto auto; gap: var(--space-2xs) var(--space-md); min-height: 300px; padding: var(--space-lg); border-radius: var(--radius-card); color: #fff; background: linear-gradient(var(--top), var(--mid) 42%, var(--bot) 64%); box-shadow: var(--shadow-tile); }
.hour::after { content: ""; position: absolute; z-index: -1; left: -25%; right: -25%; top: 64%; bottom: -40%; border-radius: 50% 50% 0 0 / 28px 28px 0 0; background: radial-gradient(120% 90% at 50% 0%, #2b3366, #0f142e 55%, #050817); box-shadow: 0 -1px 0 rgb(255 230 200 / 0.7), 0 -10px 30px rgb(255 210 170 / 0.35); }
.hour.is-bright h3, .hour.is-bright .num { color: oklch(16% 0 0); }
.hour__orb { position: absolute; z-index: -1; right: 18%; top: calc(64% - 26px); width: 44px; height: 44px; border-radius: 50%; }
.hour__orb--sun { background: radial-gradient(circle at 40% 35%, #fff7e0, #ffc46b 50%, #ff7a3d); box-shadow: 0 0 28px rgb(255 153 77 / 0.6); }
.hour__orb--moon { top: 22%; width: 30px; height: 30px; background: radial-gradient(circle at 38% 32%, #fff, #ebe6ff 50%, #a399d1); box-shadow: 0 0 24px rgb(191 179 255 / 0.5); }
.hour h3 { grid-column: 1; font-size: var(--text-2xl); }
.hour .num { grid-column: 2; align-self: start; padding-top: 0.35em; font-size: var(--text-sm); font-weight: 600; opacity: 0.85; }
.hour p { grid-row: 3; grid-column: 1 / -1; color: rgb(255 255 255 / 0.9); font-weight: 500; }
.hour time { grid-row: 4; grid-column: 1 / -1; font-size: var(--text-sm); color: rgb(255 255 255 / 0.65); font-variant-numeric: tabular-nums; }

/* themes table */
.table { width: 100%; border-collapse: collapse; }
.table caption { text-align: left; caption-side: bottom; padding-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.table th { text-align: left; font-size: var(--text-sm); font-weight: 400; color: var(--color-muted); padding: 0 0 var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-ink); }
.table td { font-variant-numeric: tabular-nums; padding-block: var(--space-md); height: 72px; border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: middle; color: var(--color-ink-2); }
.table td:first-child { font-size: var(--text-title); font-weight: 700; letter-spacing: -0.02em; color: var(--color-ink); width: 30%; }
.table td:last-child { text-align: right; width: 8rem; }
.table th:last-child { text-align: right; }

/* tiles: raised a little off the page with a hairline edge, like the app's Horizon tiles */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); margin: 0; padding: 0; list-style: none; }
.tiles li { display: grid; align-content: start; gap: var(--space-sm); padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper); border: 1px solid oklch(16% 0 0 / 0.06); box-shadow: var(--shadow-tile); }
.tiles h3 { font-size: var(--text-2xl); }
.tiles p { color: var(--color-ink-2); max-width: 46ch; }

/* band: the platforms and the close */
.band { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule); border-bottom: var(--rule-hair) solid var(--color-rule); }
.band__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: center; }
.platforms { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: var(--space-xl) 0 0; padding: 0; list-style: none; }
.platforms li { padding: var(--space-xs) var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper); font-weight: 600; }
.band p { color: var(--color-ink-2); margin-top: var(--space-lg); }
.get { display: grid; justify-items: start; gap: var(--space-md); padding: var(--space-xl); background: var(--color-paper); border: 1px solid oklch(16% 0 0 / 0.06); border-radius: var(--radius-card); box-shadow: var(--shadow-tile); }
.get > img { width: 112px; height: 112px; border-radius: 25px; }
.get h3 { font-size: var(--text-2xl); }
.get p { margin: 0; }

/* footer: a statement */
.footer { padding-block: var(--section-gap-s) var(--space-2xl); }
.footer__line { font-size: var(--text-section); font-weight: 700; letter-spacing: var(--tracking-display); line-height: 1.05; max-width: 18ch; text-wrap: balance; }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-xl); margin: var(--space-2xl) 0 0; padding: var(--space-lg) 0 0; list-style: none; border-top: var(--rule-hair) solid var(--color-ink); font-size: var(--text-sm); }
.footer__links li:last-child { margin-left: auto; color: var(--color-muted); }
.footer__links a { display: inline-block; padding-block: 12px; margin-block: -12px; }

/* documents: privacy and support */
.doc { padding-block: var(--space-3xl) var(--section-gap-s); }
.doc__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); }
.doc h1 { font-size: var(--text-display-s); }
.doc__meta { margin-top: var(--space-md); color: var(--color-muted); font-size: var(--text-sm); }
.doc__body { display: grid; gap: var(--space-md); max-width: 68ch; }
.doc__body h2 { font-size: var(--text-2xl); margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); max-width: none; }
.doc__body h2:first-child { margin-top: 0; border-top-color: var(--color-ink); }
.doc__body p, .doc__body li { color: var(--color-ink-2); }
.doc__body ul { margin: 0; padding-left: 1.2em; display: grid; gap: var(--space-xs); }
.doc__body .lead { color: var(--color-ink); }
.contact { display: grid; gap: var(--space-sm); justify-items: start; padding: var(--space-xl); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); }
.contact p { color: var(--color-ink-2); }
details { border-bottom: var(--rule-hair) solid var(--color-rule); }
details:first-of-type { border-top: var(--rule-hair) solid var(--color-ink); }
summary { display: flex; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-lg); font-size: var(--text-title); font-weight: 700; letter-spacing: -0.02em; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; color: var(--color-muted); }
details[open] summary::after { content: "\2212"; }
summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
:root { interpolate-size: allow-keywords; }
details::details-content { block-size: 0; overflow: clip; transition: block-size var(--dur-short) var(--ease-out), content-visibility var(--dur-short) allow-discrete; }
details[open]::details-content { block-size: auto; }
details > div { display: grid; gap: var(--space-sm); padding-bottom: var(--space-lg); max-width: 62ch; }
details > div p, details > div li { color: var(--color-ink-2); }
details ol { margin: 0; padding-left: 1.2em; display: grid; gap: var(--space-2xs); }

@media (max-width: 60rem) {
  .slab nav .hide-s { display: none; }
  .horizon__ground-grid, .pinned, .band__grid, .doc__grid, .head--split { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .pinned__visual { position: static; }
  .panels li { min-height: 0; }
  .screen__mark { display: none; }
  .hours { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .horizon__air-row { padding-right: calc(var(--gutter) + 56px); }
  .ruler { right: calc(var(--gutter) - 4px); width: 72px; }
}
@media (max-width: 40rem) {
  .slab nav ul { gap: var(--space-sm); }
  .wordmark { gap: var(--space-xs); font-size: var(--text-md); }
  .slab .store-link { padding: 0 var(--space-sm); }
  .horizon__air-row { min-height: 560px; padding-block: var(--space-xl) 200px; padding-right: calc(var(--gutter) + 40px); }
  .readout__mood { font-size: var(--text-md); }
  .readout__line { font-size: var(--text-md); }
  .drag__pill { padding: 0 var(--space-md); font-size: var(--text-sm); }
  .ruler { width: 56px; }
  .ruler__pill { right: 26px; min-height: 32px; padding: 0 var(--space-sm); font-size: var(--text-sm); }
  .horizon__ground { padding-block: 80px var(--space-2xl); }
  .hours, .tiles { grid-template-columns: minmax(0, 1fr); }
  .hour { min-height: 240px; }
  .tiles li { padding: var(--space-lg); }
  .table td:first-child { width: auto; font-size: var(--text-lg); }
  .table td:nth-child(2), .table th:nth-child(2) { display: none; }
  .footer__links li:last-child { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .screen__mark, .panels li::before, .horizon__air, .ruler__pill { transition: none; }
  .horizon.is-dragging .ruler__pill { scale: none; }
  details::details-content { transition: none; }
}
