/* ==========================================================================
   VoiceClick — marketing site
   Brand system (VoiceClick Media Kit):
     Voice Orange #FF3B00 · Near Black #111111 · Warm Off-White #F6F6F4
     PP Editorial New (editorial serif headlines) · Neue Montreal (UI / body)
   Editorial spec-sheet language: numbered orange small-cap labels,
   hairline rules, waveform bars, radial focus rings, full-bleed
   orange manifesto panel.
   ========================================================================== */

/* ---------- self-hosted brand fonts (latin subsets) ----------
   No CDN, no third-party requests — same zero-network ethos as the app.
   Headlines: PP Editorial New (static: 400 roman/italic, 800 roman).
   UI/body: PP Neue Montreal (static: 400 roman/italic, 500, 700). */
@font-face {
  font-family: "PP Editorial New";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/editorialnew-roman.woff2") format("woff2");
}
@font-face {
  font-family: "PP Editorial New";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/editorialnew-italic.woff2") format("woff2");
}
@font-face {
  font-family: "PP Editorial New";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/editorialnew-ultrabold.woff2") format("woff2");
}
@font-face {
  font-family: "Neue Montreal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/neuemontreal-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Neue Montreal";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/neuemontreal-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Neue Montreal";
  font-style: normal;
  font-weight: 500 600; /* demo family has no semibold — 600 renders Medium, not synthesized */
  font-display: swap;
  src: url("../fonts/neuemontreal-medium.woff2") format("woff2");
}
@font-face {
  font-family: "Neue Montreal";
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("../fonts/neuemontreal-bold.woff2") format("woff2");
}

:root {
  --bg: #f6f6f4;
  --surface: #ffffff;
  --ink: #111111;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --border: #e6e6e3;
  --border-strong: #d9d9d5;
  --orange: #ff3b00;
  --orange-deep: #e23300;
  --orange-tint: #fff1eb;
  --radius: 18px;
  --font-serif: "PP Editorial New", "Times New Roman", Georgia, serif;
  --font-sans: "Neue Montreal", -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-card: 0 1px 2px rgba(17, 17, 17, 0.04);
  --shadow-float: 0 24px 70px rgba(17, 17, 17, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--orange); color: #ffffff; }

h1, h2 { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.005em; color: var(--ink); }
h3 { font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }

h2 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.12; }

section { position: relative; max-width: 1080px; margin: 0 auto; padding: clamp(88px, 12vh, 150px) 24px 0; }

.accent { color: var(--orange); }
strong { color: var(--ink); font-weight: 600; }
em { color: var(--ink); }

.kicker {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}

.section-sub { color: var(--muted); max-width: 640px; margin-top: 18px; }

/* ---------- card primitive ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* ---------- logo ---------- */
.logo-img { display: block; width: auto; }
thead .logo-img { display: inline-block; vertical-align: middle; }
.footer-left .logo-img { display: inline-block; vertical-align: middle; }

.wm { font-family: var(--font-sans); font-weight: 700; color: var(--ink); }
.wm b { color: var(--orange); font-weight: inherit; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-weight: 600; font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-primary {
  background: var(--orange);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(226, 51, 0, 0.25);
}
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(255, 59, 0, 0.30); }
.btn-primary:active { transform: translateY(0); }
.btn-dark {
  background: var(--ink);
  color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(17, 17, 17, .28), 0 1px 0 rgba(255, 255, 255, .12) inset;
}
.btn-dark:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(17, 17, 17, .3);
}
.btn-dark:active { transform: translateY(0); }
.btn-ghost {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--border-strong);
  border-radius: 14px;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-1px); }
.btn-lg { padding: 16px 30px; font-size: 16.5px; }
.btn-block { width: 100%; justify-content: center; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px;
}

/* ---------- nav — floating pill, logo centred (ref1 hero system) ---------- */
.nav {
  /* --shrink: 0 at page top -> 1 once scrolled; driven per-frame from main.js
     so the bar condenses in lockstep with the scroll, then holds. */
  --shrink: 0;
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(calc(1080px - 200px * var(--shrink)), calc(100% - 32px));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: calc(10px - 5px * var(--shrink)) calc(14px - 6px * var(--shrink));
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 34px rgba(226, 51, 0, 0.08);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled { background: rgba(255, 255, 255, 0.92); box-shadow: 0 8px 30px rgba(17, 17, 17, 0.08); }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-size: 17px;
  justify-self: center;
}
.nav-logo .logo-img {
  transform: scale(calc(1 - 0.1 * var(--shrink)));
  transform-origin: center;
}
.nav-links { display: flex; gap: 26px; }
.nav-left { padding-left: 14px; }
.nav-right { display: flex; align-items: center; gap: 22px; justify-self: end; }
.nav-links a {
  color: #55524e; text-decoration: none; font-size: 14.5px; font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--orange); }
.btn-nav { font-size: 13px; padding: 8px 16px; }

/* ---------- hero — full-bleed aurora, editorial serif stack ---------- */
.hero {
  max-width: none; padding: clamp(140px, 18vh, 195px) 0 0;
  text-align: center;
  position: relative;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: url("../assets/hero-aurora.jpg") center top / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(246, 246, 244, 0) 45%, var(--bg) 88%);
}
.hero-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 22px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 22px rgba(226, 51, 0, 0.10);
  font-size: 13.5px; font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--orange);
  margin-bottom: 30px;
}
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hero-title {
  font-size: clamp(3rem, 8.6vw, 5.9rem);
  font-weight: 400; line-height: 1.04;
  letter-spacing: -0.015em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero-title .line span { display: inline-block; }
.hero-title .italic { font-style: italic; font-weight: 400; padding-right: 0.08em; }
.hero-sub {
  max-width: 560px; margin: 28px auto 0;
  font-size: clamp(17px, 2.2vw, 20px);
  color: #4d4a46;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero-ctas .btn-dark {
  background: var(--ink);
  color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(17, 17, 17, .28), 0 1px 0 rgba(255, 255, 255, .12) inset;
}
.btn-dark:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(17, 17, 17, .3);
}
.btn-dark:active { transform: translateY(0); }
.btn-ghost { background: rgba(255, 255, 255, 0.9); }

