/* The Drone App — one stylesheet for the whole site.
   No build step, no JavaScript, no inline styles: the CSP is
   `script-src 'none'; style-src 'self'; default-src 'self'`.

   THE DESIGN. A saturated brand-blue field runs the full height of the page.
   Everything else is a large rounded card floating on it — paper, charcoal or
   blue. Between the cards the field shows through, carrying oversized outlined
   country names that run off the edge. Feature cards use a folder-tab shape.
   Both colour schemes keep the blue field; only its depth and the card
   treatments change, so the composition reads the same in either.

   Type is Outfit, a geometric sans, served from our own origin as one variable
   file (300-700). Zone colours are the app's own and are semantic: green means
   "you may fly here" and never appears on a control.
   ------------------------------------------------------------------------ */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── Tokens ─────────────────────────────────────────────────────────────── */

:root {
  /* The ground is the original draft's: near-black with three ambient washes
     in the app's own zone colours — green, blue, purple. Dark is the primary
     design; light is a true counterpart, not an afterthought. */
  /* Day: an open sky, which is where this app is used. The draft's ambient
     washes stay, softened onto the light ground. */
  --bg:   #eef4fc;
  --bg-2: #e2ebf7;
  --surface:   #ffffff;
  --surface-2: #f1f5fb;
  --border:        rgb(16 42 84 / .1);
  --border-strong: rgb(16 42 84 / .2);
  --spec:     inset 0 1px 0 rgb(255 255 255 / .95);
  --spec-dim: inset 0 1px 0 rgb(255 255 255 / .6);

  --text:       #0b1220;
  --text-dim:   #46536b;
  --text-faint: #67748c;

  --wash:
    linear-gradient(180deg, rgb(50 147 236 / .16), transparent 34rem),
    radial-gradient(900px 500px at 12% -8%, rgb(48 209 88 / .1), transparent 60%),
    radial-gradient(800px 480px at 90% 4%, rgb(50 147 236 / .14), transparent 62%),
    radial-gradient(700px 500px at 50% 100%, rgb(191 90 240 / .07), transparent 65%);

  /* Brand blue, from the app's own mark: #3293EC to #1457BD. --accent is for
     ink on the ground; --accent-fill is for anything carrying white text, and
     is kept dark enough to clear 4.5:1. */
  --accent:      #1457bd;
  --accent-fill: #1457bd;
  --accent-2:    #3293ec;
  --brand-1:     #3293ec;
  --brand-2:     #1457bd;
  --focus:       var(--accent);

  --on-field:   var(--text);
  --on-field-2: var(--text-dim);
  --field-rule: var(--border-strong);
  --field-type: rgb(10 20 84 / .26);

  --clear: #1e9e46; --alt-hi: #a37c00; --alt-lo: #c2620a;
  --nofly: #cf2b23; --temp: #8b30d6; --info: #0a84ff;
  --clear-ink: #15803a;   /* the zone green, darkened to 4.5:1 for text */

  --r: 26px;      /* outer card */
  --r-in: 16px;   /* inner card */
  --tab: 22px;    /* folder tab height */

  --s1: .25rem; --s2: .5rem;  --s3: .75rem; --s4: 1rem;   --s5: 1.5rem;
  --s6: 2.25rem; --s7: 3.5rem; --s8: 5rem;  --s9: 7rem;

  --page: 84rem;
  --gap: clamp(.75rem, 1.2vw, 1.125rem);
  --pad: clamp(1.375rem, 3vw, 2.75rem);

  --sans: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --shadow: 0 1px 2px rgb(10 30 70 / .05), 0 24px 60px -26px rgb(10 30 70 / .35);
  --ease: cubic-bezier(.22, 1, .36, 1);

  color-scheme: light dark;
}

/* Night: the original draft's ground, kept exactly — near-black with the
   washes in the app's zone colours. */
@media (prefers-color-scheme: dark) {
  :root {
    --bg:   #080b12;
    --bg-2: #0d1220;
    --surface:   rgb(255 255 255 / .055);
    --surface-2: rgb(255 255 255 / .085);
    --border:        rgb(255 255 255 / .12);
    --border-strong: rgb(255 255 255 / .2);
    --spec:     inset 0 1px 0 rgb(255 255 255 / .1);
    --spec-dim: inset 0 1px 0 rgb(255 255 255 / .06);

    --text:       #f5f7fa;
    --text-dim:   #9aa7bd;
    --text-faint: #78859c;

    --wash:
      radial-gradient(900px 500px at 12% -8%, rgb(48 209 88 / .13), transparent 60%),
      radial-gradient(800px 480px at 90% 4%, rgb(50 147 236 / .15), transparent 62%),
      radial-gradient(700px 500px at 50% 100%, rgb(191 90 240 / .08), transparent 65%);

    --accent:      #6cb6f7;
    --accent-fill: #1a63cc;
    --field-type:  rgb(255 255 255 / .24);

    --clear: #30d158; --alt-hi: #ffd60a; --alt-lo: #ff9f0a;
    --nofly: #ff453a; --temp: #bf5af0;
    --clear-ink: var(--clear);

    --shadow: 0 20px 60px -24px rgb(0 0 0 / .75);
  }
}

/* ── Base ───────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { font: 100%/1.6 var(--sans); -webkit-text-size-adjust: 100%;
       scroll-padding-top: 5rem; }

body {
  margin: 0;
  min-height: 100vh;
  padding: var(--gap);
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  /* ink tokens for anything that sits outside a card */
  --ink: var(--text); --ink-2: var(--text-dim); --ink-3: var(--text-faint);
  --rule: var(--border); --sunk: var(--surface-2);
}
::selection { background: rgb(50 147 236 / .3); }

/* Ambient wash behind everything — cheap depth, no images. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: var(--wash);
}

h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -.022em;
                 line-height: 1.08; overflow-wrap: break-word; min-width: 0; }
p, ul, ol, figure, table { margin: 0; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }

:where(a, button, summary, label.pick):focus-visible {
  outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px;
}
main:focus { outline: none; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: var(--s4); top: var(--s4); z-index: 90; padding: var(--s3) var(--s4);
  background: var(--bg-2); color: var(--text); border: 1px solid var(--accent); border-radius: 12px; }

.shell { position: relative; z-index: 1;
         width: 100%; max-width: var(--page); margin-inline: auto;
         display: flex; flex-direction: column; gap: var(--gap); }

/* ── Cards: glass over the wash ─────────────────────────────────────────── */

.card { border-radius: var(--r); padding: var(--pad); position: relative; overflow: clip;
        --hero-pad: clamp(1.75rem, 3.4vw, 3.25rem);
        border: 1px solid var(--brd, var(--border));
        box-shadow: var(--spec), var(--shadow); }
