/* PhoneProof site styles. Shared by index.html, privacy.html and terms.html. */

@font-face {
  font-family: "Instrument Sans";
  src: url("./assets/fonts/instrument-sans-latin-standard-normal.woff2") format("woff2-variations"),
       url("./assets/fonts/instrument-sans-latin-standard-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

@view-transition { navigation: auto; }

:root {
  color-scheme: light dark;
  interpolate-size: allow-keywords;

  --page: #FFFFFF;
  --soft: #F2F2F7;
  --surface: #FFFFFF;
  --surface-2: #F2F2F7;
  --ink: #0B0B0F;
  --muted: #55555F;
  --hair: #E2E2E8;
  --track: #DEDEE5;
  --primary: #0066E0;
  --primary-text: #0066E0;
  --primary-hover: #0052B8;
  --on-primary: #FFFFFF;
  --pc: #E1EDFF;
  --on-pc: #003A85;
  --warn: #E07A00;
  --warn-text: #8A4300;
  --warn-c: #FFEAD1;
  --card: #15171C;
  --card-text: #FFFFFF;
  --card-muted: #C5CAD3;
  --card-issue: #FFC078;
  --amb-1: #9CC4FF;
  --amb-2: #CDBBFF;
  --frame: #1E2026;
  --frame-edge: #3A3D45;
  --store-bg: #0B0B0F;
  --store-fg: #FFFFFF;
  --header-bg: rgb(255 255 255 / .72);
  --shadow-phone: 0 40px 80px -24px rgb(16 24 48 / .28), 0 12px 24px -12px rgb(16 24 48 / .18);

  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);

  --step--1: clamp(.875rem, .85rem + .1vw, .9375rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.0625rem);
  --step-1: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem);
  --step-2: clamp(1.5rem, 1.3rem + .9vw, 2rem);
  --step-3: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  --step-4: clamp(2.625rem, 1.6rem + 4.8vw, 5.75rem);

  --gutter: clamp(1.25rem, .8rem + 2vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --maxw: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #000000;
    --soft: #0F0F11;
    --surface: #1C1C1E;
    --surface-2: #2C2C2E;
    --ink: #F5F5F7;
    --muted: #AEAEB4;
    --hair: #38383A;
    --track: #3A3A3C;
    --primary: #0A6CFF;
    --primary-text: #6AAEFF;
    --primary-hover: #3386FF;
    --on-primary: #FFFFFF;
    --pc: #0E2A4F;
    --on-pc: #BCD8FF;
    --warn: #FF9F0A;
    --warn-text: #FFB45C;
    --warn-c: #3A2510;
    --card: #15171C;
    --amb-1: #1D3F7A;
    --amb-2: #3A2D6B;
    --frame: #2A2C32;
    --frame-edge: #4A4D56;
    --store-bg: #F5F5F7;
    --store-fg: #0B0B0F;
    --header-bg: rgb(0 0 0 / .66);
    --shadow-phone: 0 40px 90px -30px rgb(10 108 255 / .22), 0 0 0 1px rgb(255 255 255 / .06);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--primary-text); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--primary-text); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--pc); color: var(--on-pc); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--page); padding: 10px 16px; border-radius: 12px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.4em; border-radius: 999px; border: 0;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-sm { min-height: 40px; padding: 0 1.1em; font-size: var(--step--1); }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-row.center { justify-content: center; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; min-width: 172px; padding: 8px 20px 8px 16px;
  border-radius: 16px; background: var(--store-bg); color: var(--store-fg);
  text-decoration: none; line-height: 1.1;
  transition: transform .2s var(--ease), opacity .2s;
}
.store-btn:hover { opacity: .9; }
.store-btn:active { transform: scale(.97); }
/* Not in the stores yet: same button, dimmed and not clickable. */
.is-soon, .is-soon:hover, .is-soon:active { opacity: .55; cursor: default; pointer-events: none; transform: none; }
.store-glyph { width: 26px; height: 26px; flex: none; }
.store-label { display: flex; flex-direction: column; }
.store-label small { font-size: .72rem; font-weight: 500; opacity: .8; letter-spacing: .01em; }
.store-label span { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
@media (max-width: 479px) {
  .store-row { flex-wrap: nowrap; gap: 10px; }
  .store-row .store-btn { flex: 1 1 0; min-width: 0; padding: 8px 12px; gap: 8px; min-height: 54px; }
  .store-glyph { width: 22px; height: 22px; }
  .store-label small { font-size: .66rem; }
  .store-label span { font-size: 1rem; white-space: nowrap; }
}
@media (max-width: 767px) {
  .platform-ios .store-btn[data-store="ios"],
  .platform-android .store-btn[data-store="android"] { order: -1; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--hair) 70%, transparent);
  view-transition-name: site-header;
}
.header-inner {
  max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding: 0 var(--gutter);
  height: 64px; display: flex; align-items: center; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em;
}
.brand img { border-radius: 22.5%; box-shadow: 0 0 0 .5px rgb(0 0 0 / .08); }
.site-nav { display: none; gap: 28px; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: var(--step--1); font-weight: 500; transition: color .2s; }
.site-nav a:hover { color: var(--ink); }
.site-header .btn { margin-left: auto; }
@media (min-width: 768px) {
  .site-nav { display: flex; }
  .site-header .btn { margin-left: 8px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section.soft { background: var(--soft); }
.section-title { font-size: var(--step-3); line-height: 1.04; letter-spacing: -.026em; font-stretch: 90%; max-width: 18ch; }
.section-title.narrow { max-width: 16ch; }
h2 { font-size: var(--step-3); line-height: 1.04; letter-spacing: -.026em; font-stretch: 90%; }
h3 { font-size: var(--step-1); line-height: 1.2; letter-spacing: -.015em; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(3.5rem, 2rem + 5vw, 7rem); }
.hero-grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); align-items: center; }
.hero h1 {
  font-size: var(--step-4); line-height: .97; letter-spacing: -.034em; font-weight: 600; font-stretch: 86%;
  max-width: 11ch;
}
.hero-sub { margin-top: 1.5rem; font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 36rem; }
.hero .store-row { margin-top: 2rem; }
.micro { margin-top: .9rem; font-size: var(--step--1); color: var(--muted); }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-glow {
  position: absolute; width: min(130%, 100vw); max-width: 560px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--amb-1), transparent 72%),
              radial-gradient(closest-side at 72% 70%, var(--amb-2), transparent 70%);
  opacity: .7; filter: blur(30px); z-index: 0; pointer-events: none;
}
.hero-phone { --s: .64; z-index: 1; }
@media (min-width: 400px) { .hero-phone { --s: .68; } }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .hero-phone { --s: .76; }
}
@media (min-width: 1200px) { .hero-phone { --s: .82; } }


