/* design-dna · mode: landing · aesthetic: dark keyboard poster · target skill priority: one Manrope, gradient heading, floating blur nav, reveals · pre-emit: Ф4 И4 Исп4 Спец5 Сдерж4 Разн4 · targets/gaps/tokens: pass · pixel contrast: checked · target-skill exceptions and mobile measure: see QA.md */
:root {
  --bg: #0d0d0f;
  --surface: #181818;
  --surface-2: #1f1f1f;
  --line: #454545;
  --text: #f5f5f5;
  --soft: #d1d1d1;
  --muted: #a4a4a4;
  --accent: #e05c3a;
  --accent-hover: #f07c5a;
  --accent-ink: var(--bg);
  --font-primary: Manrope, sans-serif;
  --text-xs: 12px; --leading-xs: 16px;
  --text-sm: 14px; --leading-sm: 20px;
  --text-base: 16px; --leading-base: 24px;
  --text-lg: 18px; --leading-lg: 28px;
  --text-xl: 20px; --leading-xl: 28px;
  --text-2xl: 24px; --leading-2xl: 32px;
  --text-3xl: 30px; --leading-3xl: 36px;
  --text-4xl: 36px; --leading-4xl: 40px;
  --text-5xl: 48px; --leading-5xl: 1;
  --text-6xl: 60px; --leading-6xl: 1;
  --curve: cubic-bezier(.22,1,.36,1);
  --s0: 0;
  --s25: 2px;
  --s50: 4px;
  --s75: 8px;
  --s100: 12px;
  --s200: 16px;
  --s300: 24px;
  --s400: 32px;
  --s500: 40px;
  --s600: 48px;
  --s700: 64px;
  --s800: 80px;
  --s900: 96px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --radius-full: 9999px;
  --k: 1;
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; min-width: 0; overflow-x: clip; background: var(--bg); color: var(--text); font-family: var(--font-primary); font-size: var(--text-base); line-height: var(--leading-base); -webkit-font-smoothing: antialiased; }
button,a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible,button:focus-visible,summary:focus-visible,video:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 4px; }
button,a,summary,video { outline: 2px solid transparent; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { font-weight: 700; letter-spacing: -.035em; text-wrap: balance; overflow-wrap: anywhere; }
p,small { text-wrap: pretty; }
small { font-size: var(--text-sm); line-height: var(--leading-sm); }
.wrap { width: min(100% - 48px,1200px); margin-inline: auto; min-width: 0; }
.skip-link { position: fixed; z-index: 300; top: var(--s200); left: var(--s200); display: inline-flex; align-items: center; min-height: 44px; padding: var(--s75) var(--s100); background: var(--text); color: var(--bg); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
#bgLetters { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh; z-index: -1; pointer-events: none; background: var(--bg); }
section { scroll-margin-top: var(--s900); }
#demo,#pricing { scroll-margin-top: var(--s900); }
.site-header { position: fixed; inset: var(--s200) 0 auto; z-index: 100; pointer-events: none; }
.nav { width: max-content; max-width: calc(100% - 32px); min-height: 56px; margin: auto; display: flex; align-items: center; gap: var(--s400); padding: var(--s75) var(--s200); border: 1px solid var(--line); border-radius: var(--radius-2xl); background: rgba(24,24,24,.84); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 8px 32px rgba(0,0,0,.22); pointer-events: auto; }
.brand,.footer-brand { display: inline-flex; align-items: center; gap: var(--s50); font-weight: 700; letter-spacing: -.04em; text-decoration: none; }
.brand { min-height: 44px; font-size: var(--text-xl); line-height: var(--leading-lg); padding-inline: var(--s75); }
.brand-mark { display: inline-block; width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--accent); align-self: flex-end; margin-bottom: var(--s100); }
.nav-links { display: flex; align-items: center; gap: var(--s75); }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--s100); border-radius: var(--radius-lg); color: var(--soft); font-size: var(--text-sm); line-height: var(--leading-sm); font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color 300ms var(--curve),color 300ms var(--curve); }
.nav-links a[aria-current] { color: var(--text); background: var(--surface-2); }
.nav-links a:active { transform: translateY(1px); }
.menu-toggle,.mobile-menu { display: none; }
.eyebrow { color: var(--accent-hover); font-size: var(--text-sm); line-height: var(--leading-sm); font-weight: 700; letter-spacing: .03em; }
.eyebrow span { margin-inline: var(--s50); color: var(--muted); }
.hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0,1.04fr) minmax(0,.96fr); align-items: center; gap: var(--s600); padding-block: calc(var(--s900) + var(--s700)) var(--s900); }
.hero-copy,.hero-media { min-width: 0; }
.hero-copy .eyebrow { margin-bottom: var(--s300); }
.hero h1 { max-width: 680px; font-size: var(--text-6xl); line-height: var(--leading-6xl); background: linear-gradient(90deg,#fff,#9b9b9b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 680px; margin-top: var(--s400); color: var(--soft); font-size: var(--text-xl); line-height: var(--leading-lg); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: var(--s200); min-height: 44px; padding: var(--s75) var(--s100); border-radius: var(--radius-lg); font-size: var(--text-base); line-height: var(--leading-base); font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color 300ms var(--curve),color 300ms var(--curve),transform 500ms var(--curve); }
.button-primary { background: var(--accent); color: var(--accent-ink); }
.button-primary:active { transform: scale(.98); }
.hero .button { margin-top: var(--s400); }
.hero-proof { margin-top: var(--s200); color: var(--muted); font-size: var(--text-sm); line-height: var(--leading-sm); }
.hero-media video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-xl); background: var(--surface); }
.hero-media figcaption { display: flex; justify-content: space-between; gap: var(--s200); align-items: baseline; margin-top: var(--s200); color: var(--muted); font-size: var(--text-sm); line-height: var(--leading-sm); }
.typing-sample { display: inline-flex; flex-wrap: nowrap; gap: var(--s75); color: var(--text); font-weight: 700; white-space: nowrap; }
.typing-sample span[aria-hidden] { color: var(--accent-hover); }
.benefits { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--s800); padding-block: var(--s900); }
.tagline { max-width: 680px; font-size: var(--text-5xl); line-height: var(--leading-5xl); }
.tagline .reveal-word { color: rgba(245,245,245,.3); transition: color 500ms var(--curve); }
.tagline .reveal-word.on { color: var(--text); }
.index { color: var(--accent-hover); font-size: var(--text-sm); line-height: var(--leading-sm); font-weight: 700; font-variant-numeric: tabular-nums; }
.steps { padding-block: var(--s800); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--s600); list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; flex-direction: column; gap: var(--s100); min-width: 0; }
.steps strong { font-size: var(--text-lg); line-height: var(--leading-lg); }
.steps li>span:last-child { color: var(--soft); font-size: var(--text-sm); line-height: var(--leading-sm); }
.download { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: var(--s800); padding-block: var(--s900); }
.download-intro h2 { max-width: 680px; font-size: var(--text-5xl); line-height: var(--leading-5xl); }
.download-intro>p:not(.eyebrow) { max-width: 680px; margin-top: var(--s400); color: var(--soft); }
.download-intro .quiet { margin-top: var(--s200) !important; color: var(--muted) !important; font-size: var(--text-sm); line-height: var(--leading-sm); }
.terms-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--s75); color: var(--soft); font-size: var(--text-sm); line-height: var(--leading-sm); white-space: nowrap; }
.download-options { display: flex; flex-direction: column; justify-content: center; gap: var(--s200); }
.download-option { display: flex; justify-content: space-between; align-items: center; gap: var(--s200); min-height: 96px; padding: var(--s300); border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); text-decoration: none; transition: background-color 300ms var(--curve),border-color 300ms var(--curve),transform 500ms var(--curve); }
.download-option:active { transform: scale(.98); }
.download-option strong { display: block; font-size: var(--text-lg); line-height: var(--leading-lg); }
.download-option small { display: block; margin-top: var(--s75); color: var(--muted); }
.arrow { flex: none; font-size: var(--text-2xl); line-height: var(--leading-2xl); color: var(--accent-hover); }
.faq { display: grid; grid-template-columns: minmax(0,.55fr) minmax(0,1fr); gap: var(--s800); padding-block: var(--s900); border-top: 1px solid var(--line); }
.faq h2 { font-size: var(--text-4xl); line-height: var(--leading-4xl); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details + details { margin-top: var(--s75); }
.faq-list summary { position: relative; display: flex; align-items: center; min-height: 64px; padding: var(--s200) var(--s400) var(--s200) 0; font-size: var(--text-base); line-height: var(--leading-base); font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: var(--s50); color: var(--accent-hover); font-size: var(--text-2xl); line-height: var(--leading-2xl); font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { max-width: 68ch; padding-bottom: var(--s300); color: var(--soft); }
.faq-list summary:active { transform: translateY(1px); }
.closing { display: flex; align-items: center; justify-content: space-between; gap: var(--s400); padding-block: var(--s800); border-top: 1px solid var(--line); }
.closing h2 { font-size: var(--text-4xl); line-height: var(--leading-4xl); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: var(--s300); padding-block: var(--s400); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--text-sm); line-height: var(--leading-sm); }
.footer-brand { font-size: var(--text-xl); line-height: var(--leading-lg); color: var(--text); }
.footer>div { display: flex; flex-wrap: wrap; gap: var(--s200) var(--s300); }
.footer a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.sw { position: relative; transition: color 500ms var(--curve); }
.sw::after { content: attr(data-x); content: attr(data-x) / ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) scaleX(var(--k,1)); color: var(--muted); white-space: pre; pointer-events: none; opacity: 0; transition: opacity 300ms var(--curve); }
.sw.x { color: transparent; transition: none; }
.sw.x::after { opacity: 1; }
.sw.hot { color: var(--accent-hover); }
.reveal { opacity: 0; transform: translateY(var(--s400)); transition: opacity 700ms var(--curve),transform 700ms var(--curve); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media(max-width:960px) {
  .hero,.benefits,.download,.faq { grid-template-columns: minmax(0,1fr); gap: var(--s600); }
  .hero { min-height: 0; padding-top: calc(var(--s900) + var(--s700)); }
  .hero-media { max-width: 760px; }
  .benefits,.download,.faq { padding-block: var(--s800); }
  .steps ol { gap: var(--s300); }
}
@media(max-width:640px) {
  .wrap { width: min(100% - 32px,1200px); }
  .site-header { top: var(--s75); }
  .nav { width: min(100% - 16px,480px); justify-content: space-between; padding: var(--s50) var(--s100); }
  .js .nav-links { display: none; }
  .no-js .nav { flex-wrap: wrap; }
  .no-js .nav-links { width: 100%; justify-content: space-between; gap: 0; }
  .no-js .nav-links a { padding-inline: var(--s75); }
  .menu-toggle { width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--s75); padding: 0; border: 0; border-radius: var(--radius-lg); background: transparent; color: var(--text); cursor: pointer; }
  .no-js .menu-toggle { display: none; }
  .menu-toggle span { display: block; width: 20px; height: 2px; background: currentColor; transition: transform 500ms var(--curve); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }
  .mobile-menu:not([hidden]) { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; gap: var(--s200); padding: var(--s800) var(--s300); background: rgba(13,13,15,.96); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); pointer-events: auto; }
  .mobile-menu a { display: flex; align-items: center; min-height: 64px; padding-inline: var(--s300); border-radius: var(--radius-xl); font-size: var(--text-3xl); line-height: var(--leading-3xl); font-weight: 700; text-decoration: none; opacity: 0; transform: translateY(var(--s300)); transition: opacity 500ms var(--curve),transform 500ms var(--curve),background-color 300ms var(--curve); }
  .mobile-menu.open a { opacity: 1; transform: translateY(0); }
  .mobile-menu a:nth-child(2) { transition-delay: 60ms; }
  .mobile-menu a:nth-child(3) { transition-delay: 120ms; }
  body.menu-open { overflow: hidden; }
  .hero { padding-block: calc(var(--s900) + var(--s500)) var(--s800); gap: var(--s600); }
  .hero h1 { font-size: var(--text-4xl); line-height: var(--leading-4xl); }
  .hero-lead { font-size: var(--text-lg); line-height: var(--leading-lg); margin-top: var(--s300); }
  .hero .button { margin-top: var(--s300); }
  .hero-media figcaption { flex-direction: column; gap: var(--s75); }
  .tagline,.download-intro h2 { font-size: var(--text-4xl); line-height: var(--leading-4xl); }
  .benefits,.download,.faq { padding-block: var(--s700); gap: var(--s400); }
  .steps { padding-block: var(--s700); }
  .steps ol { grid-template-columns: minmax(0,1fr); gap: var(--s400); }
  .steps li { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: var(--s75) var(--s200); }
  .steps li>span:last-child { grid-column: 2; }
  .download-option { min-height: 80px; padding: var(--s200); }
  .closing { flex-direction: column; align-items: flex-start; padding-block: var(--s700); }
  .closing h2 { font-size: var(--text-3xl); line-height: var(--leading-3xl); }
  .footer { flex-direction: column; align-items: flex-start; }
}
@media(max-width:360px) { .hero h1 { font-size: var(--text-3xl); line-height: var(--leading-3xl); } .eyebrow { font-size: var(--text-xs); line-height: var(--leading-xs); } .tagline,.download-intro h2 { font-size: var(--text-3xl); line-height: var(--leading-3xl); } }
@media(hover:hover) and (pointer:fine) {
  a:hover { color: var(--accent-hover); }
  .nav-links a:hover { color: var(--text); background: var(--surface-2); }
  .button-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
  .download-option:hover { color: var(--text); background: var(--surface-2); }
  .faq-list summary:hover { color: var(--accent-hover); }
  .mobile-menu a:hover { color: var(--text); background: var(--surface-2); }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .button,.download-option,.nav-links a,.mobile-menu a,.faq-list summary,.reveal { transform: none !important; transition-property: opacity,background-color,color !important; transition-duration: 150ms !important; }
  .menu-toggle span { transition: none; }
  .sw { transition-duration: 150ms; }
  .reveal { opacity: 1; transform: none; transition: opacity 500ms var(--curve); }
  .tagline .reveal-word { color: var(--text); transition: none; }
  .mobile-menu a { opacity: 1; transform: none; transition: opacity 500ms var(--curve); }
  .sw.x { color: inherit; }
  .sw.x::after { display: none; }
}
