/* SpeakAny — liquid glass site styles */
:root {
  --bg: #06070b;
  --bg-2: #0b0b12;
  --ink: #f4f6fc;
  --ink-2: #c9cfdd;
  --ink-3: #9aa3b8;
  --blue: #7fa8ff;
  --mint: #3be0a8;
  --warm: #ff9a4d;
  --red: #ff4b4b;
  --glass: rgba(255, 255, 255, 0.055);
  --glass-2: rgba(255, 255, 255, 0.085);
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.2);
  --radius: 24px;
  --radius-s: 14px;
  --max: 1160px;
  --font: "Be Vietnam Pro", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: #a9c4ff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(127, 168, 255, 0.35); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #000; padding: 10px 16px; border-radius: 10px; 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; }

/* Aurora background */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: radial-gradient(120% 80% at 50% -10%, #10121c 0%, var(--bg) 55%); }
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.aurora .a1 { width: 52vw; height: 52vw; left: -14vw; top: -10vw; background: radial-gradient(circle, rgba(127, 168, 255, 0.55), transparent 65%); animation: drift1 26s ease-in-out infinite alternate; }
.aurora .a2 { width: 44vw; height: 44vw; right: -12vw; top: 8vh; background: radial-gradient(circle, rgba(255, 154, 77, 0.38), transparent 65%); animation: drift2 30s ease-in-out infinite alternate; }
.aurora .a3 { width: 46vw; height: 46vw; left: 28vw; bottom: -22vw; background: radial-gradient(circle, rgba(59, 224, 168, 0.32), transparent 65%); animation: drift1 34s ease-in-out infinite alternate-reverse; }
.aurora::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 3px 3px; mix-blend-mode: overlay; }
@keyframes drift1 { to { transform: translate(6vw, 5vh) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-5vw, 8vh) scale(1.12); } }

.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

/* Glass primitive */
.glass {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.025) 55%, rgba(255,255,255,0.045));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), inset 0 -1px 0 rgba(255,255,255,0.03), 0 24px 60px -30px rgba(0,0,0,0.8);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; padding: 12px 0; }
.nav {
  display: flex; align-items: center; gap: 18px;
  padding: 8px 10px 8px 14px; border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255,255,255,0.12); }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,0.07); }
