/* Marquee — landing page.
   Palette and type are the app's own (app/globals.css, app/layout.tsx):
   the dark theme is the default, the light theme follows the system. */

/* ------------------------------------------------------------------ tokens */
:root {
  color-scheme: dark;
  --bg0: #0a0a0c;
  --bg1: #131217;
  --bg2: #1c1b22;
  --bg3: #26242e;
  --border: #2c2a35;
  --border-strong: #3a3745;
  --t1: #f3f1ea;
  --t2: #a8a4b3;
  --t3: #6f6c7d;
  --t3-text: #8f8b9c;          /* muted, but readable at small sizes (5.9:1) */
  --accent: #e0a63e;
  --accent-hover: #f0b954;
  --accent-ink: #e0a63e;       /* amber for small text */
  --accent-display: #e0a63e;   /* amber for display-size italics */
  --on-accent: #1b1407;
  --owned: #4caf7d;
  --owned-bg: #14251c;
  --tracked: #4f8fd1;
  --tracked-bg: #10202f;
  --untracked-bg: #201f26;
  /* the app's status colors (app/globals.css --marquee-*) */
  --downloading: #a98be8;
  --downloading-bg: #1f1830;
  --ready: #3cc6b8;
  --ready-bg: #0f2624;
  --missing: #f25b5b;
  --missing-bg: #2c1315;
  --unmonitored: #e8833a;
  --unmonitored-bg: #2a1a0e;
  --soon: #5d9cec;
  --soon-bg: #10202f;

  --serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --max: 1180px;
  --gutter: clamp(20px, 4.4vw, 40px);
  --section-pad: clamp(80px, 9.5vw, 136px);

  --card-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  --float-shadow: 0 44px 90px -30px rgba(0, 0, 0, .8), 0 14px 32px rgba(0, 0, 0, .38);
  --window-bar: #16151b;
  --code-bg: #0c0b0f;

  /* the marquee sign: dark enamel, warm bulbs */
  --frame-top: #221f29;
  --frame-bottom: #121116;
  --frame-edge: rgba(0, 0, 0, .9);
  --frame-sheen: rgba(255, 255, 255, .07);
  --bulb-off: #2e2519;
  --bulb-hi: #fff6de;
  --bulb-mid: #f6c969;
  --bulb-lo: #d4922b;
  --bulb-glow: 0 0 5px 1px rgba(246, 201, 105, .85), 0 0 16px 4px rgba(224, 166, 62, .3);
  --frame-halo: 0 0 140px -30px rgba(224, 166, 62, .32);
  --grain-opacity: .05;

  /* the app's navigation glass (app/globals.css .nav-glass) */
  --glass: rgb(30 29 37 / .68);
  --glass-border: rgb(255 255 255 / .09);
  --glass-shadow: 0 24px 64px rgb(0 0 0 / .5);
  --avatar: linear-gradient(140deg, #f0b954, #e0a63e 45%, #c2583a);
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg0: #faf8f4;
    --bg1: #ffffff;
    --bg2: #f1eee6;
    --bg3: #e7e2d5;
    --border: #e1dccd;
    --border-strong: #ccc4b0;
    --t1: #211f1a;
    --t2: #5c574c;
    --t3: #8b8575;
    --t3-text: #6f6a5c;
    --accent: #b3791f;
    --accent-hover: #c68a2a;
    --accent-ink: #8a5a12;
    --accent-display: #b3791f;
    --on-accent: #1b1407;
    --owned: #2f7a52;
    --owned-bg: #e3f3ea;
    --tracked: #2f6fb0;
    --tracked-bg: #e5f0fa;
    --untracked-bg: #efece3;
    --downloading: #7048b8;
    --downloading-bg: #f0e9fb;
    --ready: #0b6d63;
    --ready-bg: #e0f5f2;
    --missing: #c42b2b;
    --missing-bg: #fdeaea;
    --unmonitored: #b34d00;
    --unmonitored-bg: #fff0e5;
    --soon: #2f6fb0;
    --soon-bg: #e5f0fa;

    --card-shadow: 0 18px 40px rgba(72, 52, 18, .09);
    --float-shadow: 0 44px 90px -34px rgba(72, 52, 18, .42), 0 14px 30px rgba(72, 52, 18, .12);
    --window-bar: #f4f1ea;
    --code-bg: #f6f3ec;

    /* a matinee marquee: cream enamel, bulbs lit against daylight */
    --frame-top: #fffdf9;
    --frame-bottom: #efe8da;
    --frame-edge: rgba(120, 92, 40, .22);
    --frame-sheen: rgba(255, 255, 255, .9);
    --bulb-off: #e7d5b0;
    --bulb-hi: #fff8e8;
    --bulb-mid: #f6ba3f;
    --bulb-lo: #d28f22;
    --bulb-glow: 0 0 5px 1px rgba(238, 168, 45, .7), 0 0 15px 4px rgba(224, 166, 62, .3);
    --frame-halo: 0 0 120px -30px rgba(179, 121, 31, .28);
    --grain-opacity: .035;

    --glass: rgb(255 255 255 / .74);
    --glass-border: rgb(33 31 26 / .10);
    --glass-shadow: 0 20px 50px rgb(60 45 20 / .16);
    --avatar: linear-gradient(140deg, #9c6818, #b3791f 45%, #c2583a);
  }
}

/* -------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg0);
  color: var(--t2);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--t1); }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--t1);
  letter-spacing: -.015em;
}
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-display);
}

p { margin: 0; }
code, kbd, pre { font-family: var(--mono); }
code { font-size: .88em; }
strong { color: var(--t1); font-weight: 650; }

:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
}

::selection { background: var(--accent); color: var(--bg0); }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.nw { white-space: nowrap; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* the app's line icons (components/nav-menu.tsx), from the sprite at the top of the page */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  flex: none;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* a single marquee bulb, reused for eyebrows and the wordmark */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 20px;
  font: 700 12px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 36%, var(--bulb-hi) 0 22%, var(--bulb-mid) 56%, var(--bulb-lo));
  box-shadow: var(--bulb-glow);
}

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header::before {
  /* the app's top bar: a blurred scrim that fades out rather than a solid strip */
  content: "";
  position: absolute;
  inset: 0 0 -22px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(color-mix(in srgb, var(--bg0) 86%, transparent), color-mix(in srgb, var(--bg0) 58%, transparent) 70%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-mask-image: linear-gradient(#000 64%, transparent);
  mask-image: linear-gradient(#000 64%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  position: relative;
  font: 600 24px/1 var(--serif);
  letter-spacing: -.01em;
  color: var(--t1);
  text-decoration: none;
}
.brand::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(224, 166, 62, .6);
}
.brand:hover { color: var(--t1); }

.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--t2);
  text-decoration: none;
}
.site-nav a:hover { color: var(--t1); background: color-mix(in srgb, var(--bg2) 70%, transparent); }