@media (prefers-color-scheme: dark) {
  @supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
    .card { backdrop-filter: saturate(160%) blur(26px);
            -webkit-backdrop-filter: saturate(160%) blur(26px); }
  }
}

/* The primary surface. */
.card-paper { background: var(--surface); color: var(--text);
              --ink: var(--text); --ink-2: var(--text-dim); --ink-3: var(--text-faint);
              --rule: var(--border); --sunk: var(--surface-2); }

/* A deeper panel, for rhythm between the primary ones. */
.card-slate { background: var(--bg-2);
              --brd: var(--border); color: var(--text);
              box-shadow: var(--spec-dim), var(--shadow);
              --ink: var(--text); --ink-2: var(--text-dim); --ink-3: var(--text-faint);
              --rule: var(--border); --sunk: rgb(255 255 255 / .55); }
/* --text-faint clears 4.5:1 on the page ground but not on this deeper one,
   so the slate card carries its own third ink. Light only: dark --bg-2 is
   already dark enough that the shared token measures 5:1 there. */
.card-slate { --ink-3: #5d687e; }
@media (prefers-color-scheme: dark) { .card-slate { --sunk: rgb(255 255 255 / .05); --ink-3: var(--text-faint); } }

/* Brand-blue tinted glass. */
/* The gradient finale, on the brand blues. White ink throughout. */
.card-blue  { background: linear-gradient(150deg, var(--brand-1), var(--brand-2) 62%);
              --brd: transparent; color: #fff; --focus: #fff;
              --ink: #fff; --ink-2: #fff; --ink-3: rgb(255 255 255 / .9);
              --rule: rgb(255 255 255 / .28);
              --sunk: rgb(255 255 255 / .14);
              box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), var(--shadow); }
.card-blue .btn-quiet { border-color: rgb(255 255 255 / .5); }
.card-blue .btn-quiet:hover { border-color: #fff; }

.card-flush { padding: 0; }
.card-hero { padding-block: var(--hero-pad); }



/* ── Chrome: a floating pill, as the references do ──────────────────────── */

.top { position: sticky; top: var(--gap); z-index: 50; }
.top-in {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: .5rem .5rem .5rem 1.25rem; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  border: 1px solid var(--border);
  box-shadow: var(--spec-dim), 0 10px 30px -14px rgb(10 30 70 / .25);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .top-in { background: color-mix(in srgb, var(--surface) 55%, transparent);
            backdrop-filter: saturate(180%) blur(20px);
            -webkit-backdrop-filter: saturate(180%) blur(20px); }
}
.brand { display: inline-flex; align-items: center; gap: .625rem; text-decoration: none;
         color: var(--text); font-size: 1.0625rem; font-weight: 600; letter-spacing: -.015em; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.top-nav { display: flex; align-items: center; gap: .25rem; }
.top-nav a { display: inline-flex; align-items: center; min-height: 40px;
             padding: 0 .85rem; border-radius: 999px; font-size: .875rem; font-weight: 500;
             color: var(--text-dim); text-decoration: none; white-space: nowrap;
             transition: background-color 140ms ease, color 140ms ease; }
.top-nav a:hover { color: var(--text); background: var(--surface-2); }
body.page-index .top-nav a[href="/"],
body.page-features .top-nav a[href="/features/"],
body.page-principles .top-nav a[href="/principles/"],
body.page-roadmap .top-nav a[href="/roadmap/"] { color: var(--text); background: var(--surface-2); }
@media (max-width: 56rem) {
  /* On a phone a sticky header is a quarter of the screen: let it scroll away. */
  .top { position: static; }
  .top-in { flex-wrap: wrap; justify-content: space-between; padding: .5rem; border-radius: var(--r); }
  .brand { padding-left: .5rem; }
  /* No `order` here: it moves boxes but not focus, so the tab ring used to
     jump down to the nav and back up to the button. DOM order is the layout. */
  .top-nav { flex-basis: 100%; justify-content: center; flex-wrap: nowrap;
             overflow-x: auto; scrollbar-width: none; }
  .top-nav::-webkit-scrollbar { display: none; }
  .top-nav a { min-height: 44px; }
  .colophon-nav { gap: 0 var(--s5); }
  .colophon-nav a { display: flex; align-items: center; min-height: 44px; }
  .top-in > .btn { padding-inline: 1rem; flex-basis: 100%; }
}

/* ── Buttons ────────────────────────────────────────────────────────────── */

.btn { justify-self: start; display: inline-flex; align-items: center; justify-content: center;
       gap: .5rem; min-height: 46px; padding: 0 1.375rem; border-radius: 999px;
       font-family: inherit; font-size: .9375rem; font-weight: 600; letter-spacing: -.005em;
       text-decoration: none; border: 1px solid transparent; cursor: pointer;
       transition: transform 160ms var(--ease), background-color 140ms ease,
                   border-color 140ms ease, box-shadow 160ms ease, opacity 140ms ease; }
/* press: a quick scale-down, so the button is felt to listen */
.btn:active { transform: scale(.97); transition-duration: 80ms; }
.btn-solid { background: var(--text); color: var(--bg); }
.btn-blue { background: var(--accent-fill); color: #fff; }
.btn-light { background: #fff; color: #0b1220; }
.btn-quiet { border-color: var(--border-strong); color: inherit; }
.btn[aria-disabled="true"] { opacity: .55; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: scale(.97); }
  .btn-solid:hover { background: color-mix(in srgb, var(--text) 86%, var(--accent));
                     box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--text) 70%, transparent); }
  .btn-blue:hover { background: color-mix(in srgb, var(--accent-fill) 84%, #fff);
                    box-shadow: 0 8px 18px -10px rgb(20 87 189 / .7); }
  .btn-light:hover { background: #f1f5fb; box-shadow: 0 8px 18px -10px rgb(4 20 50 / .45); }
  .btn-quiet:hover { border-color: currentColor; }
  .btn[aria-disabled="true"]:hover { transform: none; box-shadow: none; }
}
.btn svg { width: 16px; height: 16px; flex: none; }

/* the proof line under the hero actions */
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 0;
         font-size: .875rem; color: var(--ink-3); }
.proof b { font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.proof span { white-space: nowrap; }
.proof span + span { margin-left: .9rem; padding-left: .9rem; border-left: 1px solid var(--rule); }
@media (max-width: 46rem) {
  /* two by two, so a wrapped line never starts with a stray hairline */
  .proof { display: grid; grid-template-columns: auto auto; justify-content: center; gap: .35rem 0; }
  .proof span + span { margin-left: 0; padding-left: 0; border-left: 0; }
  .proof span:nth-child(even) { margin-left: .9rem; padding-left: .9rem; border-left: 1px solid var(--rule); }
  .proof span:nth-child(odd) { justify-self: end; }
  .proof span:nth-child(even) { justify-self: start; }
}

/* ── Eyebrow, headings, copy ────────────────────────────────────────────── */

.eyebrow { display: block; font-size: .9375rem; font-weight: 600; letter-spacing: -.005em;
           color: var(--accent); }
.card-blue .eyebrow, .card-slate .eyebrow { color: var(--z, var(--accent)); }
.card-blue .eyebrow { color: rgb(255 255 255 / .85); }

.h-xl { font-size: clamp(2.75rem, 5.6vw, 4.75rem); font-weight: 650; line-height: 1.02;
        letter-spacing: -.031em; }
.h-hero { font-size: clamp(3rem, 5.6vw, 5.25rem); font-weight: 650; line-height: 1;
          letter-spacing: -.034em; }
.hero-c { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s5); }
.hero-c .lede { max-width: 40ch; }
.proof-centred { justify-content: center; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
              gap: clamp(1.5rem, 3vw, 3.25rem); align-items: center; }
@media (max-width: 58rem) {
  .hero-split { grid-template-columns: minmax(0, 1fr); }
  .hero-c { align-items: center; text-align: center; }
  .hero-c .lede { margin-inline: auto; }
  .hero-c .actions, .hero-c .proof { justify-content: center; }
}
.h-lg { font-size: clamp(2rem, 3.9vw, 3.25rem); font-weight: 650; line-height: 1.05;
        letter-spacing: -.027em; }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 600; letter-spacing: -.022em; }
.h-sm { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.016em; }
.h-xs { font-size: 1.0625rem; font-weight: 500; line-height: 1.25; letter-spacing: -.012em; }

.lede { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.lede strong, .body strong { font-weight: 600; color: var(--ink); }
a.inl { color: var(--accent); font-weight: 600; text-decoration: underline;
        text-decoration-color: transparent; transition: text-decoration-color 140ms ease; }
a.inl:hover { text-decoration-color: currentColor; }
.body { color: var(--ink-2); max-width: 62ch; }
.small { font-size: .875rem; line-height: 1.55; color: var(--ink-3); max-width: 58ch; }
.centred { margin-inline: auto; text-align: center; }
.centred .lede, .centred .body { margin-inline: auto; }
.tnum { font-variant-numeric: tabular-nums lining-nums; }

/* ── Field bands: oversized type between cards ──────────────────────────
   Each line is sized so the whole string fits the viewport — nothing clips
   mid-word. The vw sizes are tuned to the string lengths used in the pages;
   a new string needs a new .bf-* size. ------------------------------------ */

.band { padding-block: clamp(.5rem, 1.8vw, 1.5rem); text-align: center; overflow: hidden; }
.band-type { display: block; font-weight: 650; line-height: .98; letter-spacing: -.02em;
             text-transform: uppercase; white-space: nowrap;
             color: var(--field-type); user-select: none; }
@supports (-webkit-text-stroke: 1px red) {
  .band-type { color: transparent; -webkit-text-stroke: 2px var(--field-type); }
  .band-type-fill { color: var(--field-type); -webkit-text-stroke: 0; }
}
/* <i> marks where a long line may break on a phone; on wide screens it is a dot */
.band-type i::before { content: " · "; font-style: normal; }
/* On a phone the tuned sizes shrink to a smudge; let the lines wrap instead. */
@media (max-width: 46rem) {
  .band .band-type { white-space: normal; font-size: 10.5vw; -webkit-text-stroke-width: 1.5px; }
  .band .band-type + .band-type { margin-top: .1em; }
  .band .band-type i { display: block; height: 0; overflow: hidden; }
}
.bf-14 { font-size: 9.2vw; }   /* "40+ zone types" */
.bf-19 { font-size: 7.2vw; }   /* "one tap. one answer." */
.bf-26 { font-size: 5.1vw; }   /* "175,052 zones · one answer" */
.bf-27 { font-size: 4.9vw; }   /* "weather · wind · 3d · plans" */
.bf-21 { font-size: 6.4vw; }   /* "official sources only" */
.bf-29 { font-size: 4.6vw; }   /* "next: eea · uk · us · ca · au" */

/* a quieter ghost that sits behind card content */
.ghost { position: absolute; left: 0; right: 0; bottom: -.22em; z-index: 0;
         font-size: clamp(5rem, 17vw, 15rem); font-weight: 600; line-height: .8;
         letter-spacing: -.04em; text-transform: lowercase; white-space: nowrap;
         color: var(--ink); opacity: .028; user-select: none; text-align: center; }
.over { position: relative; z-index: 1; }

/* ── Folder-tab cards ───────────────────────────────────────────────────── */

.folders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
           gap: var(--s5) var(--s4); }
.folders-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 60rem) { .folders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 60rem) { .folders-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 38rem) { .folders { grid-template-columns: minmax(0, 1fr); } }

