/* xStash website: one stylesheet for every page.
   Colours come from the apps (apps/ios/App/Stash/Sources/Theme.swift); light or dark follows the visitor.
   Two ideas carry the site. Sealed things are a lattice of dots; things a person can read are ink and blue.
   And MoMo, the keeper, who shows up wherever something is kept, hidden, carried or refused.
   App screens are live HTML drawn at the app's real size and scaled as one piece (.dev > .dv), never pictures.
   The live site sends "style-src 'self'" with no inline styles allowed: nothing here may rely on a style
   attribute, and the scripts only ever set styles through the CSSOM. */

/* fonts:start (served from this site; the shared concept page swaps this block for a font link) */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap; src: url("fonts/bricolage-grotesque-v9-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: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap; src: url("fonts/bricolage-grotesque-v9-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/geist-v5-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: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/geist-v5-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fonts/geist-mono-v6-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: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fonts/geist-mono-v6-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* fonts:end */

:root {
  color-scheme: light;
  --bg: #F1F3F7; --bg-2: #E8EBF2; --surface: #FFFFFF; --surface-2: #E7EAF1; --line: #D9DEE9;
  --fg: #15161C; --fg-2: #555A6E; --fg-3: #8A8FA3; --sealed: #8E94A8;
  --accent: #2B62E8; --accent-ink: #FFFFFF;
  --good: #14845A; --bad: #CF3A4C;
  --fur: #7F9DFF; --face: #FFF8F0; --eye: #15161C; --blush: #FF9FB2; --keyc: #15161C;
  --viz-mute: #B4BACB;
  --shadow: 0 30px 60px -28px rgba(21,22,28,.35); --noise: .2; --glow-k: 15%;
  --accent-soft: color-mix(in srgb, var(--accent) 12%, transparent);
  --good-soft: color-mix(in srgb, var(--good) 13%, transparent);
  --bad-soft: color-mix(in srgb, var(--bad) 11%, transparent);
  --fur-2: color-mix(in oklab, var(--fur) 76%, #0c1550);
  --dot: color-mix(in srgb, var(--fg) 15%, transparent);
  --glow: color-mix(in srgb, var(--accent) var(--glow-k), transparent);
  --glow-2: color-mix(in srgb, var(--good) var(--glow-k), transparent);
  --viz-track: color-mix(in srgb, var(--accent) 15%, var(--surface));
  --glass: color-mix(in srgb, var(--surface) 76%, transparent);
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Geist", "Roboto", "Segoe UI", sans-serif;
  --r-sm: 10px; --r-md: 16px; --r-lg: 26px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px)); --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.22,.8,.24,1);
  --hdr: 68px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0A0A0E; --bg-2: #101117; --surface: #16171D; --surface-2: #24262F; --line: #2B2D39;
  --fg: #F5F6F9; --fg-2: #9EA2B0; --fg-3: #6C7080; --sealed: #7C8296;
  --accent: #7AA7FF; --accent-ink: #0A0F1E;
  --good: #4FD1A1; --bad: #FF7B88;
  --fur: #8FB0FF; --face: #FFF8F0; --eye: #15161C; --blush: #FF9FB2; --keyc: #FFFFFF;
  --viz-mute: #4D5263;
  --shadow: 0 30px 70px -28px rgba(0,0,0,.8); --noise: .24; --glow-k: 22%;
  color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0A0A0E; --bg-2: #101117; --surface: #16171D; --surface-2: #24262F; --line: #2B2D39;
  --fg: #F5F6F9; --fg-2: #9EA2B0; --fg-3: #6C7080; --sealed: #7C8296;
  --accent: #7AA7FF; --accent-ink: #0A0F1E;
  --good: #4FD1A1; --bad: #FF7B88;
  --fur: #8FB0FF; --face: #FFF8F0; --eye: #15161C; --blush: #FF9FB2; --keyc: #FFFFFF;
  --viz-mute: #4D5263;
  --shadow: 0 30px 70px -28px rgba(0,0,0,.8); --noise: .24; --glow-k: 22%;
  color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.03em; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(30px, 4.5vw, 54px); line-height: 1.04; font-weight: 650; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--fg-2); max-width: 60ch; }
.mono { font-family: var(--font-mono); }
.mut { color: var(--fg-2); }
.band { background: var(--bg-2); }
.sec { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.sec-head { display: grid; gap: 18px; max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 90; background: var(--surface); color: var(--fg); padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.soon { display: inline-flex; align-items: center; gap: 7px; width: fit-content; padding: 5px 10px; border-radius: 99px; border: 1px dashed color-mix(in srgb, var(--fg) 28%, transparent); font: 500 12.5px/1.2 var(--font-body); color: var(--fg-2); white-space: nowrap; }
.rel { position: relative; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px; font: 600 15px/1 var(--font-body); text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; transition: transform .2s var(--ease), border-color .2s, background .2s; }
.btn:hover { border-color: var(--fg-3); }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn.primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--fg)); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn.sm { padding: 9px 14px; font-size: 13.5px; }
.btn.center { justify-content: center; }
.btn[disabled] { opacity: .55; cursor: default; }

/* Blocks that arrive once when they scroll into view. Only with scripts, so nothing stays hidden without them. */
.js .rv { opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* The lattice as a backfill: sealed dots on a triangle grid, with a slow light drifting under them. */
.lat { position: relative; isolation: isolate; overflow: hidden; }
.lat::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, var(--dot) 1.1px, transparent 1.7px), radial-gradient(circle, var(--dot) 1.1px, transparent 1.7px);
  background-size: 24px 41.57px; background-position: 0 0, 12px 20.785px;
  -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.lat::after { content: ""; position: absolute; z-index: -2; pointer-events: none; width: 70vmax; height: 70vmax; left: -18vmax; top: -22vmax; border-radius: 50%; filter: blur(48px);
  background: radial-gradient(closest-side, var(--glow), transparent 92%), radial-gradient(closest-side at 74% 68%, var(--glow-2), transparent 92%); animation: drift 26s ease-in-out infinite; }
.lat.right::after { left: auto; right: -20vmax; top: auto; bottom: -26vmax; animation-duration: 31s; animation-direction: reverse; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 30% { transform: translate(9%, 5%) scale(1.07); } 62% { transform: translate(-5%, 9%) scale(.95); } }

/* The thread: one line down the page that the scroll lights. */
.thread-host { position: relative; }
.thread { position: absolute; left: calc(50% - 622px); top: 0; bottom: 0; width: 2px; background: var(--line); }
.thread::after { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: var(--lit, 0%); background: linear-gradient(var(--accent), var(--good)); }
.thread i { position: absolute; left: -4px; top: var(--lit, 0%); width: 10px; height: 10px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 5px var(--good-soft); translate: 0 -50%; }
@media (max-width: 1290px) { .thread { display: none; } }

/* ---------- Header: a floating glass capsule, the same shape as the apps' tab bar ---------- */
.hdr { position: sticky; top: calc(10px + env(safe-area-inset-top, 0px)); z-index: 50; margin-top: 10px; padding-left: var(--gutter-l); padding-right: var(--gutter-r); pointer-events: none; }
.hdr-in { pointer-events: auto; position: relative; max-width: 1060px; height: 58px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 0 9px 0 14px; border-radius: 999px;
  background: var(--glass); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 14px 36px -18px rgba(10,12,30,.3), inset 0 0 0 1px color-mix(in srgb, var(--fg) 9%, transparent); transition: max-width .55s var(--ease), box-shadow .3s; }
