@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./assets/inter-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./assets/inter-latin-wght-normal.woff2") format("woff2-variations");
  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: dark;
  --ink-deep: #03111a;
  --ink: #061827;
  --ink-raised: #0a2134;
  --ink-panel: #0d2a3a;
  --line: #214052;
  --line-quiet: #163346;
  --text: #f7fbf9;
  --text-muted: #aac0c7;
  --text-dim: #75949e;
  --blue: #8fd0ff;
  --mint: #49d18d;
  --mint-light: #9df2c5;
  --mint-rgb: 73 209 141;
  --green-rgb: 157 242 197;
  --shell: min(1180px, calc(100% - 64px));
  background: var(--ink-deep);
  color: var(--text);
  font-family: "Inter Variable", Inter, Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--ink-deep); color: var(--text); font-size: 16px; line-height: 1.55; caret-color: var(--mint-light); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }

::selection { background: var(--mint-light); color: var(--ink-deep); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-deep); }
::-webkit-scrollbar-thumb { border: 3px solid var(--ink-deep); border-radius: 12px; background: var(--line); }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }
:focus-visible { outline: 2px solid var(--mint-light); outline-offset: 4px; }

.shell { width: var(--shell); margin-inline: auto; }
section { scroll-margin-top: 84px; }
.skip-link { position: fixed; z-index: 40; top: 12px; left: 12px; padding: 9px 13px; transform: translateY(-180%); border-radius: 12px; background: var(--mint-light); color: var(--ink-deep); font-weight: 720; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid transparent; background: rgb(3 17 26 / 96%); transition: border-color 180ms ease; }
.site-header.is-scrolled { border-color: var(--line); }
.header-inner { position: relative; display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 30px; }
.wordmark { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; font-size: 17px; font-weight: 720; letter-spacing: -0.025em; }
.wordmark img { width: 29px; height: 29px; }
.site-nav { display: flex; align-items: center; gap: 26px; color: var(--text-muted); font-size: 14px; font-weight: 570; }
.site-nav > a:not(.nav-download) { transition: color 160ms ease; }
.site-nav > a:not(.nav-download):hover { color: var(--text); }
.nav-download { min-height: 36px; padding: 7px 14px; border: 1px solid rgb(var(--mint-rgb) / 78%); border-radius: 12px; color: var(--mint-light); transition: border-color 160ms ease, background 160ms ease, color 160ms ease; }
.nav-download:hover { border-color: var(--mint-light); background: rgb(var(--mint-rgb) / 12%); }
.nav-download[aria-disabled="true"] { pointer-events: none; opacity: .52; }
.menu-toggle, .menu-backdrop { display: none; }

h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 670px; margin: 0 0 26px; font-size: clamp(51px, 5.45vw, 78px); font-weight: 740; letter-spacing: -0.04em; line-height: .98; text-wrap: balance; }
h1 span { color: var(--mint-light); }
h2 { margin-bottom: 0; font-size: clamp(35px, 4vw, 58px); font-weight: 720; letter-spacing: -0.04em; line-height: 1.04; text-wrap: balance; }
h3 { margin-bottom: 8px; font-size: 21px; letter-spacing: -0.026em; }