.folder { position: relative; margin-top: var(--tab); padding: var(--s5) var(--s5) var(--s6);
          border-radius: 0 var(--r-in) var(--r-in) var(--r-in);
          background: var(--f, linear-gradient(158deg, var(--brand-1), var(--brand-2)));
          color: var(--f-ink, #fff);
          display: flex; flex-direction: column; gap: var(--s3); }
.folder::before { content: ""; position: absolute; left: 0; top: calc(var(--tab) * -1);
                  width: 47%; height: calc(var(--tab) + 1px);
                  background: var(--f, linear-gradient(158deg, var(--brand-1), var(--brand-2)));
                  border-radius: var(--r-in) var(--r-in) 0 0; }
.folder-ico { width: 40px; height: 40px; display: grid; place-items: center;
              border-radius: 12px; background: rgb(255 255 255 / .2); margin-bottom: var(--s3); }
.folder-ico svg { width: 21px; height: 21px; }
.folder h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -.018em; line-height: 1.15; }
.folder p { font-size: .9375rem; line-height: 1.55; color: rgb(255 255 255 / .92); }
.folder-num { position: absolute; top: var(--s5); right: var(--s5); font-size: .8125rem;
              font-weight: 500; color: rgb(255 255 255 / .5); font-variant-numeric: tabular-nums; }

