/* Strago — Apple-style product page. One accent: Strago pink. */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --line: #d2d2d7;
  --pink: #ff00ff;
  --pink-deep: #d100d1;
  --good: #34c759;
  --high: #ff9f0a;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1024px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 44px); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 20; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- global nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: 28px; font-size: 13px; letter-spacing: -0.01em; }
.nav a { text-decoration: none; color: var(--ink); opacity: 0.8; }
.nav a:hover { opacity: 1; }
.nav .cta { background: var(--pink); color: #fff; opacity: 1; padding: 4px 12px; border-radius: 980px; font-weight: 500; }
@media (max-width: 640px) { .nav .hide-sm { display: none; } .nav { gap: 18px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 17px; font-weight: 500; text-decoration: none; letter-spacing: -0.02em;
  padding: 12px 22px; border-radius: 980px; min-height: 44px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:hover { background: var(--pink-deep); }
.btn-link { color: var(--pink-deep); padding-inline: 4px; }
.btn-link:hover { text-decoration: underline; }
.btn-link::after { content: "›"; font-size: 1.2em; line-height: 1; }

/* ---------- hero + decomposition (one sticky stage) ---------- */
.explode { position: relative; height: 520vh; }
.explode .sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: grid; place-items: center;
}
.hero-copy {
  position: absolute; top: 10vh; left: 0; right: 0; text-align: center; z-index: 3;
  transform: translateY(calc(var(--intro, 0) * -60px));
  opacity: calc(1 - var(--intro, 0));
  padding-inline: 22px;
}
.eyebrow { color: var(--pink-deep); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; margin: 0 0 6px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
h1 {
  font-size: clamp(44px, 8vw, 96px); line-height: 1.02; letter-spacing: -0.045em;
  font-weight: 700; margin: 0 auto 16px; max-width: 12ch;
}
h1 .pink { color: var(--pink); }
.lede { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; color: var(--ink-soft); max-width: 36ch; margin: 0 auto 22px; letter-spacing: -0.02em; }
.hero-actions { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* device + layers */
.device-wrap {
  position: absolute; left: 50%; top: 50%;
  width: 300px; height: 620px; margin: -310px 0 0 -150px;
  --s: 1;
  /* --drop is set by script: how far down the phone starts, below the hero text. */
  transform:
    translateY(calc((1 - var(--intro, 0)) * var(--drop, 34vh) + var(--tilt, 0) * 7vh + var(--outro, 0) * 5vh))
    scale(calc(var(--s) * (1 - var(--tilt, 0) * 0.1 - var(--outro, 0) * 0.08)));
  perspective: 2600px;
}
@media (max-height: 820px) { .device-wrap { --s: 0.82; } }
@media (max-width: 520px) { .device-wrap { --s: 0.72; } }
.device {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transform:
    rotateX(calc(var(--tilt, 0) * 52deg))
    rotateZ(calc(var(--tilt, 0) * -28deg))
    translateX(calc(var(--tilt, 0) * var(--shift, -90px)));
  will-change: transform;
}
@media (max-width: 860px) { .device { --shift: 0px; } }

.layer {
  position: absolute; inset: 0;
  border-radius: 52px;
  transform: translateZ(calc(var(--i) * 0.8px + var(--spread, 0) * var(--i) * 62px));
  transform-style: preserve-3d;
  transition: box-shadow 0.4s ease;
  will-change: transform;
}
/* ---- iPhone 16 Pro body: natural titanium band, thin bezels, real thickness ---- */
.layer.body { border-radius: 52px; }
.ti {
  /* natural titanium: brushed, light from the top left */
  background:
    linear-gradient(135deg, #f1efea 0%, #b9b5ad 18%, #8f8b84 34%, #d7d4ce 52%, #9c9891 70%, #e6e3dd 86%, #a8a49d 100%);
}
.edge {
  /* stacked slices form the side wall you see when the phone tilts */
  position: absolute; inset: 0; border-radius: 52px;
  transform: translateZ(calc(var(--z) * -1.4px));
  background: linear-gradient(135deg, #a9a59e, #6f6c66 40%, #b7b3ac 70%, #7d7a74);
}
.edge.last { box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.55), 0 18px 30px -18px rgba(0, 0, 0, 0.5); }
.frame {
  position: absolute; inset: 0; border-radius: 52px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), inset 0 0 0 2px rgba(0, 0, 0, 0.18);
}
.bezel {
  position: absolute; inset: 3px; border-radius: 49px; background: #050505;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.hw-island {
  position: absolute; left: 50%; top: 20px; width: 92px; height: 27px; margin-left: -46px;
  border-radius: 20px; background: #000; transform: translateZ(0.3px);
}
.hw-island::after {
  /* front camera lens */
  content: ""; position: absolute; right: 10px; top: 8px; width: 11px; height: 11px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2a3350 0 20%, #0b0d16 45%, #000 70%);
}
.hwbtn { position: absolute; width: 4px; border-radius: 2px; transform: translateZ(-16px); }
.hwbtn.action { left: -3px; top: 118px; height: 30px; }
.hwbtn.vol-up { left: -3px; top: 168px; height: 52px; }
.hwbtn.vol-down { left: -3px; top: 232px; height: 52px; }
.hwbtn.power { right: -3px; top: 190px; height: 82px; }
.hwbtn.camctl { right: -2px; top: 360px; height: 58px; width: 3px; background: linear-gradient(#5d5a55, #2f2d2a) !important; }

.layer .screen {
  position: absolute; inset: 9px; border-radius: 44px; overflow: hidden;
}
.layer.active .screen { box-shadow: 0 0 0 2px var(--pink), 0 0 40px 6px rgba(255, 0, 255, 0.35); }

/* cover glass: a soft reflection that lifts off first in the exploded view */
.glass .screen {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 28%, rgba(255, 255, 255, 0) 29%),
    linear-gradient(115deg, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.06) 80%, rgba(255, 255, 255, 0) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, calc(var(--spread, 0) * 0.35));
}

/* L1 camera feed: aisle out of focus, carton and shelf label in focus */
.feed {
  background: radial-gradient(130% 70% at 50% 20%, #7a6f5f 0%, #3a332b 50%, #1a1712 100%);
}
.feed .row {
  /* out-of-focus products on a shelf level */
  position: absolute; left: -30px; right: -30px; filter: blur(4px) saturate(0.9); opacity: 0.85;
  background:
    linear-gradient(to top, #231e18 0 10px, transparent 10px),
    repeating-linear-gradient(90deg,
      #b8472f 0 26px, transparent 26px 30px, #e3c170 30px 52px, transparent 52px 55px,
      #2f78a0 55px 88px, transparent 88px 92px, #efe9dd 92px 110px, transparent 110px 114px,
      #4b8a57 114px 142px, transparent 142px 146px, #a5553d 146px 170px, transparent 170px 174px);
  -webkit-mask: linear-gradient(to top, #000 0 10px, #000 10px 72%, transparent 100%);
  mask: linear-gradient(to top, #000 0 10px, #000 10px 72%, transparent 100%);
}
.feed .row.r1 { top: 18px; height: 88px; }
.feed .row.r2 { top: 122px; height: 196px; background-position: 40px 0; opacity: 0.6; }
.feed .row.r3 { top: 400px; height: 120px; background-position: 80px 0; }
.feed .light {
  position: absolute; inset: 0;
  background: radial-gradient(60% 40% at 50% 38%, rgba(255, 244, 220, 0.28), transparent 70%);
}
.feed .product {
  position: absolute; left: 88px; top: 112px; width: 112px; height: 196px;
  background: linear-gradient(90deg, #cfcfc9 0%, #fbfbf7 22%, #f3f2ec 60%, #c9c8c1 100%);
  clip-path: polygon(0 18%, 18% 6%, 50% 0, 82% 6%, 100% 18%, 100% 100%, 0 100%);
  box-shadow: 0 22px 30px -12px rgba(0, 0, 0, 0.7);
}
.feed .product::before {
  content: ""; position: absolute; left: 0; right: 0; top: 64px; height: 44px;
  background: linear-gradient(90deg, #1f5fae, #3d86d6 50%, #1f5fae);
}
.feed .product::after {
  content: "2%"; position: absolute; left: 0; right: 0; top: 70px; text-align: center;
  color: #fff; font-weight: 800; font-size: 24px; letter-spacing: -0.04em;
}
.feed .product .bars {
  position: absolute; left: 24px; right: 24px; bottom: 16px; height: 30px; background-color: #fff;
  background-image: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 7px, #111 7px 10px, transparent 10px 11px);
  background-clip: content-box; padding: 3px 4px;
}
.feed .shelfbar {
  position: absolute; left: 0; right: 0; top: 312px; height: 20px;
  background: linear-gradient(#8a8173, #4a4238 40%, #2a241d);
}
.feed .tag {
  position: absolute; left: 60px; top: 322px; width: 160px; height: 82px;
  background: linear-gradient(#ffffff, #f1f1ec); border-radius: 4px; padding: 8px 10px; color: #111;
  font-size: 9px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase;
  transform: perspective(300px) rotateX(8deg); box-shadow: 0 8px 14px -6px rgba(0, 0, 0, 0.6);
}
.feed .tag b { display: block; font-size: 34px; line-height: 1; letter-spacing: -0.03em; margin-top: 4px; }
.feed .tag small { font-size: 8px; font-weight: 500; text-transform: none; color: #555; }
.feed .vignette { position: absolute; inset: 0; box-shadow: inset 0 0 80px 20px rgba(0, 0, 0, 0.55); }

/* L2 vision overlay */
.vision .target {
  position: absolute; left: 36px; right: 36px; top: 170px; height: 150px;
  border: 2px solid rgba(255, 255, 255, 0.9); border-radius: 14px;
}
.vision .scanline {
  position: absolute; left: 56px; right: 56px; top: 244px; height: 2px; background: var(--pink);
  box-shadow: 0 0 12px 3px rgba(255, 0, 255, 0.7);
  animation: sweep 2.2s ease-in-out infinite alternate;
}
@keyframes sweep { from { transform: translateY(-50px); } to { transform: translateY(50px); } }
.vision .box {
  position: absolute; border: 2px solid var(--pink); border-radius: 6px;
  box-shadow: 0 0 0 4px rgba(255, 0, 255, 0.18);
}
.vision .box.code { left: 96px; top: 262px; width: 86px; height: 44px; }
.vision .box.price { left: 62px; top: 336px; width: 94px; height: 48px; }
.vision .box span {
  position: absolute; left: -2px; top: -22px; white-space: nowrap;
  background: var(--pink); color: #fff; font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 5px;
}

/* L3 interface chrome */
.ui .totals {
  position: absolute; left: 12px; right: 12px; top: 54px; height: 50px;
  background: rgba(0, 0, 0, 0.72); border-radius: 10px; color: #fff;
  display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; text-align: center;
}
.ui .totals div { font-size: 12px; font-weight: 700; letter-spacing: -0.01em; }
.ui .totals small { display: block; font-size: 7px; font-weight: 600; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.05em; }
.ui .controls {
  position: absolute; left: 12px; right: 12px; bottom: 22px; height: 46px;
  background: rgba(0, 0, 0, 0.72); border-radius: 10px;
  display: flex; justify-content: space-around; align-items: center;
}
.ui .controls svg { width: 18px; height: 18px; fill: #fff; }
.ui .controls .badge { position: relative; }
.ui .controls .badge::after {
  content: "3"; position: absolute; right: -9px; top: -8px; background: var(--pink); color: #fff;
  font-size: 8px; font-weight: 700; border-radius: 99px; min-width: 13px; height: 13px; display: grid; place-items: center;
}

/* L4 verdict */
.verdict-card {
  position: absolute; left: 14px; right: 14px; top: 430px;
  background: rgba(10, 60, 36, 0.92); border-radius: 14px; color: #fff; padding: 11px 12px 11px 42px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7);
}
.verdict-card::before {
  content: "✓"; position: absolute; left: 12px; top: 12px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--good); color: #063; font-size: 12px; font-weight: 800; display: grid; place-items: center;
}
.verdict-card strong { display: block; font-size: 12px; }
.verdict-card em { display: block; font-style: normal; font-size: 11px; font-weight: 600; color: #6ee79a; margin-top: 2px; }
.verdict-card span { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; margin-top: 6px; }
.verdict-card span u { text-decoration: none; font-weight: 600; }

/* L5 Dynamic Island */
.island-pill {
  position: absolute; left: 50%; top: 9px; transform: translateX(-50%);
  height: 31px; width: 170px; background: #000; border-radius: 20px; color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 10px; font-weight: 600;
}
.island-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }

/* captions around the exploded device */
.captions { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.caption {
  position: absolute; right: max(4vw, 22px); top: 50%; width: min(360px, 38vw);
  transform: translateY(calc(-50% + (1 - var(--o, 0)) * 24px));
  opacity: var(--o, 0);
}
.caption .n { color: var(--pink-deep); font-weight: 600; font-size: 15px; }
.caption h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -0.035em; margin: 6px 0 10px; }
.caption p { color: var(--ink-soft); font-size: 18px; margin: 0; }
.caption.final { left: 0; right: 0; width: auto; top: 7vh; text-align: center; transform: translateY(calc((1 - var(--o, 0)) * 24px)); }
.caption.final h2 { font-size: clamp(34px, 5vw, 56px); }
@media (max-width: 860px) {
  .caption { left: 22px; right: 22px; width: auto; top: auto; bottom: 7vh; transform: translateY(calc((1 - var(--o, 0)) * 24px)); text-align: center;
    background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 14px 16px; border-radius: 18px; }
  .caption p { font-size: 16px; }
  .caption.final { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; bottom: auto; }
}

/* ---------- statement with word-by-word reveal ---------- */
.statement { position: relative; height: 240vh; background: #000; }
.statement .sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.statement p {
  font-size: clamp(30px, 4.6vw, 60px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 700;
  max-width: 20ch; margin: 0; color: #fff;
}
.statement .w { opacity: 0.18; transition: opacity 0.25s linear; }
.statement .w.on { opacity: 1; }
.statement .w.pink.on { color: var(--pink); }

/* ---------- generic sections ---------- */
section.block { padding: 130px 0; }
section.soft { background: var(--bg-soft); }
.headline { font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 700; margin: 0 0 18px; max-width: 16ch; }
.sub { font-size: clamp(19px, 2.2vw, 24px); color: var(--ink-soft); max-width: 40ch; margin: 0; line-height: 1.35; }
.center { text-align: center; }
.center .headline, .center .sub { margin-inline: auto; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s cubic-bezier(.2, .7, .2, 1), transform 0.9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; margin-top: 70px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 1px solid var(--line); padding-top: 22px; counter-increment: s; }
.step::before { content: counter(s); display: block; font-size: 56px; font-weight: 700; letter-spacing: -0.05em; color: var(--pink); line-height: 1; margin-bottom: 16px; }
.step h3 { font-size: 21px; letter-spacing: -0.025em; margin: 0 0 8px; }
.step p { color: var(--ink-soft); margin: 0; font-size: 16px; }
.step:nth-child(2) { transition-delay: 0.08s; } .step:nth-child(3) { transition-delay: 0.16s; } .step:nth-child(4) { transition-delay: 0.24s; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 70px; }
.tile {
  background: #fff; border-radius: 28px; padding: 36px 34px; min-height: 300px;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative;
}
.tile.w3 { grid-column: span 3; } .tile.w2 { grid-column: span 2; } .tile.w4 { grid-column: span 4; }
@media (max-width: 860px) { .tile.w2, .tile.w3, .tile.w4 { grid-column: span 6; } }
.tile.dark { background: #000; color: #fff; }
.tile.dark p { color: #a1a1a6; }
.tile h3 { font-size: 28px; line-height: 1.1; letter-spacing: -0.035em; margin: 0 0 10px; }
.tile p { color: var(--ink-soft); margin: 0; font-size: 17px; max-width: 34ch; }
.tile .art { margin-top: 28px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 99px; background: rgba(255, 0, 255, 0.12); color: var(--pink-deep); }
.chips span.on { background: var(--pink); color: #fff; }
.listart { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.listart li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid #2c2c2e; }
.listart li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #6e6e73; flex: none; }
.listart li.done { color: #6e6e73; text-decoration: line-through; }
.listart li.done::before { background: var(--pink); border-color: var(--pink); }
.currency { display: flex; gap: 12px; font-size: 44px; font-weight: 700; letter-spacing: -0.05em; }
.currency span:last-child { color: var(--pink); }
.bigword { font-size: 64px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: var(--pink); }

/* zero stats */
.zeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 70px; text-align: center; }
@media (max-width: 640px) { .zeros { grid-template-columns: 1fr; } }
.zeros div { border-top: 1px solid var(--line); padding-top: 26px; }
.zeros b { display: block; font-size: clamp(64px, 9vw, 110px); line-height: 1; letter-spacing: -0.06em; color: var(--pink); }
.zeros span { display: block; font-size: 21px; font-weight: 600; margin-top: 10px; letter-spacing: -0.02em; }
.flows { max-width: 720px; margin: 70px auto 0; border-top: 1px solid var(--line); }
.flows div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.flows b { font-weight: 600; }
.flows span { color: var(--ink-soft); }
@media (max-width: 560px) { .flows div { grid-template-columns: 1fr; gap: 4px; } }

.closing { padding: 150px 0 140px; }
.closing .hero-actions { margin-top: 30px; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-soft); color: var(--ink-soft); font-size: 12px; padding: 22px 0 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer nav a { text-decoration: none; color: var(--ink); opacity: 0.8; }
.site-footer nav a:hover { opacity: 1; text-decoration: underline; }

/* ---------- legal / support pages ---------- */
.doc { padding: 80px 0 110px; }
.doc .wrap { max-width: 720px; }
.doc .eyebrow { margin-bottom: 4px; }
.doc h1 { font-size: clamp(40px, 6vw, 60px); max-width: none; margin: 0 0 10px; text-align: left; }
.doc .updated { color: var(--ink-soft); font-size: 15px; }
.doc h2 { font-size: 28px; letter-spacing: -0.03em; margin: 48px 0 12px; }
.doc p, .doc li { font-size: 17px; }
.doc a { color: var(--pink-deep); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .summary { background: var(--bg-soft); border-radius: 18px; padding: 22px 26px; margin: 30px 0 8px; }
.doc .summary p { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 16px; }
.doc th, .doc td { text-align: left; padding: 14px 10px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.doc details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.doc summary { cursor: pointer; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.doc details p { margin: 12px 0 0; color: var(--ink-soft); }

/* ---------- reduced motion: show everything assembled, no scroll choreography ---------- */
@media (prefers-reduced-motion: reduce) {
  .explode { height: auto; }
  .explode .sticky { position: relative; height: auto; padding: 120px 0 80px; display: block; }
  .hero-copy { position: relative; top: 0; }
  .device-wrap { position: relative; left: auto; top: auto; margin: 50px auto 0; transform: none; }
  .captions { display: none; }
  .statement { height: auto; }
  .statement .sticky { position: relative; height: auto; padding: 120px 22px; }
  .statement .w { opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}

/* =====================================================================
   Pro (dark) home page — inspired by Apple's Pro product pages.
   Legal pages keep the light theme above.
   ===================================================================== */
body.pro {
  --bg: #000; --bg-soft: #1d1d1f; --ink: #f5f5f7; --ink-soft: #86868b; --line: #424245;
  background: #000; color: var(--ink);
}
body.pro .site-header { position: relative; background: #000; border-bottom: 1px solid #1d1d1f; }
body.pro .site-header .nav a { color: #f5f5f7; }
body.pro .brand img { filter: invert(1) hue-rotate(180deg); }
body.pro .eyebrow { color: #ff5cff; }
body.pro .btn-link { color: #ff5cff; }
body.pro h1 { color: #f5f5f7; }
body.pro .lede { color: var(--ink-soft); }
body.pro .status { color: var(--ink-soft); }
body.pro .caption h2 { color: #f5f5f7; }
body.pro .caption p { color: var(--ink-soft); }
body.pro .caption .n { color: #ff5cff; }
@media (max-width: 860px) {
  body.pro .caption { background: rgba(29, 29, 31, 0.86); }
  body.pro .caption.final { background: none; }
}
/* pink bloom behind the phone, strongest while it's exploded */
body.pro .explode .sticky::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 45% at 50% 58%, rgba(255, 0, 255, 0.28), rgba(255, 0, 255, 0) 70%);
  opacity: calc(0.35 + var(--tilt, 0) * 0.65);
}
body.pro .edge.last { box-shadow: 0 50px 110px -20px rgba(255, 0, 255, 0.25), 0 18px 30px -18px rgba(0, 0, 0, 0.8); }

.grad {
  background: linear-gradient(95deg, #ffffff 0%, #ffc6ff 38%, #ff3dff 70%, #ff00ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.copy { color: var(--ink-soft); font-size: clamp(19px, 2vw, 21px); line-height: 1.45; max-width: 44ch; }
.copy strong { color: #f5f5f7; font-weight: 600; }
.center .copy { margin-inline: auto; }

/* floating local nav pill */
.localnav {
  position: fixed; top: 12px; left: 50%; z-index: 30;
  width: min(980px, calc(100% - 24px)); height: 52px; padding: 0 10px 0 22px;
  transform: translate(-50%, -140%); opacity: 0;
  transition: transform 0.45s cubic-bezier(.2, .8, .2, 1), opacity 0.3s ease;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(29, 29, 31, 0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.08);
}
.localnav.show { transform: translate(-50%, 0); opacity: 1; }
.localnav b { font-size: 19px; letter-spacing: -0.02em; }
.localnav nav { display: flex; gap: 10px; align-items: center; font-size: 13px; }
.localnav nav a { text-decoration: none; color: #f5f5f7; padding: 6px 12px; border-radius: 99px; border: 1px solid #424245; }
.localnav nav a.buy { background: var(--pink); border-color: var(--pink); color: #fff; font-weight: 600; }
@media (max-width: 560px) { .localnav nav a.hide-sm { display: none; } }

/* dark sections */
section.pro-block { padding: 140px 0; background: #000; }
section.pro-block.gray { background: #1d1d1f; }
.pro-title { font-size: clamp(44px, 7vw, 80px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; margin: 0 0 22px; }
.pro-kicker { color: var(--ink-soft); font-size: 21px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.02em; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.sec-head h2 { font-size: clamp(34px, 4.5vw, 56px); letter-spacing: -0.04em; margin: 0; }

/* highlights carousel */
.hl-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 56px max(22px, calc((100vw - var(--wrap)) / 2)) 12px;
  scroll-padding-inline: max(22px, calc((100vw - var(--wrap)) / 2));
}
.hl-track::-webkit-scrollbar { display: none; }
.hl-card {
  flex: 0 0 min(780px, 84vw); height: min(540px, 68vh); min-height: 420px; scroll-snap-align: start;
  border-radius: 28px; background: #000; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; padding: 44px 28px 0; text-align: center;
}
.hl-card p { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.2; font-weight: 600; letter-spacing: -0.03em; margin: 0; max-width: 24ch; }
.hl-card p span { color: #ff5cff; }
.hl-card .vis { flex: 1; width: 100%; display: grid; place-items: center; }
/* Highlights: pinned while the page scrolls, cards move sideways.
   Without the script (or with reduced motion) it stays a swipeable carousel. */
.hscroll { background: #1d1d1f; padding: 140px 0; }
.hs-progress { height: 3px; margin-top: 30px; background: #333336; border-radius: 3px; overflow: hidden; }
.hs-progress span { display: block; height: 100%; width: 100%; background: var(--pink); transform-origin: left; transform: scaleX(var(--hp, 0)); }
.hscroll.is-pinned { padding: 0; }
.hscroll.is-pinned .hs-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.hscroll.is-pinned .hl-track { overflow: visible; scroll-snap-type: none; will-change: transform; padding-top: 40px; }
.hscroll.is-pinned .hl-card { height: min(520px, 62vh); }

/* highlight visuals */
.v-scan { position: relative; width: 300px; height: 230px; }
.v-scan .code { position: absolute; left: 30px; top: 20px; width: 150px; height: 70px; background: #fff; border-radius: 8px; padding: 10px 14px;
  background-image: repeating-linear-gradient(90deg, #111 0 3px, transparent 3px 6px, #111 6px 8px, transparent 8px 11px, #111 11px 15px, transparent 15px 17px);
  background-clip: content-box; }
.v-scan .lbl { position: absolute; right: 20px; bottom: 16px; width: 170px; height: 96px; background: #fff; border-radius: 8px; color: #111; padding: 10px 14px; text-align: left; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.v-scan .lbl b { display: block; font-size: 44px; line-height: 1; letter-spacing: -0.04em; }
.v-scan .code, .v-scan .lbl { box-shadow: 0 0 0 3px var(--pink), 0 0 30px 6px rgba(255, 0, 255, 0.4); }
.v-scan .path { position: absolute; left: 120px; top: 92px; width: 120px; height: 70px; border-right: 3px dashed #ff5cff; border-top: 3px dashed #ff5cff; border-radius: 0 30px 0 0; }
.v-island { width: 330px; height: 68px; border-radius: 40px; background: #0b0b0c; border: 1px solid #333;
  display: flex; align-items: center; justify-content: space-between; padding: 0 26px; font-size: 19px; font-weight: 600; box-shadow: 0 0 60px 10px rgba(255, 0, 255, 0.25); }
.v-island i { width: 12px; height: 12px; border-radius: 50%; background: var(--pink); display: inline-block; margin-right: 10px; }
.v-island small { color: #86868b; font-weight: 500; }
.v-chips { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.v-chips span { font-size: 19px; font-weight: 600; padding: 12px 22px; border-radius: 99px; background: #1d1d1f; color: #d2d2d7; }
.v-chips span.on { background: var(--pink); color: #fff; box-shadow: 0 0 40px 6px rgba(255, 0, 255, 0.35); }
.v-banner { width: 330px; text-align: left; background: rgba(10, 60, 36, 0.95); border-radius: 18px; padding: 16px 18px 16px 58px; position: relative; }
.v-banner::before { content: "✓"; position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--good); color: #063; font-weight: 800; display: grid; place-items: center; }
.v-banner strong { display: block; font-size: 17px; }
.v-banner em { display: block; font-style: normal; font-weight: 600; font-size: 16px; margin-top: 3px; color: #6ee79a; }
.v-list { width: 300px; text-align: left; list-style: none; margin: 0; padding: 0; font-size: 19px; }
.v-list li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid #2c2c2e; }
.v-list li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #6e6e73; flex: none; }
.v-list li.done { color: #6e6e73; text-decoration: line-through; }
.v-list li.done::before { background: var(--pink); border-color: var(--pink); }

/* numbers row */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 80px; border-top: 1px solid var(--line); padding-top: 40px; }
@media (max-width: 760px) { .numbers { grid-template-columns: repeat(2, 1fr); } }
.numbers b { display: block; font-size: clamp(48px, 6vw, 72px); line-height: 1; letter-spacing: -0.05em; }
.numbers span { display: block; color: var(--ink-soft); font-size: 17px; margin-top: 10px; max-width: 18ch; }

/* feature viewer: pills on the left, phone on the right */
.viewer { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 40px; align-items: center; margin-top: 70px; }
@media (max-width: 860px) { .viewer { grid-template-columns: 1fr; } }
.pills { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
@media (max-width: 860px) { .pills { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; } .pills::-webkit-scrollbar { display: none; } }
.pill {
  display: block; text-align: left; border: 0; cursor: pointer; font: inherit; color: #f5f5f7;
  background: #333336; border-radius: 28px; padding: 14px 22px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em;
  transition: background 0.3s ease; flex: none;
}
.pill::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; border: 1.5px solid #f5f5f7; font-size: 15px; line-height: 1; }
.pill p { display: none; margin: 10px 0 2px; font-weight: 400; color: #d2d2d7; font-size: 16px; max-width: 30ch; }
.pill.on { background: #1d1d1f; box-shadow: inset 0 0 0 1px #424245; }
.pill.on::before { content: "–"; background: var(--pink); border-color: var(--pink); }
.pill.on p { display: block; }
@media (max-width: 860px) { .pill.on p { display: none; } }
.viewer-note { display: none; color: #d2d2d7; font-size: 17px; text-align: center; min-height: 3em; }
@media (max-width: 860px) { .viewer-note { display: block; } }

.phone { position: relative; width: 300px; height: 620px; margin: 0 auto; }
.phone .screens { position: absolute; inset: 9px; border-radius: 44px; overflow: hidden; background: #000; }
.phone .scr { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; }
.phone .scr.on { opacity: 1; }
.phone .fill { position: absolute; inset: 0; }
.phone .hw-island { z-index: 5; }
.phone-glow { position: relative; }
/* keep the glow from widening the page on phones */
#tour { overflow: hidden; }
.phone-glow::before { content: ""; position: absolute; inset: 10% -10%; background: radial-gradient(closest-side, rgba(255, 0, 255, 0.25), transparent); filter: blur(10px); }
@media (max-width: 520px) { .phone { transform: scale(0.86); transform-origin: top center; margin-bottom: -80px; } }

/* app screens inside the viewer phone */
.sheet { padding: 58px 16px 16px; color: #111; background: #f2f2f7; font-size: 11px; }
.sheet h4 { font-size: 15px; margin: 0 0 14px; text-align: center; letter-spacing: -0.02em; }
.sheet .fl { font-weight: 600; margin: 12px 0 5px; font-size: 11px; }
.sheet .in { background: #fff; border-radius: 8px; padding: 9px 10px; font-size: 12px; }
.sheet .dim { color: #8e8e93; font-size: 10px; margin: 7px 0 5px; }
.sheet .chiprow { display: flex; gap: 6px; flex-wrap: wrap; }
.sheet .chiprow span { background: rgba(255, 0, 255, 0.14); color: #c400c4; font-weight: 600; font-size: 10px; padding: 5px 9px; border-radius: 99px; }
.sheet .chiprow span.on { background: var(--pink); color: #fff; }
.sheet .go { position: absolute; left: 16px; right: 16px; bottom: 26px; background: var(--pink); color: #fff; text-align: center; font-weight: 700; font-size: 13px; padding: 12px; border-radius: 10px; }
.darksheet { padding: 58px 18px 16px; background: #1c1c1e; color: #f5f5f7; font-size: 13px; }
.darksheet h4 { text-align: center; font-size: 15px; margin: 0 0 18px; }
.darksheet .dim { color: #8e8e93; font-size: 11px; margin: 0 0 6px; }
.darksheet ul { list-style: none; margin: 0; padding: 0; background: #2c2c2e; border-radius: 12px; }
.darksheet li { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-bottom: 1px solid #3a3a3c; }
.darksheet li:last-child { border: 0; }
.darksheet li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #8e8e93; flex: none; }
.darksheet li.done { color: #8e8e93; text-decoration: line-through; }
.darksheet li.done::before { background: var(--pink); border-color: var(--pink); }
.cart { padding: 58px 16px 16px; background: #fff; color: #1f2937; font-size: 12px; }
.cart h4 { font-size: 16px; margin: 0 0 12px; }
.cart .total { text-align: center; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; margin: 18px 0 4px; }
.cart .dim { text-align: center; color: #6b7280; font-size: 10px; }
.cart .item { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #eee; }
.cart .popover { position: absolute; left: 22px; right: 22px; top: 250px; background: rgba(245, 245, 247, 0.97); border-radius: 18px; padding: 14px; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.45); }
.cart .popover b { display: block; font-size: 13px; }
.cart .popover span { display: block; color: #6b7280; font-size: 12px; margin: 3px 0 10px; }
.cart .popover i { display: block; font-style: normal; text-align: center; background: #e5e5ea; border-radius: 99px; padding: 8px; font-weight: 600; }
.home { background: linear-gradient(160deg, #3a1d5c, #7d2a78 45%, #d4507a); }
.home .grid { position: absolute; left: 22px; right: 22px; top: 120px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 14px; }
.home .grid span { aspect-ratio: 1; border-radius: 13px; background: rgba(255, 255, 255, 0.28); }
.home .grid span:nth-child(3n) { background: rgba(255, 255, 255, 0.5); }
.home .big-island {
  /* expanded Live Activity: content sits below the camera cutout */
  position: absolute; left: 10px; right: 10px; top: 7px; height: 84px; border-radius: 38px; background: #000; color: #fff;
  padding: 0 20px 14px; display: flex; align-items: flex-end; justify-content: space-between; font-size: 15px; font-weight: 700;
}
.home .big-island i { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); display: inline-block; margin-right: 7px; }
.home .big-island small { color: #8e8e93; font-weight: 500; font-size: 11px; }

/* verdict selector (inspired by an aperture selector) */
.verdicts { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-top: 70px; }
@media (max-width: 860px) { .verdicts { grid-template-columns: 1fr; } }
.seg { display: inline-flex; background: #1d1d1f; border-radius: 99px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; color: #d2d2d7; font: inherit; font-size: 15px; font-weight: 600; padding: 9px 16px; border-radius: 99px; cursor: pointer; }
.seg button.on { background: #f5f5f7; color: #000; }
.vstage { display: grid; place-items: center; min-height: 260px; border-radius: 28px; background: radial-gradient(60% 60% at 50% 50%, rgba(255, 0, 255, 0.14), transparent 70%), #0b0b0c; }
.vstage .v-banner { transition: transform 0.3s ease; }
.vstage .v-banner em { transition: color 0.3s ease; }
.vtext { margin-top: 26px; min-height: 6em; }
.vtext b { color: #f5f5f7; font-size: 21px; display: block; margin-bottom: 6px; letter-spacing: -0.02em; }

/* privacy in the dark theme */
body.pro .zeros div, body.pro .flows, body.pro .flows div { border-color: var(--line); }
body.pro .flows b { color: #f5f5f7; }

/* light closing, like the bottom of a product page */
body.pro .closing { background: #f5f5f7; color: #1d1d1f; }
body.pro .closing .sub { color: #6e6e73; }
body.pro .closing .btn-link { color: var(--pink-deep); }
body.pro .site-footer { background: #f5f5f7; }
body.pro .site-footer nav a { color: #1d1d1f; }
body.pro .site-footer .wrap { border-color: #d2d2d7; }

@media (prefers-reduced-motion: reduce) {
  .localnav { transition: none; }
  .phone .scr { transition: none; }
}

@media (max-width: 480px) {
  .seg { display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; }
  .seg button { border-radius: 18px; }
}

/* =====================================================================
   Scroll-scrubbed sections: the script sets --p (0→1) on [data-scrub].
   ===================================================================== */
.scrub { position: relative; background: #000; }
.scrub .pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.scrub .pin .wrap { width: min(var(--wrap), 100% - 44px); }

/* drifting price tags behind the statement */
.statement .tags { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.statement .tags span {
  position: absolute; font-weight: 700; letter-spacing: -0.03em; color: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.07); border-radius: 10px; padding: 6px 12px;
  transform: translateY(calc((0.5 - var(--sp, 0)) * var(--speed) * 1px)) rotate(var(--r));
}
.statement .tags span.pk { color: rgba(255, 0, 255, 0.28); border-color: rgba(255, 0, 255, 0.28); }

/* ---------- 1. label reader ---------- */
#labels { height: 420vh; }
.lr { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; margin-top: 40px; }
@media (max-width: 860px) { .lr { grid-template-columns: 1fr; gap: 26px; margin-top: 20px; } }
.lr-stage { position: relative; height: 330px; border-radius: 28px; background: radial-gradient(70% 70% at 50% 45%, #2a241d, #0b0a08); overflow: hidden; }
@media (max-width: 860px) { .lr-stage { height: 250px; } }
.lr-stage::before { content: ""; position: absolute; left: 0; right: 0; top: 66%; height: 22px; background: linear-gradient(#6a6157, #2a241d); }
.shelf-label {
  position: absolute; left: 50%; top: 50%; width: 300px; min-height: 150px; margin: -95px 0 0 -150px;
  background: #fff; color: #111; border-radius: 8px; padding: 14px 18px; text-transform: uppercase;
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.7);
  opacity: 0; transform: translateY(30px) scale(0.96); transition: opacity 0.45s ease, transform 0.45s ease;
}
@media (max-width: 860px) { .shelf-label { transform-origin: center; scale: 0.8; } }
.shelf-label.on { opacity: 1; transform: none; }
.shelf-label .nm { font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
.shelf-label .pr { font-size: 64px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin-top: 4px; display: inline-block; position: relative; }
.shelf-label .pr sup { font-size: 26px; vertical-align: top; }
.shelf-label .sm { font-size: 12px; font-weight: 600; text-transform: none; color: #444; margin-top: 4px; }
.shelf-label .flag { position: absolute; right: 12px; top: 12px; font-size: 13px; font-weight: 800; padding: 3px 8px; border-radius: 5px; color: #fff; background: #e0362c; }
.shelf-label .flag.mb { background: #1f5fae; }
.shelf-label .flag.mem { background: #111; }
/* detection box drawn over the price, and a sweeping scan line */
.shelf-label .pr::after {
  content: ""; position: absolute; inset: -6px -8px; border: 2.5px solid var(--pink); border-radius: 8px;
  box-shadow: 0 0 0 5px rgba(255, 0, 255, 0.18); opacity: calc((var(--lp, 0) - 0.35) * 4); 
}
.shelf-label .sweep {
  position: absolute; top: 0; bottom: 0; width: 3px; background: var(--pink); box-shadow: 0 0 16px 4px rgba(255, 0, 255, 0.7);
  left: calc(var(--lp, 0) * 1.4 * 100%); opacity: calc(1 - var(--lp, 0) * 1.2);
}
.lr-result { min-height: 220px; }
.lr-result .res { display: none; }
.lr-result .res.on { display: block; animation: rise 0.45s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.lr-result .kind { display: inline-block; font-size: 15px; font-weight: 600; padding: 6px 14px; border-radius: 99px; background: rgba(255, 0, 255, 0.16); color: #ff7aff; }
.lr-result h3 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.04em; line-height: 1.05; margin: 14px 0 10px; }
.lr-result p { color: var(--ink-soft); font-size: 18px; margin: 0; max-width: 34ch; }
.lr-dots { display: flex; gap: 8px; margin-top: 26px; }
.lr-dots i { width: 8px; height: 8px; border-radius: 50%; background: #424245; transition: background 0.3s, width 0.3s; }
.lr-dots i.on { width: 28px; border-radius: 4px; background: var(--pink); }

/* ---------- 2. cart and budget ---------- */
#budget { height: 320vh; }
.cb { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 30px; }
@media (max-width: 860px) { .cb { grid-template-columns: 1fr; gap: 10px; } }
.budget-ring { position: relative; width: 250px; height: 250px; margin: 0 auto; }
.budget-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.budget-ring circle { fill: none; stroke-width: 18; }
.budget-ring .track { stroke: #1d1d1f; }
.budget-ring .fill { stroke: var(--pink); stroke-linecap: round; stroke-dasharray: 628; stroke-dashoffset: calc(628 - 628 * var(--used, 0)); filter: drop-shadow(0 0 12px rgba(255, 0, 255, 0.5)); }
.budget-ring .mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.budget-ring .mid b { font-size: 40px; letter-spacing: -0.04em; }
.budget-ring .mid span { color: var(--ink-soft); font-size: 14px; }
.budget-stats { display: flex; justify-content: center; gap: 40px; margin-top: 24px; text-align: center; }
.budget-stats b { display: block; font-size: 24px; letter-spacing: -0.03em; }
.budget-stats span { color: var(--ink-soft); font-size: 14px; }

/* ---------- 3. three-phone lineup ---------- */
#lineup { height: 260vh; }
.lineup { position: relative; height: 560px; margin-top: 10px; perspective: 1800px; --ls: 0.78; }
.lineup .slot {
  position: absolute; left: 50%; top: 0; width: 300px; height: 620px; margin-left: -150px;
  transform-style: preserve-3d;
  transform:
    translateX(calc(var(--k) * var(--fan, 0) * var(--gap, 330px)))
    translateZ(calc(var(--fan, 0) * -40px * var(--k) * var(--k)))
    rotateY(calc(var(--k) * var(--fan, 0) * -14deg))
    scale(var(--ls, 1));
  transform-origin: top center;
}
.lineup .slot:nth-child(2) { z-index: 2; }
.lineup .cap { position: absolute; left: 0; right: 0; top: 640px; text-align: center; opacity: var(--fan, 0); }
.lineup .cap b { display: block; font-size: 21px; letter-spacing: -0.02em; }
.lineup .cap span { color: var(--ink-soft); font-size: 16px; }
@media (max-width: 1100px) { .lineup { --gap: 250px; --ls: 0.7; } }
@media (max-width: 760px) { .lineup { --gap: 110px; --ls: 0.52; height: 360px; } .lineup .cap { display: none; } }

/* ---------- 4. Android next ---------- */
#android { overflow-x: clip; }
.android-row { display: flex; justify-content: center; align-items: flex-end; gap: 60px; margin-top: 70px; flex-wrap: wrap; }
.android-row figure { margin: 0; text-align: center; }
.android-row figcaption { margin-top: 22px; font-size: 17px; font-weight: 600; }
.android-row figcaption span { display: block; color: var(--ink-soft); font-weight: 400; font-size: 15px; }
.badge-soon { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 99px; border: 1px solid #424245; color: #d2d2d7; }
.badge-now { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 99px; background: var(--pink); color: #fff; }
.droid {
  position: relative; width: 290px; height: 620px; border-radius: 38px; padding: 7px;
  background: linear-gradient(135deg, #3c4a42, #1f2823 45%, #4b5a50 80%, #26302a);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.droid .dscreen { position: relative; height: 100%; border-radius: 32px; overflow: hidden; background: #000; }
.droid .punch { position: absolute; left: 50%; top: 14px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #000; box-shadow: 0 0 0 2px #111; z-index: 3; }
.droid .dbtn { position: absolute; right: -3px; width: 4px; border-radius: 2px; background: #2f3a34; }
.droid .navbar { position: absolute; left: 50%; bottom: 9px; width: 110px; height: 4px; margin-left: -55px; border-radius: 2px; background: rgba(255, 255, 255, 0.7); z-index: 3; }
.android-row .droid-fig { transform: translateX(calc((1 - var(--ain, 1)) * 160px)) rotate(calc((1 - var(--ain, 1)) * 8deg)); opacity: var(--ain, 1); }
@media (max-width: 760px) { .android-row { gap: 30px; } .android-row .phone, .droid { transform: scale(0.62); transform-origin: top center; margin-bottom: -230px; } }

@media (prefers-reduced-motion: reduce) {
  #labels, #budget, #lineup { height: auto; }
  .scrub .pin { position: relative; height: auto; padding: 120px 0; }
  .shelf-label { position: relative; left: auto; top: auto; margin: 20px auto; opacity: 1; transform: none; }
  .lr-stage { height: auto; padding: 20px 0; }
  .lr-result .res { display: block; margin-bottom: 26px; }
  .lineup { --fan: 1; }
}

@media (max-width: 860px) {
  #budget .pro-title { font-size: 38px; }
  .budget-ring { width: 170px; height: 170px; }
  .budget-ring .mid b { font-size: 30px; }
  .budget-stats { margin-top: 12px; }
  #budget .copy { font-size: 16px; margin-top: 14px !important; }
}

/* trip card (Wallet-style) for the budget section */
.trip-card {
  width: min(430px, 100%); margin: 0 auto; text-align: left; padding: 20px 22px 18px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 50px 90px -50px rgba(255, 0, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.tc-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; }
.tc-head b { display: block; font-size: 19px; letter-spacing: -0.02em; }
.tc-head small { color: var(--ink-soft); font-size: 13px; }
.tc-live { font-size: 12px; font-weight: 600; color: #ff7aff; background: rgba(255, 0, 255, 0.12); padding: 5px 10px; border-radius: 99px; }
.tc-live i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); margin-right: 6px; vertical-align: 1px; animation: blink 1.6s infinite; }
.tx {
  display: flex; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, 0.08);
  opacity: var(--in, 0); transform: translateY(calc((1 - var(--in, 0)) * 18px));
}
.tx .ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(145deg, #2c2c2e, #161618); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.tx .ic svg { width: 21px; height: 21px; fill: none; stroke: #f5f5f7; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tx .tn { flex: 1; min-width: 0; }
.tx .tn b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx .tn small { font-size: 12.5px; color: var(--ink-soft); }
.tx .tn small::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; background: #8e8e93; }
.tx .tn small.good { color: #6ee79a; } .tx .tn small.good::before { background: #34c759; }
.tx .tn small.high { color: #ffb340; } .tx .tn small.high::before { background: #ff9f0a; }
.tx .tp { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tc-foot { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 14px; margin-top: 2px; }
.tc-bar { height: 6px; border-radius: 3px; background: #2c2c2e; overflow: hidden; }
.tc-bar span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--used, 0));
  background: linear-gradient(90deg, #ff66ff, var(--pink)); box-shadow: 0 0 12px rgba(255, 0, 255, 0.6); }
.tc-left { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--ink-soft); }
.tc-left b { color: #f5f5f7; font-weight: 600; }
@media (max-width: 860px) { .trip-card { padding: 14px 16px 12px; } .tx { padding: 7px 0; } .tx .ic { width: 32px; height: 32px; } .tx .tn small { font-size: 11.5px; } }
@media (prefers-reduced-motion: reduce) { .tx { --in: 1 !important; } }
/* On phones the trip card already shows the budget bar and what's left. */
@media (max-width: 860px) {
  #budget .budget-ring, #budget .budget-stats, #budget .copy { display: none; }
}

/* ---------- Scan. Track. Go. ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tagline { font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 10px; }
.hero-copy .fine { margin: 16px 0 0; font-size: 14px; color: var(--ink-soft); }
#stg { height: 330vh; }
.stg { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.stg-words .w3 { opacity: 0.22; transition: opacity 0.45s ease; margin: 0 0 14px; }
.stg-words .w3.on { opacity: 1; }
.w3 b { display: block; font-size: clamp(60px, 10vw, 140px); line-height: 0.95; letter-spacing: -0.06em; font-weight: 800; }
.w3.on b { background: linear-gradient(95deg, #fff 0%, #ffc6ff 40%, #ff00ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w3 span { display: block; color: var(--ink-soft); font-size: 19px; max-width: 30ch; max-height: 0; overflow: hidden; transition: max-height 0.45s ease; }
.w3.on span { max-height: 90px; }
.stg-vis { position: relative; height: 420px; }
.stg-vis .sv { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(0.94); transition: opacity 0.5s ease, transform 0.5s ease; }
.stg-vis .sv.on { opacity: 1; transform: none; }
.mini-ring { position: relative; width: 240px; height: 240px; }
.mini-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mini-ring circle { fill: none; stroke-width: 16; }
.mini-ring .track { stroke: #1d1d1f; }
.mini-ring .fill { stroke: var(--pink); stroke-linecap: round; stroke-dasharray: 597; stroke-dashoffset: calc(597 - 597 * var(--tp, 0) * 0.58); filter: drop-shadow(0 0 12px rgba(255, 0, 255, 0.5)); }
.mini-ring .mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.mini-ring .mid b { font-size: 34px; letter-spacing: -0.04em; }
.mini-ring .mid small { color: #6ee79a; font-size: 13px; font-weight: 600; }
.go { position: relative; width: 250px; transform: translateX(calc(var(--gp, 0) * 150px - 60px)) rotate(calc(-4deg - var(--gp, 0) * 9deg)); }
.go img { width: 100%; height: auto; filter: drop-shadow(0 20px 30px rgba(255, 0, 255, 0.25)); }
.go .lines {
  position: absolute; right: 88%; top: 12%; height: 56%; width: calc(40px + var(--gp, 0) * 240px); opacity: calc(0.2 + var(--gp, 0));
  background: repeating-linear-gradient(transparent 0 16px, rgba(245, 245, 247, 0.5) 16px 19px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 85%); mask: linear-gradient(90deg, transparent, #000 85%);
}
@media (max-width: 860px) {
  .stg { grid-template-columns: 1fr; gap: 0; }
  .stg-words { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
  .w3 b { font-size: 52px; }
  .stg-words .w3 { margin: 0; }
  .stg-words .w3 span { display: none; }
  .stg-note { display: block !important; color: var(--ink-soft); font-size: 18px; min-height: 3em; margin: 10px 0 0; }
  .stg-vis { height: 300px; }
  .go { width: 190px; }
}
.stg-note { display: none; }

/* ---------- mission ---------- */
.next-chip {
  display: inline-flex; gap: 12px; align-items: center; margin-top: 34px; padding: 14px 20px; border-radius: 18px;
  background: #1d1d1f; color: #d2d2d7; font-size: 16px; text-align: left; max-width: 660px;
}
.next-chip .badge-soon { margin: 0; flex: none; border-color: rgba(255, 0, 255, 0.5); color: #ff7aff; }

@media (prefers-reduced-motion: reduce) {
  #stg { height: auto; }
  .stg-words .w3 { opacity: 1; }
  .w3 span { max-height: none; }
  .stg-vis .sv { position: relative; opacity: 1; transform: none; margin-bottom: 20px; }
  .stg-vis { height: auto; }
}
