/*
 * Bluejay — the next site (DRAFT).
 *
 * Plain CSS, no build step, nothing loaded from another host. Colours are the app's own
 * tokens (packages/tokens/src/colors.ts): the mark's `jay` blues carry the identity, the
 * night ground is jay ink taken darker, and `resurrect` green keeps the brand rule it has
 * everywhere else — it appears ONLY where the copy is about a dead link coming back.
 *
 * Motion: `html.motion` (set before first paint unless reduced motion is asked for) turns
 * the tall [data-scene] sections into pinned scenes. Without it every scene is laid out as
 * a static page — the reduced-motion design and the no-JS fallback are the same thing.
 *
 * One stylesheet for the four pages: index.html (the story), how-it-works.html, your-data.html
 * and plans.html. Sections are in the order they first appear; the page intro (Your data) sits
 * where the old tour's intro did, before what it keeps.
 */

/* ------------------------------------------------------------------ fonts -- */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/fraunces-normal-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; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/fraunces-normal-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: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/fonts/fraunces-italic-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; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/fonts/fraunces-italic-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: "Figtree"; font-weight: 400; font-display: swap; src: url(assets/fonts/figtree-400regular.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap; src: url(assets/fonts/figtree-500medium.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url(assets/fonts/figtree-600semibold.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url(assets/fonts/figtree-700bold.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url(assets/fonts/poppins-500medium.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url(assets/fonts/poppins-600semibold.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(assets/fonts/ibm-plex-mono-normal-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; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(assets/fonts/ibm-plex-mono-normal-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; }

/* ----------------------------------------------------------------- tokens -- */
:root {
  /* night — jay ink, taken down towards black */
  --night-0: #040b13;
  --night-1: #071320;
  --night-2: #0b1b2c;
  --night-3: #10253a;
  /* jay — the mark's own blues (packages/tokens) */
  --ink: #123048;
  --deep: #0f304c;
  --mid: #3068a8;
  --bright: #3a78b6;
  --soft: #7aa4cc;
  --mist: #e8f0f6;
  --belly: #e6eef4;
  --belly-deep: #d8e2ec;
  /* luminous tints of `bright`, for light and glow only */
  --glow: #6fa8e8;
  --glow-2: #9cc6f2;
  /* resurrect — revival ONLY */
  --resurrect: #06c177;
  --resurrect-600: #009d60;
  --resurrect-300: #67edb2;
  /* status — one hue per status, as in the app */
  --st-dead: #d2483f;
  --st-dead-text: #f48a80;
  --st-archived: #b054b4;
  --st-archived-text: #cf97d2;
  --st-changed: #0e8c9a;
  --st-unreachable: #b67e54;
  --st-paywalled: #8677d1;
  --st-redirected: #a3850a;

  --text: #eaf1f7;
  --text-2: #a9bdd0;
  --text-3: #8199b0;
  --line: rgba(156, 198, 242, 0.12);
  --line-2: rgba(156, 198, 242, 0.22);

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-app: "Poppins", "Figtree", -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  --gutter: clamp(20px, 5.5vw, 96px);
  --nav-h: 68px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--night-1);
  color-scheme: dark;
  scroll-padding-top: var(--nav-h);
  /* the scrollbar's room is kept while the film is open, so locking the page moves nothing */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--night-1);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main, footer { overflow-x: clip; }

img, svg { display: block; max-width: 100%; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--glow-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #fff; }
b, strong { font-weight: 600; }
em { font-style: italic; }

:focus-visible {
  outline: 2px solid var(--glow-2);
  outline-offset: 3px;
  border-radius: 6px;
}
/* a section the menu has just taken you to holds focus (so Tab carries on from there), unringed */
main > section[tabindex="-1"]:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1em; height: 1em; flex: none; }

.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--bright);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip:focus { top: 12px; }
/* a heading a page needs but does not draw: How it works and Plans open on a section */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* fine grain over everything: one small texture, composited once */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* ------------------------------------------------------------------- type -- */
.display {
  font-family: var(--f-display);
  font-optical-sizing: auto;
  font-weight: 420;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.display em,
.h2 em { font-weight: 400; letter-spacing: -0.03em; }

.h2 {
  font-family: var(--f-display);
  font-optical-sizing: auto;
  font-weight: 430;
  font-size: clamp(2.3rem, 4.6vw, 4.4rem);
  letter-spacing: -0.032em;
  line-height: 1.02;
  text-wrap: balance;
}
.h2--narrow { max-width: 16em; }

.h3 {
  font-family: var(--f-display);
  font-optical-sizing: auto;
  font-weight: 440;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.028em;
  line-height: 1.06;
  text-wrap: balance;
}

.body-l { font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: var(--text-2); line-height: 1.6; max-width: 36em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--glow-2);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--glow-2);
  box-shadow: 0 0 12px 2px rgba(111, 168, 232, 0.7);
}
.eyebrow--revive { color: var(--resurrect-300); }
.eyebrow--revive::before { background: var(--resurrect); box-shadow: 0 0 12px 2px rgba(6, 193, 119, 0.6); }

.glow-text {
  font-style: italic;
  background: linear-gradient(100deg, #f2f7fb 0%, #b8d6f5 30%, #6fa8e8 62%, #3a78b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em;
}

.mono { font-family: var(--f-mono); }

/* ---------------------------------------------------------------- buttons -- */
.btn {
  --bg: linear-gradient(180deg, #4485c4 0%, #3068a8 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--bg);
  color: #fff;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 30px -10px rgba(58, 120, 182, 0.9), 0 0 0 1px rgba(122, 164, 204, 0.35);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.3s;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 16px 40px -12px rgba(58, 120, 182, 1), 0 0 0 1px rgba(156, 198, 242, 0.5); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 16.5px; }
.btn--ghost {
  --bg: rgba(156, 198, 242, 0.06);
  box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.6); background: rgba(156, 198, 242, 0.1); }
.btn .ic { font-size: 0.95em; }
/* the film's buttons need JS; without it they are not drawn at all */
html:not(.js) [data-film] { display: none; }

.ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ctas--center { justify-content: center; }
/* an onward link to another page: a few words and a chevron that steps forward on hover */
.more { display: inline-flex; align-items: center; gap: 0.3em; font-weight: 600; color: var(--glow-2); text-decoration: none; white-space: nowrap; transition: color 0.2s; }
.more .ic { font-size: 0.85em; transition: transform 0.3s var(--ease-out); }
.more:hover { color: #fff; }
.more:hover .ic { transform: translateX(3px); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-2);
  background: rgba(16, 37, 58, 0.55);
  box-shadow: inset 0 0 0 1px var(--line-2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 0 0 rgba(111, 168, 232, 0.7);
  animation: pulse 2.6s var(--ease-out) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(111, 168, 232, 0.65); }
  70% { box-shadow: 0 0 0 9px rgba(111, 168, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 168, 232, 0); }
}

/* -------------------------------------------------------------------- nav -- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav.is-solid {
  background: rgba(6, 16, 28, 0.62);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 -1px 0 rgba(156, 198, 242, 0.1);
}
.nav__inner {
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--f-display);
  font-weight: 560;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-right: auto;
  min-height: 44px;
}
.brand img { width: 34px; height: auto; }
.brand:hover { color: #fff; }
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14.5px;
  padding: 10px 12px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: #fff; background: rgba(156, 198, 242, 0.08); }
.nav__links a[aria-current="page"] { color: var(--text); background: rgba(156, 198, 242, 0.1); }
/* the menu button: at every width, after "Join the waitlist"; on phones it is the way round */
.nav__menu {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  font-size: 21px;
  color: var(--text);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(156, 198, 242, 0.07);
  box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.3);
  transition: background 0.2s, box-shadow 0.2s, color 0.35s;
}
.nav__menu:hover { color: #fff; background: rgba(156, 198, 242, 0.15); box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.55); }
.nav__menu[aria-expanded="true"] { background: rgba(156, 198, 242, 0.15); }
html:not(.js) .nav__menu { display: none; }
.nav__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; overflow: hidden; }
.nav__progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--glow) 40%, var(--glow-2));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

@media (max-width: 1080px) { .nav__links { display: none; } }
@media (max-width: 759px) {
  :root { --nav-h: 60px; }
  .brand { font-size: 20px; }
  .brand img { width: 30px; }
  .nav .btn--sm { font-size: 13.5px; padding: 0 14px; min-height: 44px; }
}
@media (max-width: 359px) { .nav .btn--sm { display: none; } }

/* ----------------------------------------------------------------- scenes -- */
.scene { position: relative; }
.stage { position: relative; min-height: 100svh; overflow: clip; }
.motion .scene[data-scene]:not([data-inline]) { height: calc(var(--len, 300) * 1vh); }
.scene[data-scene]:not([data-inline]) { scroll-margin-top: calc(var(--nav-h) * -1); }
.motion .scene[data-scene]:not([data-inline]) > .stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100lvh;
  min-height: 0;
}
@media (max-width: 759px) {
  .motion .scene[data-scene]:not([data-inline]) { height: calc(var(--len-m, var(--len, 300)) * 1vh); }
}

/* a fixed-size design surface, scaled to fit by JS */
.canvas { position: absolute; left: 0; top: 0; transform-origin: 0 0; }

/* ======================================================================== */
/* PHONE — an iPhone 17 Pro–style frame in CSS. Sizes are in cqw of the phone. */
/* ======================================================================== */
.phone {
  --pw: 300;
  position: relative;
  width: calc(var(--pw) * 1px);
  aspect-ratio: 100 / 207.3;
  container-type: inline-size;
  flex: none;
}
.phone__frame {
  position: absolute;
  inset: 0;
  border-radius: 16.8cqw;
  padding: 1.3cqw;
  /* Deep Blue aluminium: a cool metallic sweep with specular bands */
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 9%, rgba(255, 255, 255, 0) 46%, rgba(255, 255, 255, 0.28) 52%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 88%, rgba(255, 255, 255, 0.4) 100%),
    linear-gradient(180deg, #34486a 0%, #1b2a44 22%, #2c3f60 50%, #14213a 78%, #33476a 100%);
  box-shadow:
    inset 0 0 0 0.28cqw rgba(190, 210, 235, 0.35),
    inset 0 0 0 0.7cqw rgba(0, 0, 0, 0.3),
    0 1.2cqw 2.5cqw rgba(0, 0, 0, 0.35),
    0 14cqw 26cqw -6cqw rgba(0, 0, 0, 0.6),
    0 34cqw 60cqw -24cqw rgba(4, 18, 36, 0.85);
}
.phone__glass {
  position: absolute;
  inset: 1.3cqw;
  border-radius: 15.5cqw;
  padding: 3cqw;
  background: #030405;
  box-shadow: inset 0 0 0 0.25cqw rgba(255, 255, 255, 0.06);
}
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12.5cqw;
  overflow: hidden;
  background: #0b1520;
  isolation: isolate;
  transform: translateZ(0);
}
.phone__island {
  position: absolute;
  z-index: 8;
  top: 3.25cqw;
  left: 50%;
  width: 28.4cqw;
  height: 8.25cqw;
  margin-left: -14.2cqw;
  border-radius: 99px;
  background: #000;
}
.phone__glare {
  position: absolute;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.04) 22%, rgba(255, 255, 255, 0) 38%);
}
.phone__btn {
  position: absolute;
  width: 1.1cqw;
  border-radius: 0.6cqw;
  background: linear-gradient(90deg, #0f1a2c, #3d527a 45%, #1c2b46);
}
.pb-action { left: -0.55cqw; top: 36cqw; height: 9cqw; }
.pb-volup { left: -0.55cqw; top: 52cqw; height: 14cqw; }
.pb-voldn { left: -0.55cqw; top: 70cqw; height: 14cqw; }
.pb-power { right: -0.55cqw; top: 56cqw; height: 21cqw; }
.pb-cam { right: -0.35cqw; top: 112cqw; height: 13cqw; width: 0.8cqw; opacity: 0.8; }

/* ---- screenshot slots (a real JPEG if present, a designed placeholder if not) ---- */
.shot {
  position: absolute;
  inset: 0;
  margin: 0;
  container-type: inline-size;
  overflow: hidden;
  background: #0a1622;
}
.shot > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}
.shot.is-loaded > img { opacity: 1; }
.shot.is-loaded .shot__ph { visibility: hidden; }
.shot__ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.4cqw;
  padding: 12cqw 10cqw;
  text-align: center;
  color: #c9d8e6;
  background:
    radial-gradient(90% 60% at 50% 38%, rgba(58, 120, 182, 0.28), rgba(58, 120, 182, 0) 70%),
    linear-gradient(180deg, #13263a 0%, #0b1826 60%, #08121d 100%);
}
.shot__ph::before {
  /* a faint grid, like a slot on a contact sheet */
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(156, 198, 242, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(156, 198, 242, 0.05) 1px, transparent 1px);
  background-size: 8cqw 8cqw;
  mask-image: radial-gradient(80% 60% at 50% 45%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 45%, #000 40%, transparent 100%);
}
.shot__ph > * { position: relative; }
.shot__ph .ph__time {
  position: absolute;
  top: 4.2cqw;
  left: 11cqw;
  font: 600 4.3cqw/1 var(--f-app);
  color: #e8eef4;
}
.shot__ph .ph__mark { width: 18cqw; height: auto; opacity: 0.9; margin-bottom: 2cqw; filter: drop-shadow(0 2cqw 5cqw rgba(58, 120, 182, 0.5)); }
.shot__ph .ph__k { font: 400 3.1cqw/1.2 var(--f-mono); letter-spacing: 0.18em; text-transform: uppercase; color: #8fb3d6; }
.shot__ph .ph__t { font: 600 6.6cqw/1.15 var(--f-app); color: #f1f6fa; letter-spacing: -0.01em; }
.shot__ph .ph__f {
  margin-top: 1.4cqw;
  padding: 1.6cqw 3cqw;
  border-radius: 99px;
  font: 400 3cqw/1.2 var(--f-mono);
  color: #a9c2da;
  background: rgba(122, 164, 204, 0.1);
  box-shadow: inset 0 0 0 1px rgba(122, 164, 204, 0.28);
  word-break: break-all;
}
.shot[data-theme="light"] .shot__ph {
  color: #234;
  background:
    radial-gradient(90% 60% at 50% 38%, rgba(122, 164, 204, 0.35), rgba(122, 164, 204, 0) 70%),
    linear-gradient(180deg, #f3f7fa 0%, #e6eef4 100%);
}
.shot[data-theme="light"] .ph__time { color: #1a1917; }
.shot[data-theme="light"] .ph__t { color: #10253a; }
.shot[data-theme="light"] .ph__k { color: #3068a8; }
.shot[data-theme="light"] .ph__f { color: #3e5568; background: rgba(48, 104, 168, 0.08); }

/* ======================================================================== */
/* APP FRAGMENTS — Bluejay drawn in HTML, at iPhone points (402 × 874)       */
/* ======================================================================== */
.thumb {
  display: block;
  background:
    radial-gradient(120% 90% at 26% 18%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 48%),
    radial-gradient(70% 55% at 72% 80%, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0) 70%),
    linear-gradient(135deg, var(--a, #3a78b6), var(--b, #123048));
}
.fav {
  display: inline-grid;
  place-items: center;
  width: 1.15em;
  height: 1.15em;
  border-radius: 0.28em;
  background: var(--fav, #333);
  color: var(--favc, #fff);
  font: 700 0.68em/1 var(--f-body);
  vertical-align: -0.12em;
  flex: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  font: 500 13.5px/1 var(--f-body);
  color: #dad8d3;
  white-space: nowrap;
  background: rgba(48, 104, 168, 0.2);
  box-shadow: inset 0 0 0 1px rgba(122, 164, 204, 0.32);
  flex: none;
}
.chip .ic { width: 12px; height: 12px; }
.chip--stash .ic, .chip--prov .ic { color: #8fb8e0; }
.chip--sorting {
  background: transparent;
  box-shadow: none;
  border: 1.5px dashed rgba(161, 157, 148, 0.6);
  color: #a19d94;
}
.chip--sorting .spin { display: inline-flex; color: #8fb8e0; animation: spin 2.2s linear infinite; }
.chip--tag { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); color: #c2bfb8; }
.chip--prov { background: rgba(48, 104, 168, 0.12); box-shadow: none; border: 1.5px dashed rgba(122, 164, 204, 0.62); }
@keyframes spin { to { transform: rotate(360deg); } }

.app {
  --k: calc(var(--pw) * 0.914 / 402);
  position: absolute;
  left: 0;
  top: 0;
  width: 402px;
  height: 874px;
  transform-origin: 0 0;
  transform: scale(var(--k));
  overflow: hidden;
  font-family: var(--f-body);
  color: #efeeec;
  background: linear-gradient(180deg, #2c3742 0%, #232b34 26%, #1a1f25 34%, #16191d 100%);
}
.statusbar {
  position: absolute;
  z-index: 6;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 32px 0 52px;
  font: 600 17px/1 var(--f-app);
}
.statusbar__r { display: flex; gap: 6px; align-items: center; }
.statusbar__r i { display: block; height: 12px; background: currentColor; }
.statusbar__r .sig { width: 18px; -webkit-mask: linear-gradient(90deg, #000 3px, transparent 3px 5px, #000 5px 8px, transparent 8px 10px, #000 10px 13px, transparent 13px 15px, #000 15px) , linear-gradient(0deg, #000 100%, transparent 0); mask: linear-gradient(90deg, #000 3px, transparent 3px 5px, #000 5px 8px, transparent 8px 10px, #000 10px 13px, transparent 13px 15px, #000 15px); clip-path: polygon(0 75%, 100% 0, 100% 100%, 0 100%); }
.statusbar__r .wifi { width: 16px; clip-path: polygon(50% 100%, 0 25%, 20% 5%, 50% 0, 80% 5%, 100% 25%); }
.statusbar__r .bat { width: 26px; height: 12px; border-radius: 4px; background: none; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); position: relative; }
.statusbar__r .bat::after { content: ""; position: absolute; inset: 2.5px 5px 2.5px 2.5px; border-radius: 2px; background: #fff; }

.scr { position: absolute; inset: 0; padding-top: 54px; }

/* Safari + share sheet */
.scr--web { background: #fff; color: #1a1917; }
.scr--web .statusbar { color: #000; }
.safari__url {
  flex: 1;
  height: 44px;
  border-radius: 22px;
  background: #e9e9ee;
  display: grid;
  place-items: center;
  font: 500 15px/1 var(--f-body);
  color: #222;
}
.safari__page { padding: 0; }
.safari__hero { height: 250px; }
.safari__title { font: 600 34px/1.05 var(--f-display); letter-spacing: -0.02em; padding: 18px 20px 8px; color: #121212; }
.safari__text { padding: 0 20px 14px; font-size: 16px; line-height: 1.45; color: #333; }
.safari__line { display: block; height: 10px; width: var(--w); margin: 10px 20px 0; border-radius: 5px; background: #e4e6e9; }
.safari__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 92px;
  padding: 8px 16px 34px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(248, 248, 250, 0.96);
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.08);
}
.safari__bar i { width: 44px; height: 44px; border-radius: 50%; background: #e9e9ee; flex: none; }
.safari__share { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #e9e9ee; color: #0a7aff; font-size: 24px; flex: none; }
.sheet {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  height: 470px;
  padding: 10px 18px 0;
  border-radius: 30px 30px 0 0;
  background: #f2f2f6;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
}
.sheet__grab { width: 40px; height: 5px; border-radius: 3px; background: #c6c6cb; margin: 0 auto 14px; }
.sheet__head { display: flex; gap: 12px; align-items: center; padding: 6px 4px 18px; border-bottom: 1px solid #dcdce0; }
.sheet__thumb { width: 54px; height: 54px; border-radius: 12px; flex: none; }
.sheet__t { font: 600 17px/1.2 var(--f-body); color: #111; }
.sheet__d { font-size: 14px; color: #6d6d72; }
.sheet__apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 20px 0 18px; }
.sheet__app { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sheet__app small { font: 500 12px/1.2 var(--f-body); color: #222; text-align: center; }
.sheet__icon { position: relative; width: 66px; height: 66px; border-radius: 16px; background: var(--ic, #fff); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); overflow: hidden; }
.sheet__icon::after { content: ""; position: absolute; inset: 30% 26%; border-radius: 40%; background: rgba(255, 255, 255, 0.85); }
.sheet__app--bj .sheet__icon { background: #fff; display: grid; place-items: center; }
.sheet__app--bj .sheet__icon::after { display: none; }
.sheet__app--bj .sheet__icon img { width: 100%; height: auto; }
.sheet__app--bj .sheet__icon { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--bright), 0 8px 18px rgba(58, 120, 182, 0.35); }
.sheet__acts { display: grid; gap: 10px; }
.sheet__acts span { height: 52px; border-radius: 13px; background: #fff; padding: 0 18px; display: flex; align-items: center; font: 500 16px/1 var(--f-body); color: #111; }
.tap {
  position: absolute;
  z-index: 7;
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 0 30px rgba(58, 120, 182, 0.6);
  opacity: 0;
  pointer-events: none;
}
.scr--review .tap { background: rgba(122, 164, 204, 0.3); }

/* Home */
.apphead { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px 0; }
.appbtn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.04); font-size: 22px; color: #e6e4df; }
.appbrand { display: flex; align-items: center; gap: 8px; font: 600 24px/1 var(--f-app); letter-spacing: -0.01em; }
.appbrand img { width: 30px; height: auto; }
.applabel { display: flex; align-items: center; gap: 8px; padding: 22px 20px 10px; font: 500 16px/1 var(--f-app); }
.applabel .ic { font-size: 17px; color: #a19d94; }
.appsearch {
  margin: 0 18px;
  height: 50px;
  border-radius: 16px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(48, 104, 168, 0.18);
  box-shadow: inset 0 0 0 1px rgba(122, 164, 204, 0.3);
  color: #a19d94;
  font-size: 16.5px;
}
.appsearch .ic { font-size: 21px; color: #c2bfb8; }
.appchips { display: flex; gap: 8px; align-items: center; padding: 14px 18px 0; white-space: nowrap; }
.appchips span { height: 34px; padding: 0 15px; border-radius: 17px; display: grid; place-items: center; font: 500 14.5px/1 var(--f-body); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); color: #e2e0dc; }
.appchips span.on { background: #3a78b6; box-shadow: none; color: #fff; }
.appchips i { width: 1px; height: 22px; background: rgba(255, 255, 255, 0.2); }
.appbody {
  position: absolute;
  left: 0;
  right: 0;
  top: 296px;
  bottom: 0;
  padding-top: 18px;
  background: linear-gradient(180deg, #141619 0%, #1c2026 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.appbody::before { content: ""; position: absolute; top: 7px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); }
.healthline { display: flex; justify-content: space-between; align-items: center; padding: 8px 20px 12px; font-size: 15.5px; color: #e6e4df; border-bottom: 1px solid #2c2f33; }
.healthline span { display: flex; gap: 10px; align-items: center; }
.healthline .ic { font-size: 19px; color: #c2bfb8; }
.healthline b { font-weight: 600; color: #8fb8e0; font-size: 15px; }
.rows { position: relative; }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 66px;
  gap: 14px;
  padding: 16px 20px 16px;
  border-bottom: 1px solid #2c2f33;
  background: linear-gradient(180deg, #16191d, #181b20);
}
.row__t { display: flex; gap: 10px; align-items: center; font: 600 18.5px/1.25 var(--f-app); letter-spacing: -0.005em; color: #efeeec; }
.row__t .fav { font-size: 20px; }
.row__s { position: relative; margin-top: 5px; font-size: 14.5px; line-height: 1.42; color: #a19d94; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.84em; }
.row__m { margin-top: 5px; font-size: 13.5px; color: #a19d94; }
.unopened { color: #8fb8e0; margin-left: 6px; }
.unopened::before { content: "•"; margin-right: 6px; }
.row__chips { display: flex; gap: 6px; margin-top: 10px; position: relative; height: 30px; overflow: hidden; }
.row__thumb { width: 66px; height: 66px; border-radius: 12px; }
.fab { position: absolute; right: 22px; bottom: 112px; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #3a78b6; color: #fff; font-size: 30px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45); }
.tabbar {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  height: 94px;
  padding: 10px 6px 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(24, 27, 31, 0.97);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.06);
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 5px; font: 400 13px/1 var(--f-app); color: #a19d94; transition: color 0.3s; }
.tab .ic { font-size: 25px; }
.tab.on { color: #8fb8e0; }
.scr--web ~ .tabbar { transition: opacity 0.3s; }

/* Home row, mid-sort: description → summary, Sorting… → stash + tags */
.row__desc, .row__sum { display: block; }
.row__sum { position: absolute; inset: 0; opacity: 0; color: #c9c6bf; }
.row__chips .chip { position: relative; }
.row__chips [data-row-stash], .row__chips [data-row-tag] { opacity: 0; }
.row--new { position: relative; }
.row--new::after {
  /* the shimmer while it's sorting */
  content: "";
  position: absolute;
  inset: 0;
  opacity: var(--shimmer, 0);
  background: linear-gradient(100deg, rgba(122, 164, 204, 0) 30%, rgba(122, 164, 204, 0.12) 50%, rgba(122, 164, 204, 0) 70%);
  background-size: 250% 100%;
  animation: shimmer 1.8s linear infinite;
  pointer-events: none;
}
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* Stashes */
.apptitle { padding: 26px 20px 14px; font: 600 32px/1 var(--f-app); letter-spacing: -0.01em; }
.lists4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0 16px; }
.lists4 span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px 10px; border-radius: 16px; background: #24282d; font-size: 12.5px; color: #e2e0dc; }
.lists4 .ic { font-size: 22px; color: #8fb8e0; margin-bottom: 2px; }
.lists4 b { font: 600 15px/1 var(--f-app); color: #efeeec; }
.stashgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; }
.stile { position: relative; padding: 9px 9px 12px; border-radius: 20px; background: #24282d; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; height: 92px; border-radius: 13px; overflow: hidden; }
.mosaic .thumb { height: 100%; }
.slot-empty { background: rgba(255, 255, 255, 0.05) !important; }
.stile__n { margin: 10px 4px 0; font: 600 16.5px/1.1 var(--f-app); }
.stile__c { margin: 4px 4px 0; font-size: 13.5px; color: #a19d94; }
.stile__auto { position: absolute; right: 10px; bottom: 11px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 8px; font-size: 10.5px; color: #c2bfb8; background: #2e3238; }
.stile__auto .ic { width: 9px; height: 9px; color: #8fb8e0; }
.stile--new { opacity: 0; transform: scale(0.85); }
.stile[data-stile="cooking"] { --bump: 1; }
.flythumb { position: absolute; z-index: 4; left: 0; top: 0; width: 66px; height: 66px; border-radius: 12px; opacity: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }

/* Activity → Review */
.segs { display: grid; grid-template-columns: 1fr 1fr; margin: 0 18px; padding: 4px; border-radius: 16px; background: rgba(48, 104, 168, 0.18); box-shadow: inset 0 0 0 1px rgba(122, 164, 204, 0.3); }
.segs span { height: 38px; display: grid; place-items: center; border-radius: 12px; font: 500 15px/1 var(--f-app); color: #c2bfb8; }
.segs span.on { background: #2e3238; color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }
.appcaption { display: flex; gap: 8px; align-items: center; padding: 18px 20px 10px; font-size: 14.5px; color: #a19d94; }
.rcard { position: relative; margin: 4px 14px; padding: 16px; border-radius: 22px; background: #24282d; }
.rcard__top { display: grid; grid-template-columns: minmax(0, 1fr) 66px; gap: 14px; }
.rcard__q { margin-top: 14px; font-size: 13.5px; color: #a19d94; }
.rcard__pick { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.rcard__or { font-size: 13.5px; color: #a19d94; }
.rdone { position: absolute; left: 0; right: 0; top: 330px; display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0; text-align: center; }
.rdone .ic { font-size: 44px; color: #8fb8e0; }
.rdone p { font: 600 20px/1.2 var(--f-app); }
.rdone small { font-size: 14.5px; color: #a19d94; }

/* ======================================================================== */
/* 1 · HERO                                                                  */
/* ======================================================================== */
.hero .stage { display: grid; }
.aurora { position: absolute; inset: -10%; pointer-events: none; }
.aurora__blob { position: absolute; border-radius: 50%; will-change: transform; }
.a1 { width: 70vmax; height: 70vmax; right: -12vmax; top: -6vmax; background: radial-gradient(closest-side, rgba(58, 120, 182, 0.5), rgba(58, 120, 182, 0.16) 55%, rgba(58, 120, 182, 0)); animation: drift1 26s ease-in-out infinite alternate; }
.a2 { width: 46vmax; height: 46vmax; right: 4vmax; top: 30vmax; background: radial-gradient(closest-side, rgba(122, 164, 204, 0.32), rgba(122, 164, 204, 0)); animation: drift2 31s ease-in-out infinite alternate; }
.a3 { width: 60vmax; height: 60vmax; left: -20vmax; bottom: -30vmax; background: radial-gradient(closest-side, rgba(48, 104, 168, 0.3), rgba(48, 104, 168, 0)); animation: drift3 35s ease-in-out infinite alternate; }
.a4 { width: 28vmax; height: 28vmax; right: 14vmax; top: 10vmax; background: radial-gradient(closest-side, rgba(156, 198, 242, 0.28), rgba(156, 198, 242, 0)); animation: drift2 22s ease-in-out infinite alternate-reverse; }
.aurora__ring {
  position: absolute;
  width: 58vmax;
  height: 58vmax;
  right: -2vmax;
  top: 4vmax;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(156, 198, 242, 0) 0deg, rgba(156, 198, 242, 0.14) 60deg, rgba(156, 198, 242, 0) 120deg, rgba(58, 120, 182, 0.12) 220deg, rgba(156, 198, 242, 0) 300deg);
  mask-image: radial-gradient(closest-side, transparent 62%, #000 64%, #000 66%, transparent 70%);
  -webkit-mask-image: radial-gradient(closest-side, transparent 62%, #000 64%, #000 66%, transparent 70%);
  animation: spin 60s linear infinite;
}
@keyframes drift1 { to { transform: translate3d(-6vmax, 4vmax, 0) scale(1.08); } }
@keyframes drift2 { to { transform: translate3d(5vmax, -4vmax, 0) scale(0.92); } }
@keyframes drift3 { to { transform: translate3d(8vmax, -6vmax, 0) scale(1.1); } }

.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: 40px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 60px;
  min-height: 100svh;
}
.hero__copy { position: relative; z-index: 3; }
.hero__copy .pill { margin-bottom: 30px; }
/* How it works, the third and quietest part of the call to action: beside the buttons on a wide
   screen, under them on a phone (a line of its own under them reached the foot of a 1366 × 768
   laptop's screen) */
.hero__more { min-height: 44px; margin-left: 8px; font-size: 16px; }
.hero__title { font-size: clamp(3.3rem, 7.6vw, 7.9rem); margin-bottom: 30px; }
.hero__title .reveal-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .reveal-line > * { display: inline-block; }
.lede { font-size: clamp(1.08rem, 1.45vw, 1.3rem); line-height: 1.6; color: var(--text-2); max-width: 31em; margin-bottom: 36px; }
.hero__device { position: relative; z-index: 2; display: grid; place-items: center; }
.phone--hero { --pw: 330; }
.hero__toast {
  position: absolute;
  left: 50%;
  bottom: 14%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 13px;
  margin-left: -230px;
  border-radius: 999px;
  font-size: 15px;
  color: #e7eef5;
  white-space: nowrap;
  background: rgba(12, 28, 46, 0.72);
  box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.3), 0 20px 40px -12px rgba(0, 0, 0, 0.6), 0 0 30px -6px rgba(58, 120, 182, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero__toast .ic { color: var(--glow-2); font-size: 14px; }
.hero__toast b { color: #fff; }
.stream { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.scard {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 270px;
  padding: 10px 10px 10px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(30, 44, 62, 0.94), rgba(20, 30, 44, 0.94));
  box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.18), 0 20px 40px -14px rgba(0, 0, 0, 0.7);
  opacity: 0;
  will-change: transform, opacity;
}
.scard .fav { font-size: 22px; }
.scard__txt { min-width: 0; flex: 1; }
.scard__t { font: 600 14.5px/1.25 var(--f-app); color: #eef3f8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scard__d { font-size: 12.5px; color: #93a9be; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scard .thumb { width: 44px; height: 44px; border-radius: 10px; flex: none; }
.phone__flash {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(60% 40% at 50% 50%, rgba(156, 198, 242, 0.5), rgba(58, 120, 182, 0) 70%);
}
.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font: 400 11px/1 var(--f-mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-3);
}
.scroll-cue span { width: 1px; height: 36px; background: linear-gradient(var(--glow-2), transparent); animation: cue 2.2s var(--ease-io) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
/* On a phone, "Scroll ⌄" at the end of the hero's last row of links (the owner, 1 Nov: "a 'scroll
   down' or 'scroll' indicator on mobiles"), at the right of "How it works" where there is room, on a
   row of its own where there is not (360-375px): part of the copy, so the phone's landing peek keeps
   clear of it (motion.js fits the peek under the copy's foot), and the foot of the screen, where the
   phone peeks, is left to the phone. In Steps motion.js makes it a button that goes one step on; in
   Scroll and Autoplay, and with reduced motion, it is a still cue. The look of Steps' cue at the foot
   of the screen (.next-beat--cue). */
.hero__cue { display: none; }
@media (max-width: 759px) {
  .hero__cue { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; margin-left: auto; padding: 0 11px 0 15px; border: 0; border-radius: 999px; font: 500 11px/1 var(--f-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-2); background: rgba(8, 22, 38, 0.5); box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.3); -webkit-appearance: none; appearance: none; }
  button.hero__cue { cursor: pointer; }
}
.hero__cue .ic, .next-beat--cue .ic { font-size: 15px; animation: cueBob 1.8s var(--ease-io) infinite; }
@keyframes cueBob { 0%, 100% { transform: translateY(-1.5px); } 50% { transform: translateY(2px); } }
.film-frame .hero__cue { display: none; }

/* entrance */
.motion .hero__title .reveal-line > * { transform: translateY(105%); animation: rise 1.2s var(--ease-out) forwards; }
.motion .hero__title .reveal-line:nth-child(2) > * { animation-delay: 0.12s; }
.motion .hero__copy .pill, .motion .hero__copy .lede, .motion .hero__copy .ctas { opacity: 0; transform: translateY(18px); animation: fadeup 1s var(--ease-out) forwards; }
.motion .hero__copy .pill { animation-delay: 0.05s; }
.motion .hero__copy .lede { animation-delay: 0.35s; }
.motion .hero__copy .ctas { animation-delay: 0.5s; }
.motion .hero__copy .hero__cue { opacity: 0; transform: translateY(12px); animation: fadeup 0.9s var(--ease-out) 1.1s forwards; }
.motion .hero__device { opacity: 0; animation: fadein 1.6s var(--ease-out) 0.25s forwards; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeup { to { opacity: 1; transform: translateY(0); } }
@keyframes fadein { to { opacity: 1; } }

@media (max-width: 1080px) {
  .hero__layout { grid-template-columns: minmax(0, 1fr); gap: 0; align-content: start; padding-top: calc(var(--nav-h) + 28px); }
  .hero__device { margin-top: 36px; }
}
@media (max-width: 759px) {
  .hero__copy .pill { margin-bottom: 22px; font-size: 13px; }
  .hero__title { font-size: clamp(2.9rem, 13.2vw, 3.6rem); margin-bottom: 18px; }
  .lede { font-size: 1.05rem; margin-bottom: 24px; }
  .phone--hero { --pw: 250; }
  .hero__toast { font-size: 13.5px; margin-left: -170px; bottom: 24%; }
  .scard { width: 210px; padding: 8px 8px 8px 11px; gap: 9px; }
  .scard .thumb { width: 36px; height: 36px; }
  .scard__t { font-size: 13px; }
  .scroll-cue { display: none; }
  .ctas .btn--lg { min-height: 50px; padding: 0 22px; font-size: 15.5px; }
  .hero__more { margin-left: 2px; font-size: 15.5px; }
}
.motion .hero__device { will-change: transform; }

/* The phone in real 3D (hero3d.js, three.js): html.hero3d is set before the first paint when
   WebGL2 works and motion is on. The CSS phone keeps its place, and its pose, as the fallback,
   but is not drawn; the canvas covers the stage under the copy and the cards, and fades in once
   the phone is ready. If 3D fails after all, html.hero3d-off brings the CSS phone back. */
.hero3d .phone--hero { visibility: hidden; }
.hero__canvas { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 0.9s var(--ease-out); }
.hero3d-ready .hero__canvas { opacity: 1; }
/* a card landing on the 3D screen: the glow, clipped by motion.js to the screen's projected corners */
.hero__flash { position: absolute; z-index: 1; left: 0; top: 0; width: 0; height: 0; pointer-events: none; opacity: 0; background: radial-gradient(60% 40% at 50% 50%, rgba(156, 198, 242, 0.5), rgba(58, 120, 182, 0) 70%); }
.hero3d-off .phone--hero { animation: phoneBack 0.6s var(--ease-out) both; }
@keyframes phoneBack { from { opacity: 0; } }

/* ---- CALLOUTS — live since 1 Nov (html.hero-callouts, index.html's head script; Home only; the review switch's "Hero: As now" takes it away on a preview) ---- */
/* Once the hero's phone has squared up, what its real screen shows is named on it: a dot on the
   screen, a 1px line out, a title and a line. motion.js builds and places them (CALLOUTS, by the
   hero scene) and sets each one's --len (its line's length), --t0 (its start) and --dx (where its
   caption slides in from). Six at once on a desktop; one at a time in a band under the phone on a
   phone; with reduced motion, numbered dots on the screen and a list under it. Decorative
   (aria-hidden). */
.callouts { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.callouts.is-placing * { transition: none !important; }
.co { position: absolute; inset: 0; --ld: 0.36s; }
/* on a phone the line goes out, down past the phone and in: a longer line, drawn for longer */
.callouts--band .co { --ld: 0.62s; }
.co__line { position: absolute; left: 0; top: 0; overflow: visible; }
.co__line path { fill: none; stroke: rgba(156, 198, 242, 0.72); stroke-width: 1; stroke-linejoin: round; stroke-dasharray: calc(var(--len, 0) * 1px) calc(var(--len, 0) * 1px + 10px); stroke-dashoffset: calc(var(--len, 0) * 1px); transition: stroke-dashoffset 0.22s var(--ease-io); }
.co__dot { position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #e3f0fc; box-shadow: 0 0 0 3px rgba(111, 168, 232, 0.38), 0 0 16px 3px rgba(111, 168, 232, 0.85); transform: scale(0); transition: transform 0.22s var(--ease-io); }
/* the breath: a ring that swells from the dot and fades, once it has landed */
.co__dot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.7); opacity: 0; }
.co__cap { position: absolute; top: 0; opacity: 0; transform: translate3d(var(--dx, 0), 0, 0); transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out); }
.co__cap[data-side="-1"] { text-align: right; }
.co__cap[data-side="0"] { text-align: center; }
.co__t { display: inline-block; font: 600 clamp(1.04rem, 1.32vw, 1.3rem)/1.3 var(--f-body); letter-spacing: -0.01em; color: var(--text); text-wrap: balance; }
.co__d { display: block; margin-top: 2px; font-size: clamp(0.9rem, 1.07vw, 1.04rem); line-height: 1.45; color: var(--text-2); text-wrap: balance; }
/* in: the dot pops, its line draws out from it (~350ms), its caption arrives */
.co.is-in .co__dot { transform: scale(1); transition: transform 0.42s var(--ease-spring) var(--t0, 0s); }
.co.is-in .co__line path { stroke-dashoffset: 0; transition: stroke-dashoffset var(--ld) var(--ease-io) calc(var(--t0, 0s) + 0.16s); }
.co.is-in .co__cap { opacity: 1; transform: none; transition: opacity 0.5s var(--ease-out) calc(var(--t0, 0s) + var(--ld)), transform 0.6s var(--ease-out) calc(var(--t0, 0s) + var(--ld)); }
.co.is-in .co__dot::after { animation: coBreathe 3s var(--ease-io) calc(var(--t0, 0s) + 1.3s) infinite; }
.callouts:not(.is-live) .co__dot::after { animation-play-state: paused; }
@keyframes coBreathe {
  0% { opacity: 0; transform: scale(0.55); }
  45% { opacity: 0.9; }
  100% { opacity: 0; transform: scale(1.7); }
}
/* on a phone: one at a time, centred under the phone */
@media (max-width: 759px) {
  .co__t { font-size: 1.06rem; }
  .co__d { font-size: 0.94rem; }
}
/* the small viewport's height, measured (motion.js) */
.hero__svh { position: absolute; left: 0; top: 0; width: 0; height: 100vh; height: 100svh; visibility: hidden; pointer-events: none; }
/* a short phone screen (motion.js sets .hero--tight when what always shows is under 780px tall: an
   iPhone in Safari, its bars out, is about 390 × 660): the copy's spacing and type tighten a step,
   so the phone can peek by its top third on landing instead of a sliver at the foot */
@media (max-width: 759px) {
  .hero--tight .hero__layout { padding-top: calc(var(--nav-h) + 16px); }
  .hero--tight .hero__copy .pill { margin-bottom: 14px; }
  .hero--tight .hero__title { font-size: clamp(2.5rem, 11.4vw, 3.1rem); margin-bottom: 12px; }
  .hero--tight .lede { font-size: 1rem; line-height: 1.5; margin-bottom: 18px; }
  .hero--tight .ctas { gap: 10px; }
  .hero--tight .ctas .btn--lg { min-height: 46px; }
  .hero--tight .hero__device { margin-top: 22px; }
}
/* reduced motion: numbered dots on the phone's screen, and the four as a list under the phone. The
   dots sit on the phone (its screen clips), at (u, v) of the screen's box: 4.3cqw in from the
   phone's edge, 91.4cqw wide and 198.7cqw tall (the frame's and glass's insets, PHONE above) */
.co-num { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font: 600 10px/1 var(--f-mono); color: #06121f; background: #dcecfb; box-shadow: 0 0 0 3px rgba(111, 168, 232, 0.35), 0 0 14px 2px rgba(111, 168, 232, 0.7); }
.phone > .co-num { position: absolute; z-index: 10; left: calc(4.3cqw + var(--u) * 91.4cqw); top: calc(4.3cqw + var(--v) * 198.7cqw); width: 16px; height: 16px; margin: -8px 0 0 calc(-8px + var(--nx, 0px)); font-size: 9.5px; }
/* the toast's moment is the first callout's; it would sit on the list */
.hero-callouts:not(.motion) .hero__toast { display: none; }
/* its own layer: the phone is positioned, so its long shadow would otherwise paint over the list */
.co-list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; width: min(100%, 520px); margin-top: 34px; text-align: left; }
.co-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; column-gap: 12px; align-items: baseline; }
.co-list .co-num { grid-row: span 2; align-self: start; margin-top: 2px; }
.co-list .co__t { font-size: 1.05rem; }
.co-list .co__d { font-size: 0.95rem; text-wrap: pretty; }
@media (max-width: 759px) {
  .co-list { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 28px; }
}

/* ======================================================================== */
/* 2 · THE GRAVEYARD                                                        */
/* ======================================================================== */
.grave .stage { background: radial-gradient(120% 80% at 50% 120%, #0c2036 0%, var(--night-1) 60%); }
.grave__glow { position: absolute; inset: 0; background: radial-gradient(50% 40% at 50% 60%, rgba(58, 120, 182, 0.18), transparent 70%); opacity: var(--gl, 0); pointer-events: none; }
.grave__copy {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 56px) var(--gutter) 0;
}
.grave__copy .h2 { max-width: 13em; margin-bottom: 30px; }
.lit {
  font-family: var(--f-display);
  font-optical-sizing: auto;
  font-weight: 380;
  font-size: clamp(1.7rem, 3.1vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.022em;
  max-width: 19em;
  color: var(--text);
}
.lit .w { opacity: 0.16; transition: none; }
.grave__sub { margin-top: 22px; max-width: 34em; color: var(--text-2); font-size: clamp(1rem, 1.2vw, 1.15rem); }
.grave__pile { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.gcard {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 268px;
  height: 66px;
  padding: 0 11px 0 14px;
  border-radius: 15px;
  background: linear-gradient(180deg, #1b2735, #141e2a);
  box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.14), 0 18px 34px -16px rgba(0, 0, 0, 0.85);
  transform-origin: var(--ox, 236px) 50%;
}
.gcard__body { display: flex; align-items: center; gap: 11px; min-width: 0; flex: 1; }
.gcard .fav { font-size: 21px; }
.gcard__txt { min-width: 0; }
.gcard__t { font: 600 14px/1.25 var(--f-app); color: #e9eef3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gcard__d { font-size: 12px; color: #8fa5ba; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gcard__thumb { width: 44px; height: 44px; border-radius: 10px; flex: none; position: relative; z-index: 2; }
.gcard__dim { position: absolute; inset: 0; border-radius: inherit; background: rgba(7, 15, 26, 0.62); pointer-events: none; }
.gcard__bg { position: absolute; inset: 0; border-radius: inherit; }
.gtile {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  border-radius: 22px;
  padding: 12px 12px 14px;
  background: linear-gradient(180deg, rgba(28, 42, 58, 0.92), rgba(18, 28, 40, 0.92));
  box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.16), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  opacity: 0;
}
.gtile__mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 14px; overflow: hidden; }
.gtile__mosaic i { display: block; aspect-ratio: 1.45; background: rgba(156, 198, 242, 0.06); }
.gtile__n { margin-top: 11px; display: flex; align-items: center; gap: 8px; font: 600 16px/1.1 var(--f-app); color: #eef3f8; }
.gtile__e { font-size: 15px; }
.gtile__c { margin-top: 4px; font-size: 13px; color: #93a9be; }
.gtile__auto { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; padding: 2px 7px; border-radius: 7px; font: 500 10.5px/1.5 var(--f-body); color: #b9cde0; background: rgba(48, 104, 168, 0.25); vertical-align: 1px; white-space: nowrap; }
.gtile__auto .ic { width: 9px; height: 9px; color: var(--glow-2); }
.grave__end {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: calc(var(--nav-h) + 28px);
  text-align: center;
  padding: 0 var(--gutter);
  opacity: 0;
}
.grave__endline { font-size: clamp(2.4rem, 5vw, 4.8rem); }
.grave__endline em { background: linear-gradient(100deg, #f2f7fb 10%, #9cc6f2 55%, #6fa8e8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }
.grave__endsub { margin: 14px auto 0; max-width: 34em; color: var(--text-2); }

@media (max-width: 759px) {
  .grave__copy { padding-top: calc(var(--nav-h) + 32px); }
  .grave__copy .h2 { margin-bottom: 20px; }
  .grave__sub { display: none; }
  .gcard { width: 206px; height: 54px; gap: 9px; padding: 0 8px 0 11px; border-radius: 13px; transform-origin: var(--ox, 180px) 50%; }
  .gcard__thumb { width: 36px; height: 36px; border-radius: 8px; }
  .gcard__t { font-size: 12.5px; }
  .gcard__d { font-size: 11px; }
  .gtile { border-radius: 16px; padding: 7px 7px 9px; }
  .gtile__mosaic { border-radius: 10px; gap: 3px; }
  .gtile__n { font-size: 12.5px; margin-top: 7px; gap: 5px; }
  .gtile__e { font-size: 12px; }
  .gtile__c { font-size: 11px; }
  .gtile__auto { display: none; }
  .grave__endsub { font-size: 15.5px; }
}

/* ======================================================================== */
/* 3 · WATCH A LINK FILE ITSELF                                             */
/* ======================================================================== */
.how .stage { background: radial-gradient(70% 60% at 75% 50%, rgba(28, 64, 104, 0.45), transparent 70%), var(--night-1); }
.how__layout {
  position: relative;
  height: 100%;
  min-height: 100svh;
  max-width: 1440px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 40px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
}
.motion .how__layout { height: 100svh; }
.how__copy { position: relative; z-index: 2; align-self: center; }
.how__copy .h2 { margin-bottom: 34px; max-width: 9em; }
.steps { position: relative; display: grid; gap: 4px; counter-reset: step; padding-left: 26px; }
.steps::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: var(--line-2); }
.steps::after { content: ""; position: absolute; left: 0; top: 10px; width: 1px; height: calc((100% - 20px) * var(--sp, 0)); background: linear-gradient(var(--glow-2), var(--glow)); box-shadow: 0 0 10px var(--glow); }
.step { position: relative; padding: 8px 0 10px; opacity: 0.42; transition: opacity 0.5s var(--ease-out); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -38px;
  top: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 500 11px/1 var(--f-mono);
  color: var(--text-3);
  background: var(--night-1);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: all 0.4s var(--ease-out);
}
.step h3 { font: 600 clamp(1.1rem, 1.5vw, 1.35rem)/1.3 var(--f-body); letter-spacing: -0.01em; color: var(--text); }
.step p { margin-top: 4px; font-size: 15.5px; color: var(--text-2); max-width: 28em; display: none; }
.step.is-on { opacity: 1; }
.step.is-on p { display: block; animation: fadeup 0.6s var(--ease-out) both; }
.step.is-on::before { color: #fff; background: var(--bright); box-shadow: 0 0 0 4px rgba(58, 120, 182, 0.25), 0 0 18px rgba(111, 168, 232, 0.7); }
.step.is-done { opacity: 0.62; }
.step.is-done::before { color: var(--glow-2); box-shadow: inset 0 0 0 1px rgba(111, 168, 232, 0.6); }
/* as a step lights, its number pulses once — a ring that grows and fades over the glow — so the
   eye comes back to the words (motion.js restarts it each time; none with reduced motion) */
.motion .step.is-on.is-pulse::before { outline: 2px solid transparent; animation: stepPulse 0.6s ease-out; }
@keyframes stepPulse {
  from { outline-offset: 0; outline-color: rgba(156, 198, 242, 0.95); }
  45% { outline-color: rgba(111, 168, 232, 0.6); }
  to { outline-offset: 13px; outline-color: rgba(111, 168, 232, 0); }
}
.how__visual { position: relative; min-height: 0; }
.how__meter { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(156, 198, 242, 0.06); }
.how__meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--glow), var(--glow-2)); transform-origin: 0 50%; transform: scaleX(0); }
.motion .how__meter { display: block; }
.how__meter { display: none; }

/* the canvas pieces (positions are set by JS in canvas units) */
.how__canvas { width: 920px; height: 780px; }
.phone--how { --pw: 340; position: absolute; }
.webcard {
  position: absolute;
  left: 0;
  top: 0;
  width: 400px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  color: #1a1917;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform-origin: 0 0;
  opacity: 0;
}
.webcard__bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: #eef0f3; border-bottom: 1px solid #dfe2e6; }
.webcard__dots { display: flex; gap: 6px; }
.webcard__dots i { width: 10px; height: 10px; border-radius: 50%; background: #d0d4da; }
.webcard__url { flex: 1; height: 24px; border-radius: 7px; background: #fff; padding: 0 10px; font: 400 12px/24px var(--f-mono); color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.webcard__body { padding: 0 0 22px; }
.webcard__hero { height: 150px; }
.webcard__title { font: 600 30px/1.05 var(--f-display); letter-spacing: -0.02em; padding: 18px 22px 8px; }
.webcard__text { padding: 0 22px; font-size: 15px; line-height: 1.55; color: #383838; }
.webcard__label { padding: 14px 22px 4px; font: 600 12px/1 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: #8a8a8a; }
.webcard__line { display: block; height: 9px; width: var(--w); margin: 9px 22px 0; border-radius: 5px; background: #e7e9ec; }
.webcard mark { position: relative; background: none; color: inherit; }
.webcard mark::before {
  content: "";
  position: absolute;
  inset: -1px -3px;
  border-radius: 4px;
  background: rgba(58, 120, 182, 0.22);
  box-shadow: inset 0 -2px 0 rgba(48, 104, 168, 0.7);
  opacity: var(--hl, 0);
  transform: scaleX(var(--hl, 0));
  transform-origin: 0 50%;
}
.webcard__scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 110px;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(58, 120, 182, 0) 0%, rgba(58, 120, 182, 0.18) 85%, rgba(111, 168, 232, 0.9) 98%, rgba(111, 168, 232, 0) 100%);
}
.kwpills { position: absolute; inset: 0; pointer-events: none; }
.kwpill {
  position: absolute;
  left: 0;
  top: 0;
  padding: 7px 14px;
  border-radius: 999px;
  font: 600 14px/1 var(--f-body);
  color: #fff;
  white-space: nowrap;
  background: linear-gradient(180deg, #4687c6, #3068a8);
  box-shadow: 0 0 0 1px rgba(156, 198, 242, 0.5), 0 10px 26px -6px rgba(58, 120, 182, 0.9);
  opacity: 0;
}
.extpop {
  position: absolute;
  left: 0;
  top: 0;
  width: 330px;
  padding: 14px;
  border-radius: 16px;
  background: #1b1f24;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px -24px rgba(0, 0, 0, 0.85);
  opacity: 0;
}
.extpop__head { display: flex; align-items: center; gap: 8px; font: 600 15px/1 var(--f-app); padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.extpop__head img { width: 22px; height: auto; }
.extpop__saved { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font: 500 13px/1 var(--f-body); color: #9cc6f2; }
.extpop__row { display: flex; gap: 12px; align-items: center; padding: 14px 0 12px; }
.extpop__row .fav { font-size: 30px; }
.extpop__t { font: 600 16px/1.2 var(--f-app); }
.extpop__d { font-size: 13px; color: #a19d94; }
.extpop__chips { position: relative; height: 30px; }
.extpop__chips .chip { position: absolute; left: 0; top: 0; }
.chip--new { opacity: 0; }
.extpop__src { margin-top: 12px; display: flex; gap: 6px; align-items: center; font: 400 11.5px/1 var(--f-mono); letter-spacing: 0.04em; color: #8a99a8; }
.pastebox {
  position: absolute;
  left: 0;
  top: 0;
  width: 380px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(20, 34, 50, 0.9);
  box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.2), 0 40px 80px -24px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
}
.pastebox__label { display: flex; gap: 8px; align-items: center; font: 400 11.5px/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: #9cb3c8; }
.pastebox__field { margin: 12px 0; height: 46px; border-radius: 12px; padding: 0 14px; display: flex; align-items: center; font: 400 14px/1 var(--f-mono); color: #e8eef4; background: rgba(6, 14, 24, 0.7); box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.22); white-space: nowrap; overflow: hidden; }
.pastebox__btn { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px; background: var(--bright); color: #fff; font-weight: 600; font-size: 14px; }
.caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 2px; background: currentColor; animation: blink 1s steps(1) infinite; vertical-align: -0.2em; }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 1080px) {
  .how__layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 10px; padding-top: calc(var(--nav-h) + 20px); padding-bottom: 16px; }
  .how__copy { align-self: start; min-height: 196px; }
  .how__copy .h2 { margin-bottom: 14px; font-size: clamp(2rem, 7vw, 3rem); max-width: none; }
  .motion .steps { padding-left: 0; }
  .motion .steps::before, .motion .steps::after { display: none; }
  .motion .steps { display: block; position: relative; }
  .motion .step { position: absolute; left: 0; right: 0; top: 0; opacity: 0; padding: 0; transition: opacity 0.45s var(--ease-out); }
  .motion .step::before { position: static; display: inline-grid; margin-right: 10px; vertical-align: 2px; }
  .motion .step h3 { display: inline; font-size: 1.12rem; }
  .motion .step p { font-size: 15px; }
  .motion .step.is-on { opacity: 1; }
  .motion .step.is-done { opacity: 0; }
}
@media (max-width: 759px) {
  .how__copy { min-height: 186px; }
  .motion .step p { font-size: 14.5px; }
}

/* ======================================================================== */
/* PAGE INTRO (your-data.html) — modest: an eyebrow, a heading, the policy   */
/* ======================================================================== */
.page-intro { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 104px) 0 36px; background: var(--night-1); }
.page-intro__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(50% 90% at 78% 0%, rgba(58, 120, 182, 0.32), transparent 70%);
  /* fade out before the section ends, so the scene below starts without a seam */
  -webkit-mask-image: linear-gradient(#000 45%, transparent 92%);
  mask-image: linear-gradient(#000 45%, transparent 92%);
}
/* the same frame as the section that follows (.wrap, 1280), so their edges line up */
.page-intro__inner { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.page-intro__title { font-size: clamp(2.8rem, 6vw, 5.8rem); margin-bottom: 24px; max-width: 12em; }
.page-intro .lede { margin-bottom: 32px; }
.page-intro__more { font-size: 17px; }
.motion .page-intro__inner > * { opacity: 0; transform: translateY(18px); animation: fadeup 1s var(--ease-out) forwards; }
.motion .page-intro__inner > :nth-child(2) { animation-delay: 0.08s; }
.motion .page-intro__inner > :nth-child(3) { animation-delay: 0.22s; }
.motion .page-intro__inner > :nth-child(4) { animation-delay: 0.34s; }
@media (max-width: 759px) {
  .page-intro { padding: calc(var(--nav-h) + 52px) 0 20px; }
  .page-intro__title { font-size: clamp(2.5rem, 11.5vw, 3.3rem); margin-bottom: 16px; }
  .page-intro .lede { margin-bottom: 24px; }
}

/* ======================================================================== */
/* 4 · WHAT IT KEEPS — exploded views                                        */
/* ======================================================================== */
.kinds .stage { background: radial-gradient(60% 70% at 72% 55%, rgba(30, 70, 116, 0.38), transparent 70%), linear-gradient(180deg, var(--night-1), #081624 60%, var(--night-1)); }
.kinds__glow { position: absolute; right: 8%; top: 22%; width: 46vw; height: 46vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(58, 120, 182, 0.18), transparent); pointer-events: none; }
.kinds__head { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto; padding: calc(var(--nav-h) + 40px) var(--gutter) 0; }
.kinds__head .h2 { max-width: 12em; font-size: clamp(2.1rem, 3.6vw, 3.5rem); }
.kinds__index { display: none; }
.kind { position: relative; }
.kind__copy p:not(.kind__num) { color: var(--text-2); font-size: 17px; line-height: 1.6; max-width: 26em; }
.kind__num { font: 400 12.5px/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--glow-2); margin-bottom: 16px; }
.kind__title { font-family: var(--f-display); font-optical-sizing: auto; font-weight: 430; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.08; letter-spacing: -0.028em; margin-bottom: 16px; text-wrap: balance; max-width: 13em; }
.kind__visual { position: relative; }
.kind__phones { position: relative; display: flex; justify-content: center; }
.kind__phones .phone { --pw: 270; }

/* plates */
.spec { position: relative; width: 340px; height: 212px; transform-style: preserve-3d; }
.plate {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 18px 20px;
  background: linear-gradient(160deg, rgba(36, 60, 90, 0.96), rgba(16, 30, 48, 0.96));
  box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 50px -24px rgba(0, 0, 0, 0.7);
  color: #e9eff5;
  backface-visibility: hidden;
}
.plate--base { padding: 0; overflow: hidden; background: #18222e; }
.plate__img { height: 128px; }
.plate__t { padding: 14px 18px 2px; font: 600 16.5px/1.25 var(--f-app); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plate__d { padding: 0 18px; font-size: 13px; color: #93a9be; }
.plate--top { background: linear-gradient(160deg, rgba(58, 120, 182, 0.96), rgba(28, 66, 112, 0.96)); box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.5), 0 0 40px -6px rgba(111, 168, 232, 0.55), 0 30px 50px -24px rgba(0, 0, 0, 0.7); }
.plate--warn { background: linear-gradient(160deg, rgba(74, 58, 26, 0.97), rgba(40, 32, 16, 0.97)); box-shadow: inset 0 0 0 1px rgba(232, 190, 92, 0.45), 0 30px 50px -24px rgba(0, 0, 0, 0.7); }
.plate--warn .plate__k { color: #f0c86a; display: flex; gap: 6px; align-items: center; }
.plate--warn .warn { font-size: 17px; line-height: 1.45; color: #fbecc8; }
.plate__k { font: 400 11.5px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: #9cc6f2; margin-bottom: 14px; }
.plate--top .plate__k { color: #e1eefb; }
.checks li { position: relative; padding: 4px 0 4px 28px; font-size: 15px; color: #dfe8f1; }
.checks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 17px; height: 17px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px rgba(156, 198, 242, 0.55); }
.checks li.done { color: rgba(234, 241, 247, 0.6); text-decoration: line-through; text-decoration-color: rgba(234, 241, 247, 0.5); }
.checks li.done::before { background: #eaf1f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%233068a8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5 10 17.5 19.5 7'/%3E%3C/svg%3E") center/13px no-repeat; box-shadow: none; }
.checks--big li { font-size: 16.5px; padding-top: 5px; padding-bottom: 5px; }
.awake { position: absolute; right: 18px; top: 16px; display: inline-flex; gap: 6px; align-items: center; padding: 5px 10px; border-radius: 99px; font-size: 12.5px; color: #fff; background: rgba(255, 255, 255, 0.14); }
.nsteps { counter-reset: n; display: grid; gap: 9px; }
.nsteps li { counter-increment: n; display: flex; gap: 12px; align-items: baseline; font-size: 15.5px; color: #dfe8f1; }
.nsteps li::before { content: counter(n); flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 600 12px/1 var(--f-body); color: #0b1b2c; background: #9cc6f2; transform: translateY(4px); }
.price { display: flex; align-items: baseline; gap: 14px; }
.price b { font: 500 64px/1 var(--f-display); letter-spacing: -0.03em; }
.price s { font-size: 18px; color: #9fb4c8; text-decoration-thickness: 1.5px; }
.mono-line { display: flex; gap: 10px; align-items: center; font: 400 15px/1.4 var(--f-mono); color: #d7e3ef; }
.mono-line .ic { font-size: 22px; color: #9cc6f2; }
.listchip { display: inline-flex; gap: 10px; align-items: center; padding: 12px 18px; border-radius: 14px; font: 600 17px/1 var(--f-app); color: #fff; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.listchip .ic { font-size: 20px; }
.addr { font: 500 21px/1.35 var(--f-app); letter-spacing: -0.01em; }
.plate--map { padding: 0; overflow: hidden; }
.map { position: absolute; inset: 0; background: linear-gradient(135deg, #16314d, #10243a); }
.map__r { position: absolute; background: rgba(156, 198, 242, 0.22); }
.map__r.r1 { left: -10%; right: -10%; top: 38%; height: 9px; transform: rotate(-8deg); }
.map__r.r2 { left: 30%; top: -10%; bottom: -10%; width: 7px; transform: rotate(14deg); }
.map__r.r3 { left: -10%; right: -10%; top: 72%; height: 5px; transform: rotate(5deg); opacity: 0.6; }
.map__r.r4 { left: 68%; top: -10%; bottom: -10%; width: 5px; transform: rotate(-20deg); opacity: 0.6; }
.map__pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); font-size: 44px; color: #fff; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)); }
.map__pin .ic { fill: var(--bright); }
.datebadge { display: flex; gap: 16px; align-items: center; font: 500 18px/1.3 var(--f-app); }
.datebadge span { display: grid; place-items: center; width: 76px; height: 84px; border-radius: 16px; background: #fff; color: #0b1b2c; flex: none; overflow: hidden; }
.datebadge small { display: block; width: 100%; padding: 6px 0 4px; text-align: center; font: 600 13px/1 var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--mid); }
.datebadge b { font: 500 40px/1 var(--f-display); margin-top: -4px; }
.filmtitle { font: 500 52px/1 var(--f-display); letter-spacing: -0.03em; }
.filmtitle span { font: 400 22px/1 var(--f-mono); color: #9cc6f2; margin-left: 8px; }
.stepbar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); margin-top: 22px; overflow: hidden; }
.stepbar i { display: block; height: 100%; width: 33%; border-radius: 4px; background: #fff; }

/* list tiles (finale) */
.listtiles { display: grid; grid-template-columns: repeat(5, 116px); gap: 14px; }
.ltile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 8px 16px; border-radius: 20px; background: linear-gradient(180deg, rgba(36, 60, 90, 0.95), rgba(18, 32, 50, 0.95)); box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.24), 0 24px 40px -24px rgba(0, 0, 0, 0.8); }
.ltile .ic { font-size: 30px; color: #9cc6f2; margin-bottom: 4px; }
.ltile b { font: 600 15px/1.1 var(--f-app); color: #eef3f8; }
.ltile small { font-size: 12.5px; color: #93a9be; }

/* leader lines (drawn by JS) */
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; overflow: visible; }
.leaders path { fill: none; stroke: rgba(156, 198, 242, 0.55); stroke-width: 1; }
.leaders circle { fill: #9cc6f2; }
.leader-labels { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.llabel { position: absolute; left: 0; top: 0; padding: 6px 10px; border-radius: 9px; font: 400 12.5px/1.2 var(--f-mono); letter-spacing: 0.02em; color: #d5e5f4; white-space: nowrap; background: rgba(8, 20, 34, 0.75); box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.25); opacity: 0; transform-origin: 0 50%; }

/* --- motion layout: one kind at a time, pinned --- */
.motion .kinds .stage { display: block; }
.motion .kinds__index {
  display: flex;
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  bottom: 40px;
  gap: 4px 18px;
  flex-wrap: wrap;
  max-width: 40%;
  font: 400 12px/1 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.motion .kinds__index li { position: relative; padding: 8px 0; transition: color 0.4s; }
.motion .kinds__index li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--glow-2); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.5s var(--ease-out); }
.motion .kinds__index li.is-on { color: #fff; }
.motion .kinds__index li.is-on::after { transform: scaleX(1); }
.motion .kind { position: absolute; inset: 0; pointer-events: none; }
.motion .kind__copy { position: absolute; z-index: 3; left: var(--gutter); width: min(36%, 520px); top: var(--kcopy-top, 46%); opacity: 0; pointer-events: auto; }
.motion .kind__visual { position: absolute; z-index: 2; left: var(--vx, 44%); top: var(--vy, 16%); width: var(--vw, 52%); height: var(--vh, 76%); perspective: 1300px; perspective-origin: 50% 50%; }
.motion .spec { position: absolute; left: 0; top: 0; margin: 0; }
.motion .plate { will-change: transform; }
.motion .kind__phones { position: absolute; z-index: 2; left: var(--vx, 44%); top: var(--vy, 16%); width: var(--vw, 52%); height: var(--vh, 76%); display: block; }
.motion .kind__phones .phone { position: absolute; left: 50%; top: 50%; opacity: 0; }
.motion .listtiles { position: absolute; left: 50%; top: 50%; }

@media (max-width: 1080px) {
  .motion .kinds__head { padding-top: calc(var(--nav-h) + 18px); }
  .motion .kinds__head .h2 { font-size: clamp(1.7rem, 5.6vw, 2.4rem); max-width: 16em; }
  .motion .kinds__index { display: none; }
  .motion .kind__copy { width: auto; right: var(--gutter); }
  .motion .kind__copy p:not(.kind__num) { font-size: 15px; }
  .motion .kind__title { font-size: clamp(1.35rem, 4.6vw, 1.8rem); margin-bottom: 8px; }
  .motion .kind__num { margin-bottom: 10px; }
  .listtiles { grid-template-columns: repeat(5, 64px); gap: 7px; }
  .ltile { padding: 12px 4px 10px; border-radius: 14px; }
  .ltile .ic { font-size: 22px; }
  .ltile b { font-size: 11px; }
  .ltile small { font-size: 10px; }
}

/* --- static layout (reduced motion / no JS): every kind on the page --- */
html:not(.motion) .kinds .stage { padding: 0 0 80px; }
html:not(.motion) .kinds__head { padding-top: 120px; padding-bottom: 30px; }
html:not(.motion) .kind {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  border-top: 1px solid var(--line);
}
html:not(.motion) .kind__visual .spec { display: grid; gap: 12px; width: 100%; max-width: 380px; height: auto; }
html:not(.motion) .plate { position: relative; inset: auto; min-height: 0; }
html:not(.motion) .plate--base { display: grid; grid-template-columns: 120px 1fr; align-items: center; }
html:not(.motion) .plate--base .plate__img { height: 100%; min-height: 76px; grid-row: span 2; }
html:not(.motion) .plate--base .plate__t { padding-top: 0; align-self: end; }
html:not(.motion) .plate--base .plate__d { align-self: start; }
html:not(.motion) .plate--map { height: 110px; }
html:not(.motion) .kind__phones { gap: 16px; }
html:not(.motion) .kind__phones .phone { --pw: 210; }
html:not(.motion) .listtiles { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
html:not(.motion) .leaders, html:not(.motion) .leader-labels { display: none; }
@media (max-width: 900px) {
  html:not(.motion) .kind { grid-template-columns: minmax(0, 1fr); }
  html:not(.motion) .kind__phones { justify-content: flex-start; }
}

/* ======================================================================== */
/* 5 · SMART SEARCH (a light section)                                        */
/* ======================================================================== */
.light {
  --text: #0e2236;
  --text-2: #3e5568;
  --text-3: #526678;
  --line: rgba(18, 48, 72, 0.12);
  color: var(--text);
  color-scheme: light;
}
.light .eyebrow { color: var(--mid); }
.light .eyebrow::before { background: var(--bright); box-shadow: 0 0 10px 1px rgba(58, 120, 182, 0.45); }
.light a { color: var(--mid); }
.light a:hover { color: var(--ink); }
.search .stage { background: radial-gradient(70% 70% at 80% 40%, #ffffff 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #dfe9f2 0%, #eef4f9 40%, #f7fafc 100%); }
.search__layout {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 50px) var(--gutter) 50px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}
.motion .search__layout { height: 100svh; }
.search__copy .h2 { margin-bottom: 24px; max-width: 9em; }
.search__copy .body-l { color: var(--text-2); }
.why-legend { margin-top: 30px; display: grid; gap: 12px; font-size: 15.5px; color: var(--text-2); }
.why-legend li { display: flex; align-items: center; gap: 12px; }
.why {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  border-radius: 8px;
  font: 600 12px/1 var(--f-body);
  white-space: nowrap;
}
.why .ic { width: 11px; height: 11px; }
.why--meaning { color: #1d4f86; background: rgba(58, 120, 182, 0.14); }
.why--keyword { color: #3e4a55; background: rgba(18, 48, 72, 0.07); box-shadow: inset 0 0 0 1px rgba(18, 48, 72, 0.14); font-family: var(--f-mono); font-weight: 400; }
.why--note { color: #5b4a1d; background: rgba(214, 170, 60, 0.18); }
.search__demo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; }
.sdemo {
  position: relative;
  z-index: 2;
  padding: 22px 22px 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(122, 164, 204, 0.4), 0 50px 100px -40px rgba(18, 48, 72, 0.45), 0 10px 30px -14px rgba(18, 48, 72, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.sdemo__label { display: flex; align-items: center; gap: 8px; font: 500 16px/1 var(--f-app); color: #1a1917; margin: 2px 4px 12px; }
.sdemo__label .ic { color: #847f75; }
.sdemo__field {
  position: relative;
  height: 58px;
  border-radius: 18px;
  padding: 0 52px 0 18px;
  display: flex;
  align-items: center;
  font-size: 19px;
  color: #1a1917;
  background: rgba(230, 238, 244, 0.75);
  box-shadow: inset 0 0 0 1px rgba(122, 164, 204, 0.5), 0 0 0 4px rgba(58, 120, 182, 0.08);
  white-space: nowrap;
  overflow: hidden;
}
.sdemo__field > .ic { position: absolute; right: 18px; top: 50%; margin-top: -11px; font-size: 22px; color: #57534c; }
.sdemo__ph { position: absolute; left: 18px; color: #847f75; pointer-events: none; }
.sdemo__field .caret { color: var(--bright); }
.sdemo__results { position: relative; margin-top: 14px; height: calc(5 * 80px); }
.sres {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 74px;
  padding: 0 10px 0 14px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 14px;
  align-items: center;
  transition: transform 0.8s var(--ease-out), opacity 0.5s var(--ease-out), background 0.4s, box-shadow 0.4s;
}
.sres.is-out { opacity: 0; }
.sres.is-top { background: #fff; box-shadow: 0 0 0 1.5px rgba(58, 120, 182, 0.55), 0 16px 40px -14px rgba(58, 120, 182, 0.55); }
.sres__t { display: flex; align-items: center; gap: 9px; font: 600 16px/1.25 var(--f-app); color: #1a1917; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sres__t .fav { font-size: 19px; }
.sres__m { margin-top: 5px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: #6b665d; white-space: nowrap; overflow: hidden; }
.sres .thumb { width: 54px; height: 54px; border-radius: 12px; }
.sres .why { height: 21px; font-size: 11.5px; padding: 0 7px; }
.sres__note { font-style: italic; color: #57534c; overflow: hidden; text-overflow: ellipsis; }
.phone--search { --pw: 250; transform: rotate(3deg) translateY(10px); }

@media (max-width: 1240px) { .phone--search { display: none; } .search__demo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1080px) {
  .search__layout { grid-template-columns: minmax(0, 1fr); gap: 22px; align-content: start; padding-top: calc(var(--nav-h) + 26px); }
  .search__copy .h2 { font-size: clamp(2rem, 7vw, 3rem); margin-bottom: 12px; max-width: none; }
  .search__copy .body-l { font-size: 15.5px; }
  .why-legend { display: none; }
  .sdemo { padding: 14px 12px 10px; border-radius: 24px; }
  .sdemo__field { height: 50px; font-size: 16px; padding-left: 14px; }
  .sdemo__ph { left: 14px; }
  .sdemo__results { height: calc(4 * 70px); }
  .sres { height: 64px; padding: 0 8px 0 10px; grid-template-columns: minmax(0, 1fr) 46px; gap: 10px; }
  .sres .thumb { width: 46px; height: 46px; }
  .sres__t { font-size: 14.5px; }
  .sres__m { font-size: 12px; }
}

/* ======================================================================== */
/* 6 · BENTO                                                                 */
/* ======================================================================== */
.bento-sec { position: relative; padding: 150px 0 140px; background: var(--night-1); }
.bento-sec .h2 { margin-bottom: 56px; }
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(250px, auto);
  gap: 16px;
}
.tile {
  --mx: 50%;
  --my: 50%;
  position: relative;
  overflow: hidden;
  padding: 28px 28px 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(22, 42, 64, 0.85), rgba(12, 26, 42, 0.85));
  box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.12), 0 30px 60px -40px rgba(0, 0, 0, 0.8);
  isolation: isolate;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(122, 164, 204, 0.16), transparent 45%);
  opacity: var(--spot, 0);
  transition: opacity 0.4s;
}
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.tile__copy { position: relative; z-index: 2; }
.tile h3 { display: flex; align-items: center; gap: 10px; font: 600 19px/1.25 var(--f-body); letter-spacing: -0.01em; margin-bottom: 8px; }
.tile h3 .ic { color: var(--glow-2); font-size: 20px; }
.tile__copy p { font-size: 15.5px; color: var(--text-2); line-height: 1.55; max-width: 26em; }
.tile--reader { grid-column: span 2; grid-row: span 2; min-height: 540px; }
.tile--upnext { grid-column: span 2; }
.tile--activity, .tile--review { grid-row: span 2; min-height: 540px; }
.tile--digest { grid-column: span 2; }
.tile__phone { position: absolute; z-index: 1; left: 50%; bottom: -150px; transform: translateX(-50%); }
.tile__phone .phone { --pw: 230; }
.tile--reader .tile__phone { left: auto; right: 34px; bottom: -120px; transform: rotate(-4deg); }
.tile--reader .tile__phone .phone { --pw: 240; }
.tile__phone--tall { bottom: -110px; }
.tile__phone--tall .phone { --pw: 210; }

/* reader */
.reader-demo { position: absolute; left: 28px; bottom: 28px; width: 46%; }
.rd__page { padding: 20px; border-radius: 18px; background: #f6f3ec; color: #2a2825; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); }
.rd__k { font: 400 11px/1 var(--f-mono); color: #847f75; letter-spacing: 0.06em; }
.rd__t { margin: 8px 0 12px; font: 600 26px/1.05 var(--f-display); letter-spacing: -0.02em; }
.rd__l { display: block; height: 8px; width: var(--w); border-radius: 4px; background: #ddd8cc; margin-top: 8px; transform-origin: 0 50%; }
.rd__video { position: relative; margin: 14px 0 6px; height: 104px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #12305a, #3a78b6); display: grid; place-items: center; }
.rd__play { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: #12305a; font-size: 20px; padding-left: 3px; }
.rd__bar { position: absolute; left: 10px; right: 10px; bottom: 9px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.rd__bar::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: 0 50%; transform: scaleX(0.2); }
.in-view .rd__bar::after { animation: progress 6s linear infinite; }
.in-view .rd__l { animation: lineIn 0.9s var(--ease-out) both; }
.in-view .rd__l:nth-of-type(2) { animation-delay: 0.08s; }
.in-view .rd__l:nth-of-type(3) { animation-delay: 0.16s; }
.in-view .rd__l:nth-of-type(4) { animation-delay: 0.24s; }
@keyframes progress { from { transform: scaleX(0.05); } to { transform: scaleX(1); } }
@keyframes lineIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* up next swipe */
.swipe-demo { position: relative; margin-top: 26px; height: 78px; border-radius: 18px; overflow: hidden; background: var(--bright); }
.swipe__slab { position: absolute; left: 0; top: 0; bottom: 0; width: 120px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-weight: 600; font-size: 14.5px; }
.swipe__row {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 52px;
  gap: 12px;
  align-items: center;
  padding: 0 12px 0 16px;
  background: #141c26;
  box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.14);
  border-radius: 18px;
}
.swipe__row .fav { font-size: 22px; }
.swipe__row p { font: 600 15px/1.25 var(--f-app); color: #eef3f8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swipe__row small { font-size: 12.5px; color: #8fa5ba; }
.swipe__row .thumb { width: 52px; height: 52px; border-radius: 11px; }
.in-view .swipe__row { animation: swipe 4.2s var(--ease-io) infinite; }
@keyframes swipe { 0%, 12% { transform: translateX(0); } 34%, 62% { transform: translateX(120px); } 80%, 100% { transform: translateX(0); } }

/* notes */
.note-demo { margin-top: 22px; padding: 16px; border-radius: 16px; background: #fbf6e6; color: #3a3424; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6); }
.note__for { font: 600 12px/1 var(--f-body); color: #8c7a4a; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 8px; }
.note__text { font: 500 17px/1.4 var(--f-body); min-height: 2.8em; }
.note__text .caret { color: #b8892a; }

/* duplicates */
.dupe-demo { position: relative; margin-top: 22px; }
.dupe__row { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: #141c26; box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.14); }
.dupe__row .thumb { width: 44px; height: 44px; border-radius: 10px; }
.dupe__row p { font: 600 14px/1.3 var(--f-app); color: #eef3f8; }
.dupe__row small { display: block; font: 400 12px/1.3 var(--f-body); color: #8fa5ba; }
.toast { position: absolute; left: 50%; bottom: -54px; transform: translateX(-50%); white-space: nowrap; padding: 10px 16px; border-radius: 12px; font-size: 14px; color: #0b1b2c; background: #eaf1f7; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.6); opacity: 0; }
.in-view .toast { animation: toast 4.5s var(--ease-out) infinite; }
@keyframes toast { 0%, 18% { opacity: 0; transform: translate(-50%, 12px); } 28%, 76% { opacity: 1; transform: translate(-50%, 0); } 88%, 100% { opacity: 0; transform: translate(-50%, 6px); } }

/* digest */
.mail-demo { margin-top: 22px; perspective: 900px; }
.mail { padding: 16px 18px; border-radius: 16px; background: #fff; color: #1a1917; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.7); transform-origin: 50% 100%; }
.mail__from { display: flex; align-items: center; gap: 8px; font: 600 14px/1 var(--f-body); }
.mail__from img { width: 22px; height: auto; }
.mail__from small { margin-left: auto; font-weight: 400; color: #847f75; font-size: 12.5px; }
.mail__subj { margin: 10px 0 8px; font: 600 16px/1.3 var(--f-app); }
.mail__l { display: block; height: 8px; width: var(--w); margin-top: 8px; border-radius: 4px; background: #e8e6e1; }
.in-view .mail { animation: mailIn 1.1s var(--ease-out) both; }
@keyframes mailIn { from { transform: rotateX(28deg) translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* favourites */
.fav-demo { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 220px; }
.fav-demo i { display: block; height: 30px; border-radius: 8px; background: rgba(156, 198, 242, 0.08); }
.fav-heart { grid-row: span 2; display: grid; place-items: center; border-radius: 12px; background: rgba(58, 120, 182, 0.2); color: #9cc6f2; font-size: 30px; }
.in-view .fav-heart .ic { animation: heart 2.4s var(--ease-spring) infinite; }
@keyframes heart { 0%, 50%, 100% { transform: scale(1); } 20% { transform: scale(1.3); } 35% { transform: scale(0.94); } }

/* export */
.export-demo { margin-top: 26px; }
.file { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; font: 400 14px/1 var(--f-mono); color: #d5e5f4; background: rgba(8, 20, 34, 0.7); box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.24); }
.file b { color: var(--glow-2); font-weight: 400; }
.in-view .file { animation: drop 3.6s var(--ease-out) infinite; }
@keyframes drop { 0% { transform: translateY(-14px); opacity: 0; } 18%, 80% { transform: none; opacity: 1; } 100% { transform: translateY(6px); opacity: 0; } }

/* insights: the copy and what a check can find on the left, the Insights screen on the right */
.tile--insights { grid-column: span 2; grid-row: span 2; min-height: 540px; }
.tile--insights .tile__copy { max-width: 47%; }
.statuses--tile { position: relative; z-index: 2; max-width: 47%; margin-top: 20px; }
.tile--insights .tile__phone { left: auto; right: 30px; bottom: -112px; transform: rotate(3deg); }
.tile--insights .tile__phone .phone { --pw: 236; }

@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--reader { grid-column: span 2; }
  .tile--digest, .tile--upnext { grid-column: span 2; }
  .tile--insights { grid-column: span 2; }
}
@media (max-width: 759px) {
  .bento-sec { padding: 100px 0 90px; }
  .bento-sec .h2 { margin-bottom: 36px; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 12px; }
  .tile { grid-column: auto !important; grid-row: auto !important; padding: 24px 22px 22px; border-radius: 24px; min-height: 0; }
  .tile--reader { min-height: 520px; }
  .tile--activity, .tile--review { min-height: 440px; }
  .tile--insights { min-height: 640px; }
  .tile--insights .tile__copy, .statuses--tile { max-width: none; }
  .tile--insights .tile__phone { right: auto; left: 50%; bottom: -150px; transform: translateX(-50%) rotate(3deg); }
  .tile--insights .tile__phone .phone { --pw: 210; }
  .reader-demo { width: auto; right: 120px; left: 22px; bottom: 22px; }
  .tile--reader .tile__phone { right: -40px; bottom: -150px; }
  .tile--reader .tile__phone .phone { --pw: 200; }
  .tile__copy p { font-size: 15px; }
}

/* ======================================================================== */
/* 7 · LINK ROT                                                              */
/* ======================================================================== */
.rot .stage { background: radial-gradient(60% 60% at 70% 50%, rgba(20, 40, 64, 0.6), transparent 70%), linear-gradient(180deg, var(--night-1), var(--night-0) 50%, var(--night-1)); }
.rot__glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.rot__glow::before, .rot__glow::after { content: ""; position: absolute; inset: 0; }
.rot__glow::before { background: radial-gradient(45% 45% at 72% 52%, rgba(210, 72, 63, 0.22), transparent 70%); opacity: var(--red, 0); }
.rot__glow::after { background: radial-gradient(45% 45% at 72% 52%, rgba(6, 193, 119, 0.2), transparent 70%); opacity: var(--green, 0); }
.rot__layout {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 50px) var(--gutter) 50px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.motion .rot__layout { height: 100svh; }
.rot__copy { position: relative; display: grid; }
.rot__beat { grid-area: 1 / 1; }
.rot__beat p:not(.eyebrow):not(.stat):not(.source) { color: var(--text-2); font-size: 17px; line-height: 1.6; margin-top: 14px; max-width: 30em; }
.rot__beat .h3 { margin-bottom: 4px; max-width: 13em; }
.rot__beat .h2 { margin-bottom: 30px; }
.stat { display: flex; align-items: center; gap: 22px; }
.stat__n { font-family: var(--f-display); font-optical-sizing: auto; font-weight: 300; font-size: clamp(4.6rem, 9vw, 8.4rem); line-height: 0.9; letter-spacing: -0.05em; color: #fff; font-variant-numeric: tabular-nums; flex: none; }
.stat__t { font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.45; color: var(--text); max-width: 15em; }
.source { margin-top: 18px; font-size: 13.5px; color: var(--text-3); }
.source a { color: var(--text-2); }
.statuses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.statuses li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font-size: 13.5px; color: var(--text); background: rgba(156, 198, 242, 0.06); box-shadow: inset 0 0 0 1px var(--line); }
.statuses li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.rot__visual { position: relative; height: 100%; min-height: 520px; }
.rotgrid { position: absolute; left: 50%; top: 50%; display: grid; grid-template-columns: repeat(10, 30px); gap: 10px; transform: translate(-50%, -50%); }
.rotgrid i { display: block; width: 30px; height: 30px; border-radius: 8px; background: rgba(122, 164, 204, 0.26); box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.18); }
.rotgrid i.is-dead { background: rgba(210, 72, 63, 0.9); box-shadow: 0 0 14px rgba(210, 72, 63, 0.6); }
.checker { position: absolute; left: 50%; top: 50%; width: min(560px, 100%); transform: translate(-50%, -50%); }
.lrow { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 18px; padding: 20px; border-radius: 22px; background: linear-gradient(180deg, #1b2532, #151d28); box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.16), 0 40px 80px -30px rgba(0, 0, 0, 0.9); }
.lrow .row__t { font-size: 19px; }
.lrow .row__m { font-size: 14px; color: #93a9be; }
.lrow__thumb { width: 84px; height: 84px; border-radius: 14px; }
.lrow__badges { position: relative; height: 28px; margin-top: 12px; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 8px; font: 600 13px/1 var(--f-body); white-space: nowrap; }
.lrow__badges .badge { position: absolute; left: 0; top: 0; opacity: 0; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--live { color: var(--resurrect); background: rgba(6, 193, 119, 0.12); }
.badge--dead { color: var(--st-dead-text); background: rgba(210, 72, 63, 0.16); }
.badge--back { color: var(--resurrect); background: rgba(6, 193, 119, 0.14); box-shadow: 0 0 20px -4px rgba(6, 193, 119, 0.6); }
.badge--archived { color: var(--st-archived-text); background: rgba(176, 84, 180, 0.16); }
.badge--suggested { color: #b5d3f2; background: rgba(48, 104, 168, 0.28); }
.lrow__beam { position: absolute; top: -20%; bottom: -20%; left: 0; width: 120px; opacity: 0; background: linear-gradient(90deg, rgba(6, 193, 119, 0), rgba(103, 237, 178, 0.55), rgba(6, 193, 119, 0)); filter: blur(2px); pointer-events: none; }
.lrow.is-dead .row__t, .lrow.is-dead .lrow__thumb { filter: grayscale(1) brightness(0.7); }
.lrow.is-dead .row__t { color: #8796a6; }
.lrow.is-back { box-shadow: inset 0 0 0 1px rgba(6, 193, 119, 0.45), 0 0 50px -10px rgba(6, 193, 119, 0.45), 0 40px 80px -30px rgba(0, 0, 0, 0.9); }
.log { margin-top: 16px; padding: 16px 18px; border-radius: 16px; background: rgba(4, 11, 19, 0.75); box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.12); font: 400 13px/1.75 var(--f-mono); color: #b9cbdc; }
.log p { opacity: 0; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.log .log__ua { color: #9cc6f2; }
.log .t { color: #5f7890; margin-right: 6px; }
.log .ok { color: #9cc6f2; font-weight: 400; }
.log .bad { color: var(--st-dead-text); font-weight: 400; }
.log .dim { color: #7d93a8; }
.sugg { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sugg__card { padding: 14px 16px; border-radius: 16px; background: linear-gradient(180deg, #19222e, #131a24); box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.14); opacity: 0; }
.sugg__card p { margin: 10px 0 6px; font: 600 15px/1.3 var(--f-app); }
.sugg__card small { display: flex; gap: 6px; align-items: center; font-size: 12px; color: #93a9be; }
.sugg__card small .ic { color: var(--resurrect); }
.rot__phones { position: absolute; inset: 0; pointer-events: none; }
.rot__phones .phone { --pw: 250; position: absolute; left: 50%; top: 50%; opacity: 0; }

.motion .rot__beat { opacity: 0; }
.motion .rot__beat[data-beat="0"] { opacity: 1; }

@media (max-width: 1080px) {
  .rot__layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 10px; align-items: start; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 20px; }
  .rot__beat .h2 { font-size: clamp(2rem, 8vw, 3rem); margin-bottom: 14px; }
  .rot__beat .h3 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .rot__beat p:not(.eyebrow):not(.stat):not(.source) { font-size: 15px; margin-top: 8px; }
  .stat__n { font-size: clamp(3.6rem, 18vw, 5rem); }
  .stat { gap: 14px; }
  .stat__t { font-size: 0.98rem; }
  .rot__visual { min-height: 0; }
  .motion .rot__beat[data-beat="1"] p + p { display: none; }
  .statuses { margin-top: 12px; gap: 6px; }
  .statuses li { font-size: 12px; padding: 4px 9px; }
  .rotgrid { grid-template-columns: repeat(10, 22px); gap: 7px; }
  .rotgrid i { width: 22px; height: 22px; border-radius: 6px; }
  .lrow { padding: 14px; gap: 12px; grid-template-columns: minmax(0, 1fr) 64px; border-radius: 18px; }
  .lrow .row__t { font-size: 16px; }
  .lrow__thumb { width: 64px; height: 64px; }
  .log { font-size: 11px; padding: 12px 12px; margin-top: 10px; line-height: 1.65; }
  /* Wrap rather than ellipsise on a phone: a cut-off user agent or "check again in 6 …" loses the point. */
  .log p { white-space: pre-wrap; overflow-wrap: anywhere; text-overflow: clip; }
  .sugg { gap: 8px; margin-top: 10px; }
  .sugg__card { padding: 10px 11px; }
  .sugg__card p { font-size: 13px; margin: 8px 0 4px; }
  .sugg__card small { font-size: 10.5px; }
  .badge { font-size: 12px; height: 26px; }
  .rot__phones .phone { --pw: 190; }
}

/* static (reduced-motion) rot: show the outcome */
html:not(.motion) .rot__copy { gap: 60px; }
html:not(.motion) .rot__beat { grid-area: auto; }
html:not(.motion) .rot__layout { align-items: start; }
html:not(.motion) .rot__visual { display: grid; gap: 40px; align-content: start; }
html:not(.motion) .rotgrid, html:not(.motion) .checker { position: relative; left: auto; top: auto; transform: none; margin: 0 auto; }
html:not(.motion) .rot__phones { position: relative; display: flex; gap: 20px; justify-content: center; }
html:not(.motion) .rot__phones .phone { position: relative; left: auto; top: auto; opacity: 1; --pw: 220; }

/* ======================================================================== */
/* 8 · WHY BLUEJAY                                                           */
/* ======================================================================== */
.story { position: relative; padding: 160px 0 150px; background: radial-gradient(60% 50% at 30% 50%, rgba(28, 64, 104, 0.35), transparent 70%), var(--night-1); overflow: clip; }
.story__layout { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 70px; align-items: center; }
.story__art { position: relative; height: 520px; }
.story__halo { position: absolute; left: 50%; top: 42%; width: 440px; height: 440px; margin: -220px 0 0 -220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(122, 164, 204, 0.3), rgba(58, 120, 182, 0.08) 60%, transparent); }
.story__bird { position: absolute; left: 50%; top: 4%; width: 360px; height: auto; margin-left: -190px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5)); }
.ground { position: absolute; left: 0; right: 0; bottom: 30px; height: 1px; background: linear-gradient(90deg, transparent, rgba(156, 198, 242, 0.35), transparent); }
.acorns { position: absolute; inset: 0; }
.acorn { position: absolute; left: 0; top: 0; width: 30px; height: 30px; opacity: 0; }
.acorn svg { width: 100%; height: 100%; }
.sprout { position: absolute; left: 63%; bottom: 31px; width: 64px; height: 86px; overflow: visible; }
.sprout path { fill: none; stroke: #67edb2; stroke-width: 2.2; stroke-linecap: round; }
.sprout__leaf { fill: rgba(6, 193, 119, 0.25) !important; }
.story__copy .h2 { margin-bottom: 28px; }
.story__copy .body-l { margin-bottom: 30px; }
.story__quote { font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--text); max-width: 18em; }
.story__quote em { font-weight: 380; }
@media (max-width: 900px) {
  .story { padding: 110px 0 100px; }
  .story__layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .story__art { height: 360px; order: 2; }
  .story__bird { width: 250px; margin-left: -130px; }
  .story__halo { width: 320px; height: 320px; margin: -160px 0 0 -160px; }
}

/* The bird's story in two clips (index.html, motion.js): a square, its dark studio melting into the
   ground through a radial mask, so no edge shows. While they play the second lies over the first and
   dissolves in under "Months later"; with reduced motion their last frames stand side by side.
   Without JavaScript the still bird stays (and the film keeps it: film/frame.css). */
.story__visual { position: relative; }
.story__clip { display: none; }
.js .story__art { display: none; }
.js .story__clip { display: block; position: relative; width: calc(100% + 60px); max-width: 620px; aspect-ratio: 1; margin: 0 -30px; }
.story__frame {
  position: absolute;
  inset: 0;
  -webkit-mask-image: radial-gradient(closest-side, #000 56%, transparent);
  mask-image: radial-gradient(closest-side, #000 56%, transparent);
}
.story__video, .story__end { display: block; width: 100%; height: 100%; object-fit: cover; }
.story__end { display: none; }
.story__replay { position: absolute; z-index: 2; right: 0; bottom: 5%; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 16px 0 13px; border: 0; border-radius: 999px; font: 600 13.5px/1 var(--f-body); color: var(--text); cursor: pointer; -webkit-appearance: none; appearance: none; background: rgba(8, 22, 38, 0.62); box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.32); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.story__replay[hidden] { display: none; }
.story__replay .ic { font-size: 15px; }
.story__replay:hover { color: #fff; background: rgba(48, 104, 168, 0.55); }
/* reduced motion: the two last frames, side by side, the second under its words */
.js:not(.motion) .story__video { display: none; }
.js:not(.motion) .story__end { display: block; }
@media (max-width: 900px) {
  .story__visual { order: 2; }
  .js .story__clip { width: 100%; max-width: 460px; margin: 0 auto; }
  .story__replay { right: 6px; }
}

/* ======================================================================== */
/* 9 · PRIVACY (light)                                                       */
/* ======================================================================== */
.privacy { position: relative; padding: 150px 0 140px; background: linear-gradient(180deg, #e3ecf4, #f5f8fb 50%, #ffffff); }
.privacy .h2 { margin-bottom: 60px; }
.privacy__layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 60px; align-items: start; }
.consent {
  position: relative;
  padding: 30px 30px 26px;
  border-radius: 32px;
  background: #fff;
  color: #1a1917;
  box-shadow: 0 0 0 1px rgba(18, 48, 72, 0.08), 0 60px 100px -50px rgba(18, 48, 72, 0.5);
}
.consent__k { position: absolute; top: -13px; left: 26px; padding: 6px 12px; border-radius: 999px; font: 400 11.5px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--mid); }
.consent__t { font: 600 24px/1.2 var(--f-app); letter-spacing: -0.01em; margin: 6px 0 10px; }
.consent__lede { font-size: 16px; color: #57534c; line-height: 1.55; }
.consent__list { margin: 18px 0; display: grid; gap: 12px; }
.consent__list li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.5; color: #403d38; }
.consent__list li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--bright); }
.consent__list b { color: #1a1917; }
.consent__small { font-size: 14px; color: #6b665d; line-height: 1.5; padding: 14px 0 18px; border-top: 1px solid #efeeec; }
.consent__yes { display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 16px; background: var(--bright); color: #fff; font-weight: 600; font-size: 16px; }
.consent__no { display: block; text-align: center; margin-top: 12px; font-size: 14.5px; color: #3068a8; font-weight: 500; }
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 38px 32px; }
.promise h3 { font: 600 19px/1.3 var(--f-body); letter-spacing: -0.01em; margin: 16px 0 8px; color: var(--text); }
.promise p { font-size: 15.5px; line-height: 1.6; color: var(--text-2); }
.promise__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--mid); font-size: 24px; background: rgba(58, 120, 182, 0.1); box-shadow: inset 0 0 0 1px rgba(58, 120, 182, 0.2); }
@media (max-width: 900px) {
  .privacy { padding: 100px 0 90px; }
  .privacy .h2 { margin-bottom: 44px; }
  .privacy__layout { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .promises { grid-template-columns: 1fr; gap: 28px; }
  .consent { padding: 26px 20px 22px; }
}

/* ======================================================================== */
/* 10 · FREE & PRO                                                           */
/* ======================================================================== */
.tiers-sec { padding: 150px 0 120px; background: radial-gradient(60% 60% at 70% 30%, rgba(30, 70, 116, 0.3), transparent 70%), var(--night-1); }
.tiers-sec .h2 { margin-bottom: 20px; }
.tiers__lede { margin-bottom: 56px; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1060px; }
.tier { position: relative; padding: 34px 32px 30px; border-radius: 30px; background: linear-gradient(180deg, rgba(22, 42, 64, 0.85), rgba(12, 26, 42, 0.85)); box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.14); }
.tier--pro { background: linear-gradient(180deg, rgba(38, 76, 120, 0.7), rgba(14, 32, 54, 0.9)); box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.35), 0 0 80px -30px rgba(58, 120, 182, 0.8); }
.tier__name { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-optical-sizing: auto; font-weight: 450; font-size: 40px; letter-spacing: -0.03em; line-height: 1; }
.soon { font: 500 12px/1 var(--f-body); letter-spacing: 0.04em; padding: 6px 10px; border-radius: 999px; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.tier__line { margin: 12px 0 24px; color: var(--text-2); font-size: 16px; }
.tier ul { display: grid; gap: 12px; }
.tier li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.5; color: var(--text); }
.tier li::before { content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%; background: rgba(122, 164, 204, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%239cc6f2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5 10.2 16.5 18 8'/%3E%3C/svg%3E") center/12px no-repeat; }
.tier li.revive::before { background-color: rgba(6, 193, 119, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2367edb2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5 10.2 16.5 18 8'/%3E%3C/svg%3E"); }
.tier li.revive { color: #c8f8e1; }
.fine { margin-top: 26px; font-size: 14px; color: var(--text-3); }
@media (max-width: 900px) {
  .tiers-sec { padding: 100px 0 90px; }
  .tiers { grid-template-columns: 1fr; }
  .tier__name { font-size: 34px; }
}

/* ======================================================================== */
/* GET IT (both pages) — the stores, coming soon; the waitlist; the film      */
/* ======================================================================== */
/* clip, not hidden: hidden makes the section a scroll container of its own, and the waitlist's snap
   point in Steps (below) would belong to it instead of the page */
.download { position: relative; overflow: hidden; overflow: clip; padding: 96px 0 130px; text-align: center; background: linear-gradient(180deg, var(--night-1), #06101b 75%); }
.download::before { content: ""; position: absolute; left: 50%; top: 0; width: min(760px, 80%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(156, 198, 242, 0.3), transparent); }
.download__glow { position: absolute; left: 50%; top: 44%; width: 1100px; height: 720px; margin: -360px 0 0 -550px; pointer-events: none; background: radial-gradient(closest-side, rgba(58, 120, 182, 0.3), rgba(58, 120, 182, 0.08) 60%, transparent); }
.download__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.download .h2 { margin-bottom: 46px; }
/* Bluejay's own "coming soon" buttons: not links, and not the stores' badges, which are for
   apps that are in the store (README, "Store buttons"). Equal pills, quieter than a real
   button: no hover, no lift, the icon dimmed. */
.stores { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.store {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  margin: 0;
  padding: 9px 24px 9px 20px;
  border: 0;
  border-radius: 999px;
  font: 600 15.5px/1.2 var(--f-body);
  letter-spacing: -0.005em;
  color: var(--text-2);
  text-align: left;
  white-space: nowrap;
  cursor: default;
  -webkit-appearance: none;
  appearance: none;
  -webkit-user-select: none;
  user-select: none;
  background: rgba(156, 198, 242, 0.045);
  box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.2);
}
.store .ic { flex: none; font-size: 22px; color: var(--glow-2); opacity: 0.55; }
.store__t { display: flex; flex-direction: column; gap: 5px; }
.store small { font: 400 10.5px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.download__join { margin-top: 54px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
/* "Join the waitlist" (the nav's, the hero's, the menu's) lands with the email field clear of the
   nav, on every page and in every mode. Room above it; no rise while it is the jump's target (the
   reveal held it 26px low, so the jump overshot and the reveal then lifted the field under the nav),
   and no transition on that, so the jump measures where it ends; and in Steps a resting place of its
   own, or mandatory snapping pulled the page on to the footer's end (390 × 844) or back up. */
#waitlist { scroll-margin-top: 24px; }
.motion [data-reveal]:target { transform: none; transition: opacity 1s var(--ease-out) var(--d, 0s); }
.motion.stepwise #waitlist { scroll-snap-align: start; }
.download__mail { font-size: 15px; color: var(--text-3); }
.download__addr { color: var(--text-2); -webkit-user-select: all; user-select: all; }
.download__privacy { margin-top: 44px; display: inline-flex; align-items: center; gap: 10px; font-size: 16px; }
.download__privacy .ic { flex: none; font-size: 19px; color: var(--glow-2); }
.download__privacy a { color: var(--text); text-decoration-color: rgba(156, 198, 242, 0.45); }
.download__privacy a:hover { color: #fff; text-decoration-color: currentColor; }
.download__privacy .more { margin-left: 0.2em; color: var(--glow-2); }
.download__privacy .more:hover { color: #fff; }
.download__more { margin-top: 26px; }
@media (max-width: 1080px) {
  .stores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* two columns need ~161px each for "Chrome Web Store": true down to 370px wide */
@media (max-width: 369px) {
  .stores { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 759px) {
  .download { padding: 90px 0 100px; }
  .download .h2 { margin-bottom: 34px; }
  .stores { width: 100%; gap: 10px 8px; }
  .store { min-height: 54px; gap: 8px; padding: 8px 10px; font-size: 13.5px; }
  .store .ic { font-size: 16px; }
  .store small { font-size: 9.5px; letter-spacing: 0.12em; }
  .download__join { margin-top: 42px; }
  .download__privacy { margin-top: 36px; max-width: 21em; font-size: 15px; text-align: left; }
}

/* ---- the waitlist form (7.134): one per page, in "Get it"; waitlist.js wires it ---- */
/* Decided before first paint (html.js is set in <head>), so neither state shifts: with
   JS the form, without it the mailto that stood here before. */
html:not(.js) .wl { display: none; }
html.js .wl__nojs { display: none; }
.wl { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; max-width: 580px; margin: 0; }
.wl__row { display: flex; gap: 10px; justify-content: center; width: 100%; }
.wl__input {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 330px;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(156, 198, 242, 0.07);
  box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.32);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
}
.wl__input::placeholder { color: var(--text-3); }
.wl__input:focus-visible { outline: 2px solid var(--glow); outline-offset: 2px; }
.wl__btn { flex: none; }
/* the honeypot: off-canvas for people, present for scripts; never display:none */
.wl__hp { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* the status line's height is reserved, so a message never pushes the page */
.wl__status { min-height: 24px; margin: 0; font-size: 15px; color: var(--text-2); }
.wl__status[data-kind="ok"] { color: var(--resurrect-300); }
.wl__status[data-kind="err"] { color: var(--st-dead-text); }
.wl__consent { margin: 0; font-size: 13.5px; color: var(--text-3); }
.wl__consent a { color: var(--text-2); text-decoration-color: rgba(156, 198, 242, 0.45); }
.wl__consent a:hover { color: #fff; }
@media (max-width: 560px) {
  .wl__row { flex-direction: column; align-items: stretch; }
  .wl__input { max-width: none; }
  .wl__status { min-height: 44px; } /* two lines at phone width, still no shift */
}

/* ---- the film: one <dialog>, opened by every [data-film] button ---- */
html.film-open, html.menu-open { overflow: hidden; }
.film {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 76px clamp(16px, 4vw, 64px) 40px;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: hidden;
}
.film[open] { display: grid; place-items: center; }
.film::backdrop { background: rgba(3, 9, 16, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.film__box { position: relative; width: min(100%, 1200px, calc((100svh - 116px) * 16 / 9)); }
.film__screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; background: #000; box-shadow: 0 0 0 1px rgba(156, 198, 242, 0.18), 0 60px 120px -40px rgba(0, 0, 0, 0.9), 0 0 120px -40px rgba(58, 120, 182, 0.6); }
.film video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; background: #000; }
.film video[hidden] { display: none; }
.film__close { position: absolute; right: 0; bottom: calc(100% + 14px); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; font-size: 20px; color: var(--text); cursor: pointer; background: rgba(156, 198, 242, 0.1); box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.3); transition: background 0.2s, color 0.2s; }
.film__close:hover { color: #fff; background: rgba(156, 198, 242, 0.2); }
.film__wait { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; background: radial-gradient(60% 70% at 50% 38%, rgba(58, 120, 182, 0.34), transparent 70%), linear-gradient(180deg, #10253a, #081624); }
.film__wait[hidden] { display: none; }
.film__wait img { width: clamp(64px, 11%, 116px); height: auto; margin-bottom: 8px; filter: drop-shadow(0 16px 30px rgba(58, 120, 182, 0.5)); }
.film__wait-t { font-family: var(--f-display); font-optical-sizing: auto; font-weight: 430; font-size: clamp(1.45rem, 3.3vw, 2.6rem); line-height: 1.1; letter-spacing: -0.025em; }
.film__wait-s { font-size: clamp(0.95rem, 1.3vw, 1.1rem); color: var(--text-2); }
.motion .film[open] .film__box { animation: filmIn 0.5s var(--ease-out) both; }
@keyframes filmIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
@media (max-width: 759px) {
  .film { padding: 72px 16px 24px; }
  .film__screen { border-radius: 14px; }
}

/* ---- the menu: a side sheet from the right (a modal <dialog>), both pages ---- */
.menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(380px, 86vw);
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--text);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: linear-gradient(180deg, rgba(14, 33, 54, 0.9), rgba(6, 16, 28, 0.94));
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 1px 0 0 rgba(156, 198, 242, 0.16), -40px 0 90px -30px rgba(0, 0, 0, 0.85);
}
.menu[open] { display: flex; flex-direction: column; }
.menu::backdrop { background: rgba(3, 9, 16, 0.58); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
/* it slides in, and out; with reduced motion (no html.motion) it simply appears and goes */
.motion .menu[open] { animation: menuIn 0.5s var(--ease-out); }
.motion .menu[open]::backdrop { animation: menuFade 0.4s ease-out; }
.motion .menu.is-closing { animation: menuOut 0.3s var(--ease-io) forwards; }
.motion .menu.is-closing::backdrop { animation: menuFade 0.3s ease-in reverse forwards; }
@keyframes menuIn { from { transform: translateX(100%); } }
@keyframes menuOut { to { transform: translateX(100%); } }
@keyframes menuFade { from { opacity: 0; } }
.menu__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; min-height: var(--nav-h); padding: 0 12px 0 24px; border-bottom: 1px solid var(--line); }
.menu__brand { margin-right: 0; font-size: 20px; }
.menu__brand img { width: 30px; }
.menu__close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; font-size: 20px; color: var(--text); cursor: pointer; background: rgba(156, 198, 242, 0.08); box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.28); transition: background 0.2s, color 0.2s; }
.menu__close:hover { color: #fff; background: rgba(156, 198, 242, 0.18); }
.menu__nav { display: grid; gap: 18px; padding: 16px 24px 0; }
.menu__label { margin-bottom: 4px; font: 400 11.5px/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.menu__links a { display: flex; align-items: center; min-height: 44px; margin: 0 -12px; padding: 0 12px; border-radius: 12px; font-family: var(--f-display); font-optical-sizing: auto; font-weight: 430; font-size: 21px; letter-spacing: -0.015em; color: var(--text); text-decoration: none; transition: background 0.2s, color 0.2s; }
.menu__links a:hover { color: #fff; background: rgba(156, 198, 242, 0.08); }
.menu__links a[aria-current="page"] { color: #fff; background: rgba(156, 198, 242, 0.1); }
/* this page's sections, under the four pages: quieter, in the body face */
.menu__links--here a { min-height: 40px; font-family: var(--f-body); font-weight: 500; font-size: 16px; letter-spacing: 0; color: var(--text-2); }
.menu__film { margin-top: 10px; }
.menu__get { display: grid; gap: 10px; padding: 20px 24px 0; }
/* the same "coming soon" buttons as "Get it", two to a row; no icons, so "Chrome Web Store" fits */
.menu .stores { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.menu .store { min-height: 50px; gap: 0; padding: 7px 8px; font-size: 13px; text-align: center; }
.menu .store .ic { display: none; }
.menu .store__t { align-items: center; }
.menu .store small { font-size: 9px; letter-spacing: 0.12em; }
.menu__join { width: 100%; margin-top: 6px; }
.menu__mail { font-size: 14px; text-align: center; color: var(--text-3); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: auto; padding: 8px 24px 10px; }
.menu__foot a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--text-3); text-decoration: none; }
.menu__foot a:hover { color: #fff; }

/* ------------------------------------------------------------------ footer -- */
.footer { padding: 50px 0 60px; background: #06101b; border-top: 1px solid rgba(156, 198, 242, 0.08); color: var(--text-2); font-size: 14.5px; }
.footer__inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.footer__brand img { width: 28px; height: auto; }
.footer__small { margin-top: 8px; color: var(--text-3); }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.footer__links a { color: var(--text-2); text-decoration: none; padding: 10px 10px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; }
.footer__links a:hover { color: #fff; background: rgba(156, 198, 242, 0.06); }

/* ------------------------------------------------------- one-shot reveals -- */
.motion [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------- reduced motion / static -- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .aurora__blob, .aurora__ring, .pill__dot, .chip--sorting .spin, .caret, .scroll-cue span, .hero__cue .ic { animation: none !important; }
}
html:not(.motion) .stream, html:not(.motion) .scroll-cue { display: none; }
html:not(.motion) .how__layout { align-items: start; }
html:not(.motion) .how__visual { min-height: 760px; }
html:not(.motion) .grave .stage { padding-bottom: 60px; }
html:not(.motion) .grave__end { position: relative; top: auto; opacity: 1; padding-top: 30px; }
html:not(.motion) .grave__pile { position: relative; height: 560px; }
html:not(.motion) .search__layout { min-height: 0; padding-bottom: 100px; }


/* ======================================================================== */
/* Additions for the screenshot-matched markup                               */
/* ======================================================================== */

/* app screens: only Safari shows before JS has set the scene */
.scr { opacity: 0; }
.scr--web { opacity: 1; }
.app.on-web .statusbar { color: #000; }
.app.on-web .statusbar__r .bat { box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, 0.45); }
.app.on-web .statusbar__r .bat::after { background: #000; }
.tabbar { opacity: 0; }

/* the new row: its address, until the page is read and it gains a title */
.row__tt { display: grid; min-width: 0; }
.row__url, .row__title { grid-area: 1 / 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__url { font: 400 15px/1.6 var(--f-mono); color: #a19d94; letter-spacing: -0.01em; }
.row__title { opacity: 0; }
.row--new .row__s, .row--new .row__thumb { opacity: 0; }
.row--new.is-sorting::after { opacity: 1; }
.row--new::after { opacity: 0; transition: opacity 0.4s; }
.row__chips [data-row-sorting] { position: absolute; left: 0; top: 0; }
.row--new { opacity: 0; }

/* stashes screen, as in the app */
.apptitle--c { text-align: center; font-size: 22px; padding: 14px 20px 14px; }
.appkicker { padding: 12px 20px 10px; font: 500 12px/1 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: #a19d94; }
.lists4 span { gap: 3px; }
.stashgrid { padding-top: 4px; }
.stile { transition: box-shadow 0.4s; }
.stile.is-hot { box-shadow: 0 0 0 2px rgba(122, 164, 204, 0.75), 0 0 30px rgba(58, 120, 182, 0.55); }
.flythumb { transform-origin: 0 0; }

/* review card */
.chip--prov { transition: background 0.25s, box-shadow 0.25s; }
.chip--prov.is-picked { background: #3a78b6; border-color: transparent; color: #fff; }
.chip--prov.is-picked .ic { color: #fff; }

/* chips */
.chip small { font: 500 11px/1 var(--f-body); color: #9cc6f2; margin-left: 2px; }

/* hero toast */
.hero__toast b { display: inline-block; }
@media (max-width: 1080px) {
  .hero__toast { bottom: auto; top: 40px; margin-left: -150px; }
}

/* graveyard: the real Stashes screen beside the tiles */
.grave__phone { position: absolute; z-index: 3; right: 96px; top: 140px; opacity: 0; }
.grave__phone .phone { --pw: 250; }
.grave__end { right: 0; }
.gtile__mosaic i { aspect-ratio: 1.25; }
.gcard { box-shadow: none; background: none; }
.gcard__bg { background: linear-gradient(180deg, #1b2735, #141e2a); box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.14), 0 18px 34px -16px rgba(0, 0, 0, 0.85); }
.gcard__body { position: relative; z-index: 1; }
html:not(.motion) .grave .stage { display: flex; flex-direction: column; }
html:not(.motion) .grave__copy { order: 1; }
html:not(.motion) .grave__end { order: 2; }
html:not(.motion) .grave__pile { order: 3; }
html:not(.motion) .lit .w { opacity: 1 !important; }

/* what it keeps: plate details */
.instock { float: right; letter-spacing: 0.04em; color: #67edb2; text-transform: none; font-family: var(--f-body); font-size: 12.5px; }
.wasline { margin-top: 16px; font-size: 14px; color: #c5d6e6; }
.was { display: inline-block; padding: 4px 9px; margin-right: 6px; border-radius: 7px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, 0.12); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.55); }
.addr { font-size: 19px; line-height: 1.35; }
.mono-line--sm { margin-top: 10px; font-size: 13px; }
.mono-line--sm .ic { font-size: 16px; }
.listchip--quiet { background: rgba(156, 198, 242, 0.12); box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.3); }
.filmtitle { font-size: 64px; }
.plate--warn { background: linear-gradient(160deg, rgba(86, 24, 22, 0.97), rgba(46, 14, 14, 0.97)); box-shadow: inset 0 0 0 1.5px rgba(242, 106, 96, 0.7), 0 30px 50px -24px rgba(0, 0, 0, 0.7); }
.plate--warn .plate__k { color: #ff9c92; }
.plate--warn .warn { color: #ffe3df; }
.price b { font-size: 58px; }
.kind__phones--fan { pointer-events: none; }
.llabel { white-space: normal; max-width: 220px; line-height: 1.35; }

/* search rows */
.sres__main { min-width: 0; }
.sres__d { flex: none; }
.sres__why { display: inline-flex; gap: 8px; align-items: center; min-width: 0; overflow: hidden; }
.sres.has-note .sres__d { display: none; }
.sres__note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }

/* link rot */
.rot__glow span { position: absolute; inset: 0; opacity: 0; }
.rot__glow { opacity: 1; }
.g-red { background: radial-gradient(45% 45% at 72% 52%, rgba(210, 72, 63, 0.24), transparent 70%); }
.g-green { background: radial-gradient(45% 45% at 72% 52%, rgba(6, 193, 119, 0.2), transparent 70%); }
.checker { display: grid; grid-template-areas: "row" "detail"; grid-template-columns: minmax(0, 1fr); }
.checker .lrow { grid-area: row; }
.checker .log, .checker .sugg { grid-area: detail; align-self: start; }
.sugg { grid-template-columns: repeat(3, minmax(0, 1fr)); opacity: 0; }
.badge--alive { color: var(--resurrect); background: rgba(6, 193, 119, 0.12); }
.sugg__card .badge { height: 24px; font-size: 12px; padding: 0 9px; }
html:not(.motion) .checker { display: grid; }

/* the browser's popup slot */
.shot-host { position: absolute; inset: 0; }
.shot-host .shot { border-radius: inherit; }

/* will-change only while a scene is near the screen */
.is-near .gcard, .is-near .plate, .is-near .kind__phones .phone, .is-near .scr, .is-near .webcard, .is-near .kwpill, .is-near .rot__phones .phone, .is-near .phone--hero { will-change: transform, opacity; }

@media (max-width: 1080px) {
  .sugg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sugg__card .badge { font-size: 10.5px; padding: 0 6px; height: 22px; }
  .sugg__card .badge::before { display: none; }
}


/* ---- round 2 ---- */
/* graveyard: the tile's own cells take the picture when a card lands */
.gtile__mosaic { border-radius: 14px; }
.gtile__mosaic i { border-radius: 7px; }
.gtile__mosaic i.thumb {
  background:
    radial-gradient(120% 90% at 26% 18%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 48%),
    radial-gradient(70% 55% at 72% 80%, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0) 70%),
    linear-gradient(135deg, var(--a), var(--b));
}
.gcard__thumb { border-radius: 7px; }

/* how: more room for the visual */
@media (min-width: 1081px) {
  .how__layout { grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr); }
}
.how__canvas { width: 860px; height: 800px; }

/* nav: light glass over the light sections */
.nav { transition: background 0.35s, box-shadow 0.35s; }
.nav .brand, .nav__links a { transition: color 0.35s, background 0.2s; }
.nav.is-light.is-solid { background: rgba(244, 248, 251, 0.74); box-shadow: inset 0 -1px 0 rgba(18, 48, 72, 0.08); }
.nav.is-light .brand { color: #0e2236; }
.nav.is-light .nav__links a { color: #3e5568; }
.nav.is-light .nav__links a:hover { color: #0e2236; background: rgba(18, 48, 72, 0.06); }
.nav.is-light .nav__links a[aria-current="page"] { color: #0e2236; background: rgba(18, 48, 72, 0.07); }
.nav.is-light .nav__menu { color: #0e2236; background: rgba(18, 48, 72, 0.04); box-shadow: inset 0 0 0 1px rgba(18, 48, 72, 0.22); }
.nav.is-light .nav__menu:hover { background: rgba(18, 48, 72, 0.09); }

/* bento · reader: a cluttered page clears into a clean read; a video plays in place */
.reader-demo { position: absolute; left: 28px; bottom: 28px; width: min(46%, 300px); display: grid; gap: 14px; }
.clutter { position: relative; height: 196px; border-radius: 16px; overflow: hidden; background: #e9edf1; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); }
.clutter::after { content: ""; position: absolute; inset: 0; background: #f6f3ec; opacity: 0; }
.cl-banner { position: absolute; z-index: 1; left: 10px; right: 10px; top: 10px; height: 34px; border-radius: 8px; background: repeating-linear-gradient(135deg, #f2c94c 0 10px, #f5d36b 10px 20px); transform-origin: 50% 0; }
.cl-body { position: absolute; z-index: 2; left: 10px; right: 10px; top: 54px; bottom: 10px; display: flex; gap: 10px; }
.cl-text { flex: 1; display: grid; align-content: start; gap: 7px; padding: 4px 2px; }
.cl-text b { font: 600 18px/1 var(--f-display); color: #2a2825; margin-bottom: 3px; }
.cl-text span { display: block; height: 7px; width: var(--w); border-radius: 4px; background: #cfd5dc; }
.cl-side { width: 30%; display: grid; gap: 7px; align-content: start; transform-origin: 100% 0; }
.cl-side i { display: block; height: 40px; border-radius: 6px; background: #c8d3df; }
.cl-side i:nth-child(2) { background: #f0b6b0; }
.cl-pop { position: absolute; z-index: 3; right: 16px; bottom: 16px; width: 92px; height: 54px; border-radius: 10px; background: #31445a; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); }
.in-view .cl-banner { animation: clBanner 6s var(--ease-io) infinite; }
.in-view .cl-side { animation: clSide 6s var(--ease-io) infinite; }
.in-view .cl-pop { animation: clPop 6s var(--ease-io) infinite; }
.in-view .clutter::after { animation: clCalm 6s var(--ease-io) infinite; }
.in-view .cl-text { animation: clText 6s var(--ease-io) infinite; }
@keyframes clBanner { 0%, 22% { transform: none; opacity: 1; } 34%, 84% { transform: scaleY(0); opacity: 0; } 96%, 100% { transform: none; opacity: 1; } }
@keyframes clSide { 0%, 24% { transform: none; opacity: 1; } 36%, 84% { transform: scale(0.7); opacity: 0; } 96%, 100% { transform: none; opacity: 1; } }
@keyframes clPop { 0%, 18% { transform: none; opacity: 1; } 28%, 84% { transform: translateY(20px) scale(0.8); opacity: 0; } 96%, 100% { transform: none; opacity: 1; } }
@keyframes clCalm { 0%, 26% { opacity: 0; } 40%, 82% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes clText { 0%, 26% { transform: none; } 40%, 82% { transform: translate(14px, -36px) scale(1.12); } 94%, 100% { transform: none; } }
.cl-text { transform-origin: 0 0; position: relative; z-index: 2; }
.rd__video { margin: 0; height: 120px; }
.rd__video small { position: absolute; left: 12px; top: 10px; font: 400 10.5px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
.tile--reader .tile__phone { right: 30px; bottom: -110px; transform: rotate(-3deg); }
.tile--reader .tile__phone .phone { --pw: 250; }

/* story: acorns you can see */
.acorn { width: 38px; height: 38px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.45)); }
.sprout { width: 84px; height: 112px; }
.sprout path { stroke-width: 2.6; }

@media (max-width: 759px) {
  .reader-demo { width: auto; left: 22px; right: 46%; bottom: 22px; }
  .clutter { height: 150px; }
  .rd__video { height: 84px; }
  .tile--reader .tile__phone { right: -24px; bottom: -150px; }
  .tile--reader .tile__phone .phone { --pw: 190; }
}

/* the magnified row in "how it works" */
.rowzoom {
  position: absolute;
  z-index: 6;
  left: 0;
  top: 0;
  width: 402px;
  border-radius: 22px;
  overflow: hidden;
  transform-origin: 0 0;
  opacity: 0;
  box-shadow: 0 0 0 1px rgba(156, 198, 242, 0.35), 0 0 60px -10px rgba(58, 120, 182, 0.6), 0 40px 80px -30px rgba(0, 0, 0, 0.9);
}
.rowzoom .row { border-bottom: 0; background: linear-gradient(180deg, #1a1e24, #15181c); color: #efeeec; font-family: var(--f-body); }
.rowzoom .row--new::after { display: none; }
.rowzoom .row--new { opacity: 1; }
.rowzoom .row__chips .chip--sorting { position: absolute; left: 0; top: 0; }

.file { white-space: nowrap; font-size: 13px; }

/* ---- static (reduced motion) refinements ---- */
html:not(.motion) .step { opacity: 1; }
html:not(.motion) .step p { display: block; }
html:not(.motion) .step::before { color: #fff; background: var(--bright); box-shadow: none; }
html:not(.motion) .steps::after { height: calc(100% - 20px); }
html:not(.motion) .checker { grid-template-areas: "row" "detail" "sugg"; }
html:not(.motion) .checker .sugg { grid-area: sugg; margin-top: 12px; }
html:not(.motion) .kind--lists { grid-template-columns: minmax(0, 1fr); }
html:not(.motion) .kind--lists .kind__phones { flex-wrap: wrap; justify-content: flex-start; }
html:not(.motion) .kind--lists .kind__phones .phone { --pw: 168; }
html:not(.motion) .rowzoom { display: none; }
/* before the first frame of JS: nothing of the kinds scene shows out of turn */
.motion .plate, .motion .ltile { opacity: 0; }
.row__m { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row--new .row__m, .rowzoom .row__m { font-size: 12.8px; }

/* search rows are solid, so a row overtaking another hides it cleanly */
.sres { background: #f9fbfd; box-shadow: 0 0 0 1px rgba(18, 48, 72, 0.04); }
.sres.is-out { z-index: 0 !important; }
.sres__t > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ======================================================================== */
/* AUTOPLAY — the review switch's other mode (review.js; the main page only) */
/* ======================================================================== */
/* Each pinned scene is one screen, not pinned: motion.js plays it on a clock as it comes into view,
   and the page snaps a whole section at a time, so a dragged scrollbar or the arrow keys land on
   one. Reduced motion is untouched (no html.motion, so none of this applies). Remove this block,
   and motion.js's Autoplay block, if Scroll is kept. */
.motion.autoplay { scroll-snap-type: y mandatory; }
/* not while the film or the menu is open: snapping moves the page even under overflow: hidden */
.motion.autoplay.film-open, .motion.autoplay.menu-open { scroll-snap-type: none; }
.motion.autoplay main > section { scroll-snap-align: start; scroll-margin-top: calc(var(--nav-h) * -1); }
.motion.autoplay .scene[data-scene]:not([data-inline]) { height: auto; scroll-snap-stop: always; }
.motion.autoplay .scene[data-scene]:not([data-inline]) > .stage { position: relative; height: 100svh; }
.motion.autoplay .footer { scroll-snap-align: end; }
/* Replay, at the end of each scene (motion.js adds it to the stage) */
.replay {
  position: absolute;
  z-index: 8;
  right: var(--gutter);
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 16px 0 13px;
  border: 0;
  border-radius: 999px;
  font: 600 13.5px/1 var(--f-body);
  color: var(--text);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(8, 22, 38, 0.62);
  box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.32);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out), visibility 0s linear 0.45s, background 0.2s;
}
.replay .ic { font-size: 15px; }
.replay:hover { color: #fff; background: rgba(48, 104, 168, 0.55); }
.is-done > .stage > .replay { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.light .replay { color: #0e2236; background: rgba(255, 255, 255, 0.74); box-shadow: inset 0 0 0 1px rgba(18, 48, 72, 0.2); }
.light .replay:hover { color: #0e2236; background: #fff; }
/* on a phone, just the icon, in the corner (the graveyard's stashes reach the stage's foot); the
   button keeps its name, "Replay: …" */
@media (max-width: 759px) {
  .replay { right: 12px; bottom: 14px; width: 44px; min-height: 44px; padding: 0; justify-content: center; }
  .replay .ic { font-size: 18px; }
  .replay__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ======================================================================== */
/* STEPS — the review switch's third mode (review.js; Home and How it works) */
/* ======================================================================== */
/* The scroll's scenes, paced by the reader: the page snaps at each beat of a pinned scene (zero-height
   .beat marks motion.js places at the beats' resting frames) and at every other section's start, and a
   hard flick still stops at the next one. Reduced motion is untouched (no html.motion). Remove this
   block, and motion.js's Steps block, if Steps is not kept. */
.beat { display: none; }
/* snapping starts only once motion.js has placed the beat marks (stepwise-ready): with only the later
   sections to snap to, the browser would open the page on the first of them */
.motion.stepwise.stepwise-ready { scroll-snap-type: y mandatory; }
/* not while the film or the menu is open: snapping moves the page even under overflow: hidden */
.motion.stepwise-ready.film-open, .motion.stepwise-ready.menu-open { scroll-snap-type: none; }
/* nor while motion.js glides from one beat to the next (it lands on a beat; snapping resumes there) */
.motion.stepwise-ready.stepwise-gliding { scroll-snap-type: none; }
.motion.stepwise .beat { display: block; position: absolute; left: 0; width: 1px; height: 0; pointer-events: none; scroll-snap-align: start; scroll-snap-stop: always; scroll-margin-top: calc(var(--nav-h) * -1); }
.motion.stepwise main > section:not([data-scene]),
.motion.stepwise main > section[data-inline] { scroll-snap-align: start; scroll-snap-stop: always; scroll-margin-top: calc(var(--nav-h) * -1); }
.motion.stepwise .footer { scroll-snap-align: end; }
/* Next, on a desktop: one beat on (motion.js adds it; it goes on the page's last beat) */
.next-beat {
  position: fixed;
  z-index: 65;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 13px 0 16px;
  border: 0;
  border-radius: 999px;
  font: 600 13.5px/1 var(--f-body);
  color: var(--text);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(8, 22, 38, 0.66);
  box-shadow: inset 0 0 0 1px rgba(156, 198, 242, 0.34), 0 10px 26px -12px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: opacity 0.3s var(--ease-out), visibility 0s linear 0s, background 0.2s;
}
.next-beat .ic { font-size: 15px; transition: transform 0.3s var(--ease-out); }
.next-beat:hover { color: #fff; background: rgba(48, 104, 168, 0.6); }
.next-beat:hover .ic { transform: translateY(2px); }
.next-beat.is-hidden { opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease-out), visibility 0s linear 0.3s; }
/* …and on a touch screen, "Scroll ⌄" at the bottom centre, clear of the home indicator (iPhone
   Safari's own bar is outside the viewport): tapped, one step on, as Next. Shown only at rest, and
   only where it covers nothing (motion.js looks at each stop); Home's landing has .hero__cue. */
.next-beat--cue { right: auto; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); min-height: 34px; padding: 0 11px 0 15px; font: 500 11px/1 var(--f-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-2); transform: translateX(-50%); }
.next-beat--cue::before { content: ""; position: absolute; inset: -7px -6px; } /* a 48px target */
.next-beat--cue.is-covering, .stepwise-gliding .next-beat--cue { opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease-out), visibility 0s linear 0.25s; }