/* pale variant, for the light card grids */
.folder-pale { --f: var(--sunk); --f-ink: var(--ink); }
.folder-pale { border: 1px solid var(--rule); border-top-color: transparent; }
.folder-pale p { color: var(--ink-2); }
.folder-pale .folder-ico { background: var(--accent-fill); color: #fff; }
.folder-pale .folder-num { color: var(--ink-2); }

/* ── Devices: Apple's product bezels ─────────────────────────────────────
   The frames are Apple's own Product Bezel artwork (developer.apple.com/
   design/resources), used the way the App Store Marketing Guidelines ask:
   as shipped, upright, uncropped, nothing drawn over them, no added shadow.
   Each bezel is a PNG with a transparent screen hole; the screen sits under
   it, sized to the hole, so one asset serves every size on the page. The box
   is a container, so anything drawn on the screen scales with it (cqw). --- */

.dv { position: relative; width: 100%; container-type: inline-size; }
.dv-bezel { display: block; width: 100%; height: auto; position: relative; z-index: 2;
            pointer-events: none; }
.dv-screen { position: absolute; z-index: 1; overflow: hidden; background: #000;
             display: flex; flex-direction: column;
             /* The illustrated screen is the app's LIGHT appearance whatever the
                site's scheme is, so pin its ink and zone colours here rather than
                letting the page's dark tokens bleed onto a white sheet. */
             --ink: #101620; --ink-2: #5f6a7d;
             --clear: #1e9e46; --alt-hi: #a37c00; --alt-lo: #c2620a;
             --nofly: #cf2b23; --temp: #8b30d6; --info: #0a84ff; }
/* the screen holes and their corners, measured on the artwork */
.dv-iphone .dv-screen { left: 4.04%; top: 1.59%; width: 91.99%; height: 96.82%;
                        border-radius: 14.5% / 6.6%; background: #eef2f7; }
.dv-ipad   .dv-screen { left: 3.65%; top: 5.12%; width: 92.86%; height: 89.97%;
                        border-radius: 2.2% / 3.3%; }
.dv-mac    .dv-screen { left: 10.27%; top: 2.4%; width: 79.45%; height: 85.54%;
                        border-radius: 1.3% 1.3% 0 0 / 2% 2% 0 0; }
.dv-watch  .dv-screen { left: 9.8%; top: 21.23%; width: 75.22%; height: 57.43%;
                        border-radius: 26% / 21%; }
/* On the Mac the app runs in a window, so its screen is a desk: the menu bar
   under the notch, the window below it at the capture's own proportions. */
.mac-desk { background: linear-gradient(160deg, #24457a, #0d1b36 60%, #1b2f55); }
.mac-bar { position: absolute; inset: 0 0 auto; height: 3.8%; background: rgb(255 255 255 / .12); }
.mac-win { position: absolute; left: 10%; width: 80%; top: 7.4%; display: flex; flex-direction: column;
           border-radius: 1.4cqw; overflow: hidden; background: #e9edf2;
           box-shadow: 0 1cqw 3cqw rgb(0 0 0 / .45); }
.mac-title { flex: none; display: flex; gap: .55cqw; padding: .95cqw 1cqw; }
.mac-title i { width: 1cqw; height: 1cqw; border-radius: 50%; background: #ff5f57; }
.mac-title i:nth-child(2) { background: #febc2e; }
.mac-title i:nth-child(3) { background: #28c840; }
.mac-win .shot-in { height: auto; aspect-ratio: 1210 / 801; }
/* the watch captures are squarer than the Ultra's display; they sit whole on
   its black, which reads as the screen's own surround */
.dv-watch .shot-in { object-fit: contain; object-position: center; }
.dv-iphone { max-width: 300px; margin-inline: auto; }

/* status bar, its text centred on the Dynamic Island (which sits in the bezel) */
.ip-status { position: relative; z-index: 2; flex: none; display: flex; align-items: center;
             justify-content: space-between; height: 14.8cqw; padding: 0 8%;
             font-size: 3.9cqw; font-weight: 600; color: #101620; }
.ip-status svg { width: 16cqw; height: 3.9cqw; }
/* over a real capture the bar floats on the map */
.ip-over { position: absolute; inset: 0 0 auto; }
/* iOS draws the bar white over a dark screen: the satellite captures */
.ip-light .ip-status, .demo:has(#d4-2:checked) .ip-status { color: #fff; }
/* the iPad's bar, to its own proportions: the time at the left edge, the
   icons at the right, all of it a fraction of the iPhone's size on screen */
.dv-ipad .ip-status { height: 2.5cqw; padding: 0 1.65%; font-size: 1.3cqw; }
.dv-ipad .ip-status svg { width: 5.2cqw; height: 1.25cqw; }
/* ── Stage: a centred figure beside its copy ─────────────────────────────── */

.stage { display: flex; align-items: center; justify-content: center; gap: var(--s4);
         padding: var(--s4); min-width: 0; }
.stage .iphone-fig { flex: 0 1 250px; min-width: 0; }
@media (max-width: 58rem) { .stage .iphone-fig { flex-basis: 270px; } }
@media (max-width: 46rem) {
  .stage { flex-direction: column; gap: var(--s3); }
  .stage .iphone-fig { flex: none; width: 100%; max-width: 270px; }
}

/* ── Hero: iPhone with the Watch beside it ──────────────────────────────
   Both upright and whole, the watch standing at the phone's foot. ------- */

.stage-hero { display: flex; align-items: flex-end; justify-content: center;
              gap: var(--s4); min-width: 0; }
.stage-hero .iphone-fig { width: min(62%, 330px); flex: none; }
.stage-hero .dv-iphone { max-width: none; }
.stage-hero .dv-watch { width: min(31%, 170px); flex: none; }
@media (max-width: 46rem) {
  .stage-hero .dv-watch { display: none; }
  .stage-hero .iphone-fig { width: min(100%, 300px); }
}

/* ── The device lineup: four real machines, to one scale ─────────────────
   One --mm for the whole row: the bezels are sized by the width of the
   artwork in millimetres, worked back from each display's true size, so an
   iPhone 17 stands beside an 11-inch iPad Pro, a 14-inch MacBook Pro and a
   Watch Ultra 3 at their real proportions. The scale comes from the row's
   own width (cqw), so the family shrinks together, never one at a time. On
   phones the row wraps to Mac / iPad / iPhone + Watch, still on one scale. -- */

.lineup { display: flex; justify-content: space-between; align-items: flex-end;
          gap: var(--s5) var(--s4); container-type: inline-size; }
.lu { --mm: 1.6px; --mm: calc((100cqw - 9rem) / 748);
      display: flex; flex-direction: column; align-items: center; gap: var(--s4); min-width: 0; }
.lu .iphone-fig { width: calc(72.4 * var(--mm)); }
.lu .dv-iphone { max-width: none; }
.lu .dv-ipad { width: calc(250.7 * var(--mm)); }
.lu .dv-mac { width: calc(380.6 * var(--mm)); }
.lu .dv-watch { width: calc(43.7 * var(--mm)); }
@media (max-width: 58rem) {
  .lineup { flex-wrap: wrap; justify-content: center; gap: var(--s5) var(--s6); }
  .lu { --mm: calc(100cqw / 382); }
  .lu-mac { order: -2; } .lu-ipad { order: -1; }
  .lu-mac, .lu-ipad { flex-basis: 100%; }
}

.lu-cap { text-align: center; min-width: 7rem; }
.lu-cap b { display: block; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.012em; }
.lu-cap > span { display: block; margin-top: .15rem; font-size: .875rem; color: var(--ink-3);
                 min-height: 2lh; text-wrap: balance; }
.lu-cap .st-ok { color: var(--clear-ink); font-weight: 600; }


/* ── The store badge: coming soon, worn honestly ────────────────────────── */

.store-badge { display: inline-flex; align-items: center; gap: .7rem; min-height: 46px;
               padding: .35rem 1.2rem .35rem 1rem; border-radius: 999px;
               border: 1px dashed var(--border-strong); color: var(--ink-2); }
.store-badge svg { width: 20px; height: 24px; flex: none; }
.store-badge em { display: block; font-style: normal; font-size: .6875rem; font-weight: 600;
                  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.store-badge b { display: block; font-size: 1rem; font-weight: 600;
                 letter-spacing: -.012em; line-height: 1.15; color: var(--ink); }

/* ── Story acts: the page reads as one flight, start to finish ──────────── */

.act { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s3) var(--s4);
       margin-bottom: var(--s5); }
.act-no { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; color: var(--accent);
          font-variant-numeric: tabular-nums; flex: none; }
.act h2 { font-size: clamp(1.625rem, 3.1vw, 2.5rem); font-weight: 650;
          letter-spacing: -.026em; line-height: 1.06; }
.act-line { flex: 1; height: 1px; background: var(--rule); align-self: center; min-width: 1.5rem; }

.beat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .64fr);
        gap: clamp(1.25rem, 2.6vw, 2.75rem); align-items: start;
        padding-block: var(--s5); border-top: 1px solid var(--rule); }
.beat .stage { padding: var(--s2) 0; }
.beat:first-of-type { border-top: 0; padding-top: var(--s2); }
.beat-flip > .stage { order: -1; align-self: center; }
@media (max-width: 58rem) {
  .beat { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .beat-flip > .stage { order: 0; }
}
.beat-n { font-size: .8125rem; font-weight: 600; color: var(--ink-3);
          font-variant-numeric: tabular-nums; margin-bottom: var(--s2); }
.beat h3 { font-size: clamp(1.375rem, 2.3vw, 1.875rem); font-weight: 650;
           letter-spacing: -.022em; line-height: 1.1; margin-bottom: var(--s3); }
.beat p { color: var(--ink-2); max-width: 52ch; }
.beat p + p { margin-top: var(--s3); }

/* compact numbered rows, for the beats that are not a map screen */
.rows { display: grid; gap: 0; margin-top: var(--s6); }
.row { display: grid; grid-template-columns: 2.75rem minmax(0, .8fr) minmax(0, 1.2fr);
       gap: var(--s4); padding-block: var(--s5); border-top: 1px solid var(--rule);
       align-items: start; }
.row:first-child { border-top: 0; padding-top: var(--s2); }
.row > b { font-size: .8125rem; font-weight: 600; color: var(--ink-3);
           font-variant-numeric: tabular-nums; padding-top: .3rem; }
.row h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.014em; line-height: 1.25; }
.row p { font-size: .9375rem; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 52rem) {
  .row { grid-template-columns: 2.25rem minmax(0, 1fr); }
  .row p { grid-column: 2; }
}

/* ── Act demos: numbered rows beside one phone ──────────────────────────
   Each act is a fieldset of radios. The row you pick lifts its capture on the
   phone's screen: `.demo:has(input:nth-of-type(n):checked) .st-n`. A browser
   without :has() keeps the first screen of each act up, and the rows still
   read as a list. On narrow screens the rows fold to an accordion — number
   and headline, the chosen row's sentence beneath — so the phone and every
   row share one viewport and a tap is seen to do something. ----------- */

.acts { display: flex; flex-wrap: wrap; gap: var(--s2); }
.acts a { display: inline-flex; align-items: baseline; gap: .5rem;
          padding: .5rem .95rem .5rem .75rem; border-radius: 999px;
          border: 1px solid var(--rule); background: var(--sunk); color: var(--ink);
          text-decoration: none; font-size: .9375rem; font-weight: 500; letter-spacing: -.006em;
          transition: border-color 140ms ease; }
.acts a b { font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: var(--accent);
            font-variant-numeric: tabular-nums; }
.acts a:hover { border-color: var(--border-strong); }

.demo { border: 0; margin: 0; padding: 0; min-width: 0;
        display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .64fr);
        gap: clamp(1.25rem, 2.6vw, 2.75rem); align-items: center; }
.demo legend { position: absolute; left: -9999px; }
.demo input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dl { display: grid; gap: var(--s1); align-content: center; }
.dl-row { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: var(--s3);
          padding: var(--s4) var(--s4) var(--s4) var(--s3); border-radius: var(--r-in);
          cursor: pointer; transition: background-color 140ms ease; }
.dl-row:hover { background: color-mix(in srgb, var(--sunk) 55%, transparent); }
.dl-row > b { grid-row: 1 / span 2; font-size: .8125rem; font-weight: 600; color: var(--ink-3);
              font-variant-numeric: tabular-nums; padding-top: .3rem; transition: color 140ms ease; }
.dl-row > strong { font-size: 1.125rem; font-weight: 600; letter-spacing: -.014em;
                   line-height: 1.25; color: var(--ink); }
.dl-row > span { grid-column: 2; margin-top: .3rem; font-size: .9375rem; line-height: 1.6;
                 color: var(--ink-2); max-width: 52ch; }
.demo input:checked + .dl-row { background: var(--sunk); }
.demo input:checked + .dl-row > b { color: var(--accent); }
.demo input:focus-visible + .dl-row { outline: 3px solid var(--focus); outline-offset: -3px; }
/* the beats that have no screen of their own, indented to the rows' text */
.act-note { padding: var(--s4) var(--s4) 0 calc(2.75rem + var(--s3) + var(--s3));
            font-size: .9375rem; line-height: 1.6; color: var(--ink-2); max-width: 56ch; }
.act-note strong, .dl-aside strong { color: var(--ink); }
.dl-aside { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); gap: var(--s4);
            align-items: center; padding: var(--s4) var(--s4) 0 var(--s3); }
.dl-aside p { font-size: .9375rem; line-height: 1.6; color: var(--ink-2); max-width: 44ch; }

.demo-phone .dv-iphone { max-width: 300px; }
.demo .st { position: absolute; inset: 0; opacity: 0; transition: opacity 220ms var(--ease); }
.demo .st-1 { opacity: 1; }
.demo:has(input:nth-of-type(2):checked) .st-2,
.demo:has(input:nth-of-type(3):checked) .st-3,
.demo:has(input:nth-of-type(4):checked) .st-4 { opacity: 1; }
.demo:has(input:not(:nth-of-type(1)):checked) .st-1 { opacity: 0; }

@media (max-width: 58rem) {
  .demo { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .demo-phone { order: -1; }
  .demo-phone .dv-iphone { max-width: 210px; }
  .dl-row { grid-template-columns: 2.25rem minmax(0, 1fr); padding-block: var(--s3); }
  .dl-row > b { padding-top: .2rem; }
  .dl-row > strong { font-size: 1.0625rem; }
  .demo input:not(:checked) + .dl-row > span { display: none; }
  .act-note { padding-left: calc(2.25rem + var(--s3) + var(--s3)); }
}

/* ── The dossier: what the app zips up for the authority ────────────────── */

.dossier { margin: 0; width: min(100%, 26rem); padding: var(--s4) var(--s5); border-radius: var(--r-in);
           background: var(--surface); border: 1px solid var(--rule);
           box-shadow: var(--shadow); font-size: .875rem; }
.doss-head { display: flex; align-items: center; gap: var(--s3); padding-bottom: var(--s3);
             border-bottom: 1px solid var(--rule); }
.doss-head svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.doss-head b { font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums;
               overflow-wrap: anywhere; }
.doss-head > span { margin-left: auto; color: var(--ink-3); white-space: nowrap; }
.dossier ol { list-style: none; margin: 0; padding: var(--s2) 0; }
.dossier li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 var(--s3);
              padding: .55rem 0; border-bottom: 1px solid var(--rule); }
.dossier li b { font-weight: 500; }
.dossier li span { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.doss-to { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s3);
           padding-top: var(--s3); }
.doss-to > span:first-child { grid-row: 1 / span 2; font-size: .75rem; font-weight: 600;
                               letter-spacing: .08em; text-transform: uppercase;
                               color: var(--ink-3); padding-top: .15rem; }
.doss-to b { font-weight: 600; }
.doss-to > span:last-child { color: var(--ink-3); }

/* ── The small-feature grid: "and a whole lot more" ─────────────────────── */

.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--s6) var(--s6); }
@media (max-width: 52rem) { .more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .more { grid-template-columns: minmax(0, 1fr); } }
.more div { border-top: 1px solid var(--rule); padding-top: var(--s4); }
.more h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.012em;
           margin-bottom: var(--s2); }
.more p { font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }

/* ── Real screenshot slots ──────────────────────────────────────────────
   A capture from the simulator drops into any device by putting an
   <img class="shot-in"> in its screen. The image fills the screen area
   exactly; the bezel stays on top, so one set of captures serves every size
   on the page. -------------------------------------------------------- */

.shot-in { width: 100%; height: 100%; object-fit: cover; object-position: top center;
           display: block; }

/* ── Rail: the four verbs, beside the headline ──────────────────────────── */

.rail { list-style: none; margin: 0; padding: 0; display: grid; }
.rail li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s4);
           align-items: center; padding-block: var(--s5);
           border-top: 1px solid var(--rule); }
.rail li:first-child { border-top: 0; padding-top: 0; }
.rail li:last-child { padding-bottom: 0; }
.rail .rail-ico { width: 48px; height: 48px; border-radius: 15px; background: var(--accent-fill);
            display: grid; place-items: center; color: #fff; }
.rail .rail-ico svg { width: 23px; height: 23px; }
.rail b { display: block; font-size: 1.4375rem; font-weight: 500; letter-spacing: -.022em;
          line-height: 1.15; }
.rail span { display: block; margin-top: .2rem; font-size: .9375rem; line-height: 1.45;
             color: var(--ink-2); }

/* ── Figures ────────────────────────────────────────────────────────────── */

.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); }
@media (max-width: 60rem) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 26rem) { .figures { grid-template-columns: minmax(0, 1fr); } }
.fig b { display: block; font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 500;
         line-height: .95; letter-spacing: -.035em; font-variant-numeric: tabular-nums lining-nums; }
.fig span { display: block; margin-top: var(--s2); font-size: .9375rem; line-height: 1.4;
            color: var(--ink-2); max-width: 22ch; }

/* ── Zone vocabulary + verdict (CSS-only: radio + :checked siblings) ────
   The radios, their labels and the card stack must all be siblings for the
   `:checked + label` and `:checked ~ .cards` selectors to reach, so the
   two-column layout is done with explicit grid placement rather than wrappers.
   ----------------------------------------------------------------------- */

.picker { border: 0; margin: 0; padding: 0; min-width: 0;
          display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
          column-gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.picker legend { position: absolute; left: -9999px; }
.picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }

label.pick { grid-column: 1; display: flex; align-items: center; gap: var(--s3);
             min-height: 52px; padding: .8rem 1rem; cursor: pointer;
             border: 1px solid var(--rule); border-top: 0; background: transparent;
             transition: background-color 140ms ease; }
label.pick:first-of-type { border-top: 1px solid var(--rule);
                           border-radius: var(--r-in) var(--r-in) 0 0; }
label.pick:last-of-type  { border-radius: 0 0 var(--r-in) var(--r-in); }
label.pick:hover { background: var(--sunk); }
label.pick i { width: 12px; height: 12px; border-radius: 50%; background: var(--z); flex: none;
               /* a transparent outline leaves a real gap, so the row's own
                  background shows through instead of a guessed colour */
               outline: 2px solid transparent; outline-offset: 2px;
               transition: outline-color 160ms var(--ease); }
