/* Pluck landing page. Poster style: full-bleed yellow / ink / grey bands.
   System fonts, no external requests. Animations use transform and opacity only. */

:root {
  --yellow: #FFD84A;
  --ink: #1B1C22;
  --charcoal: #2A2B31;
  --grey: #E9E9EC;
  --pad: clamp(72px, 10vw, 150px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.5 var(--font); color: var(--ink); background: var(--yellow); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .86em; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 900; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #2F6FEB; outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 58px; }

/* ---------- Type ---------- */
.mega { font-size: clamp(3rem, 12.5vw, 9.6rem); line-height: .86; letter-spacing: -.055em; }
.big  { font-size: clamp(2.6rem, 7.6vw, 6.4rem); line-height: .9; letter-spacing: -.048em; }
.sub  { font-size: clamp(1.15rem, 1.9vw, 1.5rem); font-weight: 650; line-height: 1.3; max-width: 24em; margin: 22px 0 0; letter-spacing: -.01em; }
.tag  { display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; padding-bottom: 6px; border-bottom: 3px solid currentColor; }
.ink .tag, .charcoal .tag { color: var(--yellow); }

/* ---------- Bands ---------- */
.band { padding: var(--pad) 0; position: relative; }
.yellow { background: var(--yellow); color: var(--ink); }
.ink { background: var(--ink); color: #fff; }
.charcoal { background: var(--charcoal); color: #fff; }
.grey { background: var(--grey); color: var(--ink); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.2rem; text-decoration: none; letter-spacing: -.02em; }
.brand img { border-radius: 8px; }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { text-decoration: none; font-weight: 700; font-size: .92rem; color: #C9CAD2; }
.nav nav a:hover { color: #fff; }
.nav-cta { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 900; font-size: .92rem; background: var(--yellow); color: var(--ink); padding: 8px 16px; border-radius: 999px; }

/* ---------- App Store badge (Apple's black badge style) ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  height: 58px; padding: 0 20px 0 16px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid #A6A6A6; border-radius: 12px;
  transition: transform .15s ease;
}
.badge:hover { transform: translateY(-2px); }
.badge-apple { width: 26px; height: 32px; flex: none; }
.badge-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--display); }
.badge-small { font-size: 12px; font-weight: 500; }
.badge-big { font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin-top: 2px; }

/* ---------- Animation plumbing ----------
   Every animated block has class .anim. Its children run only while .in-view
   (set by main.js with IntersectionObserver). --t is the loop length,
   --still the point shown frozen when reduced motion is on. */
.anim { --t: 10s; --still: .85; }
.anim * {
  animation-duration: var(--t);
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
  animation-play-state: paused;
}
.anim.in-view * { animation-play-state: running; }

/* ============ HERO ============ */
.hero { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(56px, 7vw, 96px); overflow: hidden; }
.hero .mega { font-size: clamp(3.4rem, min(13.4vw, 20vh), 10.4rem); }
.hero-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 22px; }
.hero-foot .sub { margin: 0; max-width: 15em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hero grid: copy top-left, Mac + iCloud link below it, iPhone in its own
   column alongside both. Every piece has its own cell, so nothing overlaps. */
.stage-wrap { container-type: inline-size; }
.stage {
  display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, .6fr) auto; align-items: center;
  grid-template-areas: "copy copy phone" "mac link phone";
  row-gap: clamp(28px, 3.5vw, 44px);
  font-size: clamp(10px, 1.2cqw, 15px);
}
.hero-copy { grid-area: copy; font-size: 17px; align-self: start; }
.s-mac { grid-area: mac; }
.s-link { grid-area: link; }
.s-phone { grid-area: phone; align-self: end; justify-content: flex-end !important; }

/* Mac */
.s-mac {
  border: .55em solid var(--ink); border-radius: 1.2em; overflow: hidden;
  background: linear-gradient(135deg, #353A63 0%, #644B73 55%, #B37658 100%);
  box-shadow: 0 2.4em 4em -1.6em rgba(27,28,34,.55);
}
.menubar { display: flex; align-items: center; gap: 1.1em; height: 2.1em; padding: 0 1em; background: rgba(255,255,255,.16); color: #fff; font-size: .88em; }
.mb-apple { width: .9em; height: 1.1em; }
.mb-spacer { flex: 1; }
.mb-pluck { position: relative; display: grid; gap: .17em; width: 1.4em; padding: .25em; }
.mb-pluck::before { content: ""; position: absolute; inset: -.1em; border-radius: .3em; background: rgba(255,255,255,.35); opacity: 0; }
.mb-pluck i { position: relative; display: block; height: .17em; background: #fff; border-radius: 1em; }
.mb-pluck i:nth-child(2) { width: 75%; }
.mb-pluck i:nth-child(3) { width: 50%; }
.desk { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4em; padding: 1.6em 1.5em 2.2em; align-items: start; }

.win { background: #fff; border-radius: .75em; overflow: hidden; box-shadow: 0 1em 2em rgba(0,0,0,.3); color: #26262C; }
.win-bar { display: flex; align-items: center; padding: .6em .75em; background: #F1F1F3; border-bottom: 1px solid #E2E2E6; }
.lights { display: flex; gap: .4em; }
.lights i { width: .75em; height: .75em; border-radius: 50%; background: #FF5F57; }
.lights i:nth-child(2) { background: #FEBC2E; }
.lights i:nth-child(3) { background: #28C840; }
.win-title { position: relative; flex: 1; height: 1.3em; margin-right: 2.6em; }
.win-title em { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .3em; font-style: normal; font-size: .82em; font-weight: 600; color: #6B6B73; white-space: nowrap; }
.win-title .t-copied { color: var(--ink); opacity: 0; animation-name: tCopied; }
.t-copied svg { width: 1.1em; height: 1.1em; color: #1E9E4A; }
.t-name { animation-name: tName; }
.win-body { padding: 1em 1.1em 1.3em; line-height: 1.55; }
.win-body strong { display: block; font-size: 1.3em; letter-spacing: -.015em; margin-bottom: .3em; }
.win-body p { margin: 0; white-space: nowrap; }
.sel { position: relative; display: inline-block; }
.sel-hl { position: absolute; inset: 0 -.1em; background: #B3D7FF; border-radius: .15em; transform-origin: 0 50%; transform: scaleX(0); animation-name: hl; }
.sel-txt { position: relative; }
.cur-track { position: absolute; inset: 0; animation-name: curMove; }
.cur { position: absolute; left: 0; top: -.1em; width: .13em; height: 1.5em; background: var(--ink); opacity: 0; animation-name: curFade; }

.panel {
  background: rgba(30,31,38,.96); color: #F2F2F5; border-radius: .85em; padding: .6em;
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 1.4em 3em rgba(0,0,0,.45);
  opacity: 0; animation-name: panelIn;
}
.panel-search { background: rgba(255,255,255,.08); border-radius: .5em; padding: .45em .7em; font-size: .82em; color: #9A9BA5; margin-bottom: .45em; }
.list { --rh: 3.3em; position: relative; height: calc(var(--rh) * 3); overflow: hidden; }
.row { height: var(--rh); display: flex; align-items: center; gap: .55em; padding: 0 .55em; border-radius: .55em; }
.row-t { flex: 1; min-width: 0; font-size: .9em; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-t small { display: block; color: #8D8E98; font-size: .82em; }
.row kbd { font: inherit; font-size: .75em; color: #8D8E98; }
.dot { width: .55em; height: .55em; border-radius: 50%; background: var(--yellow); flex: none; }
.r-new { position: absolute; top: 0; left: 0; right: 0; opacity: 0; background: rgba(255,216,74,.24); animation-name: rNewMac; }
.shift { animation-name: shiftMac; }

/* link: Mac → iCloud → iPhone */
.s-link { padding: 0 2em; }
.track { position: relative; height: 10em; }
.line { position: absolute; left: -2em; right: -2em; top: 50%; border-top: .2em dashed rgba(27,28,34,.4); }
.cloud { position: absolute; z-index: 2; left: 50%; top: 50%; width: 4.4em; height: 4.4em; margin: -2.2em 0 0 -2.2em; border-radius: 50%; background: #fff; color: #7F95C2; display: grid; place-items: center; box-shadow: 0 .6em 1.4em rgba(27,28,34,.18); animation-name: cloudPulse; }
.cloud svg { width: 2.5em; height: 2.5em; }
.cloud-label { position: absolute; left: 50%; top: calc(50% + 2.9em); transform: translateX(-50%); white-space: nowrap; font-weight: 800; font-size: .95em; }
.tok-path { position: absolute; z-index: 1; left: 0; right: 0; top: 50%; height: 0; animation-name: tokX; }
.tok { position: absolute; left: 0; top: 0; width: 3em; height: 3em; margin: -1.5em 0 0 -1.5em; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-items: center; opacity: 0; animation-name: tokShow; }
.tok svg { width: 1.4em; height: 1.4em; }

/* iPhone */
.s-phone { display: flex; justify-content: center; }
.phone {
  position: relative; width: 17em; aspect-ratio: 9 / 19.5;
  display: flex; flex-direction: column;
  background: #F2F2F7; color: var(--ink);
  border: .6em solid var(--ink); border-radius: 3em;
  padding: 3em 1em 1.2em;
  box-shadow: 0 2.4em 4em -1.6em rgba(27,28,34,.55);
}
.island { position: absolute; top: .75em; left: 50%; width: 32%; height: 1.4em; margin-left: -16%; background: #000; border-radius: 1em; }
.ph-head { display: flex; align-items: center; gap: .5em; margin-bottom: .75em; }
.ph-head img { width: 2em; height: 2em; border-radius: .5em; }
.ph-head b { font-size: 1.5em; letter-spacing: -.02em; }
.ph-search { background: #E3E3E9; color: #8E8E96; border-radius: .7em; padding: .45em .75em; font-size: .85em; margin-bottom: .8em; }
.ph-list { --rh: 3.5em; flex: 1; height: auto; background: #fff; border-radius: .85em; margin-bottom: 1.2em; }
.ph-list .row { border-radius: 0; padding: 0 .85em; box-shadow: inset 0 -1px 0 #ECECF0; }
.ph-list .row-t small { color: #8E8E96; }
.ph-list .r-new { background: #FFF1B8; animation-name: rNewPh; }
.ph-list .shift { animation-name: shiftPh; }
.ph-paste { width: max-content; margin: 0 auto; background: var(--yellow); font-weight: 800; padding: .6em 2.4em; border-radius: 99em; }

/* hero timeline (10s) */
@keyframes hl { 0%, 6% { transform: scaleX(0); opacity: 1; } 22%, 90% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes curMove { 0%, 6% { transform: translateX(0); } 22%, 100% { transform: translateX(100%); } }
@keyframes curFade { 0% { opacity: 0; } 3%, 23% { opacity: 1; } 27%, 100% { opacity: 0; } }
@keyframes tName { 0%, 23% { opacity: 1; } 25%, 37% { opacity: 0; } 40%, 100% { opacity: 1; } }
@keyframes tCopied { 0%, 23% { opacity: 0; transform: translateY(.4em); } 25%, 37% { opacity: 1; transform: none; } 40%, 100% { opacity: 0; transform: translateY(-.4em); } }
@keyframes panelIn { 0%, 29% { opacity: 0; transform: translateY(-.8em); } 33%, 92% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-.8em); } }
@keyframes rNewMac { 0%, 36% { opacity: 0; transform: scale(.94); } 42%, 92% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes shiftMac { 0%, 36% { transform: translateY(0); } 42%, 94% { transform: translateY(var(--rh)); } 99%, 100% { transform: translateY(0); } }
@keyframes tokX { 0%, 45% { transform: translateX(0); } 54%, 58% { transform: translateX(50%); } 67%, 100% { transform: translateX(100%); } }
@keyframes tokY { 0%, 45% { transform: translateY(0); } 54%, 58% { transform: translateY(50%); } 67%, 100% { transform: translateY(100%); } }
@keyframes tokShow { 0%, 43% { opacity: 0; transform: scale(.5); } 46%, 66% { opacity: 1; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(.5); } }
@keyframes cloudPulse { 0%, 51% { transform: scale(1); } 55%, 58% { transform: scale(1.14); } 62%, 100% { transform: scale(1); } }
@keyframes rNewPh { 0%, 67% { opacity: 0; transform: scale(.94); } 73%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes shiftPh { 0%, 67% { transform: translateY(0); } 73%, 94% { transform: translateY(var(--rh)); } 99%, 100% { transform: translateY(0); } }
@keyframes mbOn { 0%, 29% { opacity: 0; } 32%, 92% { opacity: 1; } 96%, 100% { opacity: 0; } }
.mb-pluck::before { animation: mbOn var(--t) ease-in-out infinite both; animation-play-state: inherit; }

/* Narrow stage: stack Mac, link, iPhone vertically; nothing shares space */
@container (max-width: 720px) {
  .stage { grid-template-columns: 1fr; grid-template-areas: "copy" "mac" "link" "phone"; row-gap: 0; font-size: clamp(10px, 2.3cqw, 15px); }
  .hero-copy { margin-bottom: 40px; }
  .phone { width: 100%; max-width: 19em; }
  .s-phone { justify-content: center !important; }
  .s-link { padding: 2em 0; }
  .track { height: 9em; }
  .line { left: 50%; right: auto; top: -2em; bottom: -2em; border-top: 0; border-left: .2em dashed rgba(27,28,34,.4); }
  .cloud-label { left: calc(50% + 3.2em); top: 50%; transform: translateY(-50%); }
  .tok-path { left: 50%; right: auto; top: 0; bottom: 0; width: 0; height: auto; animation-name: tokY; }
}
@container (max-width: 520px) {
  .stage { font-size: 3.5cqw; }
  .desk { grid-template-columns: 1fr; gap: 1.2em; padding: 1.2em 1.1em 1.4em; }
}

/* ============ NO ⌘C ============ */
.statement { padding-bottom: 0; }
.statement .mega { font-size: clamp(4.4rem, 23vw, 17rem); color: var(--yellow); margin-left: -.04em; }
.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 2px solid rgba(255,255,255,.35); border-radius: 999px; padding: 8px 16px; font-weight: 800; font-size: .95rem; }
.breakout {
  position: relative; z-index: 3;
  width: min(1240px, 90vw); margin: clamp(48px, 6vw, 80px) 0 calc(-1 * clamp(80px, 12vw, 180px)) auto;
  border-radius: 28px 0 0 28px; overflow: hidden; background: #111;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.breakout video { width: 100%; }

/* ============ BENTO ============ */
.bento-band { padding-top: calc(var(--pad) + clamp(80px, 12vw, 180px)); }
.bento {
  margin-top: 48px;
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  grid-template-areas:
    "shot shot keys pin"
    "shot shot kinds excl"
    "search auto keep excl";
}
.tile { margin: 0; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.tile p { margin: 6px 0 0; font-weight: 650; }
.tile-h { font-family: var(--display); font-weight: 900; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: .95; letter-spacing: -.04em; }
.huge { font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: .9; letter-spacing: -.05em; }
.t-shot { grid-area: shot; background: var(--ink); padding: 0; }
.t-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 30%; }
.tile figcaption { position: absolute; left: 16px; bottom: 16px; background: var(--yellow); color: var(--ink); font-weight: 800; padding: 8px 14px; border-radius: 999px; font-size: .95rem; }
.t-keys { grid-area: keys; background: var(--charcoal); color: #fff; }
.t-keys .huge { color: var(--yellow); }
.t-pin { grid-area: pin; background: var(--yellow); }
.t-pin svg { position: absolute; top: 20px; right: 20px; width: 64px; height: 64px; transform: rotate(-12deg); }
.t-kinds { grid-area: kinds; background: var(--yellow); }
.t-kinds .stack { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.t-search { grid-area: search; background: #fff; gap: 18px; --t: 5s; --still: .6; }
.t-exclude { grid-area: excl; background: var(--charcoal); padding: 0; justify-content: flex-start; }
.t-exclude img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.t-auto { grid-area: auto; background: var(--ink); color: #fff; gap: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills i { font-style: normal; font-weight: 800; font-size: .85rem; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.12); }
.t-keep { grid-area: keep; background: #fff; }

.fake-search { display: flex; align-items: center; gap: 2px; background: var(--grey); border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: 1.1rem; }
.fake-search::before { content: "⌕"; margin-right: 8px; color: #8E8E96; font-size: 1.2em; line-height: 1; }
.fs-txt { position: relative; overflow: hidden; }
.fs-cover { position: absolute; inset: 0; background: var(--grey); animation-name: fsType; animation-timing-function: steps(4, end); }
.fs-caret { width: 2px; height: 1.2em; background: var(--ink); animation-name: blink; animation-duration: 1s; animation-timing-function: steps(1, end); }
@keyframes fsType { 0%, 15% { transform: translateX(0); } 40%, 85% { transform: translateX(101%); } 90%, 100% { transform: translateX(0); } }
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

/* ============ iPHONE: sticky phone + scrolling steps ============ */
.steps-band { padding-bottom: calc(var(--pad) * .5); }
.steps-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; margin-top: 24px; }
.sticky-phone { position: sticky; top: calc(50vh - min(33vh, 320px) + 29px); align-self: start; display: flex; justify-content: center; z-index: 2; }
.device { position: relative; width: min(300px, 30.5vh); aspect-ratio: 330 / 716; border: 9px solid var(--ink); border-radius: 46px; overflow: hidden; background: var(--ink); box-shadow: 0 40px 70px -30px rgba(27,28,34,.6); }
.screen { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .45s ease, transform .45s ease; }
.screen.on { opacity: 1; transform: none; }
.screen img, .screen video { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .35s ease; }
.step.on { opacity: 1; }
.step-n { font-family: var(--display); font-weight: 900; font-size: clamp(1rem, 1.4vw, 1.2rem); letter-spacing: .1em; margin-bottom: 10px; }
.step h3 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: .92; letter-spacing: -.045em; }
.step p { font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 650; margin: 16px 0 0; max-width: 20em; }

/* ============ KEYBOARD ============ */
.kb-band { padding-top: var(--pad); }
.kb-grid { display: grid; grid-template-columns: 1fr minmax(320px, 370px); gap: 64px; align-items: end; }
.kb-copy { padding-bottom: 24px; }
.kb-copy .big { color: #fff; }
.kb-copy .fine { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; color: #A9AAB4; font-size: .95rem; max-width: 26em; }
.kb-copy .fine svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--yellow); }
.kb-copy .fine a { color: #fff; font-weight: 700; }
.kb-wrap { container-type: inline-size; margin-top: calc(-1 * clamp(80px, 14vw, 220px)); position: relative; z-index: 3; }

.kb-phone {
  --t: 9s; --still: .8;
  position: relative; font-size: clamp(12px, 3.9cqw, 16px);
  background: #fff; color: var(--ink);
  border: .7em solid #000; border-radius: 3.2em; overflow: hidden;
  box-shadow: 0 0 0 2px #3A3B44, 0 50px 90px -30px rgba(0,0,0,.7);
  padding-top: 2.8em;
  aspect-ratio: 9 / 19.5; display: flex; flex-direction: column;
}
.kb-phone > .island { top: .6em; }
.kb-chat { padding: 0 1em; flex: 1; display: flex; flex-direction: column; }
.kb-who { display: flex; flex-direction: column; align-items: center; gap: .25em; padding-bottom: .6em; border-bottom: 1px solid #EDEDF0; font-size: .85em; }
.avatar { width: 2.6em; height: 2.6em; border-radius: 50%; background: linear-gradient(#A8ADBA, #8B909C); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.1em; }
.bubbles { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .5em; padding: 1em 0 .7em; }
.bub { margin: 0; max-width: 78%; padding: .5em .9em; border-radius: 1.2em; line-height: 1.3; }
.them { align-self: flex-start; background: #E9E9EB; }
.me { align-self: flex-end; background: #0A84FF; color: #fff; }
.b-new { opacity: 0; transform-origin: 100% 100%; animation-name: bubIn; }
.kb-field { position: relative; display: flex; align-items: center; gap: .5em; margin: 0 .8em .7em; min-height: 2.5em; padding: .3em .35em .3em 1em; border: 1px solid #D1D1D6; border-radius: 1.4em; }
.ph { position: absolute; left: 1em; color: #A0A0A8; animation-name: phHide; }
.typed { position: relative; overflow: hidden; white-space: nowrap; opacity: 0; animation-name: typedShow; }
.typed-cover { position: absolute; inset: 0; background: #fff; animation-name: typeReveal; animation-timing-function: steps(24, end); }
.send { margin-left: auto; flex: none; width: 1.9em; height: 1.9em; border-radius: 50%; background: #0A84FF; color: #fff; display: grid; place-items: center; font-weight: 900; animation-name: sendTap; }
.kb { background: #D3D5DB; padding: .65em .6em .6em; }
.kb-head { display: flex; align-items: center; gap: .45em; padding: 0 .2em; }
.kb-head img { width: 1.5em; height: 1.5em; border-radius: .35em; }
.kb-search { margin-left: auto; background: rgba(255,255,255,.65); color: #8E8E93; border-radius: .6em; padding: .25em .9em; font-size: .82em; }
.kb-sec { margin: .7em .3em .3em; font-size: .7em; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #6C6C70; }
.kb-row { position: relative; display: flex; align-items: center; gap: .55em; background: #fff; border-radius: .7em; padding: .5em .8em; margin-bottom: .4em; overflow: hidden; }
.kb-row > span:not(.tap-flash):not(.finger) { position: relative; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; font-size: .95em; }
.kb-row small { display: block; font-weight: 500; color: #8E8E93; font-size: .8em; }
.kb-pin { position: relative; width: 1em; height: 1em; color: #F29A00; flex: none; }
.tap-flash { position: absolute; inset: 0; background: var(--yellow); opacity: 0; animation-name: flash; }
.finger { position: absolute; right: 16%; top: 50%; width: 2.6em; height: 2.6em; margin-top: -1.3em; border-radius: 50%; background: rgba(27,28,34,.22); border: 2px solid rgba(255,255,255,.95); box-shadow: 0 .3em 1em rgba(0,0,0,.25); opacity: 0; animation-name: finger; }
.kb-bar { display: flex; gap: .4em; margin-top: .55em; }
.kb-bar > span { height: 2.5em; background: #fff; border-radius: .45em; display: grid; place-items: center; box-shadow: 0 1px 0 rgba(0,0,0,.2); font-size: .85em; }
.globe { width: 3em; }
.kb-space { flex: 1; }
.kb-ret { padding: 0 1.2em; }

@keyframes finger { 0%, 9% { opacity: 0; transform: scale(1.5); } 14% { opacity: 1; transform: scale(1); } 18% { opacity: 1; transform: scale(.78); } 22% { opacity: 1; transform: scale(1); } 28%, 100% { opacity: 0; transform: scale(1); } }
@keyframes flash { 0%, 17% { opacity: 0; } 19% { opacity: .9; } 32%, 100% { opacity: 0; } }
@keyframes phHide { 0%, 21% { opacity: 1; } 22%, 55% { opacity: 0; } 58%, 100% { opacity: 1; } }
@keyframes typedShow { 0%, 21% { opacity: 0; } 22%, 52% { opacity: 1; } 54%, 100% { opacity: 0; } }
@keyframes typeReveal { 0%, 22% { transform: translateX(0); } 40%, 100% { transform: translateX(101%); } }
@keyframes sendTap { 0%, 46% { transform: scale(1); } 49% { transform: scale(.78); } 52%, 100% { transform: scale(1); } }
@keyframes bubIn { 0%, 51% { opacity: 0; transform: translateY(1em) scale(.85); } 56%, 91% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }

/* ============ FREE ============ */
.free { overflow: hidden; }
.free .mega { font-size: clamp(6rem, 33vw, 26rem); line-height: .8; letter-spacing: -.065em; margin-left: -.05em; }
.marquee { --t: 26s; --still: 0; margin: clamp(28px, 4vw, 48px) 0; background: var(--ink); color: var(--yellow); overflow: hidden; transform: rotate(-2deg) scale(1.03); }
.marquee-track { display: flex; width: max-content; animation-name: marquee; animation-timing-function: linear; }
.marquee span { font-family: var(--display); font-weight: 900; font-size: clamp(1.6rem, 4vw, 3rem); letter-spacing: -.03em; padding: .25em .5em; white-space: nowrap; }
.marquee span::after { content: "✦"; margin-left: 1em; font-size: .6em; vertical-align: middle; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.gh { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; white-space: nowrap; }
.gh svg { width: 1em; height: 1em; }

/* ============ PRIVACY ============ */
.privacy .big { color: #fff; }
.flow { --t: 6s; --still: .25; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(56px, 7vw, 96px) 0; }
.flow-node { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.flow-ic { width: 112px; height: 112px; border-radius: 32px; background: var(--ink); border: 2px solid rgba(255,255,255,.1); display: grid; place-items: center; margin-bottom: 18px; }
.flow-ic svg { width: 52px; height: 52px; }
.flow-node b { font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -.03em; }
.flow-node small { color: #A3A4AE; font-size: 1rem; font-weight: 600; }
.flow-track { position: absolute; z-index: 1; top: 56px; left: 16.667%; right: 16.667%; height: 0; border-top: 3px dashed rgba(255,255,255,.28); }
.flow-path { position: absolute; left: 0; top: 0; width: 100%; height: 0; animation-name: flowX; }
.flow-tok { position: absolute; left: 0; top: 0; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255,216,74,.18); animation-name: flowShow; }
.flow-tok svg { width: 26px; height: 26px; }
@keyframes flowX { 0%, 10% { transform: translateX(0); } 40%, 55% { transform: translateX(50%); } 85%, 100% { transform: translateX(100%); } }
@keyframes flowY { 0%, 10% { transform: translateY(0); } 40%, 55% { transform: translateY(50%); } 85%, 100% { transform: translateY(100%); } }
@keyframes flowShow { 0% { opacity: 0; } 8%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.fact { border-top: 4px solid var(--yellow); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; color: #C9CAD2; font-weight: 600; }
.fact-big { font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.04em; line-height: 1; color: var(--yellow); }

/* ============ FAQ ============ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.9fr; gap: 56px; align-items: start; }
.faq h2 { position: sticky; top: 100px; }
.faq-list { border-top: 3px solid var(--ink); }
details { border-bottom: 2px solid rgba(27,28,34,.15); }
summary { cursor: pointer; list-style: none; position: relative; padding: 22px 52px 22px 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.1rem, 1.6vw, 1.3rem); letter-spacing: -.015em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-items: center; font-size: 1.4rem; font-weight: 700; line-height: 1; transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 22px; max-width: 40em; color: #3D3E46; }
details code { background: #fff; padding: 2px 6px; border-radius: 6px; }

/* ============ FINAL ============ */
.final .mega { font-size: clamp(3.4rem, 15vw, 12rem); }
.final-row { display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap; margin-top: 40px; }
.final-row .sub { margin: 0; }
.brew { margin: 32px 0 0; font-weight: 600; font-size: .92rem; }
.brew code { background: rgba(255,255,255,.55); padding: 4px 8px; border-radius: 6px; }

/* ============ FOOTER ============ */
.foot { background: var(--ink); color: #A3A4AE; padding: 40px 0; font-size: .88rem; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot .brand { color: #fff; font-size: 1.05rem; }
.foot .brand img { border-radius: 6px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { color: #E6E6EA; text-decoration: none; font-weight: 700; }
.foot nav a:hover { text-decoration: underline; }
.foot p { margin: 0; flex-basis: 100%; font-size: .8rem; color: #85868F; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(170px, auto);
    grid-template-areas: "shot shot" "keys pin" "kinds excl" "search excl" "auto keep"; }
  .t-shot { aspect-ratio: 1440 / 732; }
  .kb-grid { grid-template-columns: 1fr; gap: 40px; }
  .kb-wrap { margin-top: 0; max-width: 370px; width: 100%; justify-self: center; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq h2 { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav nav { display: none; }
  .nav-cta { margin-left: auto; }
  .breakout { width: 100vw; border-radius: 0; margin-bottom: -64px; }
  .bento-band { padding-top: calc(var(--pad) + 64px); }

  /* Sticky phone on top, steps scroll up underneath it */
  .steps-grid { grid-template-columns: 1fr; gap: 0; }
  .sticky-phone { top: 58px; background: var(--yellow); margin: 0 -24px; padding: 14px 0 18px; }
  .device { width: min(56vw, 25vh); border-width: 7px; border-radius: 34px; }
  .step { min-height: 62vh; justify-content: flex-end; padding-bottom: 8vh; }

  .flow { grid-template-columns: 1fr; row-gap: 84px; margin: 48px 0; }
  .flow-node { display: grid; grid-template-columns: 104px 1fr; grid-template-rows: 1fr 1fr; column-gap: 20px; text-align: left; align-items: center; }
  .flow-ic { grid-row: 1 / 3; width: 104px; height: 104px; margin: 0; }
  .flow-node b { align-self: end; }
  .flow-node small { align-self: start; }
  .flow-track { top: 52px; bottom: 52px; left: 52px; right: auto; width: 0; height: auto; border-top: 0; border-left: 3px dashed rgba(255,255,255,.28); }
  .flow-path { width: 0; height: 100%; animation-name: flowY; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; gap: 22px; }
  .bento { grid-template-areas: "shot shot" "keys pin" "kinds excl" "search excl" "auto auto" "keep keep"; }
}

/* ============ Reduced motion: freeze each animation on its finished frame ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim * { animation-play-state: paused !important; animation-delay: calc(var(--t) * var(--still) * -1) !important; }
  .mb-pluck::before { animation-play-state: paused !important; animation-delay: calc(var(--t) * var(--still) * -1) !important; }
  .marquee { transform: none; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee-track span:nth-child(n+6) { display: none; }
  .screen, .step, .badge, summary::after { transition: none !important; }
}

.nav-cta svg { width: 13px; height: 16px; margin-top: -2px; }
.brew a { font-weight: 800; }
