/* RustamSpeech landing page (2026-11-07): the same tokens as the studio (es.css), dark by default. */
:root {
  --font: "Onest Variable", Onest, system-ui, -apple-system, "Segoe UI", sans-serif;
  --bg: #fbfaf8; --bg-2: #f4f1ec; --card: #ffffff; --ink: #18171a; --ink-2: #4f4a46; --muted: #8b847e;
  --line: #ece8e3; --line-2: #e2ddd6; --tint: rgba(96, 24, 0, .035); --tint-2: rgba(96, 32, 0, .065);
  --primary: #18171a; --primary-ink: #ffffff; --accent: #e2643b; --accent-soft: rgba(226, 100, 59, .12);
  --green: #2f8a5b; --green-soft: rgba(47, 138, 91, .1);
  --shadow: 0 1px 2px rgba(40, 20, 0, .04), 0 12px 40px rgba(40, 20, 0, .07);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #161514; --bg-2: #1b1a18; --card: #1f1e1c; --ink: #f4f1ec; --ink-2: #cdc6bd; --muted: #8f877e;
  --line: #2c2a27; --line-2: #35322e; --tint: rgba(255, 236, 214, .035); --tint-2: rgba(255, 236, 214, .065);
  --primary: #f4f1ec; --primary-ink: #18171a; --accent: #ff8458; --accent-soft: rgba(255, 132, 88, .14);
  --green: #57c08a; --green-soft: rgba(87, 192, 138, .12);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 48px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
[data-theme="light"] .only-dark, [data-theme="dark"] .only-light { display: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap.narrow { max-width: 760px; }
section { padding-block: 88px; }
section.band { background: var(--bg-2); border-block: 1px solid var(--line); }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -.02em; }
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.06; font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; font-weight: 680; }
h3 { font-size: 18px; line-height: 1.3; font-weight: 620; }
p { margin: 0; }
.muted { color: var(--muted); }
.mail { user-select: all; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; border: 1px solid transparent; font: 600 14px var(--font); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn.lg { height: 50px; padding: 0 22px; font-size: 16px; border-radius: 14px; }
.btn.primary { background: var(--primary); color: var(--primary-ink); }
.btn.primary:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--tint-2); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { background: var(--tint-2); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.top-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; text-decoration: none; }
.brand img { border-radius: 8px; }
.top-nav { display: flex; gap: 22px; margin-left: 8px; }
.top-nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; }
.top-nav a:hover { color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* hero */
.hero { padding-block: 72px 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.lead { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 58ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fine { margin-top: 14px; font-size: 13px; color: var(--muted); }
.demo { margin: 0; padding: 20px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.demo-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.demo-head b { display: block; font-size: 15px; }
.demo-head small { color: var(--muted); font-size: 12px; }
.orb { width: 38px; height: 38px; border-radius: 50%; flex: none; background: radial-gradient(circle at 30% 30%, #ffd2bd, #e2643b 55%, #7a2c16); }
.pill { margin-left: auto; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.pill.ok { color: var(--green); background: var(--green-soft); }
.demo-frags { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.demo-frags li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px 8px; border-radius: 12px; }
.demo-frags li:hover { background: var(--tint); }
.demo-frags .n { font-size: 12px; font-weight: 600; color: var(--muted); padding-top: 4px; text-align: right; }
.demo-frags p { font-size: 16px; line-height: 1.7; }
.demo-frags mark { background: var(--accent-soft); color: var(--accent); border-radius: 4px; padding: 0 2px; font-weight: 600; }
.chk { color: var(--green); font-weight: 700; padding-top: 2px; }
.demo figcaption { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* sections */
.sec-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 720px; }
.sec-head p { color: var(--ink-2); font-size: 17px; }

/* voices */
.voices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.voice { display: grid; gap: 12px; padding: 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.voice-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.voice-top div { min-width: 0; }
.voice-top b { display: block; font-size: 15px; }
.voice-top small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.play-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font: inherit; }
.play-row:hover { background: var(--tint); }
.play-ic { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--primary); position: relative; }
.play-ic::after { content: ""; position: absolute; left: 11px; top: 9px; border-left: 10px solid var(--primary-ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.playing .play-ic::after { left: 10px; top: 10px; width: 3px; height: 10px; border: 0; background: var(--primary-ink); box-shadow: 6px 0 0 var(--primary-ink); }
.wave { flex: 1; min-width: 0; height: 28px; display: flex; align-items: center; gap: 2px; }
.wave i { flex: 1; min-width: 1px; border-radius: 2px; background: var(--muted); opacity: .55; transition: background .1s, opacity .1s; }
.wave i.on { background: var(--accent); opacity: 1; }
.dur { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.multi { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.multi-copy { display: grid; gap: 8px; }
.multi-copy p { color: var(--ink-2); }
.multi-player { display: grid; gap: 12px; min-width: 0; }
.lang-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lang-chips button { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); font: 500 13px var(--font); cursor: pointer; }
.lang-chips button[aria-checked="true"] { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }

/* checks and features */
.checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.checks article, .features article { padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.checks .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.checks p, .features p { color: var(--ink-2); font-size: 15px; }
.note { margin-top: 20px; padding: 16px 18px; border-radius: 14px; border: 1px dashed var(--line-2); color: var(--ink-2); font-size: 15px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 6px; padding: 22px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(s, decimal-leading-zero); font-size: 13px; font-weight: 700; color: var(--accent); }
.steps b { font-size: 18px; }
.steps span { color: var(--ink-2); font-size: 15px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { display: grid; gap: 14px; align-content: start; padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); position: relative; }
.plan.popular { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan .tag { position: absolute; top: -11px; left: 20px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff; }
.plan h3 { font-size: 20px; }
.plan .for { color: var(--muted); font-size: 13px; margin-top: 2px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.price s { color: var(--muted); font-size: 16px; }
.price span { color: var(--muted); font-size: 14px; }
.plan .vol { font-size: 14px; color: var(--ink-2); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.plan li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; }
.plan li::before { content: "✓"; color: var(--green); font-weight: 700; }
.plan li.no { color: var(--muted); }
.plan li.no::before { content: "—"; color: var(--muted); }
.plan .btn { margin-top: 4px; width: 100%; }
.license { margin-top: 24px; padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 8px; }
.license p { color: var(--ink-2); }

/* faq */
details { border-bottom: 1px solid var(--line); padding-block: 18px; }
summary { cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin-top: 10px; color: var(--ink-2); }

/* final and footer */
.final { padding-block: 72px 96px; }
.final-box { text-align: center; display: grid; justify-items: center; gap: 14px; }
.final-box p { color: var(--ink-2); font-size: 17px; margin-bottom: 8px; }
.cta-row.center { justify-content: center; margin-top: 0; }
.foot { border-top: 1px solid var(--line); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (max-width: 980px) {
  .top-nav { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .voices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checks, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .multi { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  section { padding-block: 64px; }
  .hero { padding-block: 40px 64px; }
  .hide-sm { display: none; }
  .voices, .plans, .checks, .features, .steps { grid-template-columns: minmax(0, 1fr); }
  .cta-row .btn { width: 100%; }
  .lead { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* general studio (2026-11-07): products, uses, language tabs, language badges */
.voice-langs { margin-bottom: 18px; }
.demo-frags .lang { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 3px 0; text-align: center; margin-top: 4px; }
.demo-frags li { grid-template-columns: 30px minmax(0, 1fr) auto; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.products article { padding: 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.products .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 18px; }
.products p { color: var(--ink-2); font-size: 15px; }
.uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.uses li { display: grid; gap: 4px; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.uses b { font-size: 17px; }
.uses span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 980px) { .products { grid-template-columns: minmax(0, 1fr); } .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .uses { grid-template-columns: minmax(0, 1fr); } }

/* the generator on the landing page (2026-11-07): 500 characters without sign-up */
.try { padding-block: 0 88px; }
.try-card { display: grid; gap: 18px; padding: 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.try-head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-start; justify-content: space-between; }
.try-head h2 { font-size: clamp(24px, 3vw, 32px); }
.try-head p { color: var(--ink-2); margin-top: 6px; }
.try-left { font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; max-width: 100%; overflow-wrap: anywhere; }
.try-controls { display: grid; gap: 16px; }
.try-lang, .try-pick { display: grid; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); min-width: 0; }
.try-lang { max-width: 280px; }
.try-lang .dd-btn { background: var(--bg); }
.try-voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tv { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 12px 12px 14px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.tv:hover { border-color: var(--muted); }
.tv input { position: absolute; opacity: 0; pointer-events: none; }
.tv:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--tint-2); border-color: var(--ink-2); }
.tv:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
.tv .orb { width: 40px; height: 40px; }
.tv-who { flex: 1; min-width: 0; display: grid; gap: 1px; }
.tv-who b { font-size: 15px; font-weight: 620; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-who small { font-size: 12px; font-weight: 400; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-who small em { font-style: normal; color: var(--accent); }
.tv-play { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 0; padding: 0; background: var(--tint-2); cursor: pointer; transition: background .15s; }
.tv-play:hover { background: var(--line-2); }
.tv-play .play-ic { width: 34px; height: 34px; background: transparent; }
.tv-play .play-ic::after { left: 13px; top: 11px; border-left-color: var(--ink); }
.tv-play.playing { background: var(--primary); }
.tv-play.playing .play-ic::after { left: 12px; top: 12px; background: var(--primary-ink); box-shadow: 6px 0 0 var(--primary-ink); }
.try-field { position: relative; }
.try-field textarea { width: 100%; min-height: 140px; padding: 14px 16px 30px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); resize: vertical; }
.try-field textarea:focus, .try-controls select:focus { outline: 0; border-color: var(--ink-2); }
.try-count { position: absolute; right: 14px; bottom: 10px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.try-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.try-actions .btn:disabled { opacity: .55; cursor: default; transform: none; }
.try-status { color: var(--ink-2); font-size: 14px; }
.try-status.warn { color: var(--accent); }
.try audio { width: 100%; }
.try-signup { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 18px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.try-signup p { color: var(--ink-2); font-size: 15px; flex: 1; min-width: 240px; }
.try-signup.hot { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
@media (max-width: 860px) { .try-voices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .try-card { padding: 20px; } .try-lang { max-width: none; } .try-voices { gap: 8px; } .tv { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: 'orb . play' 'who who who'; gap: 8px; padding: 10px; border-radius: 14px; } .tv .orb { grid-area: orb; width: 30px; height: 30px; } .tv-play { grid-area: play; } .tv-who { grid-area: who; } .tv-who b { font-size: 14px; } .tv-who small { font-size: 12px; } .tv-play, .tv-play .play-ic { width: 30px; height: 30px; } .tv-play .play-ic::after { left: 11px; top: 9px; } .tv-play.playing .play-ic::after { left: 10px; top: 10px; } .try-actions .btn { width: 100%; } }

/* interface language picker in the header (2026-11-08) */
#siteLangBox { flex: none; }
#siteLangBox .dd-btn { height: 40px; width: auto; padding: 0 10px; background: transparent; border-color: var(--line-2); font-size: 14px; }
@media (max-width: 720px) { #siteLangBox .dd-btn .dd-text { display: none; } #siteLangBox .dd-btn { gap: 6px; } }
/* phones: logo, language, theme and «sign in» must share 343px in every language */
@media (max-width: 480px) {
  .top-actions { gap: 6px; }
  #siteLangBox .dd-btn { padding: 0 8px; }
  #siteLangBox .dd-btn svg { display: none; }
  .top-actions .btn.ghost { padding: 0 12px; }
  .brand { font-size: 17px; gap: 8px; min-width: 0; }
}
@media (max-width: 400px) { #themeBtn { display: none; } .top-row { gap: 12px; } }

/* site pages and the menu (2026-11-09) */
.top-nav a[aria-current="page"] { color: var(--ink); }
.menu { position: relative; display: none; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; display: grid; min-width: 220px; padding: 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.menu nav a { padding: 10px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: 15px; }
.menu nav a:hover { background: var(--tint-2); }
@media (max-width: 980px) { .menu { display: block; } }
.page-hero { padding-block: 64px 24px; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 46px); }
.page-hero .lead { max-width: none; }
.doc { padding-block: 28px; }
.doc h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 14px; }
.doc p, .doc li { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.doc p + p { margin-top: 10px; }
.doc a { color: var(--accent); }
.doc .features { margin-top: 6px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.doc-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.doc-toc a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); text-decoration: none; font-size: 14px; }
.doc-toc a:hover { color: var(--ink); border-color: var(--muted); }
.steps, .bullets { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.steps b, .bullets b { color: var(--ink); }
.doc .note { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: 15px; }
.doc code, .doc-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; background: var(--tint-2); border-radius: 6px; padding: 1px 6px; color: var(--ink); }
.doc-code { display: block; white-space: pre-wrap; overflow-wrap: anywhere; padding: 14px 16px; margin: 12px 0; line-height: 1.6; }
.contact-cards { display: grid; gap: 14px; }
.contact-cards article { padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 10px; }
.contact-value { font-size: 20px; font-weight: 600; color: var(--ink) !important; user-select: all; overflow-wrap: anywhere; }
.doc .cta-row { margin-top: 16px; }
@media (max-width: 600px) { .doc .features { grid-template-columns: minmax(0, 1fr); } .page-hero { padding-block: 40px 12px; } }
.top-nav a { white-space: nowrap; }
@media (max-width: 1320px) { .top-nav { display: none; } .menu { display: block; } #siteLangBox .dd-btn .dd-text { display: none; } }
.menu > summary::after { content: none !important; }
.top-nav { margin-left: 20px; }
.brand { flex: none; white-space: nowrap; }
.top-nav { gap: 18px; min-width: 0; }
.top .wrap { max-width: 1280px; }
/* a language whose menu words do not fit folds the menu into the button (site.js / landing.js) */
.nav-folded .top-nav { display: none; }
.nav-folded .menu { display: block; }
/* phones: «Войти» lives in the menu, the header keeps logo, language, theme and menu (2026-11-09) */
.menu nav .menu-login { display: none; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 12px; font-weight: 600; }
@media (max-width: 480px) { .top-actions > a.btn.ghost { display: none; } .menu nav .menu-login { display: block; } }