label.pick b { font-size: .9375rem; font-weight: 400; letter-spacing: -.008em; }
label.pick span { margin-left: auto; font-size: .75rem; color: var(--ink-2); }
.picker input:checked + label.pick { background: var(--sunk); }
.picker input:checked + label.pick b { font-weight: 500; }
.picker input:checked + label.pick i { outline-color: var(--z); }
.picker input:focus-visible + label.pick { outline: 3px solid var(--focus); outline-offset: -3px; }

/* The six cards share one grid cell, so the tallest sets the height and the
   layout never jumps. The leaving card fades fast; the arriving one rises in. */
.cards { grid-column: 2; grid-row: 1 / span 6; display: grid; }
.vcard { grid-area: 1 / 1; opacity: 0; visibility: hidden; translate: 0 6px;
         transition: opacity 120ms var(--ease), translate 120ms var(--ease),
                     visibility 0s linear 120ms; }
#p1:checked ~ .cards .v1, #p2:checked ~ .cards .v2, #p3:checked ~ .cards .v3,
#p4:checked ~ .cards .v4, #p5:checked ~ .cards .v5, #p6:checked ~ .cards .v6 {
  opacity: 1; visibility: visible; translate: 0 0;
  transition: opacity 220ms var(--ease) 60ms, translate 220ms var(--ease) 60ms, visibility 0s;
}
@media (max-width: 58rem) {
  /* a row of chips instead of a six-row list, so the card stays in view */
  .picker { display: flex; flex-wrap: wrap; gap: .5rem; }
  label.pick, label.pick:first-of-type, label.pick:last-of-type {
    min-height: 44px; padding: .45rem .95rem .45rem .8rem; border-radius: 999px;
    border: 1px solid var(--rule); }
  label.pick span { display: none; }
  .cards { flex-basis: 100%; margin-top: var(--s4); }
}

