/* VoiceMind — лендинг. Цвета из app/src/main/res/values/colors.xml */
:root {
  --bg: #100F0C;
  --surface: #1C1A15;
  --surface-2: #221F19;
  --surface-3: #2A2620;
  --gold: #F0C040;
  --gold-dark: #C9A035;
  --gold-soft: #2C2510;
  --on-gold: #2A1F08;
  --text: #F5F1E6;
  --text-2: #A8A090;
  --muted: #635E52;
  --line: #3A3630;
  --radius: 18px;
  --max: 1080px;
  --serif: "Instrument Serif", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "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; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #FBE7A8; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--gold); color: var(--on-gold); padding: 8px 12px; }

/* ── Header ─────────────────────────────── */
.top { position: sticky; top: 0; z-index: 5; background: rgba(16, 15, 12, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 400 24px/1 var(--serif); }
.brand img { width: 32px; height: 32px; }
.brand em { color: var(--gold); }
.nav { display: flex; gap: 20px; font-size: 14px; }
.nav a { color: var(--text-2); text-decoration: none; }
.nav a:hover { color: var(--text); }
@media (max-width: 640px) { .nav a:not(.nav-cta) { display: none; } }
.nav-cta { color: var(--gold) !important; font-weight: 600; }

/* ── Typography ─────────────────────────── */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(42px, 9vw, 84px); }
h2 { font-size: clamp(34px, 6vw, 54px); margin-bottom: 16px; }
h3 { font-size: 26px; margin-bottom: 8px; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
p { margin: 0 0 12px; }
.lead { font-size: clamp(17px, 2.4vw, 20px); color: var(--text-2); max-width: 620px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }

/* ── Buttons ────────────────────────────── */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: #F6D167; color: var(--on-gold); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--gold-dark); color: var(--text); }
@media (max-width: 420px) { .btn { width: 100%; } }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ── Hero ───────────────────────────────── */
.hero { padding: 72px 0 64px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -20% auto auto; width: 620px; height: 620px; background: radial-gradient(closest-side, rgba(240, 192, 64, .16), transparent); pointer-events: none; }
.hero .wrap { position: relative; }
.hero .lead { margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.chips li { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--gold-soft); color: #FBE7A8; }

/* ── Sections ───────────────────────────── */
section { padding: 64px 0; border-top: 1px solid var(--line); }
@media (min-width: 720px) { section { padding: 88px 0; } }
.section-lead { color: var(--text-2); max-width: 640px; margin-bottom: 36px; }

.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--text-2); margin: 0; font-size: 15px; }
.card .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; margin-bottom: 16px; }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-family: var(--sans); font-size: 18px; font-weight: 600; line-height: 1.3; }

/* ── Steps ──────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 14px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(s); display: block; font: 400 44px/1 var(--serif); color: var(--gold); margin-bottom: 12px; }
.steps h3 { font-family: var(--sans); font-size: 18px; font-weight: 600; }
.steps p { color: var(--text-2); font-size: 15px; margin: 0; }

/* ── Models table ───────────────────────── */
.table-scroll { overflow-x: auto; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--text-2); font-weight: 500; background: var(--surface); }
tr:last-child td { border-bottom: 0; }
td:last-child, th:last-child { white-space: nowrap; }

/* ── Privacy ────────────────────────────── */
.privacy { display: grid; gap: 32px; align-items: start; }
@media (min-width: 860px) { .privacy { grid-template-columns: 1fr 1fr; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.checks li strong { color: var(--text); font-weight: 600; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 2px; }

/* ── Download ───────────────────────────── */
.cta { background: linear-gradient(160deg, var(--surface-3), var(--surface)); border: 1px solid var(--line); border-radius: 28px; padding: 40px 24px; text-align: center; }
@media (min-width: 720px) { .cta { padding: 64px 48px; } }
.cta .lead { margin: 0 auto; }
.cta .btns { justify-content: center; }
.reqs { list-style: none; padding: 0; margin: 28px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 14px; color: var(--text-2); }

/* ── Footer ─────────────────────────────── */
footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: var(--text-2); }

/* ── 404 ────────────────────────────────── */
.nf { min-height: calc(100vh - 61px); display: grid; place-items: center; text-align: center; padding: 48px 0; }
.nf h1 { font-size: clamp(88px, 22vw, 160px); color: var(--gold); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