/* ---------- hero product-mock cluster ---------- */
.hero-mock {
  position: relative;
  display: flow-root; /* keep the chat card's top margin from collapsing out */
  max-width: 980px; margin: clamp(48px, 7vh, 76px) auto 0;
  min-height: 470px;
  text-align: left;
}
.mock-side {
  position: absolute; left: 12px; top: 18px;
  width: 300px; z-index: 1;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.05);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(120, 50, 10, 0.10);
  padding: 24px 22px 20px;
  transform: rotate(-1.2deg);
}
.mock-logo { display: block; margin-bottom: 16px; }
.mock-status {
  display: inline-flex; align-items: center; gap: 8px;
  width: 100%;
  padding: 10px 14px; border-radius: 12px;
  border: 1px solid var(--border-strong);
  font-size: 13.5px; color: var(--muted);
}
.mock-status svg { color: var(--orange); flex: none; }
.mock-side-head {
  margin: 18px 0 6px;
  font-size: 15.5px; font-weight: 700; color: var(--ink);
}
.mock-row { padding: 12px 14px; border-radius: 14px; }
.mock-row.hl { background: #f3f2f0; }
.mr-title { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.mr-meta { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }

.mock-chat {
  position: relative;
  margin-left: auto;
  width: min(700px, 74%);
  z-index: 2; margin-top: 116px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.05);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(120, 50, 10, 0.14);
  padding: 26px 28px 20px;
}
.mock-ph { font-size: 17px; color: #9a958f; }
.mock-caret-line { margin-top: 8px; line-height: 1; }
.mock-caret {
  display: inline-block; width: 2px; height: 20px;
  background: var(--ink);
  animation: blink 1.05s steps(1) infinite;
}
.mock-toolbar {
  display: flex; align-items: center; gap: 20px;
  margin-top: 44px; color: #8d8983;
}
.mt-aa { font-size: 15px; font-weight: 600; letter-spacing: 0.01em; }
.mt-send { margin-left: auto; color: #b3aea7; }

.mock-pill {
  position: absolute; right: -34px; top: 146px; z-index: 3;
  width: 88px; height: 46px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #ff5a1f 0%, var(--orange) 55%, var(--orange-deep) 100%);
  box-shadow: 0 14px 34px rgba(255, 59, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.mock-note {
  position: absolute; right: -44px; top: 0; z-index: 3;
  font-size: 14px; font-weight: 500; color: var(--ink);
  line-height: 1.4; text-align: center;
}
/* the curve runs from under the caption down onto the pill below it */
.mock-arrow { display: block; margin: 2px 0 0 42px; color: var(--ink); }

/* ---------- integrations — keyboard render (own section: PLAIN page bg,
   never over the hero aurora, so the asset can never show a tint seam) --- */
.integrations { text-align: center; }
.trust-kicker {
  font-size: 12px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--orange);
}
.trust-title {
  margin-top: 14px;
  font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08;
}
.trust-sub {
  margin: 14px auto 0; max-width: 420px;
  font-size: 16px; color: #6b6660;
}

/* ---------- photo keyboard with per-key pop tiles ---------- */
.kbphoto {
  position: relative;
  width: min(1060px, 100%);
  margin: clamp(28px, 5vh, 60px) auto 0;
}
.kbp-base { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) {
  .kbp-key { transition-duration: 0.01ms !important; }
}

/* ---------- interactive 3D keyboard (user-supplied design) ---------- */
.integrations .stage { margin-top: clamp(40px, 7vh, 84px); perspective: 1600px; perspective-origin: 50% 30%; }
.integrations .board {
  position: relative; display: inline-block;
  transform: rotateX(52deg) rotateZ(-24deg);
  transform-style: preserve-3d;
  padding: 26px; border-radius: 22px;
  background: linear-gradient(155deg, #e9e7e3 0%, #d7d5d1 55%, #c9c7c3 100%);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, .7) inset,
    0 -3px 0 rgba(0, 0, 0, .12) inset,
    0 70px 80px -40px rgba(90, 80, 70, .35),
    0 35px 50px -30px rgba(90, 80, 70, .25);
}
.integrations .board::before {
  content: ""; position: absolute; inset: 6px; border-radius: 16px;
  background: linear-gradient(155deg, #f0eeea, #d2d0cc);
  box-shadow: 0 1px 1px rgba(255, 255, 255, .8) inset, 0 -2px 6px rgba(0, 0, 0, .15) inset;
  z-index: 0;
}
.integrations .krow { position: relative; z-index: 1; display: flex; gap: 9px; margin-bottom: 9px; }
.integrations .krow:last-child { margin-bottom: 0; }
.integrations .krow:nth-child(2) { margin-left: 16px; }
.integrations .krow:nth-child(3) { margin-left: 30px; }
.integrations .krow:nth-child(4) { margin-left: 52px; }
.integrations .key { width: 62px; height: 62px; cursor: pointer; }
.integrations .cap {
  width: 100%; height: 100%; border-radius: 11px;
  background: linear-gradient(160deg, #fcfbf9 0%, #efede9 48%, #e3e0db 100%);
  box-shadow:
    0 1px 1px rgba(255, 255, 255, .9) inset,
    0 -3px 4px rgba(0, 0, 0, .14) inset,
    0 5px 8px rgba(0, 0, 0, .18);
  display: flex; align-items: center; justify-content: center;
  transform: translateZ(10px);
  position: relative;
  transition: transform .55s cubic-bezier(.16, .84, .28, 1),
              box-shadow .55s cubic-bezier(.16, .84, .28, 1);
}
.integrations .app,
.integrations .app svg {
  transition: box-shadow .55s cubic-bezier(.16, .84, .28, 1),
              transform .55s cubic-bezier(.16, .84, .28, 1),
              filter .55s ease;
}
.integrations .cap::after {
  content: ""; position: absolute; top: 4px; left: 6px; right: 6px; height: 38%;
  border-radius: 8px 8px 14px 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.integrations .app {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(170deg, #ffffff, #f4f2ef);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .16), 0 1px 0 rgba(255, 255, 255, .9) inset;
  position: relative; overflow: hidden;
}
.integrations .app::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 55%);
}
.integrations .app svg {
  width: 22px; height: 22px; position: relative; z-index: 1;
  fill: var(--c);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .12));
}
.integrations .hero-app svg { fill: none; }
.integrations .key:hover { z-index: 20; }
.integrations .key:hover .cap {
  transform: translateZ(46px) scale(1.06);
  box-shadow:
    0 0 0 1.5px rgba(255, 59, 0, .85) inset,
    0 1px 1px rgba(255, 255, 255, .9) inset,
    0 -3px 4px rgba(0, 0, 0, .12) inset,
    0 0 22px 4px rgba(255, 59, 0, .45),
    0 0 60px 12px rgba(255, 59, 0, .25),
    0 26px 30px -10px rgba(90, 80, 70, .35);
}
.integrations .key:hover .app {
  transform: scale(1.08);
  box-shadow:
    0 0 16px 3px rgba(255, 59, 0, .65),
    0 2px 6px rgba(0, 0, 0, .35),
    0 1px 0 rgba(255, 255, 255, .4) inset;
}
.integrations .key:hover .app svg { filter: drop-shadow(0 0 4px rgba(255, 255, 255, .5)); }
.integrations .key:hover .hero-cap {
  box-shadow:
    0 0 0 1.5px rgba(255, 140, 90, .9) inset,
    0 1px 1px rgba(255, 255, 255, .5) inset,
    0 -3px 5px rgba(120, 20, 0, .5) inset,
    0 0 34px 8px rgba(255, 59, 0, .8),
    0 0 80px 18px rgba(255, 59, 0, .45),
    0 26px 30px -10px rgba(0, 0, 0, .5);
}
.integrations .hero-cap {
  background: linear-gradient(160deg, #ffb199 0%, #ff5a2b 46%, #ff3b00 100%);
  box-shadow:
    0 0 0 1px rgba(255, 120, 80, .6) inset,
    0 1px 1px rgba(255, 255, 255, .4) inset,
    0 -3px 5px rgba(120, 20, 0, .55) inset,
    0 6px 18px rgba(255, 59, 0, .55),
    0 5px 8px rgba(0, 0, 0, .35);
}
.integrations .hero-app {
  background: linear-gradient(160deg, #ff7a4d, #ff3b00);
  box-shadow: 0 2px 6px rgba(180, 30, 0, .5), 0 1px 0 rgba(255, 255, 255, .4) inset;
}
.integrations .hero-app svg { width: 24px; height: 24px; }
.kb-hint { margin-top: clamp(56px, 9vh, 110px); font-size: 14px; color: var(--muted); }
.kb-hint b { color: var(--orange); font-weight: 600; }

/* ---------- demo section + window ---------- */
.demo-sec { text-align: center; }
.demo-wrap { margin-top: clamp(40px, 6vh, 64px); }
.demo-window {
  position: relative;
  max-width: 680px; margin: 0 auto;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-float);
}
.demo-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
}
.tl { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.tl.red { background: #ff5f57; } .tl.yellow { background: #febc2e; } .tl.green { background: #28c840; }
.demo-app-title { margin-left: 10px; font-size: 13px; color: var(--muted); }
.demo-body { padding: 18px 22px 24px; }
.demo-field-row {
  display: flex; gap: 10px; align-items: baseline;
  padding: 9px 2px; border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
.demo-label { color: var(--muted); width: 60px; }
.demo-static { color: var(--text); }
.demo-textarea {
  margin-top: 16px; min-height: 118px;
  font-size: 16px; line-height: 1.6; color: var(--text);
  border-radius: 12px; padding: 14px 16px;
  background: #fbfbfa;
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.demo-textarea.focused { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 59, 0, 0.13); }
.caret {
  display: inline-block; width: 2px; height: 1.15em;
  background: var(--orange); vertical-align: text-bottom;
  margin-left: 1px; opacity: 0;
}
.demo-textarea.focused .caret { animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }

/* the demo pill — Voice Orange, radial "focus ring" pulse while listening */
.demo-pill {
  position: absolute; right: -18px; bottom: 88px;
  width: 36px; height: 36px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 20px rgba(255, 59, 0, 0.35);
  opacity: 0; transform: scale(0.4);
}
.demo-pill.recording { animation: halo 1.7s ease-out infinite; }
@keyframes halo {
  0%   { box-shadow: 0 6px 20px rgba(255, 59, 0, 0.35), 0 0 0 0 rgba(255, 59, 0, 0.30); }
  100% { box-shadow: 0 6px 20px rgba(255, 59, 0, 0.35), 0 0 0 18px rgba(255, 59, 0, 0); }
}
.pill-mic { display: block; }
.pill-wave { display: none; align-items: center; gap: 3px; height: 20px; }
.pill-wave i { width: 3px; height: 5px; border-radius: 2px; background: #fff; }
.demo-pill.recording .pill-mic { display: none; }
.demo-pill.recording .pill-wave { display: flex; }

.demo-cursor { position: absolute; top: 30%; left: 65%; z-index: 5; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.35)); }

.polish-chip {
  position: absolute; right: 20px; bottom: -16px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: #ffffff;
  background: var(--ink);
  padding: 8px 14px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.22);
  opacity: 0; transform: translateY(8px) scale(0.9);
}
.polish-chip svg { color: var(--orange); }
.demo-replay {
  display: block; margin: 22px auto 0;
  background: none; border: none; color: var(--muted);
  font-family: var(--font-sans); font-size: 13.5px;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.demo-replay:hover { color: var(--orange); }


/* ---------- why ---------- */
.why h2 { max-width: 700px; }
.why-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 34px; }
.why-cols p { color: var(--muted); font-size: 17.5px; }

/* ---------- manifesto — full-bleed Voice Orange panel, white serif ---------- */
.manifesto {
  max-width: none;
  margin-top: clamp(88px, 12vh, 150px);
  padding: 0;
  background: var(--orange);
  color: #ffffff;
}
.m-inner {
  max-width: 900px; margin: 0 auto;
  padding: clamp(80px, 11vh, 130px) 24px 0;
}
.manifesto h2 {
  color: #ffffff; font-weight: 400;
  font-size: clamp(1.85rem, 3.8vw, 3.1rem);
  line-height: 1.28; letter-spacing: 0;
  max-width: 850px;
}
.m-sub { margin-top: 28px; font-size: 17px; color: rgba(255, 255, 255, 0.88); max-width: 560px; }
.m-sign {
  margin-top: 40px;
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 19px; color: #ffffff;
}
.m-bars { display: block; width: 100%; height: 72px; margin-top: clamp(48px, 7vh, 80px); opacity: 0.55; }
.m-bars rect { fill: rgba(255, 255, 255, 0.30); }

/* ---------- how ---------- */

/* ---------- 02 how it works: mock journey with dashed arrows ---------- */
.stepsv2 {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px;
  margin-top: 54px;
}
.sv2-step { position: relative; text-align: left; padding-top: 26px; }
.sv2-num {
  position: absolute; top: -14px; left: -6px;
  font-family: var(--font-serif); font-style: italic;
  font-size: 92px; line-height: 1; color: rgba(255, 59, 0, 0.13);
  pointer-events: none;
}
.sv2-mock {
  position: relative;
  height: 132px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 0 20px;
}
.sv2-field {
  flex: 1; max-width: 200px; height: 46px; border-radius: 12px;
  background: #fbfbfa; border: 1.5px solid var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 59, 0, 0.10);
  display: flex; align-items: center; padding: 0 14px; gap: 2px;
}
.sv2-ph { font-size: 13.5px; color: #9a958f; }
.sv2-caret {
  width: 2px; height: 18px; background: var(--ink);
  animation: blink 1.05s steps(1) infinite;
}
.sv2-pilldot {
  width: 34px; height: 34px; border-radius: 999px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange);
  box-shadow: 0 6px 16px rgba(255, 59, 0, 0.35);
}
.sv2-doneline {
  display: flex; align-items: center; gap: 9px;
  font-size: 15.5px; color: var(--text);
}
.sv2-chip {
  position: absolute; right: 14px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 600; color: #fff;
  background: var(--ink); border-radius: 999px; padding: 5px 10px;
}
.sv2-chip svg { color: var(--orange); }
.sv2-step h3 {
  margin-top: 20px;
  font-family: var(--font-serif); font-weight: 400; font-size: 21px;
}
.sv2-step p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.sv2-arrow {
  position: absolute; top: 56px; width: 84px; color: var(--ink); opacity: 0.75;
  pointer-events: none; z-index: 2;
}
.sv2-arrow1 { left: calc(33.33% - 48px); }
.sv2-arrow2 { left: calc(66.66% - 40px); }
@media (max-width: 900px) {
  .stepsv2 { grid-template-columns: 1fr; gap: 40px; }
  .sv2-arrow { display: none; }
}

.sv-capsule {
  margin: 0 auto; width: 96px; height: 40px; border-radius: 999px;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center; gap: 4px;
  box-shadow: 0 6px 16px rgba(255, 59, 0, 0.26);
}
.sv-capsule i { width: 3.5px; border-radius: 2px; background: #fff; height: 8px; }



/* ---------- 03 privacy: Apple product-page cards ---------- */
.pv-head {
  margin-top: 0;
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.12;
  letter-spacing: -0.005em; color: var(--ink);
}
.pv-head b { color: var(--orange); font-weight: 400; }
.pv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 40px;
}
.pv-card {
  background: #f3f2ef; border-radius: 26px;
  min-height: 280px; padding: 40px 28px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  text-align: center; overflow: hidden;
}
.pv-small { font-size: 17px; color: var(--muted); }
.pv-big {
  font-family: var(--font-serif); font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1.02; color: var(--ink);
}
.pv-caption { font-size: 16px; line-height: 1.5; color: var(--muted); }
.pv-caption b { color: var(--ink); font-weight: 600; }
.pv-bleed { justify-content: flex-start; padding-bottom: 0; gap: 24px; }
.pv-term {
  width: min(300px, 92%); border-radius: 14px 14px 0 0; overflow: hidden;
  background: var(--ink); text-align: left; margin-top: auto;
  box-shadow: 0 -10px 40px rgba(17, 17, 17, 0.12);
}
.pv-term-bar {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.pv-term-bar i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.pv-term-bar i:nth-child(1) { background: #ff5f57; }
.pv-term-bar i:nth-child(2) { background: #febc2e; }
.pv-term-bar i:nth-child(3) { background: #28c840; }
.pv-term-bar span:last-child { margin-left: 8px; font-size: 10.5px; color: #9a9fa4; }
.pv-term code {
  display: block; padding: 14px 15px 22px;
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 11.5px; line-height: 1.75; color: #e8e8e5;
}
.pv-term code b { color: var(--orange); font-weight: 400; }
.pv-term code em { color: #7c8187; font-style: normal; }
.pv-chip {
  margin-top: auto; margin-bottom: -14px;
  width: 168px; height: 168px; border-radius: 26px 26px 0 0;
  background: linear-gradient(160deg, #2a2927, #121110);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 0 60px rgba(255, 59, 0, 0.35),
              0 1px 0 rgba(255, 255, 255, 0.15) inset;
}
.pv-chip span { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #8b877f; }
.pv-chip b {
  font-family: var(--font-serif); font-weight: 400; font-size: 24px;
  line-height: 1.1; color: #f2f0ec; text-align: center;
}
@media (max-width: 900px) {
  .pv-grid { grid-template-columns: repeat(2, 1fr); }
  .pv-card { min-height: 230px; }
}
@media (max-width: 600px) {
  .pv-grid { grid-template-columns: 1fr; }
}

/* ---------- compare ---------- */
.table-wrap { margin-top: 44px; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-card); }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { text-align: left; padding: 16px 22px; font-size: 15px; }
thead th {
  font-family: var(--font-sans); font-size: 16px; font-weight: 600;
  border-bottom: 1px solid var(--border-strong);
  vertical-align: middle; color: var(--ink);
}
thead .logo-mark { vertical-align: -7px; margin-right: 8px; }
.th-sub { display: block; font-family: var(--font-sans); font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }
tbody th { font-weight: 500; color: var(--muted); }
tbody tr { border-bottom: 1px solid var(--border); }
tbody tr:last-child { border-bottom: none; }
td { color: var(--muted); }
td.good { color: var(--ink); font-weight: 600; }
.col-vc { background: var(--orange-tint); }
.table-note { margin-top: 16px; font-size: 13px; color: var(--muted); max-width: 620px; }

/* On phones the 3-column table overflowed its scroller and cut values
   mid-word. Restack each row as a self-contained card: the question on
   top, then VoiceClick vs Cloud as two labelled lines. No horizontal
   scroll, nothing clipped. Scoped to the home comparison only. */
@media (max-width: 600px) {
  .compare .table-wrap {
    overflow: visible; border: none; background: none; box-shadow: none;
    border-radius: 0;
  }
  .compare table { display: block; min-width: 0; }
  .compare thead { display: none; }
  .compare tbody { display: grid; gap: 12px; }
  .compare tbody tr {
    display: block; border: 1px solid var(--border); border-radius: 16px;
    background: var(--surface); box-shadow: var(--shadow-card);
    padding: 15px 18px;
  }
  .compare tbody th[scope="row"] {
    display: block; padding: 0 0 11px;
    font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--ink);
  }
  .compare tbody td {
    display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
    padding: 9px 0; font-size: 14.5px; text-align: right;
  }
  .compare tbody td.col-vc { background: transparent; color: var(--ink); font-weight: 600; }
  .compare tbody td + td { border-top: 1px dashed var(--border); }
  .compare tbody td::before {
    flex: none; text-align: left; font-size: 12.5px; font-weight: 600;
  }
  .compare tbody td:nth-of-type(1)::before { content: "VoiceClick"; color: var(--orange); font-weight: 700; }
  .compare tbody td:nth-of-type(2)::before { content: "Cloud apps"; color: var(--muted); }
}

/* ---------- write vs send (06) ---------- */
.sendsmart h2 { max-width: 760px; }
.ss-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 48px; }
.ss-col { margin: 0; }
.ss-tag {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}
.ss-mock {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow-card);
  min-height: 210px;
}
/* rounded clipping moves to the inner mock so the pill can hang outside */
.ssm-doc, .ssm-chat { border-radius: 15px; overflow: hidden; }
.mini-mic {
  width: 36px; height: 36px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange); flex: none;
  box-shadow: 0 6px 16px rgba(255, 59, 0, 0.32);
}
.ss-mock > .mini-mic { position: absolute; right: -17px; bottom: 24px; }
.ss-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

.ssm-doc { display: flex; min-height: 210px; }
.ssm-side {
  width: 140px; flex: none; padding: 16px 12px;
  border-right: 1px solid var(--border); background: #fbfbfa;
  display: flex; flex-direction: column; gap: 2px;
}
.ssm-side-head { font-size: 11px; font-weight: 600; color: #9a958f; margin-bottom: 6px; padding-left: 8px; }
.ssm-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--text); padding: 5px 8px; border-radius: 7px;
}
.ssm-row b { font-weight: 400; color: #9a958f; font-size: 11.5px; }
.ssm-row.hl { background: #ececea; font-weight: 600; }
.ssm-text { padding: 18px 20px; font-size: 14px; line-height: 1.65; color: var(--text); }

.ssm-chat { display: flex; min-height: 210px; }
.ssm-chatside {
  width: 130px; flex: none; padding: 16px 10px;
  background: #3b1d3f; color: rgba(255, 255, 255, 0.75);
  display: flex; flex-direction: column; gap: 3px;
}
.ssm-team { font-size: 13px; font-weight: 700; color: #fff; padding: 0 8px 10px; }
.ssm-ch { font-size: 12.5px; padding: 4px 8px; border-radius: 7px; }
.ssm-ch.head { margin-top: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7; }
.ssm-ch.hl { background: #1264a3; color: #fff; font-weight: 600; }
.ssm-chatmain { flex: 1; padding: 16px 18px; display: flex; flex-direction: column; }
.ssm-msg { font-size: 13.5px; line-height: 1.6; color: var(--text); }
.ssm-msg b { font-weight: 700; }
.ssm-time { font-size: 11.5px; color: #9a958f; }
.ssm-composer {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 9px 12px; font-size: 13px; color: #9a958f;
}

/* ---------- anywhere you type (07) ---------- */
.anywhere h2 { max-width: 640px; }
.any-collage { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; align-items: center; }
/* field + its mic: the mic sits just OUTSIDE the box (floating pill beside the
   field, as VoiceClick actually shows it), grouped tighter than the 16px gap
   between fields */
.any-field { display: inline-flex; align-items: center; gap: 8px; }
.any-item {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 11px 16px;
  font-size: 14px; color: #7d7872;
  box-shadow: var(--shadow-card);
}
.any-item svg { color: #a5a09a; flex: none; }
.any-item.code {
  background: #1d1d1f; border-color: #1d1d1f; color: #d8d8d3;
  font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 12.5px;
}
.any-item.code b { color: #6b6f76; font-weight: 400; margin-right: 4px; }
.mini-mic.sm { width: 28px; height: 28px; }
.mini-mic.sm svg { width: 12px; height: 12px; }
.any-caret {
  display: inline-block; width: 1.5px; height: 15px; background: var(--ink);
  margin-left: 2px; animation: blink 1.05s steps(1) infinite;
}


/* ---------- pricing ---------- */
.price-cards {
  display: grid; grid-template-columns: 0.85fr 1fr; gap: 20px;
  margin-top: 48px; align-items: stretch; max-width: 880px;
}
.price-card { padding: 34px 32px; position: relative; }
.price-card.ghost { opacity: 0.72; }
.price-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 22px; }
.price { margin-top: 18px; display: flex; align-items: baseline; gap: 10px; }
.price-big { font-family: var(--font-serif); font-size: 56px; font-weight: 400; line-height: 1; color: var(--ink); }
.ghost .price-big { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: rgba(255, 59, 0, 0.55); }
.price-per { color: var(--muted); font-size: 15px; }
.price-card ul { list-style: none; margin-top: 22px; display: grid; gap: 11px; }
.price-card li { padding-left: 26px; position: relative; font-size: 15px; color: var(--muted); }
.ghost li::before { content: "×"; position: absolute; left: 2px; color: #b4b8bc; font-weight: 700; }
.hero-card li { color: var(--text); }
.hero-card li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 15px; height: 15px;
  background: var(--orange);
  mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M20 6 9 17l-5-5"/%3E%3C/svg%3E') center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M20 6 9 17l-5-5"/%3E%3C/svg%3E') center / contain no-repeat;
}
.hero-card { border-color: var(--ink); box-shadow: 0 16px 50px rgba(17, 17, 17, 0.10); }
.hero-card .btn { margin-top: 26px; }
.badge {
  position: absolute; top: -13px; right: 26px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: #ffffff;
  background: var(--orange);
  padding: 6px 13px; border-radius: 999px;
}
.price-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }



/* ---------- 05 details: typographic bento (Apple-keynote style) ---------- */


/* ---------- 04 in the box: white band, liquid-glass cards ---------- */
.inbox-sec {
  max-width: none;
  margin-top: clamp(88px, 12vh, 150px);
  padding: clamp(72px, 10vh, 120px) 24px clamp(72px, 10vh, 110px);
  background: #ffffff;
  text-align: center;
}
.ib-inner { max-width: 1080px; margin: 0 auto; }
.ibgrid {
  position: relative;
  display: grid; gap: 14px; margin-top: 48px;
  grid-template-columns: 1fr 1.25fr 1fr;
  grid-template-areas:
    "eco   hero  rescue"
    "umm   hero  pill"
    "wpm   light pill"
    "dict  tone  corr"
    "mode  lang  lang"
    "keys  keys  keys";
  grid-auto-rows: minmax(150px, auto);
  text-align: left;
}
/* soft blobs behind the grid so the glass blur has something to bend */
.ibgrid::before, .ibgrid::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.ibgrid::before {
  width: 480px; height: 340px; left: 6%; top: 10%;
  background: rgba(180, 174, 166, 0.55);
}
.ibgrid::after {
  width: 460px; height: 320px; right: 5%; bottom: 6%;
  background: rgba(255, 120, 70, 0.22);
}
.ib {
  position: relative; z-index: 1;
  background: linear-gradient(170deg, rgba(243, 241, 238, 0.66), rgba(228, 226, 221, 0.44));
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  padding: 28px 26px;
  box-shadow: 0 16px 40px rgba(90, 80, 70, 0.12),
              0 1px 0 rgba(255, 255, 255, 0.9) inset;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.ib-title {
  font-family: var(--font-serif); font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  line-height: 1.15; color: var(--ink);
}
.ib-giant {
  font-family: var(--font-serif); font-size: clamp(3rem, 5.4vw, 4.6rem);
  line-height: 1; color: var(--ink);
}
.ib-under { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }

.ib-eco { grid-area: eco; gap: 10px; }
.ib-eco .ib-title { margin-bottom: 8px; }
.ib-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff;
  border-radius: 12px; padding: 9px 14px;
  text-align: left;
}
.ib-badge svg { color: var(--orange); flex: none; }
.ib-badge span { display: flex; flex-direction: column; font-size: 10.5px; opacity: .75; line-height: 1.3; }
.ib-badge span b { font-size: 12.5px; opacity: 1; }

.ib-umm { grid-area: umm; }
.ib-umm p:first-child, .ib-corr p:first-child {
  font-family: var(--font-serif); font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  line-height: 1.12; color: var(--orange);
}
.ib-hero { grid-area: hero; padding: 34px 30px; }
.ib-appicon { border-radius: 28px; box-shadow: 0 16px 40px rgba(255, 59, 0, .3); }
.ib-hero-name {
  margin-top: 20px;
  font-family: var(--font-serif); font-size: clamp(1.4rem, 2vw, 1.7rem); color: var(--ink);
}
.ib-fine {
  margin-top: 18px; font-size: 10.5px; line-height: 1.6;
  color: #a39e97; max-width: 330px;
}
.ib-light { grid-area: light; }
.ib-light-word { font-size: 0.35em; color: var(--muted); margin-left: 8px; font-family: var(--font-sans); }
.ib-wpm { grid-area: wpm; }
.ib-lang {
  grid-area: lang;
  flex-direction: row; gap: 34px;
  justify-content: flex-start; text-align: left;
  padding: 26px 36px;
}
.ib-lang-head { flex: none; display: flex; flex-direction: column; }
.ib-lang .ib-under { margin-top: 6px; }
.ib-langlist {
  flex: 1; font-size: 13px; line-height: 1.9; color: #a39e97;
  border-left: 1px solid rgba(0, 0, 0, 0.08); padding-left: 34px;
}
@media (max-width: 900px) {
  .ib-lang { flex-direction: column; text-align: center; gap: 16px; }
  .ib-lang-head { align-items: center; }
  .ib-langlist { border-left: none; padding-left: 0; }
}
.ib-rescue { grid-area: rescue; }
.ib-dict { grid-area: dict; }
.ib-tone { grid-area: tone; }
.ib-corr { grid-area: corr; }
.ib-mode { grid-area: mode; }
.ib-pill { grid-area: pill; gap: 16px; }
.ib-pill .ib-under { max-width: 240px; }
.ib-pillviz {
  width: 150px; height: 62px; border-radius: 999px; flex: none;
  background: linear-gradient(160deg, #ff5a1f, var(--orange) 55%, var(--orange-deep));
  display: flex; align-items: center; justify-content: center; gap: 6px;
  box-shadow: 0 18px 40px rgba(255, 59, 0, 0.35),
              0 1px 0 rgba(255, 255, 255, 0.5) inset;
}
.ib-pillviz i { width: 5px; border-radius: 3px; background: #fff; }
.ib-pillviz i:nth-child(1) { height: 14px; } .ib-pillviz i:nth-child(2) { height: 26px; }
.ib-pillviz i:nth-child(3) { height: 18px; } .ib-pillviz i:nth-child(4) { height: 34px; }
.ib-pillviz i:nth-child(5) { height: 16px; } .ib-pillviz i:nth-child(6) { height: 28px; }
.ib-pillviz i:nth-child(7) { height: 12px; }

.ib-keys {
  grid-area: keys;
  flex-direction: row; gap: 34px;
  justify-content: flex-start; text-align: left;
  padding: 26px 36px;
}
.ib-keys-head { flex: none; }
.ib-keys-head .ib-under { margin-top: 8px; }
.ib-keys-body { flex: 1; border-left: 1px solid rgba(0, 0, 0, 0.08); padding-left: 34px; }
.ib-keycaps { display: flex; flex-wrap: wrap; gap: 10px; }
.ib-keycap {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg, #fff, #f0eeea);
  border: 1px solid rgba(0, 0, 0, 0.1); border-bottom-width: 3px;
  border-radius: 10px; padding: 8px 14px;
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.ib-keycap i { font-style: normal; color: var(--orange); font-size: 15px; line-height: 1; }
.ib-keysay { margin-top: 14px; font-size: 13px; line-height: 1.6; color: #a39e97; }
.ib-keysay b { color: var(--orange); font-weight: 600; }
@media (max-width: 900px) {
  .ib-keys { flex-direction: column; text-align: center; gap: 16px; }
  .ib-keys-body { border-left: none; padding-left: 0; }
  .ib-keycaps { justify-content: center; }
}

@media (max-width: 900px) {
  .ibgrid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "hero   hero"
      "eco    pill"
      "umm    rescue"
      "wpm    light"
      "dict   tone"
      "corr   mode"
      "lang   lang"
      "keys   keys";
  }
}
@media (max-width: 560px) {
  .ibgrid {
    grid-template-columns: 1fr;
    grid-template-areas: "hero" "eco" "pill" "umm" "rescue" "wpm" "light" "dict" "tone" "corr" "mode" "lang" "keys";
  }
  .ib { padding: 26px 22px; }
}

/* ---------- pricing v2: single card (Supaste-style, brand-adapted) ------- */
.pricing { text-align: center; }
.pricing h2 { margin-top: 0; }
.price-sub { margin: 22px auto 0; font-size: 18px; line-height: 1.55; color: var(--muted); }
.price-risk { margin: 16px auto 0; max-width: 480px; font-size: 12.5px; color: #9a958f; }
.pcard-wrap { position: relative; max-width: 400px; margin: 46px auto 0; }
.pcard-badge {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: 13.5px; font-weight: 600;
  margin-bottom: -21px;
  box-shadow: 0 8px 20px rgba(17, 17, 17, .18);
}
.pcard-badge img { display: block; }
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(90, 80, 70, .12);
  padding: 44px 28px 28px;
  text-align: center;
}
.pprice { margin-top: 6px; display: flex; align-items: baseline; justify-content: center; gap: 14px; }
.pprice-now {
  font-family: var(--font-serif); font-weight: 400;
  font-size: 64px; line-height: 1; color: var(--ink);
}
.poffer {
  margin-top: 24px; text-align: left;
  background: #faf9f7; border: 1px solid var(--border);
  border-radius: 14px; padding: 13px 15px;
}
.poffer p { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.poffer-row { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.poffer-bar { flex: 1; height: 6px; border-radius: 3px; background: #e8e5e1; overflow: hidden; }
.poffer-bar i { display: block; height: 100%; width: 22%; border-radius: 3px; background: var(--orange); }
.poffer-row span { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.pchecks { list-style: none; margin: 22px 4px 0; text-align: left; display: grid; gap: 11px; }
.pchecks li { position: relative; padding-left: 30px; font-size: 14.5px; color: var(--text); }
.pchecks li::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 19px; height: 19px; border-radius: 50%;
  border: 1.5px solid #d4d0ca;
}
.pchecks li::after {
  content: ""; position: absolute; left: 5px; top: 5px;
  width: 9px; height: 9px;
  background: var(--orange);
  mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M20 6 9 17l-5-5"/%3E%3C/svg%3E') center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M20 6 9 17l-5-5"/%3E%3C/svg%3E') center / contain no-repeat;
}
.pricing-card .btn { margin-top: 26px; }
.pricing .price-note { margin-top: 22px; font-size: 12.5px; color: #9a958f; }


/* ---------- testimonials: liquid-glass fanned cards ---------- */
.testi { text-align: center; }
.t-fan {
  position: relative;
  display: flex; justify-content: center; align-items: stretch;
  margin-top: 74px; padding: 30px 0 46px;
}
/* soft aurora blobs BEHIND the glass so the blur reads as liquid glass */
.t-blobs { position: absolute; inset: -40px 0; pointer-events: none; }
.t-blobs::before, .t-blobs::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(70px);
}
.t-blobs::before {
  width: 420px; height: 300px; left: 12%; top: 8%;
  background: rgba(255, 59, 0, 0.22);
}
.t-blobs::after {
  width: 460px; height: 320px; right: 10%; bottom: 0;
  background: rgba(255, 156, 100, 0.26);
}
.tcard {
  position: relative; z-index: 1;
  width: 236px; margin: 0 -26px;
  padding: 24px 22px 20px;
  border-radius: 20px;
  display: flex; flex-direction: column; text-align: left;
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  transition: transform .45s cubic-bezier(.16, .84, .28, 1),
              box-shadow .45s cubic-bezier(.16, .84, .28, 1),
              z-index 0s .1s;
  will-change: transform;
}
.tcard.light {
  background: linear-gradient(170deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .5));
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 18px 44px rgba(90, 80, 70, .16),
              0 1px 0 rgba(255, 255, 255, .9) inset;
  color: var(--text);
}
.tcard.dark {
  background: linear-gradient(170deg, rgba(30, 28, 26, .82), rgba(17, 17, 17, .74));
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 18px 44px rgba(17, 17, 17, .3),
              0 1px 0 rgba(255, 255, 255, .14) inset;
  color: #f2f0ec;
}
.tcard:nth-child(2) { transform: rotate(-7deg) translateY(18px); }
.tcard:nth-child(3) { transform: rotate(-3.5deg) translateY(4px); }
.tcard:nth-child(4) { transform: rotate(0.5deg); }
.tcard:nth-child(5) { transform: rotate(4deg) translateY(6px); }
.tcard:nth-child(6) { transform: rotate(8deg) translateY(20px); }
.tcard:hover {
  transform: rotate(0deg) translateY(-16px) scale(1.05);
  z-index: 5;
}
.tcard.light:hover { box-shadow: 0 30px 70px rgba(90, 80, 70, .26), 0 1px 0 rgba(255, 255, 255, .95) inset; }
.tcard.dark:hover { box-shadow: 0 30px 70px rgba(17, 17, 17, .45), 0 1px 0 rgba(255, 255, 255, .2) inset; }
.t-stars { display: flex; gap: 3px; color: var(--orange); }
.tcard blockquote {
  margin: 14px 0 18px; font-size: 13.5px; line-height: 1.6; flex: 1;
}
.tcard.dark blockquote { color: rgba(242, 240, 236, .92); }
.tcard figcaption { display: flex; align-items: center; gap: 10px; }
.t-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, color-mix(in srgb, var(--av) 80%, #fff 20%), var(--av));
  color: #fff; font-size: 14px; font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
.t-who { display: flex; flex-direction: column; font-size: 11.5px; line-height: 1.35; color: inherit; opacity: .75; }
.t-who b { font-size: 13px; opacity: 1; }
@media (max-width: 900px) {
  .t-fan {
    justify-content: flex-start; overflow-x: auto; padding: 20px 24px 40px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  }
  .tcard { flex: none; margin: 0 8px; transform: none !important; scroll-snap-align: center; }
  .tcard:hover { transform: translateY(-6px) !important; }
  .t-blobs { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tcard { transition-duration: 0.01ms !important; }
}

/* ---------- faq ---------- */
.faq-list { margin-top: 44px; display: grid; gap: 12px; max-width: 780px; }
details { padding: 0; overflow: hidden; }
summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-serif); font-weight: 400; font-size: 19.5px;
  color: var(--ink);
  transition: color 0.2s ease;
}
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--orange); }
.faq-icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--orange); border-radius: 2px;
  transition: transform 0.3s ease;
}
.faq-icon::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq-icon::after { left: 6px; top: 0; width: 2px; height: 14px; }
details[open] .faq-icon::after { transform: scaleY(0); }
details p { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; max-width: 680px; }
details code {
  font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 13px;
  background: var(--orange-tint); padding: 2px 7px; border-radius: 6px; color: var(--ink);
}

/* ---------- final — radial focus rings behind the CTA ---------- */
.final { text-align: center; padding-bottom: 40px; }
.final > :not(.rings-field) { position: relative; z-index: 1; }
.rings-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.rings {
  position: absolute; left: 50%; top: 54%;
  width: 820px; height: 820px;
  transform: translate(-50%, -50%);
}
.final h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.final p { color: var(--muted); margin-top: 16px; font-size: 18px; }
.final .btn { margin-top: 32px; }
.final-note { font-size: 13px !important; margin-top: 18px !important; }

/* ---------- footer ---------- */
.footer {
  max-width: 1080px; margin: 90px auto 0; padding: 30px 24px 44px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.footer-left { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.footer-by { color: var(--muted); font-weight: 400; font-size: 14px; }
.footer-links { display: flex; gap: 22px; margin-left: auto; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--orange); }
.footer-legal { width: 100%; font-size: 12.5px; color: #9a9fa4; }

/* ---------- reveal defaults (GSAP animates these) ----------
   Hidden ONLY when JS is confirmed running and motion is allowed, so the
   page never renders blank if scripts fail to load. */
.js:not(.no-motion) .reveal { opacity: 0; transform: translateY(28px); }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .mock-chat { width: min(700px, 66%); }
  .mock-note { right: -2px; }
  .mock-pill { right: 8px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav { grid-template-columns: auto 1fr auto; padding-left: 18px; }
  .nav-logo { justify-self: start; }
  .why-cols { grid-template-columns: 1fr; gap: 20px; }
  .demo-pill { right: 8px; }
  .ss-grid { grid-template-columns: 1fr; }
  .ssm-side, .ssm-chatside { display: none; }
  .hero-mock { min-height: 0; }
  .mock-side, .mock-note { display: none; }
  .mock-chat { width: 100%; margin-top: 0; }
  .mock-pill { right: 10px; top: auto; bottom: -23px; }
}

@media (max-width: 760px) {
  .hero-badge { font-size: 11px; padding: 9px 16px; letter-spacing: 0.1em; }
}

@media (max-width: 520px) {
  .mock-chat { padding: 20px 18px 16px; }
  .mock-toolbar { gap: 14px; }
  .t-fan { padding: 20px 16px 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .sv-caret, .caret { animation: none; }
  .demo-pill.recording { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

@media (prefers-reduced-motion: reduce) {
  .integrations .cap, .integrations .app, .integrations .app svg { transition-duration: 0.01ms !important; }
}

/* ---------- legal pages ---------- */
.legal-body { background: var(--bg); }
.legal-nav {
  position: static; transform: none;
  width: fit-content; margin: 28px auto 0;
  display: flex; justify-content: center;
  padding: 10px 22px;
}
.legal {
  max-width: 680px; margin: 0 auto;
  padding: clamp(48px, 8vh, 90px) 24px 100px;
}
.legal h1 {
  margin-top: 14px;
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.1; color: var(--ink);
}
.legal-date { margin-top: 14px; font-size: 13px; color: #9a958f; }
.legal h2 {
  margin-top: 40px;
  font-family: var(--font-serif); font-weight: 400; font-size: 22px; color: var(--ink);
}
.legal p { margin-top: 12px; font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.legal a { color: var(--orange); }
.legal code {
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 13px; background: #ecebe7; border-radius: 6px; padding: 2px 7px; color: var(--ink);
}

/* ---------- compare landing pages ---------- */
.compare-page { max-width: 760px; }
.compare-page .table-wrap { margin-top: 28px; }
.compare-page h2 { margin-top: 44px; }
.compare-page b { color: var(--ink); font-weight: 600; }
.cmp-cta { margin-top: 52px; text-align: center; }
.cmp-cta .btn-dark { color: #fff; }
.cmp-cta-note { margin-top: 14px; font-size: 13px; color: #9a958f; }
