/* SpeakType marketing site — hand-written CSS, no build step.
   Design tokens follow a zinc/indigo palette (shadcn-style), dark by default. */

:root {
  --bg: #09090b;
  --bg-2: #0f0f14;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #fafafa;
  --text-2: #b4b4c2;
  --text-3: #8a8a9a;
  --brand: #6366f1;
  --brand-2: #a855f7;
  --brand-3: #22d3ee;
  --ok: #34d399;
  --warn: #fbbf24;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1160px;
  --nav-h: 64px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; overflow-x: clip; }

body {
  margin: 0;
  min-width: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; display: block; }
a { color: var(--brand-3); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4, p { margin: 0; overflow-wrap: anywhere; }
b, strong { font-weight: 600; color: var(--text); }
kbd {
  font: 600 0.85em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  padding: 0.15em 0.5em;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  background: var(--surface-2);
  color: var(--text);
  white-space: nowrap;
}
code { font: 0.9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--surface-2); padding: 0.1em 0.4em; border-radius: 6px; }

:focus-visible { outline: 2px solid var(--brand-3); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 600;
}
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; min-width: 0; }

/* ---------- background ---------- */
.bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(60% 45% at 20% 0%, rgba(99, 102, 241, 0.28), transparent 70%),
    radial-gradient(45% 40% at 85% 5%, rgba(168, 85, 247, 0.22), transparent 70%),
    radial-gradient(50% 40% at 50% 100%, rgba(34, 211, 238, 0.10), transparent 70%),
    var(--bg);
}
.bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 0%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 30%, transparent 100%);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(9, 9, 11, 0.7);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--text); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { color: var(--text-2); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 10px; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav-links .lang { border: 1px solid var(--line); margin-left: 4px; }
.nav-links .btn { margin-left: 8px; }
.nav-toggle {
  display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .x { display: none; }
.nav.open .nav-toggle .bars { display: none; }
.nav.open .nav-toggle .x { display: block; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 15px; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s var(--ease), background 0.15s, border-color 0.15s, box-shadow 0.15s;
  color: var(--text);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover { box-shadow: 0 14px 34px -10px rgba(99, 102, 241, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.22); }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 14px; }
.btn .sub { font-weight: 500; font-size: 12px; opacity: 0.8; margin-left: 2px; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 6px 14px 6px 8px; border-radius: 999px; font-size: 13px; color: var(--text-2);
  border: 1px solid var(--line-2); background: var(--surface);
}
.pill:hover { text-decoration: none; border-color: rgba(255, 255, 255, 0.28); color: var(--text); }
.pill .tag { padding: 2px 9px; border-radius: 999px; background: rgba(99, 102, 241, 0.25); color: #c7d2fe; font-weight: 600; font-size: 12px; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18); }
h1 {
  margin-top: 22px;
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 1.02; letter-spacing: -0.035em; font-weight: 800;
}
.grad {
  background: linear-gradient(90deg, #a5b4fc, #c084fc 45%, #67e8f9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin-top: 20px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--text-2); max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; padding: 0; list-style: none; color: var(--text-3); font-size: 13.5px; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 15px; height: 15px; color: var(--ok); }
.hero .note { margin-top: 14px; color: var(--text-3); font-size: 13px; }

/* ---------- live demo mock ---------- */
.demo { position: relative; min-width: 0; }
.demo::before {
  content: ""; position: absolute; inset: 10% -6% -6% -6%; z-index: -1; border-radius: 40px;
  background: radial-gradient(60% 60% at 50% 60%, rgba(99, 102, 241, 0.35), transparent 70%);
  filter: blur(30px);
}
.doc {
  border-radius: 18px; border: 1px solid var(--line-2); background: #14141b;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.doc-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.doc-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a46; }
.doc-bar i:nth-child(1) { background: #ff5f57; } .doc-bar i:nth-child(2) { background: #febc2e; } .doc-bar i:nth-child(3) { background: #28c840; }
.doc-bar span { margin-left: auto; font-size: 12px; color: var(--text-3); }
.doc-body { padding: 26px 28px 96px; min-height: 250px; font-size: 16.5px; line-height: 1.7; color: #e6e6ee; }
.doc-body p + p { margin-top: 12px; }
.typed .caret { display: inline-block; width: 2px; height: 1.15em; background: var(--brand-3); vertical-align: -0.2em; margin-left: 1px; animation: blink 1s steps(2) infinite; }
.fbar {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; width: min(86%, 420px);
  border-radius: 999px; background: rgba(24, 24, 32, 0.92); border: 1px solid var(--line-2);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
.fbar .mic { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.fbar .mic svg { width: 16px; height: 16px; }
.fbar .txt { min-width: 0; flex: 1; font-size: 13.5px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fbar .txt b { color: var(--text); }
.wave { display: flex; align-items: center; gap: 3px; height: 22px; flex: none; }
.wave i { width: 3px; height: 30%; border-radius: 2px; background: linear-gradient(180deg, var(--brand-3), var(--brand)); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: 0.1s; } .wave i:nth-child(3) { animation-delay: 0.2s; } .wave i:nth-child(4) { animation-delay: 0.3s; }
.wave i:nth-child(5) { animation-delay: 0.4s; } .wave i:nth-child(6) { animation-delay: 0.5s; } .wave i:nth-child(7) { animation-delay: 0.6s; }
.demo.idle .wave i { animation-play-state: paused; height: 30%; }
.demo .hint { position: absolute; right: 18px; top: 58px; font-size: 12px; color: var(--text-3); display: inline-flex; gap: 6px; align-items: center; }
@keyframes wave { 0%, 100% { height: 30%; } 50% { height: 100%; } }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- stats strip ---------- */
.stats { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.stats div { padding: 18px 20px; border-left: 1px solid var(--line); }
.stats div:first-child { border-left: 0; }
.stats b { display: block; font-size: 24px; letter-spacing: -0.02em; line-height: 1.1; }
.stats span { font-size: 13px; color: var(--text-3); }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #a5b4fc; margin-bottom: 14px; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); letter-spacing: -0.03em; line-height: 1.1; font-weight: 750; }
.sub { margin-top: 14px; color: var(--text-2); font-size: 17px; max-width: 640px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 16px; margin-top: 44px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative; padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color 0.2s, transform 0.2s var(--ease), background 0.2s;
}
.card:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateY(-2px); }
.card h3 { font-size: 17px; font-weight: 650; margin-top: 14px; letter-spacing: -0.01em; }
.card p { margin-top: 8px; color: var(--text-2); font-size: 14.5px; }
.card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(99, 102, 241, 0.16); color: #c7d2fe; border: 1px solid rgba(99, 102, 241, 0.3); }
.card .ic svg { width: 20px; height: 20px; }
.card .badge { position: absolute; right: 16px; top: 16px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text-2); }
.badge.ok { color: #a7f3d0; background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.35); }
.badge.warn { color: #fde68a; background: rgba(251, 191, 36, 0.12); border-color: rgba(251, 191, 36, 0.35); }
.badge.brand { color: #c7d2fe; background: rgba(99, 102, 241, 0.16); border-color: rgba(99, 102, 241, 0.4); }

/* steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 700; font-size: 14px;
}
.step h3 { font-size: 17px; margin-top: 16px; }
.step p { margin-top: 8px; color: var(--text-2); font-size: 14.5px; }

/* engines */
.engine-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.table-wrap { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; background: var(--surface); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); background: rgba(255, 255, 255, 0.02); }
tr:last-child td { border-bottom: 0; }
td.model b { display: block; }
td.model small { color: var(--text-3); font-size: 12.5px; }
td .ok { color: var(--ok); } td .no { color: var(--text-3); }
.engine-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.engine-cols .card .badge { position: static; }
.engine-cols .card h3 { margin-top: 12px; }
.engine-cols .card ul { margin: 10px 0 0; padding-left: 18px; color: var(--text-2); font-size: 14.5px; }
.engine-cols .card li + li { margin-top: 4px; }
.rel { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 16px 20px; border-radius: var(--radius); border: 1px dashed var(--line-2); color: var(--text-2); font-size: 14px; }
.rel span { display: inline-flex; align-items: center; gap: 7px; }
.rel svg { width: 15px; height: 15px; color: var(--ok); }

/* screenshots / tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 36px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; }
.tabs button {
  padding: 9px 16px; border-radius: 10px; border: 1px solid transparent; background: transparent;
  color: var(--text-2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--surface-2); color: var(--text); border-color: var(--line-2); }
.shot { margin-top: 24px; position: relative; }
.shot::before {
  content: ""; position: absolute; inset: 12% -4% -4% -4%; z-index: -1; border-radius: 40px;
  background: radial-gradient(60% 60% at 50% 60%, rgba(168, 85, 247, 0.25), transparent 70%); filter: blur(34px);
}
.shot [role="tabpanel"] { display: none; }
.shot [role="tabpanel"]:not([hidden]) { display: block; }
.shot img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.shot figcaption { margin-top: 14px; text-align: center; color: var(--text-3); font-size: 14px; }

.scroll-hint { display: none; margin-top: 8px; text-align: center; color: var(--text-3); font-size: 12.5px; }

/* split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split ul.check { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.split ul.check li { display: flex; gap: 12px; color: var(--text-2); font-size: 15px; }
.split ul.check svg { width: 20px; height: 20px; flex: none; color: var(--ok); margin-top: 2px; }
.split .actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.phone-art { display: grid; place-items: center; padding: 30px 0; }
.phone {
  width: 220px; height: 440px; border-radius: 36px; border: 1px solid var(--line-2); background: #14141b;
  box-shadow: var(--shadow), inset 0 0 0 6px #1d1d26; position: relative; overflow: hidden;
}
.phone::before { content: ""; position: absolute; top: 12px; left: 50%; width: 80px; height: 22px; transform: translateX(-50%); border-radius: 12px; background: #000; }
.phone .scr { position: absolute; inset: 44px 14px 14px; border-radius: 24px; background: linear-gradient(180deg, #16161f, #0e0e14); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 22px; gap: 14px; }
.phone .scr .cap { font-size: 12px; color: var(--text-3); text-align: center; }
.phone .scr .hold {
  width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; text-align: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 0 0 10px rgba(99, 102, 241, 0.15), 0 0 0 22px rgba(99, 102, 241, 0.07);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 16px rgba(99, 102, 241, 0.12), 0 0 0 34px rgba(99, 102, 241, 0.05); } }
.phone .scr .code { font: 600 11px ui-monospace, monospace; color: var(--text-2); padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); }

/* compare */
.compare td:first-child { color: var(--text); font-weight: 500; }
.compare td, .compare th { text-align: center; }
.compare td:first-child, .compare th:first-child { text-align: left; }
.compare th.hl { color: #c7d2fe; }
.compare td.hl { background: rgba(99, 102, 241, 0.06); }

/* downloads */
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.dl { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.dl.primary { border-color: rgba(99, 102, 241, 0.45); background: linear-gradient(180deg, rgba(99, 102, 241, 0.12), var(--surface) 60%); }
.dl .head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dl .head h3 { font-size: 19px; display: inline-flex; align-items: center; gap: 10px; }
.dl .head svg { width: 22px; height: 22px; color: var(--text-2); }
.dl .meta { margin-top: 6px; color: var(--text-3); font-size: 13.5px; }
.dl .links { margin-top: 18px; display: grid; gap: 10px; }
.dl .links .btn { width: 100%; justify-content: space-between; }
.dl .links .btn .sub { margin-left: auto; }
.dl .fine { margin-top: 14px; color: var(--text-3); font-size: 13px; }
.dl .fine + .fine { margin-top: 6px; }
.dl > * { min-width: 0; }
.dl pre { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: #0b0b10; border: 1px solid var(--line); font: 12.5px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #d4d4de; white-space: pre-wrap; overflow-wrap: anywhere; }
.verified { margin-top: 24px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; }
.verified h3 { font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.verified h3 svg { width: 18px; height: 18px; }
.verified ul { margin: 10px 0 0; padding-left: 18px; color: var(--text-2); font-size: 14px; }
.verified li + li { margin-top: 4px; }

/* faq */
.faq { max-width: 800px; margin: 40px auto 0; display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
details[open] { border-color: var(--line-2); }
summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 20px; color: var(--text-3); flex: none; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 22px 20px; color: var(--text-2); font-size: 15px; }

/* cta band */
.band {
  margin-top: 20px; padding: 56px 32px; border-radius: 24px; text-align: center; position: relative; overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.35);
  background:
    radial-gradient(60% 80% at 50% 120%, rgba(168, 85, 247, 0.35), transparent 70%),
    radial-gradient(50% 60% at 20% 0%, rgba(99, 102, 241, 0.3), transparent 70%),
    #12121a;
}
.band h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.band .cta { justify-content: center; }
.band .note { margin-top: 16px; color: var(--text-3); font-size: 13.5px; }

footer { padding: 40px 0 48px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--text-2); }
footer .disc { margin-top: 18px; font-size: 12.5px; max-width: 860px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .g4, .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .engine-cols { grid-template-columns: minmax(0, 1fr); }
  .engine-head { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lede { max-width: none; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .phone-art { padding: 8px 0 0; }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .verified { grid-template-columns: minmax(0, 1fr); }
  section { padding: 64px 0; }

  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 20px 18px;
    background: rgba(12, 12, 18, 0.96); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .nav-links .lang, .nav-links .btn { margin-left: 0; margin-top: 4px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .g2, .g3, .g4, .dl-grid { grid-template-columns: minmax(0, 1fr); }
  .cta .btn { flex: 1 1 100%; }
  .doc-body { padding: 20px 18px 92px; font-size: 15px; min-height: 220px; }
  .fbar { width: calc(100% - 28px); padding: 8px 12px 8px 8px; }
  .fbar .txt { font-size: 12.5px; }
  .demo .hint { display: none; }
  .band { padding: 44px 20px; border-radius: 20px; }
  .scroll-hint { display: block; }
  .tabs { width: 100%; }
  .tabs button { flex: 1 1 auto; }
  .stats b { font-size: 20px; }
  .card .badge { position: static; margin-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave i, .phone .scr .hold, .typed .caret { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