.gh-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 15px 0 13px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg1) 70%, transparent);
  color: var(--t1);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.gh-link:hover { border-color: var(--accent); color: var(--t1); }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .gh-link { margin-left: auto; }
}

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font: 700 15.5px/1 var(--sans);
  letter-spacing: -.005em;
  text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 6px 22px -6px rgba(224, 166, 62, .55), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--t1);
  background: color-mix(in srgb, var(--bg1) 60%, transparent);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--t1); }
.btn:active { transform: translateY(1px); }

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding-top: clamp(36px, 6vw, 80px);
  padding-bottom: clamp(8px, 2vw, 24px);
  text-align: center;
  overflow-x: clip;
}
.hero::before {
  /* the app's film grain, from its title-page backdrops */
  content: "";
  position: absolute;
  inset: -68px 0 0;
  z-index: -1;
  pointer-events: none;
  opacity: var(--grain-opacity);
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  max-width: 11ch;
  font-size: clamp(2.95rem, 1.2rem + 8.2vw, 7.1rem);
  line-height: .95;
  letter-spacing: -.032em;
  text-wrap: balance;
}
.lede {
  max-width: 41rem;
  margin-top: 28px;
  font-size: clamp(1.06rem, .98rem + .38vw, 1.26rem);
  line-height: 1.58;
  color: var(--t2);
  text-wrap: pretty;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.fineprint {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--t3-text);
}
.fineprint .dot { margin-inline: 6px; }
@media (max-width: 640px) {
  .fineprint { display: grid; gap: 3px; }
  .fineprint .dot { display: none; }
}

/* the sign itself */
.marquee {
  --pad: clamp(16px, 2.5vw, 32px);
  --bulb: clamp(5px, .56vw, 8px);
  --spacing: clamp(15px, 1.75vw, 24px);
  position: relative;
  max-width: 1180px;
  margin: clamp(52px, 6.5vw, 88px) auto 0;
  padding: var(--pad);
  border-radius: calc(var(--pad) + 12px);
  background: linear-gradient(180deg, var(--frame-top), var(--frame-bottom));
  box-shadow:
    inset 0 1px 0 var(--frame-sheen),
    0 0 0 1px var(--frame-edge),
    var(--float-shadow),
    var(--frame-halo);
}
.bulbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.bulb {
  position: absolute;
  width: var(--bulb);
  height: var(--bulb);
  margin: calc(var(--bulb) / -2) 0 0 calc(var(--bulb) / -2);
  border-radius: 50%;
  background: var(--bulb-off);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25);
}
.bulb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 40% 36%, var(--bulb-hi) 0 20%, var(--bulb-mid) 52%, var(--bulb-lo) 100%);
  box-shadow: var(--bulb-glow);
}
/* JS powers the sign up once, top-centre outwards; without JS it's simply lit */
.js .bulbs:not(.is-lit) .bulb::after { opacity: 0; }
.bulbs.is-chasing .bulb::after {
  animation: bulb-on .7s cubic-bezier(.3, .7, .3, 1) calc(var(--d, 0) * 1.25s + .25s) both;
}
@keyframes bulb-on {
  0%   { opacity: 0; }
  30%  { opacity: 1; filter: brightness(1.35); }
  52%  { opacity: .45; }
  100% { opacity: 1; filter: none; }
}

.window {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg1);
  box-shadow: 0 0 0 1px var(--border), 0 12px 30px rgba(0, 0, 0, .3);
  text-align: left;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 36px;
  padding: 0 14px;
  background: var(--window-bar);
  border-bottom: 1px solid var(--border);
}
.traffic { display: flex; gap: 7px; flex: none; }
.traffic i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}
.address {
  flex: 0 1 460px;
  margin-inline: auto;
  transform: translateX(-26px);
  height: 23px;
  padding: 0 12px;
  border-radius: 7px;
  background: var(--bg0);
  color: var(--t3-text);
  font: 500 12px/23px var(--sans);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.address-host { color: var(--t2); }
.shot { width: 100%; }

.works-with {
  margin-top: 30px;
  font-size: 15px;
  color: var(--t3-text);
}
.works-with strong { color: var(--t2); font-weight: 650; }

@media (max-width: 640px) {
  .window-bar { height: 30px; gap: 8px; padding: 0 10px; }
  .traffic i { width: 8px; height: 8px; }
  .address { transform: none; font-size: 11px; height: 20px; line-height: 20px; }
  .address-host ~ * { display: none; }
}

/* ---------------------------------------------------------------- sections */
.section { padding-block: var(--section-pad); }
.section-alt {
  background: var(--bg1);
  border-block: 1px solid var(--border);
}
@media (prefers-color-scheme: light) {
  .section-alt { background: #f5f1e9; }
}
.section-tight { padding-block: 0 var(--section-pad); }

.section-head h2 {
  font-size: clamp(2.2rem, 1.25rem + 3.2vw, 3.85rem);
  line-height: 1.02;
  letter-spacing: -.024em;
  text-wrap: balance;
}
.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 28px clamp(32px, 6vw, 96px);
  align-items: end;
}
.section-head.centered {
  max-width: 50rem;
  margin-inline: auto;
  text-align: center;
}
.section-head.centered .section-intro { margin-top: 24px; }
.section-intro {
  font-size: clamp(1.02rem, .98rem + .2vw, 1.12rem);
  line-height: 1.62;
  color: var(--t2);
  text-wrap: pretty;
}
@media (max-width: 860px) {
  .section-head.split { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------- 1. status key */
/* The app's status pills (components/status-badge.tsx, compact size). */
.status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 17px;
  padding: 0 6px 0 5px;
  border: 1px solid;
  border-radius: 9px;
  font: 600 10px/1 var(--sans);
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}
.status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.st-owned {
  color: var(--owned);
  background: color-mix(in srgb, var(--owned-bg) 94%, transparent);
  border-color: color-mix(in srgb, var(--owned) 32%, transparent);
}
.st-tracked {
  color: var(--tracked);
  background: color-mix(in srgb, var(--tracked-bg) 94%, transparent);
  border-color: color-mix(in srgb, var(--tracked) 32%, transparent);
}
.st-downloading {
  color: var(--downloading);
  background: color-mix(in srgb, var(--downloading-bg) 94%, transparent);
  border-color: color-mix(in srgb, var(--downloading) 32%, transparent);
}
.st-ready {
  color: var(--ready);
  background: color-mix(in srgb, var(--ready-bg) 94%, transparent);
  border-color: color-mix(in srgb, var(--ready) 32%, transparent);
}
.st-missing {
  color: var(--missing);
  background: color-mix(in srgb, var(--missing-bg) 94%, transparent);
  border-color: color-mix(in srgb, var(--missing) 32%, transparent);
}
.st-unmonitored {
  color: var(--unmonitored);
  background: color-mix(in srgb, var(--unmonitored-bg) 94%, transparent);
  border-color: color-mix(in srgb, var(--unmonitored) 32%, transparent);
}
.st-soon {
  color: var(--soon);
  background: color-mix(in srgb, var(--soon-bg) 94%, transparent);
  border-color: color-mix(in srgb, var(--soon) 32%, transparent);
}
.st-none {
  padding: 0 7px;
  color: var(--t2);
  background: transparent;
  border: 1px dashed var(--border-strong);
  box-shadow: none;
}

/* the key: each status, its poster strip colour, and what it means */
.legend {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 28px;
  margin: clamp(52px, 6vw, 76px) 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.legend-item dt { display: flex; align-items: center; gap: 10px; }
.legend-item dt::after {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--sw, transparent);
}
.legend-item:nth-child(1) { --sw: var(--owned); }
.legend-item:nth-child(2) { --sw: var(--downloading); }
.legend-item:nth-child(3) { --sw: var(--ready); }
.legend-item:nth-child(4) { --sw: var(--missing); }
.legend-item:nth-child(5) { --sw: var(--unmonitored); }
.legend-item:nth-child(6) { --sw: var(--soon); }
.legend-item .status { height: 24px; padding: 0 10px 0 8px; font-size: 12.5px; border-radius: 12px; box-shadow: none; }
.legend-item .status i { width: 6px; height: 6px; }
.legend-item dd {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--t2);
}
@media (max-width: 1080px) {
  .legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .legend { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .legend { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .legend { grid-template-columns: 1fr; }
}

.aside {
  max-width: 50rem;
  margin-top: 40px;
  font-size: 16px;
  color: var(--t2);
}

/* ------------------------------------------------ 2. getting around */
/* The rail and the open menu, built like components/nav-menu.tsx over the
   title page (rendered without its own rail). Menu sizes are in em off the
   panel's 16px. */
.menu-shots {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px 22px;
  margin-top: clamp(52px, 6vw, 76px);
}
.menu-shot { margin: 0; }
.menu-shot figcaption {
  max-width: 34rem;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}
.menu-shots .reveal:nth-child(2) { transition-delay: .08s; }
.stage {
  position: relative;
  height: 600px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 18px;
  background: var(--bg0);
  box-shadow: 0 0 0 1px var(--frame-edge), var(--float-shadow);
}
@media (prefers-color-scheme: light) {
  .stage { box-shadow: 0 0 0 1px rgba(120, 92, 40, .3), var(--float-shadow); }
}
/* the title page's top left at its real size */
.stage-shot {
  position: absolute;
  left: 0;
  top: 0;
  width: 760px;
  max-width: none;
}

/* the rail: every section, grouped by hairlines */
.rail {
  position: absolute;
  left: 16px;
  top: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 7px;
  transform: translateY(-50%);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  background: var(--glass);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  backdrop-filter: blur(28px) saturate(1.6);
  font-size: 16px;
}
.rail > span {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--t2);
}
.rail .ic { font-size: 19px; }
.rail > .rail-me { margin-bottom: 4px; }
.rail > .is-current { background: var(--t1); color: var(--bg0); }
.rail > .is-hover { background: color-mix(in srgb, var(--t1) 10%, transparent); color: var(--t1); }
.rail-sep { display: block; width: 24px; height: 1px; margin: 4px 0; background: var(--glass-border); }
/* an admin with requests waiting */
.rail > .has-dot::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--bg1);
}
/* the name beside an icon on hover (RailLabel) */
.rail-label {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 12px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  backdrop-filter: blur(28px) saturate(1.6);
  font: 500 13px/1.2 var(--sans);
  color: var(--t1);
  white-space: nowrap;
}
.cursor {
  position: absolute;
  left: 23px;
  top: 21px;
  width: 17px;
  height: 24px;
  fill: #111;
  stroke: #fff;
  stroke-width: 1.3;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 1.5px rgb(0 0 0 / .35));
}

