/* ============================================================================
   ULTRATYPE — landing design system
   Direction: graphite (#0A0A0B) + one cold ice-blue accent (#6AA8FF).
   Typography-led, restrained colour, glass + soft glow.
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  /* surfaces */
  --bg:        #08080A;
  --bg-2:      #0B0B0E;
  --surface:   #0E0E12;
  --surface-2: #131318;
  --hair:      rgba(255, 255, 255, 0.08);
  --hair-soft: rgba(255, 255, 255, 0.055);
  --hair-strong: rgba(255, 255, 255, 0.14);

  /* glass */
  --glass:        rgba(255, 255, 255, 0.04);
  --glass-2:      rgba(255, 255, 255, 0.06);
  --glass-stroke: rgba(255, 255, 255, 0.10);
  --glass-hi:     rgba(255, 255, 255, 0.16);

  /* ink */
  --ink:      #F6F7FB;
  --ink-2:    #BFC0CB;
  --ink-3:    #94959F;
  --ink-4:    #7B7C87;
  --ink-faint:#3A3B45;

  /* accent — cold ice-blue */
  --accent:      #6AA8FF;
  --accent-bright:#9CC4FF;
  --accent-deep: #2E63C8;
  --accent-ink:  #0A0E16;          /* text on accent fills */
  --accent-glow: rgba(106, 168, 255, 0.45);
  --accent-wash: rgba(106, 168, 255, 0.10);

  /* status hues (mirror the app's FAB states, used very sparingly) */
  --rec:  #F0566A;
  --ok:   #46CE86;

  /* type families */
  --font-display: "Clash Display", "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-text:    "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-cjk:     "Noto Sans SC", var(--font-text);

  /* fluid scale */
  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.18rem, 1.07rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.45rem, 1.2rem + 1.2vw, 2.1rem);
  --step-3:  clamp(1.9rem, 1.4rem + 2.4vw, 3.1rem);
  --step-4:  clamp(2.4rem, 1.5rem + 4.4vw, 4.6rem);
  --display: clamp(3rem, 1.2rem + 8.4vw, 8.2rem);

  /* layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(88px, 13vh, 184px);
  --radius:   24px;
  --radius-lg: 32px;
  --radius-sm: 14px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.6s;

  color-scheme: dark;
}

/* --------------------------------------------------------------- reset/base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-feature-settings: "ss01", "cv01", "cv03";
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.6;
  letter-spacing: -0.005em;
  font-weight: 420;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  min-height: 100vh;
}
:lang(zh) body, html[lang="zh"] body { font-family: var(--font-cjk); }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ----------------------------------------------------------- backdrop fx */
.fx-grain,
.fx-glow { position: fixed; inset: 0; pointer-events: none; z-index: 0; }

.fx-glow {
  background:
    radial-gradient(60% 42% at 18% 6%, rgba(106,168,255,0.16), transparent 70%),
    radial-gradient(50% 40% at 88% 0%, rgba(70,110,200,0.12), transparent 72%),
    radial-gradient(70% 60% at 50% 120%, rgba(106,168,255,0.07), transparent 70%);
  mix-blend-mode: screen;
}
.fx-grain {
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.fx-vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0,0,0,0.55) 100%);
}

/* ------------------------------------------------------------- primitives */
.shell { position: relative; z-index: 2; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1360px; }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(56px, 8vh, 110px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 18px; height: 1px; background: var(--accent); opacity: 0.7;
}
.eyebrow--center { justify-content: center; }

.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--display);
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-4);
  line-height: 1.0;
  letter-spacing: -0.028em;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-3);
  line-height: 1.04;
  letter-spacing: -0.024em;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: var(--step-2);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-2);
  font-weight: 420;
  letter-spacing: -0.01em;
}
.muted { color: var(--ink-3); }
.outline-word {
  -webkit-text-stroke: 1.2px rgba(255,255,255,0.55);
  color: transparent;
  paint-order: stroke fill;
}
.accent-word { color: var(--accent); }
.italic-word { font-style: italic; font-weight: 460; }

.section-head { max-width: 56ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-top: 0; }
.section-head .lead { margin-top: 1.1rem; max-width: 48ch; }
.section-head--center .lead { margin-inline: auto; }

