/* CoveShine website V5 (20 November 2026)
   Five-person review applied: type scale, Apple system fonts, iPad and phone fixes, a11y, sound toggle.
   Light only. apple.com patterns: pinned scroll scenes, big type, product tiles, bento, galleries. */

/* Inter (variable, weight + optical size) is the fallback for non-Apple devices */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-var-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-var-greek.woff2") format("woff2"); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-var-cyrillic.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }

/* Symbols (⌘ ⌥ ↩) come from the static Inter cut, which has them */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-400.woff2") format("woff2"); unicode-range: U+2318, U+2325, U+21A9, U+2192, U+2190, U+203A; }

:root {
  color-scheme: light;
  --ink: #1D1D1F;
  --ink-2: #6E6E73;          /* secondary text on white and light grey */
  --ink-2-tint: #5E5E63;     /* secondary text on pastel cards (AA on every tint) */
  --line: #E5E5EA;
  --gray: #F5F5F7;
  --lav: #9C86F7;
  --lav-btn: #7158E6;
  --lav-text: #5B45D0;       /* lavender link text on coloured heroes */
  --mint-btn: #187A4C;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
  --max: 1120px;
  --nav: 48px;
  /* Apple system fonts: SF Pro on Mac, iPhone and iPad; Inter (variable, optical sizes) everywhere else */
  --ft: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fd: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Type scale (values at 390 / 820 / 1440 px), apple.com ratios */
  --fs-hero: clamp(48px, 36px + 3.05vw, 80px);
  --fs-section: clamp(32px, 23px + 2.29vw, 56px);
  --fs-tile: clamp(28px, 24px + 1.05vw, 40px);
  --fs-card: clamp(21px, 19.1px + .48vw, 26px);
  --fs-sub: clamp(21px, 18.4px + .67vw, 28px);
  --fs-lead: clamp(17px, 16.3px + .19vw, 19px);
  --fs-body: 17px;
  --fs-small: 14px;
  --fs-caption: 12px;
  --fs-nav: 12px;
  --lh-hero: 1.05; --lh-section: 1.08; --lh-tile: 1.1; --lh-card: 1.18; --lh-sub: 1.2; --lh-lead: 1.42; --lh-body: 1.47;
  --ls-hero: -0.022em; --ls-section: -0.018em; --ls-tile: -0.014em; --ls-card: -0.01em; --ls-sub: -0.008em; --ls-lead: -0.006em; --ls-body: -0.012em;
  --fw-display: 600;
}

* { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; font-family: var(--ft); font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); font-optical-sizing: auto; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: clip; }
main { flex: 1 0 auto; }
button { font: inherit; letter-spacing: inherit; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--lav-btn); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { a:hover { text-decoration: underline; text-underline-offset: 3px; } }
:focus-visible { outline: 3px solid var(--lav-btn); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--fd); font-weight: var(--fw-display); margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-hero); line-height: var(--lh-hero); letter-spacing: var(--ls-hero); }
h2 { font-size: var(--fs-section); line-height: var(--lh-section); letter-spacing: var(--ls-section); }
h3 { font-size: var(--fs-card); line-height: var(--lh-card); letter-spacing: var(--ls-card); }
p { margin: 0 0 1em; text-wrap: pretty; }
li, dd { text-wrap: pretty; }
.sub { font-family: var(--fd); font-size: var(--fs-sub); line-height: var(--lh-sub); font-weight: 400; letter-spacing: var(--ls-sub); color: var(--ink); text-wrap: balance; }
.lead { font-size: var(--fs-lead); line-height: var(--lh-lead); letter-spacing: var(--ls-lead); color: var(--ink); text-wrap: balance; }
.muted { color: var(--ink-2); }
.eyebrow { font-size: var(--fs-lead); font-weight: 600; color: var(--lav-btn); margin: 0 0 10px; }
.eyebrow.mint { color: var(--mint-btn); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 max(24px, env(safe-area-inset-left)) 0 max(24px, env(safe-area-inset-right)); }
.narrow { max-width: 760px; margin: 0 auto; }
.center { text-align: center; }
.section { padding: clamp(80px, 11vw, 136px) 0; }
.gray { background: var(--gray); }
/* Grey bands fade in and out so there is never a hard edge between sections */
.section.gray { background: linear-gradient(180deg, #fff 0, var(--gray) clamp(80px, 10vw, 140px), var(--gray) calc(100% - clamp(80px, 10vw, 140px)), #fff 100%); }
.fine { font-size: var(--fs-small); line-height: 1.43; color: var(--ink-2); text-align: center; margin-top: 24px; text-wrap: balance; }
br.wide { display: inline; }
@media (max-width: 400px) { br.wide { display: none; } }
.nw { white-space: nowrap; }

/* Signature gradients (large text only; every stop >= 3:1 on its background) */
.grad { background-size: 220% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .07em; }
.grad.go { animation: sweep 2.6s var(--out) 1 both; }
@keyframes sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
.grad-dusk { background-image: linear-gradient(90deg, #7158E6 0%, #C04FA6 45%, #D9603A 70%, #C04FA6 85%, #7158E6 100%); }
.cove .grad-dusk { background-image: linear-gradient(90deg, #6A4FE0 0%, #A8439A 45%, #B8502A 70%, #A8439A 85%, #6A4FE0 100%); }
.grad-mint { background-image: linear-gradient(90deg, #187A4C 0%, #1B8F62 40%, #2B7BD0 70%, #1B8F62 85%, #187A4C 100%); }

/* ---------- Global nav ---------- */
.gnav { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
body.product .gnav { position: relative; }
/* See-through over a coloured hero, frosted once you scroll */
body:has(main > .cove:first-child) .gnav, body.product .gnav { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
body:has(main > .cove:first-child) .gnav.scrolled { background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
.gnav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--nav); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-family: var(--fd); font-weight: 600; font-size: 19px; letter-spacing: -0.012em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 2px 6px rgba(113, 88, 230, .25); }
.gnav nav { display: flex; gap: 34px; }
.gnav nav a { display: inline-flex; align-items: center; height: var(--nav); font-size: var(--fs-nav); color: rgba(29, 29, 31, .85); }
.gnav nav a:hover, .gnav nav a[aria-current="page"] { color: var(--ink); text-decoration: none; }
@media (max-width: 640px) { .gnav nav { gap: 20px; } .gnav nav a { font-size: 14px; } }
@media (max-width: 360px) { .gnav .brand { font-size: 17px; gap: 7px; } .gnav nav { gap: 14px; } .gnav nav a { font-size: 13px; } }

/* ---------- Product nav: one floating pill centred over the app hero (every app page) ---------- */
.lnav { position: sticky; top: 12px; z-index: 90; height: 64px; margin-bottom: calc(-64px - var(--nav)); pointer-events: none; }
.lnav .wrap { display: flex; align-items: center; justify-content: center; height: 64px; }
.lnav .title { display: none; }
.lnav .right { pointer-events: auto; display: flex; align-items: center; gap: 24px; padding: 6px 6px 6px 22px; border-radius: 999px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 6px 24px rgba(24, 122, 76, .10); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.lnav.stuck .right { background: rgba(255, 255, 255, .88); box-shadow: 0 8px 30px rgba(0, 0, 0, .10); }
.lnav .right a:not(.pill) { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-nav); color: var(--ink-2); white-space: nowrap; transition: color .2s; }
.lnav .right a:not(.pill):hover { color: var(--ink); text-decoration: none; }
.lnav .right a.on { color: var(--ink); font-weight: 600; }
.lnav .right .pill.small { height: 36px; padding: 0 16px; }
@media (max-width: 600px) {
  .lnav .right { max-width: calc(100vw - 24px); overflow-x: auto; scrollbar-width: none; gap: 18px; padding: 4px 4px 4px 18px; overscroll-behavior-x: contain; }
  .lnav .right::-webkit-scrollbar { display: none; }
  .lnav .right a:not(.pill) { flex: none; font-size: 13px; }
  .lnav .right .pill { position: sticky; right: 0; flex: none; box-shadow: -12px 0 12px 2px rgba(255, 255, 255, .9); }
}
.sentinel { height: 1px; margin-top: -1px; }

/* ---------- Buttons and links ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 24px; border-radius: 980px; font-size: var(--fs-body); letter-spacing: -0.012em; border: 0; cursor: pointer; white-space: nowrap; transition: background-color .2s var(--ease), transform .1s var(--ease); }
.pill:hover { text-decoration: none; }
.pill:active { transform: scale(.97); }
.pill.small { height: 30px; padding: 0 14px; font-size: var(--fs-caption); }
.pill-lav { background: var(--lav-btn); color: #fff; }
.pill-mint { background: var(--mint-btn); color: #fff; }
@media (hover: hover) and (pointer: fine) { .pill-lav:hover { background: #5F46D6; } .pill-mint:hover { background: #136440; } }
.ctas { display: flex; gap: 14px 30px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.more { font-size: var(--fs-lead); display: inline-flex; align-items: center; gap: 3px; min-height: 44px; }
.more::after { content: "\203A"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .more:hover::after { transform: translate(4px, -1px); } }
.more.mint { color: var(--mint-btn); }
.cove .more { color: var(--lav-text); }

/* ---------- Hero: sunset cove scene ---------- */
.cove { position: relative; overflow: hidden; min-height: min(860px, calc(100svh - var(--nav))); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; background: linear-gradient(180deg, #CBC4FF 0%, #E4D6FF 34%, #FFDCCB 72%, #FFE8DC 100%); }
.cove.short { min-height: 640px; }
main > .cove:first-child { margin-top: calc(-1 * var(--nav)); min-height: min(908px, 100svh); }
main > .cove.short:first-child { min-height: 688px; }
.cove-copy { flex: none; position: relative; z-index: 4; padding: clamp(72px, 10vw, 120px) 24px 0; max-width: 900px; will-change: transform, opacity; }
main > .cove:first-child .cove-copy { padding-top: calc(clamp(72px, 10vw, 120px) + var(--nav)); }
.cove-copy .sub { margin-top: 18px; }
/* The scene always sits below the copy and is tall enough to show the whole picture (no cut-off lighthouse or glow),
   at any screen size; extra height crops the sides, which site.js compensates for with --crop */
.cove svg.scene { position: relative; z-index: 1; flex: 1 0 auto; display: block; width: 100%; height: clamp(300px, 34.72vw, max(25vw, calc(100svh - 360px))); margin-top: clamp(-80px, -4vw, -24px); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 min(150px, 28%)); mask-image: linear-gradient(180deg, transparent 0, #000 min(150px, 28%)); }
/* The sea fades softly into the page below (or into the next section's colour) */
.cove::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(70px, 9vw, 120px); background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .55) 55%, #fff 100%); z-index: 3; pointer-events: none; }
.cove:has(+ .tile-mint)::after { background: linear-gradient(180deg, rgba(230, 250, 241, 0) 0%, rgba(230, 250, 241, .6) 55%, #E6FAF1 100%); }
.cove + .tile-mint { background: radial-gradient(60% 35% at 50% 42%, #C8F2DF 0%, rgba(200, 242, 223, 0) 70%), linear-gradient(180deg, #E6FAF1 0%, #F4FAFF 60%, #FFFFFF 100%); }
/* Scene layout: site.js measures how much the slice crop hides (--crop) so the island, moon and lighthouse always sit in view */
.cove .isle, .cove .moon, .cove .lh { transform-box: view-box; }
.cove .isle { transform: translateX(max(0px, calc(var(--crop, 0px) + 12px))); } /* keeps the first tree fully in view; the hill still runs off the left edge */
.cove .moon { transform: translateX(max(0px, calc(var(--crop, 0px) - 150px))); }
.cove .lh { transform: translateX(min(0px, calc(250px - var(--crop, 0px)))); }
@media (max-width: 480px) { .cove .ctas { flex-direction: column; gap: 6px; } }
@media (orientation: landscape) and (max-height: 500px) {
  main > .cove:first-child { min-height: 0; }
  main > .cove:first-child .cove-copy { padding-top: calc(36px + var(--nav)); }
}
@media (min-width: 900px) and (orientation: landscape) and (max-height: 860px) { main > .cove:first-child .cove-copy { padding-top: calc(56px + var(--nav)); } }

.beam { transform-box: view-box; transform-origin: 1040px 262px; animation: beam 8s ease-in-out infinite alternate; }
@keyframes beam { from { transform: rotate(-18deg); } to { transform: rotate(14deg); } }
.glow { transform-box: view-box; transform-origin: 1040px 262px; animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .55; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.08); } }
.cloud { animation: cloud 60s linear infinite; }
.cloud.c2 { animation-duration: 85s; animation-delay: -30s; }
@keyframes cloud { from { transform: translateX(-260px); } to { transform: translateX(1700px); } }
.cove .moon { animation: moonglow 6s ease-in-out infinite; }
@keyframes moonglow { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
.cove .twinkle { transform-box: fill-box; transform-origin: center; animation: tw 3s ease-in-out infinite, spin 9s linear infinite; }
.cove .twinkle:nth-of-type(2n) { animation-delay: -1.4s, 0s; }
@keyframes tw { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes spin { to { rotate: 360deg; } }
/* Living sea: seamless flowing waves, bobbing, foam lines, glints, boat, birds */
.cove .flow { transform-box: view-box; }
.cove .f1 { animation: flowL1 9s linear infinite; }
.cove .f2 { animation: flowR2 6.5s linear infinite; }
.cove .f3 { animation: flowL3 4.8s linear infinite; }
@keyframes flowL1 { from { transform: translateX(0); } to { transform: translateX(-480px); } }
@keyframes flowR2 { from { transform: translateX(-360px); } to { transform: translateX(0); } }
@keyframes flowL3 { from { transform: translateX(0); } to { transform: translateX(-300px); } }
.cove .bob { animation: bob2 5s ease-in-out infinite; transform-box: view-box; }
.cove .bob.b2 { animation-duration: 4.2s; animation-delay: -1.3s; }
.cove .bob.b3 { animation-duration: 3.6s; animation-delay: -2.1s; }
@keyframes bob2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.cove .gl { transform-box: fill-box; transform-origin: center; animation: glint 2.6s ease-in-out infinite; }
.cove .gl.g2 { animation-delay: -.8s; } .cove .gl.g3 { animation-delay: -1.6s; }
@keyframes glint { 0%, 100% { opacity: .35; transform: scaleX(.7); } 50% { opacity: 1; transform: scaleX(1.15); } }
.cove .spk { animation: spk 3.4s ease-in-out infinite; opacity: 0; }
@keyframes spk { 0%, 100% { opacity: 0; } 45%, 55% { opacity: .95; } }
.cove .boat { transform-box: view-box; animation: sail 80s linear -24s infinite, rock 3.4s ease-in-out infinite; }
/* The boat only sails across the part of the sea that is on screen (site.js sets --crop), and is already on screen at load */
@keyframes sail { from { translate: calc(var(--crop, 0px) - 70px) 380px; } to { translate: calc(1510px - var(--crop, 0px)) 380px; } }
@media (max-width: 760px) { .cove .boat { animation-duration: 42s, 3.4s; animation-delay: -12s, 0s; } }
@keyframes rock { 0%, 100% { rotate: -4deg; } 50% { rotate: 4deg; } }
.cove .bird { transform-box: fill-box; transform-origin: center; animation: fly 38s linear infinite, flap .9s ease-in-out infinite; }
.cove .bird.b2 { animation-duration: 46s, .8s; animation-delay: -12s, -.3s; }
.cove .bird.b3 { animation-duration: 54s, .7s; animation-delay: -27s, -.5s; }
@keyframes fly { from { translate: -60px 190px; } 50% { translate: 700px 165px; } to { translate: 1500px 185px; } }
@keyframes flap { 0%, 100% { scale: 1 1; } 50% { scale: 1 .45; } }
/* Island with a cottage and trees */
.cove .tree { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 5s ease-in-out infinite; }
.cove .tree.t2 { animation-duration: 6s; animation-delay: -2s; }
.cove .tree.t3 { animation-duration: 4.4s; animation-delay: -1s; }
@keyframes sway { 0%, 100% { rotate: -2.5deg; } 50% { rotate: 2.5deg; } }
.cove .win-light { animation: lamp 4s ease-in-out infinite; }
.cove .win-light.w2 { animation-delay: -1.7s; }
@keyframes lamp { 0%, 100% { opacity: .85; } 50% { opacity: 1; filter: drop-shadow(0 0 6px #FFD25A); } }
.cove .smoke circle { transform-box: fill-box; transform-origin: center; animation: smoke 4.5s ease-out infinite; opacity: 0; }
@keyframes smoke { 0% { opacity: 0; translate: 0 6px; scale: .6; } 25% { opacity: .75; } 100% { opacity: 0; translate: 10px -26px; scale: 1.6; } }

/* Load intro (above the fold; never starts hidden for long) */
.js .intro { opacity: 0; transform: translateY(24px); }
.js .intro.zoom { transform: scale(.85); }
.js.loaded .intro { opacity: 1; transform: none; transition: opacity .9s var(--out), transform .9s var(--out); transition-delay: var(--i, 0s); }

/* ---------- Product tile ---------- */
.tile { position: relative; overflow: hidden; text-align: center; padding: clamp(80px, 10vw, 120px) 0 clamp(40px, 6vw, 80px); }
.tile-mint { background: radial-gradient(60% 50% at 50% 26%, #C8F2DF 0%, rgba(200, 242, 223, 0) 70%), linear-gradient(180deg, #E6FAF1 0%, #F4FAFF 60%, #FFFFFF 100%); }
.tile-mint::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(3px 3px at 12% 30%, rgba(47, 184, 132, .5), transparent), radial-gradient(2px 2px at 82% 22%, rgba(58, 123, 213, .45), transparent), radial-gradient(3px 3px at 70% 60%, rgba(47, 184, 132, .4), transparent), radial-gradient(2px 2px at 25% 72%, rgba(113, 88, 230, .4), transparent), radial-gradient(2.5px 2.5px at 50% 12%, rgba(255, 154, 114, .55), transparent); animation: rise 14s linear infinite; pointer-events: none; }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { transform: translateY(-120px); opacity: 0; } }
.tile .app-icon { width: 112px; height: 112px; margin: 0 auto 22px; filter: drop-shadow(0 16px 30px rgba(24, 122, 76, .28)); }
.tile .sub { margin-top: 12px; }
.tile .app-icon, .band img, .feature-app img.icon { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
body.product main > .tile:first-child { padding: calc(clamp(64px, 8vw, 96px) + 64px + var(--nav)) 0 20px; }

/* ---------- Mac mock-up (aluminium, light) ---------- */
.mac-wrap { position: relative; width: min(1000px, 100%); margin: clamp(44px, 6vw, 72px) auto 0; }
.mac { position: relative; transform-origin: 50% 70%; will-change: transform; }
.mac-lid { position: relative; background: linear-gradient(180deg, #FBFBFC, #E6E7EC); border-radius: 18px 18px 6px 6px; padding: 1.4%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .07), 0 50px 90px -30px rgba(113, 88, 230, .3); }
.mac-lid::before { content: ""; position: absolute; top: .55%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #C9CAD0; }
.mac-display { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: radial-gradient(70% 60% at 80% 20%, #FFE3D2 0%, rgba(255, 227, 210, 0) 70%), radial-gradient(60% 60% at 15% 80%, #D6EBFF 0%, rgba(214, 235, 255, 0) 70%), linear-gradient(135deg, #D9D2FF 0%, #F3DDF2 50%, #FFE6D8 100%); }
.mac-base { position: relative; height: 14px; width: 112%; margin-left: -6%; background: linear-gradient(180deg, #F3F3F6 0%, #D6D7DD 70%, #BFC1C8 100%); border-radius: 0 0 16px 16px; }
.mac-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; transform: translateX(-50%); background: #CDCED4; border-radius: 0 0 8px 8px; }
.menubar { position: absolute; inset: 0 0 auto; height: 4.4%; min-height: 18px; background: rgba(255, 255, 255, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: flex; align-items: center; gap: 16px; padding: 0 14px; font-size: clamp(11px, 1.05vw, 12px); }
.menubar b { font-weight: 600; }
.menubar .mb-right { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.menubar svg { width: 1.25em; height: 1.25em; color: #187A4C; }
.win { position: absolute; left: 8%; right: 8%; top: 11%; bottom: 8%; background: rgba(255, 255, 255, .97); border-radius: 12px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 24px 54px rgba(60, 40, 120, .22); display: flex; flex-direction: column; overflow: hidden; text-align: left; }
.win-bar { flex: none; height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 13px; border-bottom: 1px solid #ECECF0; background: #FAFAFC; }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; display: block; }
.win-bar i:nth-child(2) { background: #FEBC2E; }
.win-bar i:nth-child(3) { background: #28C840; }
.win-bar span { margin-left: 10px; font-size: 13px; font-weight: 600; color: #6E6E73; }
/* Bubbles sit at the bottom, next to the input, like the real Messages app */
.win-body { position: relative; flex: 1; padding: 18px 20px 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; font-size: clamp(13px, 1.45vw, 15px); }
.bubbles { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.bubble { align-self: flex-start; background: #ECECF1; border-radius: 16px; padding: 7px 13px; max-width: 70%; }
.bubble.me { align-self: flex-end; background: #7158E6; color: #fff; }
.compose { display: flex; align-items: center; gap: 8px; border: 1px solid #E2E2E8; border-radius: 20px; padding: 8px 10px 8px 14px; min-height: 38px; }
.compose .txt { transition: opacity .3s var(--ease); }
.compose .txt span { border-radius: 3px; background-image: linear-gradient(rgba(113, 88, 230, .22), rgba(113, 88, 230, .22)); background-repeat: no-repeat; background-size: 0% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .45s var(--ease), color .35s var(--ease); }
.badge { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #2FB884; border: 1.5px solid #fff; box-shadow: 0 3px 8px rgba(24, 122, 76, .4); display: grid; place-items: center; transform: scale(0); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.badge svg { width: 13px; height: 13px; }
.panel { position: absolute; right: 20px; bottom: 64px; width: min(400px, calc(100% - 40px)); background: rgba(250, 250, 252, .95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid #E5E5EA; border-radius: 12px; padding: 14px 16px; box-shadow: 0 18px 40px rgba(40, 30, 90, .18); opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .5s var(--out), transform .5s var(--out); pointer-events: none; }
.panel-title { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9em; color: #187A4C; margin-bottom: 6px; }
.panel-title svg { width: 14px; height: 14px; }
.panel p { margin: 0 0 8px; }
.panel ins { text-decoration: none; background: rgba(95, 211, 168, .3); color: #187A4C; border-radius: 3px; padding: 0 2px; }
.panel ul { list-style: none; padding: 0; margin: 0 0 10px; font-size: .9em; color: #6E6E73; }
.panel .row { display: flex; gap: 8px; justify-content: flex-end; }
.panel .row .left { margin-right: auto; }
.mini { font-size: .88em; font-weight: 500; padding: 3px 11px; border-radius: 6px; border: 1px solid #E2E2E8; background: #fff; transition: transform .12s var(--ease); }
.mini.primary { background: #187A4C; color: #fff; border-color: #187A4C; }
.demo[data-s="1"] .txt span, .demo[data-s="2"] .txt span, .demo[data-s="3"] .txt span { background-size: 100% 100%; }
.demo[data-s="2"] .badge, .demo[data-s="3"] .badge { transform: scale(1); }
.demo[data-s="3"] .panel { opacity: 1; transform: none; }
.demo.pressing .mini.primary { transform: scale(.9); }
.demo[data-s="4"] .txt span { background-image: linear-gradient(rgba(95, 211, 168, .32), rgba(95, 211, 168, .32)); background-size: 100% 100%; color: #145F3C; }
.demo-ctl { position: absolute; right: 2.5%; bottom: -54px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #E8E8ED; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.demo-ctl svg { width: 14px; height: 14px; }
@media (max-width: 640px) {
  .mac-lid { padding: 0; background: none; box-shadow: none; }
  .mac-lid::before, .mac-base, .menubar { display: none; }
  .mac-display { aspect-ratio: 1 / 1; border-radius: 26px; box-shadow: 0 30px 60px -20px rgba(113, 88, 230, .35); }
  .win { left: 4%; right: 4%; top: 4%; bottom: 4%; }
  .win-body { font-size: 15px; padding: 14px; }
  .bubble { max-width: 82%; }
  .panel { left: 12px; right: 12px; width: auto; bottom: 96px; padding: 12px 14px; }
  .panel ul { display: none; }
  .tile:has(.demo-ctl) { padding-bottom: 88px; }
}

/* ---------- Pinned scroll scenes ---------- */
.theatre { position: relative; height: 300vh; }
.theatre .stage { position: sticky; top: 52px; height: calc(100svh - 52px); display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
body.product .theatre .stage { top: 76px; height: calc(100svh - 76px); }
.theatre .mac-wrap { margin-top: 0; width: min(980px, 92vw, calc((100svh - 190px) * 1.52)); }
.cap { position: relative; height: 1.3em; margin-top: 26px; width: 100%; text-align: center; font-size: var(--fs-sub); }
.cap span { position: absolute; left: 0; right: 0; font-family: var(--fd); font-weight: 600; font-size: var(--fs-sub); line-height: var(--lh-sub); letter-spacing: var(--ls-sub); opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.cap span.on { opacity: 1; transform: none; }
@media (max-width: 640px) { .theatre { height: 220vh; } .theatre .mac-wrap { width: min(420px, 92vw); } .cap { padding: 0 60px; } }
@media (min-width: 641px) and (max-width: 1024px) and (orientation: portrait) {
  .theatre { height: 260vh; }
  .theatre .mac-wrap { width: 94vw; }
  .theatre .mac-display { aspect-ratio: 4 / 3; }
  .cap { margin-top: 40px; }
}

.pin { position: relative; height: 150vh; }
.pin .stage { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; }
@media (max-width: 640px) { .pin { height: 120vh; } }
.statement { font-family: var(--fd); font-size: clamp(30px, 4.6vw, 56px); font-weight: 600; line-height: 1.14; letter-spacing: var(--ls-section); max-width: 980px; margin: 0 auto; text-wrap: balance; }
@media (min-width: 700px) and (max-width: 1024px) and (orientation: portrait) { .statement { font-size: clamp(44px, 6.2vw, 60px); } }
.js .statement .w { opacity: .16; }
@media (max-width: 640px) { .js .statement .w { opacity: .28; } }
.statement .hl { color: #187A4C; }
.statement .hl-lav { color: var(--lav-btn); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: clamp(40px, 5vw, 60px); }
.bx { position: relative; overflow: hidden; border-radius: 30px; padding: clamp(28px, 3vw, 40px); background: #fff; transition: transform .4s var(--out), box-shadow .4s var(--out); }
.bx.c2 { grid-column: span 2; } .bx.c3 { grid-column: span 3; } .bx.c4 { grid-column: span 4; } .bx.c6 { grid-column: span 6; }
@media (max-width: 900px) { .bx.c2, .bx.c3, .bx.c4 { grid-column: span 3; } }
@media (min-width: 641px) and (max-width: 900px) { .bento > .bx:last-child:nth-child(odd) { grid-column: span 6; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bx.c2, .bx.c3, .bx.c4, .bx.c6 { grid-column: auto; } .bx { border-radius: 24px; } }
.bx .kicker { font-size: var(--fs-body); font-weight: 600; color: var(--ink-2-tint); margin-bottom: 8px; }
.bx h3 { margin-bottom: 10px; }
.bx p { color: var(--ink-2-tint); margin: 0; }
.bx .big { font-family: var(--fd); font-weight: 600; font-size: clamp(72px, 9vw, 120px); line-height: .95; letter-spacing: -0.03em; margin: 4px 0 12px; font-variant-numeric: tabular-nums; }
.bx-lav { background: linear-gradient(160deg, #EEE9FF 0%, #F8F6FF 100%); }
.bx-mint { background: linear-gradient(160deg, #E0F7EC 0%, #F5FCF8 100%); }
.bx-sky { background: linear-gradient(160deg, #E3F0FF 0%, #F6FAFF 100%); }
.bx-peach { background: linear-gradient(160deg, #FFE9DF 0%, #FFF7F3 100%); }
.bx-sun { background: linear-gradient(160deg, #FFF3D1 0%, #FFFBF0 100%); }
.ico { width: 56px; height: 56px; border-radius: 26%; display: grid; place-items: center; margin-bottom: 22px; color: #fff; transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.ico svg { width: 28px; height: 28px; stroke-width: 1.75; }
.ico-lav { background: linear-gradient(160deg, #B3A1FF, #7158E6); box-shadow: 0 8px 18px rgba(113, 88, 230, .35); }
.ico-mint { background: linear-gradient(160deg, #7FE3BE, #1F9A6A); box-shadow: 0 8px 18px rgba(31, 154, 106, .35); }
.ico-sky { background: linear-gradient(160deg, #A8D2FF, #3A7BD5); box-shadow: 0 8px 18px rgba(58, 123, 213, .35); }
.ico-peach { background: linear-gradient(160deg, #FFC0A3, #E8693F); box-shadow: 0 8px 18px rgba(232, 105, 63, .35); }
.ico-sun { background: linear-gradient(160deg, #FFE08A, #EFA800); box-shadow: 0 8px 18px rgba(239, 168, 0, .35); }

/* Device silhouettes */
.devices { display: flex; align-items: flex-end; gap: 14px; margin: 6px 0 20px; height: 96px; }
.dv { background: linear-gradient(180deg, #FFFFFF, #EEF1F8); border: 1.5px solid #C9D4EA; position: relative; }
.dv.laptop { width: 120px; height: 76px; border-radius: 8px 8px 3px 3px; }
.dv.laptop::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -9px; height: 7px; background: #D9DFEC; border-radius: 0 0 8px 8px; }
.dv.laptop::before { content: ""; position: absolute; inset: 7px; border-radius: 4px; background: linear-gradient(135deg, #D9D2FF, #FFE0D2); }
.dv.phone { width: 44px; height: 88px; border-radius: 12px; }
.dv.phone::before { content: ""; position: absolute; inset: 4px; border-radius: 9px; background: linear-gradient(160deg, #CFE6FF, #E7DEFF); }
.dv.droid::before { background: linear-gradient(160deg, #D6F5E6, #CFE6FF); }
.dv.soon { opacity: .55; border-style: dashed; }

/* Shield illustration */
.shield { position: absolute; right: 6%; bottom: 28px; width: 170px; height: 190px; opacity: .95; }
@media (max-width: 900px) { .shield { position: static; display: block; width: 112px; height: 125px; margin: 16px 0 -12px auto; } }
@media (max-width: 640px) { .shield { margin: 14px auto -8px; } }

/* Marquee */
.marquee { position: relative; overflow: hidden; margin-top: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; width: max-content; animation: slide 40s linear infinite; }
.marquee.rev .track { animation-direction: reverse; animation-duration: 48s; }
@media (hover: hover) and (pointer: fine) { .marquee:hover .track { animation-play-state: paused; } }
.marquee span { flex: none; margin-right: 10px; padding: 9px 18px; border-radius: 980px; background: rgba(255, 255, 255, .92); border: 1px solid rgba(0, 0, 0, .06); font-size: var(--fs-body); font-weight: 500; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Keycaps */
.keys { display: flex; gap: 12px; margin: 8px 0 18px; }
.key { width: 76px; height: 76px; border-radius: 16px; background: linear-gradient(180deg, #FFFFFF, #F1F1F5); border: 1px solid #E2E2E8; box-shadow: 0 5px 0 #DADAE2, 0 10px 20px rgba(0, 0, 0, .08); display: grid; place-items: center; font-size: 32px; font-weight: 500; color: var(--ink); }
@media (max-width: 640px) { .key { width: 60px; height: 60px; font-size: 26px; } }
.keys.play .key { animation: tap .6s ease 1 both; }
.keys.play .key:nth-child(2) { animation-delay: .12s; }
.keys.play .key:nth-child(3) { animation-delay: .24s; }
@keyframes tap { 0%, 100% { transform: none; box-shadow: 0 5px 0 #DADAE2, 0 10px 20px rgba(0, 0, 0, .08); } 40% { transform: translateY(4px); box-shadow: 0 1px 0 #DADAE2, 0 4px 10px rgba(0, 0, 0, .08); } }

/* Before / after with drawn strike */
.ba { display: grid; gap: 10px; margin-top: 18px; }
.ba div { border-radius: 14px; padding: 12px 16px; font-size: var(--fs-body); }
.ba .b { position: relative; background: #FFECEE; color: #9E2438; }
.ba .b span { background-image: linear-gradient(rgba(196, 49, 75, .7), rgba(196, 49, 75, .7)); background-repeat: no-repeat; background-position: 0 55%; background-size: 0% 1.5px; transition: background-size .6s var(--ease) .2s; }
.ba .a { background: #E2F7EE; color: #145F3C; font-weight: 500; opacity: 0; transform: translateX(-10px); transition: opacity .4s var(--ease) .9s, transform .4s var(--ease) .9s; }
.ba.play .b span { background-size: 100% 1.5px; }
.ba.play .a { opacity: 1; transform: none; }

/* Use-case gallery */
.gallery { position: relative; margin-top: 44px; }
.rail { display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: max(24px, calc((100vw - var(--max)) / 2 + 24px)); scroll-behavior: smooth; padding: 6px max(24px, calc((100vw - var(--max)) / 2 + 24px)) 18px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.case { flex: 0 0 min(560px, 82vw); scroll-snap-align: start; border-radius: 30px; padding: 32px; text-align: left; }
.case .app { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); font-weight: 600; padding: 6px 14px; border-radius: 980px; background: rgba(255, 255, 255, .9); margin-bottom: 20px; }
.case .app i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.case .bef, .case .aft { border-radius: 16px; padding: 14px 18px; font-size: var(--fs-lead); line-height: 1.45; }
.case .bef { background: rgba(255, 255, 255, .7); color: var(--ink-2-tint); text-decoration: line-through; text-decoration-color: rgba(196, 49, 75, .55); margin-bottom: 10px; }
.case .aft { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 10px 24px rgba(40, 30, 90, .08); }
.case .note { margin: 14px 0 0; font-size: 16px; color: var(--ink-2-tint); }
.rail-ctl { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; }
.rail-ctl > button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #E8E8ED; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: opacity .2s, background-color .2s; }
@media (hover: hover) and (pointer: fine) { .rail-ctl > button:hover { background: #DDDDE3; } }
.rail-ctl > button:disabled { opacity: .4; cursor: default; }
.rail-ctl svg { width: 16px; height: 16px; }
.dots { display: flex; gap: 0; }
.dots button { position: relative; width: 24px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 8px; height: 8px; border-radius: 980px; background: #D2D2D7; transition: background-color .3s, width .3s; }
.dots button.on { width: 38px; }
.dots button.on::before { width: 22px; background: var(--ink); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; counter-reset: s; }
.step { text-align: left; border-radius: 30px; padding: 36px; background: var(--gray); transition: transform .4s var(--out), box-shadow .4s var(--out); }
.gray .step { background: #fff; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 22px; font-family: var(--fd); font-weight: 600; font-size: 20px; color: #fff; background: linear-gradient(160deg, #7FE3BE, #1F9A6A); box-shadow: 0 8px 18px rgba(31, 154, 106, .35); }
.step p { color: var(--ink-2); margin: 10px 0 0; }
@media (max-width: 1023px) {
  .steps { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; padding: 28px 32px; }
  .step::before { grid-row: span 2; margin: 0; }
}
@media (max-width: 480px) { .step { padding: 26px 24px; column-gap: 16px; } }
.kbd { display: inline-block; font-size: var(--fs-small); font-weight: 600; padding: 1px 8px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: #fff; color: var(--ink); }

/* Comparison */
.compare { margin-top: 44px; border-radius: 30px; background: var(--gray); overflow: hidden; text-align: left; }
.compare .r { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; align-items: stretch; border-top: 1px solid var(--line); }
.compare .r:first-child { border-top: 0; }
.compare .r > * { display: flex; align-items: center; padding: 16px 20px; }
.compare .h { font-weight: 600; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.3; }
.compare .h b { color: #187A4C; font-weight: 600; }
.compare .c { justify-content: center; text-align: center; }
.compare .c svg { width: 22px; height: 22px; }
.compare .c .yes { color: #1F9A6A; } .compare .c .no { color: #86868B; }
.compare .us { background: linear-gradient(180deg, #E8F8F0, #F4FCF8); }
.compare .sm { display: none; }
@media (max-width: 640px) {
  .compare .lg { display: none; } .compare .sm { display: inline; }
  .compare .r { grid-template-columns: 1fr 58px 58px 64px; }
  .compare .r > * { padding: 12px 8px; font-size: 15px; line-height: 1.3; }
  .compare .r > :first-child { padding-left: 16px; }
  .compare .h { font-size: 13px; }
}

/* Privacy */
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; text-align: left; }
@media (max-width: 1023px) { .privacy-grid { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; } }
.privacy-grid > div { border-radius: 30px; padding: 32px; background: #fff; }

/* Pricing */
.seg { position: relative; display: inline-flex; padding: 3px; border-radius: 980px; background: #E8E8ED; margin-top: 28px; }
.seg .thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; border-radius: 980px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); transition: transform .3s cubic-bezier(.4, 0, .2, 1), width .3s cubic-bezier(.4, 0, .2, 1); }
.seg button { position: relative; z-index: 1; font-size: var(--fs-small); border: 0; background: transparent; min-height: 44px; padding: 0 20px; border-radius: 980px; cursor: pointer; color: var(--ink); }
.seg button[aria-pressed="true"] { font-weight: 600; }
.seg .save { color: #136440; font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; text-align: left; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }
.plan { position: relative; border-radius: 30px; padding: 36px; background: #fff; display: flex; flex-direction: column; transition: transform .4s var(--out), box-shadow .4s var(--out); }
.plan.soft { background: var(--gray); }
.plan.hot { background: linear-gradient(170deg, #E0F7EC 0%, #FFFFFF 60%); box-shadow: 0 0 0 2px #1F9A6A, 0 24px 50px rgba(24, 122, 76, .14); }
.plan .tag { position: absolute; top: 18px; right: 18px; font-size: var(--fs-caption); font-weight: 600; padding: 5px 12px; border-radius: 980px; background: #187A4C; color: #fff; animation: pop 2.8s ease-in-out 1.5s 2; }
@keyframes pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.plan .price { font-family: var(--fd); font-size: 52px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin: 18px 0 6px; font-variant-numeric: tabular-nums; transition: opacity .15s var(--ease), transform .2s var(--ease); }
.plan .price.out { opacity: 0; transform: translateY(-8px); }
.plan .price.in0 { opacity: 0; transform: translateY(8px); transition: none; }
.plan .per { color: var(--ink-2); font-size: 16px; min-height: 22px; margin-bottom: 22px; }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li { display: flex; gap: 10px; padding: 7px 0; font-size: var(--fs-body); }
.plan li svg { flex: none; width: 20px; height: 20px; color: #1F9A6A; margin-top: 2px; }
@media (max-width: 400px) { .plan { padding: 28px 22px; } .plan .price { font-size: 46px; } .plan .tag { top: 14px; right: 14px; } }

/* Band */
.band { text-align: center; background: linear-gradient(135deg, #E3F8EE 0%, #ECF1FF 50%, #FFEDE4 100%); border-radius: 36px; padding: clamp(56px, 7vw, 96px) 24px; will-change: transform, opacity; }
.band img { width: 100px; height: 100px; margin: 0 auto 22px; filter: drop-shadow(0 14px 26px rgba(24, 122, 76, .28)); }
.band .sub { margin: 14px auto 0; max-width: 560px; }

/* Home 2-up tiles */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }
.duo > div { border-radius: 28px; min-height: 560px; padding: 64px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; overflow: hidden; position: relative; }
@media (max-width: 900px) { .duo > div { min-height: 480px; } }
.duo > .mint { background: radial-gradient(70% 50% at 50% 100%, #BFF0D9 0%, rgba(191, 240, 217, 0) 70%), linear-gradient(180deg, #E6FAF1, #F7FDFA); }
.duo > .dusk { background: radial-gradient(70% 50% at 50% 100%, #FFD8C9 0%, rgba(255, 216, 201, 0) 70%), linear-gradient(180deg, #EEEAFF, #FFF4EE); }
.duo h2 { font-size: var(--fs-tile); line-height: var(--lh-tile); letter-spacing: var(--ls-tile); }
.duo .sub { margin-top: 10px; max-width: 420px; }
.price-pill { position: relative; overflow: hidden; margin-top: auto; display: inline-flex; align-items: baseline; gap: 10px; padding: 22px 34px; border-radius: 28px; background: #fff; box-shadow: 0 24px 50px rgba(24, 122, 76, .16); color: inherit; }
.price-pill:hover { text-decoration: none; }
.price-pill::after { content: ""; position: absolute; z-index: 0; top: -50%; left: -40%; width: 30%; height: 200%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .8), rgba(255, 255, 255, 0)); transform: rotate(20deg); animation: shimmer 4.5s ease-in-out infinite; }
.price-pill b, .price-pill span { position: relative; z-index: 1; }
.price-pill b { flex: none; font-family: var(--fd); font-weight: 600; font-size: clamp(56px, 48px + 1.7vw, 72px); letter-spacing: -0.03em; line-height: 1; color: #187A4C; font-variant-numeric: tabular-nums; }
.price-pill span { font-size: var(--fs-body); color: var(--ink-2-tint); text-align: left; line-height: 1.3; }
@media (max-width: 1100px) { .price-pill { flex-direction: column; align-items: center; gap: 6px; padding: 20px 30px; } .price-pill span { text-align: center; } }

/* Frosted "soon" icons */
.frost { display: flex; gap: clamp(14px, 3vw, 28px); justify-content: center; margin-top: auto; padding-top: 28px; }
.frost figure { margin: 0; text-align: center; }
.frost .fi { position: relative; width: clamp(64px, 9vw, 104px); height: clamp(64px, 9vw, 104px); border-radius: 26%; overflow: hidden; clip-path: inset(0 round 26%); isolation: isolate; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); display: grid; place-items: center; animation: bob 6s ease-in-out infinite; }
.frost figure { filter: drop-shadow(0 16px 24px rgba(80, 60, 160, .16)); }
.frost figure:nth-child(2) .fi { animation-delay: -2s; }
.frost figure:nth-child(3) .fi { animation-delay: -4s; }
.frost .fi::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(255, 255, 255, .32); }
.frost .fi::after { content: ""; position: absolute; top: -50%; left: -60%; width: 40%; height: 200%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); transform: rotate(20deg); animation: shimmer 4s ease-in-out infinite; }
.frost .fi svg { position: relative; z-index: 1; width: 44%; height: 44%; color: #fff; opacity: .9; filter: blur(.4px); }
.frost .l, .app-tile .fi.l { background: linear-gradient(160deg, #C4B6FF, #7158E6); }
.frost .s, .app-tile .fi.s { background: linear-gradient(160deg, #ADD6FF, #3A7BD5); }
.frost .p, .app-tile .fi.p { background: linear-gradient(160deg, #FFC9B2, #E8693F); }
.frost figcaption { margin-top: 10px; font-size: var(--fs-caption); font-weight: 600; color: var(--ink-2-tint); }
@keyframes shimmer { 0%, 60% { left: -60%; } 100% { left: 130%; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Apps page */
.apps-head { padding: clamp(56px, 7vw, 88px) 0 80px; }
.feature-app { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 32px; border-radius: 34px; padding: clamp(32px, 5vw, 64px); min-height: 420px; background: radial-gradient(60% 70% at 85% 50%, #C8F2DF 0%, rgba(200, 242, 223, 0) 70%), linear-gradient(160deg, #E4F8EF, #F6FCF9); color: var(--ink); text-align: left; }
.feature-app:hover { text-decoration: none; }
.feature-app h2 { font-size: var(--fs-tile); line-height: var(--lh-tile); letter-spacing: var(--ls-tile); }
.feature-app .sub { margin-top: 8px; }
.feature-app img.icon { width: 128px; height: 128px; margin-bottom: 20px; filter: drop-shadow(0 14px 26px rgba(24, 122, 76, .28)); }
.feature-app .ctas { justify-content: flex-start; }
.feature-app .mini-panel { transform: rotate(-2deg) scale(1.12); transform-origin: 50% 50%; }
@media (max-width: 760px) {
  .feature-app { grid-template-columns: 1fr; text-align: center; }
  .feature-app .ctas { justify-content: center; }
  .feature-app img.icon { margin: 0 auto 20px; }
  .feature-app .mini-panel { transform: none; }
}
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
@media (max-width: 760px) { .tags { justify-content: center; } }
.tg { font-size: var(--fs-caption); font-weight: 600; padding: 4px 11px; border-radius: 980px; background: rgba(255, 255, 255, .9); color: var(--ink-2-tint); }
.tg.soon { background: #FFF1C9; color: #8A5A00; }
.mini-panel { background: rgba(255, 255, 255, .95); border-radius: 16px; padding: 18px 20px; box-shadow: 0 24px 50px rgba(24, 122, 76, .16); font-size: var(--fs-body); text-align: left; }
.mini-panel .panel-title { font-size: var(--fs-small); }
.mini-panel p { margin: 0 0 8px; }
.mini-panel ins { text-decoration: none; background: rgba(95, 211, 168, .3); color: #187A4C; border-radius: 3px; padding: 0 2px; }
.mini-panel .diff { margin: 0; font-size: var(--fs-small); color: var(--ink-2); }
.ghost-row { margin-top: 20px; border-radius: 34px; padding: clamp(32px, 5vw, 56px); background: linear-gradient(160deg, #EEEAFF, #FFF4EE); text-align: center; }
.ghost-row h2 { font-size: var(--fs-tile); line-height: var(--lh-tile); letter-spacing: var(--ls-tile); }
.ghost-row .lead { margin: 10px auto 0; color: var(--ink-2-tint); }
.ghost-row .frost { margin-top: 0; padding-top: 24px; }

/* FAQ */
.faq { interpolate-size: allow-keywords; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: var(--fs-lead); line-height: 1.35; padding: 22px 44px 22px 0; position: relative; letter-spacing: var(--ls-lead); text-wrap: balance; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 300; color: var(--lav-btn); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); font-size: var(--fs-body); max-width: 620px; }
.faq details > div p:last-child { margin: 0; }
@media (max-width: 640px) { .faq summary { padding: 18px 40px 18px 0; } }

/* Prose / about / support */
.prose { max-width: 660px; margin: 0 auto; }
.prose h1 { font-size: var(--fs-section); line-height: var(--lh-section); letter-spacing: var(--ls-section); margin-bottom: 18px; }
.prose h2 { font-size: var(--fs-tile); line-height: var(--lh-tile); letter-spacing: var(--ls-tile); margin: 1.6em 0 .5em; }
.prose p, .prose li { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--ink); }
.prose p.sub { font-size: var(--fs-sub); line-height: var(--lh-sub); }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 4px 0; }
.page-head { text-align: center; margin: 0 auto 8px; }
.page-head .sub { margin: 14px auto 0; }
.callout { background: var(--gray); border-radius: 24px; padding: 26px 30px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 44px 0; text-align: left; }
@media (max-width: 760px) { .cards3 { grid-template-columns: 1fr; } }
.cards3 a { border-radius: 28px; padding: 30px; color: var(--ink); transition: transform .4s var(--out), box-shadow .4s var(--out); }
.cards3 h2 { font-size: var(--fs-card); line-height: var(--lh-card); letter-spacing: var(--ls-card); margin: 0 0 6px; }
.cards3 p { margin: 0; color: var(--ink-2-tint); font-size: var(--fs-body); }
.about-lead p { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.45; text-align: center; color: var(--ink); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 48px auto 8px; max-width: 912px; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }
.values > div { border-radius: 28px; padding: 30px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .03); }
.values h3 { font-size: var(--fs-card); margin-bottom: 6px; }
.values p { color: var(--ink-2-tint); margin: 0; font-size: var(--fs-body); }

/* About: "Our apps" shelf (driven by the APPS list; frosted placeholders fill it to four) */
.shelf { position: relative; overflow: hidden; margin: clamp(56px, 7vw, 88px) auto 0; max-width: 912px; border-radius: 34px; padding: clamp(40px, 5vw, 64px) clamp(20px, 4vw, 56px) clamp(36px, 4.5vw, 56px); text-align: center;
  background: radial-gradient(50% 60% at 15% 100%, rgba(200, 242, 223, .85) 0%, rgba(200, 242, 223, 0) 70%), radial-gradient(50% 60% at 88% 0%, rgba(255, 216, 201, .8) 0%, rgba(255, 216, 201, 0) 70%), linear-gradient(160deg, #EEEAFF 0%, #F8F4FF 50%, #FFF4EE 100%); }
.shelf h2 { font-size: var(--fs-tile); line-height: var(--lh-tile); letter-spacing: var(--ls-tile); margin: 0; }
.shelf .shelf-sub { margin: 10px auto 0; max-width: 460px; font-size: var(--fs-lead); color: var(--ink-2-tint); }
.shelf-grid { list-style: none; margin: clamp(32px, 4vw, 44px) auto 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); max-width: 820px; }
.shelf-grid li { margin: 0; }
.app-tile { display: flex; flex-direction: column; align-items: center; gap: 2px; height: 100%; padding: 26px 12px 22px; border-radius: 26px; color: var(--ink); text-align: center; transition: transform .4s var(--out), box-shadow .4s var(--out); }
.app-tile.live { background: rgba(255, 255, 255, .92); box-shadow: 0 18px 40px rgba(24, 122, 76, .12); }
.app-tile.ghost { background: rgba(255, 255, 255, .4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75); }
.app-tile-icon, .app-tile .fi { flex: none; width: clamp(72px, 8vw, 96px); height: clamp(72px, 8vw, 96px); margin-bottom: 14px; }
.app-tile-icon img { width: 100%; height: 100%; filter: drop-shadow(0 12px 22px rgba(24, 122, 76, .28)); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.app-tile-name { font-family: var(--fd); font-size: 19px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.2; }
.app-tile-meta { font-size: var(--fs-small); color: var(--ink-2-tint); }
.app-tile .tg { margin-top: 10px; }
.app-tile .fi { position: relative; border-radius: 26%; overflow: hidden; clip-path: inset(0 round 26%); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); animation: bob 6s ease-in-out infinite; }
.app-tile .fi::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(255, 255, 255, .3); }
.app-tile .fi::after { content: ""; position: absolute; top: -50%; left: -60%; width: 40%; height: 200%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); transform: rotate(20deg); animation: shimmer 4s ease-in-out infinite; }
.app-tile .fi svg { position: relative; z-index: 1; width: 44%; height: 44%; color: #fff; opacity: .9; }
.shelf-grid li:nth-child(3) .fi { animation-delay: -2s; }
.shelf-grid li:nth-child(4) .fi { animation-delay: -4s; }
.app-tile.ghost .app-tile-name { color: var(--ink-2-tint); }
.shelf .shelf-cta { display: flex; gap: 6px 30px; justify-content: center; flex-wrap: wrap; margin: 26px 0 0; }
@media (max-width: 760px) { .shelf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 440px; } }

/* Hover lifts only where there is a real pointer (no sticky lift after a tap) */
@media (hover: hover) and (pointer: fine) {
  .bx:hover, .step:hover, .plan:hover, .cards3 a:hover, .app-tile.live:hover { transform: translateY(-4px); }
  .bx:hover, .cards3 a:hover { box-shadow: 0 22px 50px rgba(40, 30, 90, .1); }
  .step:hover { box-shadow: 0 22px 50px rgba(40, 30, 90, .08); }
  .cards3 a:hover, .app-tile.live:hover { text-decoration: none; }
  .app-tile.live:hover { box-shadow: 0 26px 54px rgba(24, 122, 76, .18); }
  .app-tile.live:hover .app-tile-icon img { transform: scale(1.06) rotate(-4deg); }
  .bx:hover .ico, .cards3 a:hover .ico, .values > div:hover .ico { transform: rotate(-8deg) scale(1.08); }
  .bx:hover .key { animation: tap .6s ease 1 both; }
  .bx:hover .key:nth-child(2) { animation-delay: .12s; }
  .bx:hover .key:nth-child(3) { animation-delay: .24s; }
}

/* ---------- Footer ---------- */
.foot { background: linear-gradient(180deg, #fff 0, var(--gray) 48px); padding: 48px 0 calc(28px + 64px + env(safe-area-inset-bottom)); font-size: var(--fs-caption); line-height: 1.33; color: var(--ink-2); }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 22px; }
.foot .brand { font-size: 19px; }
.foot .brand img { width: 40px; height: 40px; border-radius: 10px; }
.foot .tagline { font-family: var(--fd); font-weight: 600; font-size: var(--fs-body); margin-left: 4px; color: var(--lav-btn); }
.foot-links { display: flex; gap: 0 24px; flex-wrap: wrap; font-size: var(--fs-caption); }
.foot-links a { display: inline-flex; align-items: center; min-height: 32px; color: #424245; }
.foot .legal { border-top: 1px solid #D2D2D7; padding-top: 16px; }
.foot .legal p { max-width: 82ch; }
.foot p { margin: 0 0 6px; }
@media (max-width: 640px) {
  .foot-links { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0 22px; }
  .foot-links a { min-height: 44px; }
}
@media (max-width: 400px) { .foot .brand { flex-wrap: wrap; row-gap: 2px; } .foot .tagline { flex-basis: 100%; margin-left: 49px; white-space: nowrap; } }

/* ---------- Background sound toggle (bottom-left, off by default, never autoplays) ---------- */
.snd { position: fixed; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 120; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 12px; border: 1px solid rgba(0, 0, 0, .08); border-radius: 999px; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 6px 24px rgba(60, 50, 120, .14); color: var(--ink); font: 500 13px/1 var(--ft); letter-spacing: -0.01em; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease); }
@media (min-width: 1024px) { .snd { left: calc(24px + env(safe-area-inset-left, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); } }
@media (hover: hover) and (pointer: fine) { .snd:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(60, 50, 120, .18); } }
.snd:focus-visible { outline: 3px solid #7158E6; outline-offset: 3px; }
.snd-ico { position: relative; display: grid; place-items: center; width: 22px; height: 22px; color: #7158E6; }
.snd-ico svg { width: 20px; height: 20px; }
.snd-bars { display: none; align-items: flex-end; gap: 2px; height: 14px; }
.snd-bars i { width: 3px; height: 40%; border-radius: 2px; background: #7158E6; animation: sndbar 1.1s ease-in-out infinite; }
.snd-bars i:nth-child(2) { animation-delay: -.3s; } .snd-bars i:nth-child(3) { animation-delay: -.6s; } .snd-bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes sndbar { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.snd.on, .snd.loading { background: rgba(241, 237, 255, .92); border-color: rgba(113, 88, 230, .35); }
.snd.on .snd-ico svg, .snd.loading .snd-ico svg { display: none; }
.snd.on .snd-bars, .snd.loading .snd-bars { display: flex; }
.snd.loading .snd-bars i { animation: sndload 1s ease-in-out infinite; height: 30%; }
@keyframes sndload { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
.snd.hint { animation: sndhint 2.4s ease-in-out 1.2s 3; }
@keyframes sndhint { 0%, 100% { box-shadow: 0 6px 24px rgba(60, 50, 120, .14); } 50% { box-shadow: 0 0 0 8px rgba(113, 88, 230, .16), 0 6px 24px rgba(60, 50, 120, .14); } }
@media (max-width: 760px) { .snd { width: 44px; padding: 0; justify-content: center; } .snd-label { display: none; } }
@media print { .snd { display: none; } }

/* ---------- Scroll reveal (below the fold only) ---------- */
.js .rv { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--out), transform 1.1s var(--out); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-zoom { opacity: 0; transform: scale(.96); transition: opacity 1.1s var(--out), transform 1.1s var(--out); transition-delay: var(--d, 0s); }
.js .rv-zoom.in { opacity: 1; transform: none; }
@media (max-width: 640px) { .js .rv { transform: translateY(24px); } }

/* Animations pause while their section is off screen (saves battery) */
.off, .off *, .off::before, .off::after, .off *::before, .off *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .rv-zoom, .js .intro { opacity: 1 !important; transform: none !important; }
  .theatre, .pin { height: auto; }
  .theatre .stage, .pin .stage { position: static; height: auto; padding: 60px 0; }
  .js .statement .w { opacity: 1; }
  .ba .a { opacity: 1; transform: none; }
  .ba .b span { background-size: 100% 1.5px; }
  .cove .boat { translate: 620px 380px; rotate: 0deg; }
  .cove .bird { translate: 700px 165px; }
  .cove .bird.b2 { translate: 760px 150px; }
  .cove .bird.b3 { translate: 640px 182px; }
  .cove .cloud.c2 { transform: translateX(900px); }
  .snd-bars i { height: 70%; }
}
.price-pill span { text-wrap: balance; }
/* Phones: the sound button slides away while you scroll down and comes back when you stop or scroll up */
@media (max-width: 760px) { .snd { transition: transform .35s var(--out), opacity .35s var(--out), background-color .2s var(--ease); } .snd.away { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; } }
/* One-field sign-up form */
.notify { max-width: 480px; margin: 28px auto 0; text-align: center; }
.notify-row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .92); border: 1px solid rgba(0, 0, 0, .08); box-shadow: 0 10px 30px rgba(40, 30, 90, .08); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.notify-row:focus-within { border-color: rgba(24, 122, 76, .5); box-shadow: 0 0 0 4px rgba(47, 184, 132, .16), 0 10px 30px rgba(40, 30, 90, .08); }
.notify-row input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; padding: 0 8px 0 16px; font: inherit; font-size: var(--fs-body); color: var(--ink); outline: none; }
.notify-row input::placeholder { color: #86868B; }
.notify-row .pill { flex: none; }
.notify .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notify-fine { margin: 12px 0 0; font-size: var(--fs-small); color: var(--ink-2-tint); }
.notify-msg { margin: 10px 0 0; min-height: 1.4em; font-size: var(--fs-body); font-weight: 600; color: #136440; }
.notify-msg.err { color: #B4233E; }
.notify.done .notify-row { opacity: .55; pointer-events: none; }
.notify.busy .pill { opacity: .7; }
@media (max-width: 420px) { .notify-row { flex-direction: column; border-radius: 26px; padding: 8px; } .notify-row input { height: 48px; text-align: center; padding: 0 12px; } .notify-row .pill { width: 100%; } }
/* Sound control V2: the dock holds the on/off button and a volume slider (shown while sound is on) */
.snd { padding: 0; gap: 0; }
.snd-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border: 0; border-radius: 999px; background: none; color: inherit; font: inherit; cursor: pointer; }
.snd-btn:focus-visible { outline: 3px solid #7158E6; outline-offset: 2px; }
.snd:focus-visible { outline: none; }
.snd-vol { -webkit-appearance: none; appearance: none; width: 0; height: 44px; margin: 0; padding: 0; opacity: 0; background: transparent; cursor: pointer; transition: width .35s var(--out), opacity .25s var(--ease), margin .35s var(--out); }
.snd.on .snd-vol { width: 112px; opacity: 1; margin: 0 16px 0 -4px; }
.snd-vol::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #7158E6 var(--v, 70%), rgba(113, 88, 230, .22) var(--v, 70%)); }
.snd-vol::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(113, 88, 230, .22); }
.snd-vol::-moz-range-progress { height: 4px; border-radius: 4px; background: #7158E6; }
.snd-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: #fff; border: 1px solid rgba(0, 0, 0, .12); box-shadow: 0 2px 6px rgba(40, 30, 90, .25); }
.snd-vol::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 1px solid rgba(0, 0, 0, .12); box-shadow: 0 2px 6px rgba(40, 30, 90, .25); }
.snd-vol:focus-visible { outline: 3px solid #7158E6; outline-offset: 2px; border-radius: 8px; }
@media (max-width: 760px) {
  .snd { width: auto; padding: 0; }
  .snd-btn { width: 42px; padding: 0; justify-content: center; }
  .snd.on .snd-vol { width: 96px; margin: 0 14px 0 -2px; }
}
@media (prefers-reduced-motion: reduce) { .snd-vol { transition: none; } }
/* Logo never squeezes on narrow phones; the whole brand link is a 44px tap target */
.brand img { flex: none; }
.gnav .brand { min-height: 44px; }
/* Sign-up field keeps its full height when the form stacks on phones */
@media (max-width: 420px) { .notify-row input { flex: none; width: 100%; } }
/* Touch screens: comfortable tap targets for small links and the pill CTA */
@media (pointer: coarse) {
  .foot-links a { min-height: 44px; }
  .lnav .right .pill.small { height: 40px; }
}
/* The note under an FAQ waits until the list has slid into place (no overlap while it reveals) */
.js .faq.rv:not(.in) + .fine { opacity: 0; }
.faq + .fine { transition: opacity .6s var(--ease) .5s; }

/* ---------- Shine Mirror (Coral Rose) ---------- */
:root { --rose: #E8706A; --rose-btn: #B8443C; }
.eyebrow.rose { color: var(--rose-btn); }
.grad-rose { background-image: linear-gradient(90deg, #A8392F 0%, #C24A4E 40%, #8A55D6 70%, #C24A4E 85%, #A8392F 100%); }
.pill-rose { background: var(--rose-btn); color: #fff; }
.pill-rose:hover { background: #9A3730; }
.more.rose { color: var(--rose-btn); }
.statement .hl-rose { color: var(--rose-btn); }
.tile-rose { background: radial-gradient(60% 50% at 50% 26%, #FFD9CF 0%, rgba(255, 217, 207, 0) 70%), linear-gradient(180deg, #FFF0EB 0%, #FFF7F9 60%, #FFFFFF 100%); }
.tile-rose::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(3px 3px at 12% 30%, rgba(232, 112, 106, .5), transparent), radial-gradient(2px 2px at 82% 22%, rgba(255, 179, 71, .5), transparent), radial-gradient(3px 3px at 70% 60%, rgba(232, 112, 106, .4), transparent), radial-gradient(2px 2px at 25% 72%, rgba(130, 104, 242, .4), transparent), radial-gradient(2.5px 2.5px at 50% 12%, rgba(255, 210, 90, .6), transparent); animation: rise 14s linear infinite; pointer-events: none; }
.bx-rose { background: linear-gradient(160deg, #FFE6E0 0%, #FFF7F5 100%); }
.ico-rose { background: linear-gradient(160deg, #FFA79A, #C24A4E); box-shadow: 0 8px 18px rgba(194, 74, 78, .32); }
.duo > .rose { background: radial-gradient(70% 50% at 50% 100%, #FFD3C8 0%, rgba(255, 211, 200, 0) 70%), linear-gradient(180deg, #FFF0EB, #FFF9F7); }
.band.rose { background: linear-gradient(135deg, #FFE9E3 0%, #F3EEFF 55%, #FFF3DE 100%); }
.band.rose img { filter: drop-shadow(0 14px 26px rgba(184, 68, 60, .28)); }

/* mirror illustration */
.mirror-art { width: min(560px, 92%); margin: clamp(36px, 5vw, 56px) auto 0; }
.mirror-art svg { width: 100%; height: auto; display: block; overflow: visible; }
.mirror-art .ring { animation: glow 4.5s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes glow { 0%, 100% { opacity: .82; } 50% { opacity: 1; } }
.feature-app.rose .mini-mirror { justify-self: center; width: min(300px, 100%); }
.meet { display: flex; align-items: center; gap: 10px; margin-top: 18px; background: rgba(255, 255, 255, .85); border-radius: 14px; padding: 10px 14px; box-shadow: 0 6px 18px rgba(184, 68, 60, .12); font-size: var(--fs-body); }
.meet i { width: 10px; height: 10px; border-radius: 50%; background: var(--rose); flex: none; }
.meet b { font-weight: 600; }
.meet span { color: #6E6E73; margin-left: auto; white-space: nowrap; }
.kbd-row { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; font-size: var(--fs-body); color: #6E6E73; }
.kbd-row .kbd { margin-right: 4px; }
@media (prefers-reduced-motion: reduce) { .mirror-art .ring { animation: none; } }
.feature-app.rose { background: radial-gradient(60% 70% at 85% 50%, #FFD9CF 0%, rgba(255, 217, 207, 0) 70%), linear-gradient(160deg, #FFEDE8, #FFF8F6); }
.feature-app + .feature-app { margin-top: 24px; }
.plans.two { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { .plans.two { grid-template-columns: 1fr; max-width: 480px; } }
.plan.hot.rose { background: linear-gradient(170deg, #FFE6E0 0%, #FFFFFF 60%); box-shadow: 0 0 0 2px var(--rose), 0 24px 50px rgba(184, 68, 60, .14); }
.plan.hot.rose .tag { background: var(--rose-btn); }
.plan.hot.rose li svg { color: var(--rose-btn); }
.cards3.four { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .cards3.four { grid-template-columns: 1fr; } }
.steps.rose .step::before { background: linear-gradient(160deg, #FFA79A, #C24A4E); box-shadow: 0 8px 18px rgba(194, 74, 78, .32); }
.plans.two li svg { color: var(--rose-btn); }
.tile-mint + .tile-rose { background: radial-gradient(60% 40% at 50% 34%, #FFD9CF 0%, rgba(255, 217, 207, 0) 70%), linear-gradient(180deg, #FFFFFF 0%, #FFF3EF 28%, #FFF7F9 70%, #FFFFFF 100%); }
.feature-app.rose .mini-mirror { width: min(360px, 100%); }

/* ---------- Apps grid (one card per app, side by side) ---------- */
.wrap.wide { max-width: 1200px; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1020px) {
  .app-grid { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 max(24px, env(safe-area-inset-left)); margin: 0 calc(-1 * max(24px, env(safe-area-inset-left))); padding: 6px max(24px, env(safe-area-inset-left)) 18px; scrollbar-width: none; }
  .app-grid::-webkit-scrollbar { display: none; }
  .app-grid > .app-card { flex: 0 0 min(360px, 78vw); scroll-snap-align: start; }
}
.app-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; border-radius: 32px; padding: 34px 30px 0; min-height: 520px; overflow: hidden; color: var(--ink); isolation: isolate; transition: transform .5s var(--out), box-shadow .5s var(--out); }
.app-card:hover { text-decoration: none; transform: translateY(-6px); box-shadow: 0 30px 60px rgba(29, 29, 47, .10); }
.app-card .icon { width: 88px; height: 88px; display: block; margin: 0 0 22px -4px; transition: transform .6s var(--out); }
.app-card .icon.svg-icon svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 10px 18px rgba(170, 120, 0, .28)); }
.app-card:hover .icon { transform: rotate(-6deg) scale(1.06); }
.app-card h2 { font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.02em; }
.app-card .sub { margin-top: 10px; font-size: var(--fs-body); line-height: 1.45; color: var(--ink-2); max-width: 32ch; min-height: 4.35em; }
.app-card .tags { margin-top: 18px; }
.app-card .more { margin-top: 16px; font-weight: 500; }
.app-card .card-art { margin-top: auto; width: 100%; padding: 28px 0 0; display: flex; justify-content: center; align-items: flex-end; min-height: 190px; }
.app-card.mint { background: radial-gradient(80% 60% at 70% 100%, #C8F2DF 0%, rgba(200, 242, 223, 0) 70%), linear-gradient(170deg, #E9F9F1, #F6FCF9); }
.app-card.rose { background: radial-gradient(80% 60% at 70% 100%, #FFD9CF 0%, rgba(255, 217, 207, 0) 70%), linear-gradient(170deg, #FFEFEA, #FFF8F6); }
.app-card.sun { background: radial-gradient(80% 60% at 70% 100%, #FFE9A8 0%, rgba(255, 233, 168, 0) 70%), linear-gradient(170deg, #FFF6DC, #FFFBEF); }
.app-card.lav { background: linear-gradient(170deg, #EEEAFF, #FAF8FF); }
.more.sun { color: #8A5A00; }
.app-card .card-art .mini-panel { width: 100%; max-width: 330px; transform: rotate(-2deg) translateY(10px); border-radius: 18px 18px 0 0; padding-bottom: 26px; box-shadow: 0 -10px 40px rgba(24, 122, 76, .12); transition: transform .6s var(--out); }
.app-card:hover .card-art .mini-panel { transform: rotate(0deg) translateY(4px); }
.app-card .card-art .mini-mirror { width: 100%; max-width: 330px; margin-bottom: -40px; transition: transform .6s var(--out); }
.app-card:hover .card-art .mini-mirror { transform: translateY(-8px); }
.app-card .card-art:has(.mini-hud) { flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 36px; }
.mini-hud { display: flex; align-items: center; gap: 12px; background: rgba(30, 30, 34, .82); backdrop-filter: blur(14px); color: #fff; border-radius: 999px; padding: 10px 18px 10px 10px; box-shadow: 0 18px 40px rgba(120, 80, 0, .22); width: min(300px, 100%); transition: transform .6s var(--out); }
.app-card:hover .mini-hud { transform: scale(1.04); }
.mini-hud .ring { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #FFCB45; display: grid; place-items: center; flex: none; }
.mini-hud .ring svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.mini-hud .bar { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.mini-hud .bar i { display: block; height: 100%; border-radius: 3px; background: #FFCB45; animation: hudbar 3.6s ease-in-out infinite alternate; }
@keyframes hudbar { from { width: 40%; } to { width: 82%; } }
.mini-hud b { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; min-width: 34px; text-align: right; }
.hud-hint { margin: 14px 0 0; font-size: var(--fs-small); color: #8A5A00; font-weight: 500; }
.app-grid + .ghost-row { margin-top: 22px; }
@media (max-width: 640px) { .app-card { min-height: 0; padding: 30px 24px 0; } .app-card .card-art { min-height: 150px; } }
@media (prefers-reduced-motion: reduce) { .mini-hud .bar i { animation: none; } .app-card, .app-card .icon { transition: none; } }
@media (max-width: 640px) { .app-card .sub { min-height: 0; } }
.js .app-card.rv-zoom.in:hover { transform: translateY(-6px); }
@media (max-width: 1020px) { .js .app-grid .app-card.rv-zoom { opacity: 1; transform: none; } .app-card:hover { transform: none; } }

/* ---------- Per-app theme from the registry (no per-app CSS needed) ----------
   Each app sets --a (accent), --at (text-safe), --tint and --glow on <body> or on its card. */
.eyebrow.app, .more.app, .statement .hl-app { color: var(--at); }
.grad-app { background-image: linear-gradient(90deg, var(--at) 0%, color-mix(in srgb, var(--at) 72%, #8A55D6) 45%, color-mix(in srgb, var(--at) 55%, #4F8FEA) 70%, var(--at) 100%); }
.pill-app { background: var(--at); color: #fff; }
.pill-app:hover { background: color-mix(in srgb, var(--at) 85%, #000); }
.tile-app { background: radial-gradient(60% 50% at 50% 26%, var(--glow) 0%, transparent 70%), linear-gradient(180deg, var(--tint) 0%, color-mix(in srgb, var(--tint) 40%, #fff) 60%, #FFFFFF 100%); }
.tile-app::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(3px 3px at 12% 30%, color-mix(in srgb, var(--a) 55%, transparent), transparent), radial-gradient(2px 2px at 82% 22%, rgba(255, 179, 71, .5), transparent), radial-gradient(3px 3px at 70% 60%, color-mix(in srgb, var(--a) 45%, transparent), transparent), radial-gradient(2px 2px at 25% 72%, rgba(130, 104, 242, .4), transparent), radial-gradient(2.5px 2.5px at 50% 12%, rgba(255, 210, 90, .6), transparent); animation: rise 14s linear infinite; pointer-events: none; }
.tile-app .eyebrow { margin-bottom: 18px; }
.bx-app { background: linear-gradient(160deg, color-mix(in srgb, var(--glow) 70%, #fff) 0%, color-mix(in srgb, var(--tint) 50%, #fff) 100%); }
.ico-app { background: linear-gradient(160deg, color-mix(in srgb, var(--a) 55%, #fff), var(--at)); box-shadow: 0 8px 18px color-mix(in srgb, var(--at) 32%, transparent); }
.band.app { background: linear-gradient(135deg, var(--tint) 0%, #F3EEFF 55%, #FFF3DE 100%); }
.band.app img { filter: drop-shadow(0 14px 26px color-mix(in srgb, var(--at) 28%, transparent)); }
.plan.hot.app { background: linear-gradient(170deg, var(--tint) 0%, #FFFFFF 60%); box-shadow: 0 0 0 2px var(--a), 0 24px 50px color-mix(in srgb, var(--at) 14%, transparent); }
.plan.hot.app .tag { background: var(--at); }
.plans.app li svg { color: var(--at); }
.steps.app .step::before { background: linear-gradient(160deg, color-mix(in srgb, var(--a) 55%, #fff), var(--at)); box-shadow: 0 8px 18px color-mix(in srgb, var(--at) 32%, transparent); }
.app-card.app { background: radial-gradient(80% 60% at 70% 100%, var(--glow) 0%, transparent 70%), linear-gradient(170deg, var(--tint), color-mix(in srgb, var(--tint) 35%, #fff)); }
.app-card .card-art .big-icon img { width: 150px; height: 150px; margin-bottom: 30px; filter: drop-shadow(0 18px 30px color-mix(in srgb, var(--at) 25%, transparent)); transition: transform .6s var(--out); }
.app-card:hover .card-art .big-icon img { transform: translateY(-6px) rotate(-4deg); }
.hud-art { margin: clamp(36px, 5vw, 56px) auto 0; display: flex; flex-direction: column; align-items: center; }
.hud-art .mini-hud { width: min(420px, 90%); transform: scale(1.15); }
.notify .pill-app { white-space: nowrap; }

/* ---------- Browse all apps: search, filters, sort, compact grid ---------- */
.browse { margin-top: 64px; }
.browse-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.browse-head h2 { font-size: var(--fs-tile, 40px); letter-spacing: -.02em; }
.browse-head .count { color: var(--ink-2); font-size: var(--fs-body); }
.browse-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 22px; }
.browse-tools .search input { width: min(320px, 100%); height: 44px; border-radius: 22px; border: 1px solid var(--line); padding: 0 18px 0 42px; font: inherit; font-size: var(--fs-body); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6E73' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E") no-repeat 15px 50% / 18px; color: var(--ink); }
.browse-tools .search input:focus { outline: none; border-color: var(--lav-btn, #8268F2); box-shadow: 0 0 0 4px rgba(130, 104, 242, .15); }
.browse-tools .filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.browse-tools .sort { margin-left: auto; }
.browse-tools .sort select { height: 44px; border-radius: 22px; border: 1px solid var(--line); padding: 0 36px 0 16px; font: inherit; font-size: var(--fs-body); background: #fff; color: var(--ink); appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6E73' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.tile-s { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px; border-radius: 22px; background: linear-gradient(160deg, var(--tint), #fff 80%); color: var(--ink); transition: transform .4s var(--out), box-shadow .4s var(--out); }
.tile-s:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(29, 29, 47, .08); }
.tile-s img { grid-row: span 2; width: 64px; height: 64px; }
.tile-s .t { display: flex; flex-direction: column; min-width: 0; }
.tile-s .t b { font-weight: 600; font-size: 17px; }
.tile-s .t span { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; }
.tile-s .m { font-size: 12px; color: var(--at); font-weight: 600; margin-top: 6px; }
.browse .empty { color: var(--ink-2); text-align: center; padding: 30px 0; }
.apps-home { padding-top: clamp(60px, 8vw, 100px); }
.help-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.help-chips a { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .85); border-radius: 999px; padding: 6px 12px 6px 6px; font-size: var(--fs-small); font-weight: 500; color: var(--ink); min-height: 40px; }
.help-chips a img { width: 28px; height: 28px; }
@media (max-width: 640px) { .browse-tools .sort { margin-left: 0; } .browse-tools .search, .browse-tools .search input { width: 100%; } .tile-grid { grid-template-columns: 1fr; } }
.cove:has(+ .tile-app)::after { background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--tint) 60%, transparent) 55%, var(--tint) 100%); }
.cove + .tile-app { background: radial-gradient(60% 35% at 50% 42%, var(--glow) 0%, transparent 70%), linear-gradient(180deg, var(--tint) 0%, color-mix(in srgb, var(--tint) 40%, #fff) 60%, #FFFFFF 100%); }
.chip { height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: var(--fs-small); font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: #C9C9CF; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip:focus-visible, .browse-tools select:focus-visible { outline: 3px solid rgba(130, 104, 242, .45); outline-offset: 2px; }
.tg.new { background: #E2F7EE; color: #145F3C; }
@media (max-width: 640px) { .browse-tools .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -24px; padding: 2px 24px; } .browse-tools .filters::-webkit-scrollbar { display: none; } .chip { flex: none; } }

.cards3 .apphelp { border-radius: 28px; padding: 30px; color: var(--ink); transition: transform .4s var(--out), box-shadow .4s var(--out); }

/* Home feature slider: newest apps in turn (colours glide between apps) */
@property --a { syntax: '<color>'; inherits: true; initial-value: #8268F2; }
@property --at { syntax: '<color>'; inherits: true; initial-value: #5B43C9; }
@property --tint { syntax: '<color>'; inherits: true; initial-value: #F3F0FF; }
@property --glow { syntax: '<color>'; inherits: true; initial-value: #E4DCFF; }
.cove:has(+ .feat-slider), .feat-slider { transition: --a .9s ease, --at .9s ease, --tint .9s ease, --glow .9s ease; }
.feat-slider .slides { display: grid; position: relative; z-index: 1; touch-action: pan-y; }
.feat-slider .slide { grid-area: 1 / 1; align-self: start; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.985); transition: opacity .6s var(--out), transform .9s var(--out), visibility 0s linear .6s; }
.feat-slider .slide.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .8s var(--out) .12s, transform 1s var(--out) .12s, visibility 0s; }
.feat-slider .slide .app-icon { animation: float 6s ease-in-out infinite; }
.slider-ctl { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: clamp(24px, 4vw, 40px); }
.slider-dots { display: flex; align-items: center; padding: 0 6px; border-radius: 999px; background: color-mix(in srgb, var(--tint) 55%, rgba(255, 255, 255, .75)); box-shadow: 0 6px 18px rgba(29, 29, 47, .06), inset 0 0 0 1px rgba(29, 29, 47, .05); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.slider-dots button { height: 44px; min-width: 44px; padding: 0 4px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; border-radius: 999px; }
.slider-dots button span { position: relative; display: block; width: 8px; height: 8px; border-radius: 999px; overflow: hidden; background: color-mix(in srgb, var(--at) 32%, transparent); transition: width .5s var(--out), background .3s; }
.slider-dots button:hover span { background: color-mix(in srgb, var(--at) 55%, transparent); }
.slider-dots button[aria-current="true"] span { width: 40px; background: color-mix(in srgb, var(--at) 20%, transparent); }
.slider-dots button span i { position: absolute; inset: 0; background: var(--at); border-radius: inherit; transform: scaleX(0); transform-origin: left center; }
.slider-dots button:not([aria-current="true"]) span i { transform: scaleX(0) !important; }
.slider-play { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: var(--at); background: color-mix(in srgb, var(--tint) 55%, rgba(255, 255, 255, .75)); box-shadow: 0 6px 18px rgba(29, 29, 47, .06), inset 0 0 0 1px rgba(29, 29, 47, .05); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .3s var(--out); }
.slider-play:hover { transform: scale(1.06); }
.slider-play svg { width: 16px; height: 16px; }
.slider-play .i-play, .feat-slider.paused .slider-play .i-pause { display: none; }
.feat-slider.paused .slider-play .i-play { display: block; }
.slider-dots button:focus-visible, .slider-play:focus-visible { outline: 2px solid var(--at); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .feat-slider .slide, .feat-slider .slide.is-on { transform: none; transition: opacity .2s linear, visibility 0s; }
  .cove:has(+ .feat-slider), .feat-slider { transition: none; }
  .feat-slider .slide .app-icon { animation: none; }
}

/* Living previews: Shine Mirror scene (9s) and DragTune scene (10s). Restart via .play, pause via .paused */
.anim .mw, .anim .mi, .anim .mc, .anim .mh { transform-box: view-box; }
.anim .mw { transform-origin: 402px 14px; }
.anim.play .mw { animation: m-win 9s var(--out) infinite; }
.anim.play .mi { animation: m-icon 9s linear infinite; }
.anim.play .mc { animation: m-cur 9s cubic-bezier(.45, 0, .25, 1) infinite; }
svg.anim.play .ring { animation: m-ring 9s ease-in-out infinite; }
.anim.play .mdim { animation: m-dim 9s ease-in-out infinite; }
.anim.play .msun { animation: m-sun 9s linear infinite; }
.anim.play .mh { animation: m-head 9s cubic-bezier(.45, 0, .25, 1) infinite; }
.anim.play .mg { animation: m-guide 9s ease-in-out infinite; }
.anim.play .mf { animation: m-flash 9s ease-out infinite; }
.anim.play .ms { animation: m-toast 9s var(--out) infinite; }
.anim.play .mr { animation: m-rec 9s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes m-win { 0%, 12% { transform: scale(.04); opacity: 0; } 13% { opacity: 1; } 21% { transform: scale(1); } 82% { transform: scale(1); opacity: 1; } 89%, 100% { transform: scale(.04); opacity: 0; } }
@keyframes m-icon { 0%, 11% { opacity: 0; } 12%, 84% { opacity: .9; } 88%, 100% { opacity: 0; } }
@keyframes m-cur { 0% { transform: translate(330px, 330px); opacity: 0; } 3% { opacity: 1; } 11%, 13% { transform: translate(400px, 15px); } 24%, 30% { transform: translate(272px, 120px); } 50%, 60% { transform: translate(302px, 120px); } 74% { transform: translate(470px, 300px); opacity: 1; } 78%, 100% { transform: translate(470px, 300px); opacity: 0; } }
@keyframes m-ring { 0%, 27% { opacity: .12; } 34%, 86% { opacity: 1; } 90%, 100% { opacity: .12; } }
@keyframes m-dim { 0%, 27% { opacity: .5; } 35%, 89% { opacity: 0; } 92%, 100% { opacity: .5; } }
@keyframes m-sun { 0%, 27% { opacity: 0; } 29%, 84% { opacity: .28; } 88%, 100% { opacity: 0; } }
@keyframes m-head { 0%, 36% { transform: translate(-26px, 10px) rotate(0deg); } 47%, 89% { transform: translate(0, 0); } 92%, 100% { transform: translate(-26px, 10px); } }
@keyframes m-guide { 0%, 35% { opacity: 0; } 39%, 50% { opacity: 1; } 55%, 100% { opacity: 0; } }
@keyframes m-flash { 0%, 61% { opacity: 0; } 62% { opacity: .9; } 68%, 100% { opacity: 0; } }
@keyframes m-toast { 0%, 63% { opacity: 0; transform: translateY(8px); } 66%, 78% { opacity: 1; transform: none; } 82%, 100% { opacity: 0; } }
@keyframes m-rec { 0%, 59% { transform: scale(1); } 60% { transform: scale(.55); } 62% { transform: scale(1.35); } 66%, 100% { transform: scale(1); } }

.hud-art { margin: clamp(36px, 5vw, 56px) auto 0; position: relative; width: min(560px, 92%); }
@property --p { syntax: '<integer>'; inherits: true; initial-value: 64; }
.hud-scene { --p: 64; }
.hs-screen { position: relative; aspect-ratio: 560 / 320; border-radius: clamp(16px, 3vw, 26px); overflow: hidden; background: linear-gradient(135deg, #C9C0F6 0%, #E9CDE6 55%, #FFD2BE 100%); box-shadow: 0 30px 60px rgba(120, 80, 0, .16), inset 0 0 0 1px rgba(255, 255, 255, .5); container-type: inline-size; }
.hs-bar { position: absolute; inset: 0 0 auto; height: 9.4cqw; max-height: 30px; min-height: 20px; display: flex; align-items: center; gap: 3.4cqw; padding: 0 3.2cqw; background: rgba(255, 255, 255, .6); font-size: clamp(9px, 2.3cqw, 12.5px); color: #1D1D1F; }
.hs-bar i { flex: 1; }
.hs-win { position: absolute; background: rgba(255, 255, 255, .78); border-radius: 2.4cqw; box-shadow: 0 10px 30px rgba(60, 40, 90, .12); padding: 3cqw 3cqw 0; display: flex; flex-direction: column; gap: 1.6cqw; }
.hs-win span { display: block; height: 1.6cqw; border-radius: 1cqw; background: rgba(29, 29, 31, .1); }
.hs-win span:first-child { width: 40%; background: rgba(29, 29, 31, .18); }
.hs-win.w1 { left: 7%; top: 19%; width: 38%; height: 50%; }
.hs-win.w2 { right: 8%; top: 26%; width: 30%; height: 34%; }
.hs-dim { position: absolute; inset: 0; background: #1B1530; opacity: 0; pointer-events: none; }
.hs-hud { position: absolute; left: 50%; bottom: 12%; width: min(300px, 62%) !important; transform: translateX(-50%); padding: 1.8cqw 3.2cqw 1.8cqw 1.8cqw; gap: 2.2cqw; }
.hs-hud .ring { position: relative; width: clamp(28px, 7cqw, 38px); height: clamp(28px, 7cqw, 38px); }
.hs-hud .ring svg { position: absolute; inset: 0; margin: auto; width: 55%; height: 55%; }
.hs-hud .i-vol { opacity: 0; }
.hs-hud .bar i { animation: none; width: 100%; transform: scaleX(calc(var(--p) / 100)); transform-origin: left center; }
.hs-hud b { counter-reset: p var(--p); font-size: clamp(11px, 2.6cqw, 14px); }
.hs-hud b::after { content: counter(p) "%"; }
.hs-cur { position: absolute; left: 52%; top: 52%; width: clamp(12px, 2.8cqw, 16px); opacity: 0; }
.hs-cur svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .2)); }
.hs-press-old { position: absolute; left: 0; top: 0; width: 10cqw; height: 10cqw; margin: -5cqw 0 0 -5cqw; border-radius: 50%; border: 3px solid #FFCB45; background: rgba(255, 203, 69, .18); transform: scale(0); opacity: 0; }
.hud-scene .hud-hint { text-align: center; }

/* pause: slider button or the small control under a preview */
.feat-slider.paused .anim, .feat-slider.paused .anim *, .anim.paused, .anim.paused * { animation-play-state: paused !important; }
.art-ctl { position: absolute; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(30, 30, 34, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); z-index: 2; }
.hud-art .art-ctl { bottom: calc(10px + 2.6em); }
.art-ctl svg { width: 16px; height: 16px; }
.art-ctl .i-play, .art-ctl[aria-pressed="true"] .i-pause { display: none; }
.art-ctl[aria-pressed="true"] .i-play { display: block; }
.art-ctl:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.mirror-art { position: relative; }
@media (prefers-reduced-motion: reduce) {
  .anim.play, .anim.play * { animation: none !important; }
  .art-ctl { display: none; }
}
.hud-art .hs-hud { transform: translateX(-50%); }
.hud-art .hud-scene { width: 100%; }

/* DragTune scene V2 (12s): hold until the ring fills, left/right = brightness, up/down = volume */
@property --r { syntax: '<number>'; inherits: true; initial-value: 100; }
.hs-knob { position: absolute; left: 50%; top: 50%; width: clamp(46px, 13cqw, 72px); aspect-ratio: 1; margin: calc(clamp(46px, 13cqw, 72px) / -2) 0 0 calc(clamp(46px, 13cqw, 72px) / -2); border-radius: 50%; padding: clamp(3px, .8cqw, 4px); background: conic-gradient(#FFCB45 calc(var(--r) * 1%), rgba(255, 255, 255, .22) 0); box-shadow: 0 14px 30px rgba(40, 30, 0, .25); opacity: 0; }
.hs-knob .core { position: relative; width: 100%; height: 100%; border-radius: 50%; background: rgba(30, 30, 34, .88); }
.hs-knob .core svg { position: absolute; inset: 0; margin: auto; width: 50%; height: 50%; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hs-knob .i-sun, .hs-knob .i-vol { opacity: 0; }
.hs-knob .i-vol path:first-child { fill: #fff; }
.hs-hud .i-vol path:first-child { fill: none; }
.hk { position: absolute; display: flex; align-items: center; gap: 2px; padding: 3px 7px; border-radius: 999px; background: rgba(30, 30, 34, .72); color: #FFCB45; font-size: clamp(9px, 2.2cqw, 12px); font-weight: 700; line-height: 1; white-space: nowrap; opacity: 0; }
.hk svg { flex: none; width: 1.1em; height: 1.1em; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.hk.k-u svg path, .hk.k-d svg path { fill: #fff; stroke: none; }
.hk.k-l { right: calc(100% + 8px); top: 50%; transform: translateY(-50%); }
.hk.k-r { left: calc(100% + 8px); top: 50%; transform: translateY(-50%); }
.hk.k-u { bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); }
.hk.k-d { top: calc(100% + 8px); left: 50%; transform: translateX(-50%); }
.hud-scene .hs-hud { bottom: 7%; }
.hud-scene .hs-cur { z-index: 3; }
.hud-scene.play { animation: e-val 12s ease-in-out infinite; }
.hud-scene.play .hs-cur { animation: e-cur 12s cubic-bezier(.45, 0, .25, 1) infinite; }
.hud-scene.play .hs-knob { animation: e-knob 12s var(--out) infinite, e-ring 12s linear infinite; }
.hud-scene.play .hs-knob .i-arr { animation: e-arr 12s linear infinite; }
.hud-scene.play .hs-knob .i-sun { animation: e-ksun 12s linear infinite; }
.hud-scene.play .hs-knob .i-vol { animation: e-kvol 12s linear infinite; }
.hud-scene.play .k-l, .hud-scene.play .k-r { animation: e-hl 12s linear infinite; }
.hud-scene.play .k-u, .hud-scene.play .k-d { animation: e-hs 12s linear infinite; }
.hud-scene.play .hs-hud { animation: e-hud 12s var(--out) infinite; }
.hud-scene.play .hs-dim { animation: e-dim 12s ease-in-out infinite; }
.hud-scene.play .hs-hud .i-sun { animation: e-hsun 12s linear infinite; }
.hud-scene.play .hs-hud .i-vol { animation: e-hvol 12s linear infinite; }
.hud-scene.play .i-vol .w2 { animation: e-w2 12s linear infinite; }
@keyframes e-val { 0%, 19% { --p: 50; } 31% { --p: 92; } 42%, 50% { --p: 28; } 52%, 64.5% { --p: 40; } 75% { --p: 88; } 86%, 100% { --p: 18; } }
@keyframes e-cur { 0% { left: 34%; top: 84%; opacity: 0; } 3% { opacity: 1; } 6%, 19% { left: 50%; top: 50%; } 31% { left: 74%; top: 50%; } 42%, 44% { left: 30%; top: 50%; } 50%, 64.5% { left: 50%; top: 50%; } 75% { left: 50%; top: 22%; } 86%, 88% { left: 50%; top: 66%; } 95% { left: 70%; top: 82%; opacity: 1; } 98%, 100% { left: 70%; top: 82%; opacity: 0; } }
@keyframes e-knob { 0%, 6% { opacity: 0; transform: scale(.6); } 9%, 43% { opacity: 1; transform: scale(1); } 46%, 52% { opacity: 0; transform: scale(.85); } 54%, 87% { opacity: 1; transform: scale(1); } 90%, 100% { opacity: 0; transform: scale(.85); } }
@keyframes e-ring { 0%, 7% { --r: 0; } 16%, 45% { --r: 100; } 47%, 53% { --r: 0; } 62%, 100% { --r: 100; } }
@keyframes e-arr { 0%, 15.9% { opacity: 0; } 16.5%, 19% { opacity: 1; } 20%, 61.9% { opacity: 0; } 62.5%, 64.5% { opacity: 1; } 65.5%, 100% { opacity: 0; } }
@keyframes e-ksun { 0%, 19% { opacity: 0; } 20%, 46% { opacity: 1; } 47%, 100% { opacity: 0; } }
@keyframes e-kvol { 0%, 64.5% { opacity: 0; } 65.5%, 89% { opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes e-hl { 0%, 15.9% { opacity: 0; } 17%, 42% { opacity: 1; } 44%, 61.9% { opacity: 0; } 63%, 64.5% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes e-hs { 0%, 15.9% { opacity: 0; } 17%, 19% { opacity: 1; } 21%, 61.9% { opacity: 0; } 63%, 86% { opacity: 1; } 88%, 100% { opacity: 0; } }
@keyframes e-hud { 0%, 19% { opacity: 0; transform: translateX(-50%) scale(.92); } 21%, 43% { opacity: 1; transform: translateX(-50%) scale(1); } 46%, 64.5% { opacity: 0; transform: translateX(-50%) scale(.94); } 66.5%, 87% { opacity: 1; transform: translateX(-50%) scale(1); } 90%, 100% { opacity: 0; transform: translateX(-50%) scale(.92); } }
@keyframes e-dim { 0%, 19% { opacity: .22; } 31% { opacity: 0; } 42%, 94% { opacity: .44; } 100% { opacity: .22; } }
@keyframes e-hsun { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes e-hvol { 0%, 55% { opacity: 0; } 56%, 100% { opacity: 1; } }
@keyframes e-w2 { 0%, 68% { opacity: 0; } 70%, 81% { opacity: 1; } 83%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hs-knob { opacity: 1; } .hs-knob .i-arr { opacity: 1; } .hk { opacity: 1; } }