.navp {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 18em;
  max-width: calc(100% - 24px);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 1.5em;
  background: var(--glass);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  backdrop-filter: blur(28px) saturate(1.6);
  font-size: 16px;
  line-height: 1.3;
  color: var(--t1);
  text-align: left;
}
.navp-main { flex: 1; min-height: 0; padding: 1em .75em .75em; }
.navp-me {
  display: flex;
  align-items: center;
  gap: .75em;
  padding: .375em .75em .375em .375em;
}
.navp-who { display: grid; flex: 1; min-width: 0; }
.navp-name { font-size: .9375em; font-weight: 650; line-height: 1.34; }
.navp-host { font-size: .71875em; line-height: 1.4; color: var(--t3-text); }
.navp-me .ic { color: var(--t3-text); }

/* components/user-avatar.tsx: initials on the accent gradient */
.av {
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: var(--avatar);
  box-shadow: 0 0 0 2px rgb(255 255 255 / .15);
  color: var(--bg0);
  font-weight: 650;
  line-height: 1;
}
.av-38 { width: 2.639em; height: 2.639em; font-size: .9em; }    /* 38px */
.av-36 { width: 2.632em; height: 2.632em; font-size: .855em; }  /* 36px */

.navp-rows { display: flex; flex-direction: column; gap: .125em; margin-top: .75em; }
.navp-row {
  display: flex;
  align-items: center;
  gap: .933em;
  height: 2.667em;
  padding: 0 .933em;
  border-radius: 999px;
  font-size: .9375em;
  font-weight: 500;
  color: color-mix(in srgb, var(--t1) 90%, transparent);
}
.navp-row .ic { font-size: 1.267em; }
.navp-row.big { gap: .875em; height: 2.75em; padding: 0 .875em; font-size: 1em; font-weight: 650; }
.navp-row.big .ic { font-size: 1.25em; }
.navp-row.is-current {
  background: var(--t1);
  color: var(--bg0);
  box-shadow: 0 .4em 1.2em rgb(0 0 0 / .25);
}
.navp-count {
  display: grid;
  place-items: center;
  min-width: 1.714em;
  height: 1.714em;
  margin-left: auto;
  padding: 0 .476em;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg0);
  font-size: .7em;
  font-weight: 800;
}
.navp-head {
  display: flex;
  align-items: center;
  gap: 1.043em;
  padding: 1.391em 1.043em .522em;
  font-size: .71875em;
  font-weight: 650;
  color: var(--t3-text);
}
.navp-head::after { content: ""; flex: 1; height: 1px; background: var(--glass-border); }
.navp-foot {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  padding: .75em 1.25em;
  border-top: 1px solid var(--glass-border);
}
.navp-mark { position: relative; font: 600 1.0625em/1 var(--serif); letter-spacing: -.01em; }
.navp-mark::after {
  content: "";
  position: absolute;
  right: -.5em;
  top: -.1em;
  width: .353em;
  height: .353em;
  border-radius: 50%;
  background: var(--accent);
}
.navp-theme {
  display: grid;
  place-items: center;
  width: 1.75em;
  height: 1.75em;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--t2);
}
.navp-theme .ic { font-size: .8125em; }
.navp-theme .ic-sun { display: none; }
@media (prefers-color-scheme: light) {
  .navp-theme .ic-moon { display: none; }
  .navp-theme .ic-sun { display: block; }
}

@media (max-width: 900px) {
  .menu-shots { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .stage { height: 580px; border-radius: 16px; }
  /* a phone opens the same menu as a drawer over a dimmed page */
  .stage-panel::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgb(0 0 0 / .45); }
}