/* --------------------------------------------------------------- buttons */
.btn {
  --pad-y: 0.9rem; --pad-x: 1.5rem;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-family: var(--font-text);
  font-weight: 540;
  font-size: var(--step-0);
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.5s var(--ease-out), background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.4s;
  will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--primary {
  background: var(--ink);
  color: #0A0A0B;
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 14px 40px -18px rgba(255,255,255,0.5);
}
.btn--primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 18px 50px -16px rgba(106,168,255,0.55); }
.btn--ghost {
  background: var(--glass);
  color: var(--ink);
  border: 1px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.btn--ghost:hover { background: var(--glass-2); border-color: var(--hair-strong); }
.btn--lg { --pad-y: 1.15rem; --pad-x: 2rem; font-size: var(--step-1); }
.btn--sm { --pad-y: 0.62rem; --pad-x: 1.05rem; font-size: var(--step--1); }
.btn[disabled] { opacity: 0.5; pointer-events: none; }
.btn .arrow { transition: transform 0.45s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* Google Play badge button */
.gp-badge {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 1.25rem 0.7rem 1.05rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #1A1A1F, #101013);
  border: 1px solid var(--hair);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 16px 40px -22px #000;
  transition: transform 0.5s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
  will-change: transform;
}
.gp-badge:hover { border-color: var(--hair-strong); box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 20px 46px -20px rgba(106,168,255,0.4); }
.gp-badge__glyph { width: 26px; height: 28px; flex: none; }
.gp-badge__txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.gp-badge__txt small { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.gp-badge__txt b { font-family: var(--font-display); font-weight: 560; font-size: 1.12rem; letter-spacing: -0.01em; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

/* ------------------------------------------------------------------- nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 14px var(--gutter);
  transition: padding 0.4s var(--ease), background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(8,8,10,0.6);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  transition: opacity 0.4s var(--ease);
}
.nav.is-scrolled { padding-block: 9px; border-bottom-color: var(--hair-soft); }
.nav.is-scrolled::before { opacity: 1; }

.brand { display: inline-flex; align-items: center; gap: 0.62rem; font-family: var(--font-display); font-weight: 560; font-size: 1.16rem; letter-spacing: -0.02em; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand:hover .brand__mark { filter: drop-shadow(0 4px 12px rgba(106,168,255,0.4)); transition: filter 0.4s; }

.nav__links { display: flex; gap: 0.3rem; margin-left: 1.2rem; }
.nav__links a {
  padding: 0.5rem 0.85rem; border-radius: 999px;
  font-size: var(--step--1); color: var(--ink-2); font-weight: 480;
  transition: color 0.25s, background 0.25s;
}
.nav__links a:hover { color: var(--ink); background: var(--glass); }
.nav__spacer { margin-left: auto; }
.nav__actions { display: flex; align-items: center; gap: 0.7rem; }

/* language switcher */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 0.8rem; border-radius: 999px;
  border: 1px solid var(--hair); background: var(--glass);
  font-size: var(--step--1); color: var(--ink-2); font-weight: 500;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.lang__btn:hover { color: var(--ink); border-color: var(--hair-strong); }
.lang__btn svg { width: 15px; height: 15px; }
.lang__chev { transition: transform 0.3s var(--ease); opacity: 0.7; }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 184px; padding: 7px;
  border-radius: 16px;
  background: rgba(16,16,20,0.86);
  border: 1px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 24px 60px -20px #000, 0 1px 0 var(--glass-hi) inset;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.97); transform-origin: top right;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.lang__menu button {
  display: flex; align-items: center; gap: 0.7rem; width: 100%;
  padding: 0.6rem 0.7rem; border-radius: 10px;
  font-size: var(--step--1); color: var(--ink-2); text-align: left;
  transition: background 0.2s, color 0.2s;
}
.lang__menu button:hover { background: var(--glass-2); color: var(--ink); }
.lang__menu button[aria-current="true"] { color: var(--ink); }
.lang__menu button[aria-current="true"]::after { content: ""; margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
.lang__menu .flag { font-size: 1rem; line-height: 1; }
.lang__native { color: var(--ink-4); margin-left: auto; font-family: var(--font-mono); font-size: 0.72rem; }
.lang__menu button[aria-current="true"] .lang__native { display: none; }

/* mobile menu toggle */
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--hair); background: var(--glass); align-items: center; justify-content: center; }
.nav__burger span { position: relative; width: 17px; height: 1.5px; background: var(--ink); transition: 0.3s; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 17px; height: 1.5px; background: var(--ink); transition: 0.3s; }
.nav__burger span::before { top: -5px; } .nav__burger span::after { top: 5px; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding-top: clamp(140px, 20vh, 220px); padding-bottom: clamp(60px, 8vh, 120px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero__copy { max-width: 30em; }
.hero__eyebrow { margin-bottom: 1.6rem; }
.hero h1 { font-size: clamp(2.7rem, 1rem + 5.3vw, 4.5rem); max-width: 12em; }
.hero__sub { margin-top: 1.7rem; max-width: 42ch; }
.hero__cta { margin-top: 2.4rem; }
.hero__trust { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1.1rem 1.6rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--step--1); color: var(--ink-3); }
.hero__trust .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); flex: none; }

/* hero stage / phone */
.hero__stage { position: relative; display: flex; justify-content: center; }
.hero__halo {
  position: absolute; inset: -12% -6% -6%; z-index: -1;
  background: radial-gradient(46% 50% at 60% 38%, rgba(106,168,255,0.22), transparent 68%);
  filter: blur(20px);
}

/* ----- phone device (pure CSS) ----- */
.phone {
  position: relative; width: min(310px, 78vw); aspect-ratio: 9 / 19.2;
  border-radius: 46px; padding: 9px;
  background: linear-gradient(155deg, #2A2A30, #0d0d10 42%, #050506);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 2px 2px rgba(255,255,255,0.10) inset,
    0 50px 90px -40px rgba(0,0,0,0.9),
    0 30px 80px -30px rgba(106,168,255,0.18);
}
.phone__screen {
  position: relative; height: 100%; border-radius: 38px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, #15171c, #0c0d10 60%),
    #0a0b0d;
  display: flex; flex-direction: column;
}
.phone__statusbar { display: flex; align-items: center; justify-content: space-between; padding: 21px 20px 8px; font-size: 0.72rem; color: var(--ink-2); font-weight: 600; font-family: var(--font-mono); }
.phone__statusbar .sb-right { display: inline-flex; gap: 5px; align-items: center; color: var(--ink-2); }
.phone__statusbar .sb-right svg { display: block; }

/* dynamic island pill */
.pill {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  z-index: 6; height: 34px; min-width: 116px;
  display: flex; align-items: center; gap: 9px; padding: 0 14px;
  border-radius: 999px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 8px 22px -8px rgba(0,0,0,0.8), 0 0 26px -6px var(--pill-glow, transparent);
  transition: min-width 0.6s var(--ease-out), background 0.5s, box-shadow 0.5s;
}
.pill[data-state="idle"] { min-width: 116px; --pill-glow: rgba(106,168,255,0.0); }
.pill[data-state="rec"] { min-width: 150px; --pill-glow: rgba(240,86,106,0.5); }
.pill[data-state="think"] { min-width: 150px; --pill-glow: rgba(106,168,255,0.5); }
.pill[data-state="done"] { min-width: 138px; --pill-glow: rgba(70,206,134,0.5); }
.pill__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); flex: none; }
.pill[data-state="rec"] .pill__dot { background: var(--rec); box-shadow: 0 0 10px rgba(240,86,106,0.7); animation: pulse 1.1s var(--ease) infinite; }
.pill[data-state="done"] .pill__dot { background: var(--ok); box-shadow: 0 0 10px rgba(70,206,134,0.7); }
.pill__label { font-size: 0.72rem; font-weight: 540; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
@keyframes pulse { 50% { opacity: 0.35; transform: scale(0.8); } }

/* mini waveform */
.wave { display: inline-flex; align-items: center; gap: 2.5px; height: 16px; }
.wave i { width: 2.5px; border-radius: 2px; background: var(--accent); height: 30%; transform-origin: center; }
.pill[data-state="rec"] .wave i { background: var(--rec); }
.pill[data-state="rec"] .wave i { animation: wv 0.9s var(--ease) infinite; }
.wave i:nth-child(1){animation-delay:0s} .wave i:nth-child(2){animation-delay:.12s}
.wave i:nth-child(3){animation-delay:.24s} .wave i:nth-child(4){animation-delay:.1s}
.wave i:nth-child(5){animation-delay:.3s} .wave i:nth-child(6){animation-delay:.18s}
@keyframes wv { 0%,100%{height:24%} 50%{height:96%} }

/* app surface inside phone */
.phone__app { flex: 1; display: flex; flex-direction: column; padding: 14px 14px 0; gap: 10px; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 4px 2px 10px; border-bottom: 1px solid var(--hair-soft); }
.chat-head .ava { position: relative; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(140deg, #6AA8FF, #2E63C8); flex: none; display: grid; place-items: center; box-shadow: 0 4px 12px -4px var(--accent-glow); }
.chat-head .ava svg { width: 58%; height: 58%; color: rgba(255,255,255,0.94); }
.chat-head .ava__dot { position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); border: 2px solid #0a0b0d; box-shadow: 0 0 8px rgba(70,206,134,0.6); }
.chat-head .meta { display: flex; flex-direction: column; justify-content: center; line-height: 1.15; }
.chat-head .meta b { font-size: 0.84rem; font-weight: 560; line-height: 1.2; }
.chat-head .meta span { margin-top: 0; font-size: 0.68rem; color: var(--ink-3); line-height: 1.2; }
.bubbles { display: flex; flex-direction: column; gap: 8px; padding: 6px 2px; flex: 1; }
.bubble { max-width: 78%; padding: 9px 12px; border-radius: 16px; font-size: 0.78rem; line-height: 1.4; }
.bubble--in { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--hair-soft); border-bottom-left-radius: 5px; color: var(--ink-2); }
.bubble--out { align-self: flex-end; background: linear-gradient(145deg, #3A78D8, #2E63C8); color: #fff; border-bottom-right-radius: 5px; box-shadow: 0 8px 20px -10px var(--accent-glow); }

/* input bar with caret + typed text */
.inputbar { margin: 0 -14px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(10,11,13,0.9); border-top: 1px solid var(--hair-soft); display: flex; align-items: center; gap: 9px; }
.inputbar__field { flex: 1; min-height: 36px; padding: 8px 13px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--hair); font-size: 0.78rem; color: var(--ink); display: flex; align-items: center; }
.typed { white-space: pre-wrap; }
.typed::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; background: var(--accent); vertical-align: -2px; animation: caret 1s steps(1) infinite; }
.inputbar.is-empty .typed { color: var(--ink-4); }
@keyframes caret { 50% { opacity: 0; } }
.inputbar__send { width: 34px; height: 34px; border-radius: 50%; background: var(--glass-2); border: 1px solid var(--hair); display: grid; place-items: center; flex: none; color: var(--ink-3); }

/* floating glass FAB on phone — mirrors the app's CircleGlassButton (frosted bubble) */
.fab {
  position: absolute; right: 16px; bottom: 86px; z-index: 7;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  transition: box-shadow 0.5s, transform 0.5s var(--ease-out);
  animation: floaty 5s var(--ease) infinite;
}
.fab--glass {
  background: rgba(214, 216, 224, 0.30);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  box-shadow:
    inset -2.4px 0.8px 4.8px rgba(212, 212, 213, 0.9),
    inset 0.8px -0.8px 1.6px rgba(212, 212, 213, 0.9),
    inset 0 2.4px 2.4px rgba(255, 255, 255, 0.18),
    inset -6.4px -6.4px 9.6px rgba(255, 255, 255, 0.8),
    inset 3.2px 3.2px 3.2px rgba(255, 255, 255, 0.8),
    0 14px 26px -8px rgba(0, 0, 0, 0.55),
    0 8px 22px -6px var(--fab-glow, rgba(106, 168, 255, 0.35));
}
.fab[data-state="rec"] { --fab-glow: rgba(240, 86, 106, 0.6); }
.fab[data-state="done"] { --fab-glow: rgba(70, 206, 134, 0.55); }
@keyframes floaty { 50% { transform: translateY(-7px); } }
.fab__ring { position: absolute; inset: -7px; border-radius: 50%; border: 1.5px solid var(--accent); opacity: 0; }
.fab[data-state="rec"] .fab__ring { animation: ring 1.6s var(--ease-out) infinite; border-color: var(--rec); }
@keyframes ring { 0% { opacity: 0.6; transform: scale(0.9); } 100% { opacity: 0; transform: scale(1.5); } }

/* engraved mic: light lower layer (.lo) + grey body (.hi), the app-icon trick */
.fab__mic, .glass-fab .fab__mic { position: relative; width: 42%; height: 42%; }
.fab__mic svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fab__mic .lo { display: none; }            /* убран нижний светлый слой — без эффекта вдавленности */
.fab__mic .hi { color: #fff; }              /* чистый белый микрофон */

/* floating glass chips around hero device */
.hero__chip {
  position: absolute; z-index: 8;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.85rem; border-radius: 13px;
  background: rgba(18,18,22,0.62); border: 1px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 18px 40px -22px #000, 0 1px 0 var(--glass-hi) inset;
  font-size: 0.76rem; color: var(--ink-2); font-weight: 480;
}
.hero__chip b { color: var(--ink); font-weight: 560; }
.hero__chip .ic { color: var(--accent); display: inline-flex; }
.hero__chip--a { top: 13%; left: -6%; }
.hero__chip--b { top: 55%; right: -8%; }

/* ----------------------------------------------------- marquee / keyboard */
.kbd-sec { text-align: center; overflow: hidden; }
.kbd-sec .h2 { margin-inline: auto; max-width: 14ch; }
.kbd-stage { margin-top: clamp(40px, 7vh, 84px); position: relative; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 17%, #000 83%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 17%, #000 83%, transparent 100%); }
.kbd-row { display: flex; gap: 16px; width: max-content; }
.kbd-row + .kbd-row { margin-top: 16px; }
.kbd-track { display: flex; gap: 16px; padding-right: 16px; will-change: transform; }
.app-tile {
  width: 64px; height: 64px; border-radius: 17px; flex: none;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 26px -14px rgba(0,0,0,0.8), 0 1px 0 rgba(255,255,255,0.14) inset;
  position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease-out);
}
.app-tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 0%, rgba(255,255,255,0.18), transparent 60%); }
.app-tile svg { width: 60%; height: 60%; position: relative; z-index: 1; }
.kbd-stage:hover .kbd-track { animation-play-state: paused; }

/* ------------------------------------------------------------- bento/cards */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 6vh, 72px); }
.card {
  position: relative; padding: 26px; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--glass-hi) inset, 0 30px 60px -40px #000;
  transition: transform 0.6s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
  display: flex; flex-direction: column;
  min-height: 420px;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(120% 80% at var(--mx,50%) var(--my,0%), rgba(106,168,255,0.5), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s;
}
.card:hover { border-color: var(--hair-strong); box-shadow: 0 1px 0 var(--glass-hi) inset, 0 40px 80px -40px rgba(106,168,255,0.22); }
.card:hover::before { opacity: 1; }
.card__art { position: relative; flex: 1; min-height: 190px; margin: -6px -6px 18px; border-radius: 20px; overflow: hidden; }
.card__icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-wash); border: 1px solid rgba(106,168,255,0.3); color: var(--accent); margin-bottom: 14px; }
.card__icon svg { width: 20px; height: 20px; }
.card h3 { font-family: var(--font-display); font-weight: 560; font-size: var(--step-1); letter-spacing: -0.02em; line-height: 1.12; }
.card p { margin-top: 0.6rem; color: var(--ink-3); font-size: var(--step--1); line-height: 1.55; }
.card__kicker { margin-top: auto; padding-top: 0.9rem; font-size: 0.84rem; color: var(--ink); font-weight: 520; }