.verdict { height: 100%; padding: var(--s5); border-radius: var(--r-in);
           /* the tint eats contrast, so this panel promotes its faint ink a tier */
           --ink-3: var(--ink-2);
           background: color-mix(in srgb, var(--z) 9%, var(--sunk));
           border: 1px solid color-mix(in srgb, var(--z) 32%, transparent); }
.verdict-call { display: flex; align-items: center; gap: var(--s3); }
.verdict-call i { width: 14px; height: 14px; border-radius: 50%; background: var(--z); flex: none; }
.verdict-call b { font-size: clamp(1.375rem, 3vw, 1.875rem); font-weight: 500;
                  letter-spacing: -.022em; line-height: 1.1; }
.verdict > p { margin-top: var(--s3); color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }
.verdict dl { margin: var(--s5) 0 0; display: grid; gap: var(--s4); }
.verdict dt { font-size: .75rem; font-weight: 500; letter-spacing: .1em;
              text-transform: uppercase; color: var(--ink-3); }
.verdict dd { margin: .2rem 0 0; font-size: .9375rem; line-height: 1.5; color: var(--ink); }

/* ── Platforms: four devices, one row ───────────────────────────────────── */

.devices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 46rem) { .devices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.device { padding: var(--s5); border-radius: var(--r-in); background: var(--sunk);
          display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); }
.device svg { width: 34px; height: 34px; color: var(--accent); }
.device b { font-size: 1.25rem; font-weight: 600; letter-spacing: -.016em; }
.device span { font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }
.device span strong { font-weight: 600; color: var(--ink); }

/* ── Split rows ─────────────────────────────────────────────────────────── */

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
         gap: clamp(1.75rem, 3.5vw, 3.5rem); align-items: center; }
.split-top { align-items: start; }
.split-hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
@media (max-width: 58rem) { .split-hero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 58rem) { .split { grid-template-columns: minmax(0, 1fr); gap: var(--s6); } }

.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 58rem) { .row2 { grid-template-columns: minmax(0, 1fr); } }
.row2-wide { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
@media (max-width: 58rem) { .row2-wide { grid-template-columns: minmax(0, 1fr); } }

.stack { display: grid; gap: var(--s5); }
.stack-sm { display: grid; gap: var(--s3); }
.flow > * + * { margin-top: var(--s4); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.actions-centred { justify-content: center; }
.centred .lede { margin-inline: auto; }
.centred .small { margin-inline: auto; }

/* ── Column grids ───────────────────────────────────────────────────────── */

.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 52rem) { .cols-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 46rem) { .cols { grid-template-columns: minmax(0, 1fr); } }
.more-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 34rem) { .more-2 { grid-template-columns: minmax(0, 1fr); } }

/* ── Steps: the problem, numbered ───────────────────────────────────────── */

.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: var(--s4);
        padding-block: var(--s5); border-top: 1px solid var(--rule); align-items: start; }
.step:first-child { border-top: 0; padding-top: 0; }
.step > b { font-size: .875rem; font-weight: 500; color: var(--ink-3);
            font-variant-numeric: tabular-nums; padding-top: .2rem; }
.step h3 { font-size: 1.125rem; font-weight: 500; letter-spacing: -.014em; margin-bottom: var(--s2); }
.step p { font-size: .9375rem; line-height: 1.6; color: var(--ink-2); max-width: 58ch; }

/* ── Ledger ─────────────────────────────────────────────────────────────── */