/* ------------------------------------------------- 3. how it connects */
.flow {
  --row: 62px;
  --reach: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  margin-top: clamp(56px, 7vw, 88px);
}
.flow-label {
  margin-bottom: 14px;
  font: 700 11.5px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--t3-text);
}
.flow-col { position: relative; min-width: 0; }
.flow-in { padding-right: var(--reach); }
.flow-out { padding-left: var(--reach); }
.flow-in .flow-label { padding-left: 134px; }
.flow-out .flow-label { padding-left: 40px; }

.credits { margin: 0; }
.flow .credits { position: relative; }
.flow .credit {
  display: flex;
  align-items: center;
  height: var(--row);
  gap: 16px;
}
.flow .credit dt {
  flex: none;
  width: 118px;
  font: 700 11px/1.2 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--t3-text);
}
.flow .credit dd {
  margin: 0;
  font: 500 clamp(19px, 1.1rem + .35vw, 24px)/1.15 var(--serif);
  color: var(--t1);
  letter-spacing: -.01em;
}
.flow-in .credit dt { text-align: right; }
.flow-out .credit dd {
  font: 500 15px/1.35 var(--sans);
  letter-spacing: 0;
  color: var(--t2);
}
.flow-out .credit dt { color: var(--t1); font-weight: 700; }
.credit .sep { color: var(--accent-ink); margin-inline: 4px; }

/* leader lines into a bus on each side of the hub */
.flow-in .credit::after,
.flow-out .credit::before {
  content: "";
  flex: 1;
  min-width: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong));
}
.flow-out .credit::before { flex: 0 0 26px; background: var(--border-strong); order: -1; }
.flow-out .credit { gap: 14px; }
.flow-in .credits::after,
.flow-out .credits::before {
  content: "";
  position: absolute;
  top: calc(var(--row) / 2);
  bottom: calc(var(--row) / 2);
  width: 1px;
  background: var(--border-strong);
}
.flow-in .credits::after { right: 0; }
.flow-out .credits::before { left: 0; }
.flow-in::after,
.flow-out::before {
  /* the bus's midpoint to the hub */
  content: "";
  position: absolute;
  top: calc(50% + 14px);
  width: var(--reach);
  height: 1px;
  background: linear-gradient(90deg, var(--border-strong), var(--accent));
}
.flow-in::after { right: 0; }
.flow-out::before { left: 0; transform: scaleX(-1); }

.flow-hub {
  position: relative;
  display: grid;
  justify-items: center;
  width: clamp(120px, 12vw, 150px);
}
.hub-mark {
  position: relative;
  width: 104px;
  height: 104px;
  margin-top: 28px;
  border-radius: 30px;
  box-shadow: 0 0 0 1px var(--border-strong), 0 0 60px -6px rgba(224, 166, 62, .45), var(--card-shadow);
}
.hub-mark img { width: 100%; height: 100%; }
.hub-name {
  margin-top: 14px;
  font: 600 22px/1 var(--serif);
  color: var(--t1);
}
.hub-sub {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--t3-text);
  text-align: center;
}
/* keep the hub's icon on the line: name and caption hang below it */
.flow-hub .hub-name,
.flow-hub .hub-sub { position: absolute; top: 132px; width: 180px; text-align: center; }
.flow-hub .hub-sub { top: 162px; }

.flow-notes {
  max-width: 46rem;
  margin: clamp(88px, 8vw, 104px) auto 0;
  font-size: 15px;
  color: var(--t3-text);
  text-align: center;
}

@media (max-width: 980px) {
  .flow {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
  }
  .flow-in, .flow-out { padding: 0; width: min(100%, 460px); }
  .flow-in .flow-label, .flow-out .flow-label { text-align: center; padding: 0; }
  .flow-in::after, .flow-out::before,
  .flow-in .credits::after, .flow-out .credits::before,
  .flow-in .credit::after, .flow-out .credit::before { display: none; }
  .flow .credit {
    height: auto;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
  }
  .flow-in .credit dt { text-align: left; }
  .flow .credit:last-child { border-bottom: 1px solid var(--border); }
  .flow-hub {
    width: auto;
    margin: 30px 0;
    padding: 34px 0;
  }
  .flow-hub::before, .flow-hub::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 1px;
    height: 34px;
    background: linear-gradient(var(--border-strong), var(--accent));
  }
  .flow-hub::before { top: 0; }
  .flow-hub::after { bottom: 0; transform: scaleY(-1); }
  .hub-mark { margin-top: 0; width: 88px; height: 88px; border-radius: 25px; }
  .flow-hub .hub-name, .flow-hub .hub-sub { position: static; width: auto; }
  .flow-notes { margin-top: 48px; }
}

/* -------------------------------------------------------- 4. requests */
.tickets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: clamp(52px, 6vw, 76px) 0 0;
  padding: 0;
  list-style: none;
}
.ticket-step {
  --notch-bg: var(--bg0);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg1);
  box-shadow: var(--card-shadow);
}
.step-body {
  flex: 1;
  padding: 26px 24px 26px;
}
.step-no {
  font: italic 500 46px/.9 var(--serif);
  color: var(--accent-display);
}
.ticket-step h3 {
  margin-top: 14px;
  font-size: 25px;
  line-height: 1.1;
}
.step-body > p:not(.step-no) {
  margin: 8px 0 22px;
  font-size: 15px;
  line-height: 1.55;
}
@media (min-width: 1041px) {
  .step-body > p:not(.step-no) { min-height: 4.65em; }
}

/* perforation between the ticket and its stub */
.stub {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 8px;
  padding: 18px 24px 20px;
  background-image: radial-gradient(circle, var(--border-strong) 1.3px, transparent 1.8px);
  background-size: 11px 4px;
  background-repeat: repeat-x;
  background-position: 14px 0;
}
.stub::before,
.stub::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 22px;
  height: 22px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--notch-bg);
}
.stub::before { left: -12px; clip-path: inset(0 0 0 50%); }
.stub::after { right: -12px; clip-path: inset(0 50% 0 0); }
.stub-label {
  width: 100%;
  font: 700 10.5px/1.2 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--t3-text);
}
.stub-then { color: var(--t3-text); font-size: 13px; }

.rbadge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
}
.rb-pending, .rb-tracked { background: var(--tracked-bg); color: var(--tracked); }
.rb-owned { background: var(--owned-bg); color: var(--owned); }
.rb-downloading { background: var(--downloading-bg); color: var(--downloading); }

/* the small replicas of app UI inside each ticket */
.mini {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg0);
  font-size: 13px;
  color: var(--t2);
}
.mini-title {
  display: flex;
  gap: 14px;
  padding: 14px;
}
.mini-poster {
  flex: none;
  position: relative;
  width: 64px;
  height: 96px;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 0 0 1px var(--border-strong), 0 8px 18px rgba(0, 0, 0, .35);
}
.mini-poster img, .queue-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-main { min-width: 0; }
.mini-name { font: 600 19px/1.15 var(--serif); color: var(--t1); letter-spacing: -.01em; }
.mini-meta { margin-top: 3px; font-size: 12px; color: var(--t3-text); }
.mini-meta span { margin-inline: 3px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 25px;
  margin-top: 9px;
  padding: 0 10px 0 9px;
  border: 1px solid var(--border);
  border-radius: 13px;
  font-size: 11.5px;
  font-weight: 650;
  white-space: nowrap;
}
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-untracked { background: var(--untracked-bg); color: var(--t2); }