/* sub-features strip */
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 28px; margin-top: 26px; padding-top: 30px; border-top: 1px solid var(--hair-soft); }
.mini { }
.mini__ic { width: 30px; height: 30px; color: var(--accent); margin-bottom: 12px; }
.mini h4 { font-family: var(--font-display); font-weight: 540; font-size: var(--step-0); letter-spacing: -0.01em; }
.mini p { margin-top: 0.35rem; font-size: var(--step--1); color: var(--ink-3); line-height: 1.5; }

/* card art: overlay fab demo */
.art-overlay { background: radial-gradient(120% 90% at 30% 0%, #1a1d24, #0c0d10); display: grid; place-items: center; }
.art-overlay .glass-fab {
  position: relative; width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(214, 216, 224, 0.30);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  box-shadow:
    inset -2.4px 0.8px 4.8px rgba(212, 212, 213, 0.9),
    inset 0.8px -0.8px 1.6px rgba(212, 212, 213, 0.9),
    inset 0 2.4px 2.4px rgba(255, 255, 255, 0.18),
    inset -6.4px -6.4px 9.6px rgba(255, 255, 255, 0.8),
    inset 3.2px 3.2px 3.2px rgba(255, 255, 255, 0.8),
    0 18px 32px -10px rgba(0, 0, 0, 0.5);
  animation: floaty 4.5s var(--ease) infinite;
}
.art-overlay .glass-fab .fab__mic { width: 40%; height: 40%; }
.art-overlay .ring2 { position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 1px solid rgba(106,168,255,0.25); }
.art-overlay .ring3 { position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(106,168,255,0.12); }

/* card art: style picker */
.art-styles { background: linear-gradient(180deg, #121319, #0b0c0f); padding: 16px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.style-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--hair-soft); font-size: 0.8rem; color: var(--ink-2); transition: 0.3s; }
.style-row .si { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--glass-2); color: var(--ink-3); flex: none; }
.style-row.is-on { background: linear-gradient(120deg, rgba(106,168,255,0.16), rgba(106,168,255,0.05)); border-color: rgba(106,168,255,0.4); color: var(--ink); }
.style-row.is-on .si { background: var(--accent); color: var(--accent-ink); }
.style-row .chk { margin-left: auto; color: var(--accent); opacity: 0; }
.style-row.is-on .chk { opacity: 1; }

/* card art: insert field */
.art-insert { background: radial-gradient(120% 90% at 70% 10%, #181a20, #0b0c0f); display: grid; place-items: center; padding: 20px; }
.insert-field { width: 100%; padding: 13px 15px; border-radius: 14px; background: var(--surface-2); border: 1px solid rgba(106,168,255,0.35); box-shadow: 0 0 0 4px rgba(106,168,255,0.08), 0 10px 30px -16px var(--accent-glow); font-size: 0.82rem; color: var(--ink); }
.insert-field .typed2::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; background: var(--accent); vertical-align: -2px; animation: caret 1s steps(1) infinite; }
.insert-tag { position: absolute; top: 16px; left: 16px; font-family: var(--font-mono); font-size: 0.66rem; color: var(--ink-4); letter-spacing: 0.04em; }

/* ----------------------------------------------------------- split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__list { margin-top: 2.2rem; display: flex; flex-direction: column; gap: 1.4rem; }
.split__item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; }
.split__item .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-wash); border: 1px solid rgba(106,168,255,0.28); color: var(--accent); }
.split__item .ic svg { width: 18px; height: 18px; }
.split__item h4 { font-family: var(--font-display); font-weight: 540; font-size: var(--step-1); letter-spacing: -0.015em; }
.split__item p { margin-top: 0.3rem; color: var(--ink-3); font-size: var(--step--1); line-height: 1.55; }

/* settings panel mock */
.panel-mock {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, #131419, #0a0b0e);
  border: 1px solid var(--glass-stroke);
  box-shadow: 0 1px 0 var(--glass-hi) inset, 0 50px 90px -50px #000, 0 40px 90px -50px rgba(106,168,255,0.2);
}
.panel-mock__bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--hair-soft); }
.panel-mock__bar .tl { display: flex; gap: 6px; } .panel-mock__bar .tl i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-2); }
.panel-mock__bar b { font-size: 0.78rem; color: var(--ink-2); margin-inline: auto; font-weight: 500; }
.panel-mock__body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.set-row { display: flex; align-items: center; gap: 12px; padding: 13px; border-radius: 14px; background: var(--surface); border: 1px solid var(--hair-soft); }
.set-row .app-ic { width: 34px; height: 34px; border-radius: 9px; flex: none; box-shadow: 0 4px 10px -4px #000, 0 1px 0 rgba(255,255,255,0.14) inset; display: grid; place-items: center; overflow: hidden; position: relative; }
.set-row .app-ic::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 0%, rgba(255,255,255,0.18), transparent 60%); }
.set-row .app-ic svg { width: 62%; height: 62%; position: relative; z-index: 1; }
.set-row .nm { font-size: 0.84rem; font-weight: 500; } .set-row .nm span { display: block; font-size: 0.7rem; color: var(--ink-4); font-weight: 420; }
.set-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--hair); font-size: 0.72rem; color: var(--ink-2); }
.set-pill.is-accent { background: var(--accent-wash); border-color: rgba(106,168,255,0.4); color: var(--accent-bright); }
.set-pill .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ------------------------------------------------------------------ steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(40px, 6vh, 72px); counter-reset: step; align-items: stretch; }
.step { position: relative; height: 100%; padding: 26px; border-radius: var(--radius); border: 1px solid var(--hair-soft); background: var(--glass); overflow: hidden; display: flex; flex-direction: column; }
.step__n { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); letter-spacing: 0.1em; }
.step h3 { margin-top: 0.7rem; font-family: var(--font-display); font-weight: 560; font-size: var(--step-1); letter-spacing: -0.02em; }
.step p { margin-top: 0.5rem; margin-bottom: 22px; color: var(--ink-3); font-size: var(--step--1); line-height: 1.55; }
.step__art { margin-top: auto; height: 96px; border-radius: 14px; background: var(--surface); border: 1px solid var(--hair-soft); display: grid; place-items: center; position: relative; overflow: hidden; }
.step__line { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); box-shadow: 0 0 12px var(--accent-glow); }

/* ----------------------------------------------------------------- privacy */
.privacy { position: relative; }
.privacy__panel {
  position: relative; border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 64px); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  border: 1px solid var(--glass-stroke);
  box-shadow: 0 1px 0 var(--glass-hi) inset, 0 50px 100px -60px #000;
}
.privacy__panel::after { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 120%; background: radial-gradient(circle, rgba(106,168,255,0.12), transparent 60%); }
.privacy__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 56px); align-items: center; position: relative; }
.privacy__points { margin-top: 1.8rem; display: grid; gap: 1rem; }
.privacy__points li { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start; }
.privacy__points .ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(70,206,134,0.12); border: 1px solid rgba(70,206,134,0.3); color: var(--ok); flex: none; margin-top: 2px; }
.privacy__points .ic svg { width: 15px; height: 15px; }
.privacy__points b { font-weight: 540; color: var(--ink); }
.privacy__points span { color: var(--ink-3); font-size: var(--step--1); display: block; margin-top: 1px; }
.shield { width: 100%; max-width: 280px; margin-inline: auto; }

/* ----------------------------------------------------------------- pricing */
.pricing__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.toggle { margin-top: 2rem; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--glass); border: 1px solid var(--hair); position: relative; }
.toggle button { position: relative; z-index: 2; padding: 0.55rem 1.2rem; border-radius: 999px; font-size: var(--step--1); font-weight: 520; color: var(--ink-3); transition: color 0.3s; display: inline-flex; align-items: center; gap: 0.5rem; }
.toggle button.is-active { color: var(--accent-ink); }
.toggle__thumb { position: absolute; z-index: 1; top: 5px; bottom: 5px; border-radius: 999px; background: var(--ink); transition: transform 0.5s var(--ease-out), width 0.5s var(--ease-out); box-shadow: 0 6px 16px -8px rgba(255,255,255,0.4); }
.toggle .save { font-family: var(--font-mono); font-size: 0.64rem; padding: 2px 6px; border-radius: 6px; background: rgba(70,206,134,0.16); color: var(--ok); letter-spacing: 0.02em; }
.toggle button.is-active .save { background: rgba(10,14,22,0.18); color: var(--accent-ink); }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: clamp(36px, 5vh, 60px); max-width: 880px; margin-inline: auto; }
.plan { position: relative; padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--glass-stroke); background: var(--glass); overflow: hidden; display: flex; flex-direction: column; }
.plan--pro { background: linear-gradient(165deg, rgba(46,99,200,0.22), rgba(106,168,255,0.06) 60%, rgba(255,255,255,0.02)); border-color: rgba(106,168,255,0.4); box-shadow: 0 40px 90px -50px rgba(106,168,255,0.4); }
.plan__tag { position: absolute; top: 24px; right: 24px; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.plan h3 { font-family: var(--font-display); font-weight: 560; font-size: var(--step-1); letter-spacing: -0.015em; }
.plan__price { margin-top: 1rem; display: flex; align-items: flex-end; gap: 0.4rem; }
.plan__price .amt { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 5vw, 3.6rem); letter-spacing: -0.04em; line-height: 0.9; }
.plan__price .cur { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; align-self: flex-start; margin-top: 0.3rem; color: var(--ink-2); }
.plan__price .per { font-size: var(--step--1); color: var(--ink-3); margin-bottom: 0.4rem; }
.plan__note { margin-top: 0.5rem; font-size: var(--step--1); color: var(--ink-3); min-height: 1.4em; }
.plan__desc { margin-top: 0.4rem; color: var(--ink-3); font-size: var(--step--1); }
.plan__sep { margin: 22px 0; height: 1px; background: var(--hair-soft); }
.plan__feats { display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.plan__feats li { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; font-size: var(--step--1); color: var(--ink-2); align-items: start; }
.plan__feats .ic { color: var(--accent); margin-top: 2px; } .plan--free .plan__feats .ic { color: var(--ink-3); }
.plan__feats .lead-in { color: var(--ink); font-weight: 540; }
.plan .btn { margin-top: 26px; width: 100%; }
.plan__fine { margin-top: 0.9rem; text-align: center; font-size: 0.72rem; color: var(--ink-4); }

/* --------------------------------------------------------------------- faq */
.faq { max-width: 820px; margin-inline: auto; margin-top: clamp(36px, 5vh, 56px); }
.faq__item { border-top: 1px solid var(--hair-soft); }
.faq__item:last-child { border-bottom: 1px solid var(--hair-soft); }
.faq__q { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1.5rem 0.2rem; text-align: left; font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); letter-spacing: -0.015em; color: var(--ink); transition: color 0.3s; }
.faq__q:hover { color: var(--accent-bright); }
.faq__q .sign { margin-left: auto; position: relative; width: 18px; height: 18px; flex: none; }
.faq__q .sign::before, .faq__q .sign::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.faq__q .sign::before { top: 50%; left: 0; width: 18px; height: 2px; transform: translateY(-50%); }
.faq__q .sign::after { left: 50%; top: 0; height: 18px; width: 2px; transform: translateX(-50%); transition: transform 0.4s var(--ease); }
.faq__item.is-open .sign::after { transform: translateX(-50%) scaleY(0); }
.faq__a { overflow: hidden; height: 0; }
.faq__a-inner { padding: 0 0 1.6rem; color: var(--ink-3); font-size: var(--step-0); line-height: 1.6; max-width: 64ch; }
.faq__a-inner a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------- cta */
.cta { text-align: center; position: relative; }
.cta__panel { position: relative; border-radius: var(--radius-lg); padding: clamp(48px, 9vw, 110px) clamp(24px, 5vw, 80px); overflow: hidden; background: linear-gradient(180deg, #0e1018, #090a0d); border: 1px solid var(--glass-stroke); }
.cta__panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 120%, rgba(106,168,255,0.28), transparent 70%); }
.cta__panel > * { position: relative; }
.cta h2 { margin-inline: auto; max-width: 16ch; }
.cta .lead { margin: 1.2rem auto 2.2rem; max-width: 44ch; }
.cta .btn-row { justify-content: center; }