.ledger { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.ledger caption { text-align: left; margin-bottom: var(--s4); color: var(--ink-2); font-size: .9375rem; }
.ledger th, .ledger td { text-align: left; padding: .7rem 1rem .7rem 0;
                         border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.ledger thead th { font-size: .75rem; font-weight: 500; letter-spacing: .1em;
                   text-transform: uppercase; color: var(--ink-3); }
.ledger tbody th { font-size: 1rem; font-weight: 500; letter-spacing: -.012em; }
.ledger td { color: var(--ink-2); font-size: .9375rem; }
.ledger .r { text-align: right; white-space: nowrap; color: var(--ink); }
.ledger .st { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.ledger .st i { width: 9px; height: 9px; border-radius: 50%; background: var(--z); flex: none; }
@media (max-width: 44rem) {
  .ledger thead { position: absolute; left: -9999px; }
  .ledger tbody th, .ledger td { display: block; padding: 0; border: 0; }
  .ledger tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto;
                     column-gap: var(--s4); align-items: start;
                     padding-block: var(--s4); border-bottom: 1px solid var(--rule); }
  .ledger tbody th, .ledger td:nth-child(2) { grid-column: 1; }
  .ledger td:last-child { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }
  .ledger .r { text-align: left; margin-top: var(--s1); }
}

/* ── World map ──────────────────────────────────────────────────────────── */

.wmap { display: block; width: 100%; height: auto; }
.wmap .land   { fill: #ccd3de; }
.wmap .soon   { fill: #3293ec; }
.wmap .live   { fill: #1e9e46; }
.wmap .banned { fill: #cf2b23; fill-opacity: .85; }
@media (prefers-color-scheme: dark) {
  .wmap .land { fill: #2b3242; } .wmap .live { fill: #30d158; } .wmap .banned { fill: #ff453a; }
}
.map-wrap { padding: var(--s5) var(--pad) 0; }
.map-key { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); padding: var(--s5) var(--pad);
           font-size: .875rem; color: var(--ink-2); }
.map-key span { display: inline-flex; align-items: center; gap: .5rem; }
.map-key i { width: 10px; height: 10px; border-radius: 50%; background: var(--z); flex: none;
             box-shadow: 0 0 0 1px rgb(16 42 84 / .3); }
/* the key samples the map's own fills, not the site's zone tokens */
.map-key .z-blue { --z: #3293ec; }
.map-key .z-mute { --z: #ccd3de; }
@media (prefers-color-scheme: dark) {
  .map-key .z-mute { --z: #2b3242; }
  .map-key i { box-shadow: 0 0 0 1px rgb(255 255 255 / .3); }
}

/* ── Timeline ───────────────────────────────────────────────────────────── */

.tl { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: var(--s5);
           padding-block: var(--s5); border-top: 1px solid var(--rule); align-items: start; }
.tl-item:first-child { border-top: 0; padding-top: 0; }
.tl-when { font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
           color: var(--ink-3); padding-top: .25rem; }
.tl-item h3 { font-size: 1.125rem; font-weight: 500; letter-spacing: -.014em; margin-bottom: var(--s2); }
.tl-item p { font-size: .9375rem; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 44rem) { .tl-item { grid-template-columns: minmax(0, 1fr); gap: var(--s2); } }

/* ── Notes / callouts ───────────────────────────────────────────────────── */

.note { padding: var(--s4) var(--s5); border-radius: var(--r-in); background: var(--sunk);
        font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }
.note strong { color: var(--ink); font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .8rem;
        border-radius: 999px; background: var(--sunk); font-size: .8125rem; color: var(--ink-2); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--z); flex: none; }

/* ── Zone carriers (no inline styles under this CSP) ────────────────────── */

.z-clear { --z: var(--clear); }   .z-alt-hi { --z: var(--alt-hi); }
.z-alt-lo { --z: var(--alt-lo); } .z-nofly { --z: var(--nofly); }
.z-temp  { --z: var(--temp); }    .z-info  { --z: var(--info); }
.z-blue  { --z: var(--accent); }  .z-mute  { --z: var(--ink-3); }

/* ── Colophon ───────────────────────────────────────────────────────────── */

.colophon { border-radius: var(--r); padding: var(--pad);
            background: color-mix(in srgb, var(--bg-2) 82%, transparent);
            border: 1px solid var(--border);
            color: var(--text); --ink: var(--text); --ink-2: var(--text-dim);
            --ink-3: var(--text-faint); --rule: var(--border);
            box-shadow: var(--spec-dim), var(--shadow); }
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .colophon { backdrop-filter: saturate(180%) blur(34px);
              -webkit-backdrop-filter: saturate(180%) blur(34px); }
}
.colophon-top { display: flex; flex-wrap: wrap; gap: var(--s5); align-items: baseline;
                justify-content: space-between; padding-bottom: var(--s5);
                border-bottom: 1px solid var(--rule); margin-bottom: var(--s5); }
.colophon-mark { display: inline-flex; align-items: center; gap: .625rem;
                 font-size: 1.25rem; font-weight: 500; letter-spacing: -.018em; text-decoration: none; }
.colophon-mark img { width: 28px; height: 28px; border-radius: 8px; }
.colophon-nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.colophon-nav a { font-size: .875rem; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.colophon-nav a { text-decoration: underline; text-decoration-color: transparent;
                  transition: color 140ms ease, text-decoration-color 140ms ease; }
.colophon-nav a:hover { color: var(--ink); text-decoration-color: currentColor; }
.attrib { font-size: .8125rem; line-height: 1.6; color: var(--ink-2); }
@media (min-width: 52.01rem) { .attrib { columns: 2; column-gap: var(--s6); } }
.attrib strong { color: var(--ink); font-weight: 500; }
.attrib a { color: var(--ink); }
.colophon-end { margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid var(--rule);
                display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); justify-content: space-between;
                font-size: .8125rem; color: var(--ink-2); }

/* ── Prose (legal + support) ────────────────────────────────────────────── */

.prose { max-width: 44rem; margin-inline: auto; }
.prose h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 650; letter-spacing: -.03em; }
.prose h2 { margin-block: var(--s6) var(--s3); font-size: 1.5rem; letter-spacing: -.02em; }
.prose h3 { margin-block: var(--s5) var(--s2); font-size: 1.125rem; }
.prose p, .prose li { color: var(--ink-2); max-width: 36rem; }
.prose p { margin-block: var(--s4); }
.prose ul, .prose ol { padding-left: var(--s5); }
.prose li + li { margin-top: var(--s1); }
.prose a { color: var(--accent); }
.prose code { padding: .12em .4em; border-radius: 5px; background: var(--sunk); font-size: .9em; }
.prose table { width: 100%; border-collapse: collapse; margin-block: var(--s4); font-size: .9375rem; }
.prose th, .prose td { padding: .55rem .7rem; border: 1px solid var(--rule); text-align: left; vertical-align: top; }
.prose th { background: var(--sunk); color: var(--ink); }
.updated { margin: var(--s3) 0 var(--s6); font-size: .75rem; font-weight: 500;
           letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* ── Motion: cards rise as they enter ───────────────────────────────────
   Scroll-linked entry needs `animation-timeline: view()`; where the browser
   lacks it, cards simply render in place. All of it sits behind the user's
   reduced-motion preference. ---------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  /* The one authored moment: the hero settles in, text first, device after.
     Plain CSS animation, so it runs in Safari and Chrome alike. */
  .hero-rise > * { animation: rise-in .55s both var(--ease); }
  .hero-rise > *:nth-child(2) { animation-delay: .06s; }
  .hero-rise > *:nth-child(3) { animation-delay: .12s; }
  .hero-rise > *:nth-child(4) { animation-delay: .18s; }
  .hero-rise > *:nth-child(5) { animation-delay: .24s; }
  .hero-rise-late { animation: rise-in .55s .16s both var(--ease); }
  .stage-hero { animation: rise-in .6s .14s both var(--ease); }

  /* Below the fold, sections ease in as they enter, where the scroll timeline
     exists. Short and shallow, so it reads as settling rather than arriving. */
  @supports (animation-timeline: view()) {
    main > :not(:first-child):not(.cols), .cols > .card {
                 animation: settle-in both var(--ease);
                 animation-timeline: view();
                 animation-range: entry 0% entry 30%; }
    /* the blurred glass cards should not also move */
    @media (prefers-color-scheme: dark) {
      main > :not(:first-child):not(.cols):not(.band), .cols > .card { animation-name: fade-in; }
    }
  }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes settle-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
/* ── Reduced motion: keep the fades, drop the movement ──────────────────── */

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:active { transform: none; }
  .vcard { translate: 0 0; transition: opacity 150ms ease, visibility 0s linear 150ms; }
}

/* ── High contrast / forced colours ─────────────────────────────────────── */

@media (forced-colors: active) {
  .card, .top-in, .btn, .store-badge, label.pick, .folder, .device, .verdict { border: 1px solid CanvasText; }
  .band-type { color: CanvasText; -webkit-text-stroke: 0; }
  /* the checked row is otherwise indistinguishable: its tint and dot are both dropped */
  .picker input:checked + label.pick { outline: 2px solid Highlight; outline-offset: -2px; }
  .demo input:checked + .dl-row { outline: 2px solid Highlight; outline-offset: -2px; }
  .dossier, .acts a { border: 1px solid CanvasText; }
}

/* ── Visually hidden ────────────────────────────────────────────────────── */

.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
      overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.iphone-fig { margin: 0; width: 100%; }
