/* Task Manager Pro, the magazine cut: edge-to-edge spreads, very large type, few words.
   One serif for display, the system face for text. Grain is a static texture on the ground and each wallpaper. */
:root {
  color-scheme: light dark;
  --ground: #f4f5f7; --ink: #0e0f12; --ink2: rgb(14 15 18 / 0.64); --soft: rgb(14 15 18 / 0.07);
  --accent: #0a66e8; --green: #1f8f3e; --cl-field: #dcebd6; --cl-ink: #0f2416; --glass: rgb(244 245 247 / 0.72);
  --m: 32px; --pt: clamp(0.34px, calc(100vw / 1300), 1px);
  --serif: "Instrument Serif", "New York", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --ground: #0e0f12; --ink: #f2f3f5; --ink2: rgb(242 243 245 / 0.66); --soft: rgb(255 255 255 / 0.09);
    --accent: #2f7bff; --green: #2ea44f; --cl-field: #10251a; --cl-ink: #e9f5ec; --glass: rgb(14 15 18 / 0.66); }
}
:root[data-theme="dark"] { --ground: #0e0f12; --ink: #f2f3f5; --ink2: rgb(242 243 245 / 0.66); --soft: rgb(255 255 255 / 0.09);
  --accent: #2f7bff; --green: #2ea44f; --cl-field: #10251a; --cl-ink: #e9f5ec; --glass: rgb(14 15 18 / 0.66); }

* { box-sizing: border-box; margin: 0; }
/* The page scroll bar floats over the content: the native bar is hidden and site.js draws a thin knob (.sbar). */
html { background: var(--ground); scrollbar-width: none; scroll-behavior: smooth; }
html::-webkit-scrollbar { display: none; }
body { background: url(img/grain.webp) 0 0 / 128px, var(--ground); color: var(--ink); font: 400 18px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: none; }
::selection { background: var(--accent); color: #fff; }

/* Film grain: one 256 px tile of random black and white dots (img/grain.webp), drawn at 128 px so each dot is one
   device pixel on a 2x screen. It sits on the ground and on each wallpaper (.wall::after), never as a fixed overlay.
   The app window gets none (owner pick 2026-11-23). */
.wall::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: url(img/grain.webp) 0 0 / 128px; }

/* The floating scroll knob: a transparent track, a thin knob at low opacity, shown while scrolling or under the
   pointer at the right edge, fading out about 2 s later. It reserves no space. */
.sbar { position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: 14px; }
.sbar i { position: absolute; right: 3px; width: 5px; min-height: 56px; border-radius: 3px; background: rgb(128 128 128 / 0.5);
  opacity: 0; transition: opacity .35s ease, background-color .2s, width .2s; }
.sbar.on i { opacity: 1; }
.sbar.drag i { background: rgb(128 128 128 / 0.75); }

/* Type: three sizes do the work. */
.masthead { font: 400 19.4vw/0.8 var(--serif); letter-spacing: -0.035em; white-space: nowrap; margin-left: -0.04em; display: inline-block; }
.big { font: 400 clamp(64px, 8.4vw, 150px)/0.9 var(--serif); letter-spacing: -0.03em; text-wrap: balance; }
.mid { font: 400 clamp(44px, 5.6vw, 96px)/0.95 var(--serif); letter-spacing: -0.025em; text-wrap: balance; }
.lede { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.4; max-width: 30ch; text-wrap: pretty; }
.small { font-size: 15px; color: var(--ink2); }

/* Buttons: Buy (.b-buy, glossy blue) and the free download (.b-dl), both owner picks 2026-11-23. */
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 26px; border-radius: 999px; background: var(--accent); color: #fff;
  font-weight: 600; font-size: 17px; white-space: nowrap; }