.hero { position: relative; padding: clamp(68px, 10vw, 136px) 0 clamp(78px, 11vw, 148px); overflow: clip; border-bottom: 1px solid var(--line-quiet); background: var(--ink-deep); }
.hero-grid { display: grid; grid-template-columns: minmax(300px, .91fr) minmax(450px, 1.09fr); align-items: center; gap: clamp(48px, 8vw, 110px); }
.hero-copy { position: relative; z-index: 2; }
.hero-lead { max-width: 520px; margin-bottom: 31px; color: var(--text-muted); font-size: clamp(17px, 1.65vw, 20px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 12px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 710; line-height: 1.4; text-align: center; cursor: pointer; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--mint); color: var(--ink-deep); box-shadow: 0 12px 28px rgb(0 0 0 / 24%); }
.button-primary:hover { background: var(--mint-light); box-shadow: 0 17px 32px rgb(0 0 0 / 31%); }
.button.is-loading { pointer-events: none; opacity: .66; }
.button.is-unavailable { cursor: not-allowed; opacity: .48; }
.release-status { min-height: 24px; margin: 13px 0 0; color: var(--text-dim); font-size: 13px; }
.release-retry { min-height: 44px; padding: 4px 0; border: 0; background: none; color: var(--mint-light); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.trial-note { margin: 10px 0 0; color: var(--text-muted); font-size: 13px; }
.trial-note a, .license-note a, .download-requirements a, .download-fallback a { text-decoration: underline; text-underline-offset: 3px; }
.button-secondary { color: var(--text); border-color: var(--text-dim); background: var(--ink); }
.button:disabled, .release-retry:disabled { opacity: .55; cursor: wait; }

.hero-signal { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; min-width: 0; height: 410px; }
.hero-signal::before, .hero-signal::after { position: absolute; z-index: -1; border-radius: 50%; content: ""; filter: blur(48px); pointer-events: none; }
.hero-signal::before { top: 20%; left: 18%; width: 56%; height: 58%; background: rgb(var(--mint-rgb) / 10%); }
.hero-signal::after { right: 6%; bottom: 14%; width: 32%; height: 35%; background: rgb(var(--green-rgb) / 10%); }
.signal-stage { min-height: 0; }
#hero-equalizer { width: 100%; height: 100%; }
.transcription-demo { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: baseline; gap: 18px; min-height: 58px; padding-top: 16px; border-top: 1px solid rgb(94 131 149 / 28%); transition: opacity 180ms ease, transform 180ms ease; }
.transcription-demo.is-switching { opacity: 0; transform: translateY(5px); }
.demo-language { display: inline-flex; align-items: center; gap: 7px; color: var(--mint); font-size: 12px; font-weight: 720; letter-spacing: .12em; }
.demo-language i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgb(var(--mint-rgb) / 36%); animation: demo-pulse 1.5s ease-out infinite; }
.transcription-demo p { min-height: 1.35em; margin: 0; color: var(--text); font-size: clamp(20px, 2vw, 28px); font-weight: 520; letter-spacing: -0.015em; line-height: 1.35; }
.demo-caret { display: inline-block; width: 2px; height: .85em; margin-left: 5px; border-radius: 1px; background: var(--mint); vertical-align: -.06em; animation: demo-caret 820ms steps(1, end) infinite; }

.moments-section { padding: clamp(88px, 11vw, 156px) 0; background: var(--ink); }
.section-intro { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(265px, .62fr); align-items: end; gap: 50px; }
.section-intro > p { max-width: 390px; margin: 0 0 5px; color: var(--text-muted); font-size: 17px; }
.moments-list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(52px, 7vw, 86px); border-top: 1px solid var(--line); }
.moments-list article { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 19px; min-height: 186px; padding: 28px 28px 24px 0; }
.moments-list article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.moments-list article > img { width: 30px; height: 30px; filter: invert(85%) sepia(30%) saturate(536%) hue-rotate(96deg) brightness(97%) contrast(92%); }
.scenario-icon { width: 32px; height: 32px; color: var(--mint-light); }
.moments-list p { max-width: 270px; margin: 0; color: var(--text-muted); font-size: 14px; }

.app-section { padding: clamp(92px, 12vw, 176px) 0; background: var(--ink-deep); }
.app-heading { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(280px, .58fr); align-items: end; gap: 62px; margin-bottom: clamp(48px, 7vw, 84px); }
.app-heading > p { max-width: 390px; margin: 0 0 5px; color: var(--text-muted); font-size: 17px; }
.app-screen { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #061927; box-shadow: 0 28px 76px rgb(0 0 0 / 34%); }
.app-screen img { width: 100%; height: auto; }
.app-screen-recording { max-width: 1090px; margin-inline: auto; }
.screen-preview { position: relative; display: block; }
.screen-enlarge { position: absolute; right: 16px; bottom: 16px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--ink); color: var(--mint-light); font-size: 13px; }
.screen-note { max-width: 1090px; margin-top: 14px; margin-bottom: 0; color: var(--text-dim); font-size: 12px; }
.screen-dialog { width: min(1540px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--ink); color: var(--text); }
.screen-dialog::backdrop { background: rgb(0 0 0 / 80%); }
.screen-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; }
.screen-dialog-heading h2 { font-size: 20px; letter-spacing: -.02em; }
.screen-dialog-heading .button { flex: 0 0 auto; width: auto; }
.screen-dialog-image { max-height: calc(100dvh - 150px); overflow: auto; }
.screen-dialog-image img { width: 100%; min-width: 850px; }