.req-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
}
.req-btn {
  height: 25px;
  padding: 0 13px;
  border-radius: 13px;
  background: var(--accent);
  color: var(--on-accent);
  font: 650 11.5px/25px var(--sans);
}
.req-arrow { color: var(--t3-text); font-size: 12px; }
.req-done {
  height: 25px;
  padding: 0 10px;
  border-radius: 13px;
  background: var(--tracked-bg);
  color: var(--tracked);
  font: 600 11px/25px var(--sans);
  white-space: nowrap;
}

.mini-queue { padding: 6px 12px 8px; }
.queue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0 8px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--t3-text);
}
.queue-all {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}
.queue-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
}
.queue-row + .queue-row { border-top: 1px solid var(--border); }
.queue-thumb {
  flex: none;
  width: 30px;
  height: 45px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 0 0 1px var(--border-strong);
}
.queue-who { flex: 1; min-width: 0; }
.queue-who p:first-child {
  font-weight: 650;
  line-height: 1.3;
  color: var(--t1);
}
.queue-who p + p { font-size: 11.5px; color: var(--t3-text); }
.q-reject, .q-approve {
  flex: none;
  height: 25px;
  padding: 0 10px;
  border-radius: 13px;
  font: 600 11px/23px var(--sans);
}
.q-reject { border: 1px solid var(--border-strong); color: var(--t1); }
.q-approve { border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent); }

