/* NextLayer Technology — site.css (Nov 2026: light theme from the brand icon)
   Palette comes straight from the layer mark: teal→cyan top layer = the one brand accent,
   navy middle layer = ink, slate bottom layer = secondary text. White page.
   The brand accent (--a) is the same on every page; an app's own colour (--app) is only
   used as a soft glow behind that app's icon and device.
   Motion: cross-document view transitions, scroll-driven reveals (with an IntersectionObserver
   fallback in site.js), pointer-reactive cards. Everything is switched off for reduced motion. */

@view-transition { navigation: auto; }

:root {
  /* surfaces */
  --bg: #FFFFFF; --bg-2: #F5F8FA; --bg-3: #EDF2F6; --bg-4: #E2E9EF;
  /* text — navy and slate from the icon's lower layers (all AA or better on white) */
  --ink: #0F1B2A; --ink-2: #3A4660; --mute: #556079; --faint: #66718A;
  --line: rgba(15, 27, 42, .09); --line-2: rgba(15, 27, 42, .15);
  --paper: #FFFFFF; --paper-2: #F5F8FA; --paper-ink: #0F1B2A; --paper-mute: #556079;
  /* brand — the icon's top layer */
  --b1: #2DD4BF; --b2: #0E9DC7; --b3: #0A7492;
  --grad: linear-gradient(115deg, var(--b1), var(--b2) 55%, var(--b3));
  --grad-deep: linear-gradient(115deg, #0A7F79, #0A6A86);
  --grad-ink: linear-gradient(115deg, #0B8B84, #0A7492 55%, #0B86B0);
  --a: #0A7492;
  --app: var(--a);
  --a-soft: color-mix(in oklab, var(--a) 9%, transparent);
  --a-ink: #086580;
  --ok: #12A150; --soon: #D98A0B;
  --shadow-1: 0 1px 2px rgba(15, 27, 42, .05), 0 6px 20px -10px rgba(15, 27, 42, .12);
  --shadow-2: 0 2px 4px rgba(15, 27, 42, .05), 0 24px 50px -24px rgba(15, 27, 42, .22);
  --fd: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --fs: var(--fd);
  --fb: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 22px; --r-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.64, 0, .78, 0);
  --gut: max(16px, 4.5vw);
  --wrap: 1220px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.6 var(--fb);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--fd); font-weight: 650; letter-spacing: -.03em; line-height: 1.02; }
p { margin: 0; }
/* emphasis inside headings: same typeface, brand colour (was a third, italic serif face) */
em.s, .s { font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; color: var(--a-ink); }
::selection { background: var(--b1); color: var(--ink); }
/* Two-colour focus ring (WCAG technique C40): the teal outline, plus a white halo filling the offset gap, so
   focus reads on white, on navy buttons and over photos alike. Its own variable, because the film reel
   repoints --a to each app's colour and the ring must stay the brand teal. */
:root { --focus: #0A7492; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 3px #FFFFFF; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }

/* grain over everything, very light */
body::after {
  content: none; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(3) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-2%, 1%); } 66% { transform: translate(1%, -2%); } }

/* ---------- type scale ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--fb); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.kicker::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: .6; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 99px; font: 500 13px/1 var(--fb); color: var(--ink-2); background: rgba(255, 255, 255, .8); backdrop-filter: blur(8px); box-shadow: var(--shadow-1); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(18, 161, 80, .5); animation: ping 2.4s var(--ease) infinite; }
.dot--soon { background: var(--soon); box-shadow: 0 0 0 0 rgba(217, 138, 11, .5); animation-name: ping-soon; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(18, 161, 80, .45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(18, 161, 80, 0); } }
@keyframes ping-soon { 0% { box-shadow: 0 0 0 0 rgba(217, 138, 11, .45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(217, 138, 11, 0); } }
.h-xl { font-size: clamp(46px, 8.4vw, 118px); }
.h-lg { font-size: clamp(36px, 5.6vw, 76px); }
.h-md { font-size: clamp(28px, 3.8vw, 50px); }
.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.sub { color: var(--mute); max-width: 58ch; font-size: 17px; }
.grad-text, em.s.grad-text { background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a-text { color: var(--a-ink); }

/* ---------- buttons ---------- */
.btn {
  --bg-btn: var(--ink); --fg-btn: #FFFFFF;
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px;
  border-radius: 99px; background: var(--bg-btn); color: var(--fg-btn); font: 600 15px/1 var(--fb); letter-spacing: -.005em;
  overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease), scale .22s var(--ease);
  will-change: transform;
}
/* Press: a quick 3% squeeze, so a tap is felt where hover never fires (phones). `scale` is its own property,
   so it composes with the magnetic pull and the header/dock transforms instead of replacing them. */
.btn:active, .hdr__swap > .btn:active, .dock.show > .btn:active { scale: .97; transition: scale .1s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease), opacity .3s var(--ease); transition-delay: 0s; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--grad-deep); transform: translateY(101%); transition: transform .55s var(--ease); }
.btn svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
/* B-041 / B-014: hover looks only where a pointer can hover (a tapped button on a phone no longer stays
   filled after you come back to the page), and they arrive fast (.28s fill, .22s arrow) but leave at the
   slower base pace, so moving across a row of buttons doesn't flicker. Phones keep the :active squeeze. */
