/* The site's shared look: / and /pricing/ (Oleg 13.10.2026: "beautiful, trendy, simple,
   pleasant"). One idea carries it: what you can press looks like a key - a raised cap whose
   bottom edge sinks when pressed; everything else stays flat, airy and quiet. One face for
   headings and text: Onest (OFL, fonts/OFL.txt), self-hosted - the site's CSP allows fonts only
   from 'self'. Page-only parts: home.css, pricing/pricing.css. */

/* Onest Variable 5.3.1 (@fontsource-variable/onest), one variable file per script; the
   unicode-range values are the package's own. latin-ext carries Polish/Turkish/Czech letters,
   cyrillic-ext the hryvnia sign (U+20B4), cyrillic the numero sign (U+2116). */
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-cyrillic-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  --paper: #f4f6fa;        /* the page: cool, like a keyboard tray */
  --paper-2: #eaeef5;      /* a quieter band */
  --cap: #ffffff;          /* a key's face, a card */
  --edge: #d3d9e4;         /* a key's side - the 3D edge under it */
  --line: #e2e6ee;
  --ink: #121826;
  --muted: #5a6376;
  --cobalt: #2a57c4;       /* action: links, the main key */
  --cobalt-edge: #1b3d8f;
  --cobalt-soft: #e7edfb;
  --on-cobalt: #ffffff;
  --rec: #e0383e;          /* recording only: the mic key, its wave */
  --rec-edge: #9e1f24;
  --ok: #18804f;           /* "available" */
  --night: #161c2a;        /* the subscription card: a different kind of thing */
  --on-night: #eef1f6;
  --night-muted: #a6b0c3;
  --glow-a: rgba(42, 87, 196, .16);
  --glow-b: rgba(124, 92, 255, .12);
  --glow-c: rgba(255, 168, 92, .10);
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 14px 34px -16px rgba(16, 24, 40, .16);
  --shadow-lg: 0 2px 4px rgba(16, 24, 40, .04), 0 34px 70px -30px rgba(20, 34, 80, .38);
  --display: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --gutter: 16px;
  --wrap: 1140px;
  --radius: 24px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0c1017;
    --paper-2: #111622;
    --cap: #171d29;
    --edge: #05070b;
    --line: #252d3c;
    --ink: #eef1f7;
    --muted: #9aa4b7;
    --cobalt: #82a4ff;
    --cobalt-edge: #3b5cc0;
    --cobalt-soft: #1a2440;
    --on-cobalt: #0b1226;
    --rec: #ff5e63;
    --rec-edge: #8f1d22;
    --ok: #4cc58c;
    --night: #e9edf5;
    --on-night: #121826;
    --night-muted: #4d576b;
    --glow-a: rgba(90, 130, 255, .20);
    --glow-b: rgba(140, 100, 255, .14);
    --glow-c: rgba(255, 150, 80, .06);
    --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 14px 34px -18px rgba(0, 0, 0, .7);
    --shadow-lg: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 34px 70px -30px rgba(0, 0, 0, .85);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cobalt); text-underline-offset: 3px; }
img, svg { display: block; }
[hidden] { display: none !important; } /* parts that set display must still hide */
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 30; background: var(--cap); padding: 8px 12px; border-radius: 8px; }
.skip:focus { top: 8px; }

h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; overflow-wrap: break-word; }
/* a phone and a long compound (de «Spracherkennungsdienst»): hyphenate rather than scroll the page */
@media (max-width: 420px) { h1, h2 { hyphens: auto; } }
h1 { font-weight: 750; font-size: clamp(2.3rem, 5.6vw, 3.7rem); line-height: 1.04; letter-spacing: -0.03em; hyphens: manual; }
h2 { font-weight: 700; font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.1; letter-spacing: -0.025em; }
h3 { font-weight: 600; font-size: 1.12rem; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 760px) { :root { --gutter: 28px; } }