.hdr.is-scrolled .hdr-in { max-width: 900px; box-shadow: 0 18px 44px -18px rgba(10,12,30,.42), inset 0 0 0 1px color-mix(in srgb, var(--fg) 11%, transparent); }
.hdr-prog { position: absolute; left: 28px; right: 28px; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--good)); transform-origin: left; transform: scaleX(var(--p, 0)); opacity: .9; }
.brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; font: 700 20px/1 var(--font-display); letter-spacing: -.03em; text-decoration: none; }
.mark { display: block; width: 34px; height: 34px; overflow: visible; }
.mk-fur { fill: var(--fur); } .mk-fur2 { fill: var(--fur-2); } .mk-face { fill: var(--face); } .mk-ear { fill: var(--blush); opacity: .85; }
.mk-curl { fill: none; stroke: var(--fur-2); stroke-width: 15; stroke-linecap: round; } .mk-curl circle { fill: var(--fur-2); stroke: none; }
.mk-eye { fill: var(--eye); transform-box: fill-box; transform-origin: center; animation: blink 5.2s 1s infinite; }
.mk-eyes { transform: translate(var(--ex, 0px), var(--ey, 0px)); transition: transform .18s linear; }
.mk-hi { fill: #fff; }
.hdr-nav { position: relative; display: flex; gap: 2px; font-size: 14.5px; }
.hdr-nav a { position: relative; z-index: 1; padding: 9px 13px; border-radius: 99px; text-decoration: none; color: var(--fg-2); transition: color .2s; white-space: nowrap; }
.hdr-nav a:hover, .hdr-nav a[aria-current] { color: var(--fg); }
.hdr-ind { position: absolute; left: 0; top: 50%; height: 34px; width: var(--w, 0px); border-radius: 99px; background: color-mix(in srgb, var(--fg) 8%, transparent); transform: translate(var(--x, 0px), -50%); opacity: var(--o, 0); transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; }
.hdr-act { justify-self: end; display: flex; align-items: center; gap: 4px; }
.hdr-signin { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 99px; font: 600 14.5px/1 var(--font-body); text-decoration: none; white-space: nowrap; transition: background .2s; }
.hdr-signin:hover { background: color-mix(in srgb, var(--fg) 7%, transparent); }
.hdr-signin svg { width: 16px; height: 16px; }
.hdr-menu { display: none; }
.hdr-menu summary { list-style: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.hdr-menu summary::-webkit-details-marker { display: none; }
.hdr-menu summary:hover { background: color-mix(in srgb, var(--fg) 7%, transparent); }
.hdr-menu summary svg { width: 20px; height: 20px; }
.hdr-sheet { position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: grid; gap: 2px; padding: 10px; border-radius: 26px; background: var(--surface); box-shadow: 0 24px 60px -20px rgba(10,12,30,.45), inset 0 0 0 1px var(--line); }
.hdr-sheet a { padding: 13px 14px; border-radius: 16px; text-decoration: none; font-weight: 500; }
.hdr-sheet a:hover { background: var(--bg); }
.hdr-sheet .btn { justify-content: center; margin-top: 6px; }
@media (max-width: 900px) { .hdr-nav { display: none; } .hdr-in { grid-template-columns: 1fr auto; } .hdr-menu { display: block; } .hdr-get { display: none; } .hdr-signin { min-height: 40px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; margin-top: calc(var(--hdr) * -1); padding-block: calc(var(--hdr) + clamp(40px, 6vw, 80px)) clamp(56px, 7vw, 96px); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.plain { position: absolute; inset: 0; overflow: hidden; pointer-events: none; white-space: pre; font: 500 13px/22px var(--font-mono); color: var(--accent); opacity: .92;
  -webkit-mask-image: radial-gradient(circle var(--kr, 150px) at var(--kx, -999px) var(--ky, -999px), #000 35%, transparent 100%); mask-image: radial-gradient(circle var(--kr, 150px) at var(--kx, -999px) var(--ky, -999px), #000 35%, transparent 100%); }
.hero .veil { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 88% at 19% 52%, var(--bg) 40%, transparent 90%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero .veil { background: linear-gradient(var(--bg) 30%, color-mix(in srgb, var(--bg) 72%, transparent) 56%, transparent 80%); } }
@media (hover: none), (max-width: 700px) { .hint { display: none; } }
.hero-copy { display: grid; gap: 26px; }
.hero h1 { font-size: clamp(46px, 7.2vw, 96px); line-height: .94; font-weight: 700; letter-spacing: -0.045em; max-width: 9ch; }
.wd { white-space: nowrap; }
.dc { position: relative; display: inline-block; }
.dc.enc { color: transparent; }
.dc.enc::after { content: attr(data-g); position: absolute; inset: 0; display: grid; place-items: center; color: var(--sealed); font: 500 .5em/1 var(--font-mono); letter-spacing: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-on { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; color: var(--fg-2); font-size: 14.5px; }
.hero-on span { display: inline-flex; gap: 7px; align-items: center; }
.hero-on svg { width: 17px; height: 17px; }
.hint { font: 400 12.5px/1.4 var(--font-mono); color: var(--fg-3); }
.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--good); margin-right: 7px; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

/* The stage: three real screens, tilting a little with the pointer, and MoMo looking over the Mac. */
.stage { position: relative; aspect-ratio: 1 / .84; perspective: 1500px; min-width: 0; margin-top: 17%; }
@media (max-width: 960px) { .stage { margin-top: 26%; } }
.stage-in { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.st-mac { position: absolute; left: 7%; right: 0; top: 0; }
.st-ios { position: absolute; left: 0; bottom: 0; width: 26.5%; transform: translateZ(54px); }
.st-and { position: absolute; right: 4%; bottom: -2%; width: 23.5%; transform: translateZ(34px); }
.st-momo { position: absolute; left: 49%; top: 0; width: 31%; translate: 0 calc(-73% + var(--sp, 0) * 77%); transform: translateZ(-12px); animation: peek 1.1s .7s var(--ease) both; }
@keyframes peek { from { translate: 0 4%; } }
.keycur { position: fixed; left: 0; top: 0; z-index: 80; width: 36px; height: 36px; margin: 0; pointer-events: none; opacity: 0; transition: opacity .25s; color: var(--accent); filter: drop-shadow(0 6px 10px color-mix(in srgb, var(--accent) 45%, transparent)); will-change: transform; }
.keycur.on { opacity: 1; }
.keycur svg { width: 100%; height: 100%; display: block; }

/* ---------- MoMo ---------- */
.momo { display: block; width: 100%; height: auto; overflow: visible; }
.mo-fur { fill: var(--fur); } .mo-fur2 { fill: var(--fur-2); } .mo-face { fill: var(--face); } .mo-ear { fill: var(--blush); opacity: .85; }
.mo-eye { transform: translate(var(--ex, 0px), var(--ey, 0px)); transition: transform .18s linear; }
.mo-open ellipse { fill: var(--eye); transform-box: fill-box; transform-origin: center; animation: blink 5.2s infinite; }
.mo-hi { fill: #fff; } .mo-blush { fill: var(--blush); opacity: .62; }
.mo-smile, .mo-arc, .mo-shut, .mo-flat, .mo-brow path { fill: none; stroke: var(--eye); stroke-width: 3.6; stroke-linecap: round; }
.mo-arc, .mo-shut { stroke-width: 4.4; }
.mo-grin { fill: #7A2B3D; stroke: var(--eye); stroke-width: 3; stroke-linejoin: round; }
.mo-oh { fill: #7A2B3D; }
.mo-file rect { fill: #fff; stroke: var(--fur-2); stroke-width: 2.5; } .mo-file path { stroke: #A3A8BA; stroke-width: 3; stroke-linecap: round; fill: none; }
.mo-file { animation: tuckin 6s var(--ease) infinite; }
.mo-pouch { fill: var(--fur-2); } .mo-zip { stroke: var(--face); stroke-width: 3; stroke-dasharray: 3 5; stroke-linecap: round; fill: none; opacity: .9; } .mo-pull { fill: var(--face); }
.mo-curl { fill: none; stroke: var(--fur-2); stroke-width: 10; stroke-linecap: round; transform-box: fill-box; transform-origin: 50% 90%; animation: sway 4.6s ease-in-out infinite; }
.mo-curl circle { fill: var(--fur-2); stroke: none; }
.mo-key { fill: none; stroke: var(--keyc); stroke-width: 5.5; stroke-linecap: round; }
.mo-arml { transform-origin: 33px 170px; transition: transform .45s var(--ease); }
.mo-armr { transform-origin: 196px 196px; transition: transform .45s var(--ease); }
.has-key .mo-armr { animation: keybob 4.6s ease-in-out infinite; }
.mo-shadow { fill: #000; opacity: .16; }
.mo-body { animation: bob 4.6s ease-in-out infinite; }
.mo-earl { transform-origin: 70px 104px; animation: twitch 7s 2s infinite; }
.mo-box rect { fill: var(--surface-2); stroke: var(--fur-2); stroke-width: 3; } .mo-box circle { fill: var(--sealed); }
.mo-zz path { fill: none; stroke: var(--fg-3); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.is-sleep .mo-zz { animation: zz 2.8s ease-in-out infinite; }
.mo-think circle { fill: var(--surface); stroke: var(--fur-2); stroke-width: 3; }
.mo-think circle:nth-child(2) { animation: pulse 1.2s .2s infinite; } .mo-think circle:nth-child(3) { animation: pulse 1.2s .4s infinite; }
.mo-arc, .mo-shut, .mo-brow, .mo-grin, .mo-oh, .mo-flat, .mo-box, .mo-zz, .mo-think, .mo-key { opacity: 0; transition: opacity .22s; }
.mo-open, .mo-smile, .mo-file { transition: opacity .22s; }
.has-key .mo-key { opacity: 1; }
.momo.gave .mo-key { opacity: 0; }
.is-happy .mo-open, .is-yes .mo-open { opacity: 0; } .is-happy .mo-arc, .is-yes .mo-arc { opacity: 1; }
.is-happy .mo-smile { opacity: 0; } .is-happy .mo-grin { opacity: 1; }
.is-hide .mo-open, .is-sleep .mo-open { opacity: 0; } .is-hide .mo-shut, .is-sleep .mo-shut { opacity: 1; }
.is-hide .mo-smile, .is-no .mo-smile, .is-sleep .mo-smile { opacity: 0; } .is-hide .mo-flat, .is-no .mo-flat { opacity: 1; }
/* Eyes shut and a paw over the mouth. The arm is turned nearly upright and moved onto the mouth (worked out from
   the arm's own centre and angle in the drawing, so change this together with the arm shape in core.js). */
.is-hide .mo-armr { transform: translate(-94px, -27px) rotate(40deg) scale(1.1); animation: none; }
.is-hide .mo-key { opacity: 0; }
.is-sleep .mo-oh, .is-sleep .mo-zz { opacity: 1; }
.is-sleep .mo-body { animation-duration: 6.5s; }
.is-no .mo-brow { opacity: 1; }
.is-think .mo-think { opacity: 1; } .is-think .mo-eye { transform: translate(4px, -5px); }
.is-carry .mo-box { opacity: 1; } .is-carry .mo-file { opacity: 0; }
.is-carry .mo-arml { transform: translate(40px, 6px) rotate(-52deg); } .is-carry .mo-armr { transform: translate(-70px, -8px) rotate(64deg); animation: none; }
.is-carry .mo-key { opacity: 0; }
.is-wave .mo-armr { animation: wave 1.4s ease-in-out infinite; }
.momo.no .mo-body { animation: no .5s ease-in-out 2; } .momo.yes .mo-body { animation: yes .45s ease-in-out 2; }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.08); } }
@keyframes bob { 50% { transform: translateY(-3px); } }
@keyframes sway { 50% { transform: rotate(7deg); } }
@keyframes keybob { 50% { transform: rotate(-7deg); } }
@keyframes wave { 0%, 100% { transform: rotate(6deg); } 50% { transform: rotate(-18deg); } }
@keyframes tuckin { 0%, 18% { transform: translateY(0); } 34%, 78% { transform: translateY(22px); } 94%, 100% { transform: translateY(0); } }
@keyframes no { 25% { transform: translateX(-7px); } 75% { transform: translateX(7px); } }
@keyframes yes { 50% { transform: translateY(7px); } }
@keyframes twitch { 0%, 91%, 100% { transform: rotate(0); } 94% { transform: rotate(-9deg); } 97% { transform: rotate(3deg); } }
@keyframes zz { 0% { transform: translate(0, 4px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(8px, -12px); opacity: 0; } }

/* ---------- Devices: drawn at real size, scaled as one piece ---------- */
.dev { position: relative; width: 100%; aspect-ratio: var(--w) / var(--h); }
.dev.ios, .dev.droid { --w: 300; --h: 640; } .dev.mac { --w: 760; --h: 480; }
.dv { position: absolute; left: 0; top: 0; width: calc(var(--w) * 1px); height: calc(var(--h) * 1px); transform-origin: 0 0; transform: scale(var(--s, .3)); font-family: var(--font-ui); line-height: 1.25; }
.bz { position: absolute; inset: 0; border-radius: 48px; padding: 9px; background: linear-gradient(150deg, #474b57, #14151b); box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255,255,255,.16); }
.droid .bz { border-radius: 38px; padding: 7px; background: linear-gradient(150deg, #33363f, #0f1014); }
.scr { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: var(--bg); color: var(--fg); }
.droid .scr { border-radius: 32px; }
.sb { position: absolute; inset: 0 0 auto 0; height: 46px; display: flex; justify-content: space-between; align-items: center; padding: 4px 24px 0 32px; font-weight: 600; font-size: 14.5px; z-index: 6; }
.sb.w { color: #fff; }
.sbi { display: inline-flex; gap: 5px; align-items: center; }
.isl { position: absolute; top: 11px; left: 50%; translate: -50% 0; width: 88px; height: 25px; border-radius: 14px; background: #000; z-index: 7; }
.droid .sb { padding: 2px 20px 0 22px; font-weight: 500; font-size: 13px; height: 40px; }
.droid .cam { position: absolute; top: 13px; left: 50%; translate: -50% 0; width: 11px; height: 11px; border-radius: 50%; background: #05060a; z-index: 7; }
.gest { position: absolute; bottom: 7px; left: 50%; translate: -50% 0; width: 96px; height: 4px; border-radius: 4px; background: var(--fg); opacity: .55; z-index: 8; }

/* Generated pictures, like the apps' sample library. */
.ph { position: relative; overflow: hidden; background: radial-gradient(circle at var(--sx, 68%) var(--sy, 30%), var(--sun, #ffc9a8) 0 9%, transparent 10.5%), linear-gradient(var(--a), var(--b)); transition: filter .6s var(--ease); }
.ph::before, .ph::after { content: ""; position: absolute; inset: auto 0 0 0; }
.ph::before { height: 52%; background: var(--m1); clip-path: polygon(0 60%, 14% 38%, 26% 52%, 40% 20%, 54% 46%, 66% 28%, 80% 50%, 92% 34%, 100% 48%, 100% 100%, 0 100%); }
.ph::after { height: 34%; background: var(--m2); clip-path: polygon(0 40%, 18% 62%, 34% 30%, 52% 66%, 70% 36%, 86% 60%, 100% 30%, 100% 100%, 0 100%); }
.p1 { --a: #3a2a4e; --b: #c9667f; --sun: #ffb59a; --m1: #6d4470; --m2: #1f1830; }
.p2 { --a: #5a3b63; --b: #e08a8f; --sun: #ffd0b0; --m1: #7a4c78; --m2: #2a1d38; --sx: 34%; }
.p3 { --a: #2f8fb5; --b: #7fd0cf; --sun: #f4fbff; --m1: #3f9d86; --m2: #1d5a57; --sx: 40%; --sy: 36%; }
.p4 { --a: #0f1838; --b: #2a3f78; --sun: #e9eeff; --m1: #1b2a55; --m2: #0a1026; --sx: 76%; --sy: 22%; }
.p5 { --a: #6f8fc9; --b: #f0bfb0; --sun: #fff3ea; --m1: #7b84b2; --m2: #3a4470; --sx: 52%; }
.p6 { --a: #33506e; --b: #d99a86; --sun: #ffe1d2; --m1: #8a5a5c; --m2: #3a2630; --sx: 26%; --sy: 40%; }
.p7 { --a: #4aa7c9; --b: #bfe5d6; --sun: #ffffff; --m1: #4f9a6b; --m2: #23533a; --sx: 80%; --sy: 34%; }
.p8 { --a: #2b2452; --b: #8a5aa8; --sun: #ffc2d6; --m1: #5a3f86; --m2: #1a1436; --sx: 60%; --sy: 26%; }
.ph.new { animation: pop .5s var(--ease); }
.ph.seal { filter: grayscale(1) contrast(.5) blur(3px); }
@keyframes pop { from { transform: scale(.55); opacity: 0; } }

/* iPhone parts */
.gb { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; position: relative; background: rgba(255,255,255,.26); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.gb.s { background: var(--surface); color: var(--fg); box-shadow: 0 4px 14px rgba(0,0,0,.08), inset 0 0 0 1px var(--line); }
.gb.s.acc { color: var(--accent); }
.bdg { position: absolute; top: -3px; right: -3px; min-width: 16px; height: 16px; border-radius: 8px; background: #F04452; color: #fff; font: 700 10px/16px var(--font-ui); text-align: center; font-style: normal; }
.i-hero { height: 304px; color: #fff; }
.i-top { position: absolute; left: 16px; right: 14px; top: 58px; display: flex; justify-content: space-between; align-items: flex-start; z-index: 2; }
.i-top b { font-size: 25px; letter-spacing: -.02em; display: block; } .i-top small, .i-cap small { font-size: 12px; opacity: .85; }
.i-top div:last-child { display: flex; gap: 8px; }
.i-cap { position: absolute; left: 16px; right: 14px; bottom: 30px; display: flex; justify-content: space-between; align-items: flex-end; z-index: 2; }
.i-cap b { font-size: 19px; display: block; }
.dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; gap: 6px; justify-content: center; z-index: 2; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.45); } .dots i.on { background: #fff; }
.chips { display: flex; gap: 7px; padding: 12px 12px 10px; overflow: hidden; }
.chips span { flex-shrink: 0; display: inline-flex; gap: 5px; align-items: center; padding: 8px 12px; border-radius: 99px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 500; }
.g5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5px; } .g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; } .g6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; }
.g5 > *, .g3 > *, .g6 > * { aspect-ratio: 1; }
.mt12 { margin-top: 12px; } .mt14 { margin-top: 14px; }
.i-tab { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 8px; align-items: center; z-index: 5; }
.i-pill { flex: 1; display: flex; height: 56px; border-radius: 28px; padding: 4px; background: color-mix(in srgb, var(--surface) 74%, transparent); backdrop-filter: blur(16px) saturate(1.7); -webkit-backdrop-filter: blur(16px) saturate(1.7); box-shadow: 0 8px 24px rgba(0,0,0,.14), inset 0 0 0 1px color-mix(in srgb, var(--fg) 9%, transparent); }
.i-pill span { flex: 1; display: grid; place-items: center; align-content: center; gap: 2px; font-size: 9.5px; font-weight: 600; border-radius: 24px; }
.i-pill span.on { background: color-mix(in srgb, var(--fg) 9%, transparent); color: var(--accent); }
.i-sbtn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--surface) 74%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 8px 24px rgba(0,0,0,.14), inset 0 0 0 1px color-mix(in srgb, var(--fg) 9%, transparent); }
.a-ttl { font-size: 27px; font-weight: 700; letter-spacing: -.02em; }
.a-h { font-size: 17px; }
.pad { padding: 54px 14px 0; display: grid; gap: 12px; align-content: start; }
.droid .pad { padding-top: 50px; }
.row-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sub { font-size: 12px; color: var(--fg-2); }
.sub.xs { font-size: 10.5px; } .sub.n11 { font-size: 11px; font-weight: 400; }
.fgc { color: var(--fg); }

/* Android parts */
.a-nav { position: absolute; left: 12px; right: 12px; bottom: 20px; height: 58px; border-radius: 29px; display: flex; padding: 5px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 6px 18px rgba(0,0,0,.08); z-index: 5; }
.a-nav span { flex: 1; display: grid; place-items: center; align-content: center; gap: 2px; font-size: 9.5px; font-weight: 500; color: var(--fg-2); border-radius: 24px; }
.a-nav span.on { background: var(--accent-soft); color: var(--accent); }
.a-field { display: flex; gap: 10px; align-items: center; padding: 13px 14px; border-radius: 18px; background: var(--surface); color: var(--fg-3); font-size: 14px; }
.a-note { display: inline-flex; gap: 7px; align-items: center; padding: 7px 11px; border-radius: 99px; background: var(--good-soft); font-size: 10.5px; font-weight: 500; width: fit-content; }
.a-note i { width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.a-card { background: var(--surface); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.a-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 11px; align-items: center; padding: 11px 12px; transition: opacity .4s; }
.a-row + .a-row { border-top: 1px solid var(--line); }
.tile { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font: 600 9px/1 var(--font-mono); }
.a-row b { font-size: 13.5px; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-row > div { min-width: 0; }
.st { font: 600 9.5px/1 var(--font-ui); padding: 5px 8px; border-radius: 99px; white-space: nowrap; transition: background .4s, color .4s, opacity .4s; }
.st.lg { font-size: 11px; padding: 7px 11px; }
.st.cloud { background: var(--surface-2); color: var(--fg-2); } .st.fetch { background: var(--accent-soft); color: var(--accent); } .st.here { background: var(--good-soft); color: var(--good); } .st.off { background: none; color: var(--fg-3); box-shadow: inset 0 0 0 1px var(--line); }
.a-row.dim { opacity: .45; }
.a-row.f { grid-template-columns: 34px 1fr; padding: 9px 12px; } .f-l { display: flex; gap: 7px; align-items: center; margin-top: 4px; white-space: nowrap; overflow: hidden; } .f-l .sub { font-size: 11px; }

/* Mac parts */
.win { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; background: var(--bg); color: var(--fg); box-shadow: var(--shadow), 0 0 0 1px var(--line); display: grid; grid-template-columns: 152px minmax(0, 1fr); font-size: 12px; }
.m-side { background: var(--surface); margin: 6px 0 6px 6px; border-radius: 11px; padding: 14px 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.lights { display: flex; gap: 6px; padding: 0 4px 16px; } .lights i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; } .lights i:nth-child(2) { background: #FEBC2E; } .lights i:nth-child(3) { background: #28C840; }
.m-brand { display: flex; gap: 7px; align-items: center; font-weight: 700; font-size: 13.5px; padding: 0 6px 9px; } .m-brand svg { color: var(--accent); }
.m-nav { display: flex; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 8px; color: var(--fg-2); } .m-nav.on { background: var(--surface-2); color: var(--fg); }
.m-user { margin-top: auto; display: flex; gap: 8px; align-items: center; padding: 6px; font-weight: 600; } .m-user small { display: block; font-weight: 400; color: var(--fg-2); font-size: 10.5px; }
.ava { width: 26px; height: 26px; border-radius: 50%; background: #C2374A; color: #fff; display: grid; place-items: center; font: 700 10px/1 var(--font-ui); flex-shrink: 0; }
.m-main { padding: 12px 16px 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; overflow: hidden; }
.m-top { display: flex; align-items: center; gap: 10px; color: var(--fg-3); font-weight: 600; font-size: 12.5px; }
.m-pills { margin: 0 auto; display: flex; gap: 4px; padding: 3px; border-radius: 99px; background: var(--surface); }
.m-pills span { font-size: 9.5px; color: var(--good); background: var(--good-soft); padding: 4px 8px; border-radius: 99px; display: flex; gap: 4px; align-items: center; font-weight: 600; white-space: nowrap; }
.m-rb { display: flex; gap: 5px; } .m-rb i { width: 24px; height: 24px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; color: var(--fg-3); }
.m-h1 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.m-card { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-radius: 12px; padding: 12px; min-width: 0; }
.m-card.slim { padding: 9px 12px; } .m-card.slim h4 { margin: 0; }
.m-card h4 { margin: 0 0 8px; font-size: 12.5px; display: flex; gap: 7px; align-items: center; }
.m-card h4 em { margin-left: auto; font-style: normal; font-weight: 600; font-size: 10px; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); }
.m-card h4 em.acc { background: var(--accent-soft); color: var(--accent); }
.m-big { font-size: 20px; font-weight: 700; } .m-big small { font-size: 11px; font-weight: 400; color: var(--fg-2); }
.m-pct { color: var(--good); font-weight: 600; font-size: 10.5px; }
.m-bar { height: 6px; border-radius: 6px; background: var(--surface-2); margin: 9px 0 7px; overflow: hidden; } .m-bar i { display: block; width: 19%; height: 100%; background: var(--good); border-radius: 6px; }
.m-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.m-ok { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 7px; background: var(--good-soft); border-left: 2px solid var(--good); font-weight: 600; font-size: 10.5px; margin-top: 5px; } .m-ok svg { color: var(--good); } .m-ok small { display: block; font-weight: 400; color: var(--fg-2); font-size: 9.5px; }
.m-dr { display: flex; justify-content: space-between; padding: 4px 0; font-size: 11px; } .m-dr span { color: var(--fg-2); font-size: 10px; }

/* Ticker */
.tick { border-block: 1px solid var(--line); overflow: hidden; padding-block: 16px; background: var(--surface); }
.tick-in { display: flex; gap: 44px; padding-right: 44px; width: max-content; animation: marq 46s linear infinite; }
.tick:hover .tick-in { animation-play-state: paused; }
.tick span { display: inline-flex; gap: 10px; align-items: center; font: 600 15px/1 var(--font-display); white-space: nowrap; }
.tick .twin { display: contents; }
.tick svg { width: 17px; height: 17px; color: var(--accent); }
@keyframes marq { to { transform: translateX(-50%); } }

/* Why now: a ledger, threat on the left, what changes on the right. */
.ledger { display: grid; border-top: 1px solid var(--line); }
.ledger > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px 40px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ledger h3 { color: var(--fg-2); font-weight: 500; }
.ledger p { font-size: 17.5px; }
@media (max-width: 700px) { .ledger > div { grid-template-columns: 1fr; } }
.statement { margin-top: 48px; font: 650 clamp(24px, 3.2vw, 38px)/1.16 var(--font-display); letter-spacing: -.03em; max-width: 26ch; text-wrap: balance; }

/* Key */
.own { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 44px; align-items: center; }
@media (max-width: 900px) { .own { grid-template-columns: 1fr; } }
.seg { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.seg.gap { margin-top: 26px; }
.seg button { border: 0; background: none; color: var(--fg-2); font: 600 14px/1 var(--font-body); padding: 10px 16px; border-radius: 999px; cursor: pointer; transition: background .25s var(--ease), color .25s; }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.own-points { margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.own-points.flush { margin-top: 0; }
.own-points li { list-style: none; color: var(--fg-2); padding-left: 16px; border-left: 2px solid var(--line); }
.own-points b { color: var(--fg); font-weight: 600; }
.figure { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 18px; min-width: 0; margin: 0; }
.figure svg { width: 100%; height: auto; display: block; }
.figure figcaption { font-size: 13.5px; color: var(--fg-2); padding: 8px 6px 2px; }
.spec { margin: clamp(40px, 6vw, 72px) 0 0; display: grid; border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr) 180px; gap: 8px 32px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec dt { font: 600 18px/1.3 var(--font-display); letter-spacing: -.02em; } .spec dd { margin: 0; color: var(--fg-2); }
.spec code { font: 500 12px/1.4 var(--font-mono); color: var(--fg-2); background: var(--surface); border: 1px solid var(--line); padding: 4px 8px; border-radius: 7px; white-space: nowrap; justify-self: end; }
@media (max-width: 800px) { .spec > div { grid-template-columns: 1fr; } .spec code { width: fit-content; justify-self: start; } }

/* Only here */
.stealth { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .stealth { grid-template-columns: 1fr; } }
.stealth-copy { display: grid; gap: 22px; }
.tagline { font: 600 15px/1.3 var(--font-body); color: var(--accent); }
.h-xl { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.08; }
.steps { display: grid; gap: 8px; counter-reset: s; padding: 0; margin: 0; }
.steps li { list-style: none; display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 13px 15px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); color: var(--fg-2); transition: border-color .3s, background .3s, color .3s; }
.steps li::before { counter-increment: s; content: counter(s); font: 600 12.5px/24px var(--font-mono); width: 24px; height: 24px; text-align: center; border-radius: 50%; background: var(--surface-2); color: var(--fg-2); }
.steps li.on { border-color: var(--accent); background: var(--accent-soft); color: var(--fg); }
.steps li.on::before { background: var(--accent); color: var(--accent-ink); }
.try { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.try > span { font-size: 14px; color: var(--fg-2); }
.small { color: var(--fg-2); font-size: 14.5px; }
.phone-spot { position: relative; isolation: isolate; justify-self: center; width: min(310px, 82%); }
.peek { position: absolute; right: -27%; bottom: 4%; width: 44%; z-index: -1; transition: translate .6s var(--ease), rotate .6s var(--ease); rotate: 9deg; }
.peek.down { translate: -78% -8%; rotate: 0deg; }
.s-ttl { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.s-mid { position: absolute; inset: 104px 14px 90px; }
.s-msg { height: 100%; display: grid; place-items: center; align-content: center; gap: 6px; text-align: center; color: var(--fg-2); font-size: 13px; padding: 0 16px; }
.s-msg b { color: var(--fg); font-size: 19px; overflow-wrap: anywhere; } .s-msg svg { color: var(--fg-3); margin-bottom: 4px; }
.s-grp { font-size: 15px; font-weight: 700; margin: 2px 0 8px; }
.s-field { position: absolute; left: 14px; right: 14px; bottom: 22px; height: 50px; border-radius: 25px; display: flex; gap: 9px; align-items: center; padding: 0 16px; z-index: 4; background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 8px 24px rgba(0,0,0,.14), inset 0 0 0 1px color-mix(in srgb, var(--fg) 10%, transparent); color: var(--fg-2); }
.s-field input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; color: var(--fg); font: 400 16px/1 var(--font-ui); }
.s-field input::placeholder { color: var(--fg-3); }
.s-face { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; background: color-mix(in srgb, var(--bg) 62%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 5; font-size: 13px; font-weight: 600; }
.s-face.on { opacity: 1; }
.s-face svg { width: 70px; height: 70px; color: var(--accent); }
.s-hid { position: absolute; inset: 0; background: var(--bg); transform: translateY(102%); transition: transform .6s var(--ease); z-index: 5; }
.s-hid.on { transform: none; }
.s-hid .hd { position: absolute; left: 12px; right: 12px; top: 50px; display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 600; }
.s-hid .sub { position: absolute; left: 12px; top: 98px; }
.s-hid .g3 { position: absolute; left: 0; right: 0; top: 122px; }
.versus { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.versus > div { padding: 24px 26px; display: grid; gap: 8px; align-content: start; }
.versus > div + div { border-left: 1px solid var(--line); background: var(--accent-soft); }
.versus p { color: var(--fg-2); font-size: 15.5px; }
@media (max-width: 700px) { .versus { grid-template-columns: 1fr; } .versus > div + div { border-left: 0; border-top: 1px solid var(--line); } }

.only { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: clamp(56px, 8vw, 96px); }
.oc { grid-column: span 2; position: relative; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); display: grid; grid-template-rows: auto auto 1fr; gap: 12px; overflow: hidden; }
.oc.w { grid-column: span 3; }
@media (max-width: 980px) { .oc, .oc.w { grid-column: span 3; } } @media (max-width: 680px) { .oc, .oc.w { grid-column: span 6; } }
.oc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -30%), var(--accent-soft), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.oc:hover::before { opacity: 1; }
.oc > * { position: relative; }
.oc p { color: var(--fg-2); font-size: 15.5px; }
.oc h3 .soon { margin-left: 6px; vertical-align: 3px; font-family: var(--font-body); letter-spacing: 0; }
.demo { margin-top: 8px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line); padding: 16px; display: grid; gap: 12px; min-height: 150px; align-content: center; font-size: 14px; }
.d-row { display: flex; flex-wrap: wrap; gap: 8px; }
.out { font-size: 13.5px; font-weight: 600; min-height: 20px; } .out.bad { color: var(--bad); } .out.good { color: var(--good); }
.e-dev { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; }
.e-dev b { display: block; } .e-dev small { color: var(--fg-2); }
.shake { animation: no .45s ease-in-out; }
.b-win { border-radius: 10px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; font-size: 12.5px; }
.b-bar { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--line); font-weight: 600; } .b-bar .lights { padding: 0; } .b-bar .lights i { width: 8px; height: 8px; }
.b-files { padding: 8px 10px; display: grid; gap: 5px; min-height: 76px; align-content: center; transition: opacity .5s; }
.b-files div { display: flex; gap: 8px; align-items: center; } .b-files i { width: 14px; height: 14px; border-radius: 4px; background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.b-note { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 14px; background: var(--surface); box-shadow: 0 6px 18px rgba(0,0,0,.08), inset 0 0 0 1px var(--line); font-size: 13px; }
.b-note small { display: block; color: var(--fg-2); font-size: 13px; }
.c-code { font: 500 16px/1.3 var(--font-mono); letter-spacing: .06em; overflow-wrap: anywhere; }
.c-typed { font: 500 16px/1.3 var(--font-mono); letter-spacing: .06em; min-height: 21px; color: var(--accent); overflow-wrap: anywhere; }
.caret { display: inline-block; width: 2px; height: 16px; background: var(--accent); vertical-align: -2px; animation: bl 1s steps(1) infinite; } @keyframes bl { 50% { opacity: 0; } }
.r-scr { position: relative; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.r-scr .a-row b { font-size: 13px; }
.r-cover { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 12px; font-weight: 600; font-size: 13px; background: var(--surface-2); opacity: 0; transition: opacity .3s; }
.r-scr.rec .r-cover { opacity: 1; }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--bad); display: inline-block; }
.web-in { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: center; }
.web-in .qr { width: 74px; }
.web-in b { display: block; } .web-in small { color: var(--fg-2); font-size: 13px; }
.web-in a { color: var(--accent); font-weight: 600; font-size: 13.5px; }

/* A code to scan. Drawn in the page, and it never resolves to anything: the real one is made by the server. */
.qr { display: block; aspect-ratio: 1; border-radius: 12%; background: #fff; padding: 9%; }
.qr svg { display: block; width: 100%; height: 100%; }
.qr rect { fill: #15161C; transition: opacity .5s; }
.qr .off { opacity: 0; }

/* The real code (weblogin.js): a white card with its own quiet margin, always dark on white, in both themes, because a scanner reads it. */
.qr-live { display: block; aspect-ratio: 1; border-radius: 6%; background: #fff; overflow: hidden; }
.qr-live svg { display: block; width: 100%; height: 100%; }

/* Sync */
.sync { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr); gap: 20px; align-items: stretch; }
@media (max-width: 980px) { .sync { grid-template-columns: 1fr; } }
.sync-stage { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 86px 22px 26px; display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.7fr) minmax(0, .5fr); gap: 18px; align-items: end; min-width: 0; overflow: hidden; }
@media (max-width: 640px) { .sync-stage { grid-template-columns: 1fr 1fr; } .sync-stage .mid { grid-column: 1 / -1; order: -1; } }
.hub { position: absolute; top: 22px; left: 50%; translate: -50% 0; display: inline-flex; gap: 9px; align-items: center; padding: 9px 15px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; font-weight: 600; white-space: nowrap; transition: box-shadow .3s, border-color .3s; }
.hub code { font: 400 11.5px/1 var(--font-mono); color: var(--sealed); }
.hub.hit { border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.pk { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 7px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; z-index: 9; pointer-events: none; box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 50%, transparent); }
.pk svg { width: 13px; height: 13px; }
.feed { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 18px; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; min-width: 0; min-height: 300px; }
.feed-h { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--fg-2); }
.feed ol { margin: 0; padding: 0; display: grid; gap: 7px; align-content: start; overflow: hidden; }
.feed li { list-style: none; display: grid; grid-template-columns: auto 1fr; gap: 10px; font: 400 12px/1.45 var(--font-mono); color: var(--fg-2); padding: 8px 10px; border-radius: 9px; background: var(--bg); animation: drop .45s var(--ease); min-width: 0; }
.feed li time { color: var(--fg-3); } .feed li span { min-width: 0; overflow-wrap: anywhere; } .feed li b { color: var(--fg); font-weight: 500; }
@keyframes drop { from { transform: translateY(-8px); opacity: .2; } }
.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pchip { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; color: var(--fg-2); }
.pchip b { color: var(--fg); font-weight: 600; } .pchip.later { border-style: dashed; }

/* Offline */
.offline { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .offline { grid-template-columns: 1fr; } }
.off-copy { display: grid; gap: 20px; }
.off-phone { justify-self: center; width: min(310px, 82%); }
.day { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.day button { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm); padding: 10px 10px 11px; text-align: left; cursor: pointer; display: grid; gap: 3px; transition: border-color .25s, background .25s; min-width: 0; }
.day button b { font-size: 14px; } .day button span { font: 400 11.5px/1.2 var(--font-mono); color: var(--fg-2); }
.day button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
@media (max-width: 480px) { .day { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.off-say { display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: center; min-height: 60px; }
.off-note { font-size: 16px; font-weight: 600; }
.budget { padding: 2px 4px; display: grid; gap: 6px; font-size: 11px; color: var(--fg-2); }
.bar { height: 6px; border-radius: 99px; background: var(--viz-track); overflow: hidden; } .bar i { display: block; height: 100%; width: 34%; background: var(--accent); border-radius: inherit; transition: width .8s var(--ease); }

/* MoMo's own section */
.momo-sec { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .momo-sec { grid-template-columns: 1fr; } }
.momo-stage { display: grid; justify-items: center; gap: 18px; }
.momo-big { width: min(330px, 76%); }
.momo-say { min-height: 48px; max-width: 30ch; text-align: center; font: 600 18px/1.3 var(--font-display); letter-spacing: -.02em; }
.momo-copy { display: grid; gap: 22px; }
.moods { display: flex; flex-wrap: wrap; gap: 8px; }
.moods button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 10px 16px; font: 600 14px/1 var(--font-body); cursor: pointer; transition: background .25s var(--ease), color .25s, border-color .25s, transform .2s var(--ease); }
.moods button:active { transform: scale(.96); }
.moods button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.ask { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .ask { grid-template-columns: 1fr; } }
.ask-copy { display: grid; gap: 18px; }
.ask-phone { justify-self: center; width: min(300px, 80%); }
.q-list { display: grid; gap: 8px; padding: 0; margin: 0; }
.q-list li { list-style: none; }
.q-list button { width: 100%; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-md); padding: 13px 15px; cursor: pointer; font-size: 15px; transition: border-color .25s, background .25s; }
.q-list button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.k-top { display: flex; align-items: center; gap: 10px; padding: 54px 14px 0; }
.k-top .km { width: 40px; flex-shrink: 0; } .k-top b { font-size: 19px; display: block; } .k-top small { font-size: 11.5px; color: var(--fg-2); }
.k-chat { position: absolute; inset: 112px 12px 86px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; }
.k-q { align-self: flex-end; max-width: 82%; padding: 9px 13px; border-radius: 18px 18px 5px 18px; background: var(--accent); color: var(--accent-ink); font-size: 13.5px; animation: drop .35s var(--ease); }
.k-a { align-self: flex-start; max-width: 90%; padding: 10px 12px; border-radius: 18px 18px 18px 5px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; display: grid; gap: 8px; animation: drop .35s var(--ease); }
.k-a .a-row { padding: 6px 0; grid-template-columns: 34px 1fr; } .k-a .a-row + .a-row { border-top: 1px solid var(--line); }
.k-wait { align-self: flex-start; display: inline-flex; gap: 5px; padding: 12px 14px; border-radius: 18px 18px 18px 5px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.k-wait i { width: 6px; height: 6px; border-radius: 50%; background: var(--fg-3); animation: pulse 1s infinite; } .k-wait i:nth-child(2) { animation-delay: .15s; } .k-wait i:nth-child(3) { animation-delay: .3s; }
.k-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; border-radius: 10px; overflow: hidden; } .k-g3 > * { aspect-ratio: 1; }

/* Pricing */
.price-top { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.from { display: inline-flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--fg-2); }
.pay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 860px) { .pay { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 28px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.panel label { font-weight: 600; }
.fig { font: 600 clamp(44px, 6vw, 68px)/1 var(--font-body); letter-spacing: -.04em; }
.fig small { font: 500 16px/1 var(--font-body); color: var(--fg-2); letter-spacing: 0; }
input[type=range] { width: 100%; accent-color: var(--accent); height: 28px; margin: 0; }
.ticks { display: flex; justify-content: space-between; font: 400 11.5px/1 var(--font-mono); color: var(--fg-3); }
.tip { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--accent-soft); font-size: 14.5px; }
.cmp { display: grid; gap: 14px; }
.cmp-row { display: grid; grid-template-columns: 118px minmax(0, 1fr) 76px; gap: 12px; align-items: center; transition: opacity .3s; }
.cmp-row b { display: block; font-size: 14.5px; font-weight: 600; } .cmp-row small { color: var(--fg-2); font-size: 12.5px; }
.cmp-bar { height: 18px; border-left: 1px solid var(--line); }
.cmp-bar i { display: block; height: 100%; width: var(--v, 0%); min-width: 0; border-radius: 0 4px 4px 0; background: var(--viz-mute); transition: width .5s var(--ease), background .3s; }
.cmp-val { text-align: right; font: 600 14.5px/1.2 var(--font-body); font-variant-numeric: tabular-nums; }
.cmp-val small { display: block; font-weight: 500; color: var(--accent); font-size: 11.5px; }
.cmp-row.best .cmp-bar i { background: var(--accent); }
.cmp-row.na { opacity: .5; } .cmp-row.na .cmp-val { font-weight: 500; font-size: 12.5px; color: var(--fg-2); }
@media (max-width: 480px) { .cmp-row { grid-template-columns: 96px minmax(0, 1fr) 70px; } }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.plan { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 26px; display: grid; gap: 14px; align-content: start; }
.plan.best { border-color: var(--accent); }
.plan .amt { font: 600 40px/1 var(--font-body); letter-spacing: -.04em; }
.plan .amt small { font: 500 14px/1 var(--font-body); color: var(--fg-2); letter-spacing: 0; }
.plan ul { margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--fg-2); } .plan li { list-style: none; padding-left: 14px; border-left: 2px solid var(--good); }
.fine { font-size: 13.5px; color: var(--fg-2); margin-top: 18px; max-width: 70ch; }

/* Download */
.dl-top { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 24px; align-items: end; margin-bottom: clamp(30px, 4vw, 48px); }
.dl-top .sec-head { margin: 0; }
@media (max-width: 760px) { .dl-top { grid-template-columns: 1fr; } .dl-top .momo-w { width: 130px; } }
.dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.os { display: flex; align-items: center; gap: 12px; } .os svg { width: 34px; height: 34px; flex-shrink: 0; }
.panel small { color: var(--fg-2); font-size: 13.5px; }
.state { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 9px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font: 600 13.5px/1 var(--font-body); }
.state i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); } .state.later i { background: var(--fg-3); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 840px; }
details.qa { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); padding: 18px 20px; }
.qa summary { cursor: pointer; font: 600 17px/1.35 var(--font-display); letter-spacing: -.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--fg-3); font-weight: 400; transition: rotate .25s var(--ease); }
.qa[open] summary::after { rotate: 45deg; }
.qa p { color: var(--fg-2); margin-top: 12px; max-width: 70ch; }
.qa a { color: var(--accent); }

/* Footer */
.ft { border-top: 1px solid var(--line); padding-block: 44px calc(96px + env(safe-area-inset-bottom, 0px)); color: var(--fg-2); font-size: 14.5px; }
.ft-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .6fr)); gap: 28px; }
@media (max-width: 760px) { .ft-top { grid-template-columns: 1fr 1fr; } .ft-top > div:first-child { grid-column: 1 / -1; } }
.ft-top p { max-width: 36ch; margin-top: 12px; }
.ft h4 { margin: 0 0 10px; font: 600 13.5px/1.3 var(--font-body); color: var(--fg); }
.ft ul { margin: 0; padding: 0; display: grid; gap: 8px; } .ft li { list-style: none; }
.ft a { text-decoration: none; } .ft a:hover, .ft .brand { color: var(--fg); }
.ft-low { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13.5px; }

/* MoMo in the corner: walks the page with you once the hero is behind */
.dock { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 65; display: grid; justify-items: end; gap: 10px; pointer-events: none; opacity: 0; translate: 0 24px; transition: opacity .4s, translate .5s var(--ease); }
.dock.on { opacity: 1; translate: 0 0; }
.is-artifact .dock { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
.dock-btn { pointer-events: none; width: 60px; height: 60px; border-radius: 50%; border: 0; padding: 8px 8px 2px; background: var(--surface); box-shadow: 0 14px 34px -12px rgba(10,12,30,.45), inset 0 0 0 1px var(--line); cursor: pointer; overflow: hidden; transition: transform .25s var(--ease); }
.dock.on .dock-btn, .dock.on .dock-card { pointer-events: auto; }
.dock-btn:hover { transform: scale(1.06); } .dock-btn:active { transform: scale(.96); }
.dock-say { max-width: 236px; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--fg); color: var(--bg); font-size: 13.5px; line-height: 1.35; opacity: 0; translate: 0 6px; transition: opacity .3s, translate .4s var(--ease); }
.dock-say.on { opacity: 1; translate: 0 0; }
@media (max-width: 640px) { .dock-say { display: none; } }   /* on a phone a speech bubble would sit on the text being read */
.dock-card { display: none; width: min(300px, calc(100vw - 32px)); padding: 18px; border-radius: 22px; background: var(--surface); box-shadow: 0 24px 60px -20px rgba(10,12,30,.5), inset 0 0 0 1px var(--line); gap: 12px; font-size: 14.5px; }
.dock.open .dock-card { display: grid; } .dock.open .dock-say { display: none; }
.dock-card b { font: 600 17px/1.2 var(--font-display); }
.dock-card p { color: var(--fg-2); }
.dock-card nav { display: grid; gap: 6px; }
.dock-card nav a { padding: 10px 12px; border-radius: 12px; background: var(--bg); text-decoration: none; font-weight: 500; }
.dock-card nav a:hover { background: var(--accent-soft); }
.dock-off { justify-self: start; border: 0; background: none; padding: 0; color: var(--fg-3); font-size: 13px; cursor: pointer; text-decoration: underline; }

/* ---------- Sign in (a preview until web sign-in opens) ---------- */
.si { padding-block: clamp(36px, 6vw, 72px) clamp(64px, 9vw, 120px); margin-top: calc(var(--hdr) * -1); padding-top: calc(var(--hdr) + clamp(36px, 6vw, 72px)); }
.si-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 30px; }
.si-head h1 { font-size: clamp(36px, 5.4vw, 66px); line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.banner { display: flex; gap: 10px; align-items: baseline; width: fit-content; max-width: 100%; padding: 10px 14px; border-radius: 14px; border: 1px dashed color-mix(in srgb, var(--fg) 28%, transparent); background: var(--surface); font-size: 14px; color: var(--fg-2); }
.banner b { color: var(--fg); white-space: nowrap; }
.si-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .si-grid { grid-template-columns: 1fr; } .si-phone { width: min(300px, 80%); justify-self: center; } }
.si-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 620px) { .si-ways { grid-template-columns: 1fr; } }
.way { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 26px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.way ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--fg-2); font-size: 14.5px; }
.way .qr-box { position: relative; width: min(210px, 100%); justify-self: center; }
.qr-ring { position: absolute; left: -13px; top: -13px; width: calc(100% + 26px); max-width: none; height: calc(100% + 26px); pointer-events: none; }
.qr-ring .track { stroke: color-mix(in srgb, var(--fg) 14%, transparent); }
.qr-ring .run { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: var(--left, 0); transition: stroke-dashoffset 1s linear; }
.way-note { font: 400 12.5px/1.4 var(--font-mono); color: var(--fg-3); text-align: center; }
.pk-art { display: grid; place-items: center; height: 150px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line); color: var(--accent); }
.pk-art svg { width: 74px; height: 74px; }
.pk-art.live { border-color: var(--accent); } .pk-art.live svg { animation: pulse .7s infinite; }
.si-hint { min-height: 44px; margin-top: 14px; text-align: center; font-size: 14px; color: var(--fg-2); }
.rules { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }
.rule { padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 6px; }
.rule b { font: 600 17px/1.25 var(--font-display); letter-spacing: -.01em; }
.rule p { color: var(--fg-2); font-size: 14.5px; }
.lv-box { display: grid; gap: 8px; }
.code-line { color: var(--fg-2); font-size: 13.5px; text-align: center; margin-top: 10px; }
.code { font: 600 clamp(22px, 2.4vw, 28px)/1 var(--font-mono); letter-spacing: .14em; text-align: center; padding: 12px 8px 12px 14px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line); user-select: all; white-space: nowrap; }
.live-say { text-align: center; font-size: 14.5px; color: var(--fg-2); }
/* `si-live`, not `live`: `.live::before` is the home page's pulsing dot, and on this grid it took the first cell (the code card sat in the
   second column beside an empty one). */
.si-live[data-step="error"] .live-say { color: var(--bad); font-weight: 600; }
/* Once a real code has been made the sample's banner goes. The layout stays the sample's: the code and the passkey side by side, the rules
   under them, and the phone beside, which then shows what the person's own phone shows (weblogin.js makes it a picture, not a control). */
[data-mode="live"] .banner { display: none; }
.ended { margin-bottom: 16px; padding: 12px 16px; border-radius: 14px; background: var(--good-soft); font-weight: 600; font-size: 14.5px; }

/* The phone beside it: where the person says yes, and where an open web session shows the whole time. */
.p-list { display: grid; gap: 10px; }
.p-list .a-row b { font-size: 13px; }
.p-sheet { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 6; padding: 20px 16px 16px; border-radius: 30px; background: var(--surface); box-shadow: 0 -10px 40px rgba(0,0,0,.25), inset 0 0 0 1px var(--line); display: grid; gap: 12px; transform: translateY(110%); transition: transform .55s var(--ease); }
.p-sheet.on { transform: none; }
.p-sheet h5 { margin: 0; font-size: 19px; letter-spacing: -.02em; }
.p-sheet dl { margin: 0; display: grid; gap: 0; font-size: 13px; border-radius: 14px; background: var(--bg); padding: 4px 12px; }
.p-sheet dl div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; } .p-sheet dl div + div { border-top: 1px solid var(--line); }
.p-sheet dt { color: var(--fg-2); } .p-sheet dd { margin: 0; font-weight: 600; text-align: right; }
.p-btns { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.p-btn { height: 46px; border-radius: 23px; border: 0; font: 600 15px/1 var(--font-ui); cursor: pointer; background: var(--surface-2); color: var(--fg); }
.p-btn.go { background: var(--accent); color: var(--accent-ink); }
.p-btn.nudge { animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { box-shadow: 0 0 0 6px var(--accent-soft); } }
.p-scan { position: absolute; inset: 0; z-index: 4; background: #0b0c10; color: #fff; display: grid; place-items: center; align-content: center; gap: 18px; font-size: 13.5px; opacity: 0; pointer-events: none; transition: opacity .35s; }
.p-scan.on { opacity: 1; }
.p-view { position: relative; width: 170px; height: 170px; border-radius: 26px; display: grid; place-items: center; }
/* Four corner brackets: a rounded outline with the middle of each side cut away. */
.p-view::before { content: ""; position: absolute; inset: 0; border-radius: 26px; border: 3px solid rgba(255,255,255,.9); clip-path: polygon(0 0, 34% 0, 34% 8%, 66% 8%, 66% 0, 100% 0, 100% 34%, 92% 34%, 92% 66%, 100% 66%, 100% 100%, 66% 100%, 66% 92%, 34% 92%, 34% 100%, 0 100%, 0 66%, 8% 66%, 8% 34%, 0 34%); }
.p-view .qr { width: 118px; }
.p-view i { position: absolute; left: 14px; right: 14px; top: 20px; height: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: scan 1.5s ease-in-out infinite; }
@keyframes scan { 50% { transform: translateY(128px); } }
.p-notice { position: absolute; left: 10px; right: 10px; top: 52px; z-index: 6; padding: 12px 12px 12px 14px; border-radius: 22px; background: var(--surface); box-shadow: 0 10px 30px rgba(0,0,0,.22), inset 0 0 0 1px var(--line); display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; font-size: 12.5px; transform: translateY(calc(-100% - 70px)); transition: transform .55s var(--ease); }
.p-notice.on { transform: none; }
.p-notice b { display: block; font-size: 13.5px; } .p-notice span { color: var(--fg-2); }
.p-notice button { height: 34px; padding: 0 14px; border-radius: 17px; border: 0; background: var(--accent); color: var(--accent-ink); font: 600 13px/1 var(--font-ui); cursor: pointer; }

/* The account, read only. Numbers arrive sealed and open once the phone has said yes. */
.acct { display: grid; gap: 16px; }
.sess { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; padding: 12px 12px 12px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; }
.sess .who { font-weight: 600; } .sess .left { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--fg-2); }
.sess .ro { display: inline-flex; align-items: center; gap: 7px; color: var(--good); font-weight: 600; }
.sess .ro i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
@media (max-width: 560px) { .sess { border-radius: 22px; } .sess .left { margin-left: 0; } }
.launched { margin: 0; padding: 0 6px; font-size: 14.5px; max-width: 70ch; }
/* The question for a browser that does not look like it is on the app's network (weblogin.js askWhose). */
.whose { max-width: 640px; margin-inline: auto; }
.whose p { margin: 0; }
.whose-name { font-weight: 600; color: var(--fg); font-size: 16px; overflow-wrap: anywhere; }
.whose-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 22px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.card.wide { grid-column: 1 / -1; }
.card h3 { font: 600 15px/1.3 var(--font-body); letter-spacing: 0; color: var(--fg-2); display: flex; justify-content: space-between; gap: 10px; }
.card h3 small { font-weight: 400; font-size: 13px; color: var(--fg-3); }
.stat { font: 600 34px/1.05 var(--font-body); letter-spacing: -.03em; } .stat small { font: 500 15px/1 var(--font-body); color: var(--fg-2); letter-spacing: 0; }
.meter { height: 8px; border-radius: 99px; background: var(--viz-track); overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--v, 0%); border-radius: inherit; background: var(--accent); transition: width 1s var(--ease); }
.rank { display: grid; gap: 10px; margin: 0; padding: 0; }
.rank li { list-style: none; display: grid; grid-template-columns: 62px minmax(0, 1fr) 70px; gap: 12px; align-items: center; font-size: 14px; }
.rank .rb { height: 14px; border-left: 1px solid var(--line); } .rank .rb i { display: block; height: 100%; width: var(--v, 0%); border-radius: 0 4px 4px 0; background: var(--accent); transition: width .9s var(--ease); }
.rank span:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--fg-2); }
.cols { position: relative; display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 2px; align-items: end; height: 150px; margin-top: 14px; padding-left: 26px; border-bottom: 1px solid var(--line);
  background: linear-gradient(var(--line), var(--line)) 0 0 / 100% 1px no-repeat, linear-gradient(var(--line), var(--line)) 0 50% / 100% 1px no-repeat; }
.yt { position: absolute; left: 0; z-index: 1; translate: 0 -50%; padding-right: 6px; background: var(--surface); font: 400 11px/1 var(--font-body); color: var(--fg-3); font-variant-numeric: tabular-nums; }
.yt.t40 { top: 0; } .yt.t20 { top: 50%; }
.col { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; border: 0; padding: 0; background: none; cursor: default; }
.col i { display: block; width: min(24px, 60%); height: var(--v, 0%); border-radius: 4px 4px 0 0; background: var(--viz-mute); transition: height .9s var(--ease), background .2s; }
.col.now i { background: var(--accent); }
/* Only the month the story is about carries its number; the rest are in the tooltip and the table. */
.col.now::after { content: attr(data-gb); position: absolute; left: 50%; bottom: calc(var(--v, 0%) + 6px); translate: -50% 0; font: 600 12px/1 var(--font-body); color: var(--fg); font-variant-numeric: tabular-nums; transition: bottom .9s var(--ease); }
.col:hover i, .col:focus-visible i { background: color-mix(in srgb, var(--accent) 70%, var(--fg)); }
.col-x { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 2px; padding-left: 26px; font: 400 12px/1 var(--font-body); color: var(--fg-3); text-align: center; font-variant-numeric: tabular-nums; }
.pop { position: absolute; z-index: 3; left: var(--px, 0); top: var(--py, 0); translate: -50% -115%; padding: 7px 10px; border-radius: 9px; background: var(--fg); color: var(--bg); font-size: 12.5px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s; }
.pop.on { opacity: 1; } .pop b { font-weight: 600; margin-right: 6px; }
.tbl { overflow-x: auto; }
.tbl table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.tbl th, .tbl td { text-align: left; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th { font: 500 13px/1.3 var(--font-body); color: var(--fg-3); } .tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; padding-right: 0; }
.tbl tr:last-child td { border-bottom: 0; }
.ok { display: inline-flex; align-items: center; gap: 6px; color: var(--good); font-weight: 600; } .ok svg { width: 15px; height: 15px; }
.devs { display: grid; gap: 0; margin: 0; padding: 0; }
.devs li { list-style: none; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; font-size: 14.5px; } .devs li + li { border-top: 1px solid var(--line); }
.devs b { display: block; font-weight: 600; } .devs small { color: var(--fg-2); font-size: 13px; }
.devs .here { color: var(--accent); font-weight: 600; font-size: 13px; }
.devs .tile { font-size: 0; }
.sealed-n { font-family: var(--font-mono); color: var(--sealed); letter-spacing: .08em; }
.ro-note { font-size: 13.5px; color: var(--fg-2); }

/* The plan, changed from the browser (webbilling.js). Every change is asked first, under the plans, in the provider's figures. */
.pl-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pl-status { margin: 0; font-size: 14px; color: var(--fg-2); }
.pl-status[data-kind="good"] { color: var(--good); font-weight: 600; } .pl-status[data-kind="bad"] { color: var(--bad); }
.pl-panel { gap: 18px; }
.pl-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.pl-head h3 { color: var(--fg); font-size: 17px; }
/* `pl-seg`, not `seg`: `.seg` is the home page's Compare and Pricing toggles, and a second `.seg` here restyled them. */
.pl-seg { display: inline-flex; padding: 3px; border-radius: 99px; background: var(--surface-2); }
.pl-seg button { border: 0; background: none; padding: 7px 14px; border-radius: 99px; font: 600 13.5px/1 var(--font-body); color: var(--fg-2); cursor: pointer; transition: background .2s, color .2s; }
.pl-seg button[aria-pressed="true"] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 3px rgba(10,12,30,.14); }
.pk-plan { font-weight: 600; color: var(--fg); }
.pl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.pl-tile { display: grid; gap: 4px; align-content: start; padding: 16px; border-radius: var(--r-md); border: 1px solid var(--line); min-width: 0; }
.pl-tile.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
.pl-name { font: 600 20px/1.15 var(--font-body); letter-spacing: -.02em; }
.pl-price { font-size: 15px; font-variant-numeric: tabular-nums; } .pl-tile small { color: var(--fg-3); font-size: 12.5px; }
.pl-tile .btn { margin-top: 10px; justify-content: center; }
.pl-tag { margin-top: 10px; font: 600 13px/1.3 var(--font-body); color: var(--accent); }
.pl-why { margin-top: 10px; font-size: 12.5px; line-height: 1.4; color: var(--fg-3); }
.pl-confirm { display: grid; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); background: var(--accent-soft); }
.pl-q p { margin: 0 0 4px; font-size: 14.5px; } .pl-q p:first-child { font-weight: 600; }
.pl-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.pl-foot .mut { margin: 0; flex: 1 1 260px; font-size: 14px; }
.btn.pl-end { color: var(--bad); } .btn.pl-end:hover { border-color: var(--bad); }

/* ---------- Legal pages and small pages: the reviewed words in the new shell, with no scripts at all ---------- */
.doc { max-width: 760px; margin: 0 auto; padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.doc-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 30px; }
.doc-tabs a { padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font: 600 14px/1 var(--font-body); color: var(--fg-2); }
.doc-tabs a[aria-current] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.doc main { font-size: 16.5px; line-height: 1.7; }
.doc main:focus { outline: none; }
.doc main h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.03; font-weight: 700; letter-spacing: -.04em; margin: 12px 0 10px; }
.doc main h2 { font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; margin: 44px 0 12px; }
.doc main p { margin: 0 0 14px; }
.doc main a { color: var(--accent); text-underline-offset: .2em; overflow-wrap: anywhere; }
.doc main .eyebrow { display: inline-block; margin: 0; padding: 5px 10px; border-radius: 99px; border: 1px dashed color-mix(in srgb, var(--fg) 28%, transparent); font: 500 12.5px/1.2 var(--font-body); color: var(--fg-2); }
.doc main .updated { color: var(--fg-3); font-size: 14px; }
.doc main .lead { font-size: 20px; line-height: 1.5; color: var(--fg); max-width: none; margin: 22px 0 14px; }
.doc main dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.doc main dt { font-weight: 600; padding-top: 16px; }
.doc main dd { margin: 4px 0 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--fg-2); }
.doc main ol { padding-left: 22px; margin: 0 0 14px; display: grid; gap: 10px; }
.doc main li { padding-left: 4px; }
.doc main .page-list { border-block: 1px solid var(--line); padding-bottom: 8px; margin-block: 26px; }
.doc main .page-list h2 { font-size: 20px; margin-top: 24px; }
.doc-foot { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--fg-3); font-size: 14px; }
.lost { display: grid; justify-items: center; gap: 18px; text-align: center; padding-block: clamp(56px, 10vw, 120px); }
.lost .mark { width: 120px; height: 120px; }
.lost h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.03; font-weight: 700; letter-spacing: -.04em; }
.lost p { color: var(--fg-2); max-width: 44ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .tick-in { flex-wrap: wrap; width: auto; gap: 14px 30px; padding-inline: 16px; } .tick-in .twin { display: none; }
  .st-momo { translate: 0 -73%; }
}
@media print { .hdr, .dock, .ft-top { display: none; } body { background: #fff; color: #000; } }