@media (hover: hover) {
  .btn:hover::before { transform: translateY(0); transition-duration: .28s; }
  .btn:hover { box-shadow: 0 14px 34px -14px color-mix(in oklab, var(--a) 60%, transparent); }
  .btn:hover svg.arr { transform: translateX(4px); transition-duration: .22s; }
}
.btn--a { --bg-btn: var(--a); --fg-btn: #FFFFFF; }
.btn--a::before { background: var(--ink); }
.btn--ghost { --bg-btn: #FFFFFF; --fg-btn: var(--ink); border: 1px solid var(--line-2); }
.btn--ghost::before { background: var(--bg-3); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--store { height: 56px; padding: 0 22px 0 18px; }
/* "Get it on" at full white: at .7 opacity it measured 3.46:1 on the teal button (small text needs 4.5:1).
   Size and caps still set it apart from the store name, as on Google's own badge. */
.btn--store small { display: block; font: 500 10.5px/1 var(--fb); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.btn--store b { font: 650 17px/1 var(--fd); letter-spacing: -.02em; }
.btn--store .g { width: 24px; height: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link { position: relative; color: var(--ink); font-weight: 550; }
.link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(.25); transform-origin: left; opacity: .5; transition: transform .5s var(--ease), opacity .3s; }
@media (hover: hover) { .link:hover::after { transform: scaleX(1); opacity: 1; } }
/* stand-alone email links (footer, contact card): 24px-tall target, underline kept where it was */
span > a.link[href^="mailto:"] { display: inline-block; padding-block: 4px; margin-block: -4px; }
span > a.link[href^="mailto:"]::after { bottom: 1px; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; view-transition-name: site-header; transition: transform .5s var(--ease); }
.hdr__in { display: flex; align-items: center; gap: 18px; height: 74px; }
.hdr::before { content: ''; position: absolute; inset: 0; background: color-mix(in oklab, var(--bg) 72%, transparent); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .4s; }
.hdr.stuck::before { opacity: 1; }
.hdr.hide { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 19px/1 var(--fd); letter-spacing: -.035em; position: relative; }
.brand svg { width: 30px; height: 33px; }
.brand em { font-style: normal; color: var(--b2); font-weight: 700; }
@media (hover: hover) { .brand:hover .iso--t { transform: translateY(-6px); } .brand:hover .iso--m { transform: translateY(-2px); } }
.iso { transition: transform .6s var(--ease); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; position: relative; }
.nav a { position: relative; padding: 10px 14px; border-radius: 99px; font: 500 14.5px/1 var(--fb); color: var(--ink-2); transition: color .3s; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--a); }
.nav .btn, .nav .btn:hover { margin-left: 8px; color: var(--fg-btn); }
/* App pages: "Get in touch" and the store pill share one spot. The outgoing button leaves first and quicker,
   the pill follows 60ms later. Hidden = visibility:hidden, so it is never focusable off screen. */
.hdr__swap { display: grid; align-items: center; justify-items: end; margin-left: 8px; }
.hdr__swap > .btn, .hdr__swap > .btn:hover { grid-area: 1 / 1; margin-left: 0; transition: transform .45s var(--ease) .06s, opacity .3s var(--ease) .06s, box-shadow .5s var(--ease), visibility 0s, scale .22s var(--ease); }
.hdr__get { gap: 8px; padding: 0 16px 0 10px; visibility: hidden; opacity: 0; transform: translateY(-10px) scale(.96); }
.hdr__swap > .hdr__get { transition: transform .2s var(--ease), opacity .2s var(--ease), box-shadow .5s var(--ease), visibility 0s linear .2s; }
html.get-on .hdr__get { visibility: visible; opacity: 1; transform: none; transition: transform .45s var(--ease) .06s, opacity .3s var(--ease) .06s, box-shadow .5s var(--ease), visibility 0s, scale .22s var(--ease); }
html.get-on .hdr__swap > .btn:not(.hdr__get) { visibility: hidden; opacity: 0; transform: translateY(10px) scale(.96); transition: transform .2s var(--ease), opacity .2s var(--ease), visibility 0s linear .2s; }
html.get-on .hdr::before { background: color-mix(in oklab, var(--bg) 92%, transparent); } /* pinned, so keep text behind it quiet */
.hdr__get img { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.hdr__get svg.g { width: 16px; height: 16px; }
.hdr__get .ios, .hdr__get.is-ios .g:not(.ios), .hdr__short { display: none; }
.hdr__get.is-ios .ios { display: block; }
@media (max-width: 1080px) { .hdr__nm { display: none; } .hdr__short { display: inline; } }
@media (prefers-reduced-motion: reduce) { .hdr__swap > .btn { transition: none !important; transform: none !important; } }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 25px; }
.menu-open .burger i:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 21px; transform: rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 45; background: var(--bg); color: var(--ink); padding: 110px var(--gut) 40px; display: flex; flex-direction: column; gap: 6px; clip-path: circle(0 at calc(100% - 40px) 37px); transition: clip-path .8s var(--ease); visibility: hidden; }
.menu-open .drawer { clip-path: circle(150% at calc(100% - 40px) 37px); visibility: visible; }
.drawer a { font: 650 clamp(34px, 9vw, 52px)/1.1 var(--fd); letter-spacing: -.035em; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .7s var(--ease); }
.menu-open .drawer a { opacity: 1; transform: none; }
.menu-open .drawer a:nth-child(2) { transition-delay: .05s; } .menu-open .drawer a:nth-child(3) { transition-delay: .1s; }
.menu-open .drawer a:nth-child(4) { transition-delay: .15s; } .menu-open .drawer a:nth-child(5) { transition-delay: .2s; }
.drawer small { margin-top: auto; color: var(--mute); }
@media (max-width: 860px) { .nav { display: none; } .burger { display: block; } }

/* scroll progress */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; background: var(--grad); transform-origin: left; transform: scaleX(0); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* ---------- aurora: slow drifting colour behind heroes ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.cta .aurora { -webkit-mask-image: none; mask-image: none; }
.aurora i { position: absolute; width: 52vmax; height: 52vmax; border-radius: 50%; filter: blur(90px); opacity: .16; will-change: transform; }
.aurora i:nth-child(1) { background: radial-gradient(circle, color-mix(in oklab, var(--b1) 80%, transparent), transparent 62%); top: -22vmax; left: -12vmax; animation: drift1 26s var(--ease) infinite alternate; }
.aurora i:nth-child(2) { background: radial-gradient(circle, color-mix(in oklab, var(--b2) 75%, transparent), transparent 62%); top: -10vmax; right: -20vmax; animation: drift2 30s var(--ease) infinite alternate; }
.aurora i:nth-child(3) { background: radial-gradient(circle, color-mix(in oklab, var(--b3) 60%, transparent), transparent 62%); bottom: -34vmax; left: 20vmax; animation: drift3 34s var(--ease) infinite alternate; }
.aurora--a i:nth-child(1) { background: radial-gradient(circle, color-mix(in oklab, var(--app) 80%, transparent), transparent 62%); opacity: .14; }
.aurora--a i:nth-child(2) { background: radial-gradient(circle, var(--b1), transparent 62%); opacity: .12; }
.aurora--a i:nth-child(3) { background: radial-gradient(circle, var(--b2), transparent 62%); opacity: .1; }
@keyframes drift1 { to { transform: translate(14vmax, 8vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-12vmax, 10vmax) scale(.9); } }
@keyframes drift3 { to { transform: translate(-10vmax, -6vmax) scale(1.2); } }
.gridlines { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .6;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); }

/* ---------- home hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(100svh, 980px); display: grid; align-items: center; padding: 120px 0 70px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 70px); align-items: center; }
.hero h1 { margin: 22px 0 24px; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln > span { display: inline-block; animation: lineUp 1.1s var(--ease) both; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .ln:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { from { transform: translateY(105%) rotate(2deg); } to { transform: none; } }
.hero .lede, .hero .cta-row, .hero .pill { animation: fadeUp 1s var(--ease) both; }
.hero .pill { animation-delay: .05s; } .hero .lede { animation-delay: .35s; } .hero .cta-row { animation-delay: .5s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: grid; place-items: center; gap: 8px; font: 500 11px/1 var(--fb); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.hero__scroll i { width: 1px; height: 38px; background: linear-gradient(var(--ink-2), transparent); transform-origin: top; animation: scrollcue 2.2s var(--ease) infinite; }
@keyframes scrollcue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* orbit of app icons */
.orbit { --size: min(560px, 44vw); position: relative; width: var(--size); aspect-ratio: 1; margin-inline: auto; perspective: 1200px; animation: fadeUp 1.4s .2s var(--ease) both; }
.orbit__stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform .9s var(--ease); }
.orbit__core { position: absolute; inset: 34%; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #FFFFFF, var(--bg-3) 75%);
  box-shadow: 0 0 0 1px var(--line-2), 0 0 110px -14px color-mix(in oklab, var(--b2) 45%, transparent), inset 0 -18px 40px rgba(15, 27, 42, .05); }