/* ---- the key: the page's one device ---- */
.key {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 11px 22px;
  background: var(--cap); color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 4px 0 var(--edge);
  font: 600 1rem/1.2 var(--body); text-decoration: none; text-align: center;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease, background .2s;
}
.key:hover { background: color-mix(in srgb, var(--cap) 92%, var(--cobalt)); }
.key:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--edge); }
.key-primary { background: var(--cobalt); color: var(--on-cobalt); border-color: var(--cobalt); box-shadow: 0 4px 0 var(--cobalt-edge); }
.key-primary:hover { background: color-mix(in srgb, var(--cobalt) 90%, #fff); }
.key-primary:active { box-shadow: 0 1px 0 var(--cobalt-edge); }
.key-off { opacity: .6; box-shadow: none; border-style: dashed; cursor: default; background: transparent; }
.key-off:hover { background: transparent; }
.key small { display: block; font-weight: 500; font-size: .78rem; opacity: .8; }
.key .arrow { transition: transform .15s; }
.key:hover .arrow { transform: translateX(3px); }

/* a cap that holds an icon: benefits, steps, platforms */
.cap {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px;
  background: var(--cap); color: var(--cobalt);
  border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 4px 0 var(--edge);
}
.cap svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cap.rec { background: var(--rec); color: #fff; border-color: var(--rec); box-shadow: 0 4px 0 var(--rec-edge); }
.cap.blue { background: var(--cobalt); color: var(--on-cobalt); border-color: var(--cobalt); box-shadow: 0 4px 0 var(--cobalt-edge); }

/* ---- top bar ---- */
.top { position: relative; z-index: 20; }
.top-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-top: 14px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 650 .98rem var(--display); letter-spacing: -0.01em; margin-right: auto; }
.brand-key {
  display: grid; place-items: center; width: 36px; height: 36px;
  background: var(--cobalt); color: var(--on-cobalt); border-radius: 10px; box-shadow: 0 3px 0 var(--cobalt-edge);
  font: 700 1rem var(--display);
}
.nav { order: 3; flex: 1 0 100%; display: flex; gap: 2px; margin: 0 -8px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: none; color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 10px; font-size: .94rem; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--cap) 70%, transparent); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--cap); box-shadow: 0 1px 2px rgba(16, 24, 40, .06); }
/* "My account" stands beside the nav, not in it: on a phone the nav row scrolls sideways and the
   account went off screen, so there it sits in the top row as a small cap next to the language. */
.nav-account { flex: none; display: inline-flex; align-items: center; gap: 7px; color: var(--cobalt); text-decoration: none;
  padding: 8px 10px; border-radius: 10px; font-size: .94rem; font-weight: 600; white-space: nowrap; }
.nav-account:hover { background: color-mix(in srgb, var(--cap) 70%, transparent); }
@media (max-width: 899px) {
  .nav { mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); padding-right: 32px; }
  .nav-account { min-height: 34px; padding: 0 12px; margin-right: -6px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 11px; font-size: .78rem; }
  .nav-account::before {
    content: ""; width: 16px; height: 16px; flex: none; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 21c.6-4 3.7-6.5 7.5-6.5s6.9 2.5 7.5 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 21c.6-4 3.7-6.5 7.5-6.5s6.9 2.5 7.5 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}