/* step 3: the notification on Sam's phone, over a lock-screen wallpaper */
.mini-phone {
  --wall-text: rgb(255 255 255 / .94);
  --notif-bg: rgb(38 38 46 / .58);
  --notif-edge: rgb(255 255 255 / .09);
  --notif-text: #fff;
  position: relative;
  padding: 12px 12px 14px;
  overflow: hidden;
  border-color: transparent;
  background:
    radial-gradient(110% 80% at 88% 0%, rgb(240 162 90 / .6), transparent 62%),
    radial-gradient(90% 90% at 0% 100%, rgb(79 143 209 / .5), transparent 66%),
    linear-gradient(165deg, #1d2438, #0c0e16);
}
@media (prefers-color-scheme: light) {
  .mini-phone {
    --wall-text: rgb(20 24 36 / .9);
    --notif-bg: rgb(255 255 255 / .6);
    --notif-edge: rgb(255 255 255 / .7);
    --notif-text: #17181c;
    background:
      radial-gradient(110% 80% at 88% 0%, rgb(246 186 63 / .55), transparent 62%),
      radial-gradient(90% 90% at 0% 100%, rgb(120 168 226 / .55), transparent 66%),
      linear-gradient(165deg, #f6f1e7, #dde5f0);
  }
}
.phone-time {
  margin-bottom: 10px;
  font: 650 26px/1 var(--sans);
  letter-spacing: -.02em;
  text-align: center;
  color: var(--wall-text);
}
.notif {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  padding: 10px 12px 11px 10px;
  border-radius: 16px;
  background: var(--notif-bg);
  box-shadow: inset 0 0 0 1px var(--notif-edge), 0 6px 18px rgb(0 0 0 / .18);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  color: var(--notif-text);
}
.notif img { flex: none; width: 30px; height: 30px; border-radius: 8px; }
.notif-text { min-width: 0; flex: 1; }
.notif-head { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; opacity: .7; }
.notif-title { margin-top: 1px; font-size: 13px; font-weight: 700; line-height: 1.3; }
.notif-body { font-size: 12.5px; line-height: 1.4; }
/* older notifications stacked underneath */
.notif-stack {
  height: 8px;
  margin: 0 10px;
  border-radius: 0 0 12px 12px;
  background: var(--notif-bg);
  opacity: .8;
}
.notif-stack + .notif-stack { height: 6px; margin: 0 20px; opacity: .55; }

/* notifications from your own server */
.push {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px clamp(32px, 5vw, 72px);
  align-items: center;
  margin-top: clamp(48px, 5vw, 64px);
  padding: clamp(26px, 3.4vw, 40px) clamp(22px, 3.4vw, 44px);
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    radial-gradient(80% 110% at 0% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 62%),
    var(--bg1);
  box-shadow: var(--card-shadow);
}
.push-bell {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 50%;
  color: var(--accent-ink);
  box-shadow: 0 0 24px -4px rgba(224, 166, 62, .45);
}
.push-bell .ic { font-size: 21px; }
.push h3 {
  font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.push-head p { margin-top: 14px; font-size: 15.5px; line-height: 1.6; text-wrap: pretty; }
.push-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px clamp(24px, 3vw, 36px);
  margin: 0;
}
.push-facts div { padding-top: 16px; border-top: 1px solid var(--border); }
.push-facts dt {
  font: 700 11.5px/1.4 var(--sans);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.push-facts dd { margin: 7px 0 0; font-size: 15px; line-height: 1.58; }
@media (max-width: 860px) {
  .push { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .push-facts { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

.fine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px clamp(24px, 4vw, 56px);
  margin: clamp(48px, 5vw, 64px) 0 0;
}
.fine-grid div { padding-top: 20px; border-top: 1px solid var(--border); }
.fine-grid dt { font: 600 19px/1.25 var(--serif); color: var(--t1); letter-spacing: -.01em; }
.fine-grid dd { margin: 8px 0 0; font-size: 15px; line-height: 1.6; }

@media (max-width: 1040px) {
  .tickets { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .fine-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* ------------------------------------------------------------- 5. Mac */
.mac { overflow-x: clip; }
.mac-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 5vw, 72px) clamp(40px, 6vw, 88px);
  align-items: center;
}
.feature-copy h2 {
  font-size: clamp(2.2rem, 1.25rem + 3.2vw, 3.85rem);
  line-height: 1.02;
  letter-spacing: -.024em;
  text-wrap: balance;
}
.feature-copy .section-intro { margin-top: 22px; }
.points {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.points li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.6;
}
.points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(224, 166, 62, .5);
}
.points code, .win-later code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--bg2);
  color: var(--t1);
  font-size: .86em;
  overflow-wrap: anywhere;
}

.mac-visual {
  position: relative;
  /* bleed off the right edge of the page, like the app's shelves */
  margin-right: calc(-1 * max(var(--gutter), (100vw - var(--max)) / 2) - 1px);
  padding: 0 0 52px;
}
.mac-window {
  margin: 0;
  overflow: hidden;
  border-radius: 13px 0 0 13px;
  box-shadow: 0 0 0 1px var(--frame-edge), var(--float-shadow);
  -webkit-mask-image: linear-gradient(#000 80%, transparent 99%);
  mask-image: linear-gradient(#000 80%, transparent 99%);
}
.mac-window img { width: 100%; }
@media (prefers-color-scheme: light) {
  .mac-window { box-shadow: 0 0 0 1px rgba(120, 92, 40, .3), var(--float-shadow); }
}
.mac-connect {
  /* bottom right, so the window's navigation rail and poster stay in view */
  position: absolute;
  right: 7%;
  bottom: 0;
  width: min(36%, 290px);
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 0 0 2px rgba(0, 0, 0, .6), 0 34px 60px -14px rgba(0, 0, 0, .75);
}

.mac-foot {
  /* same two columns as above: shortcuts under the copy, requirements under the window */
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(40px, 6vw, 88px);
  row-gap: 24px;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.keys {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 14px 30px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--t2);
}
.keys li { display: flex; align-items: center; gap: 9px; }
.keycombo { display: inline-flex; align-items: center; gap: 3px; color: var(--t3-text); }
kbd {
  display: inline-grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  padding: 0 6px;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  background: linear-gradient(var(--bg2), var(--bg1));
  box-shadow: 0 2px 0 var(--border-strong);
  color: var(--t1);
  font: 650 12.5px/1 var(--sans);
}
.mac-req {
  max-width: 34rem;
  font-size: 14px;
  line-height: 1.55;
  color: var(--t3-text);
}

/* download buttons and the first-launch note, Mac and Windows */
.get { margin-top: 34px; }
.get-row { display: flex; flex-wrap: wrap; gap: 12px; }
.get-row .ic { font-size: 19px; stroke-width: 2; }
.get-note {
  max-width: 34rem;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--t3-text);
}
.get-note .nw { color: var(--t2); }
@media (max-width: 900px) {
  .mac-grid, .mac-foot { grid-template-columns: minmax(0, 1fr); }
  .mac-visual { margin-right: 0; padding-bottom: 36px; }
  .mac-window { border-radius: 12px; -webkit-mask-image: none; mask-image: none; }
  .mac-connect { right: -4px; width: 40%; }
}
@media (max-width: 560px) {
  .keys { display: flex; flex-wrap: wrap; gap: 12px 22px; }
}

/* --------------------------------------------------------- 6. Windows */
/* Straight on from the Mac band: same background, a hairline between. */
.section-alt + .section-alt { border-top: 0; }
.win { padding-top: 0; overflow-x: clip; }
.win-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(48px, 6vw, 80px) clamp(40px, 6vw, 88px);
  align-items: center;
  padding-top: var(--section-pad);
  border-top: 1px solid var(--border);
}
.tag {
  padding: 4px 8px 3px;
  border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: .12em;
}
.win-later { max-width: 34rem; margin-top: 20px; font-size: 14px; line-height: 1.6; color: var(--t3-text); }

/* a Windows 11 window (MainWindow.xaml): Mica, the top bar, the rail */
.win-visual { position: relative; padding-bottom: 46px; }
.win-frame {
  --win-edge: rgb(255 255 255 / .1);
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  background: linear-gradient(115deg, color-mix(in srgb, var(--bg0) 90%, #41557d), var(--bg0) 48%);
  box-shadow: 0 0 0 1px var(--win-edge), var(--float-shadow);
  font-family: "Segoe UI Variable Text", "Segoe UI", var(--sans);
  color: var(--t2);
}
@media (prefers-color-scheme: light) {
  .win-frame { --win-edge: rgb(0 0 0 / .12); }
}
.win-bar { display: flex; align-items: center; gap: 8px; height: 52px; padding-left: 22px; }
.win-mark { font: 600 22px/1 Georgia, var(--serif); letter-spacing: -.02em; color: var(--t1); white-space: nowrap; }
.win-mark i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0 0 4px;
  vertical-align: top;
  border-radius: 50%;
  background: var(--accent);
}
.win-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: min(260px, 40%);
  height: 32px;
  margin-left: auto;
  padding: 0 10px 0 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-bottom-color: var(--border-strong);
  border-radius: 5px;
  background: color-mix(in srgb, var(--bg1) 70%, transparent);
  font-size: 12.5px;
  color: var(--t3-text);
  white-space: nowrap;
}
.win-search span { overflow: hidden; text-overflow: ellipsis; }
.win-search .ic { font-size: 15px; }
.win-bell { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--t2); }
.win-bell .ic { font-size: 17px; }
.win-caps { display: flex; align-self: flex-start; margin-left: 4px; }
.win-caps i { position: relative; display: grid; place-items: center; width: 46px; height: 32px; color: var(--t2); }
.win-caps i::before, .win-caps i::after { content: ""; position: absolute; }
.cap-min::before { width: 10px; height: 1px; background: currentColor; }
.cap-max::before { width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 2px; }
.cap-close::before, .cap-close::after { width: 13px; height: 1px; background: currentColor; transform: rotate(45deg); }
.cap-close::after { transform: rotate(-45deg); }

.win-body { position: relative; height: 540px; }
.wpage { position: absolute; inset: 0 0 0 72px; padding: 14px 22px 0 24px; }
.wpage-title { font: 600 26px/1.1 Georgia, var(--serif); letter-spacing: -.01em; color: var(--t1); }
.wpage-muted { margin-top: 8px; font-size: 13px; color: var(--t3-text); }
.wpage-sub { margin-top: 24px; font: 600 17px/1.2 Georgia, var(--serif); color: var(--t1); }
.wlist { margin-top: 10px; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; }
.wrow {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.35;
}
.wrow + .wrow { border-top: 1px solid var(--border); }
.wthumb { width: 30px; height: 45px; overflow: hidden; border-radius: 5px; box-shadow: 0 0 0 1px var(--border-strong); }
.wthumb img { width: 100%; height: 100%; object-fit: cover; }
.wrow-title { display: block; font-weight: 650; color: var(--t1); }
.wrow-by { display: block; font-size: 12px; color: var(--t3-text); }
.wbadge { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 650; }
.wb-declined { background: var(--untracked-bg); color: var(--t2); }
.wb-approved { background: var(--owned-bg); color: var(--owned); }
.wreason { display: block; margin-top: 5px; font-size: 11.5px; line-height: 1.4; color: var(--t3-text); }

/* a Windows notification, from the app's live connection to the server */
.toast {
  position: absolute;
  right: -26px;
  bottom: 0;
  z-index: 3;
  width: 300px;
  padding: 12px 14px 14px;
  border: 1px solid rgb(255 255 255 / .08);
  border-radius: 9px;
  background: rgb(44 44 46 / .9);
  box-shadow: 0 30px 60px -18px rgb(0 0 0 / .75), 0 8px 20px rgb(0 0 0 / .3);
  -webkit-backdrop-filter: blur(30px) saturate(1.4);
  backdrop-filter: blur(30px) saturate(1.4);
  font-family: "Segoe UI Variable Text", "Segoe UI", var(--sans);
  color: #f3f3f3;
}
@media (prefers-color-scheme: light) {
  .toast {
    border-color: rgb(0 0 0 / .08);
    background: rgb(250 250 250 / .92);
    box-shadow: 0 30px 60px -18px rgb(60 45 20 / .35), 0 8px 20px rgb(60 45 20 / .12);
    color: #1b1b1b;
  }
}
.toast-top { display: flex; align-items: center; gap: 8px; font-size: 12px; opacity: .8; }
.toast-top img { width: 16px; height: 16px; border-radius: 4px; }
.toast-top span:last-child { margin-left: auto; letter-spacing: .12em; }
.toast-title { margin-top: 10px; font-size: 14px; font-weight: 650; }
.toast-body { margin-top: 2px; font-size: 13px; line-height: 1.4; opacity: .85; }

@media (max-width: 900px) {
  .win-grid { grid-template-columns: minmax(0, 1fr); }
  .win-copy { order: -1; }
  .toast { right: 12px; }
}
@media (max-width: 560px) {
  .win-search { display: none; }
  .win-bell { margin-left: auto; }
  .win-body { height: 600px; }
  .wpage { padding-right: 14px; padding-left: 14px; }
  .wrow { grid-template-columns: 30px minmax(0, 1fr); align-items: start; }
  .wrow-status { grid-column: 2; }
  .toast { right: 8px; width: min(300px, calc(100% - 16px)); }
}

/* ---------------------------------------------------------- 7. install */
.admit {
  --notch-bg: var(--bg0);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  margin-top: clamp(48px, 6vw, 72px);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg1);
  box-shadow: var(--card-shadow);
}
.admit-main { min-width: 0; padding: 28px clamp(20px, 3vw, 36px) 30px; }
.admit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.admit-head h3 { font-size: 24px; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg2);
  color: var(--t1);
  font: 650 13px/1 var(--sans);
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.copy-btn:hover { border-color: var(--accent); }
.copy-btn.is-copied { border-color: var(--owned); color: var(--owned); }
.code {
  margin: 18px 0 0;
  padding: 18px 20px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--code-bg);
  color: var(--t1);
  font-size: 13.5px;
  line-height: 1.8;
  tab-size: 2;
}
.code code { font-size: inherit; }
@media (max-width: 560px) {
  .code { padding: 14px 14px; font-size: 12.5px; }
}
.c-prompt { color: var(--t3-text); user-select: none; -webkit-user-select: none; }
.c-comment { color: var(--t3-text); }
.admit-then, .admit-tip {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.6;
}
.admit-tip { margin-top: 10px; font-size: 14px; color: var(--t3-text); }
.admit-then code, .admit-tip code {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--bg2);
  color: var(--t1);
  overflow-wrap: anywhere;
}