.result-section { padding: clamp(88px, 11vw, 156px) 0; background: var(--ink-raised); }
.result-grid { display: grid; grid-template-columns: minmax(270px, .7fr) minmax(470px, 1.3fr); align-items: center; gap: clamp(50px, 8vw, 114px); }
.result-copy h2 { max-width: 480px; font-size: clamp(32px, 3.45vw, 48px); }
.result-copy p { max-width: 425px; margin: 26px 0 0; color: var(--text-muted); font-size: 17px; }
.result-screen { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); transform-origin: center right; }
.transcript-proof { padding: clamp(24px, 4vw, 48px); border-left: 2px solid var(--mint); background: var(--ink); }
.proof-label, .proof-note { color: var(--text-dim); font-size: 12px; }
.transcript-proof h3 { margin-bottom: 24px; }
.transcript-proof blockquote { margin: 0; color: var(--text); font-size: 17px; line-height: 1.75; }
.transcript-proof mark { padding-block: 2px; background: rgb(var(--mint-rgb) / 16%); color: var(--mint-light); }
.proof-note { margin: 24px 0 0; }

.about-section { padding: clamp(78px, 10vw, 132px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); }
.about-grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(300px, .76fr); gap: clamp(54px, 10vw, 160px); }
.about-grid > div > p { max-width: 485px; margin: 0 0 24px; color: var(--text-muted); font-size: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--mint-light); font-size: 14px; font-weight: 690; }
.text-link::after { width: 7px; height: 7px; border-top: 1.5px solid currentcolor; border-right: 1.5px solid currentcolor; content: ""; transform: rotate(45deg); transition: transform 150ms ease; }
.text-link:hover::after { transform: translateX(4px) rotate(45deg); }