/* ---------- Problem ---------- */
.split { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
.split-copy h2 { max-width: 14ch; }
.split-copy p { margin-top: 1.25rem; color: var(--muted); font-size: var(--step-1); line-height: 1.5; max-width: 34rem; }
.split-copy .emphasis { color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

.listing {
  position: relative; margin: 0 auto; width: min(100%, 400px);
  background: var(--surface); border: 1px solid var(--hair); border-radius: 24px; padding: 12px;
  box-shadow: 0 30px 60px -30px rgb(16 24 48 / .25);
  view-timeline: --listing block;
}
.listing-photo { aspect-ratio: 4 / 3; border-radius: 14px; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.listing-phone { height: 82%; width: auto; transform: rotate(-8deg); }
.lp-body { fill: #D7D9E0; }
.lp-cam { fill: #C3C6CF; }
.lp-lens { fill: #2A2D35; stroke: #8E929C; stroke-width: 2; }
.lp-flash { fill: #F4F1E6; }
@media (prefers-color-scheme: dark) { .lp-body { fill: #3A3C44; } .lp-cam { fill: #4A4D56; } }
.listing-body { padding: 16px 8px 8px; display: grid; gap: 2px; }
.listing-price { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.listing-title { font-weight: 500; }
.listing-desc { color: var(--muted); }
.listing-meta { color: var(--muted); font-size: var(--step--1); margin-top: 6px; }
.issue-chips { list-style: none; position: absolute; inset: 0; pointer-events: none; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 12px; border-radius: 999px; white-space: nowrap;
  background: var(--warn-c); color: var(--warn-text);
  font-size: .9375rem; font-weight: 600;
  box-shadow: 0 10px 24px -10px rgb(138 67 0 / .45), 0 0 0 1px color-mix(in srgb, var(--warn) 30%, transparent);
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--warn); flex: none; }
.chip:nth-child(1) { left: -4%; top: 12%; }
.chip:nth-child(2) { right: -4%; top: 34%; }
.chip:nth-child(3) { left: 6%; top: 56%; }
.chip:nth-child(4) { right: 2%; top: 74%; }
@media (max-width: 479px) {
  .chip { font-size: .875rem; padding: 7px 12px 7px 10px; }
  .chip:nth-child(1) { left: 4px; }
  .chip:nth-child(2) { right: 4px; }
  .chip:nth-child(4) { right: 4px; }
}

/* ---------- How it works ---------- */
.how .section-title { margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.steps { list-style: none; display: grid; gap: clamp(3.5rem, 3rem + 2vw, 4rem); }
.step { display: grid; gap: 1.75rem; justify-items: center; }
.step-visual { display: grid; place-items: center; }
.step-phone { --s: .58; }
.step-copy { max-width: 26rem; width: 100%; }
.step-num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: var(--on-primary); font-weight: 600; font-variant-numeric: tabular-nums;
  margin-bottom: 1rem;
}
.step-copy p { margin-top: .6rem; color: var(--muted); }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
  .step { justify-items: start; align-content: start; }
  .step-visual { justify-self: center; }
  .step-phone { --s: .56; }
}
@media (min-width: 1200px) { .step-phone { --s: .62; } }


/* ---------- What it checks (bento) ---------- */
.checks .section-title { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.bento { list-style: none; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.b-tile {
  position: relative; overflow: hidden;
  background: var(--soft); border-radius: 28px; padding: 24px;
  display: grid; grid-template-rows: auto auto 1fr; gap: 8px;
}
@media (min-width: 640px) { .b-tile { min-height: 220px; } }
.b-tile h3 { margin-top: 12px; }
.b-tile p { color: var(--muted); max-width: 30ch; position: relative; z-index: 1; }
.b-ico { width: 44px; height: 44px; border-radius: 13px; background: var(--pc); display: grid; place-items: center; }
.b-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--on-pc); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.b-art { position: absolute; right: 20px; top: 20px; }
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-screen { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .bento { grid-template-areas: "screen screen sound" "screen screen cam" "sensors battery signal"; }
  .b-screen { grid-area: screen; } .b-sound { grid-area: sound; } .b-cam { grid-area: cam; }
  .b-sensors { grid-area: sensors; } .b-battery { grid-area: battery; } .b-signal { grid-area: signal; }
  .b-tile { min-height: 240px; padding: 28px; }
}

/* screen art: colour swatches */
.art-screen { display: grid; grid-template-columns: repeat(3, 28px); gap: 6px; }
.art-screen i { width: 28px; height: 44px; border-radius: 8px; }
.art-screen i:nth-child(1) { background: #0066E0; }
.art-screen i:nth-child(2) { background: #9CC4FF; }
.art-screen i:nth-child(3) { background: #CDBBFF; }
.art-screen i:nth-child(4) { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--hair); }
.art-screen i:nth-child(5) { background: #8E8E93; }
.art-screen i:nth-child(6) { background: #000000; box-shadow: inset 0 0 0 1px var(--hair); }
@media (min-width: 1024px) {
  .b-screen .b-art { position: absolute; right: 28px; top: auto; bottom: 28px; grid-template-columns: repeat(3, 64px); gap: 10px; }
  .b-screen .art-screen i { width: 64px; height: 108px; border-radius: 14px; }
  .b-screen p { font-size: var(--step-1); max-width: 22ch; }
  .b-screen h3 { font-size: var(--step-2); }
}
/* sound art: eq bars */
.art-sound { display: flex; align-items: center; gap: 4px; height: 44px; }
.art-sound i { width: 4px; height: 44px; border-radius: 2px; background: var(--primary-text); transform: scaleY(.35); }
.art-sound i:nth-child(3n) { transform: scaleY(.7); }
.art-sound i:nth-child(4n+1) { transform: scaleY(.5); }
.art-sound i:nth-child(5n) { transform: scaleY(.9); }
/* camera art */
.art-cam svg { width: 52px; height: 52px; }
.ac-outer { fill: none; stroke: var(--hair); stroke-width: 6; }
.ac-iris { fill: none; stroke: var(--primary-text); stroke-width: 6; stroke-dasharray: 8 6; transform-origin: 50px 50px; }
.ac-pupil { fill: var(--ink); }
/* sensors art: bubble level */
.art-sensors .level { display: block; width: 120px; height: 28px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); position: relative; }
.art-sensors .level::before, .art-sensors .level::after { content: ""; position: absolute; top: 5px; bottom: 5px; width: 1.5px; background: var(--hair); }
.art-sensors .level::before { left: 44px; } .art-sensors .level::after { right: 44px; }
.art-sensors .level i { position: absolute; left: 49px; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); }
/* battery art */
.art-battery .cell { display: block; width: 64px; height: 30px; border-radius: 8px; border: 2.5px solid var(--ink); position: relative; padding: 3px; }
.art-battery .cell::after { content: ""; position: absolute; right: -7px; top: 8px; width: 4px; height: 9px; border-radius: 0 2px 2px 0; background: var(--ink); }
.art-battery .cell i { display: block; height: 100%; border-radius: 4px; background: var(--primary); transform-origin: left; transform: scaleX(.84); }
/* signal art */
.art-signal { display: flex; align-items: flex-end; gap: 5px; height: 36px; }
.art-signal i { width: 8px; border-radius: 3px; background: var(--primary-text); }
.art-signal i:nth-child(1) { height: 25%; } .art-signal i:nth-child(2) { height: 50%; }
.art-signal i:nth-child(3) { height: 75%; } .art-signal i:nth-child(4) { height: 100%; }

.footnote { margin-top: 1.75rem; color: var(--muted); font-size: var(--step--1); max-width: 62ch; }

/* ---------- Technology teaser (links to technology.html) ---------- */
.tech-lead { margin-top: 1.25rem; color: var(--muted); font-size: var(--step-1); line-height: 1.5; max-width: 38rem; }
.tech-points { list-style: none; display: grid; gap: 12px; margin: clamp(2rem, 1.5rem + 2vw, 3rem) 0 2rem; }
.tech-points li { background: var(--surface); border-radius: 28px; padding: 24px; }
.tech-points h3 { margin-top: 16px; }
.tech-points p { margin-top: .5rem; color: var(--muted); }
.tp-art { width: 120px; height: 40px; overflow: visible; }
.tp-sweep, .tp-vib { fill: none; stroke: var(--primary-text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tp-grid rect { fill: #2BB673; }
.tp-grid .tp-dead { fill: none; stroke: var(--warn); stroke-width: 2.5; }
@media (min-width: 900px) { .tech-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
/* Privacy now sits on the plain page background: keep its icon tiles visible */
.privacy:not(.soft) .privacy-list svg { background: var(--soft); }

/* ---------- Honesty ---------- */
.limits-grid { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); display: grid; gap: 2.5rem; }
.limit-col { border-top: 2px solid var(--ink); padding-top: 1.25rem; }
.limit-col:last-child { border-top-color: var(--warn); }
.limit-col p, .nots { margin-top: .9rem; color: var(--muted); font-size: var(--step-1); line-height: 1.5; max-width: 34rem; }
.nots { list-style: none; display: grid; gap: .9rem; }
.nots li { position: relative; padding-left: 1.75rem; }
.nots li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 2px; border-radius: 1px;
  background: var(--warn);
}
@media (min-width: 900px) { .limits-grid { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 2rem + 3vw, 5rem); } }

/* ---------- Sellers ---------- */
.sellers-grid { display: grid; gap: 2.5rem; align-items: center; }
.sellers-copy p { margin-top: 1rem; color: var(--muted); font-size: var(--step-1); max-width: 30rem; }
@media (min-width: 900px) { .sellers-grid { grid-template-columns: 1fr minmax(0, 420px); justify-content: space-between; } }

/* ---------- Privacy ---------- */
.privacy-list { list-style: none; display: grid; gap: 1.5rem; margin: clamp(2rem, 1.5rem + 2vw, 3rem) 0 2rem; }
.privacy-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; align-content: start; }
.privacy-list svg { width: 44px; height: 44px; padding: 10px; border-radius: 13px; background: var(--surface); fill: none; stroke: var(--primary-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.privacy-list p { font-size: var(--step-1); line-height: 1.45; padding-top: 6px; max-width: 30ch; }
@media (min-width: 900px) { .privacy-list { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } .privacy-list li { grid-template-columns: 1fr; } }
.text-link { font-weight: 600; }

/* ---------- Film: hero link + modal ---------- */
.film-link {
  display: inline-flex; align-items: center; gap: 10px; margin: 1.1rem 0 0 -6px; padding: 6px 14px 6px 6px;
  border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: inherit; font-size: var(--step--1); font-weight: 600; color: var(--primary-text);
  transition: background-color .2s, transform .2s var(--ease);
}
.film-link svg { width: 32px; height: 32px; padding: 8px 7px 8px 9px; border-radius: 50%; background: var(--primary); fill: var(--on-primary); flex: none; }
.film-link:hover { background: var(--surface); }
.film-link:active { transform: scale(.97); }
html:not(.js) .film-link { display: none; }

.film-modal {
  width: min(1100px, calc(100vw - 32px)); max-width: none; max-height: none;
  margin: auto; padding: 0; border: 0; background: none; color: #fff; overflow: visible;
}
/* Never taller than the screen: the width shrinks to keep 16:9 inside the viewport. */
@supports (height: 100dvh) { .film-modal { width: min(1100px, calc(100vw - 32px), calc((100dvh - 120px) * 16 / 9)); } }
.film-modal::backdrop { background: rgb(0 0 0 / .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.film-modal[open] { animation: film-in .28s var(--ease); }
@keyframes film-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .film-modal[open] { animation: none; } }
html:has(.film-modal[open]) { overflow: hidden; }
.video-frame { position: relative; border-radius: clamp(14px, 2vw, 24px); overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 30px 80px rgb(0 0 0 / .5); }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-close {
  position: absolute; right: 0; top: -52px; width: 44px; height: 44px;
  display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: rgb(255 255 255 / .14); color: #fff; transition: background-color .2s;
}
.film-close:hover { background: rgb(255 255 255 / .26); }
.film-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.film-close:focus-visible { outline-color: #fff; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 2rem; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 4rem; align-items: start; } }
.faq-list { border-top: 1px solid var(--hair); }
.faq-list details { border-bottom: 1px solid var(--hair); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 1.25rem 3rem 1.25rem 0; position: relative;
  font-size: var(--step-1); font-weight: 600; letter-spacing: -.01em; line-height: 1.3;
  border-radius: 8px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border: solid var(--primary-text); border-width: 0 2px 2px 0; transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(5px) rotate(-135deg); }
.faq-a p { padding: 0 2.5rem 1.5rem 0; color: var(--muted); max-width: 60ch; }
.faq-list details::details-content {
  block-size: 0; overflow: clip;
  transition: block-size .35s var(--ease), content-visibility .35s allow-discrete;
}
.faq-list details[open]::details-content { block-size: auto; }

/* ---------- Final CTA ---------- */
.final { text-align: center; }
.final-inner { display: grid; justify-items: center; gap: 1.25rem; }
.final-icon { width: 88px; height: 88px; border-radius: 22.5%; box-shadow: 0 18px 40px -12px rgb(0 82 204 / .5); }
.final h2 { font-size: var(--step-4); line-height: .98; letter-spacing: -.034em; font-stretch: 86%; max-width: 12ch; }
.final p { color: var(--muted); font-size: var(--step-1); max-width: 34rem; }
.final .store-row { margin-top: .75rem; }
.final .micro { margin-top: 0; font-size: var(--step--1); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--hair);
  box-shadow: 0 12px 32px -12px rgb(16 24 48 / .3);
  font-weight: 600; font-size: var(--step--1);
  transform: translateY(calc(100% + 40px)); opacity: 0;
  transition: transform .4s var(--ease), opacity .3s;
}
.sticky-cta[hidden] { display: none; }
.sticky-cta.show { transform: none; opacity: 1; }
.sticky-cta > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-cta .btn { min-height: 44px; flex: none; padding: 0 1em; }
@media (min-width: 768px) { .sticky-cta { display: none !important; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hair); background: var(--page); }
.footer-inner {
  max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding: 2.5rem var(--gutter) calc(2.5rem + env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: var(--step--1); padding-block: .5rem; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }
.footer-legal { color: var(--muted); font-size: var(--step--1); width: 100%; }
@media (min-width: 768px) { .footer-legal { width: auto; margin-left: auto; } }
@media (max-width: 767px) { body:has(.sticky-cta) .footer-inner { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); } }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(2.5rem, 2rem + 3vw, 5rem) var(--gutter) var(--section-y); }
.legal-doc { max-width: 70ch; margin-inline: auto; }
.legal-doc h1 { font-size: var(--step-3); line-height: 1.05; letter-spacing: -.035em; font-stretch: 88%; }
.legal-meta { margin-top: .75rem; color: var(--muted); font-size: var(--step--1); }
.legal-summary {
  margin-top: 1.75rem; padding: 1.25rem 1.5rem; border-radius: 20px;
  background: var(--pc); color: var(--on-pc); font-size: var(--step-1); line-height: 1.5;
}
.legal-doc h2 { font-size: var(--step-2); line-height: 1.2; letter-spacing: -.02em; font-stretch: 92%; margin-top: 3rem; scroll-margin-top: 90px; }
.legal-doc h3 { font-size: var(--step-1); margin-top: 2rem; }
.legal-doc p, .legal-doc ul, .legal-doc ol { margin-top: 1rem; }
.legal-doc ul, .legal-doc ol { padding-left: 1.4rem; }
.legal-doc li + li { margin-top: .45rem; }
.legal-doc li::marker { color: var(--muted); }
.legal-doc a { font-weight: 500; word-break: break-word; }
.legal-doc strong { font-weight: 600; }
.legal-doc table {
  width: 100%; margin-top: 1.25rem; border-collapse: separate; border-spacing: 0;
  font-size: var(--step--1); line-height: 1.45;
  border: 1px solid var(--hair); border-radius: 16px; overflow: hidden;
}
@media (max-width: 599px) { .legal-doc table { display: block; overflow-x: auto; } }
.legal-doc thead th { background: var(--soft); font-weight: 600; text-align: left; }
.legal-doc th, .legal-doc td { padding: .75rem 1rem; vertical-align: top; border-bottom: 1px solid var(--hair); text-align: left; min-width: 9rem; }
.legal-doc tr:last-child td { border-bottom: 0; }
.legal-doc hr { border: 0; border-top: 1px solid var(--hair); margin: 3rem 0; }


/* =====================================================================
   App screens. Recreated from the app source (src/theme/tokens.ts, src/components,
   src/screens). Everything inside .ios is laid out in iOS points on a 390 x 844 screen
   and scaled to the frame, so sizes below match the code 1:1.
   ===================================================================== */
.phone {
  --s: .62;
  --bz: 11px;
  position: relative;
  width: calc(390px * var(--s) + var(--bz) * 2);
  height: calc(844px * var(--s) + var(--bz) * 2);
  padding: var(--bz);
  border-radius: calc(55px * var(--s) + var(--bz));
  background: var(--frame);
  box-shadow: inset 0 0 0 1.5px var(--frame-edge), inset 0 0 0 4px var(--frame), var(--shadow-phone);
  flex: none;
}
.phone::before { content: ""; position: absolute; right: -2.5px; top: 26%; width: 3px; height: 11%; border-radius: 0 3px 3px 0; background: var(--frame-edge); }
.phone::after { content: ""; position: absolute; left: -2.5px; top: 22%; width: 3px; height: 7%; border-radius: 3px 0 0 3px; background: var(--frame-edge); box-shadow: 0 calc(844px * var(--s) * .1) 0 var(--frame-edge); }
.phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(55px * var(--s)); background: var(--x-bg, #F2F2F7); isolation: isolate; }

.ios, .lcard {
  --x-bg: #F2F2F7; --x-surface: #FFFFFF; --x-on: #0B0B0F; --x-onv: #55555F; --x-outline: #E2E2E8; --x-track: #DEDEE5;
  --x-primary: #0066E0; --x-ptext: #0066E0; --x-pc: #E1EDFF; --x-onpc: #003A85;
  --x-warn: #E07A00; --x-wtext: #8A4300; --x-wc: #FFEAD1; --x-onwc: #8A4300;
  --x-glass: rgba(255,255,255,.58); --x-glass-edge: rgba(255,255,255,.85); --x-ambA: #9CC4FF; --x-ambB: #CDBBFF;
  --x-card: #15171C; --x-tab-on: rgba(0,102,224,.12); --x-btn-warn-fg: #FFFFFF;
  --acc-blue-fg: #0066E0; --acc-blue-bg: #E1EDFF; --acc-violet-fg: #6B4FD8; --acc-violet-bg: #ECE4FF;
  --acc-teal-fg: #007A8A; --acc-teal-bg: #D6F2F5; --acc-magenta-fg: #B0338F; --acc-magenta-bg: #FBE3F4;
  --acc-indigo-fg: #3F5AA9; --acc-indigo-bg: #DCE1FF; --acc-sky-fg: #0077B8; --acc-sky-bg: #D9EEFA;
  --app-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  .ios, .lcard {
    --x-bg: #000000; --x-surface: #1C1C1E; --x-on: #F5F5F7; --x-onv: #AEAEB4; --x-outline: #38383A; --x-track: #2C2C2E;
    --x-primary: #0A6CFF; --x-ptext: #6AAEFF; --x-pc: #0E2A4F; --x-onpc: #BCD8FF;
    --x-warn: #FF9F0A; --x-wtext: #FFB45C; --x-wc: #3A2510; --x-onwc: #FFC98A;
    --x-glass: rgba(40,40,46,.55); --x-glass-edge: rgba(255,255,255,.18); --x-ambA: #1D3F7A; --x-ambB: #3A2D6B;
    --x-card: #26282F; --x-tab-on: rgba(10,108,255,.24); --x-btn-warn-fg: #000000;
    --acc-blue-fg: #6AAEFF; --acc-blue-bg: #0E2A4F; --acc-violet-fg: #B7A4FF; --acc-violet-bg: #2A2340;
    --acc-teal-fg: #5FD0DE; --acc-teal-bg: #0D3238; --acc-magenta-fg: #F29AD8; --acc-magenta-bg: #3D1A33;
    --acc-indigo-fg: #B4C5FF; --acc-indigo-bg: #1E2B55; --acc-sky-fg: #6CC4F2; --acc-sky-bg: #0C2C40;
  }
}
.ios {
  position: absolute; left: 0; top: 0; width: 390px; height: 844px;
  transform: scale(var(--s)); transform-origin: 0 0; overflow: hidden;
  background: var(--x-bg); color: var(--x-on);
  font-family: var(--app-font); font-size: 17px; line-height: 22px; letter-spacing: 0;
  -webkit-font-smoothing: antialiased; font-optical-sizing: auto; text-align: left;
}
.ios p { margin: 0; }
.ios .ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* System chrome */
.a-island { position: absolute; z-index: 30; left: 50%; top: 11px; width: 126px; height: 37px; margin-left: -63px; border-radius: 19px; background: #000; }
.a-status { position: absolute; z-index: 29; inset: 0 0 auto; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 5px 30px 0 52px; }
.a-time { font-size: 17px; font-weight: 600; letter-spacing: -.2px; }
.a-sicons { display: flex; align-items: center; gap: 6px; }
.a-sicons svg { fill: currentColor; display: block; }
.a-cell { width: 18px; height: 12px; } .a-wifi { width: 16px; height: 12px; } .a-batt { width: 27px; height: 13px; }
.a-homeind { position: absolute; z-index: 29; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: var(--x-on); }

/* BackgroundDecor (iOS): two blurred ambient shapes */
.a-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.a-amb { position: absolute; border-radius: 50%; }
.a-amb.a { left: -70px; top: 90px; width: 280px; height: 280px; background: var(--x-ambA); opacity: .55; filter: blur(60px); }
.a-amb.b { left: 180px; top: 420px; width: 300px; height: 300px; background: var(--x-ambB); opacity: .5; filter: blur(64px); }

/* Screen: padding 20, gap 16, top inset 54 + 16 */
.a-pad { position: absolute; inset: 0; padding: 70px 20px 0; display: flex; flex-direction: column; gap: 16px; }
.a-pad.a-fixed { padding-bottom: 58px; }
.a-pad.a-pad-nav { padding-top: 114px; }

/* Tab bar (floating capsule, selected pill) */
.a-tabbar {
  position: absolute; z-index: 20; left: 20px; right: 20px; bottom: 24px; height: 64px; border-radius: 32px;
  display: flex; align-items: center; justify-content: space-around; padding: 0 6px;
  background: var(--x-glass); border: 1px solid var(--x-glass-edge);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 10px 32px rgba(20,30,60,.16), inset 0 1px 0 rgba(255,255,255,.5);
}
.a-tab { height: 52px; min-width: 92px; border-radius: 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; line-height: 13px; font-weight: 600; color: var(--x-on); }
.a-tab.on { background: var(--x-tab-on); color: var(--x-ptext); }
.a-tab .ic { width: 22px; height: 22px; }

/* Shared text + controls */
.a-iconbtn { width: 44px; height: 44px; border-radius: 22px; display: grid; place-items: center; flex: none; color: var(--x-on); }
.a-lthead { display: flex; align-items: flex-start; gap: 12px; }
.a-lthead > div { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.a-lt { font-size: 34px; line-height: 41px; font-weight: 800; letter-spacing: -.8px; }
.a-sub { font-size: 15px; line-height: 20px; color: var(--x-onv); }
.a-sub14 { font-size: 14px; line-height: 19px; color: var(--x-onv); }
.a-group { display: flex; flex-direction: column; gap: 6px; }
.a-ghead { padding: 0 16px; font-size: 13px; line-height: 18px; color: var(--x-onv); text-transform: uppercase; }
.a-list { background: var(--x-surface); border-radius: 26px; padding: 4px 16px; }
.a-row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 0; }
.a-row + .a-row { box-shadow: 0 -.5px 0 var(--x-outline); }
.a-rt { flex: 1; font-size: 16px; line-height: 21px; }
.a-rv { font-size: 16px; line-height: 21px; font-weight: 500; color: var(--x-onv); font-variant-numeric: tabular-nums; text-align: right; }
.a-rv.fine { color: var(--x-ptext); font-weight: 700; }
.a-rv.issue { color: var(--x-wtext); font-weight: 700; }
.a-chev { width: 14px !important; height: 14px !important; color: var(--x-onv); stroke-width: 2.4 !important; transition: transform .3s var(--ease); }
.a-chev.open { transform: rotate(90deg); }

/* IconTile: radius 30% of size, icon 56% */
.a-itile { display: grid; place-items: center; flex: none; background: var(--abg); color: var(--afg); }
.a-itile.s32 { width: 32px; height: 32px; border-radius: 10px; } .a-itile.s32 .ic { width: 18px; height: 18px; }
.a-itile.s28 { width: 28px; height: 28px; border-radius: 8px; } .a-itile.s28 .ic { width: 16px; height: 16px; }
.a-itile.s40 { width: 40px; height: 40px; border-radius: 12px; } .a-itile.s40 .ic { width: 22px; height: 22px; }
.acc-blue { --afg: var(--acc-blue-fg); --abg: var(--acc-blue-bg); } .acc-violet { --afg: var(--acc-violet-fg); --abg: var(--acc-violet-bg); }
.acc-teal { --afg: var(--acc-teal-fg); --abg: var(--acc-teal-bg); } .acc-magenta { --afg: var(--acc-magenta-fg); --abg: var(--acc-magenta-bg); }
.acc-indigo { --afg: var(--acc-indigo-fg); --abg: var(--acc-indigo-bg); } .acc-sky { --afg: var(--acc-sky-fg); --abg: var(--acc-sky-bg); }
.a-itile.issue { --afg: var(--x-wtext); --abg: var(--x-wc); }

/* Check tab (OneTap) */
.a-brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.a-brand-t { font-size: 20px; line-height: 25px; font-weight: 600; letter-spacing: -.2px; }
.a-trail { display: flex; align-items: center; gap: 8px; }
.a-devline { font-size: 14px; line-height: 19px; color: var(--x-onv); }
.a-hero { position: relative; width: 300px; height: 300px; align-self: center; display: grid; place-items: center; flex: none; }
.a-hero > * { grid-area: 1 / 1; }
.a-herobtn {
  position: relative; z-index: 1; width: 208px; height: 208px; border-radius: 50%; display: grid; place-items: center;
  background: var(--x-primary); color: #FFFFFF; border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 18px 44px rgba(0,102,224,.38);
  font-size: 26px; line-height: 30px; font-weight: 700; letter-spacing: -.4px; text-align: center;
}
.a-herobtn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border-top: 2px solid rgba(255,255,255,.5); }
.a-hero .a-pulse { width: 208px; height: 208px; border-radius: 50%; border: 2px solid var(--x-primary); opacity: 0; }
.a-caption { text-align: center; font-size: 15px; line-height: 20px; color: var(--x-onv); }
.a-foot { text-align: center; font-size: 13px; line-height: 18px; color: var(--x-onv); }
.a-tapdot, .a-finger { z-index: 3; width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.28); border: 2px solid rgba(255,255,255,.95); box-shadow: 0 4px 14px rgba(0,0,0,.25); opacity: 0; }
.a-ripple { z-index: 2; width: 90px; height: 90px; border-radius: 50%; background: rgba(255,255,255,.55); opacity: 0; }

/* Scan screen */
.a-strip { background: var(--x-surface); border-radius: 26px; padding: 10px 0; overflow: hidden; flex: none; }
.a-strip-in { padding: 0 8px; }
.a-seg { display: flex; flex-direction: column; gap: 8px; }
.a-pass { padding: 0 8px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--x-onv); }
.a-pass.on { color: var(--x-ptext); }
.a-nodes { display: flex; }
.a-node { width: 72px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.a-ntrack { display: flex; align-items: center; width: 72px; height: 24px; }
.a-lin, .a-lout { width: 28px; height: 2px; background: var(--x-track); display: block; position: relative; }
.a-lout > i { position: absolute; inset: 0; background: var(--x-primary); transform-origin: left; transform: scaleX(0); }
.a-node.n0 .a-lin { background: transparent; }
.a-dot { position: relative; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--x-track); background: var(--x-surface); display: grid; place-items: center; }
.a-dot.small { width: 10px; height: 10px; margin: 3px; }
.a-halo { position: absolute; left: -2px; top: -2px; width: 16px; height: 16px; border-radius: 50%; background: var(--x-primary); opacity: 0; }
.a-nt { width: 68px; text-align: center; font-size: 12px; line-height: 16px; color: var(--x-onv); }
/* stage states: step 1 = Speakers running; .s2 = Speakers done, Microphones running */
.a-scan:not(.s2) .n0 .a-dot, .a-scan.s2 .n1 .a-dot { border-color: var(--x-primary); background: var(--x-pc); }
.a-scan:not(.s2) .n0 .a-halo, .a-scan.s2 .n1 .a-halo { opacity: .25; transform: scale(1.5); }
.a-scan:not(.s2) .n0 .a-nt, .a-scan.s2 .n1 .a-nt { color: var(--x-on); font-weight: 600; }
.a-scan:not(.s2) .n0 .a-lout > i { transform: scaleX(.35); }
.a-scan.s2 .n0 .a-dot { border-width: 0; background: var(--x-primary); }
.a-scan.s2 .n0 .a-lout > i { transform: scaleX(1); }
.a-scan.s2 .n1 .a-lin { background: var(--x-primary); }
.a-scan.s2 .n1 .a-lout > i { transform: scaleX(.2); }
.a-scan .st2 { display: none; }
.a-scan.s2 .st1 { display: none; }
.a-scan.s2 .st2 { display: revert; }
.a-scan.s2 div.st2 { display: flex; }
.a-scroll { flex: 1; min-height: 0; overflow: hidden; margin: -2px 0; padding: 2px 0; }
.a-clist { padding: 6px 16px; }
.a-crow { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 6px 0; font-size: 16px; line-height: 21px; }
.a-crow:not(:first-child) { box-shadow: 0 -.5px 0 var(--x-outline); }
.a-active + .a-crow { box-shadow: none; }
.a-crow .v { font-size: 14px; line-height: 19px; color: var(--x-onv); text-align: right; }
.a-crow .v.strong { color: var(--x-ptext); font-weight: 600; }
.a-active { margin: 6px -6px; padding: 12px 14px; border-radius: 18px; background: var(--x-pc); color: var(--x-onpc); display: flex; flex-direction: column; gap: 8px; }
.a-atop { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.a-atop b { font-size: 17px; line-height: 22px; font-weight: 700; }
.a-atop span { font-size: 14px; line-height: 19px; font-weight: 600; }
.a-active p { font-size: 14px; line-height: 20px; }
.a-levels { display: flex; align-items: flex-end; gap: 5px; height: 30px; overflow: hidden; }
.a-levels i { width: 7px; height: 30px; border-radius: 3.5px; background: var(--x-primary); transform-origin: bottom; transform: scaleY(var(--lv, .5)); }
.a-levels i:nth-child(3n) { --lv: .8; } .a-levels i:nth-child(4n+1) { --lv: .35; } .a-levels i:nth-child(5n+2) { --lv: .65; } .a-levels i:nth-child(7n) { --lv: .95; }
.a-mini { height: 4px; border-radius: 2px; background: var(--x-track); overflow: hidden; }
.a-mini i { display: block; height: 4px; width: 100%; border-radius: 2px; background: var(--x-primary); transform-origin: left; transform: scaleX(.42); }
.a-btn2 {
  flex: none; height: 48px; border-radius: 24px; display: grid; place-items: center; font-size: 17px; font-weight: 600;
  background: var(--x-glass); border: 1px solid var(--x-glass-edge); box-shadow: 0 4px 8px rgba(20,30,60,.1);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
}

/* Full-screen touch test (native view, screen-probe TouchGridCheck) */
.a-touch { position: absolute; inset: 0; z-index: 40; background: #101418; color: #FFFFFF; }
.a-tgrid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(16, 1fr); }
.a-tgrid i { position: relative; margin: 1px; box-shadow: inset 0 0 0 1px #3A4450; }
.a-tgrid i.paint::after { content: ""; position: absolute; inset: 0; background: #2BB673; }
.a-tgrid i.rsv { box-shadow: none; background: #252B33 repeating-linear-gradient(-45deg, transparent 0 9px, #464F5C 9px 10px); }
.a-tgrid i.dead::after { content: ""; position: absolute; inset: 2px; box-shadow: inset 0 0 0 3px #F5B83D; }
.a-tpanel { position: absolute; left: 36px; right: 36px; top: 304px; padding: 16px 18px; border-radius: 16px; background: rgba(16,20,24,.86); text-align: center; opacity: 0; }
.a-tpanel b { display: block; font-size: 24px; line-height: 29px; font-weight: 700; margin-bottom: 6px; }
.a-tpanel p { font-size: 17px; line-height: 23px; color: rgba(255,255,255,.86); }
.a-skip { position: absolute; top: 67px; right: 12px; min-height: 48px; padding: 0 18px; border-radius: 24px; display: grid; place-items: center; font-size: 15px; font-weight: 600; background: rgba(0,0,0,.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.a-tfinger { position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.3); border: 2px solid #FFFFFF; opacity: 0; }

/* Check tab after a scan (ScoreHome) */
.a-scoreblk { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.a-ringwrap { position: relative; width: 184px; height: 184px; }
.a-ring { width: 184px; height: 184px; transform: rotate(-90deg); display: block; }
.a-ring circle, .lc-ring circle { fill: none; }
.a-ring .trk { stroke: var(--x-track); }
.a-ring .val { stroke: var(--x-primary); stroke-linecap: round; stroke-dashoffset: var(--off); }
.a-ringnum { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.a-ringnum b { font-size: 68px; line-height: 68px; font-weight: 700; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.a-ringnum span { font-size: 13px; line-height: 18px; color: var(--x-onv); }
.a-verdict { font-size: 17px; line-height: 22px; font-weight: 600; text-align: center; }
.a-issues { margin-top: -6px; font-size: 14px; line-height: 19px; color: var(--x-onv); text-align: center; }
.a-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.a-stile { background: var(--x-surface); border-radius: 18px; padding: 12px 14px; min-height: 64px; display: flex; flex-direction: column; gap: 8px; }
.a-stile.warn { background: var(--x-wc); }
.a-sttop { display: flex; align-items: center; gap: 8px; }
.a-stl { flex: 1; font-size: 14px; line-height: 18px; }
.a-stile.warn .a-stl { color: var(--x-onwc); }
.a-sttop b { font-size: 17px; line-height: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.a-stile.warn .a-sttop b { color: var(--x-wtext); }
.a-track { height: 6px; border-radius: 3px; background: var(--x-track); overflow: hidden; }
.a-track i { display: block; height: 6px; border-radius: 3px; width: calc(var(--w) * 100%); background: var(--x-primary); transform-origin: left; }
.a-stile.warn .a-track i, .a-cat.issue > .a-track i { background: var(--x-warn); }

/* Result detail (CategoryCard + RowDetails) */
.a-back { position: absolute; z-index: 21; left: 16px; top: 54px; width: 44px; height: 44px; border-radius: 22px; display: grid; place-items: center; background: var(--x-glass); border: 1px solid var(--x-glass-edge); box-shadow: 0 4px 12px rgba(20,30,60,.12); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.a-back .ic { stroke-width: 2.4; width: 20px; height: 20px; }
.a-statement { display: flex; flex-direction: column; gap: 8px; }
.a-st { font-size: 26px; line-height: 30px; font-weight: 700; letter-spacing: -.6px; }
.a-cards { display: flex; flex-direction: column; gap: 10px; }
.a-card { background: var(--x-surface); border-radius: 26px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.a-cathead { display: flex; align-items: center; gap: 12px; }
.a-cathead b { flex: 1; font-size: 17px; line-height: 22px; font-weight: 600; }
.a-catv { font-size: 17px; line-height: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.a-catv.fine { color: var(--x-ptext); } .a-catv.issue { color: var(--x-wtext); }
.a-rows { margin-top: -2px; }
.a-rows > .a-rrow + .a-rrow, .a-details + .a-rrow { box-shadow: 0 -.5px 0 var(--x-outline); }
.a-details { margin-bottom: 8px; padding: 12px; border-radius: 18px; background: var(--x-bg); display: flex; flex-direction: column; gap: 8px; }
.a-dverdict { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--x-wtext); }
.a-metric { display: flex; flex-direction: column; gap: 1px; }
.a-metric div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 18px; }
.a-metric b { font-weight: 600; font-variant-numeric: tabular-nums; }
.a-metric small { font-size: 12px; line-height: 16px; color: var(--x-onv); }
.a-btnc { align-self: flex-start; margin-top: 2px; min-height: 44px; padding: 0 18px; border-radius: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 600; }
.a-btnc.warn { background: var(--x-wtext); color: var(--x-btn-warn-fg); }
.a-btnc .ic { width: 18px; height: 18px; stroke-width: 2.2; }

/* Report card (ListingCard, iOS) on the page */
.lcard {
  position: relative; overflow: hidden; width: min(calc(100% - 16px), 390px); justify-self: center;
  display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 30px;
  background: var(--x-card); color: #FFFFFF; border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 22px 44px rgba(10,14,30,.28); font-family: var(--app-font); font-size: 15px; line-height: 20px;
  transform: rotate(-1.5deg);
}
.lcard .ic { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.lc-sheen { position: absolute; top: -60px; bottom: -60px; left: 0; width: 90px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.1) 30%, rgba(255,255,255,.14) 50%, rgba(255,255,255,.1) 70%, rgba(255,255,255,0));
  transform: translateX(-150px) rotate(18deg); }
.lc-head { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lc-head > div:first-child { display: flex; flex-direction: column; gap: 3px; }
.lc-app { font-size: 14px; font-weight: 700; letter-spacing: .2px; }
.lc-model { font-size: 19px; line-height: 24px; font-weight: 600; }
.lc-meta { font-size: 13px; line-height: 18px; color: #C5CAD3; }
.lc-score { display: flex; flex-direction: column; align-items: flex-end; }
.lc-score b { font-size: 66px; line-height: 63px; font-weight: 700; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.lc-score span { font-size: 12px; line-height: 16px; color: #C5CAD3; }
.lc-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lc-grid div { display: flex; flex-direction: column; gap: 2px; }
.lc-grid span { font-size: 12px; line-height: 16px; color: #C5CAD3; }
.lc-grid b { font-size: 17px; line-height: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.lc-grid b.issue, .lc-pgrid b.issue { color: #FFC078; }
.lc-parts { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid #3A3F49; }
.lc-ptitle { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .4px; color: #C5CAD3; }
.lc-pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lc-part { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lc-part span { display: flex; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; color: #C5CAD3; }
.lc-part b { font-size: 15px; line-height: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.lc-qr { position: relative; display: flex; align-items: center; gap: 14px; padding-top: 14px; border-top: 1px solid #3A3F49; }
.lc-qrbox { width: 78px; height: 78px; flex: none; border-radius: 12px; background: #FFFFFF; display: grid; place-items: center; }
.lc-noqr { width: 66px; height: 66px; border-radius: 8px; border: 1.5px dashed #8E94A0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #15171C; font-size: 12px; line-height: 14px; font-weight: 600; }
.lc-noqr .ic { width: 18px; height: 18px; color: #8E94A0; }
.lc-qr > div { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.lc-qr > div b { font-size: 14px; line-height: 19px; font-weight: 600; }
.lc-qr > div span { font-size: 13px; line-height: 18px; color: #C5CAD3; }
.lc-stamp { position: absolute; left: 50%; top: calc(50% + 7px); padding: 6px 12px; border-radius: 8px; border: 2px solid #FFFFFF; background: var(--x-card); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1.2px; white-space: nowrap; opacity: .94; transform: translate(-50%, -50%) rotate(-8deg); }
@media (max-width: 380px) { .lcard { padding: 16px; } .lc-score b { font-size: 54px; line-height: 54px; } }

/* Hero phone scenes */
.scene { opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.hero-phone[data-scene="a"] .scene-a, .hero-phone[data-scene="b"] .scene-b, .hero-phone[data-scene="c"] .scene-c { opacity: 1; visibility: visible; transition: opacity .5s var(--ease), visibility 0s; }

/* ---------- Page chrome additions ---------- */
.read-progress { position: fixed; z-index: 60; inset: 0 0 auto; height: 2px; background: var(--primary); transform-origin: 0 50%; transform: scaleX(var(--rp, 0)); pointer-events: none; }
.site-header { border-bottom-color: transparent; transition: border-color .3s var(--ease), background-color .3s var(--ease), -webkit-backdrop-filter .3s, backdrop-filter .3s; }
.site-header.scrolled { border-bottom-color: color-mix(in srgb, var(--hair) 85%, transparent); background: color-mix(in srgb, var(--page) 80%, transparent); -webkit-backdrop-filter: saturate(180%) blur(28px); backdrop-filter: saturate(180%) blur(28px); }
.sellers-visual { display: grid; justify-items: center; }
.b-tile { transition: transform .4s var(--ease); transform: perspective(900px) translateY(var(--lift, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.b-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: 0 18px 40px -18px rgb(16 24 48 / .28); opacity: 0; transition: opacity .4s var(--ease); }
@media (prefers-color-scheme: dark) { .b-tile::after { box-shadow: 0 18px 40px -18px rgb(0 0 0 / .8), inset 0 0 0 1px rgb(255 255 255 / .06); } }
@media (hover: hover) and (pointer: fine) {
  .b-tile:hover { --lift: -3px; }
  .b-tile:hover::after { opacity: 1; }
  .store-btn:hover { transform: translateY(-1px); }
}

/* =====================================================================
   Motion. Base styles above are the final, static states. Everything below runs
   only for people who have not asked for reduced motion.
   ===================================================================== */
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes halo { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes grow-x { from { transform: scaleX(0); } }
@keyframes ring-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: var(--off); } }
@keyframes lv { 0%, 100% { transform: scaleY(var(--lv, .5)); } 50% { transform: scaleY(calc(1.15 - var(--lv, .5))); } }
@keyframes mini { from { transform: scaleX(.05); } to { transform: scaleX(.8); } }
@keyframes drop-in { from { opacity: .2; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes tap { 0%, 30% { opacity: 0; transform: translate(70px, 120px); } 45% { opacity: 1; transform: none; } 55% { opacity: 1; transform: scale(.86); } 70%, 100% { opacity: 0; transform: none; } }
@keyframes ripple { 0%, 52% { opacity: 0; transform: scale(.3); } 56% { opacity: .9; } 85%, 100% { opacity: 0; transform: scale(2.4); } }
@keyframes btn-press { 0%, 52% { transform: none; } 56% { transform: scale(.95); } 66%, 100% { transform: none; } }
@keyframes cell { from { opacity: 0; } to { opacity: 1; } }
@keyframes flash-in { 0% { opacity: 0; } 30% { opacity: 1; } 55% { opacity: .35; } 100% { opacity: 1; } }
@keyframes a-sweep { 0.00% { transform: translate(1.4px, 56.1px); } 7.13% { transform: translate(342.6px, 56.1px); } 7.14% { transform: translate(342.6px, 108.9px); } 14.28% { transform: translate(1.4px, 108.9px); } 14.29% { transform: translate(1.4px, 161.6px); } 21.42% { transform: translate(342.6px, 161.6px); } 21.43% { transform: translate(342.6px, 214.4px); } 28.56% { transform: translate(1.4px, 214.4px); } 28.57% { transform: translate(1.4px, 267.1px); } 35.70% { transform: translate(342.6px, 267.1px); } 35.71% { transform: translate(342.6px, 319.9px); } 42.85% { transform: translate(1.4px, 319.9px); } 42.86% { transform: translate(1.4px, 372.6px); } 49.99% { transform: translate(342.6px, 372.6px); } 50.00% { transform: translate(342.6px, 425.4px); } 57.13% { transform: translate(1.4px, 425.4px); } 57.14% { transform: translate(1.4px, 478.1px); } 64.28% { transform: translate(342.6px, 478.1px); } 64.29% { transform: translate(342.6px, 530.9px); } 71.42% { transform: translate(1.4px, 530.9px); } 71.43% { transform: translate(1.4px, 583.6px); } 78.56% { transform: translate(342.6px, 583.6px); } 78.57% { transform: translate(342.6px, 636.4px); } 85.70% { transform: translate(1.4px, 636.4px); } 85.71% { transform: translate(1.4px, 689.1px); } 92.85% { transform: translate(342.6px, 689.1px); } 92.86% { transform: translate(342.6px, 741.9px); } 99.99% { transform: translate(1.4px, 741.9px); } }
@keyframes finger-show { 0%, 99% { opacity: 1; } 100% { opacity: 0; } }
@keyframes chip-in { from { opacity: 0; transform: translateY(14px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes eq { 25%, 75% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
@keyframes iris { to { transform: rotate(90deg) scale(.8); } }
@keyframes level { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-30px); } 70% { transform: translateX(24px); } }
@keyframes charge { from { transform: scaleX(.15); } to { transform: scaleX(.84); } }
@keyframes bars { from { opacity: .25; } to { opacity: 1; } }
@keyframes swatch { 50% { transform: translateY(-6px); } }
@keyframes sheen { from { opacity: 1; transform: translateX(-150px) rotate(18deg); } to { opacity: 1; transform: translateX(560px) rotate(18deg); } }
@keyframes par { from { transform: translate3d(0, calc(var(--pf) * var(--pk, 1)), 0); } to { transform: translate3d(0, calc(var(--pt) * var(--pk, 1)), 0); } }
@keyframes card-settle { from { transform: rotate(-6deg) translateY(36px); } to { transform: rotate(-1.5deg); } }

@media (prefers-reduced-motion: no-preference) {
  /* In-phone loops (only while the phone is on screen: .paused stops them) */
  .hero-phone[data-scene="a"] .a-pulse, .js .in-view .step-home .a-pulse { animation: pulse 2.6s ease-out infinite; }
  .hero-phone[data-scene="a"] .a-pulse.r2, .js .in-view .step-home .a-pulse.r2 { animation-delay: 1.3s; }
  .hero-phone[data-scene="a"] .scene-a .a-herobtn { animation: btn-press 3.2s var(--ease) both; }
  .hero-phone[data-scene="a"] .a-tapdot { animation: tap 3.2s var(--ease) both; }
  .hero-phone[data-scene="a"] .scene-a .a-group { animation: fade-up .6s var(--ease) .15s both; }

  .hero-phone[data-scene="b"] .a-levels i, .js .in-view .step-measure .a-levels i { animation: lv 1s ease-in-out infinite; animation-delay: calc(var(--i) * -.13s); }
  .hero-phone[data-scene="b"] .a-mini i { animation: mini 2s linear both; }
  .hero-phone[data-scene="b"] .s2 .a-mini i { animation: mini 2.2s linear both; }
  .hero-phone[data-scene="b"] .a-halo, .js .in-view .step-measure .a-halo { animation: halo 1.4s ease-out infinite; }
  .hero-phone[data-scene="b"] .s2 .drop { animation: drop-in .45s var(--ease) both; }
  .hero-phone[data-scene="b"] .s2 .a-active.st2 { animation: fade-up .45s var(--ease) both; }

  .hero-phone[data-scene="c"] .a-ring .val { animation: ring-draw 1.5s var(--ease) .2s both; }
  .hero-phone[data-scene="c"] .a-verdict, .hero-phone[data-scene="c"] .a-issues { animation: fade-up .5s var(--ease) .9s both; }
  .hero-phone[data-scene="c"] .a-stile { animation: fade-up .6s var(--ease) both; animation-delay: calc(.2s + var(--i) * 60ms); }
  .hero-phone[data-scene="c"] .a-stile .a-track i { animation: grow-x .9s var(--ease) both; animation-delay: calc(.4s + var(--i) * 60ms); }
  .hero-phone[data-scene="c"] .scene-c .a-group { animation: fade-up .6s var(--ease) .6s both; }
  .hero-phone.paused *, .hero-phone.paused *::before, .hero-phone.paused *::after,
  .step-visual:not(.in-view) .phone *, .step-visual:not(.in-view) .phone *::after { animation-play-state: paused !important; }

  /* Step 1: tap on the button */
  .js .in-view .step-home .a-finger { animation: tap 3.4s var(--ease) .3s both; }
  .js .in-view .step-home .a-ripple { animation: ripple 3.4s var(--ease) .3s both; }
  .js .in-view .step-home .a-herobtn { animation: btn-press 3.4s var(--ease) .3s both; }

  /* Step 2: loudspeaker measuring, then the full-screen touch test paints itself */
  .js .step-measure .a-touch { opacity: 0; }
  .js .in-view .step-measure .a-touch { animation: fade-in .4s var(--ease) 2.6s both; }
  .js .in-view .step-measure .a-tpanel { animation: flash-in .01s 2.6s both, fade-out .3s var(--ease) 3.6s forwards; opacity: 1; }
  .js .step-measure .a-tgrid i.paint::after { opacity: 0; }
  .js .in-view .step-measure .a-tgrid i.paint::after { animation: cell .12s linear both; animation-delay: calc(3.8s + var(--d) * 35ms); }
  .js .step-measure .a-tgrid i.dead::after { opacity: 0; }
  .js .in-view .step-measure .a-tgrid i.dead::after { animation: flash-in .8s ease-out 7.9s both; }
  .js .in-view .step-measure .a-tfinger { animation: a-sweep 3.92s linear 3.8s both, finger-show 3.92s linear 3.8s both; }
  .js .in-view .step-measure .a-mini i { animation: mini 2.6s linear both; }

  /* Step 3: result cards */
  .js .step-result .a-card, .js .step-result .a-statement { opacity: 0; }
  .js .in-view .step-result .a-statement { animation: fade-up .6s var(--ease) .1s both; }
  .js .in-view .step-result .a-card { animation: fade-up .6s var(--ease) both; animation-delay: calc(.3s + var(--i) * 120ms); }
  .js .in-view .step-result .a-track i { animation: grow-x .9s var(--ease) .6s both; }
  .js .in-view .step-result .a-details { animation: fade-up .5s var(--ease) 1s both; }
  .js .in-view .step-result .a-chev.open { animation: chev .4s var(--ease) .9s both; }

  /* Report card: one sheen pass when it comes into view */
  .js .lcard.in-view .lc-sheen { animation: sheen 1.6s var(--ease) .5s both; }
  .js .lcard .lc-part { opacity: 0; }
  .js .lcard.in-view .lc-part { animation: fade-in .42s var(--ease) both; animation-delay: calc(.26s + var(--i) * 60ms); }

  /* Bento art: one short play when the grid enters view, again on hover */
  .js .in-view .art-sound i, .b-sound:hover .art-sound i { animation: eq 1s ease-in-out 3 both; animation-delay: calc(var(--n, 0) * 1ms); }
  .art-sound i:nth-child(odd) { --n: 120; } .art-sound i:nth-child(3n) { --n: 260; } .art-sound i:nth-child(4n) { --n: 380; }
  .js .in-view .ac-iris, .b-cam:hover .ac-iris { animation: iris 1.2s var(--ease) 2 alternate both; }
  .js .in-view .art-sensors .level i, .b-sensors:hover .level i { animation: level 2.4s var(--ease) both; }
  .js .in-view .art-battery .cell i, .b-battery:hover .cell i { animation: charge 1.8s var(--ease) both; }
  .js .in-view .art-signal i, .b-signal:hover .art-signal i { animation: bars .5s steps(2) both; }
  .js .in-view .art-signal i:nth-child(2), .b-signal:hover .art-signal i:nth-child(2) { animation-delay: .25s; }
  .js .in-view .art-signal i:nth-child(3), .b-signal:hover .art-signal i:nth-child(3) { animation-delay: .5s; }
  .js .in-view .art-signal i:nth-child(4), .b-signal:hover .art-signal i:nth-child(4) { animation-delay: .75s; }
  .js .in-view .art-screen i, .b-screen:hover .art-screen i { animation: swatch .8s var(--ease) both; animation-delay: calc(var(--n, 0) * 80ms); }
  .art-screen i:nth-child(2) { --n: 1; } .art-screen i:nth-child(3) { --n: 2; } .art-screen i:nth-child(4) { --n: 3; } .art-screen i:nth-child(5) { --n: 4; } .art-screen i:nth-child(6) { --n: 5; }

  /* Technology teaser: the sweep draws, the touch squares fill, the dead one flashes */
  .js .tech-points .tp-sweep { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .tech-points.in-view .tp-sweep { animation: tp-draw 1.6s linear .3s forwards; }
  .js .tech-points.in-view .tp-grid rect:not(.tp-dead) { animation: fade-in .2s linear both; }
  .js .tech-points.in-view .tp-grid rect:nth-child(2) { animation-delay: .5s; } .js .tech-points.in-view .tp-grid rect:nth-child(3) { animation-delay: .6s; }
  .js .tech-points.in-view .tp-grid rect:nth-child(4) { animation-delay: .7s; } .js .tech-points.in-view .tp-grid rect:nth-child(5) { animation-delay: .8s; }
  .js .tech-points.in-view .tp-grid rect:nth-child(6) { animation-delay: 1.2s; } .js .tech-points.in-view .tp-grid rect:nth-child(7) { animation-delay: 1.1s; }
  .js .tech-points.in-view .tp-grid rect:nth-child(9) { animation-delay: .9s; } .js .tech-points.in-view .tp-grid rect:nth-child(10) { animation-delay: .85s; }
  .js .tech-points.in-view .tp-dead { animation: flash-in .8s ease-out 1.4s both; }

  /* Text reveals (classes added by main.js): fade + 12px rise, staggered */
  .js .rv { opacity: 0; transform: translateY(12px); }
  .js .rv.in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--rv, 0) * 90ms); }

  /* Problem chips. Fallback: IntersectionObserver adds .in-view. */
  .js .listing .chip { opacity: 0; transform: translateY(14px) scale(.92); }
  .js .listing.in-view .chip { animation: chip-in .55s var(--ease) both; animation-delay: calc(.25s + var(--i) * .45s); }
  @supports (animation-timeline: view()) {
    .js .listing .chip, .js .listing.in-view .chip {
      animation: chip-in linear both; animation-timeline: --listing;
      animation-range: entry calc(55% + var(--i) * 12%) cover calc(42% + var(--i) * 6%); animation-delay: 0s;
    }
    .lcard { animation: card-settle linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  }

  /* Page load: one orchestrated entrance for the hero */
  /* Transform-only: an opacity fade would hold back Largest Contentful Paint on the headline. */
  .hero-copy > * { animation: rise-in .8s var(--ease) both; }
  @keyframes rise-in { from { transform: translateY(14px); } to { transform: none; } }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .22s; }
  .hero-copy > :nth-child(5) { animation-delay: .28s; }
  .hero-visual .phone { animation: fade-up 1s var(--ease) .1s both; }

  /* Parallax. Scroll-driven where supported; main.js writes --py otherwise. */
  .par { --pk: 1; }
  @media (max-width: 767px) { .par { --pk: .55; } }
  @supports (animation-timeline: scroll()) {
    .par-root { animation: par linear both; animation-timeline: scroll(root block); animation-range: 0px 900px; }
    .par-view { animation: par linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .read-progress { animation: grow-x linear both; animation-timeline: scroll(root block); transform: none; }
  }
  .par-js { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
}
@keyframes tp-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes chev { from { transform: rotate(0deg); } to { transform: rotate(90deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .read-progress { display: none; }
  .b-tile { transform: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
.a-homeind.light { background: #FFFFFF; }
/* Tilted cards, glows and parallax never widen the page */
.section, .hero { overflow-x: clip; }
