/* VoiceType site — one stylesheet for every page. Light theme only (owner rule): there is no
   dark palette and never a dark-scheme media query. Colour comes from gradients and the four
   product accents on light backgrounds. */

:root {
  --ink: #0b1020;
  --ink-2: #1c2540;
  --mute: #4f5a75;
  --mute-2: #5f6880;
  --line: #e6e9f2;
  --line-2: #d6dbea;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-tint: #f8f6ff;

  --violet: #7c3aed;
  --blue: #2563eb;
  --sky: #0ea5e9;
  --teal: #0d9488;
  --green: #16a34a;
  --amber: #f59e0b;
  --orange: #f97316;
  --pink: #db2777;

  --grad: linear-gradient(100deg, #7c3aed 0%, #4f46e5 28%, #2563eb 52%, #0369a1 78%, #0f766e 100%);
  --grad-warm: linear-gradient(100deg, #c2410c 0%, #be185d 45%, #7c3aed 100%);
  --grad-soft: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 35%, #ecfeff 70%, #fff7ed 100%);

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --r-xl: 36px;

  --sh-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .06);
  --sh: 0 2px 6px rgba(16, 24, 40, .05), 0 12px 32px -8px rgba(30, 41, 90, .14);
  --sh-lg: 0 4px 12px rgba(16, 24, 40, .06), 0 30px 80px -20px rgba(30, 41, 90, .30);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: 16px;
  --header-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* In-page jumps clear the sticky header; site.js keeps this equal to the header's real height. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font: 17px/1.6 var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #1d4ed8; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 6.6vw, 82px); line-height: 1.02; font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(31px, 4.3vw, 54px); line-height: 1.06; font-weight: 800; letter-spacing: -0.035em; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 700; }
h4 { font-size: 17px; line-height: 1.3; font-weight: 700; }
/* Headings never end on a lone word; running text avoids one-word last lines. */
h1, h2, h3, h4 { text-wrap: balance; }
p, li, .lede, figcaption, summary { text-wrap: pretty; }
/* Hyphenated compounds (clean-up, 64-bit) never break at the hyphen. */
.nw { white-space: nowrap; }
::selection { background: #ddd6fe; color: var(--ink); }
:focus-visible { outline: 3px solid #6366f1; outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.glyph { width: 20px; height: 20px; flex: none; fill: currentColor; }

/* The serif italic accent with a gradient fill — the site's signature. */
.hl {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 .06em 0 .02em;
}
.hl.warm { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Press feedback (owner law 9): every clickable control acknowledges the press ---------- */
a, button, summary, .btn, [role="tab"], label.switch {
  transition: transform .12s ease, opacity .12s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
:is(button, summary, .btn, [role="tab"], .nav a, .chip-link, .card-link, .foot a, .store):active { transform: scale(.96); opacity: .82; }
a:active { opacity: .78; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 14px;
  font: 600 16px/1.2 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
}
.btn .icon, .btn .glyph { width: 19px; height: 19px; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 8px 24px -10px rgba(11, 16, 32, .6); }
.btn-dark:hover { background: #1b2340; color: #fff; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(79, 70, 229, .65); background-size: 140% 100%; }
.btn-grad:hover { color: #fff; background-position: 100% 0; box-shadow: 0 14px 36px -10px rgba(79, 70, 229, .75); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--sh-sm); }
.btn-light:hover { color: var(--ink); border-color: #b9c1d8; }
.btn-acc { background: var(--acc, var(--blue)); color: #fff; box-shadow: 0 10px 28px -12px var(--acc, var(--blue)); }
.btn-acc:hover { color: #fff; filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--ink); padding-left: 6px; padding-right: 6px; }
.btn-ghost:hover { color: var(--blue); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; border-radius: 12px; }
.btn-lg { min-height: 56px; padding: 15px 28px; font-size: 17px; border-radius: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store { display: inline-block; line-height: 0; border-radius: 12px; }
.store img { height: 54px; width: auto; }
.btn .sub { display: block; font-size: 12.5px; font-weight: 500; opacity: .92; margin-top: 2px; }
.btn .two-line { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; text-align: left; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(214, 219, 234, .7);
}
.site-header .bar { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink); font: 800 20px/1 var(--display); letter-spacing: -0.03em; }
.brand:hover { color: var(--ink); }
.brand .mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 6px 16px -6px rgba(79, 70, 229, .7); }
.brand .mark svg { width: 20px; height: 20px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 12px; border-radius: 10px; color: var(--mute); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--ink); background: #eef0f8; }
.nav a .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.header-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
/* The App Store call to action is Apple's official badge, 40 px tall like the Download button. */
.header-cta .store img { height: 40px; }

/* Narrow laptops and tablets in landscape: the one-row header drops the App Store button and
   tightens, so the Download button always fits (it overflowed between 961 and 1106 px). */
@media (max-width: 1180px) {
  .header-cta .store { display: none; }
  .site-header .bar { gap: 14px; }
  .nav { margin-left: 0; gap: 2px; }
  .nav a { padding: 8px 10px; }
}
/* Tablets and phones: the nav moves to its own row(s) under the brand and WRAPS, so every link
   and the current page are always in view. No hamburger, no sideways scrolling. */
@media (max-width: 1000px) {
  .site-header .bar { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 8px; gap: 6px 12px; }
  .header-cta { margin-left: auto; }
  .header-cta .store { display: inline-block; }
  .nav { order: 3; width: 100%; margin: 0 -10px; width: calc(100% + 20px); flex-wrap: wrap; gap: 2px 4px; }
  .nav a { padding: 8px 10px; }
  html { scroll-padding-top: 136px; }
}
/* Phones: the two-row header scrolls away with the page instead of covering a fifth of it. */
@media (max-width: 700px) {
  .site-header { position: relative; }
  html { scroll-padding-top: 16px; }
}
@media (max-width: 500px) { .header-cta .store { display: none; } }
/* Below 610 px the seven links never fit one row: split them 4 + 3 (the apps, then Pricing,
   Privacy, Support) instead of leaving one link alone on a second row. Visual order = DOM order. */
@media (max-width: 609px) {
  .nav::after { content: ""; flex-basis: 100%; height: 0; order: 1; }
  .nav a:nth-child(n+5) { order: 2; }
}
@media (max-width: 420px) {
  .nav { gap: 0 2px; }
  .nav a { padding: 8px 9px; font-size: 14.5px; gap: 6px; }
}
@media (max-width: 360px) {
  .site-header .bar { column-gap: 8px; }
  .header-cta .btn { padding-left: 12px; padding-right: 12px; }
  .nav a .dot { display: none; }
  .nav a { padding: 8px 8px; }
}

/* ---------- Sections ---------- */
section { position: relative; padding: clamp(60px, 8vw, 104px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.soft { background: var(--bg-soft); }
.tint { background: linear-gradient(180deg, #faf9ff 0%, #f4f8ff 100%); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-2); box-shadow: var(--sh-sm);
  font: 600 13px/1.2 var(--font); color: var(--ink-2); letter-spacing: .01em;
}
.eyebrow .pip { width: 18px; height: 18px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; }
.eyebrow .pip::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { margin: 16px 0 14px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--mute); line-height: 1.55; margin: 0; }
.muted { color: var(--mute); }
.small { font-size: 14.5px; }

/* Decorative aurora behind heroes — light, soft, never behind text contrast-critical areas. */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.aurora i:nth-child(1) { width: 520px; height: 520px; background: #c4b5fd; top: -180px; left: -120px; }
.aurora i:nth-child(2) { width: 460px; height: 460px; background: #93c5fd; top: -120px; right: -140px; }
.aurora i:nth-child(3) { width: 420px; height: 420px; background: #99f6e4; bottom: -220px; left: 30%; opacity: .45; }
.aurora i:nth-child(4) { width: 300px; height: 300px; background: #fed7aa; top: 40%; right: 18%; opacity: .4; }
/* On phones the blobs sit right behind the hero text: soften them so muted text keeps 4.5:1. */
@media (max-width: 700px) { .aurora i { opacity: .3; } .aurora i:nth-child(n+3) { opacity: .25; } }
.dots { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(79, 70, 229, .14) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%); }

/* ---------- Home hero ---------- */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; }
.hero::after, .phero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; z-index: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 { margin: 18px 0 20px; font-size: clamp(42px, 5.5vw, 76px); }
.hero .lede { max-width: 560px; margin-bottom: 30px; }
.hero .btn-row { margin-bottom: 26px; }
.platform-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pbadge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; min-height: 40px; }
.pbadge:hover { color: var(--ink); border-color: var(--line-2); box-shadow: var(--sh-sm); }
.pbadge .glyph { width: 16px; height: 16px; color: var(--acc); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero .lede { max-width: none; } }

/* ---------- Demo stage (home hero) ---------- */
.stage-wrap { position: relative; }
.tabs { display: flex; gap: 4px; padding: 5px; border-radius: 16px; background: rgba(255, 255, 255, .78); border: 1px solid var(--line); box-shadow: var(--sh-sm); width: max-content; max-width: 100%; margin: 0 auto 16px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 14px; border: 0; border-radius: 12px; background: transparent; color: var(--mute); font: 600 14.5px/1 var(--font); cursor: pointer; white-space: nowrap; }
.tabs [role="tab"] .glyph { width: 16px; height: 16px; }
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: 0 6px 16px -8px rgba(11, 16, 32, .6); }
.stage {
  position: relative; border-radius: var(--r-xl); padding: clamp(16px, 3vw, 30px);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(196, 181, 253, .55) 0%, transparent 55%),
    radial-gradient(110% 90% at 100% 0%, rgba(147, 197, 253, .6) 0%, transparent 55%),
    radial-gradient(120% 100% at 50% 100%, rgba(153, 246, 228, .55) 0%, transparent 60%),
    #f7f8ff;
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--sh-lg), inset 0 0 0 1px rgba(99, 102, 241, .08);
  min-height: 470px; display: grid; place-items: center; overflow: hidden;
}
.scene { width: 100%; display: none; }
.scene.active { display: block; animation: sceneIn .5s ease both; }
/* Every scene sits in the same grid cell; the hidden ones keep their space (and stay hidden from
   assistive tech), so the stage is always as tall as its tallest scene and switching never moves
   the page. */
.stage > .scene { display: block; grid-area: 1 / 1; visibility: hidden; }
.stage > .scene.active { visibility: visible; }
@keyframes sceneIn { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }
.stage-foot { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.stage-caption { flex: 1; min-width: 0; text-align: center; color: var(--mute); font-size: 14px; line-height: 1.5; margin: 14px 0 0; }
.stage-foot .stage-caption { margin: 0; }
/* site.js stacks every scene's caption in one cell, so a longer caption never moves the page. */
.stage-caption.stacked { display: grid; }
.stage-caption.stacked > span { grid-area: 1 / 1; visibility: hidden; }
.stage-caption.stacked > span.on { visibility: visible; }
/* Pause / play for the moving demos and the app-name strip (WCAG 2.2.2). */
.motion-toggle { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 40px; padding: 8px 14px 8px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); font: 600 13.5px/1 var(--font); cursor: pointer; box-shadow: var(--sh-sm); }
.motion-toggle:hover { color: var(--ink); border-color: #b9c1d8; }
.motion-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.stage-foot.solo { justify-content: center; }
@media (max-width: 520px) { .stage-foot { flex-direction: column; gap: 10px; } .stage-foot .stage-caption { width: 100%; } }
.paused, .paused * { animation-play-state: paused !important; }

/* Desktop window mockups */
.desk { position: relative; width: 100%; max-width: 560px; margin: 0 auto; }
.mwin { border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08), 0 24px 60px -18px rgba(30, 41, 90, .35); overflow: hidden; }
.mwin .tbar { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: linear-gradient(#fbfbfd, #f3f4f8); border-bottom: 1px solid #e7e8ee; font: 600 13px/1 var(--font); color: #59607a; }
.mwin .lights { display: flex; gap: 7px; margin-right: 8px; }
.mwin .lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .15); }
.mwin .lights i:nth-child(2) { background: #febc2e; }
.mwin .lights i:nth-child(3) { background: #28c840; }
.mwin .tbar .title { flex: 1; text-align: center; margin-right: 60px; }
.wwin .tbar { justify-content: space-between; background: #f3f3f3; border-bottom: 1px solid #e5e5e5; padding: 0 0 0 14px; color: #333; font-weight: 500; }
.wwin .tbar .title { flex: 1; text-align: left; margin: 0; }
.wwin .ctrls { display: flex; height: 100%; }
.wwin .ctrls i { width: 44px; display: grid; place-items: center; font-style: normal; color: #444; font-size: 14px; }
.wwin .ctrls i:last-child:hover { background: #e81123; color: #fff; }
.wwin { border-radius: 8px; }
.menubar { display: flex; align-items: center; justify-content: flex-end; gap: 14px; height: 26px; padding: 0 12px; margin-bottom: 14px; border-radius: 10px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9); font: 600 12px/1 var(--font); color: #2a3147; backdrop-filter: blur(8px); }
.menubar .left { margin-right: auto; display: flex; gap: 14px; align-items: center; }
.menubar .mic-on { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 18px; border-radius: 5px; background: rgba(22, 163, 74, .14); color: var(--green); }
.menubar .mic-on svg { width: 12px; height: 12px; }
.taskbar { display: flex; align-items: center; justify-content: center; gap: 10px; height: 40px; margin-top: 14px; border-radius: 10px; background: rgba(243, 243, 243, .9); border: 1px solid rgba(255, 255, 255, .9); position: relative; }
.taskbar i { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #cfe3ff, #a8c8f5); }
.taskbar i:first-child { background: conic-gradient(from 45deg, #0ea5e9 0 25%, #22c55e 0 50%, #f59e0b 0 75%, #ef4444 0); border-radius: 4px; transform: scale(.82); }
.taskbar .tray { position: absolute; right: 10px; display: flex; gap: 10px; align-items: center; font: 500 11.5px/1 var(--font); color: #333; }
.taskbar .tray .mic-on { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: rgba(22, 163, 74, .14); color: var(--green); }
.taskbar .tray svg { width: 13px; height: 13px; }

.doc { padding: 18px 20px 22px; font-size: 15px; line-height: 1.55; color: #1f2433; min-height: 230px; }
.doc .field { display: flex; gap: 8px; padding: 7px 0; border-bottom: 1px solid #eef0f5; font-size: 13.5px; color: #6b7280; }
.doc .field b { color: #111827; font-weight: 600; }
.doc .body { padding-top: 12px; min-height: 120px; }
.chat { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; min-height: 250px; background: #fafafa; }
.chat .msg { max-width: 82%; padding: 9px 12px; border-radius: 12px; background: #fff; border: 1px solid #eceef3; font-size: 14px; line-height: 1.45; color: #1f2433; }
.chat .msg .who { display: block; font-size: 12px; font-weight: 700; color: #4b5563; margin-bottom: 2px; }
.chat .compose { margin-top: auto; border: 1px solid #d9dce5; border-radius: 10px; background: #fff; padding: 10px 12px; font-size: 14px; min-height: 44px; color: #1f2433; }
.typed-final { color: #111827; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: #2563eb; vertical-align: -0.18em; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.placeholder { color: #9aa1b2; }

/* The VoiceInput live-transcript pill — drawn from the app's own HUD: light material, 18 pt
   corners, the state icon on the left, the words, then an 8-bar level meter with captions. */
.pill {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: min(92%, 440px);
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(22, 163, 74, .45);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .18), 0 18px 40px -16px rgba(30, 41, 90, .35);
  transition: opacity .35s ease, transform .35s ease, border-color .25s ease;
}
.pill.win { background: rgba(250, 250, 250, .95); }
.pill .state { width: 20px; flex: none; color: var(--green); padding-top: 1px; }
.pill .state svg { width: 17px; height: 17px; }
.pill.win .state { width: 10px; padding-top: 7px; }
.pill.win .state i { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.pill .words { flex: 1; min-width: 0; font: 500 15px/1.4 var(--font); color: #1a1a1a; min-height: 21px; }
.pill .side { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: none; color: #6b6b6b; font: 600 11px/1.2 var(--font); }
.pill .side .tone { font-weight: 500; font-size: 10px; color: #6b6b6b; }
.meter { display: flex; gap: 2px; align-items: center; height: 14px; }
.meter i { width: 3px; border-radius: 1px; background: rgba(120, 128, 150, .2); }
.meter i:nth-child(1) { height: 4px; } .meter i:nth-child(2) { height: 5.4px; } .meter i:nth-child(3) { height: 6.8px; } .meter i:nth-child(4) { height: 8.2px; }
.meter i:nth-child(5) { height: 9.6px; } .meter i:nth-child(6) { height: 11px; } .meter i:nth-child(7) { height: 12.4px; } .meter i:nth-child(8) { height: 13.8px; }
.listening .meter i { animation: lvl 1.1s ease-in-out infinite; }
.listening .meter i:nth-child(n+7) { animation-name: lvlTop; }
.meter i:nth-child(2) { animation-delay: .08s; } .meter i:nth-child(3) { animation-delay: .16s; } .meter i:nth-child(4) { animation-delay: .24s; }
.meter i:nth-child(5) { animation-delay: .32s; } .meter i:nth-child(6) { animation-delay: .4s; } .meter i:nth-child(7) { animation-delay: .48s; } .meter i:nth-child(8) { animation-delay: .56s; }
@keyframes lvl { 0%, 100% { background: rgba(120, 128, 150, .2); } 35%, 65% { background: #22c55e; } }
@keyframes lvlTop { 0%, 100% { background: rgba(120, 128, 150, .2); } 45%, 55% { background: #f59e0b; } }
.pill.processing { border-color: rgba(194, 106, 0, .5); }
.pill.processing .state { color: #a85d00; }
.pill.processing .words { color: #a85d00; font-weight: 600; font-size: 13.5px; }
.pill.processing.win .state i { background: #c26a00; }
.pill.gone { opacity: 0; transform: translate(-50%, 10px); }

/* Phone mockups */
.phones { display: flex; justify-content: center; align-items: flex-start; gap: 18px; }
.phone {
  position: relative; width: 268px; aspect-ratio: 9 / 19.4; flex: none;
  border-radius: 46px; padding: 10px; background: #0d111c;
  box-shadow: inset 0 0 0 2px #2b3142, 0 0 0 1px rgba(15, 23, 42, .25), 0 40px 80px -24px rgba(30, 41, 90, .45);
}
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #fff; }
.phone .screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone::before { content: ""; position: absolute; z-index: 3; top: 19px; left: 50%; transform: translateX(-50%); width: 82px; height: 24px; border-radius: 20px; background: #0d111c; }
.phone.android { aspect-ratio: 1 / 2; border-radius: 34px; padding: 8px; background: #151a26; }
.phone.android .screen { border-radius: 27px; }
.phone.android::before { width: 13px; height: 13px; top: 17px; border-radius: 50%; background: #0b0e16; box-shadow: 0 0 0 2px #22283a; }
.phone.sm { width: 220px; border-radius: 38px; padding: 8px; }
.phone.sm .screen { border-radius: 31px; }
.phone.sm::before { width: 66px; height: 19px; top: 15px; }
.phone.sm.android { border-radius: 28px; }
.phone.sm.android .screen { border-radius: 22px; }
.phone.sm.android::before { width: 11px; height: 11px; top: 14px; }

/* Live phone screen (drawn, so the words can appear as you "speak") */
.pscreen { position: absolute; inset: 0; display: flex; flex-direction: column; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--font); background: #fff; }
.pscreen .status { display: flex; justify-content: space-between; padding: 14px 26px 0; font-size: 12.5px; font-weight: 600; color: #111; height: 40px; }
.pscreen .contact { text-align: center; padding: 6px 0 8px; border-bottom: 1px solid #f0f0f3; background: #fafafa; }
.pscreen .avatar { width: 34px; height: 34px; border-radius: 50%; margin: 0 auto 3px; background: linear-gradient(135deg, #93b4f7, #6f95ee); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.pscreen .contact b { font-size: 11px; font-weight: 600; color: #222; }
.pscreen .thread { flex: 1; min-height: 0; padding: 10px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent 0, #000 22px); mask-image: linear-gradient(transparent 0, #000 22px); }
.pscreen .b { flex-shrink: 0; max-width: 78%; padding: 7px 10px; border-radius: 15px; font-size: 12px; line-height: 1.35; background: #e9e9eb; color: #111; }
.pscreen .b.me { align-self: flex-end; background: #0a84ff; color: #fff; }
.pscreen .b.new { animation: pop .35s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
.pscreen .input { display: flex; gap: 6px; align-items: center; padding: 6px 8px; }
.pscreen .input > span { flex: 1; min-height: 28px; border: 1px solid #d5d5da; border-radius: 15px; padding: 5px 10px; font-size: 12px; color: #111; line-height: 1.35; }
.pscreen .input em { width: 24px; height: 24px; border-radius: 50%; background: #0a84ff; flex: none; }
.dict { background: #d1d4d9; padding: 10px 14px 12px; min-height: 196px; display: flex; flex-direction: column; }
.dict .row { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #333; margin-bottom: 6px; }
.dict .row .live { color: #e5484d; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.dict .row .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e5484d; }
.dict .row .right { margin-left: auto; color: #555; }
.dict .text { flex: 1; font-size: 16px; line-height: 1.32; color: #111; font-weight: 500; }
.dict .stop { align-self: center; margin-top: 10px; width: 62%; height: 38px; border-radius: 11px; background: #ef4444; color: #fff; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 14px; font-weight: 600; }
.dict .stop::before { content: ""; width: 12px; height: 12px; border-radius: 2px; background: #fff; }
.dict.android { background: #eef0f4; }
.dict.android .bar { height: 6px; border-radius: 3px; margin-bottom: 8px; background: repeating-linear-gradient(90deg, #ef4444 0 4px, transparent 4px 6px); opacity: .9; }
.dict.android .card { flex: 1; background: #fff; border-radius: 12px; padding: 10px; font-size: 15px; line-height: 1.45; color: #111; }
.dict.android .stop { width: 100%; border-radius: 999px; }
.telugu { font-family: "Noto Sans Telugu", "Kohinoor Telugu", "Gautami", "Nirmala UI", var(--font); }
.wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.wave i { width: 3px; border-radius: 2px; background: currentColor; height: 30%; animation: wave 1s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }


/* Demo sizing: the stacked scenes set the stage height (see .stage > .scene). */
.stage { min-height: 0; }
.stage .phone { width: 262px; }
.stage .doc { min-height: 268px; }
.stage .chat { min-height: 318px; }
.desk.has-taskbar .pill { bottom: 74px; }
.pill.static { position: relative; left: auto; bottom: auto; transform: none; width: 100%; max-width: 520px; }
.pcard .visual .pill { width: min(94%, 420px); }
.dock { display: flex; justify-content: center; gap: 8px; width: max-content; margin: 16px auto 0; padding: 7px 10px; border-radius: 16px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 8px 24px -12px rgba(30, 41, 90, .35); backdrop-filter: blur(10px); }
.dock i { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, #a5b4fc, #6366f1); }
.dock i:nth-child(2) { background: linear-gradient(135deg, #7dd3fc, #0284c7); }
.dock i:nth-child(3) { background: linear-gradient(135deg, #fde68a, #f59e0b); }
.dock i:nth-child(4) { background: linear-gradient(135deg, #86efac, #16a34a); }
.dock i:nth-child(5) { background: linear-gradient(135deg, #fda4af, #e11d48); }
.dock i:nth-child(6) { background: linear-gradient(135deg, #e9d5ff, #a855f7); }
.desk.has-dock .pill { bottom: 74px; }
.tidy { display: grid; gap: 8px; }
.tidy div { padding: 10px 12px; border-radius: 12px; font-size: 14px; line-height: 1.45; border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink-2); }
.tidy div small { display: block; font: 700 11px/1.3 var(--font); text-transform: uppercase; letter-spacing: .07em; color: var(--mute-2); margin-bottom: 2px; }
.tidy div.out { background: #f5f3ff; border-color: #ddd6fe; }
.tidy div.no { background: #fff1f2; border-color: #fecdd3; color: #9f1239; text-decoration: line-through; text-decoration-color: rgba(159, 18, 57, .5); }
@media (max-width: 520px) {
  .tabs { gap: 2px; padding: 4px; }
  .tabs [role="tab"] { padding: 8px 10px; font-size: 14px; gap: 5px; }
  .tabs [role="tab"] .glyph { width: 13px; height: 13px; }
  .stage { padding: 14px 10px; border-radius: 26px; }
  .stage .phone { width: 238px; }
  .stage .doc { min-height: 230px; }
  .pill { padding: 10px 11px; gap: 8px; }
  .pill .words { font-size: 14px; }
  .pcard .visual { height: 300px; }
  .menubar .left span { display: none; }
}
/* Small phones: the four demo tabs share the row evenly instead of running off the edge. */
@media (max-width: 400px) {
  .tabs { width: 100%; }
  .tabs [role="tab"] { flex: 1 1 auto; justify-content: center; padding: 8px 6px; gap: 4px; font-size: 13.5px; }
}
@media (max-width: 350px) { .tabs [role="tab"] .glyph { display: none; } }

/* ---------- Strip of apps ---------- */
.apps-strip { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; }
.apps-strip p { text-align: center; color: var(--mute-2); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.apps-strip .strip-head { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 12px; padding: 0 var(--gutter); }
.apps-strip .strip-head p { margin: 0; }
.apps-strip.paused .marquee, .marquee-mask:hover .marquee, .marquee-mask:focus-within .marquee { animation-play-state: paused; }
.marquee { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { position: relative; font: 700 22px/1.2 var(--display); color: #6b7591; letter-spacing: -0.02em; padding: 0 26px; white-space: nowrap; }
.marquee span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--grad); }
.marquee-mask { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Facts band ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fact { padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.fact .n { font: 800 clamp(34px, 3.6vw, 46px)/1 var(--display); letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.fact:nth-child(2) .n { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; }
.fact p { margin: 0; color: var(--mute); font-size: 15.5px; line-height: 1.5; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 28px 26px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.step .num { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font: 800 18px/1 var(--display); color: #fff; background: var(--grad); margin-bottom: 18px; box-shadow: 0 10px 22px -10px rgba(79, 70, 229, .7); }
.step:nth-child(2) .num { background: linear-gradient(135deg, #be185d, #c2410c); box-shadow: 0 10px 22px -10px rgba(236, 72, 153, .7); }
.step:nth-child(3) .num { background: linear-gradient(135deg, #0f766e, #15803d); box-shadow: 0 10px 22px -10px rgba(20, 184, 166, .7); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--mute); margin: 0; font-size: 16px; }
.kbd { display: inline-flex; align-items: center; gap: 2px; padding: 2px 8px; border-radius: 7px; background: #fff; border: 1px solid var(--line-2); border-bottom-width: 2px; font: 600 14px/1.5 var(--font); color: var(--ink-2); white-space: nowrap; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.pcard { position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); overflow: hidden; }
.pcard .visual { position: relative; height: 380px; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; padding-top: 34px;
  background: radial-gradient(100% 100% at 50% 0%, var(--acc-soft) 0%, #fff 75%); }
.pcard .visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 44px; background: linear-gradient(transparent, #fff); z-index: 2; }
.pcard .visual .ring { position: absolute; width: 520px; height: 520px; border-radius: 50%; top: -120px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, var(--acc-glow) 0%, transparent 60%); }
.pcard .visual .phone { width: 196px; z-index: 1; }
.pcard .visual .desk { margin-top: 18px; }
.pcard .visual .desk { max-width: 470px; padding: 0 22px; z-index: 1; }
.pcard .body { padding: 6px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.pcard .tag { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--font); color: var(--acc); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.pcard .tag .glyph { width: 16px; height: 16px; }
.pcard h3 { font-size: 26px; letter-spacing: -0.03em; margin-bottom: 8px; }
.pcard p { color: var(--mute); margin-bottom: 16px; }
.pcard ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.pcard li { display: flex; gap: 10px; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.pcard li .icon { width: 18px; height: 18px; color: var(--acc); margin-top: 2px; }
.pcard .btn-row { margin-top: auto; }
.pcard .meta { font-size: 13px; color: var(--mute-2); margin-top: 12px; }
/* The separator binds to the word before it, so a wrapped line never starts with "·". */
.meta [data-rel], .dl-meta [data-rel] { white-space: nowrap; }
.meta [data-rel]::before, .dl-meta [data-rel]::before { content: "\00a0· "; white-space: normal; }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; } }

.p-iphone { --acc: #2563eb; --acc-2: #60a5fa; --acc-soft: #e3ecff; --acc-glow: rgba(96, 165, 250, .35); }
.p-android { --acc: #15803d; --acc-2: #4ade80; --acc-soft: #dcfce7; --acc-glow: rgba(74, 222, 128, .32); }
.p-mac { --acc: #7c3aed; --acc-2: #c084fc; --acc-soft: #efe7ff; --acc-glow: rgba(192, 132, 252, .35); }
.p-windows { --acc: #0369a1; --acc-2: #38bdf8; --acc-soft: #e0f2fe; --acc-glow: rgba(56, 189, 248, .35); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.tile { position: relative; grid-column: span 2; padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); overflow: hidden; display: flex; flex-direction: column; }
.tile.w3 { grid-column: span 3; }
.tile.w4 { grid-column: span 4; }
.tile h3 { margin: 0 0 8px; font-size: 20px; }
.tile p { margin: 0; color: var(--mute); font-size: 15.5px; }
.tile .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px; color: #fff; background: var(--grad); }
.tile .ico .icon { width: 22px; height: 22px; }
.tile.c2 .ico { background: linear-gradient(135deg, #ec4899, #f97316); }
.tile.c3 .ico { background: linear-gradient(135deg, #14b8a6, #22c55e); }
.tile.c4 .ico { background: linear-gradient(135deg, #f59e0b, #f97316); }
.tile.c5 .ico { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.tile.c6 .ico { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.tile .demo { margin-top: 20px; }
.tile.feature { background: linear-gradient(140deg, #f5f3ff 0%, #eff6ff 50%, #ecfeff 100%); border-color: #e4e1fb; }
.vocab { display: flex; flex-direction: column; gap: 8px; }
.vocab div { display: flex; align-items: center; gap: 10px; font: 600 15px/1 var(--font); }
.vocab s { color: #9aa1b2; text-decoration-color: #ef4444; text-decoration-thickness: 2px; font-weight: 500; }
.vocab b { padding: 6px 10px; border-radius: 9px; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.toggles { display: grid; gap: 10px; }
.tgl { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; }
.tgl .sw { width: 38px; height: 22px; border-radius: 999px; background: #d4d8e3; position: relative; flex: none; }
.tgl .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.tgl .sw.on { background: #22c55e; }
.tgl .sw.on::after { left: 19px; }
.tones { display: flex; flex-wrap: wrap; gap: 8px; }
.tones span { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.tones span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.hist { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.hist div { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 11px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.hist div span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hist div time { color: var(--mute-2); font-size: 12.5px; flex: none; }
.devices { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.devices .d { display: grid; place-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.devices .d span { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.devices .d span .glyph { width: 22px; height: 22px; }
.devices .link { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #c7cbe0 0 5px, transparent 5px 9px); margin-bottom: 20px; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile, .tile.w3, .tile.w4 { grid-column: span 1; } .tile.w4 { grid-column: span 2; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .tile.w4 { grid-column: span 1; } }

/* ---------- Privacy band ---------- */
.privacy-band { border-radius: var(--r-xl); padding: clamp(28px, 5vw, 56px); background: linear-gradient(135deg, #ecfdf5 0%, #eff6ff 55%, #f5f3ff 100%); border: 1px solid #dbe7f3; display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.privacy-band h2 { margin: 14px 0 14px; }
.plist { display: grid; gap: 12px; }
.plist div { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .95); box-shadow: var(--sh-sm); }
.plist .icon { color: var(--teal); width: 22px; height: 22px; margin-top: 2px; }
.plist b { display: block; font-size: 16px; margin-bottom: 2px; }
.plist span { color: var(--mute); font-size: 15px; line-height: 1.45; }
@media (max-width: 900px) { .privacy-band { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.price.best { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--sh); }
.price .flag { position: absolute; top: -13px; left: 28px; padding: 5px 12px; border-radius: 999px; background: var(--grad); color: #fff; font: 700 12.5px/1 var(--font); letter-spacing: .02em; }
.price h3 { font-size: 20px; margin-bottom: 6px; }
.price .who { color: var(--mute); font-size: 15px; margin-bottom: 18px; min-height: 46px; }
.amt { font: 800 46px/1 var(--display); letter-spacing: -0.04em; margin-bottom: 4px; }
.amt small { font: 500 16px/1 var(--font); color: var(--mute); letter-spacing: 0; }
.price .note { color: var(--mute-2); font-size: 13.5px; margin-bottom: 20px; min-height: 40px; }
.price ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.price .amt + ul { margin-top: 18px; }
.price li { display: flex; gap: 10px; font-size: 15.5px; color: var(--ink-2); line-height: 1.45; }
.price li .icon { width: 18px; height: 18px; color: var(--green); margin-top: 3px; }
.price .btn { margin-top: auto; width: 100%; }
@media (max-width: 960px) { .prices { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } .price .who, .price .note { min-height: 0; } }

/* ---------- FAQ (inline expansion, never a dialog) ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font: 600 17px/1.4 var(--font); color: var(--ink); min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c2540' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:active { transform: none; }
.faq summary:hover { background: #fbfbfe; }
.faq .a { padding: 0 22px 20px; color: var(--mute); font-size: 16px; }
.faq .a p:last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 64px); text-align: center;
  background: radial-gradient(80% 120% at 0% 0%, #ddd6fe 0%, transparent 60%), radial-gradient(80% 120% at 100% 0%, #bfdbfe 0%, transparent 60%), radial-gradient(90% 120% at 50% 100%, #fbcfe8 0%, transparent 55%), #f8f7ff;
  border: 1px solid #e4e1fb; box-shadow: var(--sh); }
.cta h2 { max-width: 760px; margin: 0 auto 16px; }
.cta .lede { max-width: 620px; margin: 0 auto 30px; }
.cta .btn-row { justify-content: center; }
/* Small links near the pink stop of the gradient: a darker blue keeps them above 4.5:1. */
.cta a:not(.btn):not(.store) { color: #1d4ed8; }
.cta a:not(.btn):not(.store):hover { color: #1e3a8a; }
.cta-row { text-align: left; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 48px); }
@media (max-width: 760px) { .cta-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Product page hero ---------- */
.phero { padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); overflow: hidden; }
.phero > .wrap { position: relative; z-index: 1; }
.phero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.app-id { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.app-id img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 10px 22px -12px rgba(30, 41, 90, .5); }
.app-id.square img { border-radius: 16px; }
.app-id b { display: block; font: 800 18px/1.2 var(--display); letter-spacing: -0.02em; }
.app-id span { color: var(--mute); font-size: 14.5px; }
.phero h1 { font-size: clamp(38px, 5vw, 64px); margin-bottom: 18px; }
.phero .lede { margin-bottom: 28px; max-width: 580px; }
.phero .reqs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--mute); font-size: 14px; }
.phero .reqs span { display: inline-flex; gap: 6px; align-items: center; }
.phero .reqs .icon { width: 16px; height: 16px; color: var(--acc, var(--green)); }
.phero .visual { position: relative; display: flex; flex-wrap: wrap; justify-content: center; container-type: inline-size; }
.phero .visual .glow { position: absolute; width: 520px; height: 520px; max-width: 120%; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, var(--acc-glow, rgba(147, 197, 253, .4)) 0%, transparent 62%); }
.phero .visual .phones { position: relative; }
.phero .visual .phones .phone:nth-child(2) { margin-top: 56px; }
.dl-meta { font-size: 13.5px; color: var(--mute); margin-top: 12px; }
.dl-meta b { color: var(--ink-2); font-weight: 600; }
[data-smart-note] a { white-space: nowrap; }
@media (max-width: 960px) { .phero-grid { grid-template-columns: minmax(0, 1fr); } .phero .lede { max-width: none; } }
@media (max-width: 600px) { .phero .visual .phones .phone:nth-child(2) { display: none; } }

/* ---------- Features list (product pages) ---------- */
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fcard { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.fcard .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; color: var(--acc, var(--blue)); background: var(--acc-soft, #eef2ff); }
.fcard .ico .icon { width: 21px; height: 21px; }
.fcard h3 { font-size: 19px; margin-bottom: 8px; }
.fcard p { margin: 0; color: var(--mute); font-size: 15.5px; }
@media (max-width: 960px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .fgrid { grid-template-columns: 1fr; } }

/* Split rows: text + visual */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split + .split { margin-top: clamp(56px, 8vw, 110px); }
.split.rev > :first-child { order: 2; }
.split h2 { margin: 14px 0 14px; font-size: clamp(28px, 3.6vw, 44px); }
.split .lede { margin-bottom: 20px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.ticks li .icon { width: 20px; height: 20px; color: var(--acc, var(--green)); margin-top: 2px; }
.panel { border-radius: var(--r-xl); padding: clamp(18px, 3vw, 32px); background: radial-gradient(100% 100% at 0% 0%, var(--acc-soft, #eef2ff) 0%, #fff 70%); border: 1px solid var(--line); box-shadow: var(--sh); position: relative; overflow: hidden; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

/* Shortcut table */
.keys { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); }
.keys th, .keys td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15.5px; }
.keys th { background: var(--bg-soft); font: 700 13px/1.2 var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.keys tr:last-child td { border-bottom: 0; }
.keys td:first-child { white-space: nowrap; width: 1%; }
.keys-wrap { overflow-x: auto; border-radius: var(--r); }
@media (max-width: 560px) { .keys th, .keys td { padding: 12px 12px; font-size: 15px; } .keys td:first-child { white-space: normal; } }
.keys.providers td:first-child { white-space: normal; width: 30%; }
.keys.providers td small { display: block; color: var(--mute); font-size: 13.5px; }
/* Phones: each provider becomes a card, its two text columns labelled blocks at full width. */
@media (max-width: 600px) {
  .keys.providers, .keys.providers tbody, .keys.providers tr, .keys.providers td { display: block; width: auto; }
  .keys.providers thead { display: none; }
  .keys.providers tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .keys.providers tr:last-child { border-bottom: 0; }
  .keys.providers td, .keys.providers td:first-child { width: auto; padding: 0; border: 0; white-space: normal; }
  .keys.providers td + td { margin-top: 8px; }
  .keys.providers td + td::before { content: attr(data-label); display: block; font: 700 12px/1.3 var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--mute); margin-bottom: 2px; }
  .keys.providers td:first-child b { font-size: 16.5px; }
}

/* Gallery: a sideways scroller with soft edges, Previous / Next buttons (site.js) for mouse users,
   and room below for the phones' shadows. */
.gallery { display: flex; gap: 20px; overflow-x: auto; padding: 10px var(--gutter) 44px; margin: 0 calc(-1 * var(--gutter)) -20px; scroll-snap-type: x mandatory; scrollbar-width: thin; scroll-padding: 0 var(--gutter);
  --fade-l: 0px; --fade-r: 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%); }
.gallery.from-start { --fade-l: 0px; }
.gallery.scrolled { --fade-l: 48px; }
.gallery.at-end { --fade-r: 0px; }
.gallery.fits { --fade-r: 0px; justify-content: center; }
.gallery-nav { display: flex; justify-content: center; gap: 10px; margin-top: 4px; position: relative; z-index: 1; }
.gallery-nav button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; box-shadow: var(--sh-sm); }
.gallery-nav button:hover { border-color: #b9c1d8; }
.gallery-nav button[aria-disabled="true"] { opacity: .4; cursor: default; }
.gallery-nav button .icon { width: 18px; height: 18px; }
.gallery-nav button.prev .icon { transform: scaleX(-1); }
.gallery figure { margin: 0; flex: none; scroll-snap-align: start; text-align: center; }
.gallery .phone { width: 236px; box-shadow: inset 0 0 0 2px #2b3142, 0 0 0 1px rgba(15, 23, 42, .25), 0 22px 40px -22px rgba(30, 41, 90, .5); }
.gallery figcaption { margin-top: 14px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }

/* Install steps */
.install { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: inst; }
.install li { list-style: none; position: relative; padding: 22px 22px 22px 66px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.install li::before { counter-increment: inst; content: counter(inst); position: absolute; left: 20px; top: 20px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font: 800 15px/1 var(--display); color: #fff; background: var(--acc, var(--blue)); }
.install li b { display: block; margin-bottom: 4px; color: var(--ink); }
.install { padding: 0; margin: 0; }
@media (max-width: 900px) { .install { grid-template-columns: 1fr; } }

/* Notice line (inline, never a pop-up) */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: #fffbeb; border: 1px solid #fde68a; color: #6b4b00; font-size: 15px; line-height: 1.5; }
.notice .icon { color: #b45309; width: 20px; height: 20px; margin-top: 2px; }
.notice.info { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }
.notice.info .icon { color: #2563eb; }

/* Cross-sell row */
.others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.other { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); text-decoration: none; color: var(--ink); }
.other:hover { color: var(--ink); border-color: var(--line-2); box-shadow: var(--sh); }
.other img { width: 46px; height: 46px; border-radius: 12px; }
.other b { display: block; font-size: 16px; }
.other span { color: var(--mute); font-size: 14px; }
.other .icon { margin-left: auto; color: var(--mute-2); }
@media (max-width: 900px) { .others { grid-template-columns: 1fr; } }

/* ---------- Download page ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dl { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); position: relative; }
.dl.mine { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--sh); }
.dl .for-you { position: absolute; top: -13px; right: 24px; padding: 5px 12px; border-radius: 999px; background: var(--grad); color: #fff; font: 700 12.5px/1 var(--font); display: none; }
.dl.mine .for-you { display: block; }
.dl .head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.dl .head img { width: 56px; height: 56px; border-radius: 14px; }
.dl .head h2 { font-size: 24px; letter-spacing: -0.03em; }
.dl .head span { color: var(--mute); font-size: 14.5px; }
.dl ol { margin: 6px 0 18px; padding-left: 22px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.dl ol li { margin-bottom: 6px; }
.dl .req { font-size: 13.5px; color: var(--mute); margin-top: 12px; min-height: 2.9em; }
.dl .btn-row { margin-top: auto; align-items: flex-start; }
@supports (grid-template-rows: subgrid) {
  .dl { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0; align-content: start; }
  .dl .btn-row { margin-top: 0; align-self: start; }
}
@media (max-width: 900px) { .dl-grid { grid-template-columns: 1fr; } }

/* ---------- Prose (privacy, support) ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 48px 0 14px; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lcard { display: block; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); text-decoration: none; color: var(--ink); }
.lcard:hover { color: var(--ink); box-shadow: var(--sh); border-color: var(--line-2); }
.lcard .icon { color: var(--blue); width: 22px; height: 22px; margin-bottom: 12px; }
.lcard b { display: block; font-size: 17px; margin-bottom: 4px; }
.lcard span { color: var(--mute); font-size: 15px; }
@media (max-width: 900px) { .cards3 { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 56px 0 36px; color: var(--mute); font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 28px; }
.foot .foot-h { font: 700 13px/1.2 var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
/* The spacing between footer links lives on each link, so one that wraps keeps the same gap. */
.foot a { color: var(--mute); text-decoration: none; display: inline-flex; min-height: 40px; align-items: center; padding-block: 8px; line-height: 1.35; }
.foot a:hover { color: var(--ink); }
.foot .brand { color: var(--ink); min-height: 44px; padding-block: 0; }
.foot .about p { max-width: 320px; margin: 14px 0 0; font-size: 14.5px; }
.foot .legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; font-size: 13.5px; }
@media (max-width: 900px) { .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot .about { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */
.nf { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.nf .big { font: 800 clamp(90px, 18vw, 180px)/1 var(--display); letter-spacing: -0.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }


/* ---------- Product-page extras ---------- */
.phero .phone { width: 246px; }
/* Two phones side by side shrink with their column (the second one was cut off at 1024). */
@media (min-width: 601px) { .phero .visual .phones .phone { width: min(246px, calc((100cqi - 18px) / 2)); } }
.phero .stage { min-height: 0; width: 100%; padding: clamp(14px, 2.4vw, 26px); }
.phero .stage .desk { max-width: 600px; }
.code { counter-reset: ln; padding: 14px 0 18px; font: 13.5px/1.65 var(--mono); color: #24292f; min-height: 330px; background: #fff; }
.code .ln { display: block; padding: 0 16px; white-space: pre; counter-increment: ln; min-height: 1.65em; }
@media (max-width: 400px) {
  .code { font-size: 11.5px; }
  .code .ln { padding: 0 10px; }
  .code .ln::before { width: 16px; margin-right: 8px; }
}
.code .ln::before { content: counter(ln); display: inline-block; width: 26px; color: #b0b6c3; text-align: right; margin-right: 14px; }
.code .kw { color: #8250df; } .code .ty { color: #0550ae; } .code .fn { color: #6639ba; } .code .cm { color: #6e7781; }
.code .new { background: #ecfdf5; box-shadow: inset 3px 0 0 #22c55e; animation: pop .35s ease both; }
.code .ins { display: block; }
.side-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.side-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.side-nav a:hover { color: var(--ink); box-shadow: var(--sh-sm); }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group h2 { font-size: clamp(24px, 2.6vw, 30px); max-width: 860px; margin: 0 auto 16px; display: flex; align-items: center; gap: 12px; }
.faq-group h2 .glyph, .faq-group h2 .icon { width: 24px; height: 24px; color: var(--acc, var(--blue)); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); }
.compare th, .compare td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: center; font-size: 15.5px; vertical-align: middle; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--bg-soft); font: 700 14px/1.3 var(--font); color: var(--ink-2); }
.compare thead th.best { background: #f3f0ff; color: #5b21b6; }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: #15803d; font-weight: 700; }
.compare .no { color: var(--mute-2); }
.compare td small { display: block; color: var(--mute-2); font-size: 13px; }
.legal-note { max-width: 860px; margin: 28px auto 0; color: var(--mute); font-size: 13.5px; line-height: 1.6; text-align: center; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill-row span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pill-row .icon { width: 15px; height: 15px; color: var(--acc, var(--green)); }
.translit { display: grid; gap: 10px; }
.translit .typed { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font: 500 16px/1.4 var(--font); color: var(--ink-2); }
.translit .sugg { display: flex; gap: 8px; flex-wrap: wrap; }
.translit .sugg span { padding: 9px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line-2); font-size: 18px; box-shadow: var(--sh-sm); }
.translit .sugg span.pick { background: #dcfce7; border-color: #86efac; color: #14532d; }
.shortcut-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sc { padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.sc .kbd { margin-bottom: 10px; }
.sc .kbd, .sc span.kbd { display: inline-flex; width: auto; color: var(--ink-2); font-size: 14px; }
.sc b { display: block; font-size: 15.5px; margin-bottom: 2px; }
.sc span { color: var(--mute); font-size: 14px; line-height: 1.45; display: block; }
@media (max-width: 560px) { .shortcut-cards { grid-template-columns: 1fr; } .compare th, .compare td { padding: 12px 10px; font-size: 14.5px; } }

/* ---------- Reduced motion: no scale, no animation; the dim stays ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  :is(button, summary, .btn, [role="tab"], .nav a, .chip-link, .card-link, .foot a, .store):active { transform: none; }
  .marquee { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 12px; padding: 0 var(--gutter); }
  .marquee span { font-size: 18px; padding: 0 16px; }
  .marquee span[aria-hidden="true"] { display: none; }
  .motion-toggle { display: none; }
}