.closing-section { padding: clamp(90px, 12vw, 166px) 0; background: var(--ink-deep); }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr); align-items: start; gap: 80px; }
.closing-grid h2 { max-width: 720px; }
.closing-grid > div:not(.closing-action) > p { margin: 22px 0 0; color: var(--text-muted); font-size: 18px; }
.closing-action { display: grid; justify-items: start; gap: 18px; padding-left: 32px; border-left: 1px solid var(--line); }
.closing-action .button { min-width: 192px; }
.license-label { margin: 0; color: var(--text-muted); font-size: 14px; }
.license-tariffs { width: 100%; display: grid; gap: 0; margin: 0; }
.license-tariffs > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-block: 12px; border-bottom: 1px solid var(--line-quiet); }
.license-tariffs dt { color: var(--text-muted); font-size: 16px; }
.license-tariffs dd { margin: 0; color: var(--text); white-space: nowrap; font-size: 26px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.license-note { max-width: 330px; margin: 0; color: var(--text-muted); font-size: 13px; }
.download-requirements { max-width: 520px; margin-top: 28px; color: var(--text-muted); font-size: 14px; }
.download-requirements summary { min-height: 44px; padding-block: 10px; cursor: pointer; color: var(--mint-light); }
.download-requirements p { margin: 12px 0 0; }

.site-footer { padding: 36px 0 42px; border-top: 1px solid var(--line); background: var(--ink-deep); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; color: var(--text-muted); font-size: 13px; }
.footer-links a { transition: color 160ms ease; }
.footer-links a:hover { color: var(--text); }
.footer-inner > p { margin: 0; color: var(--text-dim); font-size: 12px; text-align: right; }

@keyframes demo-pulse { 0% { box-shadow: 0 0 0 0 rgb(var(--mint-rgb) / 36%); } 72%, 100% { box-shadow: 0 0 0 8px rgb(var(--mint-rgb) / 0%); } }
@keyframes demo-caret { 50% { opacity: 0; } }

@media (max-width: 980px) {
  :root { --shell: min(100% - 48px, 760px); }
  .hero-grid, .result-grid, .about-grid, .closing-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 54px; }
  .hero-copy { max-width: 650px; }
  .hero-signal { width: min(100%, 720px); margin-inline: auto; }
  .section-intro, .app-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-intro > p, .app-heading > p { max-width: 520px; margin-bottom: 0; }
  .result-grid, .about-grid, .closing-grid { gap: 52px; }
  .result-copy p { max-width: 600px; }
  .result-screen { transform: none; }
  .closing-action { padding: 0; border: 0; }
  .footer-inner { grid-template-columns: 1fr; justify-items: start; gap: 18px; }
  .footer-links { justify-content: start; }
  .footer-inner > p { text-align: left; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 40px); }
  .header-inner { min-height: 64px; }
  .site-nav { position: fixed; z-index: 22; top: 64px; right: 0; width: min(320px, 86vw); min-height: calc(100dvh - 64px); flex-direction: column; align-items: stretch; gap: 0; padding: 28px 25px; border-left: 1px solid var(--line); background: var(--ink); opacity: 0; pointer-events: none; visibility: hidden; transition: opacity 180ms ease, visibility 180ms ease; }
  .site-nav a { padding: 15px 0; border-bottom: 1px solid var(--line-quiet); font-size: 16px; }
  .site-nav .nav-download { min-height: 48px; margin-top: 18px; padding-inline: 15px; border-color: var(--mint); text-align: center; }
  .menu-toggle { position: relative; z-index: 23; display: grid; width: 40px; height: 40px; place-content: center; gap: 5px; padding: 0; border: 0; background: transparent; color: var(--text); cursor: pointer; }
  .menu-toggle span { display: block; width: 21px; height: 1.5px; background: currentcolor; transition: transform 180ms ease, opacity 180ms ease; }
  .menu-backdrop { display: block; position: fixed; z-index: 21; inset: 64px 0 0; width: 100%; border: 0; background: rgb(0 0 0 / 42%); opacity: 0; pointer-events: none; visibility: hidden; transition: opacity 200ms ease; }
  .is-menu-open .site-nav { opacity: 1; pointer-events: auto; visibility: visible; }
  .is-menu-open .menu-backdrop { opacity: 1; pointer-events: auto; visibility: visible; }
  .is-menu-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .is-menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .is-menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  h1 { font-size: clamp(42px, 13vw, 57px); }
  h2 { font-size: clamp(31px, 9.5vw, 43px); }
  .hero { padding-top: 59px; }
  .hero-lead { font-size: 17px; }
  .hero-signal { height: 330px; }
  .transcription-demo { grid-template-columns: 42px minmax(0, 1fr); gap: 13px; }
  .transcription-demo p { font-size: 20px; }
  .moments-list { grid-template-columns: 1fr; margin-top: 44px; }
  .moments-list article, .moments-list article + article { min-height: 0; padding: 23px 0 26px; border-left: 0; border-bottom: 1px solid var(--line); }
  .moments-list article:last-child { border-bottom: 0; }
  .app-heading { margin-bottom: 45px; }
  .app-screen { border-radius: 12px; }
  .screen-enlarge { right: 8px; bottom: 8px; font-size: 11px; padding: 5px 8px; }
  .screen-dialog { padding: 12px; }
  .button { width: 100%; }
  .hero-actions, .closing-action { width: 100%; }
  .closing-action .button { width: auto; min-width: min(100%, 230px); }
}

@media (max-width: 500px) {
  :root { --shell: calc(100% - 32px); }
  .wordmark { font-size: 16px; }
  .wordmark img { width: 26px; height: 26px; }
  .hero { padding-top: 52px; }
  .hero-signal { height: 275px; }
  .transcription-demo { grid-template-columns: 35px minmax(0, 1fr); gap: 10px; }
  .demo-language { font-size: 10px; }
  .transcription-demo p { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
