/* ViVoice public site.
 *
 * Every colour, radius and shadow comes from tokens.css, which is generated from
 * spec/design/tokens.json — the same file both apps read. Nothing here invents a
 * hex value, so the page and the product cannot drift apart.
 *
 * No build step, no framework, no JavaScript: the page is text and needs none of
 * them, and a static file is the only thing worth putting behind the edge for a
 * product that has not shipped.
 */

/* Fonts served from this container. Google Fonts would be one outbound request
 * per visitor for two faces we already have in the repository. */
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-cyrillic.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2192, U+2212, U+2215;
}
@font-face {
  font-family: 'Unbounded';
  src: url('fonts/unbounded-cyrillic.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  src: url('fonts/unbounded-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2192, U+2212, U+2215;
}

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

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

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { width: 100%; max-width: 1020px; margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -9999px;
  background: var(--surface-2); color: var(--ink);
  padding: 10px 14px; border-radius: var(--r-field); z-index: 10;
}
.skip:focus { left: 12px; top: 12px; }

a { color: var(--brand-strong); }
a:hover { color: var(--brand); }

/* ---- the status strip ---------------------------------------------------- */

.strip {
  background: var(--warn-soft);
  border-bottom: 1px solid var(--warn-line);
  color: var(--warn-ink);
  font: 500 13.5px/1.55 var(--font-body);
  padding: 11px 20px;
  text-align: center;
}
.strip b { font-weight: 800; }

/* ---- header -------------------------------------------------------------- */

.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 22px; min-height: 60px; flex-wrap: wrap; }
.logo {
  font: 800 19px var(--font-display);
  letter-spacing: -.01em;
  color: var(--ink);
}
.top nav { display: flex; gap: 18px; flex-wrap: wrap; }
.top nav a {
  font: 600 13.5px var(--font-body);
  color: var(--ink-2);
  text-decoration: none;
}
.top nav a:hover { color: var(--brand-strong); }

/* ---- hero ---------------------------------------------------------------- */

.hero { background: var(--bg); padding: 68px 0 60px; border-bottom: 1px solid var(--line); }
.hero h1 {
  margin: 0;
  font: 800 clamp(30px, 5.4vw, 52px)/1.14 var(--font-display);
  letter-spacing: -.022em;
  color: var(--ink);
}
.lead {
  margin: 22px 0 0;
  max-width: 62ch;
  font-size: clamp(16px, 2vw, 18.5px);
  color: var(--ink-2);
}
.ru {
  margin: 20px 0 0;
  max-width: 62ch;
  padding: 13px 16px;
  border-left: 3px solid var(--translate);
  background: var(--translate-soft);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  font-size: 15px;
  color: var(--translate-ink);
}
.ru b { color: var(--translate-ink); }

.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.fact {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface-2);
  font: 600 13px var(--font-body);
  color: var(--ink-2);
}
.fact b { color: var(--ink); font-weight: 800; }

/* ---- bands --------------------------------------------------------------- */

.band { padding: 62px 0; background: var(--bg-page); }
.band.alt { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band h2 {
  margin: 0 0 6px;
  font: 800 clamp(22px, 3.2vw, 30px)/1.2 var(--font-display);
  letter-spacing: -.015em;
}
.band-lead { margin: 0 0 26px; max-width: 66ch; color: var(--ink-2); font-size: 15px; }

/* ---- steps --------------------------------------------------------------- */

.steps {
  list-style: none; margin: 26px 0 0; padding: 0;
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  counter-reset: none;
}
.steps li {
  padding: 20px 20px 22px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
}
.num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-strong);
  font: 800 14px var(--font-display);
}
.steps h3, .card h3, .limits h3, .tier h3 {
  margin: 13px 0 7px;
  font: 700 16.5px var(--font-body);
  color: var(--ink);
}
.steps p, .card p, .limits p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* ---- cards (modes, apps) ------------------------------------------------- */

.cards {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  display: flex; flex-direction: column;
  padding: 18px 20px 20px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
}
.card.soon { background: var(--surface-sunk); box-shadow: none; }
.card.soon h3 { color: var(--ink-2); }

.tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--r-chip);
  background: var(--surface-sunk);
  border: 1px solid var(--line);
  font: 700 10.5px var(--font-body);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.tag.work {
  background: var(--brand-soft);
  border-color: var(--brand-line);
  color: var(--brand-strong);
}

/* A placeholder where a store badge will go. Deliberately not a link, and
 * deliberately not shaped like one — the app has not shipped. */
.stub {
  margin-top: 16px;
  align-self: flex-start;
  padding: 10px 15px;
  border: 1px dashed var(--line-3);
  border-radius: var(--r-field);
  background: transparent;
  font: 600 13px var(--font-body);
  color: var(--ink-3);
  cursor: default;
}

/* ---- tiers --------------------------------------------------------------- */

.tiers {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.tier {
  padding: 20px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
}
.tier.free { border-color: var(--translate); background: var(--translate-soft); }
.tier.free h3, .tier.free .tier-price { color: var(--translate-ink); }
.tier h3 { margin-top: 0; }
.tier-price { margin: 0 0 10px; font: 800 15px var(--font-display); color: var(--brand-strong); }
.tier-desc { margin: 0; color: var(--ink-2); font-size: 14px; }

.note { margin: 22px 0 0; max-width: 72ch; color: var(--ink-3); font-size: 13.5px; line-height: 1.65; }

/* ---- limits -------------------------------------------------------------- */

.limits { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.limits li {
  padding: 18px 20px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--warn);
  border-radius: 0 var(--r-card) var(--r-card) 0;
}
.limits h3 { margin-top: 0; }
.limits b { color: var(--ink); font-weight: 700; }

/* ---- footer -------------------------------------------------------------- */

.foot { background: var(--bg); border-top: 1px solid var(--line); padding: 30px 0; }
.foot-in { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.foot p { margin: 0; font-size: 13px; color: var(--ink-3); }

@media (max-width: 640px) {
  .hero { padding: 46px 0 42px; }
  .band { padding: 46px 0; }
  .top nav { gap: 13px; }
  .top nav a { font-size: 12.5px; }
}