.lang { display: flex; padding: 3px; border-radius: 999px; background: rgba(0,0,0,0.3); border: 1px solid var(--line); }
.lang a { padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-3); text-decoration: none; letter-spacing: 0.02em; }
.lang a[aria-current="true"] { background: rgba(255,255,255,0.14); color: var(--ink); }
.lang a:hover { color: var(--ink); }
.nav .btn { padding: 9px 16px; font-size: 14px; }
.menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,0.06); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 20px; height: 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 16px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, #ffffff, #dfe6f5); color: #06070b; box-shadow: 0 10px 30px -10px rgba(127,168,255,0.6), inset 0 -2px 0 rgba(0,0,0,0.08); }
.btn-primary:hover { color: #06070b; box-shadow: 0 14px 36px -10px rgba(127,168,255,0.8); }
.btn-ghost { background: rgba(255,255,255,0.06); border-color: var(--line-2); color: var(--ink); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-ghost:hover { color: var(--ink); background: rgba(255,255,255,0.1); }
.appstore { display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 18px; border-radius: 16px; background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,0.28); box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 14px 40px -16px rgba(127,168,255,0.7); transition: transform .2s ease, border-color .2s; }
.appstore:hover { color: #fff; transform: translateY(-1px); border-color: rgba(255,255,255,0.5); }
.appstore svg { width: 28px; height: 28px; flex: none; }
.appstore small { display: block; font-size: 11.5px; line-height: 1.1; opacity: 0.85; font-weight: 500; }
.appstore strong { display: block; font-size: 21px; line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }

/* Typography */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.05); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0; font-weight: 700; }
h1 { font-size: clamp(40px, 6.2vw, 74px); letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4.2vw, 50px); }
h3 { font-size: 20px; letter-spacing: -0.01em; }
.grad { background: linear-gradient(100deg, #ffffff 10%, var(--blue) 45%, var(--mint) 75%, #ffd08a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-3); }

section { padding: 96px 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 16px 0 14px; }
.section-head p { color: var(--ink-2); font-size: 18px; margin: 0; }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { margin: 22px 0 22px; }
.hero .lead { margin: 0 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-3); font-size: 14.5px; list-style: none; padding: 0; }
.hero-note li { display: flex; align-items: center; gap: 7px; }
.hero-note svg { width: 16px; height: 16px; color: var(--mint); flex: none; }

/* Phone mockup */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone-stage::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(127,168,255,0.35), rgba(59,224,168,0.12) 45%, transparent 70%); filter: blur(30px); }
.phone {
  position: relative; width: min(330px, 78vw); aspect-ratio: 9 / 19.2; border-radius: 52px; padding: 11px;
  background: linear-gradient(145deg, #3a3d48, #121319 40%, #24262f);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 50px 100px -30px rgba(0,0,0,0.9), inset 0 0 0 2px rgba(255,255,255,0.06);
}
.screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: #000 url("/assets/intro-1.jpg") center / cover; }
.screen::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,7,11,0.55), rgba(6,7,11,0.25) 40%, rgba(6,7,11,0.85)); }
.island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 34%; height: 28px; border-radius: 20px; background: #000; z-index: 3; }
.rec { position: absolute; top: 56px; left: 18px; right: 18px; display: flex; justify-content: space-between; align-items: center; z-index: 2; font-size: 12px; font-weight: 600; color: #fff; }
.rec .pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.15); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.rec .live { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.prompter { position: absolute; left: 14px; right: 14px; top: 96px; z-index: 2; padding: 18px 16px 16px; border-radius: 22px; }
.prompter .words { font-size: 21px; line-height: 1.38; font-weight: 600; color: rgba(255,255,255,0.42); margin: 0; letter-spacing: -0.01em; }
.prompter .w { transition: color .25s ease, text-shadow .25s ease; }
.prompter .w.said { color: rgba(255,255,255,0.92); }
.prompter .w.now { color: #fff; text-shadow: 0 0 18px rgba(255,170,90,0.75); background: linear-gradient(90deg, rgba(255,196,77,0.28), rgba(255,122,61,0.28)); border-radius: 6px; box-shadow: 0 0 0 3px rgba(255,150,70,0.18); }
.prompter .phon { margin: 10px 0 0; font-size: 13px; color: var(--mint); font-weight: 500; letter-spacing: 0.01em; }
.prompter .phon b { color: rgba(59,224,168,0.6); font-weight: 500; }
.wave { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); display: flex; gap: 4px; align-items: center; height: 34px; z-index: 2; }
.wave i { width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--blue), var(--mint)); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(odd) { animation-duration: 0.9s; }
.wave i:nth-child(3n) { animation-delay: -0.3s; }
.wave i:nth-child(4n) { animation-delay: -0.6s; }
@keyframes wave { 0%, 100% { height: 6px; } 50% { height: 30px; } }
.shutter { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 60px; height: 60px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.9); display: grid; place-items: center; z-index: 2; }
.shutter::after { content: ""; width: 22px; height: 22px; border-radius: 6px; background: var(--red); box-shadow: 0 0 16px rgba(255,75,75,0.7); }
.float-chip { position: absolute; z-index: 4; padding: 10px 14px; border-radius: 16px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.float-chip svg { width: 18px; height: 18px; }
.float-chip.c1 { left: -6%; top: 47%; color: var(--mint); animation: bob 6s ease-in-out infinite; }
.float-chip.c2 { right: -6%; top: 64%; color: #ffc48a; animation: bob 7s ease-in-out infinite -2s; }
.float-chip.c3 { left: 2%; bottom: 10%; color: var(--blue); animation: bob 8s ease-in-out infinite -4s; }
.float-chip span { color: var(--ink); font-weight: 500; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Marquee of languages */
.langs { padding: 26px 0; border-block: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.015); overflow: hidden; }
.langs-track { display: flex; gap: 44px; width: max-content; animation: marquee 40s linear infinite; }
.langs-track span { font-size: 22px; font-weight: 600; color: rgba(255,255,255,0.32); white-space: nowrap; letter-spacing: -0.01em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Feature bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card { padding: 28px; overflow: hidden; }
.card h3 { margin: 18px 0 8px; }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.card.span-3 { grid-column: span 3; }
.card.span-2 { grid-column: span 2; }
.card.span-4 { grid-column: span 4; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04)); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255,255,255,0.2); }
.icon svg { width: 22px; height: 22px; }
.icon.blue { color: var(--blue); } .icon.mint { color: var(--mint); } .icon.warm { color: var(--warm); }
.card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, var(--tint, rgba(127,168,255,0.18)), transparent 70%); pointer-events: none; }
.card.t-mint { --tint: rgba(59,224,168,0.16); }
.card.t-warm { --tint: rgba(255,154,77,0.16); }
.demo-line { margin-top: 22px; padding: 16px 18px; border-radius: 16px; background: rgba(0,0,0,0.35); border: 1px solid var(--line); }
.demo-line .src { font-size: 20px; font-weight: 600; margin: 0; }
.demo-line .ph { font-size: 15px; color: var(--mint); margin: 4px 0 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.tags li { padding: 5px 11px; border-radius: 999px; font-size: 13px; color: var(--ink-2); background: rgba(255,255,255,0.06); border: 1px solid var(--line); }
.scores { display: grid; gap: 12px; margin-top: 22px; }
.score { display: grid; grid-template-columns: 84px 1fr 34px; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); }
.score .bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,0.08); overflow: hidden; }
.score .bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--blue), var(--mint)); width: var(--v); }
.score b { color: var(--ink); text-align: right; font-weight: 600; }
.card-img { margin: -28px -28px 0; height: 150px; background-size: cover; background-position: center; mask-image: linear-gradient(180deg, #000 40%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); opacity: 0.85; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; padding: 0; list-style: none; margin: 0; }
.step { padding: 30px 28px; }
.step .num { font-size: 15px; font-weight: 700; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, var(--blue), var(--mint)); color: #06070b; box-shadow: 0 0 24px rgba(127,168,255,0.45); }
.step h3 { margin: 20px 0 8px; }
.step p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* Privacy */
.privacy-panel { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; padding: 48px; align-items: center; overflow: hidden; }
.privacy-panel::before { content: ""; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(59,224,168,0.22), transparent 70%); pointer-events: none; }
.privacy-panel h2 { margin: 16px 0 16px; }
.privacy-panel p { color: var(--ink-2); margin: 0 0 18px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: rgba(0,0,0,0.28); border: 1px solid var(--line); }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--mint); margin-top: 2px; }
.checks strong { display: block; font-weight: 600; }
.checks span { color: var(--ink-3); font-size: 15px; }
.shield { width: 120px; height: 120px; margin-bottom: 8px; color: var(--mint); filter: drop-shadow(0 0 30px rgba(59,224,168,0.45)); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { padding: 32px 28px; display: flex; flex-direction: column; }
.plan h3 { font-size: 24px; }
.plan .tag { align-self: flex-start; margin-bottom: 18px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: rgba(255,255,255,0.07); border: 1px solid var(--line); color: var(--ink-2); }
.plan.best { border-color: rgba(127,168,255,0.55); background: linear-gradient(160deg, rgba(127,168,255,0.18), rgba(59,224,168,0.06) 60%, rgba(255,255,255,0.04)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 30px 80px -30px rgba(127,168,255,0.5); }
.plan.best .tag { background: linear-gradient(90deg, var(--blue), var(--mint)); color: #06070b; border-color: transparent; }
.plan p { color: var(--ink-2); margin: 10px 0 20px; font-size: 16px; }
.plan .price { font-size: 15px; color: var(--ink-3); margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.pro-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; list-style: none; padding: 0; margin: 40px 0 0; }
.pro-list li { display: flex; gap: 10px; color: var(--ink-2); font-size: 16px; }
.pro-list svg { width: 20px; height: 20px; color: var(--mint); flex: none; margin-top: 3px; }
.fine { font-size: 14px; color: var(--ink-3); margin-top: 28px; max-width: 900px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { border-radius: 18px; padding: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 17.5px; position: relative; border-radius: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 24px 22px; color: var(--ink-2); }
.faq .answer p { margin: 0 0 10px; }
.faq .answer p:last-child { margin: 0; }

/* CTA */
.cta { text-align: center; padding: 64px 32px; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: -40% -10% auto; height: 120%; background: radial-gradient(ellipse at 50% 0%, rgba(127,168,255,0.28), transparent 60%); pointer-events: none; }
.cta img { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 20px 50px -10px rgba(127,168,255,0.55), 0 0 0 1px rgba(255,255,255,0.15); }
.cta h2 { margin-bottom: 14px; }
.cta p { color: var(--ink-2); margin: 0 auto 28px; max-width: 34em; }

/* Footer */
.site-footer { padding: 56px 0 40px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.07); background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4)); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-grid p { color: var(--ink-3); font-size: 15px; margin: 14px 0 0; max-width: 30em; }
.foot-grid h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin: 6px 0 14px; font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid ul a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.foot-grid ul a:hover { color: var(--ink); text-decoration: underline; }
.copy { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--ink-3); font-size: 14px; }

/* Document pages (legal / support) */
.doc-hero { padding: 48px 0 28px; }
.doc-hero h1 { font-size: clamp(36px, 5vw, 58px); margin: 18px 0 14px; }
.doc-hero .lead { margin: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding: 0; list-style: none; }
.meta li { padding: 6px 13px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.doc-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; padding-bottom: 40px; }
.toc { position: sticky; top: 96px; padding: 20px 14px; border-radius: 20px; max-height: calc(100vh - 120px); overflow: auto; }
.toc h2 { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin: 0 10px 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc a { display: block; padding: 6px 10px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: 14.5px; line-height: 1.35; }
.toc a:hover { background: rgba(255,255,255,0.06); color: var(--ink); }
.toc a.active { background: rgba(127,168,255,0.14); color: var(--ink); }
.doc { padding: clamp(24px, 4vw, 48px); min-width: 0; }
.doc section { padding: 0; margin: 0 0 40px; }
.doc section:last-child { margin-bottom: 0; }
.doc h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 14px; padding-top: 6px; }
.doc h3 { font-size: 18px; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 14px; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--blue); }
.doc strong { color: var(--ink); font-weight: 600; }
.doc .callout { padding: 18px 20px; border-radius: 16px; background: rgba(59,224,168,0.07); border: 1px solid rgba(59,224,168,0.28); margin: 0 0 18px; }
.doc .callout.warn { background: rgba(255,154,77,0.08); border-color: rgba(255,154,77,0.32); }
.doc .callout p:last-child { margin: 0; }
.tablewrap { overflow-x: auto; margin: 0 0 16px; border-radius: 16px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th, td { text-align: left; padding: 12px 14px; vertical-align: top; border-bottom: 1px solid rgba(255,255,255,0.07); }
th { color: var(--ink); font-weight: 600; background: rgba(255,255,255,0.05); }
td { color: var(--ink-2); }
tr:last-child td { border-bottom: 0; }
.steps-list { counter-reset: s; list-style: none; padding: 0 !important; }
.steps-list li { counter-increment: s; position: relative; padding: 14px 16px 14px 58px; margin: 0 0 10px; border-radius: 14px; background: rgba(0,0,0,0.28); border: 1px solid var(--line); }
.steps-list li::before { content: counter(s); position: absolute; left: 16px; top: 13px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: linear-gradient(160deg, var(--blue), var(--mint)); color: #06070b; }
.kbd { display: inline-block; padding: 1px 8px; border-radius: 7px; background: rgba(255,255,255,0.08); border: 1px solid var(--line-2); font-size: 0.92em; color: var(--ink); white-space: nowrap; }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 28px; margin-top: 8px; }
.contact-card p { margin: 0; }
.contact-card strong { display: block; font-size: 19px; color: var(--ink); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 18px; }
.mini { padding: 20px 22px; border-radius: 18px; background: rgba(0,0,0,0.28); border: 1px solid var(--line); }
.mini h3 { margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.mini h3 svg { width: 20px; height: 20px; flex: none; }
.mini ul { margin: 0; }
.mini.del h3 svg { color: var(--red); }
.mini.keep h3 svg { color: var(--mint); }

/* 404 */
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .big { font-size: clamp(90px, 18vw, 180px); font-weight: 800; line-height: 1; letter-spacing: -0.05em; }
.notfound p { color: var(--ink-2); max-width: 30em; margin: 16px auto 28px; }
.notfound .hero-cta { justify-content: center; }

/* Reveal motion */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* No backdrop-filter fallback */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(20, 22, 32, 0.92); }
}

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-cta, .hero-note { justify-content: center; }
  .card.span-2, .card.span-4 { grid-column: span 3; }
  .privacy-panel { grid-template-columns: 1fr; padding: 36px 28px; }
  .doc-layout { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav { flex-wrap: wrap; border-radius: 26px; }
  .nav-links, .nav .lang, .nav .btn { display: none; }
  .nav.open .nav-links { display: flex; flex-direction: column; width: 100%; margin: 6px 0 0; order: 5; }
  .nav.open .lang { display: flex; order: 6; margin: 6px 0 6px 4px; }
  .nav.open .btn { display: inline-flex; order: 7; margin: 6px 0 6px auto; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .steps, .plans { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  section { padding: 72px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .bento { grid-template-columns: 1fr; }
  .card.span-2, .card.span-3, .card.span-4 { grid-column: auto; }
  .pro-list, .two-col { grid-template-columns: 1fr; }
  .float-chip.c1 { left: 0; } .float-chip.c2 { right: 0; } .float-chip.c3 { display: none; }
  .wrap { width: calc(100% - 28px); }
  .card { padding: 24px; }
  .card-img { margin: -24px -24px 0; }
}

/* Above-the-fold entrance (no JS dependency) */
.rise { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } }
