@font-face {
  font-family: "STIX Two Text";
  src: url("fonts/stix-two-text-latin.woff2") format("woff2");
  font-weight: 500;
  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;
}
@font-face {
  font-family: "STIX Two Text";
  src: url("fonts/stix-two-text-cyrillic.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
:root {
  color-scheme: light;
  --paper: #f7f8fa;
  --ink: #172238;
  --muted: #515d70;
  --blue: #2563eb;
  --link: #164bbf;
  --line: #d2d8e2;
  --display: "STIX Two Text", Georgia, serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, ol, ul, figure, pre { margin: 0; }
body { font-size: 16px; line-height: 1.5; }
button, a { color: inherit; font: inherit; }
button { cursor: pointer; }
a { text-underline-offset: .22em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--link); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus { position: absolute; top: 12px; left: 12px; z-index: 3; padding: 8px; background: white; }
.wrap { width: min(1200px, calc(100% - clamp(44px, 10vw, 160px))); margin-inline: auto; }
.masthead, .footer { display: flex; align-items: center; justify-content: space-between; }
.masthead { min-height: 84px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: 30px; font-weight: 750; letter-spacing: -.065em; line-height: 1; text-decoration: none; }
.wordmark img { display: block; }
.masthead nav { display: flex; gap: clamp(18px, 3vw, 48px); }
.masthead nav a, .footer > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 550; text-decoration: none; }
.masthead nav a:hover, .footer > a:hover { color: var(--link); text-decoration: underline; }
.hero {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  grid-template-rows: 1fr auto auto 1fr;
  column-gap: clamp(28px, 5.5vw, 84px);
  align-items: start;
  padding-block: clamp(48px, 5.8vw, 90px) clamp(45px, 4.7vw, 72px);
}
.intro { grid-column: 1; grid-row: 2; }
.beta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 580; color: var(--link); }
.beta i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px #e0e9fc; margin-inline: 4px; }
h1, .heading { font-family: var(--display); font-weight: 500; letter-spacing: -.043em; word-spacing: .035em; }
h1 { margin: 20px 0 19px; font-size: clamp(60px, 6.15vw, 88px); line-height: .99; }
.intro p { max-width: 32ch; font-size: clamp(18px, 1.48vw, 22px); line-height: 1.5; color: var(--muted); }
.hero-action { grid-column: 1; grid-row: 3; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 30px; }
.hero-action > span { font-size: 14px; color: var(--muted); }
.primary-link { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 9px 19px; color: white; background: var(--blue); border-radius: 7px; font-weight: 620; text-decoration: none; }
.primary-link:hover { background: var(--link); }
.primary-link span, .guide-link span { font-size: 1.22em; line-height: 1; }
.demo {
  grid-column: 2;
  grid-row: 1 / -1;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #c9d3e7;
  border-radius: 15px;
  box-shadow: 5px 6px 0 #e1e7f1;
}
.signal { position: relative; padding: 19px 24px 13px; color: white; background: var(--blue); }
.sample-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 550; }
.sample-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: white; }
.signal-name { display: block; margin: 5px 0 8px; font-size: 24px; line-height: 1.24; font-weight: 580; letter-spacing: -.035em; }
.timeline {
  background-image: linear-gradient(90deg, rgb(255 255 255 / .18) 1px, transparent 1px);
  background-size: calc((100% - 1px) / 3) 100%;
}
.timeline img { display: block; width: 100%; height: 60px; }
.scale { display: flex; justify-content: space-between; font-size: 11px; font-variant-numeric: tabular-nums; line-height: 1.5; color: white; background: var(--blue); }
.transcript { list-style: none; padding: 3px 24px 0; }
.transcript li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 13px 0; }
.transcript li + li { border-top: 1px solid #e6e9ef; }
.stamp { margin-top: 1px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.speaker { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 650; line-height: 1.4; }
.speaker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.kira { color: #244baf; }
.miron { color: #066c71; }
.lida { color: #945127; }
.transcript p { margin-top: 2px; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.38; letter-spacing: -.014em; }
.demo-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 43px; padding: 0 20px 0 24px; border-top: 1px solid #e0e5ed; color: var(--muted); background: #f6f8fc; font-size: 12px; }
.demo-foot button { display: inline-flex; align-items: center; gap: 5px; padding: 3px 4px; min-height: 40px; border: 0; background: transparent; color: var(--link); font-weight: 600; }
.demo-foot button:hover { text-decoration: underline; }
.demo-foot button:focus-visible { outline-offset: -3px; border-radius: 4px; }
.platforms { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 24px 0; border-block: 1px solid var(--line); }
.platforms h2 { font-size: 15px; color: var(--muted); font-weight: 500; }
.platforms ul { display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 5vw, 80px); list-style: none; padding: 0; }
.platforms li { font-size: clamp(18px, 1.8vw, 26px); font-weight: 650; letter-spacing: -.045em; white-space: nowrap; }
.how, .install-grid { display: grid; grid-template-columns: .84fr 1fr; column-gap: clamp(35px, 9vw, 138px); }
.how, .installation { padding-block: clamp(66px, 7vw, 108px); }
.heading { font-size: clamp(44px, 4.4vw, 66px); line-height: 1.04; }
.stages { list-style: none; padding: 0; counter-reset: stages; }
.stages li { position: relative; padding: 0 0 24px 48px; counter-increment: stages; }
.stages li + li { padding-top: 2px; }
.stages li:last-child { padding-bottom: 0; }
.stages li::before {
  content: counter(stages);
  position: absolute;
  left: 0;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  font-weight: 630;
  font-size: 13px;
  color: var(--link);
  border-radius: 50%;
  background: #e4ebf9;
}
.stages li:not(:last-child)::after { content: ""; position: absolute; top: 32px; bottom: 4px; left: 13px; border-left: 1px solid var(--line); }
.stages h3, .install-body h3 { font-size: 20px; line-height: 1.35; letter-spacing: -.025em; }
.stages p, .install-body p { margin-top: 6px; line-height: 1.55; }
.stages p { max-width: 59ch; color: var(--muted); }
.installation { background: #18253c; color: #fff; }
.install-intro > p { max-width: 36ch; margin-top: 18px; font-size: 18px; line-height: 1.52; color: #e0e7f3; }
.installation code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .92em; }
.guide-link { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; margin-top: 16px; font-weight: 600; text-decoration-thickness: 1px; }
.guide-link:hover { color: #bbd2ff; }
.installation a:focus-visible { outline-color: #aecbff; }
.install-body { min-width: 0; }
.install-body p { color: #d0d9e8; }
.install-body h3 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.install-body h3 span { color: #bfcee6; font-size: 15px; font-weight: 450; letter-spacing: 0; }
.install-body h3:not(:first-child) { margin-top: 26px; }
.install-body pre { margin-top: 12px; padding: 13px 16px; border-left: 3px solid #81abff; background: #223450; color: #f2f6ff; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.install-body .doctor { margin-top: 16px; color: white; }
.doctor code { display: inline-block; padding: 1px 7px; margin-left: 3px; background: #2b405e; border-radius: 3px; }
.footer { min-height: 88px; }
.footer .wordmark { font-size: 24px; }
.footer > a { gap: 8px; }
@keyframes arrive {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scan { from { left: 0; } to { left: calc(100% - 2px); } }
@media (prefers-reduced-motion: no-preference) {
  .preview .transcript li:last-child p span { animation: arrive .28s var(--when, .4s) backwards; }
  .preview .transcript li:last-child p span:nth-child(2) { --when: .72s; }
  .preview .transcript li:last-child p span:nth-child(3) { --when: 1.12s; }
  .replaying .transcript li > * { animation: arrive .4s var(--when, .08s) backwards; }
  .replaying .transcript li:nth-child(2) { --when: 1.25s; }
  .replaying .transcript li:nth-child(3) { --when: 2.45s; }
  .replaying .timeline { position: relative; }
  .replaying .timeline::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 17px;
    width: 2px;
    background: white;
    animation: scan 3.6s linear forwards;
  }
}
@media (max-width: 860px) and (min-width: 701px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 0 26px; grid-template-columns: .88fr 1fr; }
  h1 { font-size: 54px; }
  .signal { padding-inline: 18px; }
  .transcript { padding-inline: 18px; }
  .transcript li { grid-template-columns: 34px 1fr; gap: 9px; }
}
@media (max-width: 700px) {
  .wrap { width: min(520px, calc(100% - 40px)); }
  .masthead { min-height: 64px; }
  .masthead nav { gap: 18px; }
  .masthead nav a { font-size: 14px; }
  .wordmark { font-size: 25px; gap: 7px; }
  .wordmark img { width: 27px; height: 27px; }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 20px 0; padding: 24px 0; }
  .intro, .hero-action, .demo { grid-column: auto; grid-row: auto; }
  .hero-action { margin-top: 3px; }
  .beta { font-size: 13px; }
  h1 { margin: 12px 0; font-size: clamp(47px, 11vw, 68px); line-height: .99; }
  .intro p { font-size: 17px; line-height: 1.45; max-width: 39ch; }
  .signal { padding: 14px 17px 10px; }
  .signal-name { margin: 3px 0 4px; font-size: 21px; }
  .timeline img { height: 43px; }
  .transcript { padding-inline: 16px; }
  .transcript li { padding: 10px 0; grid-template-columns: 34px 1fr; gap: 10px; }
  .demo-foot { padding-inline: 16px 12px; }
  .platforms { display: block; padding: 17px 0; }
  .platforms ul { justify-content: flex-start; flex-wrap: wrap; gap: 3px 23px; margin-top: 6px; }
  .how, .install-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .how, .installation { padding-block: 46px; }
  .how .heading br { display: none; }
  .stages li { padding-left: 39px; }
  .install-intro > p { margin-top: 14px; }
  .footer { min-height: 68px; }
}
@media (max-width: 359px) {
  .wrap { width: calc(100% - 32px); }
  .masthead nav { gap: 12px; }
  .masthead nav a { font-size: 13px; }
  h1 { font-size: 42px; }
  .platforms ul { column-gap: 15px; }
}

@media (max-width: 700px) and (max-height: 690px) {
  .masthead { min-height: 54px; }
  .hero { padding-top: 16px; gap: 14px; }
  h1 { margin: 8px 0; }
  .intro p { font-size: 16px; line-height: 1.4; }
  .signal { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 5px 8px; padding-block: 10px 7px; }
  .signal-name { margin: 0; justify-self: end; font-size: 16px; }
  .sample-label { font-size: 12px; }
  .timeline { grid-column: 1 / -1; }
  .timeline img { height: 32px; }
  .transcript li { padding-block: 8px; }
}