@media (max-width: 559px) { /* narrow phones: the icon only; the words stay its accessible name.
   Not font-size: 0 - a browser with a minimum font size (Chrome on iPhone) kept the words and the cap
   grew onto the nav row, over «Own keys». */
  .nav-account { width: 36px; padding: 0; justify-content: center; gap: 0; }
  .nav-account span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
/* The language switch: a native <select> - keyboard, screen readers and the phone's own picker
   for free; ten languages, each named in itself (assets/lang.js). */
.langs { position: relative; display: inline-flex; align-items: center; border-radius: 11px; background: var(--paper-2); border: 1px solid var(--line); }
.langs:has(select:focus-visible) { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.langs svg { position: absolute; left: 9px; width: 15px; height: 15px; color: var(--muted); pointer-events: none; }
.langs select {
  appearance: none; -webkit-appearance: none; font: 600 .78rem/1 var(--body); color: var(--ink); background: transparent; border: 0;
  border-radius: 10px; padding: 9px 24px 9px 29px; cursor: pointer; max-width: 11.5em; text-overflow: ellipsis; outline: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 13px) 52%, calc(100% - 9px) 52%; background-size: 4px 4px; background-repeat: no-repeat;
}
.langs select option { color: #121826; background: #fff; }
@media (max-width: 420px) {
  .brand { font-size: .88rem; gap: 8px; }
  .brand-key { width: 32px; height: 32px; font-size: .9rem; }
  .langs select { max-width: 8.5em; padding-right: 20px; }
}
@media (min-width: 900px) {
  .top { position: sticky; top: 0; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
         background: color-mix(in srgb, var(--paper) 78%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
  .top-in { flex-wrap: nowrap; padding-top: 12px; padding-bottom: 12px; }
  .nav { order: 0; flex: 0 1 auto; margin: 0; }
  .nav-account { margin-left: -6px; }
}

/* ---- sections ---- */
.section { padding-top: 72px; padding-bottom: 8px; }
@media (min-width: 900px) { .section { padding-top: 112px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font: 600 .8rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section-lead { color: var(--muted); margin-top: 14px; max-width: 54ch; font-size: 1.04rem; }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; }
.more { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.more > [aria-hidden], .more .arrow { display: inline-block; transition: transform .15s; }
.more:hover > [aria-hidden], .more:hover .arrow { transform: translateX(3px); }

/* the soft light behind a hero */
.glow { position: relative; isolation: isolate; }
.glow::before {
  content: ""; position: absolute; z-index: -1; inset: -140px 0 -60px; pointer-events: none;
  background:
    radial-gradient(38% 46% at 78% 30%, var(--glow-a), transparent 70%),
    radial-gradient(30% 40% at 58% 62%, var(--glow-b), transparent 70%),
    radial-gradient(34% 36% at 12% 8%, var(--glow-c), transparent 70%);
}

/* ---- the download band: the same last word on every page ---- */
.cta { padding-top: 72px; }
@media (min-width: 900px) { .cta { padding-top: 112px; } }
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 40px 22px 26px; border-radius: 30px; color: #fff;
  background: linear-gradient(135deg, #1d3a93 0%, #2a57c4 52%, #5a4cd3 100%);
  box-shadow: var(--shadow-lg);
}
.cta-panel::before { /* two soft lights, so the colour is not a flat slab */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 70% at 92% 0%, rgba(255, 255, 255, .24), transparent 70%),
    radial-gradient(40% 60% at 0% 110%, rgba(255, 170, 110, .28), transparent 70%);
}
.cta-panel h2 { color: #fff; max-width: 18ch; }
.cta-panel .section-lead { color: rgba(255, 255, 255, .82); }
.get-keys { display: grid; gap: 14px; margin-top: 28px; grid-template-columns: 1fr; }
.get-keys .key { min-height: 66px; flex-direction: column; gap: 2px; }
.cta-panel .key { background: #fff; color: #1b2f73; border-color: #fff; box-shadow: 0 4px 0 rgba(10, 20, 60, .45); }
.cta-panel .key:hover { background: #f1f4ff; }
.cta-panel .key-off { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .45); box-shadow: none; opacity: .8; }
.cta-note { margin-top: 18px; font-size: .88rem; color: rgba(255, 255, 255, .85); }
.get-keys { grid-template-columns: 1fr 1fr; }
.get-keys .dl { grid-column: 1 / -1; } /* phones: the two downloads full width, the two "soon" side by side */
@media (min-width: 560px) { .get-keys .dl { grid-column: auto; } }
@media (min-width: 960px) {
  .cta-panel { padding: 64px 56px 48px; }
  .get-keys { grid-template-columns: 1.4fr 1.4fr 1fr 1fr; }
}

/* ---- footer ---- */
.foot { margin-top: 80px; border-top: 1px solid var(--line); background: var(--paper-2); }
.foot-in { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 40px; }
.foot-brand p { margin-top: 12px; color: var(--muted); max-width: 34ch; font-size: .95rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; align-content: start; }
.foot-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.foot-links a:hover { color: var(--cobalt); }
.foot-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.foot-legal a { color: inherit; }
@media (min-width: 760px) { .foot-in { grid-template-columns: minmax(240px, 1fr) auto; } .foot-links { justify-content: flex-end; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .key, .key .arrow { transition: none; }
}