/* ------------------------------------------------------------------ footer */
.footer { border-top: 1px solid var(--hair-soft); padding-block: clamp(56px, 8vh, 92px) 40px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px 24px; }
.footer__brand .brand { font-size: 1.3rem; }
.footer__brand p { margin-top: 1rem; max-width: 34ch; color: var(--ink-3); font-size: var(--step--1); line-height: 1.55; }
.footer__brand .gp-badge { margin-top: 1.4rem; }
.footer__col h5 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 1rem; }
.footer__col a { display: block; padding: 0.35rem 0; color: var(--ink-2); font-size: var(--step--1); transition: color 0.25s; }
.footer__col a:hover { color: var(--ink); }
.footer__bottom { margin-top: clamp(40px, 6vh, 64px); padding-top: 28px; border-top: 1px solid var(--hair-soft); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; color: var(--ink-4); font-size: 0.8rem; }
.footer__bottom a { color: var(--ink-3); } .footer__bottom a:hover { color: var(--ink); }
.footer__made { display: inline-flex; align-items: center; gap: 0.5rem; }

/* ------------------------------------------------------------- reveal anim */
[data-reveal] { opacity: 0; transform: translateY(26px); }
.is-ready [data-reveal] { transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(24px); }
.is-ready [data-reveal-stagger] > * { transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
[data-reveal-stagger].is-in > * { opacity: 1; transform: none; }

/* ----------------------------------------------------------- legal pages */
.legal { padding-top: clamp(120px, 18vh, 180px); }
.legal__head { max-width: 760px; }
.legal__meta { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; color: var(--ink-4); font-size: var(--step--1); font-family: var(--font-mono); }
.legal__body { display: grid; grid-template-columns: 230px 1fr; gap: clamp(30px, 5vw, 72px); margin-top: clamp(40px, 6vh, 72px); align-items: start; }
.legal__toc { position: sticky; top: 96px; }
.legal__toc ol { counter-reset: toc; display: flex; flex-direction: column; gap: 0.2rem; }
.legal__toc a { display: block; padding: 0.4rem 0.6rem; border-radius: 8px; font-size: var(--step--1); color: var(--ink-3); border-left: 2px solid transparent; transition: 0.25s; }
.legal__toc a:hover { color: var(--ink); background: var(--glass); }
.legal__toc a.is-active { color: var(--ink); border-left-color: var(--accent); }
.legal__content { max-width: 720px; }
.legal__content h2 { font-family: var(--font-display); font-weight: 560; font-size: var(--step-2); letter-spacing: -0.02em; margin-top: 2.6rem; scroll-margin-top: 100px; padding-top: 0.4rem; }
.legal__content h2:first-child { margin-top: 0; }
.legal__content h3 { font-family: var(--font-display); font-weight: 540; font-size: var(--step-1); margin-top: 1.8rem; letter-spacing: -0.01em; }
.legal__content p, .legal__content li { color: var(--ink-2); line-height: 1.7; font-size: var(--step-0); }
.legal__content p { margin-top: 1rem; }
.legal__content ul, .legal__content ol { margin-top: 1rem; padding-left: 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; }
.legal__content ul li { list-style: none; position: relative; }
.legal__content ul li::before { content: ""; position: absolute; left: -1.3rem; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal__content ol { list-style: decimal; color: var(--ink-2); }
.legal__content strong { color: var(--ink); font-weight: 560; }
.legal__content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal__content .callout { margin-top: 1.4rem; padding: 18px 20px; border-radius: 16px; background: var(--accent-wash); border: 1px solid rgba(106,168,255,0.25); }
.legal__content .callout p { margin-top: 0; color: var(--ink-2); }
.legal__content .callout strong { color: var(--accent-bright); }
.legal__content table { width: 100%; margin-top: 1.2rem; border-collapse: collapse; font-size: var(--step--1); }
.legal__content th, .legal__content td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--hair-soft); vertical-align: top; }
.legal__content th { color: var(--ink-3); font-weight: 540; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.legal__content td { color: var(--ink-2); }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .hero { padding-top: clamp(116px, 16vh, 160px); }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__copy { max-width: none; }
  .hero h1 { font-size: clamp(2.6rem, 9.5vw, 4rem); line-height: 1.05; }
  .hero__sub { max-width: 38ch; margin-top: 1.4rem; line-height: 1.55; }
  .hero__cta { margin-top: 2rem; }
  .hero__stage { margin-top: 20px; }
  .hero__chip--a { left: 2%; } .hero__chip--b { right: 2%; }
  .split, .split--rev .split__media { grid-template-columns: 1fr; order: 0; }
  .split__media { order: -1 !important; }
  .privacy__grid { grid-template-columns: 1fr; }
  .shield { display: none; }
  .bento { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .mini-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .legal__body { grid-template-columns: 1fr; }
  .legal__toc { display: none; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav { gap: 0.7rem; }
  .nav__actions { gap: 0.5rem; }
  .lang__btn { padding: 0.5rem 0.7rem; }
}
@media (max-width: 560px) {
  .mini-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__chip { display: none; }
  .hero__cta .btn, .cta .btn { width: 100%; justify-content: center; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  /* compact header so brand + language + burger always fit on one line */
  .nav { padding-left: 16px; padding-right: 16px; gap: 0.5rem; }
  .brand { font-size: 1.05rem; gap: 0.5rem; }
  .brand__mark { width: 26px; height: 26px; }
  .lang__btn { padding: 0.5rem 0.62rem; gap: 0.35rem; }
  .lang__chev { display: none; }
  .nav__burger { width: 40px; height: 40px; }
}

/* ------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
  .fab, .art-overlay .glass-fab { animation: none !important; }
}

/* mobile drawer (progressive) */
.drawer { position: fixed; inset: 0; z-index: 200; background: rgba(8,8,10,0.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); display: flex; flex-direction: column; padding: 22px var(--gutter); opacity: 0; visibility: hidden; transition: opacity 0.4s; }
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; }
.drawer__close { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--hair); display: grid; place-items: center; font-size: 1.4rem; color: var(--ink); }
.drawer nav { margin-top: 12vh; display: flex; flex-direction: column; gap: 0.4rem; }
.drawer nav a { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 8vw, 2.6rem); letter-spacing: -0.02em; padding: 0.4rem 0; color: var(--ink); }
.drawer nav a:active { color: var(--accent); }
.drawer__cta { margin-top: auto; }
