/* Self-hosted variable fonts (SIL OFL 1.1, see assets/fonts/LICENSE.md). Ranges match stabler/public/css/stbl-typography.css. */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/inter-cyrillic-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/inter-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/inter-latin-ext-wght-normal.woff2) format("woff2"); 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: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/inter-latin-wght-normal.woff2) format("woff2"); 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: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800; src: url(/assets/fonts/jetbrains-mono-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800; src: url(/assets/fonts/jetbrains-mono-latin-wght-normal.woff2) format("woff2"); 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: 'Caveat';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(/assets/fonts/caveat-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(/assets/fonts/caveat-latin-ext-wght-normal.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(/assets/fonts/caveat-latin-wght-normal.woff2) format('woff2');
  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: 'Onest';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/onest-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/onest-latin-ext-wght-normal.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/onest-latin-wght-normal.woff2) format('woff2');
  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 {
  --paper: #FBF9F5; --card: #FFFFFF; --ink: #101723; --ink2: #414B5A; --mute: #6B7482;
  --line: #E7E2D9; --line2: #D8D2C6; --tint: #F4F0E8;
  --brand: #206BC4; --brand-ink: #17508F; --brand-50: #EAF2FB;
  --mark: #FFD86B; --night: #0E1524; --night2: #182236;
  --ok: #137A4B; --ok-50: #E5F4EC; --warn: #9A5B00; --warn-50: #FDF3E1;
  --f: "Onest", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --m: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --pen: "Caveat", "Inter", system-ui, sans-serif;
  --w: 1120px; --r: 18px;
  --shadow: 0 1px 2px rgba(16,23,35,.05), 0 12px 32px -12px rgba(16,23,35,.14);
  --shadow-lg: 0 2px 4px rgba(16,23,35,.04), 0 40px 80px -32px rgba(16,23,35,.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--f); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
section { scroll-margin-top: 96px; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.num, .mono { font-family: var(--m); font-variant-numeric: tabular-nums; white-space: nowrap; }
.eye { font: 500 12px/1 var(--m); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; font-weight: 600; letter-spacing: -.028em; margin-top: 14px; }
.sub { color: var(--ink2); max-width: 620px; margin-top: 16px; }
.hl { background: linear-gradient(transparent 60%, var(--mark) 60% 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .08em; }
.pen { font: 600 22px/1.15 var(--pen); color: var(--brand-ink); }
.btn { display: inline-flex; align-items: center; gap: 8px; text-align: center; justify-content: center; border-radius: 999px; padding: 13px 22px; font-weight: 500; font-size: 16px; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { box-shadow: 0 8px 20px -8px rgba(16,23,35,.5); }
.btn-ghost { background: rgba(255,255,255,.7); border-color: var(--line2); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
svg.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* nav */
.nav { position: sticky; top: 12px; z-index: 50; margin: 12px auto 0; max-width: 980px; padding: 0 16px; }
.nav-in { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.86); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 20px; box-shadow: var(--shadow); }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 19px; letter-spacing: -.03em; margin-right: 12px; }
.nav-links { display: flex; gap: 2px; flex: 1; }
.langs { display: flex; font: 500 12px/1 var(--m); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.signin { font-size: 15px; padding: 8px 12px; color: var(--ink2); }
.burger { display: none; border: 0; background: none; padding: 8px; margin-left: auto; }

/* hero */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 48px; align-items: center; }
.pill { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font: 500 12px/1 var(--m); letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
.pill b { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.06; font-weight: 600; letter-spacing: -.036em; margin-top: 20px; }
.rot { display: block; min-height: 1.1em; }
.hero .sub { margin-top: 20px; max-width: 520px; font-size: 18px; }
.cta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.micro { font: 400 12px/1.6 var(--m); color: var(--mute); margin-top: 18px; }

/* product window */
.win { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); overflow: hidden; }
.window-controls { display: flex; align-items: center; gap: 4px; padding-left: 10px; border-bottom: 1px solid var(--line); }
.window-controls .play { margin-left: 0; max-width: none; padding: 7px 11px; }
.window-controls:not(:has(> :not([hidden]))) { display: none; }
.tabs { display: flex; min-width: 0; gap: 4px; padding: 8px 8px 0; overflow-x: auto; }
.pane { display: grid; align-content: start; gap: 18px; padding: 22px 24px 24px; }
@media (min-width: 981px) { [data-hero-ready] .pane { min-height: 500px; } }
.pane h3 { font-size: 13px; font-weight: 500; color: var(--mute); }
.big { font: 600 34px/1.1 var(--m); letter-spacing: -.03em; margin-top: 6px; }
.big small { font-size: 15px; font-weight: 500; color: var(--mute); letter-spacing: 0; }
.rows { margin-top: 18px; border-top: 1px solid var(--line); }
.row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.row .num { margin-left: auto; font-size: 14px; }
.row.total { font-weight: 600; border-bottom: 0; }
.doc-chip { font: 500 12px/1.2 var(--f); color: var(--brand-ink); background: var(--brand-50); border-radius: 6px; padding: 3px 7px; white-space: nowrap; }
.doc-chip.code, .file { font: 500 11px/1.2 var(--m); }
.file { color: var(--mute); background: var(--tint); border-radius: 6px; padding: 3px 7px; margin-left: 4px; }
.side { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px 18px; background: var(--tint); border-radius: 14px; padding: 14px 16px; }
.demo-tag { font: 400 11px/1 var(--m); color: var(--mute); margin-top: 16px; }

/* facts */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 20px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { font: 600 30px/1 var(--m); letter-spacing: -.03em; display: block; }
.fact span { font-size: 14px; color: var(--ink2); display: block; margin-top: 8px; }
.sec { padding: 104px 0 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* problems */
.probs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.prob { padding: 26px 28px 26px 0; border-bottom: 1px solid var(--line); }
.prob:nth-child(odd) { border-right: 1px solid var(--line); } .prob:nth-child(even) { padding-left: 28px; }
.prob h3 { font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.prob p { color: var(--ink2); font-size: 16px; margin-top: 6px; }
.close { margin-top: 30px; font-size: 20px; font-weight: 500; letter-spacing: -.01em; }

/* trail */
.trail { margin-top: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.chip { position: relative; overflow: hidden; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 14px; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.chip em { font: 500 11px/1 var(--m); font-style: normal; color: var(--mute); }
.play { margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.stage { display: grid; grid-template-columns: 1fr 1fr; }
.stage > div { padding: 28px; }
.stage > div:last-child { border-left: 1px solid var(--line); background: #FDFCFA; }
.stage > .step-sum { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 12px 24px; padding: 16px 28px; border-bottom: 1px solid var(--line); }
.step-sum > span { display: grid; gap: 4px; min-width: 0; align-content: start; }
.step-sum small { font-size: 12px; color: var(--mute); }
.step-sum b { font-size: 16px; font-weight: 600; justify-self: start; }
.row.new { box-shadow: inset 3px 0 0 var(--mark); padding-left: 10px; }
.dcard { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: #fff; }
.dhead { display: flex; align-items: center; gap: 10px; }
.dhead h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.badge { margin-left: auto; font: 500 12px/1 var(--f); border-radius: 999px; padding: 5px 10px; background: var(--ok-50); color: var(--ok); }
.badge.warn { background: var(--warn-50); color: var(--warn); } .badge.info { background: var(--brand-50); color: var(--brand-ink); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; margin-top: 18px; font-size: 15px; }
.kv dt { color: var(--mute); } .kv dd { margin: 0; text-align: right; font-weight: 500; }
.stage .pen { margin-top: 18px; display: flex; gap: 8px; align-items: flex-start; min-height: 52px; }

/* features */
.mock { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 16px; color: var(--ink2); }
.ticks li { display: flex; gap: 10px; } .ticks svg { color: var(--brand); margin-top: 4px; }
.stmt { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sline { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.s-date { font-size: 12px; color: var(--mute); }
.s-what { display: grid; gap: 4px; min-width: 0; }
.sline .prop { color: var(--mute); font-size: 13px; }
.s-amt.credit { color: var(--ok); }
.s-status { grid-column: 2 / -1; display: flex; align-items: center; gap: 10px; min-height: 30px; font-size: 13px; color: var(--warn); }
.sline button { margin-left: auto; border: 1px solid var(--line2); background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 500; }
.mock-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 14px; font-weight: 500; }
.kan { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.kcol { background: var(--tint); border-radius: 10px; padding: 10px 8px; min-height: 150px; font-size: 12px; }
.kc { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 7px; margin-bottom: 6px; font: 500 11px/1.3 var(--m); }
.kc.hot { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); } .kc span { display: block; color: var(--ok); margin-top: 3px; }

/* control (dark) */
.dark { background: var(--night); color: #fff; border-radius: 28px; padding: 64px 56px; margin-top: 104px; }
.dark .eye { color: #8FA0BC; } .dark .sub { color: #B6C2D6; }
.chain { display: flex; gap: 0; margin: 40px 0 0; padding-left: 0; list-style: none; overflow-x: auto; padding-bottom: 6px; }
.blk { flex: 1; min-width: 150px; background: var(--night2); border: 1px solid #263450; border-radius: 12px; padding: 14px; font: 400 12px/1.5 var(--m); color: #B6C2D6; position: relative; margin-right: 22px; }
.blk:last-child { margin-right: 0; border-style: dashed; }
.blk:not(:last-child)::after { content: ""; position: absolute; right: -23px; top: 50%; width: 22px; height: 1px; background: #3A4C70; }
.blk b { display: block; color: #fff; font-weight: 500; }
.ctl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; margin-top: 44px; }
.ctl h3 { font-size: 17px; font-weight: 600; } .ctl p { color: #B6C2D6; font-size: 15px; margin-top: 6px; }

/* modules */
.inds { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.inds .chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.mg { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.mg h3 { font: 500 12px/1 var(--m); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
.mod { display: flex; width: 100%; align-items: center; gap: 9px; border: 0; background: none; padding: 7px 8px; border-radius: 9px; font-size: 15px; color: var(--mute); text-align: left; transition: background .2s, color .2s; }
.mod::before { content: ""; width: 14px; height: 14px; border-radius: 5px; border: 1.5px solid var(--line2); flex: none; transition: .2s; }
.mcount { margin-top: 18px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 15px; color: var(--ink2); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 44px 0 0; padding: 0; list-style: none; counter-reset: s; }
.step { padding: 0 20px 0 0; position: relative; counter-increment: s; }
.step::before { content: counter(s); font: 600 13px/28px var(--m); width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: block; text-align: center; position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; left: 28px; right: 0; top: 14px; height: 1px; background: var(--line2); }
.step:last-child::after { display: none; }
.step h3 { font-size: 17px; font-weight: 600; margin-top: 16px; } .step p { font-size: 15px; color: var(--ink2); margin-top: 6px; }
/* pricing */
.price { list-style: none; margin: 40px 0 0; padding: 0; max-width: 880px; border-top: 1px solid var(--line); counter-reset: p; }
.pc { display: grid; grid-template-columns: 40px minmax(0, 240px) minmax(0, 1fr); gap: 6px 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); counter-increment: p; }
.pc::before { content: counter(p); font: 500 13px/1 var(--m); color: var(--mute); }
.pc h3 { font-size: 19px; font-weight: 600; } .pc p { font-size: 16px; color: var(--ink2); }

/* faq */
.faq { margin-top: 36px; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-size: 18px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 400 24px/1 var(--f); color: var(--mute); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--ink2); padding: 0 40px 22px 0; max-width: 700px; }

/* demo */
.demo { margin-top: 104px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.tg { margin-top: 28px; display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 14px; background: var(--tint); font-size: 15px; }
.tg b { display: block; }
/* footer */
footer { margin: 72px 12px 12px; background: var(--night); color: #B6C2D6; border-radius: 28px; padding: 56px 0 32px; font-size: 15px;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 14px 14px; }
.fcols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
footer h3 { font: 500 12px/1 var(--m); letter-spacing: .12em; text-transform: uppercase; color: #8FA0BC; margin-bottom: 16px; }
footer a { display: block; padding: 4px 0; } footer a:hover { color: #fff; }
footer .logo { display: inline-flex; color: #fff; }
.legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid #263450; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* Shared shell and static-first widgets */
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
#top, #product, #industries { scroll-margin-top: 100px; }
.skip { position: fixed; top: 0; left: 12px; z-index: 60; transform: translateY(-120%); background: var(--ink); color: white; padding: 10px 14px; border-radius: 8px; }
.skip:focus { transform: translateY(12px); }
.logo svg { width: 24px; height: 24px; flex: none; }
.nav-links { align-items: center; min-width: 0; gap: 8px; }
.nav-links nav { display: flex; flex: 1; flex-wrap: wrap; }
.nav-links a, .langs a { border-radius: 999px; }
.nav-links nav a { padding: 8px 10px; font-size: 14px; color: var(--ink2); }
.nav-links nav a:hover, .langs a[aria-current="page"] { background: var(--tint); color: var(--ink); }
.langs { width: fit-content; }
.langs a { padding: 6px; }
.nav .btn { flex: none; }
.nav .signin { white-space: nowrap; padding-inline: 4px; }
.rot .question { display: block; text-wrap: balance; }
.hero:not([data-hero-ready]) .question + .question { display: none; }
[data-hero-ready] .rot { display: grid; justify-items: start; }
[data-hero-ready] .question { display: block; grid-area: 1 / 1; align-self: start; visibility: hidden; }
[data-hero-ready] .question.is-current { visibility: visible; animation: reveal .28s ease-out; }
@keyframes reveal { from { opacity: 0; transform: translateY(6px); } }
.tabs button { border: 0; background: none; padding: 10px 14px; font-size: 14px; color: var(--mute); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); font-weight: 500; border-color: var(--mark); }
.tabs button:focus-visible, .chips button:focus-visible { outline-offset: -3px; }
.pane + .pane, .stage + .stage { border-top: 1px solid var(--line); }
[data-hero-ready] .pane, [data-trail-ready] .stage { border-top: 0; }
.pane > *, .stage > *, .two > *, .demo > * { min-width: 0; }
.big small { display: inline-block; }
.rows .row { justify-content: space-between; }
.row .num { margin-left: 0; text-align: right; }
.doc-chip { display: inline-block; white-space: normal; }
.side { margin: 0; }
.side dt { font-size: 12px; color: var(--mute); }
.side dd { margin: 2px 0 0; font-size: 16px; font-weight: 600; white-space: normal; }
.pane .pen { margin-top: 14px; font-size: 20px; }
.trail-controls { display: flex; gap: 4px; align-items: center; padding: 8px; border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 8px; min-width: 0; overflow-x: auto; padding: 6px; }
.chips button { display: inline-flex; gap: 8px; align-items: center; flex: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 12px; font-size: 14px; }
.chips button em { font: 500 11px/1 var(--m); color: var(--mute); }
.chips button[aria-selected="true"] { background: var(--mark); border-color: var(--ink); }
.play { flex: none; max-width: 36%; }
.play span { display: flex; align-items: center; gap: 5px; white-space: normal; }
.play svg { width: 14px; height: 14px; }
.dhead { flex-wrap: wrap; }
.dhead .badge { margin-left: 0; line-height: 1.3; }
.stage .kv { grid-template-columns: minmax(0, 1fr) auto; }
.stage .eye { line-height: 1.4; }
.extra { margin-top: 14px; border-radius: 12px; padding: 8px 12px; background: var(--tint); }
.extra .row { justify-content: space-between; }
.bank .mock { grid-area: 1 / 1; }
.kan { grid-template-columns: repeat(5, minmax(91px, 1fr)); overflow-x: auto; padding: 4px; }
.kcol h3 { margin-bottom: 8px; font-size: 12px; font-weight: 500; color: var(--mute); }
.kc { overflow-wrap: anywhere; }
.sline button[aria-pressed="true"] { border-color: transparent; background: var(--ok-50); color: var(--ok); }
.dark .demo-tag { color: #8FA0BC; }
.blk code { color: var(--mark); font: inherit; }
.mg ul { list-style: none; padding: 0; margin: 0; }
.mg li > span { display: block; padding: 6px 8px; }
.mod[aria-pressed="true"] { color: var(--ink); background: var(--brand-50); font-weight: 500; }
.mod[aria-pressed="true"]::before { background: var(--brand); border-color: var(--brand); box-shadow: inset 0 0 0 2.5px var(--brand-50); }
.industry-fallback { padding-left: 22px; color: var(--ink2); }
.faq summary { list-style: none; }
.form form { display: grid; gap: 14px; }
.fld { display: grid; min-width: 0; gap: 6px; }
.fld label, .fld legend { font-size: 14px; font-weight: 500; }
.in { width: 100%; min-width: 0; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line2); background: var(--paper); color: var(--ink); font: inherit; }
.row2 { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
#more > * + * { margin-top: 14px; }
#more summary { cursor: pointer; font-size: 14px; }
#more .chips { overflow: visible; flex-wrap: wrap; padding: 0; }
#more .chip { padding: 6px 8px; white-space: normal; }
.req { color: var(--brand-ink); margin-left: 4px; }
.err, .esum { display: flex; align-items: center; gap: 6px; color: #9d252e; font-size: 14px; }
[aria-invalid="true"] { border-color: #9d252e; }
#esum:empty { display: none; }
.fine { font-size: 13px; color: var(--mute); }
.fine a, .tg a { text-decoration: underline; }
.tg > svg { width: 26px; height: 26px; color: var(--brand); }
.tg a { display: block; }
.okst { text-align: center; padding: 20px 0; }
.okst p, .okst .acts { margin-top: 14px; }
.footer-tag { margin-top: 14px; max-width: 300px; }
footer .langs { border-color: #3A4C70; }
footer .langs a { padding: 6px; }
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(28px, 3.4vw, 40px); }
.doc h2 { margin-top: 32px; font-size: 20px; }
.doc p { margin-top: 10px; color: var(--ink2); }
.doc a:not(.btn) { text-decoration: underline; }

@media (max-width: 980px) {
  .nav:not([data-drawer-ready]) { position: relative; top: 0; }
  .nav-in { flex-wrap: wrap; justify-content: space-between; border-radius: 22px; }
  .nav-links { order: 1; flex-basis: 100%; flex-wrap: wrap; }
  .nav-links nav { flex-basis: 100%; }
  [data-drawer-ready] .burger { display: block; }
  [data-drawer-ready] .nav-links:not(.open) { display: none; }
  [data-drawer-ready]:not(:has(.open)) .nav-in { border-radius: 999px; }
  .hero { padding: 36px 0 56px; }
  .hero-grid { gap: 28px; }
  .hero-grid, .two, .stage, .demo, .probs { grid-template-columns: minmax(0, 1fr); }
  .two { gap: 32px; }
  .bank .mock { grid-area: auto; }
  .pane { padding: 20px; }
  .stage > div:last-child { border-left: 0; border-top: 1px solid var(--line); }
  .stage > div { padding: 20px; }
  .stage > .step-sum { padding: 14px 20px; }
  .prob, .prob:nth-child(even) { padding: 22px 0; border-right: 0; }
  .prob:nth-child(odd) { border-right: 0; }
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { border-left: 0; padding: 20px 12px 20px 0; }
  .mgrid, .ctl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { padding-right: 0; }
  .step::after { display: none; }
  .dark, .demo { padding: 36px 24px; border-radius: 22px; margin-top: 72px; }
  .sec { padding-top: 72px; }
  .fcols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .nav-in { padding-left: 12px; }
  .nav .logo { margin-right: 0; font-size: 17px; }
  .nav .btn { padding-inline: 10px; font-size: 13px; }
  .burger { margin-left: 0; padding: 6px; }
  .pill { line-height: 1.35; }
  /* First screen at 375 × 812: headline, one sentence, one button, then the container total and its first document. */
  .hero { padding: 18px 0 48px; }
  .hero-grid { gap: 20px; }
  h1 { font-size: 33px; margin-top: 12px; }
  .hero .sub { margin-top: 10px; font-size: 16px; }
  .sub-more, .hero .micro { display: none; }
  .cta { margin-top: 16px; gap: 6px 18px; }
  .hero-more { padding: 0; border: 0; background: none; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
  .hero-more:hover { transform: none; }
  .window-controls .play span span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .pane { padding: 14px 16px 18px; gap: 14px; }
  .big { font-size: 30px; }
  .stage > .step-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-sum > span:first-child { grid-column: 1 / -1; }
  .pc { grid-template-columns: 28px minmax(0, 1fr); }
  .pc p { grid-column: 2; }
  .mgrid, .ctl, .row2 { grid-template-columns: minmax(0, 1fr); }
  .dark, .demo { padding-inline: 18px; }
  .fcols { gap: 24px 14px; }
  .footer-tag { overflow-wrap: anywhere; }
}

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

.tabs, .chips { position: relative; }
.chips button { position: relative; overflow: hidden; }
.chips button > * { position: relative; }
[data-autoplay] .chips button[aria-selected="true"] { background: var(--tint); }
[data-autoplay] .chips button[aria-selected="true"]::before {
  content: ""; position: absolute; inset: 0; background: var(--mark);
  transform-origin: left; animation: step-fill 4.6s linear both;
}
@keyframes step-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