.orbit__core svg { width: 46%; height: auto; filter: drop-shadow(0 14px 22px rgba(15, 27, 42, .22)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.ring { position: absolute; inset: calc(50% - var(--size) * var(--k)); border-radius: 50%; border: 1px dashed var(--line-2); animation: spin var(--dur) linear infinite; }
.ring--rev { animation-direction: reverse; }
.orbit:hover .ring { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }
.ring a { --s: clamp(44px, 4.6vw, 64px); position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); margin: calc(var(--s) / -2);
  transform: rotate(var(--ang)) translate(calc(var(--size) * var(--k))) rotate(calc(var(--ang) * -1)); }
.ring a .ri { position: relative; display: block; width: 100%; height: 100%; animation: spin var(--dur) linear infinite reverse; }
.ring--rev a .ri { animation-direction: normal; }
.orbit:hover .ring a .ri { animation-play-state: paused; }
/* a keyboard user's focused icon must hold still, and gets its name like a hover does */
.orbit:focus-within .ring, .orbit:focus-within .ring a .ri { animation-play-state: paused; }
.ring a img { width: 100%; height: 100%; border-radius: 26%; box-shadow: 0 10px 24px -10px rgba(15, 27, 42, .35), 0 0 0 1px var(--line); background: var(--bg-3); transition: scale .5s var(--ease); }
.ring a:focus-visible img { scale: 1.22; }
@media (hover: hover) { .ring a:hover img { scale: 1.22; } .ring a:hover .lbl { opacity: 1; translate: -50% 0; } }
.ring a:focus-visible { outline: 0; box-shadow: none; }
.ring a:focus-visible img { outline: 2px solid var(--focus); outline-offset: 3px; box-shadow: 0 0 0 3px #FFFFFF, 0 10px 24px -10px rgba(15, 27, 42, .35); }
.ring .lbl { position: absolute; left: 50%; top: calc(100% + 8px); translate: -50% 4px; white-space: nowrap; font: 600 12px/1 var(--fb); padding: 6px 9px; border-radius: 8px; background: var(--ink); color: var(--bg); opacity: 0; pointer-events: none; transition: opacity .3s, translate .4s var(--ease); }
.ring a:focus-visible .lbl { opacity: 1; translate: -50% 0; }
@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 110px; }
  .hero__grid { grid-template-columns: 1fr; }
  .orbit { --size: min(92vw, 460px); order: -1; margin-bottom: -10px; }
}

/* ---------- marquee band ---------- */
.band { position: relative; padding: 26px 0; border-block: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.band__track { display: flex; width: max-content; gap: 0; animation: marquee 42s linear infinite; }
.band--rev .band__track { animation-direction: reverse; animation-duration: 54s; }
.band:hover .band__track { animation-play-state: paused; }
.band__track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 600 clamp(22px, 3vw, 38px)/1 var(--fd); letter-spacing: -.03em; white-space: nowrap; }
.band__track span::after { content: '✦'; font-size: .6em; color: var(--b1); }
.band__track .s { color: var(--a-ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.sec--tight { padding: clamp(56px, 7vw, 96px) 0; }
.sec__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 22px 40px; margin-bottom: clamp(34px, 5vw, 60px); }
.sec__head h2 { max-width: 16ch; margin-top: 16px; }
.sec__head .sub { max-width: 46ch; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat { padding: clamp(22px, 3vw, 38px); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 650 clamp(44px, 6vw, 84px)/.9 var(--fd); letter-spacing: -.05em; }
.stat span { display: block; margin-top: 12px; color: var(--mute); font-size: 14.5px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- app cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1020px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card, .reel__item { --app: var(--card-a, var(--a)); }
.card { position: relative; display: block; perspective: 900px; }
.card__in {
  position: relative; height: 100%; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--r);
  background: #FFFFFF; border: 1px solid var(--line-2); box-shadow: var(--shadow-1); overflow: hidden; isolation: isolate;
  transform: rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)) translateZ(0); transform-style: preserve-3d;
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease);
}
.card__in::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in oklab, var(--b1) 12%, transparent), transparent 60%); }
.card__in::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), var(--a), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
@media (hover: hover) {
  .card:hover .card__in { box-shadow: var(--shadow-2); border-color: color-mix(in oklab, var(--a) 35%, transparent); }
  .card:hover .card__in::before, .card:hover .card__in::after { opacity: 1; }
}
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__icon { width: 64px; height: 64px; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 26px -12px color-mix(in oklab, var(--app) 70%, transparent), 0 0 0 1px var(--line); transform: translateZ(30px); transition: transform .6s var(--ease); background: var(--bg-4); }
.card__icon img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .card:hover .card__icon { transform: translateZ(50px) scale(1.06) rotate(-4deg); } }
.card__num { font: 500 12px/1 var(--fb); color: var(--faint); letter-spacing: .1em; }
.card h3 { font-size: 25px; margin-top: 6px; transform: translateZ(20px); }
.card h3 small { display: block; margin-top: 7px; font: 500 13px/1.2 var(--fb); letter-spacing: 0; color: var(--a-ink); }
.card p { color: var(--ink-2); font-size: 15px; line-height: 1.55; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 99px; font: 500 12px/1 var(--fb); color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); }
.chip--a { color: var(--a-ink); border-color: color-mix(in oklab, var(--a) 40%, transparent); background: var(--a-soft); }
.card__go { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); font: 600 14px/1 var(--fb); }
.card__go i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); transition: background .4s, transform .6s var(--ease), border-color .4s; }
.card__go i svg { width: 15px; height: 15px; }
@media (hover: hover) { .card:hover .card__go i { background: var(--a); border-color: var(--a); color: #FFFFFF; transform: rotate(-45deg); } }
.card--soon .card__in { background: var(--bg-2); border-style: dashed; border-color: var(--line-2); box-shadow: none; }
.card[hidden] { display: none; }

/* filter bar (/apps) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filters button { padding: 11px 16px; border-radius: 99px; border: 1px solid var(--line-2); background: #FFFFFF; font: 550 14px/1 var(--fb); color: var(--ink-2); transition: background .35s, color .35s, border-color .35s; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (hover: hover) { .filters button:hover:not([aria-pressed="true"]) { border-color: var(--ink-2); color: var(--ink); } }
.filters .count { opacity: .8; margin-left: 4px; font-weight: 500; } /* was .55: 2.85:1, now AA */

/* ---------- promo reel ---------- */
.reel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--gut) 22px; margin-inline: calc(var(--gut) * -1); scrollbar-width: none; cursor: grab; }
.reel::-webkit-scrollbar { display: none; }
.reel.drag { cursor: grabbing; scroll-snap-type: none; }
.reel__item { --a: var(--card-a); flex: 0 0 clamp(190px, 21vw, 250px); aspect-ratio: 9 / 16; scroll-snap-align: start; position: relative; border-radius: 20px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); transition: transform .6s var(--ease); }
.reel__item img, .reel__item video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .5s; }
@media (hover: hover) { .reel__item:hover { transform: translateY(-6px); } .reel__item:hover img { transform: scale(1.06); } }
.reel__item { box-shadow: var(--shadow-1); color: #FFFFFF; }
.reel__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(8, 16, 24, .85)); }
.reel__meta { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; color: #FFFFFF; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.reel__meta b { font: 650 18px/1.1 var(--fd); letter-spacing: -.02em; }
.reel__play { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .3); transition: background .4s, transform .5s var(--ease); }
@media (hover: hover) { .reel__item:hover .reel__play { background: var(--a); transform: scale(1.1); } }
/* keyboard focus lights the play button like a hover does (no lift: the strip would clip the ring), keeps the
   card's shadow under the white halo, and scroll-padding stops a focused card landing flush on the edge */