.admit-stub {
  position: relative;
  display: flex;
  align-items: center;
  padding: 28px 26px;
  background-image: radial-gradient(circle, var(--border-strong) 1.3px, transparent 1.8px);
  background-size: 4px 11px;
  background-repeat: repeat-y;
  background-position: 0 14px;
}
.admit-stub::before,
.admit-stub::after {
  content: "";
  position: absolute;
  left: -11px;
  width: 22px;
  height: 22px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--notch-bg);
}
.admit-stub::before { top: -12px; clip-path: inset(50% 0 0 0); }
.admit-stub::after { bottom: -12px; clip-path: inset(0 0 50% 0); }
.admit-stub dl { display: grid; gap: 16px; margin: 0; width: 100%; }
.admit-stub dt {
  font: 700 10.5px/1.2 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--t3-text);
}
.admit-stub dd {
  margin: 3px 0 0;
  font: 600 19px/1.2 var(--serif);
  color: var(--t1);
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .admit { grid-template-columns: 1fr; }
  .admit-stub {
    padding: 22px clamp(20px, 3vw, 36px) 24px;
    background-image: radial-gradient(circle, var(--border-strong) 1.3px, transparent 1.8px);
    background-size: 11px 4px;
    background-repeat: repeat-x;
    background-position: 14px 0;
  }
  .admit-stub::before, .admit-stub::after { top: -11px; bottom: auto; }
  .admit-stub::before { left: -12px; clip-path: inset(0 0 0 50%); }
  .admit-stub::after { left: auto; right: -12px; clip-path: inset(0 50% 0 0); }
  .admit-stub dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.install-more {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}
.more {
  padding: 26px clamp(20px, 3vw, 32px) 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
}
.more h3 { font-size: 22px; }
.more p { margin-top: 10px; font-size: 15px; line-height: 1.6; }
.more-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px !important; }
.more-links a { font-weight: 650; }
@media (max-width: 760px) {
  .install-more { grid-template-columns: 1fr; }
}

.stays {
  margin-top: clamp(72px, 9vw, 120px);
  text-align: center;
}
.stays-title {
  font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.credits-wide {
  display: grid;
  gap: 0;
  max-width: 880px;
  margin: 40px auto 0;
  text-align: left;
}
.credits-wide .credit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  gap: 32px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.credits-wide .credit:last-child { border-bottom: 1px solid var(--border); }
.credits-wide dt {
  padding-top: 4px;
  text-align: right;
  font: 700 11.5px/1.4 var(--sans);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.credits-wide dd { margin: 0; font-size: 16px; line-height: 1.6; color: var(--t2); }
.beta-note { margin-top: 28px; font-size: 14px; color: var(--t3-text); }
@media (max-width: 640px) {
  .credits-wide .credit { grid-template-columns: 1fr; gap: 6px; }
  .credits-wide dt { text-align: left; }
}

/* ------------------------------------------------------- now showing */
.release {
  --notch-bg: var(--bg0);
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg1);
  box-shadow: var(--card-shadow);
}
.release-stub {
  position: relative;
  display: grid;
  place-items: center;
  border-right: 0;
  background-image: radial-gradient(circle, var(--border-strong) 1.3px, transparent 1.8px);
  background-size: 4px 11px;
  background-repeat: repeat-y;
  background-position: 100% 14px;
}
.release-stub span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font: italic 500 30px/1 var(--serif);
  color: var(--accent-display);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.release-stub::before,
.release-stub::after {
  content: "";
  position: absolute;
  right: -12px;
  width: 22px;
  height: 22px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--notch-bg);
}
.release-stub::before { top: -12px; clip-path: inset(50% 0 0 0); }
.release-stub::after { bottom: -12px; clip-path: inset(0 0 50% 0); }
.release-body { padding: 30px clamp(22px, 4vw, 44px) 32px; }
.release-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
}
.release-meta .eyebrow { margin: 0; }
.release-meta time { font-size: 14px; color: var(--t3-text); }
.release h2 {
  margin-top: 14px;
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -.018em;
}
.release-version {
  margin-right: 10px;
  font-weight: 500;
  font-style: italic;
  color: var(--accent-display);
}
.release ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 36px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.release li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.55;
}
.release li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 7px;
  height: 1px;
  background: var(--accent);
}
.release-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; }
.release-links a { font-weight: 650; }
@media (max-width: 760px) {
  .release { grid-template-columns: 1fr; }
  .release-stub { display: none; }
  .release ul { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------- footer: end credits */
.site-footer {
  position: relative;
  padding: clamp(80px, 9vw, 120px) 0 56px;
  border-top: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
}
.footer-brand { display: flex; justify-content: center; }
.brand-lg { font-size: 44px; }
.brand-lg::after { right: -13px; top: 2px; width: 8px; height: 8px; }
.footer-tag { margin-top: 12px; font-size: 15px; color: var(--t3-text); }
.end-credits {
  display: grid;
  gap: 12px;
  max-width: 620px;
  margin: 48px auto 0;
}
.end-credits div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 26px;
  align-items: baseline;
}
.end-credits dt {
  text-align: right;
  font: 700 11px/1.4 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--t3-text);
}
.end-credits dd {
  margin: 0;
  text-align: left;
  font: 500 18px/1.4 var(--serif);
  color: var(--t1);
}
.end-credits a { color: var(--t1); text-decoration-color: var(--border-strong); }
.end-credits a:hover { color: var(--accent-ink); text-decoration-color: currentColor; }
.end-credits .sep { color: var(--accent-ink); margin-inline: 4px; }
.legal {
  max-width: 640px;
  margin: 56px auto 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--t3-text);
}
@media (max-width: 480px) {
  .end-credits div { grid-template-columns: 1fr; gap: 2px; }
  .end-credits dt, .end-credits dd { text-align: center; }
  .end-credits { gap: 18px; }
}