.btn:hover, .btn:focus-visible { background: color-mix(in srgb, var(--accent) 86%, #000); }
.btn-s { height: 36px; padding: 0 18px; font-size: 15px; }
.arr, .dli { display: none; }
.arr::before { content: "→"; display: inline-block; transition: translate .25s var(--ease); }
.btn:hover .arr::before { translate: 3px 0; }
.dli { width: 17px; height: 17px; background: currentColor;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M10 3v10m-4-4 4 4 4-4M4 16h12"/></svg>') center/contain no-repeat; }
.b-buy, .b-buy:hover, .b-buy:focus-visible { background: linear-gradient(#4a92ff, #0a66e8);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35), 0 1px 2px rgb(0 0 0 / 0.2), 0 8px 20px -8px rgb(10 102 232 / 0.7); }
.b-buy:hover, .b-buy:focus-visible { filter: brightness(1.08); }
/* Free download: "Download Classic, free" on the soft gray pill by default. */
.b-dl { background: var(--soft); color: var(--ink); }
.b-dl:hover, .b-dl:focus-visible { background: color-mix(in srgb, var(--ink) 13%, transparent); }
/* Classic's own download button: dark green ink with the icon and a second line (owner pick 2026-11-23). */
.b-cl { height: 64px; padding: 0 28px 0 22px; gap: 14px; border-radius: 16px; background: var(--cl-ink); color: var(--cl-field); }
.b-cl:hover, .b-cl:focus-visible { background: color-mix(in srgb, var(--cl-ink) 86%, var(--cl-field)); }
.b-cl .dli { display: block; width: 22px; height: 22px; }
.cl-t { display: flex; flex-direction: column; line-height: 1.15; }
.cl-t small { font-size: 13px; font-weight: 500; opacity: 0.78; }

/* The bar: fixed; it slides away when you scroll down and comes back when you scroll up (site.js sets .solid and .hide). */
.bar { position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: 64px; padding: 0 var(--m); display: flex; align-items: center; gap: 24px;
  transition: transform .42s var(--ease), opacity .32s ease, background-color .3s ease, box-shadow .3s ease; }
.bar.solid { background: var(--glass); backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: inset 0 -0.5px 0 color-mix(in srgb, var(--ink) 14%, transparent); }
.bar.hide { transform: translate3d(0, -100%, 0); opacity: 0; }
.mark { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.mark img { width: 26px; height: 26px; }
.bar nav { display: flex; gap: 28px; margin-left: auto; font-size: 16px; color: var(--ink2); }
.bar nav a:hover { color: var(--ink); }
.bar .btn-s { margin-left: -12px; }
.bar nav + .btn-s { margin-left: 0; }

/* A camera crop of the top right of a 1920 x 1080 pt Mac screen. 1 pt = 1 px on a wide screen. */
.desk { position: relative; overflow: hidden; background: #222; }
.wall { position: absolute; inset: 0; }
.wall img { width: 100%; height: 100%; object-fit: cover; }
.win { position: absolute; left: calc(var(--pt) * var(--x)); top: calc(var(--pt) * var(--y)); width: calc(var(--pt) * var(--ww, 1096)); height: auto; }
.win img { width: 100%; height: auto; }
.win picture { display: block; }
/* Every clip carries the whole window and its shadow, so the still under it hides once it plays: one outline only. */
.win:has(> .clip.on) > picture { opacity: 0; transition: opacity 0s .3s; }

/* The whole 1920 x 1080 pt screen, scaled to the width of its box (1 pt = 1/1920 of the width). */
.screen { position: relative; overflow: hidden; container-type: inline-size; aspect-ratio: 16 / 9; background: #111; }
.scr { --pt: calc(100cqw / 1920); position: absolute; left: 0; top: 0; width: calc(var(--pt) * 1920); height: calc(var(--pt) * 1080); transform-origin: 100% 0; }
.scr-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen:has(> .scr-video) > .scr { display: none; }

/* The menu bar (site.js fills it). A full screen shows the Apple menu and the app's menus; a crop shows only the right end. */
/* macOS 26: the bar is clear over the wallpaper, 24 pt, 13 pt regular text, white ink with a soft shadow.
   .mb-light is the dark ink a bright wallpaper gets. */
.mb { position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: calc(var(--pt) * 24); display: flex; align-items: center;
  padding: 0 calc(var(--pt) * 21) 0 calc(var(--pt) * 16); font: 400 calc(var(--pt) * 13)/1 var(--sans); white-space: nowrap; pointer-events: none;
  color: #fff; text-shadow: 0 calc(var(--pt) * 0.5) calc(var(--pt) * 2) rgb(0 0 0 / 0.25); }
.mb .ic { filter: drop-shadow(0 calc(var(--pt) * 0.5) calc(var(--pt) * 1) rgb(0 0 0 / 0.25)); }
.mb.mb-light { color: rgb(0 0 0 / 0.85); text-shadow: none; }
.mb.mb-light .ic { filter: none; }
.mb-l, .mb-r { display: flex; align-items: center; }
.mb-l { gap: calc(var(--pt) * 21); }
.mb-l b { font-weight: 700; margin-left: calc(var(--pt) * 1); }
.mb-r { margin-left: auto; height: 100%; }
/* Measured on the owner's Mac (2026-11-23), left to right: our CPU item, then a 20 pt gap to the battery; centers
   41 pt battery to Wi-Fi, 40 pt Wi-Fi to Control Center, 30 pt Control Center to the clock text; the clock text ends
   21 pt from the edge. Each glyph sits centred in a slot whose half widths add up to those distances. */
.mb-s { display: flex; align-items: center; justify-content: center; width: calc(var(--pt) * var(--w, 40)); height: 100%; }
.mb-s.s-bat { --w: 32; }
.mb-s.s-wifi { --w: 50; }
.mb-s.s-cc { --w: 30; }
/* 22.5 pt of visible space from the Control Center ink to the "M", as in the 4x crop of the owner's bar. */
.mb .clock { margin-left: calc(var(--pt) * 12.5); }
.mb .cpu { margin-right: calc(var(--pt) * 16.85); font-variant-numeric: tabular-nums; }
.mb .ic { display: block; height: calc(var(--pt) * var(--h, 14)); aspect-ratio: var(--a); background: currentColor; mask: var(--m) center / contain no-repeat; -webkit-mask: var(--m) center / contain no-repeat; }
.mb .i-apple { --h: 16; --a: 41 / 52; --m: url(img/mb/apple.png); margin-right: calc(var(--pt) * 1); translate: 0 calc(var(--pt) * -0.5); }
.mb .i-wifi { --h: 11.7; --a: 16.7 / 11.7; --m: url(img/mb/wifi.png); }
.mb .i-cc { --h: 12.5; --a: 13.3 / 12.5; --m: url(img/mb/control-center.png); }
/* Glyphs are the real SF Symbols (battery.100percent.bolt, wifi, switch.2) drawn on this Mac, trimmed to the ink;
   each box is the measured size and the mask keeps the symbol's own aspect. */
.mb .i-bat { --h: 12.8; --a: 25.7 / 12.8; --m: url(img/mb/battery.png); }
.mb .mb-stop { display: block; width: calc(var(--pt) * 15); height: calc(var(--pt) * 15); }
.mb .mb-cam { display: block; width: calc(var(--pt) * 26); height: calc(var(--pt) * 16); }
.mb .mb-stop-d { display: none; }
.mb.mb-dark .mb-stop { display: none; }
.mb.mb-dark .mb-stop-d { display: block; }

/* Cover: the whole screen at the width of the page. */
.cover { padding-top: 120px; }
.mast { padding: 0 var(--m); }
.cover-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding: 40px 0 56px; }
.cover-foot .lede { max-width: 26ch; font-size: clamp(20px, 2vw, 28px); }

/* Features: three spreads on one sideways track; the page scroll moves it (site.js sets --tx in whole device pixels).
   Each desk wipes in from the right, then its window draws left to right and drifts sideways a little.
   Every core: text top left. At a glance: text in the middle. Memory: text at the bottom, window a little lower.
   Each window is centred and never wider than 88% of its desk, so it stays fully inside at every width.
   The panel clip (media/panel-*, 2340 x 1740 px: the 2192 x 1592 window plus 74 px of shadow) plays over the still. */
.hscroll { height: 300svh; }
.hscroll .stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.track { display: flex; width: 300%; height: 100%; translate: var(--tx, 0px) 0; will-change: translate; }
.spread { flex: 0 0 33.3333%; display: grid; grid-template-columns: 36% 64%; height: 100%; }
.page-text { display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; padding: 96px var(--m) 72px; }
.s-core .page-text { justify-content: flex-start; padding-top: 128px; }
.s-glance .page-text { justify-content: center; }
/* "At a glance." is the longest title: its text column is wider, so the title keeps the same room before the desk. */
.s-glance { grid-template-columns: 42% 58%; }
.spread .desk { height: 100%; container-type: inline-size; }
.spread .win-c { --ww: 880; left: 50%; top: calc(50% + var(--pt) * 12 + var(--dy, 0%)); translate: -50% -50%; max-width: 88cqw; }
/* The still (2192 x 1592) holds the window at x 46, y 32; the clip (2340 x 1740) at x 120, y 120. Line the two windows up. */
.win .clip { position: absolute; left: -3.376%; top: -5.528%; width: 106.75%; height: auto; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.win .clip.on { opacity: 1; }
/* Features reveal (owner, round 7): a plain fade, opacity only, 180 ms in and 140 ms out. site.js adds .on to the
   slide nearest the centre; no rise, wipe, drift, or scale. */
.js .spread [data-in] { opacity: 1; translate: none; transition: none; }
.js .hscroll .spread > .page-text, .js .hscroll .spread > .desk { opacity: 0; transition: opacity .14s ease-out; }
.js .hscroll .spread.on > .page-text, .js .hscroll .spread.on > .desk { opacity: 1; transition-duration: .18s; }

/* Over a game, and Recording a demo: a heading, then the whole screen. */
.open-head, .looks-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding: 160px var(--m) 40px; }
/* The zoom keeps the strip in view: its fixed point sits inside the strip at the same share as the strip's place on
   the screen (a strip at the left edge zooms from its left end, one at the right edge from its right end). */
.game { --sh: calc(var(--sw) * 60 / 696); color: #f3e6c8; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; transform: scale(1.5);
  transform-origin: calc(var(--pt) * (var(--sx) + var(--sw) * var(--sx) / (1920 - var(--sw)))) calc(var(--pt) * (var(--sy) + var(--sh) * var(--sy) / (1080 - var(--sh))));
  transition: transform 1.2s cubic-bezier(.45, 0, .2, 1); }
.screen-game.wide .game { transform: none; }
.game p { margin: 0; }
/* The Summary strip: one clip (media/strip-*, 696 x 60 pt on alpha, exactly the strip's bounds), nothing behind it;
   the video shows its own poster until it plays. --sx, --sy, --sw come from the screen (.scr). */
.strip { position: absolute; z-index: 4; left: calc(var(--pt) * var(--sx)); top: calc(var(--pt) * var(--sy)); width: calc(var(--pt) * var(--sw)); aspect-ratio: 696 / 60; }
.strip .clip { display: block; width: 100%; height: 100%; }
:root[data-game-art^="fp"] .game [class^="gh-"] { display: none; }
/* The city-builder HUD, our own drawing: it covers the game's own top bar and minimap. Glyphs are masks (--g). */
.gi { display: inline-block; position: relative; width: calc(var(--pt) * 26); height: calc(var(--pt) * 26); flex: none; }
.gi::before { content: ""; position: absolute; inset: 0; background: currentColor; mask: var(--g) center / contain no-repeat; -webkit-mask: var(--g) center / contain no-repeat; }
.gi-wood { --g: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 6h13a3 3 0 0 1 0 6H4a3 3 0 0 1 0-6zm2 7h13a3 3 0 0 1 0 6H6a3 3 0 0 1 0-6z"/></svg>'); }
.gi-stone { --g: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 19l3-9 6-5 8 5-1 9z"/></svg>'); }
.gi-food { --g: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.2" stroke-linecap="round"><path d="M12 22V4M12 8 8 5m4 3 4-3m-4 7-4-3m4 3 4-3m-4 7-4-3m4 3 4-3"/></svg>'); }
.gi-coal { --g: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 17l4-9 6 1 6 6-5 5H6z"/></svg>'); }
.gi-pop { --g: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="7.5" r="4"/><path d="M4 21a8 8 0 0 1 16 0z"/></svg>'); }
.gi-house { --g: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 11l9-8 9 8v10h-6v-6H9v6H3z"/></svg>'); }
.gi-farm { --g: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 5h8v6H3zm10 0h8v6h-8zM3 13h8v6H3zm10 0h8v6h-8z"/></svg>'); }
.gi-mine { --g: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.4" stroke-linecap="round"><path d="M4 9c4-5 12-5 16 0M12 6v15"/></svg>'); }
.gi-heat { --g: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2c3 4 7 7 7 12a7 7 0 0 1-14 0c0-3 2-6 4-8 1 3 2 4 3 4 0-3-1-5 0-8z"/></svg>'); }
.gi-road { --g: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.2" stroke-linecap="round"><path d="M8 3 4 21M16 3l4 18M12 4v3m0 4v3m0 4v3"/></svg>'); }
.gi-tower { --g: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 3h3v2h2V3h2v2h2V3h3v6l-2 2v10H8V11L6 9z"/></svg>'); }
.gi-pause { --g: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 4h4v16H6zm8 0h4v16h-4z"/></svg>'); }
.gi-play { --g: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 4l13 8-13 8z"/></svg>'); }
.gi-ff { --g: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2 5l10 7-10 7zm10 0 10 7-10 7z"/></svg>'); }
.gh-top { position: absolute; top: 0; left: 0; right: 0; height: calc(var(--pt) * 58); display: flex; align-items: center; gap: calc(var(--pt) * 36); padding: 0 calc(var(--pt) * 28);
  font: 600 calc(var(--pt) * 20)/1 var(--sans); font-variant-numeric: tabular-nums; background: linear-gradient(rgb(26 20 14 / 0.97), rgb(18 14 10 / 0.93));
  box-shadow: inset 0 calc(var(--pt) * -1.5) 0 rgb(231 211 166 / 0.3), 0 calc(var(--pt) * 6) calc(var(--pt) * 18) rgb(0 0 0 / 0.35); }
.gh-top span { display: flex; align-items: center; gap: calc(var(--pt) * 10); }
.gh-top .gi { color: #e2c48d; }
.gh-temp { margin-left: auto; color: #a8d8ff; font-size: calc(var(--pt) * 24); }
.gh-day { color: rgb(243 230 200 / 0.75); font-weight: 500; }
.gh-bot { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--pt) * 168);
  background: linear-gradient(rgb(18 14 10 / 0), rgb(18 14 10 / 0.9) 22%, rgb(18 14 10 / 0.97)); }
.gh-map { position: absolute; left: calc(var(--pt) * 16); bottom: calc(var(--pt) * 16); width: calc(var(--pt) * 264); height: calc(var(--pt) * 264);
  border-radius: calc(var(--pt) * 14); box-shadow: 0 0 0 calc(var(--pt) * 2) rgb(231 211 166 / 0.45), 0 calc(var(--pt) * 10) calc(var(--pt) * 30) rgb(0 0 0 / 0.5); overflow: hidden; }
.gh-map svg { display: block; width: 100%; height: 100%; }
.gh-build, .gh-speed { position: absolute; bottom: calc(var(--pt) * 26); display: flex; gap: calc(var(--pt) * 10); }
.gh-build { left: 50%; translate: -50% 0; }
.gh-speed { right: calc(var(--pt) * 28); }
.gh-build .gi, .gh-speed .gi { width: calc(var(--pt) * 76); height: calc(var(--pt) * 76); border-radius: calc(var(--pt) * 12); color: #f0dfba;
  background: linear-gradient(rgb(58 46 32 / 0.95), rgb(34 27 19 / 0.95)); box-shadow: inset 0 0 0 calc(var(--pt) * 1.5) rgb(231 211 166 / 0.35), inset 0 calc(var(--pt) * 1.5) 0 rgb(255 240 210 / 0.18); }
.gh-build .gi::before { inset: 24%; }
.gh-speed .gi { width: calc(var(--pt) * 58); height: calc(var(--pt) * 58); }
.gh-speed .gi::before { inset: 28%; }
.gh-speed .gi.on { color: #1d160e; background: linear-gradient(#f3d08a, #d9a94e); }

.mw { position: absolute; z-index: 2; left: calc(var(--pt) * 40); top: calc(var(--pt) * 196); width: calc(var(--pt) * 1180); border-radius: calc(var(--pt) * 16); overflow: hidden;
  background: #181818; box-shadow: 0 0 0 calc(var(--pt) * 0.5) rgb(0 0 0 / 0.85), inset 0 0 0 calc(var(--pt) * 1) rgb(255 255 255 / 0.09), 0 calc(var(--pt) * 22) calc(var(--pt) * 60) rgb(0 0 0 / 0.45); }
.mw > img:first-child { display: block; width: 100%; height: auto; }
/* The traffic lights: a crop of a real macOS 26 title bar (14 pt lights, 23 pt apart), centred in each title bar:
   VS Code's 35 pt bar and iTerm2's 28 pt bar. */
.mw .tl, .it-bar .tl { position: absolute; left: calc(var(--pt) * 12); top: calc(var(--pt) * 9.5); width: calc(var(--pt) * 62); height: calc(var(--pt) * 16); }
.it-bar .tl { top: calc(var(--pt) * 6); }
/* iTerm2 with its Dark Background profile: a 28 pt title bar over a real xterm.js terminal in Menlo 12 (site.js). The
   terminal is laid out at 1 px = 1 pt and scaled to the screen; site.js sets --iw and --ih from its cell grid. */
.iterm { position: absolute; z-index: 3; left: calc(var(--pt) * 1150); top: calc(var(--pt) * 300); width: calc(var(--pt) * var(--iw, 704)); height: calc(var(--pt) * (28 + var(--ih, 396)));
  border-radius: calc(var(--pt) * 12); overflow: hidden; background: #000;
  box-shadow: 0 0 0 calc(var(--pt) * 0.5) rgb(0 0 0 / 0.85), inset 0 0 0 calc(var(--pt) * 1) rgb(255 255 255 / 0.1), 0 calc(var(--pt) * 22) calc(var(--pt) * 60) rgb(0 0 0 / 0.5); }
.it-bar { position: relative; height: calc(var(--pt) * 28); display: grid; place-items: center; background: #2a2a2d; color: rgb(255 255 255 / 0.7);
  font: 600 calc(var(--pt) * 13)/1 var(--sans); box-shadow: inset 0 calc(var(--pt) * -1) 0 rgb(0 0 0 / 0.6); }
.it-term { position: absolute; left: 0; top: calc(var(--pt) * 28); transform-origin: 0 0; }
.it-term .xterm { padding: 2px 5px; }
.it-term .xterm-viewport { overflow: hidden !important; background: #000 !important; }
.cam { position: absolute; z-index: 4; left: calc(var(--pt) * 1680); top: calc(var(--pt) * 842); width: calc(var(--pt) * 200); height: calc(var(--pt) * 200); border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 calc(var(--pt) * 3) rgb(255 255 255 / 0.9), 0 calc(var(--pt) * 14) calc(var(--pt) * 40) rgb(0 0 0 / 0.45); }
/* Camera bubble: a person talking to the lens (owner pick 2026-11-23). */
.cam > * { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Speed on the crimson velvet: one sentence with the three numbers (owner pick 2026-11-23). */
.speed { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 120px var(--m) 96px; }
.speed .wall { z-index: -1; }
.speed .fn { color: rgb(255 255 255 / 0.8); }
.sp-line { font: 400 clamp(44px, 5.8vw, 104px)/1 var(--serif); letter-spacing: -0.025em; text-wrap: balance; max-width: 18ch; }
.sp-line b { font-weight: 400; color: #ffd7dd; font-variant-numeric: tabular-nums; }
.sp-line .sp-sub { display: block; margin-top: 28px; font: 400 clamp(18px, 1.6vw, 24px)/1.4 var(--sans); letter-spacing: 0; color: rgb(255 255 255 / 0.78); }
/* Speed text motion, words and counting (owner pick 2026-11-23): site.js wraps each word in .w and adds .play once in
   view; the words rise in one by one while the three numbers count up from zero. */
.js .sp-line[data-in] { opacity: 1; translate: none; }
.sp-line .w {
  display: inline-block; opacity: 0; translate: 0 0.35em; filter: blur(6px); transition: opacity .6s ease, translate .8s var(--ease), filter .6s ease; transition-delay: calc(var(--i) * 55ms); }
.sp-line .w.sp-sub { display: block; }
.sp-line .nw { white-space: nowrap; }
:root .sp-line.play .w { opacity: 1; translate: none; filter: none; }

/* Contents page. Hover a line to see its real screenshot near the pointer. */
.rest { padding: 200px var(--m) 160px; display: grid; grid-template-columns: 36% 64%; align-items: start; }
.rest-side { position: sticky; top: 96px; z-index: 2; }
.contents { list-style: none; padding: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 48px; }
.contents li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: baseline; padding: 6px 0; cursor: default; }
.contents b { font: 400 clamp(44px, 5.4vw, 92px)/1 var(--serif); letter-spacing: -0.025em; white-space: nowrap; justify-self: start;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .45s var(--ease), translate .35s var(--ease), color .25s; }
.contents li:hover b { background-size: 100% 2px; }
.contents span { font-size: 18px; color: var(--ink2); max-width: 30ch; }
.peek { position: fixed; z-index: 30; left: 0; top: 0; width: min(690px, 51vw); aspect-ratio: 2192 / 1592; pointer-events: none;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0); opacity: 0; translate: 0 4px; transition: opacity .12s ease-in, translate .12s ease-in; }
/* A calm fade: 150 ms in with a 4 px rise, 120 ms out; no scale, no spring. Moving between lines cross-fades the shots. */
.peek.on { opacity: 1; translate: none; transition: opacity .15s ease-out, translate .15s ease-out; }
.peek picture { position: absolute; inset: 0; opacity: 0; transition: opacity .15s ease; }
.peek picture.cur { opacity: 1; }
.peek img { width: 100%; height: auto; }
.peek .tall img { width: auto; height: 100%; }
@media (hover: none) { .peek { display: none; } }

/* Light or Dark: the line sweeps across once the section is about centred, and the reader can drag it by hand too. */
.looks-head { padding-top: 120px; }
.ld { position: relative; height: calc(var(--pt) * 860); touch-action: pan-y; overflow-x: clip; }
.desk-ld { position: absolute; inset: 0; }
.ld-light { clip-path: inset(0 calc((1 - var(--v)) * 100%) 0 0); }
.ld-handle { position: absolute; top: 0; bottom: 0; left: calc(var(--v) * 100%); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ld-handle span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff;
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.25); transition: opacity .3s; }
.ld-handle span::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; color: #111; font: 600 17px/1 var(--sans); letter-spacing: 2px; }
.ld-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; touch-action: pan-y; margin: 0; }
.ld:has(.ld-range:focus-visible) .ld-handle span { background: #dfe6ff; }

/* Pricing. */
.price { padding: 200px var(--m) 160px; }
.price-h { font-size: 15.5vw; }
/* The old price is crossed out inside the line under the headline, never above it. */
.price .lede s { color: var(--ink2); }
/* After the launch weeks the line under the price is gone; the facts keep the same gap. */
.price-h + .facts { margin-top: 96px; }
/* "$9.99" in the Buy button's blues, top to bottom, with a soft shine band near the top (owner, round 9). The
   masthead's negative letter-spacing ends the box inside the last "9", and background-clip cuts the glyph at the box
   edge, so the span gets 0.1em inline padding pulled back by the same negative margin. */
.price-h [data-price] { --price-grad: linear-gradient(#4a92ff 22%, #0a66e8 78%); color: transparent;
  background-image: linear-gradient(transparent 30%, rgb(255 255 255 / 0.34) 36%, rgb(255 255 255 / 0.1) 42%, transparent 48%), var(--price-grad);
  -webkit-background-clip: text; background-clip: text; padding: 0 0.1em; margin: 0 -0.1em; }
/* The countdown in the samhq coral; tabular digits so the ticking line never jitters. */
.price .left { color: #f0654f; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Countdown tiles: flat DD HH MM SS with tiny labels. */
.tiles { display: inline-flex; gap: 4px; vertical-align: middle; }
.tiles b { display: inline-flex; flex-direction: column; align-items: center; min-width: 2.4em; padding: 4px 6px 3px; border-radius: 6px;
  background: rgb(240 101 79 / 0.12); font-weight: 600; line-height: 1.1; }
.tiles small { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.8; }
/* Countdown as a small coral line right above the Buy button; only in the "pill" count format. */
.launch-pill { display: none; width: fit-content; margin: 0 0 14px; padding: 7px 12px; border-radius: 999px; background: rgb(240 101 79 / 0.12);
  color: #f0654f; font: 600 14px/1 var(--sans); font-variant-numeric: tabular-nums; }
:root[data-count-fmt="pill"] .launch-pill { display: block; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.price > .lede { margin: 36px 0 96px; max-width: none; }
.facts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 72px; }
.facts b { display: block; font: 400 clamp(40px, 4.2vw, 72px)/1 var(--serif); letter-spacing: -0.025em; margin-bottom: 12px; }
.facts span { color: var(--ink2); }

/* Classic: a green left page, the window centred on its wallpaper on the right. */
.classic { display: grid; grid-template-columns: 40% 60%; min-height: 100svh; background: var(--cl-field); color: var(--cl-ink); }
.classic .page-text { justify-content: center; gap: 28px; padding: 120px var(--m); }
.cl-icon { width: 72px; height: 72px; }
.desk-classic { min-height: 100svh; }
.desk-classic .win { left: 50%; top: calc(50% + var(--pt) * 12); width: calc(var(--pt) * 570); translate: -50% -50%; }

/* Copy pill: the whole pill is one button. Hover tints it with a fade; a click copies, the icon turns into a check,
   and "Copied" shows for a moment. */
.cmd { position: relative; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; align-self: flex-start; height: 44px; padding: 0 5px 0 18px;
  border: 0; border-radius: 999px; font: inherit; color: inherit; cursor: pointer; text-align: left;
  background: color-mix(in srgb, var(--cl-ink) 8%, transparent); }
.cmd:hover, .cmd:focus-visible { background: color-mix(in srgb, var(--cl-ink) 15%, transparent); }
.cmd:active { background: color-mix(in srgb, var(--cl-ink) 20%, transparent); }
.cmd code { min-width: 0; font: 14px/1 ui-monospace, "SF Mono", Menlo, monospace; white-space: nowrap; overflow: hidden; transition: opacity .25s; }
.cmd-i { position: relative; flex: none; width: 34px; height: 34px; }
.cmd-i svg { position: absolute; inset: 7.5px; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: opacity .2s ease, scale .35s var(--spring), rotate .35s var(--ease); }
.cmd .i-done { stroke: var(--green); stroke-width: 2; opacity: 0; scale: 0.4; stroke-dasharray: 18; stroke-dashoffset: 18; transition: opacity .2s, scale .35s var(--spring), stroke-dashoffset .35s var(--ease) .08s; }
.cmd.done .i-copy { opacity: 0; scale: 0.4; rotate: -40deg; }
.cmd.done .i-done { opacity: 1; scale: 1; stroke-dashoffset: 0; }
.cmd-ok { position: absolute; right: 46px; top: 50%; padding: 4px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--green);
  background: var(--cl-field); opacity: 0; translate: 6px -50%; transition: opacity .2s ease, translate .3s var(--ease); pointer-events: none; }
.cmd.done .cmd-ok { opacity: 1; translate: 0 -50%; }

/* Footnotes: a small number with a dotted underline, so it reads as a tooltip; the credit or the method shows in one
   shared tooltip (site.js). One fixed size everywhere, also after a huge line. */
.fn { font: 600 13px/0 var(--sans); letter-spacing: 0; vertical-align: super; margin-left: 0.2em; padding: 0 1px; cursor: help; color: var(--ink2);
  text-decoration: underline dotted 1.5px; text-underline-offset: 3px; }
.tip { position: fixed; z-index: 60; max-width: min(320px, calc(100vw - 32px)); padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.4;
  background: var(--ink); color: var(--ground); box-shadow: 0 8px 28px rgb(0 0 0 / 0.25); pointer-events: none; }

/* Footer: the name returns at full width, then the links, then the copyright and the samhq mark. */
.foot { padding: 160px var(--m) 48px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 72px; color: var(--ink2); }
.foot-row nav { display: flex; gap: 28px; font-size: 17px; color: var(--ink); }
.foot-row nav a:hover { color: var(--accent); }
.foot-row .legal { color: var(--ink2); font-size: 15px; }
.foot-end { margin-top: 32px; padding-top: 24px; border-top: 0.5px solid color-mix(in srgb, var(--ink) 16%, transparent); }
.samhq { font-size: 15px; }
.samhq span { color: var(--ink); font-weight: 600; border-bottom: 1.5px dotted color-mix(in srgb, var(--ink) 45%, transparent); padding-bottom: 1px; }
/* samhq's brand coral, from the samhq wordmark (app_backend/site/brand/README.md, "Wordmark"). */
.samhq b { color: #f0654f; font-weight: 600; }
.samhq:hover span { border-bottom-style: solid; }

/* Entrances: rise and fade once, staggered (site.js sets the delay). */
.js [data-in] { opacity: 0; translate: 0 28px; transition: opacity .7s var(--ease), translate .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-in].in { opacity: 1; translate: 0 0; }

/* Hover tints fade the same everywhere: 150 ms in (the hover state's timing), 200 ms out, ease-out, paint only.
   The copy pill also rises in with [data-in], so its rule keeps the entrance timing beside the tint. */
.btn, .bar nav a, .foot-row nav a, .samhq { transition: background-color .2s ease-out, box-shadow .2s ease-out, color .2s ease-out, filter .2s ease-out, opacity .2s ease-out; }
.btn:hover, .btn:focus-visible, .bar nav a:hover, .foot-row nav a:hover, .samhq:hover { transition-duration: .15s; }
.cmd, .js .cmd[data-in] { transition: opacity .7s var(--ease) var(--d, 0ms), translate .9s var(--ease) var(--d, 0ms), background-color .2s ease-out; }
.cmd:hover, .cmd:focus-visible, .js .cmd[data-in]:hover { transition-duration: .7s, .9s, .15s; }

@media (max-width: 760px) {
  :root { --m: 16px; }
  .bar nav { display: none; }
  .bar .mark { margin-right: auto; }
  .cover { padding-top: 104px; }
  .cover-foot { flex-direction: column; align-items: flex-start; padding: 28px 0 40px; }
  .screen-cover { aspect-ratio: 4 / 3; }
  .screen-cover .scr { --pt: calc(100cqw / 1150); translate: calc(var(--pt) * -415) 0; }
  .win { left: calc(var(--pt) * var(--xs, var(--x))); }
  .big { font-size: 15vw; }
  .mid { font-size: 12vw; }
  .spread { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .spread .page-text { padding: 88px var(--m) 24px; gap: 16px; }
  .s-core .page-text { padding-top: 88px; }
  .spread .win-c { --ww: 1000; }
  .open-head, .looks-head { flex-direction: column; align-items: flex-start; gap: 16px; padding: 112px var(--m) 28px; }
  .speed { padding: 96px var(--m) 72px; }
  .rest { grid-template-columns: 1fr; gap: 40px; padding: 120px var(--m) 96px; }
  .rest-side { position: static; }
  .contents { grid-template-columns: 1fr; }
  .contents li { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
  .contents b { font-size: 12vw; }
  .contents span { text-align: left; max-width: none; }
  .ld { height: calc(var(--pt) * 1100); }
  .price { padding: 120px var(--m) 96px; }
  .price-h { font-size: 17.5vw; }
  .price > .lede { margin: 24px 0 56px; }
  .price-h + .facts { margin-top: 56px; }
  .facts { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
  .facts b { font-size: 11vw; margin-bottom: 4px; }
  .classic { grid-template-columns: minmax(0, 1fr); }
  .classic .page-text { padding: 96px var(--m) 56px; }
  .desk-classic { min-height: 0; height: calc(var(--pt) * 1100); }
  .desk-classic .win { width: calc(var(--pt) * 800); }
  .cmd code { font-size: 13px; padding-right: 12px; mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .foot { padding: 112px var(--m) 40px; }
  .foot-row { flex-direction: column; align-items: flex-start; margin-top: 48px; }
  .foot-end { flex-direction: row; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar, .game { transition: none; }
  .game { transform: none; }
  .hscroll { height: auto; }
  .hscroll .stage { position: static; height: auto; }
  .track { width: 100%; flex-direction: column; translate: none; }
  .spread { flex: none; height: 100svh; }
  .js .hscroll .spread > .page-text, .js .hscroll .spread > .desk { opacity: 1; transition: none; }
  .cam > * { animation: none !important; }
  .sp-line .w { opacity: 1 !important; translate: none !important; filter: none !important; }
  .js [data-in] { opacity: 1; translate: none; transition: none; }
}