.reel { scroll-padding-inline: var(--gut); }
.reel__item:focus-visible { border-radius: 20px; box-shadow: 0 0 0 3px #FFFFFF, var(--shadow-1); }
.reel__item:focus-visible .reel__play { background: var(--a); transform: scale(1.1); }
.reel__play svg { width: 16px; height: 16px; margin-left: 2px; }
.reel__live { opacity: 0; }
.reel__item.playing .reel__live { opacity: 1; }

/* lightbox */
dialog.lb { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; overflow: hidden; }
dialog.lb::backdrop { background: rgba(8, 16, 24, .82); backdrop-filter: blur(14px); }
dialog.lb[open] { display: grid; place-items: center; animation: lbIn .5s var(--ease); }
dialog.lb video { height: min(86vh, 900px); width: auto; max-width: 92vw; border-radius: 22px; box-shadow: 0 40px 120px rgba(0, 0, 0, .7); animation: lbZoom .6s var(--ease); background: #000; }
dialog.lb .lb__x { position: fixed; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; color: #FFFFFF; background: rgba(255, 255, 255, .14); display: grid; place-items: center; font-size: 22px; }
@keyframes lbIn { from { opacity: 0; } }
@keyframes lbZoom { from { transform: scale(.9) translateY(20px); opacity: 0; } }

/* ---------- principles: cards that stack as you scroll ---------- */
.stack { display: grid; gap: 18px; }
.stack__card { position: sticky; top: calc(96px + var(--i) * 16px); min-height: 300px; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 4vw, 60px); align-items: center;
  padding: clamp(28px, 4.5vw, 60px); border-radius: 28px; border: 1px solid var(--line-2); background: #F7FAFB; box-shadow: var(--shadow-1); overflow: hidden; isolation: isolate; transform-origin: 50% 0; }
.stack__card:nth-child(2) { background: #F1F7F9; } .stack__card:nth-child(3) { background: #EBF3F6; } .stack__card:nth-child(4) { background: #E5EFF3; }
.stack__card::before { content: ''; position: absolute; width: 60%; aspect-ratio: 1; right: -18%; top: -50%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, var(--c, var(--b2)), transparent 65%); opacity: .14; filter: blur(30px); }
.stack__n { font: 650 clamp(56px, 8vw, 112px)/.8 var(--fd); letter-spacing: -.05em; color: var(--c, var(--a)); }
.stack__card h3 { font-size: clamp(30px, 4.2vw, 56px); margin-bottom: 14px; }
.stack__card p { color: var(--ink-2); max-width: 54ch; font-size: 17px; }
.stack__ico { width: clamp(64px, 8vw, 110px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: #FFFFFF; color: var(--c, var(--a)); }
.stack__ico svg { width: 44%; height: 44%; }
@supports (animation-timeline: view()) {
  .stack__card { animation: stackShrink linear both; animation-timeline: view(); animation-range: exit-crossing 0% exit-crossing 100%; }
  @keyframes stackShrink { to { transform: scale(.92); filter: saturate(.7) brightness(.97); } }
}
@media (max-width: 760px) { .stack__card { grid-template-columns: 1fr; position: relative; top: 0; min-height: 0; } .stack__ico { display: none; } }

/* ---------- studio collage ---------- */
.studio { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.collage { position: relative; aspect-ratio: 1; border-radius: 30px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.collage__grid { position: absolute; inset: -30%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; transform: rotate(-12deg); }
.collage__col { display: flex; flex-direction: column; gap: 14px; height: max-content; align-self: start; animation: colUp 40s linear infinite; }
.collage__col img { flex: none; }
.collage__col:nth-child(2) { animation-direction: reverse; animation-duration: 46s; }
.collage__col img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 14px; }
@keyframes colUp { to { transform: translateY(-50%); } }
.collage::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 40%, var(--bg) 100%); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 30px; }
.facts div { background: var(--bg); padding: 20px; }
.facts b { display: block; font: 600 15px/1.3 var(--fd); letter-spacing: -.01em; margin-bottom: 4px; }
.facts span { color: var(--mute); font-size: 14px; }
@media (max-width: 860px) { .studio { grid-template-columns: 1fr; } }

/* ---------- finder ---------- */
.finder { border: 1px solid var(--line-2); border-radius: 28px; padding: clamp(24px, 4vw, 48px); background: linear-gradient(160deg, var(--bg-2), #FFFFFF); box-shadow: var(--shadow-1); }
.finder__box { position: relative; margin: 22px 0 18px; }
.finder__box input { width: 100%; height: 64px; padding: 0 22px 0 56px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font: 500 18px/1 var(--fb); transition: border-color .3s, box-shadow .4s; }
.finder__box input:focus { outline: 0; border-color: var(--a); box-shadow: 0 0 0 4px color-mix(in oklab, var(--b2) 22%, transparent); }
.finder__box svg { position: absolute; left: 20px; top: 50%; translate: 0 -50%; width: 22px; height: 22px; color: var(--mute); }
.finder__out { display: grid; gap: 8px; min-height: 60px; }
.finder__hit { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); animation: fadeUp .45s var(--ease) both; transition: background .3s, border-color .3s; }
.finder__hit { background: #FFFFFF; }
@media (hover: hover) { .finder__hit:hover { background: var(--bg-2); border-color: var(--line-2); } }
.finder__hit img { width: 44px; height: 44px; border-radius: 12px; }
.finder__hit b { font: 650 17px/1.2 var(--fd); }
.finder__hit span { display: block; color: var(--mute); font-size: 14px; }
.finder__hit em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.finder__tips { display: flex; flex-wrap: wrap; gap: 8px; }
.finder__tips button { padding: 9px 13px; border-radius: 99px; border: 1px dashed var(--line-2); color: var(--ink-2); font-size: 13.5px; transition: border-color .3s, color .3s; }
@media (hover: hover) { .finder__tips button:hover { border-color: var(--a); color: var(--a-ink); } }

/* ---------- big CTA ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; border-radius: 34px; padding: clamp(40px, 8vw, 110px) clamp(24px, 6vw, 90px); text-align: center; border: 1px solid var(--line-2); background: var(--bg-2); box-shadow: var(--shadow-1); }
.cta h2 { font-size: clamp(36px, 6.4vw, 92px); max-width: 15ch; margin: 18px auto 22px; }
.cta p { color: var(--ink-2); max-width: 52ch; margin: 0 auto 30px; }
.cta .cta-row { justify-content: center; }

/* ---------- footer ---------- */
.ftr { position: relative; padding: 90px 0 30px; border-top: 1px solid var(--line); margin-top: 40px; overflow: hidden; background: var(--bg-2); }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.ftr h4 { margin: 0 0 14px; font: 600 12px/1 var(--fb); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr li a { color: var(--ink-2); font-size: 14.5px; transition: color .3s; }
.ftr li a:hover { color: var(--ink); }
.ftr__blurb { color: var(--mute); font-size: 14.5px; max-width: 34ch; margin-top: 16px; }
.ftr__word { margin-top: 70px; font: 700 clamp(70px, 17vw, 260px)/.8 var(--fd); letter-spacing: -.06em; text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px var(--line-2); background: var(--grad); -webkit-background-clip: text; background-clip: text; background-size: 100% 0%; background-repeat: no-repeat; background-position: 0 100%; }
@supports (animation-timeline: view()) {
  .ftr__word { animation: fillUp linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  @keyframes fillUp { to { background-size: 100% 100%; } }
}
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 26px; color: var(--mute); font-size: 13px; }
@media (max-width: 860px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.rv.in { opacity: 1; transform: none; }
@supports (animation-timeline: view()) {
  .rv { opacity: 1; transform: none; transition: none; animation: rvIn linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
  @keyframes rvIn { from { opacity: 0; transform: translateY(46px) scale(.98); } to { opacity: 1; transform: none; } }
  .rv-x { animation: rvX linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  @keyframes rvX { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
  .par { animation: par linear both; animation-timeline: view(); }
  @keyframes par { from { transform: translateY(40px); } to { transform: translateY(-40px); } }
}

/* ---------- app page ---------- */
.ahero { position: relative; isolation: isolate; padding: 130px 0 60px; overflow: hidden; }
.ahero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--mute); margin-bottom: 26px; }
.crumbs a:hover { color: var(--ink); }
/* 24px-tall hit area (WCAG 2.5.8) without moving the line: padding grows the target, the negative margin gives the space back */
.crumbs a { padding-block: 4px; margin-block: -4px; }
.crumbs span[aria-hidden] { opacity: .4; }
.ahero__id { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.ahero__icon { width: 96px; height: 96px; border-radius: 26px; overflow: hidden; flex: none; view-transition-name: app-icon; box-shadow: 0 22px 48px -18px color-mix(in oklab, var(--app) 65%, transparent), 0 0 0 1px var(--line-2); background: var(--bg-4); }
.ahero__icon img { width: 100%; height: 100%; object-fit: cover; }
.ahero__id b { display: block; font: 650 22px/1.1 var(--fd); letter-spacing: -.02em; }
.ahero__id small { display: block; margin-top: 6px; color: var(--mute); font-size: 13.5px; }
.ahero h1 { font-size: clamp(40px, 6.2vw, 86px); margin-bottom: 22px; animation: fadeUp 1s .05s var(--ease) both; }
/* B-006: each word rises out of its own mask, 45ms apart (capped), transform only, never hidden
   without CSS animation support. Padding + equal negative margin gives glyph overhangs and
   descenders room inside the clip without moving the text. Static under reduced motion. */
.ahero h1.kin { animation: none; }
.kin .wm { display: inline-block; overflow: clip; vertical-align: top; padding: .04em .08em .14em; margin: -.04em -.08em -.14em; }
.kin .wm > span { display: inline-block; animation: wordUp .78s calc(.06s + var(--i, 0) * 45ms) var(--ease) both; }
@keyframes wordUp { from { transform: translateY(112%); } to { transform: none; } }
.ahero .lede { animation: fadeUp 1s .18s var(--ease) both; }
.ahero .cta-row { margin-top: 30px; animation: fadeUp 1s .3s var(--ease) both; }
.ahero__id { animation: fadeUp .9s var(--ease) both; }
/* price and promises under the store buttons (B-002) */
.assure { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; max-width: 58ch; font: 500 13.5px/1.4 var(--fb); color: var(--ink-2); }
.assure li { display: inline-flex; align-items: flex-start; gap: 7px; }
.assure svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--a); }
.assure__price { flex-basis: 100%; color: var(--ink); font-weight: 600; }
.assure__price > span { text-wrap: pretty; } .assure .nw { white-space: nowrap; }
.assure__price svg { width: 17px; height: 17px; margin-top: 1px; }
.ahero .assure li { animation: fadeUp .7s calc(.42s + var(--i, 0) * 60ms) var(--ease) both; }
.ahero .assure li:nth-child(2) { --i: 1; } .ahero .assure li:nth-child(3) { --i: 2; } .ahero .assure li:nth-child(4) { --i: 3; }
.cta .assure { justify-content: center; margin: 22px auto 0; }
.cta .assure__price { justify-content: center; }
/* scan-to-phone code in the closing card (B-010): only where a phone isn't already in hand */
.qr { display: none; }
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .qr { display: inline-flex; align-items: center; gap: 18px; margin: 30px auto 0; padding: 10px 22px 10px 10px; border-radius: 22px; background: #FFFFFF; border: 1px solid var(--line-2); box-shadow: var(--shadow-1); text-align: left; }
  .qr__code { width: 104px; height: 104px; flex: none; border-radius: 12px; color: var(--ink); }
  .qr__txt { max-width: 25ch; font: 400 14px/1.5 var(--fb); color: var(--ink-2); text-wrap: pretty; }
  .qr__txt b { display: block; margin-bottom: 3px; font: 600 16px/1.3 var(--fd); letter-spacing: -.01em; color: var(--ink); }
}
.glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 54px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.glance div { background: #FFFFFF; padding: 20px 22px; }
.glance dt { font: 600 11.5px/1 var(--fb); letter-spacing: .13em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.glance dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
/* "In short": a quotable summary right above the glance grid, which it introduces. */
.short { margin: 54px 0 0; max-width: 78ch; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.short b { display: inline-flex; align-items: center; gap: 10px; margin-right: 12px; font: 600 11.5px/1 var(--fb); letter-spacing: .13em; text-transform: uppercase; color: var(--mute); vertical-align: 1px; }
.short b::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--a); }
.short + .glance { margin-top: 20px; }
@media (max-width: 980px) { .ahero__grid { grid-template-columns: 1fr; } .glance { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .glance { grid-template-columns: 1fr; } }

/* device frames */
.device { position: relative; margin-inline: auto; animation: fadeUp 1.2s .25s var(--ease) both; }
.device--phone { width: min(320px, 72vw, max(240px, calc((100svh - 170px) / 2.13))); aspect-ratio: 9 / 19.2; border-radius: 46px; padding: 11px; background: linear-gradient(145deg, #2A3446, #0F1B2A); box-shadow: 0 0 0 1px rgba(15, 27, 42, .2), 0 50px 110px -34px color-mix(in oklab, var(--app) 55%, transparent), 0 30px 60px -26px rgba(15, 27, 42, .45); }
.device--phone .device__screen { border-radius: 36px; }
.device--tv { width: min(620px, 100%); aspect-ratio: 16 / 9; border-radius: 18px; padding: 10px; background: #0F1B2A; box-shadow: 0 0 0 1px rgba(15, 27, 42, .2), 0 50px 110px -34px color-mix(in oklab, var(--app) 55%, transparent), 0 30px 60px -26px rgba(15, 27, 42, .4); }
.device--tv::after { content: ''; position: absolute; left: 50%; bottom: -26px; width: 36%; height: 16px; translate: -50% 0; border-radius: 0 0 14px 14px; background: linear-gradient(#2A3446, #0F1B2A); }
.device--tv .device__screen { border-radius: 9px; }
.device__screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; }
.device__screen > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1s var(--ease), transform 6s linear; }
.device__screen > .on { opacity: 1; transform: scale(1); }
.device__ctl { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 12px; }
/* each dot sits in a 24px hit area (WCAG 2.5.8); the visible pill is the ::before */
.device__dots { display: flex; }
.device__dots button { position: relative; width: 24px; height: 32px; display: grid; place-items: center; transition: width .5s var(--ease); }
.device__dots button::before { content: ''; width: 7px; height: 7px; border-radius: 99px; background: var(--line-2); transition: width .5s var(--ease), background .4s; }
@media (hover: hover) { .device__dots button:hover::before { background: var(--mute); } }
.device__dots button.on { width: 40px; }
.device__dots button.on::before { width: 26px; background: var(--a); }
.device__dots button:focus-visible { outline-offset: -4px; }

/* pause motion: a quiet pill, visible to everyone, never louder than the store buttons */
.mtog { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 9px; border-radius: 99px; border: 1px solid var(--line-2); background: color-mix(in oklab, var(--bg) 82%, transparent); color: var(--ink-2); font: 600 12px/1 var(--fb); letter-spacing: .02em; transition: border-color .25s, color .25s; }
.mtog[hidden] { display: none; }
@media (hover: hover) { .mtog:hover { border-color: var(--ink-2); color: var(--ink); } }
.mtog svg { width: 13px; height: 13px; }
.mtog .mtog__r, html.still .mtog .mtog__p { display: none; }
html.still .mtog .mtog__r { display: block; }
.mtog--orbit { position: absolute; right: 2%; bottom: 2%; z-index: 3; backdrop-filter: blur(6px); }
@media (max-width: 900px) {
  /* a round icon in the corner, clear of the icons' path; the name stays "Pause motion" for screen readers */
  .mtog--orbit { right: 0; bottom: 0; width: 32px; padding: 0; justify-content: center; }
  .mtog--orbit .mtog__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* paused: every loop holds its frame (entrances still finish) */
html.still :is(.ring, .ring a .ri, .band__track, .made__track, .orbit__core svg, .hero__scroll i, .fall img) { animation-play-state: paused; }
html.still .device--art { animation-play-state: running, paused; }
@media (prefers-reduced-motion: reduce) { .mtog { display: none; } }
.device--art { width: 100%; aspect-ratio: 1200 / 630; border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-2), 0 50px 110px -34px color-mix(in oklab, var(--app) 55%, transparent); animation: fadeUp 1.2s .25s var(--ease) both, float 7s 1.4s ease-in-out infinite; }
.device--art img { width: 100%; height: 100%; object-fit: cover; }
.device__badge { position: absolute; top: 16px; left: 16px; z-index: 2; }

/* features */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .feats { grid-template-columns: 1fr; } }
.feat { position: relative; padding: 30px 26px 28px; border-radius: var(--r); border: 1px solid var(--line-2); background: #FFFFFF; box-shadow: var(--shadow-1); overflow: hidden; transition: transform .6s var(--ease), border-color .4s; }
@media (hover: hover) { .feat:hover { transform: translateY(-6px); border-color: color-mix(in oklab, var(--a) 45%, transparent); } }
.feat__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 22px; font: 600 14px/1 var(--fd); color: var(--a-ink); background: var(--a-soft); border: 1px solid color-mix(in oklab, var(--a) 35%, transparent); }
.feat h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -.02em; line-height: 1.15; }
.feat p { color: var(--ink-2); font-size: 15px; }
.feat::after { content: ''; position: absolute; inset: auto -20% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--a-soft), transparent 70%); opacity: 0; transition: opacity .6s; }
@media (hover: hover) { .feat:hover::after { opacity: 1; } }

/* gallery */
.gal { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--gut) 26px; margin-inline: calc(var(--gut) * -1); scrollbar-width: none; cursor: grab; }
.gal::-webkit-scrollbar { display: none; }
.gal.drag { cursor: grabbing; scroll-snap-type: none; }
.gal figure { margin: 0; flex: 0 0 auto; scroll-snap-align: center; }
.gal__f { overflow: hidden; border-radius: 26px; border: 1px solid var(--line-2); background: var(--bg-3); }
.gal--phone .gal__f { width: clamp(200px, 22vw, 270px); aspect-ratio: var(--ratio, 9 / 19.5); }
.gal--tv .gal__f { width: clamp(300px, 46vw, 620px); aspect-ratio: 16 / 9; border-radius: 16px; }
.gal--video .gal__f { width: clamp(220px, 24vw, 300px); aspect-ratio: 9 / 19.5; }
.gal__f img, .gal__f video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); pointer-events: none; }
@media (hover: hover) { .gal figure:hover img { transform: scale(1.03); } }
.gal figcaption { margin-top: 12px; font-size: 14px; color: var(--mute); }
.gal__bar { height: 2px; border-radius: 2px; background: var(--line); margin-top: 6px; overflow: hidden; }
/* The strip is keyboard-focusable (arrow keys scroll it, snapping frame to frame). It runs edge to edge, so
   instead of one ring around the whole strip, every frame gets the ring and the progress bar thickens. */
.gal:focus-visible { outline: 0; box-shadow: none; }
.gal:focus-visible .gal__f { outline: 2px solid var(--focus); outline-offset: 3px; box-shadow: 0 0 0 3px #FFFFFF; }
.gal__bar { transition: scale .2s var(--ease); }
.gal:focus-visible + .gal__bar { scale: 1 2; }
.gal__bar i { display: block; height: 100%; width: 30%; background: var(--a); transform-origin: left; transition: transform .2s; }

/* made-for marquee */
.made { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.made__track { display: flex; gap: 10px; width: max-content; animation: marquee 36s linear infinite; }
.made__track span { padding: 12px 18px; border-radius: 99px; border: 1px solid var(--line-2); font: 550 15px/1 var(--fb); color: var(--ink-2); white-space: nowrap; }
.made:hover .made__track { animation-play-state: paused; }

/* data card */
.datacard { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; padding: clamp(26px, 4vw, 44px); border-radius: 28px; border: 1px solid color-mix(in oklab, var(--a) 25%, var(--line)); background: radial-gradient(120% 140% at 0% 0%, var(--a-soft), transparent 60%), #FFFFFF; box-shadow: var(--shadow-1); }
.datacard__ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--a-soft); color: var(--a-ink); }
.datacard__ico svg { width: 30px; height: 30px; }
.datacard h3 { font-size: 26px; margin-bottom: 8px; }
.datacard p { color: var(--ink-2); max-width: 70ch; }
@media (max-width: 760px) { .datacard { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(26px, 5vw, 80px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font: 600 clamp(17px, 1.7vw, 20px)/1.35 var(--fd); letter-spacing: -.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: background .4s, border-color .4s, transform .6s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i { background: var(--a); border-color: var(--a); color: #FFFFFF; transform: rotate(180deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 54px 24px 0; color: var(--ink-2); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* more apps strip */
.more { display: flex; gap: 12px; overflow-x: auto; padding: 4px var(--gut) 14px; margin-inline: calc(var(--gut) * -1); scrollbar-width: none; }
.more::-webkit-scrollbar { display: none; }
.more a { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; border: 1px solid var(--line-2); background: #FFFFFF; transition: border-color .4s, transform .5s var(--ease); }
@media (hover: hover) { .more a:hover { border-color: var(--line-2); transform: translateY(-4px); } }
.more img { width: 44px; height: 44px; border-radius: 12px; }
.more b { display: block; font: 650 16px/1.15 var(--fd); letter-spacing: -.015em; }
.more span { display: block; font-size: 12.5px; color: var(--mute); }

/* sticky mobile CTA */
/* Hidden (and unfocusable) until site.js says no other store button is in view. Without JS it never shows,
   and the hero and closing store buttons do the job. Enters as one move, then its parts settle in order. */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: none; align-items: center; gap: 12px; padding: 8px 8px 8px 10px; border-radius: 20px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-2); box-shadow: var(--shadow-2);
  visibility: hidden; opacity: 0; transform: translateY(calc(100% + 24px)); transition: transform .5s var(--ease), opacity .3s var(--ease), visibility 0s linear .5s; }
.dock.show { visibility: visible; opacity: 1; transform: none; transition: transform .5s var(--ease), opacity .3s var(--ease), visibility 0s; }
.dock > * { opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .45s var(--ease), scale .22s var(--ease); }
.dock.show > * { opacity: 1; transform: none; }
.dock.show > :nth-child(1) { transition-delay: .08s, .08s, 0s; }
.dock.show > :nth-child(2) { transition-delay: .14s, .14s, 0s; }
.dock.show > :nth-child(3) { transition-delay: .2s, .2s, 0s; }
.dock img { width: 40px; height: 40px; border-radius: 11px; flex: none; }
.dock__t { flex: 1; min-width: 0; display: grid; gap: 3px; }
.dock__t b { font: 650 15px/1.1 var(--fd); }
.dock__t small { font: 500 12.5px/1.25 var(--fb); color: var(--ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.dock__go { height: 44px; padding: 0 16px 0 14px; font-size: 14px; flex: none; }
.dock__go .ios, .dock__go.is-ios .g:not(.ios) { display: none; }
.dock__go.is-ios .ios { display: block; }
.menu-open .dock { visibility: hidden; opacity: 0; }
@media (max-width: 760px) {
  .dock { display: flex; }
  html.dock-on { scroll-padding-bottom: 96px; } /* keyboard focus never lands under the bar (WCAG 2.4.11) */
}
@media (prefers-reduced-motion: reduce) { .dock, .dock > *, .dock.show > * { transition: none !important; transform: none !important; } }

/* ---------- legal / docs ---------- */
.doc-hero { position: relative; isolation: isolate; padding: 140px 0 50px; overflow: hidden; }
.doc-hero h1 { font-size: clamp(38px, 6vw, 80px); margin: 18px 0 20px; max-width: 18ch; }
.doc-hero .chips { margin-top: 8px; }
.doc-app { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 99px; border: 1px solid var(--line-2); transition: border-color .3s; }
@media (hover: hover) { .doc-app:hover { border-color: var(--a); } }
.doc-app img { width: 34px; height: 34px; border-radius: 10px; view-transition-name: app-icon; }
.doc-wrap { display: grid; grid-template-columns: 240px 1fr; gap: clamp(26px, 4vw, 60px); align-items: start; padding-bottom: 60px; }
.toc { position: sticky; top: 100px; display: grid; gap: 2px; font-size: 14px; }
.toc b { font: 600 11.5px/1 var(--fb); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.toc a { padding: 7px 0 7px 14px; border-left: 2px solid var(--line); color: var(--mute); transition: color .3s, border-color .3s; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); border-left-color: var(--a); }
.paper { background: var(--paper); color: var(--paper-ink); border-radius: 30px; padding: clamp(26px, 5vw, 70px); border: 1px solid var(--line-2); box-shadow: var(--shadow-1); }
.paper > :first-child { margin-top: 0; }
.paper h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 46px 0 14px; letter-spacing: -.025em; line-height: 1.15; scroll-margin-top: 100px; }
.paper h2 i { font: 600 .8em/1 var(--fd); font-style: normal; color: var(--a); margin-right: 12px; }
.paper h3 { font-size: 20px; margin: 30px 0 10px; letter-spacing: -.015em; line-height: 1.25; }
.paper p, .paper li { color: var(--ink-2); font-size: 16px; line-height: 1.72; }
.paper p + p, .paper ul + p, .paper p + ul { margin-top: 12px; }
.paper ul, .paper ol { padding-left: 20px; display: grid; gap: 8px; margin: 12px 0; }
.paper a { color: var(--a-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.paper strong { color: var(--paper-ink); }
.paper .doc__intro { font-size: 18px; color: var(--paper-ink); }
.paper .callout { margin: 26px 0; padding: 20px 22px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--bg-4); border-left: 4px solid var(--a); }
.paper .callout p { color: var(--paper-ink); }
.paper section + section { margin-top: 10px; }
.paper .opt { padding: 22px; border-radius: 18px; border: 1px solid var(--bg-4); background: var(--bg-2); margin-bottom: 14px; }
.paper .opt h2 { margin-top: 8px; }
.paper .opt__tag, .paper .pill { display: inline-block; font: 600 11.5px/1 var(--fb); letter-spacing: .1em; text-transform: uppercase; color: var(--paper-mute); padding: 6px 10px; border-radius: 99px; border: 1px solid var(--bg-4); background: transparent; backdrop-filter: none; box-shadow: none; }
.paper .steps { counter-reset: s; list-style: none; padding: 0; }
.paper .steps li { counter-increment: s; position: relative; padding-left: 40px; }
.paper .steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--fd); background: var(--a); color: #fff; }
.doc-wrap > * { min-width: 0; }
.paper { overflow-wrap: anywhere; }
.paper table { display: block; max-width: 100%; overflow-x: auto; }
@media (max-width: 900px) { .doc-wrap { grid-template-columns: 1fr; } .toc { display: none; } }

/* ---------- 404 ---------- */
.nf { position: relative; isolation: isolate; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 0 60px; overflow: hidden; }
.nf__code { font: 700 clamp(120px, 28vw, 340px)/.8 var(--fd); letter-spacing: -.07em; }
.nf h1 { font-size: clamp(30px, 4vw, 52px); margin: 20px 0 14px; }
.nf p { color: var(--ink-2); max-width: 46ch; margin: 0 auto 28px; }
.nf .cta-row { justify-content: center; }
.fall { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fall img { position: absolute; top: -90px; width: 56px; height: 56px; border-radius: 16px; opacity: .55; animation: fall var(--t) linear var(--dl) infinite; }
@keyframes fall { to { transform: translateY(calc(100svh + 180px)) rotate(var(--rot)); } }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 80; translate: -50% 140%; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--bg); font: 600 14px/1 var(--fb); transition: translate .5s var(--ease); }
.toast:empty { display: none; }
.toast { opacity: 0; } .toast.show { translate: -50% 0; opacity: 1; }
.linklist { list-style: none; margin: 0; padding: 0; display: grid; }
.linklist li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.linklist a.n { font: 650 17px/1.2 var(--fd); min-width: 170px; padding-block: 2px; margin-block: -2px; } /* 24px target */
.linklist code { flex: 1; min-width: 0; font-size: 12.5px; color: var(--mute); word-break: break-all; }
.linklist button { padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2); transition: border-color .3s, color .3s; }
@media (hover: hover) { .linklist button:hover { border-color: var(--ink-2); color: var(--ink); } }

/* ---------- view transitions ---------- */
::view-transition-old(root) { animation: vtOut .45s var(--ease-in) both; }
::view-transition-new(root) { animation: vtIn .7s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-16px) scale(.99); filter: blur(4px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } }
/* back button: the same move mirrored, so the page you return to drops back into place from above */
html:active-view-transition-type(back)::view-transition-old(root) { animation-name: vtOutBack; }
html:active-view-transition-type(back)::view-transition-new(root) { animation-name: vtInBack; animation-duration: .55s; }
@keyframes vtOutBack { to { opacity: 0; transform: translateY(16px) scale(.99); filter: blur(4px); } }
@keyframes vtInBack { from { opacity: 0; transform: translateY(-20px); filter: blur(6px); } }
::view-transition-group(app-icon) { animation-duration: .75s; animation-timing-function: var(--ease); }
::view-transition-group(site-header) { animation: none; }
::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; }
::view-transition-group(*) { animation-duration: .6s; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1 !important; transform: none !important; }
  .btn:active, .hdr__swap > .btn:active, .dock.show > .btn:active { scale: none; }
  @view-transition { navigation: none; }
}

/* Storyboard's icon art has transparent padding and wants its cream tile */
img[src*="icon-storyboard"] { background: #F5EFC9; }
.card__icon img[src*="icon-storyboard"], .ahero__icon img[src*="icon-storyboard"] { transform: scale(1.28); }
.ahero h1.long { font-size: clamp(36px, 4.9vw, 66px); }
.paper { animation: fadeUp 1s .15s var(--ease) both; }
html { overflow-x: clip; }
.hero, .sec, .ftr { overflow-x: clip; }

/* ---------- Windows Contrast Themes (forced colors) ----------
   The OS swaps in its own palette and drops every background, so anything drawn only with a fill vanishes:
   filled buttons lost their edge, the phone menu button was an empty circle, and the selected filter,
   slide dot and nav marker looked like the rest. Give each a border or a system colour instead. */
@media (forced-colors: active) {
  .btn, .dock, .ring .lbl, .toast { border: 1px solid ButtonText; }
  .btn--ghost { border-color: ButtonText; }
  .btn::before { display: none; }
  .grad-text, em.s.grad-text { background: none; color: CanvasText; }
  .burger i, .nav a[aria-current]::after, .device__dots button::before, .gal__bar i { forced-color-adjust: none; background: CanvasText; }
  .device__dots button.on::before, .progress { forced-color-adjust: none; background: Highlight; }
  .gal__bar { forced-color-adjust: none; background: GrayText; }
  .filters button[aria-pressed="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
  .toc a.on { forced-color-adjust: none; color: CanvasText; border-left-color: Highlight; border-left-width: 4px; }
  .dot { forced-color-adjust: none; }
}