/* ------------------------------------------------------------- motion */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s cubic-bezier(.2, .65, .2, 1), transform .8s cubic-bezier(.2, .65, .2, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.tickets .reveal:nth-child(2) { transition-delay: .08s; }
.tickets .reveal:nth-child(3) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .bulbs.is-chasing .bulb::after { animation: none; }
  .btn { transition: none; }
}

@media print {
  .site-header, .skip, .copy-btn { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------- phones: tab bar and iPhone */
/* A phone frame (the iPhone app, and the website on a phone), with the
   bottom tab bar both share: Discover, Search, Requests, Calendar, More. */
.stage-phone {
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%),
    var(--bg1);
}
.phone {
  position: relative;
  width: 282px;
  height: 560px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 44px;
  background: var(--bg0);
  box-shadow: 0 0 0 9px #0d0c10, 0 0 0 10px #2b2933, var(--float-shadow);
}
@media (prefers-color-scheme: light) {
  .phone { box-shadow: 0 0 0 9px #1b1a1f, 0 0 0 10px #3a3843, var(--float-shadow); }
}
.phone::before {
  /* the Dynamic Island */
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 3;
  width: 84px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}
.phone-art { position: absolute; inset: 0 0 auto; height: 58%; overflow: hidden; }
.phone-backdrop {
  position: absolute;
  inset: -20%;
  width: 140%;
  height: 140%;
  max-width: none;
  object-fit: cover;
  filter: blur(22px) saturate(1.3);
  opacity: .75;
  -webkit-mask-image: linear-gradient(#000 45%, transparent 92%);
  mask-image: linear-gradient(#000 45%, transparent 92%);
}
.phone-poster {
  position: absolute;
  left: 50%;
  top: 54px;
  width: 132px;
  height: auto;
  transform: translateX(-50%);
  border-radius: 10px;
  box-shadow: 0 18px 36px rgb(0 0 0 / .5);
}
.phone-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 54%;
  z-index: 1;
}
.phone-copy .ph-title { font: 600 22px/1.1 var(--serif); color: var(--t1); letter-spacing: -.01em; }
.phone-copy .ph-meta { margin-top: 6px; font-size: 12px; color: var(--t3-text); }
.phone-copy .status { margin-top: 10px; height: 22px; padding: 0 9px 0 7px; font-size: 11.5px; border-radius: 11px; }
.ph-btns { display: flex; gap: 8px; margin-top: 14px; }
.ph-btns span {
  flex: 1;
  display: grid;
  place-items: center;
  height: 34px;
  border-radius: 10px;
  background: var(--bg2);
  font: 650 12.5px/1 var(--sans);
  color: var(--t1);
}
.ph-btns .is-primary { background: var(--accent); color: var(--on-accent); }

.tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 6px 24px;
  border-top: 1px solid var(--glass-border);
  background: var(--glass);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  backdrop-filter: blur(28px) saturate(1.6);
}
.tabbar > span {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  font: 600 9.5px/1 var(--sans);
  color: var(--t3-text);
}
.tabbar .ic { font-size: 21px; }
.tabbar > .is-current { color: var(--accent); }
.tab-count {
  position: absolute;
  top: -5px;
  left: calc(50% + 6px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: 700 9.5px/16px var(--sans);
  text-align: center;
}

/* the iPhone section: a Requests screen next to the copy */
.ios-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(48px, 6vw, 80px) clamp(40px, 6vw, 88px);
  align-items: center;
}
.ios-visual { display: flex; justify-content: center; padding: 12px 0; }
.ios-page { position: absolute; inset: 52px 14px 0; z-index: 1; }
.ios-page .ph-head { font: 600 26px/1.1 var(--serif); color: var(--t1); letter-spacing: -.01em; }
.ios-page .ph-sub { margin: 16px 0 8px; font: 700 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--t3-text); }
.ph-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 4px 12px;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg1);
}
.ph-card img { grid-row: span 2; width: 52px; height: 78px; border-radius: 7px; object-fit: cover; }
.ph-card .ph-name { font: 650 13.5px/1.25 var(--sans); color: var(--t1); }
.ph-card .ph-by { margin-top: 3px; font-size: 11.5px; color: var(--t3-text); }
.ph-card .ph-btns { align-self: end; margin-top: 0; }
.ph-card .ph-btns span { height: 28px; border-radius: 8px; font-size: 11.5px; }
.ph-card .ph-btns .is-approve { background: var(--owned-bg); color: var(--owned); }
@media (max-width: 900px) {
  .ios-grid { grid-template-columns: minmax(0, 1fr); }
  .ios-visual { order: 2; }
}
@media (max-width: 400px) {
  .phone { width: 260px; height: 520px; }
}

/* ------------------------------------------------- what's new, in brief */
.whatsnew {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px clamp(24px, 4vw, 56px);
  margin: clamp(48px, 5vw, 68px) 0 0;
}
.whatsnew div { padding-top: 20px; border-top: 1px solid var(--border); }
.whatsnew dt { font: 600 19px/1.25 var(--serif); color: var(--t1); letter-spacing: -.01em; }
.whatsnew dd { margin: 8px 0 0; font-size: 15px; line-height: 1.6; }
.whatsnew-more { margin-top: 40px; font-size: 15.5px; }
.whatsnew-more a { color: var(--accent-ink); font-weight: 650; }
@media (max-width: 1040px) {
  .whatsnew { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .whatsnew { grid-template-columns: minmax(0, 1fr); }
}
/* straight on from the Windows band, with a hairline between */
.ios { padding-top: 0; overflow-x: clip; }
.ios-grid { padding-top: var(--section-pad); border-top: 1px solid var(--border); }
