/* ==========================================================================
   Ombra — marketing site
   Display: Unbounded · Text: Golos Text · Labels and code: JetBrains Mono
   ========================================================================== */

@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/golos-text-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/golos-text-latin-400-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: 'Golos Text'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/golos-text-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/golos-text-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/golos-text-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/golos-text-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/golos-text-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/golos-text-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/unbounded-cyrillic-var.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/unbounded-latin-var.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-weight: 400 600; font-display: swap; src: url('/assets/fonts/jetbrains-mono-cyrillic-var.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-weight: 400 600; font-display: swap; src: url('/assets/fonts/jetbrains-mono-latin-var.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; }

/* ---------- Tokens ---------- */
:root {
  --bg: #ffffff;
  --ink: #0b1222;
  --text: #1c2438;
  --text-2: #525d76;
  --text-3: #596681;
  --border: #e3e8f1;
  --border-strong: #cfd7e5;
  --surface: #f6f8fc;
  --surface-2: #edf1f8;
  --accent: #2864ff;
  --accent-ink: #1450e6;
  --accent-soft: #edf3ff;
  --accent-line: #c9d8ff;
  --violet: #7b5cff;
  --ok: #147549;
  --ok-soft: #e7f6ee;
  --dark: #090e1b;
  --dark-2: #0f172a;
  --dark-border: rgb(255 255 255 / .1);
  --dark-text: #b4bfd6;
  --gradient: linear-gradient(100deg, #2864ff 0%, #5468ff 48%, #8b5cff 100%);

  --font: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Unbounded', 'Golos Text', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow-s: 0 1px 2px rgb(16 28 60 / .06), 0 4px 12px -4px rgb(16 28 60 / .08);
  --shadow: 0 2px 6px rgb(16 28 60 / .05), 0 18px 40px -16px rgb(16 28 60 / .18);
  --shadow-l: 0 6px 16px rgb(16 28 60 / .06), 0 48px 96px -32px rgb(20 44 110 / .34);

  --container: 1240px;
  --gutter: 32px;
  --header: 72px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 600; color: var(--ink); letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
h3 { font-weight: 600; color: var(--ink); letter-spacing: -.012em; line-height: 1.3; }
p { color: var(--text-2); text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { vertical-align: middle; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
button:disabled { cursor: not-allowed; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: #d6e2ff; color: var(--ink); }
[hidden] { display: none !important; }
.icon { flex: none; }
code, pre { font-family: var(--font-mono); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); padding-inline: var(--gutter); margin-inline: auto; }
.section { padding-block: clamp(72px, 8vw, 112px); position: relative; }
.soft-section { background: var(--surface); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 12px 20px; background: var(--accent); color: #fff; z-index: 1000; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; line-height: 1.4; color: var(--accent-ink); }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--gradient); box-shadow: 0 0 0 4px rgb(40 100 255 / .12); }
h2, .section-heading h2 { font-size: clamp(2rem, 1.15rem + 2.3vw, 3.25rem); margin-bottom: 20px; }
.section-heading { min-width: 0; max-width: min(760px, 100%); }
.section-heading > p { max-width: 580px; margin-bottom: 0; font-size: 1.125rem; line-height: 1.65; }
.section-heading.center { text-align: center; margin-inline: auto; margin-bottom: 56px; }
.section-heading.center p { margin-inline: auto; }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 56px; }
.section-heading-row .section-heading { margin-bottom: 0; }
.section-heading-row > .text-link { margin-bottom: 10px; flex: none; }
.section-aside { max-width: 380px; margin-bottom: 8px; font-size: 1.0625rem; line-height: 1.65; }
.section-description { max-width: 480px; font-size: 1.125rem; line-height: 1.7; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgb(24 135 90 / .16); flex: none; }

/* ---------- Buttons & links ---------- */
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 12px; font-size: 16px; font-weight: 600; line-height: 1.2; letter-spacing: -.005em; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s, translate .25s var(--ease-out); }
.button > span { display: inline-flex; align-items: center; gap: 10px; }
.button-arrow { transition: translate .25s var(--ease-out); }
.button:hover .button-arrow { translate: 3px 0; }
.button:active { translate: 0 1px; }
.button-primary { background: var(--accent); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 1px 2px rgb(20 60 180 / .3), 0 8px 20px -8px rgb(40 100 255 / .65); }
.button-primary:hover { background: var(--accent-ink); translate: 0 -1px; box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 2px 4px rgb(20 60 180 / .3), 0 14px 28px -10px rgb(40 100 255 / .7); }
.button-secondary { background: #fff; border-color: var(--border-strong); color: var(--ink); box-shadow: var(--shadow-s); }
.button-secondary:hover { border-color: #a9b8d2; background: #fbfcff; translate: 0 -1px; }
.button-ghost { background: transparent; color: var(--accent-ink); padding-inline: 4px; }
.button-light { background: #fff; color: var(--accent-ink); box-shadow: 0 10px 30px -10px rgb(8 20 70 / .5); }
.button-light:hover { translate: 0 -1px; background: #f4f7ff; }
.button-outline-light { border-color: rgb(255 255 255 / .45); color: #fff; }
.button-outline-light:hover { background: rgb(255 255 255 / .12); border-color: #fff; }
.button:disabled { background: var(--surface-2); border-color: var(--border); color: var(--text-3); box-shadow: none; translate: none; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-ink); font-size: 16px; font-weight: 600; }
.text-link .icon { transition: translate .25s var(--ease-out); }
.text-link:hover .icon, a:hover > .text-link .icon { translate: 4px 0; }
.icon-button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; color: var(--text); }
.icon-button:hover { background: var(--surface-2); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; height: var(--header); background: rgb(255 255 255 / .82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; }
.page-feature .site-header, .page-pricing .site-header, .page-docs .site-header, .page-start .site-header, .page-browser-download .site-header, .page-contact .site-header, .page-privacy .site-header, .page-404 .site-header { border-bottom-color: var(--border); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); line-height: 1; flex: none; }
.brand > span { font-family: var(--font-display); font-size: 25px; font-weight: 600; letter-spacing: -.05em; }
.brand-period { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; }
.main-nav > a, .nav-dropdown > summary { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--text-2); transition: color .2s, background-color .2s; }
.main-nav > a:hover, .nav-dropdown > summary:hover, .nav-dropdown[open] > summary { color: var(--ink); background: var(--surface); }
.main-nav [aria-current], .nav-dropdown > summary.active { color: var(--accent-ink); }
.nav-dropdown { position: relative; }
.nav-dropdown > summary { list-style: none; cursor: pointer; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary .icon { transition: rotate .25s var(--ease-out); }
.nav-dropdown[open] > summary .icon { rotate: 180deg; }
.dropdown-menu { position: absolute; top: calc(100% + 10px); left: -8px; width: 380px; padding: 8px; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-l); animation: dropdown-in .28s var(--ease-out); }
.dropdown-menu > a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; transition: background-color .2s; }
.dropdown-menu > a:hover { background: var(--surface); }
.dropdown-menu > a > .icon { margin-left: auto; color: var(--text-3); transition: translate .25s var(--ease-out), color .2s; }
.dropdown-menu > a:hover > .icon { color: var(--accent); translate: 2px -2px; }
.dropdown-menu strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.dropdown-menu small { display: block; font-size: 13.5px; font-weight: 400; color: var(--text-3); }
.dropdown-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.header-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.header-actions .button { min-height: 42px; padding: 0 16px; font-size: 15px; border-radius: 11px; }
.header-support { font-size: 15px; font-weight: 500; color: var(--text-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.header-support:hover { color: var(--ink); }
.language-menu { position: relative; flex: none; font-size: 14px; }
.language-menu > summary { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 52px; min-height: 44px; padding: 0 8px; border-radius: 8px; cursor: pointer; list-style: none; color: var(--text-2); }
.language-menu > summary::-webkit-details-marker { display: none; }
.language-menu > summary:hover, .language-menu[open] > summary { color: var(--accent-ink); background: var(--surface); }
.language-menu > nav { position: absolute; right: 0; top: calc(100% + 8px); z-index: 10; min-width: 148px; padding: 6px; background: var(--bg); border-radius: 12px; box-shadow: var(--shadow); }
.language-menu nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.language-menu nav a:hover { background: var(--surface); }
.language-menu [aria-current] { color: var(--accent-ink); font-weight: 600; background: var(--accent-soft); }
.section-heading h2, .faq-item summary { overflow-wrap: anywhere; hyphens: auto; }
.mobile-toggle, .nav-mobile-cta { display: none; }

/* ---------- Hero background ---------- */
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(to right, rgb(40 70 140 / .07) 1px, transparent 1px), linear-gradient(to bottom, rgb(40 70 140 / .07) 1px, transparent 1px); background-size: 56px 56px; background-position: center top; mask-image: radial-gradient(ellipse 70% 60% at 50% 22%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 22%, #000 30%, transparent 75%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb-one { width: 520px; height: 520px; top: -160px; left: calc(50% - 620px); background: radial-gradient(circle, #8fb0ff, transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.orb-two { width: 480px; height: 480px; top: 40px; right: calc(50% - 640px); background: radial-gradient(circle, #c3b2ff, transparent 70%); animation: drift 22s ease-in-out infinite alternate-reverse; }

/* ---------- Home hero ---------- */
.hero { position: relative; isolation: isolate; padding-top: clamp(48px, 6vw, 84px); overflow: hidden; }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-copy > * { animation: rise .9s var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.announcement { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 5px 14px 5px 5px; border: 1px solid var(--border); border-radius: 100px; background: rgb(255 255 255 / .8); box-shadow: var(--shadow-s); font-size: 14px; font-weight: 500; color: var(--text-2); transition: border-color .2s, box-shadow .2s; }
.announcement:hover { border-color: var(--accent-line); box-shadow: 0 6px 18px -8px rgb(40 100 255 / .4); }
.announcement .icon { transition: translate .25s var(--ease-out); }
.announcement:hover .icon { translate: 3px 0; }
.announcement-new { padding: 4px 10px; border-radius: 100px; background: var(--gradient); color: #fff; font-size: 12.5px; font-weight: 600; }
.hero h1 { max-width: 1120px; margin-bottom: 26px; font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.15; letter-spacing: -.035em; }
.rotator { display: inline-grid; vertical-align: bottom; text-align: left; transition: width .65s var(--ease-out); }
.rotator-word { grid-area: 1 / 1; justify-self: start; padding-bottom: .12em; margin-bottom: -.12em; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; translate: 0 .35em; filter: blur(6px); transition: opacity .55s var(--ease-out), translate .65s var(--ease-out), filter .55s var(--ease-out); white-space: nowrap; }
.rotator-word.is-active { opacity: 1; translate: 0 0; filter: none; }
.rotator-word.is-leaving { opacity: 0; translate: 0 -.35em; filter: blur(6px); }
.hero-description { max-width: 660px; margin-bottom: 34px; font-size: clamp(1.0625rem, .95rem + .45vw, 1.3rem); line-height: 1.6; }
.hero-copy .button-row { justify-content: center; }
.hero-copy .button { min-height: 54px; padding-inline: 26px; font-size: 16.5px; }
.hero-footnote { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--text-2); }
.hero-footnote li { display: inline-flex; align-items: center; gap: 7px; }
.hero-footnote .icon { color: var(--ok); }

.hero-stage { position: relative; margin: clamp(48px, 6vw, 76px) auto 0; max-width: 1180px; perspective: 2200px; animation: stage-in 1.2s .3s var(--ease-out) both; }
.hero-stage::before { content: ''; position: absolute; inset: 6% 4% -4%; z-index: -1; border-radius: 40px; background: var(--gradient); filter: blur(80px); opacity: .32; }
.hero-tilt { transform-origin: 50% 0; }
.hero-stage-note { margin: 18px 0 0; text-align: center; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-3); }


/* ---------- Product screenshots ---------- */
.product-shot { margin: 0; min-width: 0; }
.shot-trigger { position: relative; display: block; overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); cursor: zoom-in; isolation: isolate; transition: box-shadow .3s, border-color .3s; }
.shot-trigger:hover { border-color: #aebfe0; box-shadow: var(--shadow-l); }
.shot-trigger > img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; }
.shot-bar { display: flex; align-items: center; gap: 14px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--border); background: linear-gradient(#fafbfd, #f3f5f9); }
.shot-dots { display: flex; gap: 6px; flex: none; }
.shot-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e7837b; }
.shot-dots i:nth-child(2) { background: #e9c171; }
.shot-dots i:nth-child(3) { background: #8fca85; }
.shot-title { flex: 1; margin-right: 44px; text-align: center; font-size: 12.5px; font-weight: 500; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-expand { position: absolute; right: 14px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 7px 13px; border: 1px solid var(--accent-line); border-radius: 10px; background: rgb(255 255 255 / .96); box-shadow: var(--shadow-s); font-size: 13.5px; font-weight: 600; color: var(--accent-ink); opacity: 0; translate: 0 6px; transition: opacity .25s, translate .25s var(--ease-out); }
.shot-trigger:hover .shot-expand, .shot-trigger:focus-visible .shot-expand, .shot-crop:hover .shot-expand, .shot-crop:focus-visible .shot-expand { opacity: 1; translate: 0 0; }
.product-shot figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; font-size: 13.5px; color: var(--text-3); }
.product-shot figcaption > span:first-child { font-weight: 600; color: var(--text-2); }
.product-shot-hero .shot-trigger { border-radius: 20px; box-shadow: var(--shadow-l); }
.product-shot-hero .shot-bar { height: 38px; }

/* A region of a 1440 × 900 screenshot. Sizes are in screenshot pixels. */
.shot-crop { position: relative; display: block; overflow: hidden; aspect-ratio: var(--w) / var(--h); border: 1px solid var(--border-strong); border-radius: 14px; background: #fff; box-shadow: var(--shadow); cursor: zoom-in; }
.shot-crop > img { position: absolute; max-width: none; width: calc(1440 / var(--w) * 100%); height: auto; left: calc(var(--x) / var(--w) * -100%); top: calc(var(--y) / var(--h) * -100%); }

/* ---------- Stack marquee ---------- */
.stack-strip { padding: clamp(56px, 6vw, 80px) 0 8px; }
.stack-strip h2 { margin: 0 0 24px; text-align: center; font-family: var(--font); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--text-3); }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; flex: none; gap: 12px; margin: 0; padding: 4px 6px 4px 6px; list-style: none; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border: 1px solid var(--border); border-radius: 100px; background: #fff; font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--text-2); white-space: nowrap; box-shadow: var(--shadow-s); }
.marquee-track li .icon { color: var(--accent); }

/* ---------- Galleries ---------- */
.product-gallery { min-width: 0; }
.screen-tabs { display: flex; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 28px; padding: 6px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow-x: auto; scrollbar-width: none; }
.screen-tabs::-webkit-scrollbar { display: none; }
.screen-tabs > button { display: flex; align-items: center; gap: 9px; flex: none; min-height: 46px; padding: 0 18px; border-radius: 11px; font-size: 15px; font-weight: 500; color: var(--text-2); white-space: nowrap; transition: color .2s, background-color .2s, box-shadow .2s; }
.screen-tabs > button .icon { color: var(--text-3); transition: color .2s; }
.screen-tabs > button:hover { color: var(--ink); background: rgb(255 255 255 / .6); }
.screen-tabs > button[aria-selected=true] { background: #fff; color: var(--accent-ink); box-shadow: var(--shadow-s); }
.screen-tabs > button[aria-selected=true] .icon { color: var(--accent); }
.screen-stage { min-width: 0; }
.screen-panel { min-width: 0; border-radius: var(--radius); }
.screen-panel:not([hidden]) { animation: panel-in .55s var(--ease-out); }
.screen-panel-caption { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 20px; padding: 22px 26px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.screen-panel-caption strong { display: block; margin-bottom: 4px; font-size: 18px; font-weight: 600; color: var(--ink); }
.screen-panel-caption p { margin: 0; font-size: 15.5px; }
.screen-panel-caption > .text-link { flex: none; font-size: 15px; }
.screens-source-note { margin: 18px 0 0; text-align: center; font-size: 13.5px; color: var(--text-3); }
.soft-section .screen-tabs { background: #fff; }
.soft-section .screen-tabs > button[aria-selected=true] { background: var(--accent-soft); box-shadow: none; }

.gallery-steps { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: 40px; align-items: start; }
.screen-steps { position: relative; display: grid; gap: 6px; }
.screen-steps > button { position: relative; display: flex; gap: 16px; padding: 18px 20px; border: 1px solid transparent; border-radius: 16px; text-align: left; color: var(--dark-text); transition: background-color .25s, border-color .25s; }
.screen-steps > button::before { content: ''; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--gradient); opacity: 0; scale: 1 .3; transition: opacity .3s, scale .4s var(--ease-out); }
.screen-steps > button:hover { background: rgb(255 255 255 / .04); }
.screen-steps > button[aria-selected=true] { background: rgb(255 255 255 / .07); border-color: var(--dark-border); }
.screen-steps > button[aria-selected=true]::before { opacity: 1; scale: 1 1; }
.step-number { font-family: var(--font-mono); font-size: 13px; font-weight: 500; line-height: 1.9; color: #6f7ea3; }
.screen-steps > button[aria-selected=true] .step-number { color: #8fb0ff; }
.step-text strong { display: block; font-size: 17.5px; font-weight: 600; color: #e6ebf7; }
.step-text small { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: #8d99b6; }
.gallery-steps .shot-trigger { border-color: rgb(255 255 255 / .14); box-shadow: 0 40px 90px -30px rgb(40 100 255 / .55), 0 0 0 6px rgb(255 255 255 / .03); }

/* ---------- Bento ---------- */
.bento-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bento-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-l); background: linear-gradient(180deg, #fff 0%, var(--surface) 100%); transition: border-color .3s, box-shadow .3s, translate .4s var(--ease-out); }
.bento-card:hover { border-color: var(--accent-line); box-shadow: var(--shadow); translate: 0 -3px; }
.bento-wide { grid-column: span 2; }
.bento-text { position: relative; z-index: 1; padding: 30px 30px 24px; }
.bento-text h3 { margin: 18px 0 8px; font-size: 21px; }
.bento-text p { max-width: 470px; margin: 0; font-size: 16px; line-height: 1.6; }
.bento-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #fff; border: 1px solid var(--border); color: var(--accent-ink); box-shadow: var(--shadow-s); }
.bento-visual { position: relative; z-index: 1; margin-top: auto; height: 290px; padding-left: 30px; overflow: hidden; }
.bento-wide .bento-visual { height: 340px; }
.bento-visual .shot-crop { border-radius: 14px 0 0 0; border-right: 0; border-bottom: 0; box-shadow: 0 -10px 40px -18px rgb(20 44 110 / .3); transition: translate .5s var(--ease-out); }
.bento-card:hover .bento-visual .shot-crop { translate: -4px -6px; }
.bento-narrow .bento-visual { padding: 0 30px; display: flex; justify-content: center; }
.bento-narrow .shot-crop { align-self: flex-start; width: 100%; max-width: calc(var(--w) * 1px); border-radius: 14px 14px 0 0; border: 1px solid var(--border-strong); border-bottom: 0; }

[data-spotlight] { --mx: 50%; --my: 0%; }
[data-spotlight]::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(420px circle at var(--mx) var(--my), rgb(40 100 255 / .09), transparent 60%); opacity: 0; transition: opacity .4s; }
[data-spotlight]:hover::before { opacity: 1; }

/* ---------- Dark section ---------- */
.section-dark { background: var(--dark); color: var(--dark-text); overflow: hidden; isolation: isolate; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #95a2bf; }
.section-dark .eyebrow { color: #93b1ff; }
.section-dark .eyebrow::before { box-shadow: 0 0 0 4px rgb(120 150 255 / .2); }
.section-dark .text-link { color: #9fbaff; }
.section-dark .text-link:hover { color: #fff; }
.dark-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(700px 420px at 85% 15%, rgb(60 90 255 / .28), transparent 70%), radial-gradient(600px 400px at 5% 90%, rgb(140 90 255 / .2), transparent 70%); }
.dark-glow::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(to right, rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(to bottom, rgb(255 255 255 / .04) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, #000, transparent 60%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); }
.workflow-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 48px 0 0; padding: 0; list-style: none; }
.workflow-chips li { padding: 9px 16px; border: 1px solid var(--dark-border); border-radius: 100px; background: rgb(255 255 255 / .03); font-family: var(--font-mono); font-size: 13.5px; color: #b7c3dd; }

/* ---------- Scenarios ---------- */
.scenario-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.scenario-card { position: relative; display: flex; flex-direction: column; padding: 32px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-l); background: #fff; transition: border-color .3s, box-shadow .3s, translate .4s var(--ease-out); }
.scenario-card:hover { border-color: var(--accent-line); box-shadow: var(--shadow); translate: 0 -4px; }
.scenario-card > * { position: relative; z-index: 1; }
.scenario-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 26px; border-radius: 16px; background: linear-gradient(135deg, #eef3ff, #f1ecff); color: var(--accent-ink); }
.scenario-card h3 { margin-bottom: 10px; font-size: 21px; }
.scenario-card p { margin-bottom: 26px; font-size: 16px; line-height: 1.65; }
.scenario-card .text-link { margin-top: auto; font-size: 15px; }

/* ---------- Developers & code ---------- */
.developers-section { background: linear-gradient(180deg, #fff, var(--surface)); }
.developers-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.developers-layout h2 { margin-bottom: 20px; }
.dev-steps { display: grid; gap: 14px; margin: 30px 0 34px; padding: 0; list-style: none; font-size: 16.5px; font-weight: 500; color: var(--ink); }
.dev-steps li { display: flex; align-items: center; gap: 14px; }
.dev-steps span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--accent-line); border-radius: 10px; background: var(--accent-soft); font-family: var(--font-mono); font-size: 13.5px; color: var(--accent-ink); flex: none; }
.code-window { position: relative; min-width: 0; overflow: hidden; border: 1px solid #1d2742; border-radius: 20px; background: #0c1222; color: #c9d4ea; box-shadow: var(--shadow-l); }
.code-window-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 10px; border-bottom: 1px solid rgb(255 255 255 / .07); background: rgb(255 255 255 / .025); }
.code-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.code-tabs > button { min-height: 38px; padding: 0 14px; border-radius: 9px; font-family: var(--font-mono); font-size: 13.5px; font-weight: 500; color: #8592b0; white-space: nowrap; transition: color .2s, background-color .2s; }
.code-tabs > button:hover { color: #dfe6f5; }
.code-tabs > button[aria-selected=true] { background: rgb(255 255 255 / .09); color: #fff; }
.code-copy { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 12px; border-radius: 9px; font-size: 13.5px; font-weight: 500; color: #9aa7c4; flex: none; }
.code-copy:hover { color: #fff; background: rgb(255 255 255 / .07); }
.code-panel { position: relative; }
.code-panel:not([hidden]) { animation: fade-in .35s ease; }
.code-language { position: absolute; bottom: 8px; right: 18px; pointer-events: none; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; color: #9aa9c4; }
.code-window pre { margin: 0; padding: 26px 26px 28px; overflow-x: auto; font-size: 14.5px; line-height: 1.8; white-space: pre; tab-size: 2; }
.code-purple { color: #c792ea; }
.code-green { color: #9fe0a0; }
.code-blue { color: #82aaff; }
.code-orange { color: #f7a26c; }
.code-comment { color: #9aa9c4; font-style: italic; }
.code-window-bottom { display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-top: 1px solid rgb(255 255 255 / .07); font-size: 14px; color: #8794b2; }
.code-window-bottom .icon { color: #4fd08f; }

/* ---------- Pricing ---------- */
.pricing-controls { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px; }
.billing-periods { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:min(100%,420px); gap:4px; padding:4px; border:1px solid var(--border); border-radius:14px; background:var(--surface); }
.currency-control { display:flex; align-items:center; gap:12px; font-size:14px; font-weight:500; color:var(--text-2); }
.currency-control select { min-height:44px; padding:8px 12px; border:1px solid var(--border); border-radius:10px; background:#fff; color:var(--ink); font:inherit; }
.currency-control select:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.pricing-status { display:flex; align-items:center; flex-wrap:wrap; gap:8px 20px; margin:0 0 24px; font-size:14px; color:var(--text-2); }
.pricing-status p { flex-basis:100%; margin:0; }
.pricing-status button { min-height:44px; padding:8px 0; border:0; background:none; font:inherit; cursor:pointer; }
.pricing-payment-note { margin:0 0 24px; font-size:14px; color:var(--text-2); }
[data-pricing-summary] .pricing-status, [data-pricing-summary] .pricing-payment-note { margin:12px 0 0; }
.billing-periods button { display:flex; flex-direction:column; align-items:center; justify-content:center; min-width:0; min-height:54px; padding:8px; border:0; border-radius:10px; font:inherit; font-size:14px; font-weight:600; color:var(--text-2); background:transparent; cursor:pointer; }
.billing-periods button[aria-pressed="true"] { background:white; color:var(--ink); box-shadow:var(--shadow-sm); }
.billing-periods button:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.billing-discount { color:var(--accent-ink); font-size:12px; }
.plan-original { color:var(--text-3); font-size:16px; }
.plan-original[hidden], .plan-saving[hidden] { display:none; }
.plan-price { gap:6px; flex-wrap:wrap; }
.plan-saving { margin:-12px 0 22px; font-size:14px; color:var(--accent-ink); }
.plan-extra-rate { grid-column:1/-1; margin:0; font-size:13px; color:var(--text-3); }

.home-pricing { background: var(--surface); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 14px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 30px 26px 28px; border: 1px solid var(--border); border-radius: 22px; background: #fff; transition: box-shadow .3s, translate .4s var(--ease-out); }
.plan-card:hover { box-shadow: var(--shadow); translate: 0 -3px; }
.plan-card.featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--gradient) border-box; box-shadow: 0 24px 60px -24px rgb(40 100 255 / .45); }
.plan-badge { position: absolute; top: -14px; left: 24px; padding: 5px 12px; border-radius: 100px; background: var(--gradient); color: #fff; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 8px 18px -8px rgb(40 100 255 / .7); }
.plan-top h3 { margin-bottom: 6px; font-family: var(--font-display); font-size: 22px; letter-spacing: -.03em; }
.plan-top p { margin-bottom: 26px; font-size: 15px; }
.plan-price { display: flex; align-items: center; min-height: 44px; margin-bottom: 4px; font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -.04em; line-height: 1.2; color: var(--ink); }
.plan-price .price-period { margin-left: .3em; font-family: var(--font); font-size: 14.5px; font-weight: 400; letter-spacing: 0; color: var(--text-3); white-space: nowrap; }
.plan-note { margin-bottom: 24px; font-size: 14.5px; color: var(--text-3); }
.plan-threads { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 14px; margin-bottom: 22px; }
.plan-threads label { font-size: 14.5px; font-weight: 500; color: var(--text-2); }
.plan-threads input[type="number"] { width: 92px; min-height: 40px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
.plan-threads input[type="range"] { grid-column: 1 / -1; width: 100%; accent-color: var(--accent); }
.plan-threads input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.plan-card .button { width: 100%; justify-content: space-between; min-height: 48px; font-size: 15px; }
.plan-divider { height: 1px; margin: 26px 0 20px; background: var(--border); }
.plan-includes { margin-bottom: 14px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.plan-card ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.plan-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.plan-card li .icon { margin-top: 3px; color: var(--accent); }
.pricing-disclosure { margin: 28px 0 0; text-align: center; font-size: 14px; color: var(--text-3); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 110px); }
.faq-layout .section-heading > p { font-size: 1.0625rem; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; list-style: none; cursor: pointer; font-size: 18px; font-weight: 600; line-height: 1.45; color: var(--ink); transition: color .2s; }
.faq-item summary:hover { color: var(--accent-ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border: 1px solid var(--border); border-radius: 50%; color: var(--text-2); transition: rotate .3s var(--ease-out), background-color .2s, color .2s, border-color .2s; }
.faq-item[open] summary > span { rotate: 45deg; background: var(--accent); border-color: var(--accent); color: #fff; }
.faq-item::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease-out), content-visibility .4s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
.faq-answer { padding: 0 56px 24px 0; }
.faq-answer p { margin: 0; font-size: 16.5px; line-height: 1.7; }
.faq-contact { margin-top: 28px; }

/* ---------- CTA ---------- */
.cta-section { padding: 0 0 clamp(72px, 8vw, 112px); }
.cta-box { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 380px; padding: clamp(40px, 6vw, 76px); overflow: hidden; border-radius: 32px; background: radial-gradient(800px 400px at 90% 0%, rgb(170 140 255 / .55), transparent 60%), linear-gradient(120deg, #1d4cf5 0%, #2864ff 45%, #5b5cff 100%); color: #fff; box-shadow: 0 40px 90px -40px rgb(40 100 255 / .7); }
.cta-box::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(to right, rgb(255 255 255 / .08) 1px, transparent 1px), linear-gradient(to bottom, rgb(255 255 255 / .08) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 75% 50%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 75% 50%, #000, transparent 70%); }
.cta-copy { position: relative; z-index: 1; max-width: 600px; }
.cta-box h2 { margin-bottom: 18px; color: #fff; font-size: clamp(2rem, 1.2rem + 2.5vw, 3.4rem); }
.cta-box p { margin-bottom: 30px; font-size: 1.125rem; color: rgb(255 255 255 / .82); }
.cta-box .eyebrow { color: #fff; }
.cta-box .eyebrow::before { background: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / .2); }
.cta-art { position: absolute; top: 50%; right: 7%; width: 380px; height: 380px; translate: 0 -50%; display: grid; place-items: center; }
.cta-art img { position: relative; z-index: 1; filter: drop-shadow(0 24px 30px rgb(10 20 80 / .45)); animation: float 6s ease-in-out infinite; }
.orbit { position: absolute; border: 1px solid rgb(255 255 255 / .28); border-radius: 50%; width: 200px; height: 200px; animation: spin 26s linear infinite; }
.orbit-two { width: 300px; height: 300px; animation-duration: 38s; animation-direction: reverse; border-style: dashed; border-color: rgb(255 255 255 / .2); }
.orbit-three { width: 400px; height: 400px; animation-duration: 60s; border-color: rgb(255 255 255 / .12); }
.orbit::before { content: ''; position: absolute; top: 8%; left: 12%; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 16px 4px rgb(255 255 255 / .5); }
.orbit-two::before { top: auto; bottom: 10%; left: auto; right: 8%; width: 8px; height: 8px; background: #c9d8ff; }
.orbit-three::before { top: 50%; left: -4px; width: 7px; height: 7px; background: #d9cbff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #8f9bb8; }
.site-footer .brand { color: #fff; }
.footer-main { display: grid; grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p { margin-bottom: 20px; font-size: 15px; line-height: 1.65; color: #a8b3ca; }
.footer-support { font-size: 14px; color: #c2cbe0; overflow-wrap: anywhere; }
.footer-status { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--dark-border); border-radius: 100px; font-size: 13.5px; color: #b4bfd6; }
.footer-main h3 { margin: 6px 0 18px; font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.footer-group ul { list-style: none; margin: 0; padding: 0; }
.footer-group li + li { margin-top: 8px; }
.footer-group a { display: block; padding-block: 4px; font-size: 14.5px; line-height: 1.5; color: #a8b3ca; transition: color .2s; }
.footer-group a:hover, .footer-support:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; border-top: 1px solid var(--dark-border); font-size: 14px; color: #a8b3ca; }
.footer-bottom > a { color: #b4bfd6; }
.footer-bottom > a:hover { color: #fff; }
.footer-languages { display: flex; gap: 24px; }
.footer-languages a { display: inline-flex; align-items: center; min-height: 44px; color: #a8b3ca; }
.footer-languages a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.footer-translation { padding-bottom: 28px; }
.footer-translation p { margin: 0; max-width: 800px; font-size: 13px; line-height: 1.7; color: #a8b3ca; }
.footer-translation a { text-decoration: underline; text-underline-offset: 3px; color: #c2cbe0; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; max-width: calc(100% - 32px); padding: 13px 20px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 15px; box-shadow: var(--shadow-l); translate: -50% 0; animation: rise .4s var(--ease-out); }

/* ---------- Feature pages ---------- */
.detail-hero { position: relative; isolation: isolate; padding: 28px 0 clamp(72px, 8vw, 112px); overflow: hidden; }
.breadcrumb { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 48px; font-size: 14.5px; font-weight: 500; color: var(--text-3); }
.breadcrumb:hover { color: var(--accent-ink); }
.detail-hero-copy { display: flex; flex-direction: column; align-items: center; max-width: 920px; margin: 0 auto; text-align: center; }
.detail-hero-copy > * { animation: rise .9s var(--ease-out) both; }
.detail-hero-copy > :nth-child(2) { animation-delay: .06s; }
.detail-hero-copy > :nth-child(3) { animation-delay: .12s; }
.detail-hero-copy > :nth-child(4) { animation-delay: .18s; }
.detail-hero-copy > :nth-child(5) { animation-delay: .24s; }
.detail-hero h1 { margin-bottom: 24px; font-size: clamp(2rem, 1.1rem + 3vw, 3.75rem); line-height: 1.08; }
.detail-hero-copy > p { max-width: 720px; margin-bottom: 32px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.65; }
.detail-hero .button-row { justify-content: center; }
.feature-screen-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.feature-screen-tags li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border: 1px solid var(--border); border-radius: 100px; background: rgb(255 255 255 / .8); font-size: 14px; font-weight: 500; color: var(--text-2); }
.feature-screen-tags .icon { color: var(--ok); }
.feature-real-visual { position: relative; max-width: 1120px; margin: clamp(48px, 6vw, 72px) auto 0; animation: stage-in 1.2s .25s var(--ease-out) both; }
.feature-real-visual::before { content: ''; position: absolute; inset: 8% 6% -4%; z-index: -1; border-radius: 40px; background: var(--gradient); filter: blur(80px); opacity: .26; }
.product-shot-feature .shot-trigger { border-radius: 20px; box-shadow: var(--shadow-l); }
.product-shot-feature figcaption { justify-content: center; gap: 12px; }

.detail-benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.detail-benefit-grid > article { position: relative; overflow: hidden; padding: 34px 34px 32px; border: 1px solid var(--border); border-radius: var(--radius-l); background: linear-gradient(180deg, #fff, var(--surface)); transition: border-color .3s, box-shadow .3s; }
.detail-benefit-grid > article:hover { border-color: var(--accent-line); box-shadow: var(--shadow); }
.detail-benefit-grid > article > * { position: relative; z-index: 1; }
.detail-benefit-number { display: inline-block; margin-bottom: 22px; padding: 4px 10px; border-radius: 8px; background: var(--accent-soft); font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--accent-ink); }
.detail-benefit-grid h3 { margin-bottom: 12px; font-size: 22px; }
.detail-benefit-grid p { margin: 0; font-size: 16.5px; line-height: 1.7; }

.table-scroll { margin-top: 40px; overflow: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); }
.comparison-table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: left; font-size: 16px; }
.comparison-table th, .comparison-table td { padding: 20px 26px; border-bottom: 1px solid var(--border); vertical-align: top; }
.comparison-table thead th { background: var(--surface); font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.comparison-table tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.comparison-table td { line-height: 1.6; color: var(--text-2); }
.comparison-table tbody tr { transition: background-color .2s; }
.comparison-table tbody tr:hover { background: #fafbfe; }
.comparison-table tr:last-child > th, .comparison-table tr:last-child > td { border-bottom: 0; }
.table-tag { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--surface-2); font-size: 14px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.table-tag.is-native { background: var(--accent-soft); color: var(--accent-ink); }
.support-note { max-width: 860px; margin-top: 20px; font-size: 15px; line-height: 1.7; color: var(--text-3); }

.trail-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.trail-card { margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-l); background: #fff; }
.trail-card svg { display: block; width: 100%; height: auto; background-image: radial-gradient(#d4dcea 1px, transparent 1px); background-size: 18px 18px; border-bottom: 1px solid var(--border); }
.trail-card figcaption { padding: 22px 26px 26px; }
.trail-card strong { display: block; margin-bottom: 4px; font-size: 18px; font-weight: 600; color: var(--ink); }
.trail-card span { font-size: 15.5px; color: var(--text-2); }
.trail-card.is-human { border-color: var(--accent-line); box-shadow: 0 24px 60px -30px rgb(40 100 255 / .45); }
.trail-target { fill: rgb(40 100 255 / .1); stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 4; }
.trail-path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; opacity: .5; stroke-dasharray: 6 7; }
.trail-path.is-straight { stroke: #9aa6be; stroke-dasharray: 2 8; }
.trail-cursor path { fill: var(--ink); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }

.related-section { padding-top: 0; }
.related-section h2 { margin-bottom: 32px; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); }
.related-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.related-links > a { display: flex; align-items: center; gap: 12px; padding: 20px 18px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 16px; font-weight: 600; color: var(--ink); transition: border-color .25s, background-color .25s, translate .3s var(--ease-out); }
.related-links > a > .icon:first-child { color: var(--accent); }
.related-links > a > .icon:last-child { margin-left: auto; color: var(--text-3); transition: translate .25s var(--ease-out), color .2s; }
.related-links > a:hover { border-color: var(--accent-line); background: #f9fbff; translate: 0 -2px; }
.related-links > a:hover > .icon:last-child { color: var(--accent); translate: 2px -2px; }

/* ---------- Inner page intro ---------- */
.page-intro { position: relative; isolation: isolate; padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(48px, 5vw, 72px); text-align: center; }
.page-intro::before { content: ''; position: absolute; inset: -80px 0 0; z-index: -1; background: radial-gradient(600px 300px at 30% 10%, rgb(143 176 255 / .35), transparent 70%), radial-gradient(520px 280px at 72% 20%, rgb(195 178 255 / .3), transparent 70%); pointer-events: none; }
.page-intro > * { animation: rise .9s var(--ease-out) both; }
.page-intro > :nth-child(2) { animation-delay: .07s; }
.page-intro > :nth-child(3) { animation-delay: .14s; }
.page-intro .eyebrow { justify-content: center; }
.page-intro h1 { margin-bottom: 24px; font-size: clamp(2.1rem, 1.2rem + 3.2vw, 4rem); line-height: 1.08; }
.page-intro h1 > span, .not-found h1 > span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.page-intro p { max-width: 680px; margin-inline: auto; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.65; }
.not-found { padding-block: 120px; }

.pricing-section { padding-bottom: 96px; }
.pricing-help { display: flex; align-items: center; gap: 22px; margin-top: 40px; padding: 26px 30px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.pricing-help > .icon { color: var(--accent); }
.pricing-help h3 { margin-bottom: 4px; font-size: 18px; }
.pricing-help p { margin: 0; font-size: 15.5px; }
.pricing-help .button { margin-left: auto; }
.pricing-capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pricing-capabilities > a { position: relative; overflow: hidden; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius-l); background: #fff; transition: border-color .3s, box-shadow .3s, translate .4s var(--ease-out); }
.pricing-capabilities > a > * { position: relative; z-index: 1; }
.pricing-capabilities > a:hover { border-color: var(--accent-line); box-shadow: var(--shadow); translate: 0 -3px; }
.pricing-capabilities .scenario-icon { margin-bottom: 22px; }
.pricing-capabilities h3 { margin-bottom: 10px; font-size: 20px; }
.pricing-capabilities p { margin: 0; font-size: 15.5px; line-height: 1.65; }
.capability-arrow { position: absolute !important; top: 30px; right: 28px; color: var(--text-3); transition: translate .25s var(--ease-out), color .2s; }
.pricing-capabilities > a:hover .capability-arrow { color: var(--accent); translate: 2px -2px; }

/* ---------- Documentation ---------- */
.code-block { margin: 26px 0; overflow: hidden; border: 1px solid #1d2742; border-radius: 16px; background: #0c1222; }
.code-block > div { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 8px 18px; border-bottom: 1px solid rgb(255 255 255 / .07); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: #5f6e8f; }
.code-block button { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px; border-radius: 9px; font-family: var(--font); font-size: 13.5px; font-weight: 500; letter-spacing: 0; color: #9aa7c4; }
.code-block button:hover { color: #fff; background: rgb(255 255 255 / .07); }
.code-block pre { margin: 0; padding: 22px; overflow: auto; font-size: 14.5px; line-height: 1.8; color: #c9d4ea; }
.code-block code { font-family: var(--font-mono); white-space: pre; }

.page-docs { background: #fff; }
.docs-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; max-width: 1380px; margin: 0 auto; padding: 38px var(--gutter) 104px; }
.docs-shell-article { grid-template-columns: 248px minmax(0, 1fr) 196px; max-width: 1440px; }
.docs-main { min-width: 0; max-width: 920px; }
.docs-shell-article .docs-main { max-width: 820px; }
.docs-side { position: sticky; top: calc(var(--header) + 26px); max-height: calc(100dvh - var(--header) - 44px); overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
.docs-aside { position: sticky; top: calc(var(--header) + 30px); max-height: calc(100dvh - var(--header) - 52px); overflow-y: auto; padding-right: 4px; }
.docs-search-trigger { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text-2); font-size: 14px; text-align: left; transition: border-color .2s, background-color .2s; }
.docs-search-trigger:hover { border-color: var(--accent-line); background: #f9fbff; }
.docs-search-trigger kbd { margin-left: auto; padding: 2px 6px; border: 1px solid var(--border); border-radius: 5px; background: #fff; font-family: var(--font-mono); font-size: 10.5px; color: var(--text-3); }
.docs-search-trigger.is-large { width: min(100%, 420px); min-height: 50px; margin-top: 26px; padding-inline: 16px; font-size: 15px; background: #fff; }
.docs-nav { display: grid; gap: 1px; margin-top: 22px; }
.docs-nav-home { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.docs-nav-home:hover { background: var(--surface); }
.docs-nav-home[aria-current="page"] { background: var(--accent-soft); color: var(--accent-ink); }
.docs-nav-group { border-top: 1px solid var(--border); }
.docs-nav-group summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 10px; border-radius: 8px; list-style: none; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.docs-nav-group summary::-webkit-details-marker { display: none; }
.docs-nav-group summary:hover { background: var(--surface); }
.docs-nav-group summary .icon { color: var(--text-3); transition: rotate .2s var(--ease-out); }
.docs-nav-group[open] summary .icon { rotate: 180deg; }
.docs-nav-list { display: grid; gap: 1px; padding: 0 0 9px 9px; }
.docs-nav-list a { display: block; padding: 6px 10px; border-radius: 7px; font-size: 13.8px; line-height: 1.35; color: var(--text-2); }
.docs-nav-list a:hover { color: var(--accent-ink); background: var(--surface); }
.docs-nav-list a[aria-current="page"] { color: var(--accent-ink); background: var(--accent-soft); font-weight: 600; }
.docs-nav-overview { font-family: var(--font-mono); font-size: 11.5px !important; letter-spacing: .02em; color: var(--text-3) !important; }
.docs-mobile-nav { display: none; }
.docs-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 26px; font-size: 13px; line-height: 1.4; color: var(--text-3); }
.docs-breadcrumbs a { color: var(--text-2); }
.docs-breadcrumbs a:hover { color: var(--accent-ink); }
.docs-breadcrumbs [aria-current="page"] { color: var(--text-3); }
.docs-kicker { margin-bottom: 14px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.docs-landing-head { padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.docs-landing-head h1 { margin-bottom: 18px; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); overflow-wrap: break-word; }
.docs-lead { max-width: 72ch; margin: 0; font-size: 18px; line-height: 1.65; color: var(--text-2); }
.docs-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.docs-section-head { padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.docs-section-head h1 { margin: 0 0 16px; font-size: clamp(2.2rem, 1.7rem + 2vw, 3.2rem); overflow-wrap: break-word; }
.docs-section-head .docs-meta { margin-top: 12px; }
.docs-article-head { position: relative; padding: 0 170px 22px 0; border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.docs-article-head h1 { max-width: 22ch; margin: 0 0 16px; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1.1; overflow-wrap: break-word; }
.docs-article-head .docs-lead { font-size: 17.5px; }
.docs-copy-page { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 13px; border: 1px solid var(--border); border-radius: 9px; background: #fff; font-size: 13px; font-weight: 500; color: var(--text-2); }
.docs-copy-page:hover { border-color: var(--accent-line); color: var(--accent-ink); background: var(--accent-soft); }
.docs-article-head > .docs-copy-page { z-index: 1; }
.docs-article-body { font-size: 16.5px; line-height: 1.72; color: var(--text); }
.docs-article-body > p { margin: 0 0 18px; color: var(--text-2); }
.docs-article-body h2 { margin: 42px 0 14px; font-family: var(--font); font-size: clamp(1.35rem, 1.2rem + .6vw, 1.6rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; scroll-margin-top: calc(var(--header) + 28px); }
.docs-article-body h3 { margin: 26px 0 8px; font-size: 1.08rem; font-weight: 600; line-height: 1.35; scroll-margin-top: calc(var(--header) + 28px); }
.docs-article-body ul, .docs-article-body ol { margin: 0 0 18px; padding-left: 24px; color: var(--text-2); }
.docs-article-body li { margin: 6px 0; padding-left: 2px; }
.docs-article-body li::marker { color: var(--accent); }
.docs-article-body p code, .docs-article-body li code, .docs-article-body td code, .docs-article-body th code { padding: 2px 6px; border-radius: 5px; background: var(--surface-2); font-family: var(--font-mono); font-size: .86em; color: var(--accent-ink); overflow-wrap: anywhere; }
.docs-article-body a { color: var(--accent-ink); text-decoration: underline; text-decoration-color: rgb(20 80 230 / .3); text-underline-offset: 3px; }
.docs-article-body a:hover { text-decoration-color: currentColor; }
.docs-article-body strong { color: var(--ink); font-weight: 600; }
.docs-steps { display: grid; gap: 0; margin: 26px 0 28px; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.docs-steps > li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--border); }
.docs-step-number { padding-top: 3px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--accent-ink); }
.docs-steps h3 { margin: 0 0 5px; font-size: 16px; }
.docs-steps p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text-2); }
.docs-callout { display: flex; align-items: flex-start; gap: 14px; margin: 26px 0; padding: 18px 20px; border: 1px solid var(--accent-line); border-radius: 12px; background: var(--accent-soft); }
.docs-callout-icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: #fff; color: var(--accent-ink); }
.docs-callout strong { display: block; margin-bottom: 4px; font-size: 14.5px; color: var(--ink); }
.docs-callout p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--text-2); }
.docs-callout-warning { border-color: #f0d7a6; background: #fff8e8; }
.docs-callout-warning .docs-callout-icon { color: #9a6410; }
.docs-callout-tip { border-color: #c9e8d5; background: #f0faf4; }
.docs-callout-tip .docs-callout-icon { color: var(--ok); }
.docs-code { margin: 24px 0; }
.docs-code-tabs { margin: 24px 0; }
.docs-table-wrap { margin: 24px 0; border: 1px solid var(--border); border-radius: 12px; }
.docs-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.docs-table caption { padding: 14px 18px; border-bottom: 1px solid var(--border); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); text-align: left; }
.docs-table th, .docs-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; line-height: 1.55; }
.docs-table thead th { background: var(--surface); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.docs-table tbody th { width: 28%; font-weight: 600; color: var(--ink); }
.docs-table tbody tr:last-child th, .docs-table tbody tr:last-child td { border-bottom: 0; }
.docs-figure { margin: 28px 0; }
.docs-shot-link { position: relative; display: block; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.docs-shot-link img { display: block; width: 100%; height: auto; }
.docs-shot-link:hover { border-color: var(--accent-line); }
.docs-shot-zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 7px; background: rgb(9 14 27 / .72); font-family: var(--font-mono); font-size: 11px; color: #fff; }
.docs-figure figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.55; color: var(--text-3); }
.docs-faq { margin: 26px 0; }
.docs-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 30px 0 8px; }
.docs-card { position: relative; display: block; padding: 18px 18px 20px; border: 1px solid var(--border); border-radius: 12px; background: #fff; transition: border-color .2s, translate .25s var(--ease-out); }
.docs-card:hover { border-color: var(--accent-line); translate: 0 -2px; }
.docs-card-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); }
.docs-card strong { display: block; margin-bottom: 6px; font-size: 15px; color: var(--ink); }
.docs-card > span:not(.docs-card-icon) { display: block; padding-right: 18px; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.docs-card-arrow { position: absolute; top: 16px; right: 16px; color: var(--accent); }
.docs-links { margin: 22px 0; padding: 0; list-style: none; }
.docs-links li { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.docs-links span { color: var(--text-3); }
.docs-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 44px 0 20px; }
.docs-pager-link { display: block; padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; transition: border-color .2s, background-color .2s; }
.docs-pager-link:hover { border-color: var(--accent-line); background: #f9fbff; }
.docs-pager-link > span { display: block; margin-bottom: 6px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.docs-pager-link strong { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.docs-pager-link small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--text-3); }
.docs-pager-back { rotate: 180deg; }
.docs-pager-link.is-next { text-align: right; }
.docs-pager-link.is-next strong { justify-content: flex-end; }
.docs-feedback { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 34px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.docs-feedback > p:first-child { margin: 0; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.docs-feedback-actions { display: flex; gap: 8px; }
.docs-feedback-actions button { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border: 1px solid var(--border); border-radius: 8px; background: #fff; font-size: 13.5px; color: var(--text-2); }
.docs-feedback-actions button:hover { border-color: var(--accent-line); color: var(--accent-ink); }
.docs-feedback-actions button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.docs-feedback-message { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--ok); }
.docs-feedback-mail { margin-left: auto; font-size: 13px; color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }
.docs-updated { margin: 8px 0 0; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); }
.docs-support { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 46px; padding: 22px 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.docs-support strong { display: block; margin-bottom: 4px; font-size: 16px; color: var(--ink); }
.docs-support p { margin: 0; font-size: 14.5px; color: var(--text-2); }
.docs-support .button { flex: none; }
.docs-toc > p { margin: 0 0 10px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--text-3); }
.docs-toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--border); }
.docs-toc li { margin: 0; }
.docs-toc a { display: block; margin-left: -1px; padding: 4px 0 4px 12px; border-left: 2px solid transparent; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.docs-toc a:hover { color: var(--accent-ink); }
.docs-toc a.is-active { border-color: var(--accent); color: var(--accent-ink); font-weight: 500; }
.docs-toc-h3 a { padding-left: 24px; font-size: 12.5px; color: var(--text-3); }
.docs-toc-mobile { display: none; }
.docs-toc-mobile summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink); list-style: none; cursor: pointer; }
.docs-toc-mobile summary::-webkit-details-marker { display: none; }
.docs-toc-mobile summary::after { content: ''; width: 8px; height: 8px; border-right: 1.5px solid var(--text-3); border-bottom: 1.5px solid var(--text-3); rotate: 45deg; }
.docs-toc-mobile[open] summary::after { rotate: -135deg; }
.docs-toc-mobile .docs-toc { padding: 0 16px 14px; }
.docs-search-dialog { width: min(660px, calc(100vw - 32px)); max-height: min(72vh, 640px); padding: 0; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-l); }
.docs-search-dialog::backdrop { background: rgb(9 14 27 / .45); backdrop-filter: blur(3px); }
.docs-search-form { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.docs-search-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.docs-search-form input { flex: 1; min-width: 0; padding: 8px 4px; border: 0; outline: 0; background: transparent; font-size: 18px; color: var(--ink); }
.docs-search-form input::-webkit-search-cancel-button { display: none; }
.docs-search-empty { margin: 0; padding: 22px 20px; font-size: 14.5px; color: var(--text-3); }
.docs-search-results { max-height: 50vh; margin: 0; padding: 8px; overflow-y: auto; list-style: none; }
.docs-search-results a { display: block; padding: 10px 12px; border-radius: 9px; }
.docs-search-results a:hover, .docs-search-results a:focus-visible { background: var(--accent-soft); }
.docs-search-results strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.docs-search-results small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-3); }
.docs-start { margin-top: 34px; }
.docs-start h2, .docs-sections h2 { margin: 0 0 14px; font-family: var(--font); font-size: 1.3rem; letter-spacing: -.02em; }
.docs-start-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.docs-start-grid a { display: grid; grid-template-columns: 38px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink); transition: border-color .2s, background-color .2s; }
.docs-start-grid a:hover { border-color: var(--accent-line); background: #f9fbff; }
.docs-start-grid a > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); }
.docs-start-grid a > .icon { color: var(--text-3); }
.docs-sections { margin-top: 46px; }
.docs-section-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.docs-section-card { display: grid; grid-template-columns: 42px minmax(0, 1fr) 18px; align-items: start; gap: 14px; padding: 18px; border: 1px solid var(--border); border-radius: 14px; transition: border-color .2s, translate .25s var(--ease-out); }
.docs-section-card:hover { border-color: var(--accent-line); translate: 0 -2px; }
.docs-section-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--surface); color: var(--accent-ink); }
.docs-section-card strong { display: block; margin-bottom: 4px; font-size: 16px; color: var(--ink); }
.docs-section-card p { margin: 0 0 8px; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.docs-section-card small { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.docs-section-card > .icon { margin-top: 3px; color: var(--text-3); }
.docs-article-list { margin: 30px 0 0; padding: 0; list-style: none; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.docs-article-list li + li { border-top: 1px solid var(--border); }
.docs-article-list a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 17px 20px; transition: background-color .2s; }
.docs-article-list a:hover { background: #f9fbff; }
.docs-article-list strong { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.docs-article-list small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--text-3); }
.docs-article-list-meta { display: flex; align-items: center; gap: 7px; flex: none; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; color: var(--text-3); white-space: nowrap; }
.docs-legacy { margin-top: 44px; padding: 20px 22px; border: 1px dashed var(--border-strong); border-radius: 14px; }
.docs-legacy h2 { margin: 0 0 8px; font-family: var(--font); font-size: 1.05rem; letter-spacing: -.01em; }
.docs-legacy p { margin: 0 0 12px; font-size: 14px; color: var(--text-2); }
.docs-legacy ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.docs-legacy a { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 12.5px; color: var(--text-2); }
.docs-legacy code { font-family: var(--font-mono); font-size: 12px; color: var(--accent-ink); }
.docs-legacy a span { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); overflow-wrap: anywhere; }

@media (max-width: 1300px) {
  .docs-shell-article { grid-template-columns: 236px minmax(0, 1fr); max-width: 1180px; }
  .docs-aside { display: none; }
  .docs-toc-mobile { display: block; margin: 0 0 10px; border: 1px solid var(--border); border-radius: 12px; }
  .docs-article-head h1 { max-width: none; }
}
@media (max-width: 980px) {
  .docs-shell, .docs-shell-article { grid-template-columns: minmax(0, 1fr); max-width: 760px; gap: 0; padding-top: 24px; }
  .docs-side { display: none; }
  .docs-mobile-nav { display: block; margin-bottom: 24px; border: 1px solid var(--border); border-radius: 12px; }
  .docs-mobile-nav > summary { display: flex; align-items: center; gap: 10px; padding: 12px 15px; list-style: none; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--ink); }
  .docs-mobile-nav > summary::-webkit-details-marker { display: none; }
  .docs-mobile-nav > summary .icon:last-child { margin-left: auto; color: var(--text-3); transition: rotate .2s var(--ease-out); }
  .docs-mobile-nav[open] > summary .icon:last-child { rotate: 180deg; }
  .docs-mobile-nav-body { max-height: min(70vh, 560px); overflow-y: auto; padding: 0 12px 12px; border-top: 1px solid var(--border); overscroll-behavior: contain; }
  .docs-mobile-nav-body .docs-search-trigger { margin: 12px 0 8px; }
  .docs-mobile-nav .docs-nav { margin-top: 10px; }
  .docs-main { max-width: none; }
  .docs-article-head h1 { font-size: clamp(1.9rem, 1.4rem + 3vw, 2.7rem); }
  .docs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .docs-shell, .docs-shell-article { padding-top: 18px; padding-bottom: 72px; }
  .docs-landing-head { padding-bottom: 26px; }
  .docs-landing-head h1 { font-size: clamp(1.9rem, 1.2rem + 4.5vw, 2.6rem); }
  .docs-lead { font-size: 16.5px; }
  .docs-article-head { padding: 0 0 18px; margin-bottom: 22px; }
  .docs-article-head h1 { font-size: clamp(1.7rem, 1.3rem + 4.5vw, 2.3rem); }
  .docs-section-head h1 { font-size: clamp(1.8rem, 1.3rem + 4.5vw, 2.4rem); }
  .docs-article-head .docs-copy-page { position: static; margin-bottom: 16px; }
  .docs-article-body { font-size: 16px; }
  .docs-article-body h2 { margin-top: 34px; }
  .docs-start-grid, .docs-section-grid, .docs-cards { grid-template-columns: minmax(0, 1fr); }
  .docs-article-list a { flex-direction: column; align-items: flex-start; gap: 8px; padding: 15px 16px; }
  .docs-article-list-meta { white-space: normal; }
  .docs-pager { grid-template-columns: minmax(0, 1fr); }
  .docs-pager-link.is-next { text-align: left; }
  .docs-pager-link.is-next strong { justify-content: flex-start; }
  .docs-feedback { align-items: flex-start; }
  .docs-feedback-mail { margin-left: 0; }
  .docs-support { flex-direction: column; align-items: flex-start; }
  .docs-support .button { width: 100%; justify-content: center; }
  .docs-table th, .docs-table td { padding: 11px 13px; }
  .docs-search-trigger kbd { display: none; }
}

/* ---------- Start ---------- */
.start-intro { padding-block: clamp(48px, 6vw, 80px) 44px; }
.start-intro h1 { margin-bottom: 20px; }
.start-intro h1 small { display: block; margin-top: 16px; font-family: var(--font-mono); font-size: 16px; font-weight: 500; letter-spacing: 0; line-height: 1.5; color: var(--accent-ink); }
.start-intro p { margin-bottom: 0; font-size: 17px; }
.start-downloads { max-width: 1184px; }
.download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.download-card { min-width: 0; padding: 36px 28px 24px; border: 1px solid var(--border); border-radius: var(--radius-l); background: linear-gradient(165deg, #fff 45%, var(--surface)); box-shadow: var(--shadow); text-align: center; }
.platform-icon { display: block; width: 44px; height: 44px; margin: 0 auto 24px; fill: var(--accent); }
.download-card h2 { margin-bottom: 10px; font-size: clamp(1.25rem, 2.1vw, 1.65rem); }
.download-card .download-detail { margin: 0; font-size: 14px; color: var(--text-3); }
.download-actions { margin-top: 26px; }
.download-actions .button { width: 100%; padding: 12px; gap: 8px; font-size: 15px; white-space: normal; }
.download-alternatives { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; min-height: 44px; margin-top: 12px; }
.download-alternative { min-height: 44px; font-size: 14px; }
.download-alternative:disabled { color: var(--text-3); }
.download-release { max-width: 760px; margin: 28px auto 0; text-align: center; }
.download-release p { margin-bottom: 8px; font-size: 14px; line-height: 1.65; color: var(--text-3); }
.download-release .text-link { min-height: 44px; font-size: 14px; }
.download-other a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); font-weight: 400; text-decoration: underline; text-underline-offset: 4px; }
.download-other a:hover { color: var(--accent-ink); }
.browser-license-paths { margin-top: 28px; font-size: 14px; color: var(--text-2); }
.browser-license-paths p { margin-bottom: 8px; }
.browser-license-paths ul { margin: 0; padding-left: 20px; }
.browser-license-paths code { overflow-wrap: anywhere; }
.start-onboarding { margin-top: 64px; padding-bottom: 88px; }
.start-steps-heading { margin: 56px 0 32px; font-size: clamp(1.4rem, 2vw, 1.75rem); }
.start-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.start-steps > li > span { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border: 1px solid var(--accent-line); border-radius: 13px; background: var(--accent-soft); font-family: var(--font-mono); font-size: 14px; color: var(--accent-ink); }
.start-steps h3 { margin-bottom: 10px; font-size: 18px; }
.start-steps p { margin: 0; font-size: 15px; }
.start-links { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 28px; }
.start-links .text-link { min-height: 44px; }
.feature-icon { display: inline-grid; place-items: center; width: 58px; height: 58px; margin-bottom: 28px; border-radius: 16px; background: var(--gradient); color: #fff; box-shadow: 0 12px 26px -12px rgb(40 100 255 / .8); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 100px); align-items: start; padding-bottom: 112px; }
.contact-layout > div > h2 { margin: 12px 0 32px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.contact-prompts { display: grid; gap: 26px; margin: 0 0 32px; padding: 0; list-style: none; }
.contact-prompts li { display: flex; gap: 18px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.contact-prompts li > .icon { margin-top: 2px; color: var(--accent); }
.contact-prompts strong { display: block; margin-bottom: 2px; font-size: 17px; font-weight: 600; color: var(--ink); }
.contact-note { max-width: 380px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 15.5px; }
.contact-form { padding: 36px; border: 1px solid var(--border); border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.contact-form h2 { margin-bottom: 26px; font-size: clamp(1.4rem, 1.2rem + .7vw, 1.8rem); }
.contact-form label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 500; color: var(--text); }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-bottom: 20px; padding: 13px 15px; border: 1px solid var(--border-strong); border-radius: 12px; background: #fff; font-size: 16px; line-height: 1.5; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.contact-form input { min-height: 50px; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:hover, .contact-form textarea:hover { border-color: #a9b8d2; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(40 100 255 / .16); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #63708a; }
.contact-form .form-privacy { margin-bottom: 22px; font-size: 14.5px; color: var(--text-3); }
.form-result { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.form-result > p { font-size: 15.5px; }

/* ---------- Privacy ---------- */
.prose-page { max-width: 860px; padding-bottom: 112px; }
.prose-page h2 { margin-top: 48px; margin-bottom: 14px; font-size: clamp(1.4rem, 1.2rem + .7vw, 1.8rem); }
.prose-page p { font-size: 17px; line-height: 1.75; }

/* ---------- Terms: bilingual reading surface ---------- */
.terms-header { justify-content: space-between; }
.terms-header > a:last-child { min-height: 44px; }
.terms-intro { padding-top: 48px; padding-bottom: 40px; }
.terms-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 22px; color: var(--text-2); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.terms-title-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.terms-title-row h1 { max-width: 870px; margin: 0; font-size: clamp(1.7rem, 1.1rem + 2vw, 2.8rem); line-height: 1.22; letter-spacing: -.03em; }
.page-privacy .terms-title-row h1 { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .page-privacy .terms-title-row h1 { hyphens: auto; }
}
.terms-languages { display: inline-flex; gap: 4px; flex-shrink: 0; border-bottom: 1px solid var(--border); }
.terms-languages a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border-bottom: 2px solid transparent; color: var(--text-2); font-size: 15px; }
.terms-languages a[aria-current=page] { border-bottom-color: var(--accent-ink); color: var(--accent-ink); font-weight: 600; }
.terms-description { max-width: 70ch; margin: 22px 0 14px; font-size: 18px; line-height: 1.65; }
.terms-version { margin-bottom: 0; color: var(--text-2); font-size: 14px; font-variant-numeric: tabular-nums; }
.terms-layout { display: grid; grid-template-columns: 250px minmax(0, 730px); gap: clamp(32px, 5vw, 80px); padding-bottom: 96px; border-top: 1px solid var(--border); }
.terms-sidebar { min-width: 0; }
.terms-contents { position: sticky; top: 96px; max-height: calc(100dvh - 120px); overflow: auto; margin-top: 32px; padding-right: 10px; scrollbar-color: var(--border-strong) transparent; scrollbar-width: thin; }
.terms-contents summary { min-height: 44px; display: flex; align-items: center; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }
.terms-contents ol { margin: 12px 0 0; padding-left: 24px; color: var(--text-2); font-size: 14px; }
.terms-contents li { padding-left: 3px; }
.terms-contents a { display: block; padding: 8px 0; color: var(--text-2); line-height: 1.5; text-underline-offset: 4px; }
.terms-contents a:hover, .terms-back:hover { color: var(--accent-ink); text-decoration: underline; }
.terms-document { min-width: 0; padding-top: 8px; }
.terms-document section { scroll-margin-top: 100px; }
.terms-document h2 { margin: 40px 0 20px; font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); line-height: 1.4; letter-spacing: -.02em; text-wrap: pretty; }
.terms-document p, .terms-document li { font-size: 17px; line-height: 1.8; color: var(--text); overflow-wrap: anywhere; }
.terms-document p { margin-bottom: 18px; }
.terms-document ul { margin: 20px 0; padding-left: 24px; }
.terms-document li { margin-bottom: 14px; padding-left: 5px; }
.terms-document a, .terms-footer a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; }
.terms-document-end { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.terms-document-end .terms-languages a { text-decoration: none; }
.terms-footer { border-top: 1px solid var(--border); background: var(--surface); }
.terms-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 22px; font-size: 14px; color: var(--text-2); }
.terms-footer a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .terms-layout { grid-template-columns: minmax(0, 730px); justify-content: center; gap: 0; }
  .terms-contents { position: static; max-height: none; padding: 0; margin-top: 24px; border-bottom: 1px solid var(--border); }
  .terms-contents summary { display: list-item; padding-block: 12px; }
  .terms-contents ol { margin-bottom: 18px; }
  .terms-contents a { padding-block: 12px; }
  .terms-intro { padding-top: 24px; padding-bottom: 28px; }
  .terms-title-row { gap: 16px; }
  .terms-description { font-size: 17px; }
  .terms-document h2 { margin-top: 32px; }
}
@media print {
  :is(.page-terms, .page-privacy) .site-header, :is(.page-terms, .page-privacy) .site-footer, .terms-sidebar, .terms-languages, .terms-back, .terms-footer, .terms-document-end { display: none; }
  .terms-intro, .terms-layout { display: block; width: 100%; max-width: none; margin: 0; padding: 0; border: 0; }
  .terms-document h2 { break-after: avoid; }
  .terms-document p, .terms-document li { orphans: 3; widows: 3; color: #000; }
}

/* ---------- Product proof and practical paths ---------- */
.hero-emphasis { background: var(--gradient); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-feature { position: absolute; z-index: 2; display: grid; gap: 10px; padding: 22px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-l); transition: translate .25s var(--ease-out); }
.hero-feature:hover { translate: 0 -4px; }
.hero-feature-captcha { top: 12%; left: -26px; width: 245px; rotate: -4deg; }
.hero-feature-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: var(--accent-ink); background: var(--accent-soft); }
.hero-feature strong { font-size: 18px; color: var(--ink); }
.hero-feature > span { font-size: 13px; line-height: 1.5; color: var(--text-2); }
.hero-feature .hero-feature-link { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--accent-ink); font-weight: 600; }
.hero-feature-code { top: 38%; right: -20px; width: 288px; rotate: 4deg; background: #0c1222; }
.hero-feature-code .hero-code-title { display: flex; align-items: center; gap: 10px; color: #e6ebf7; font-size: 15px; font-weight: 600; }
.hero-feature-code code { padding-block: 6px; color: #a6b8ff; font-size: 12px; line-height: 1.7; }
.hero-feature-code > span:last-child { color: #9aa9c4; font-size: 12px; }
.hero-release-link { margin: 12px 0 0; font-size: 14px; }
.hero-release-link a { text-decoration: underline; text-underline-offset: 3px; }
.captcha-showcase { background: radial-gradient(ellipse at 0% 30%, #edf2ff, transparent 58%), linear-gradient(150deg, #f6f8fc, #f1efff); }
.captcha-showcase .section-heading { max-width: min(770px, 100%); }
.captcha-showcase .section-heading h2 { font-size: clamp(1.8rem, 3.1vw, 2.75rem); }
.demo-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; margin: 0 0 32px; background: #fff; border: 0; box-shadow: var(--shadow-s); }
.demo-tabs > button { justify-content: center; white-space: normal; line-height: 1.3; padding-block: 10px; }
.demo-tabs > button[aria-selected=true] { background: var(--accent); color: #fff; box-shadow: 0 6px 14px -6px rgb(40 100 255 / .55); }
.captcha-recordings .demo-variants { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; width: 100%; margin: -12px 0 28px; padding: 0; border: 0; border-radius: 0; background: transparent; overflow: visible; }
.demo-variants > button { min-height: 44px; padding: 10px 16px; background: #fff; white-space: normal; line-height: 1.3; }
.demo-variants > button[aria-selected=true] { background: var(--accent-soft); color: var(--accent-ink); box-shadow: inset 0 0 0 1px var(--accent); }
.demo-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: center; gap: clamp(28px, 5vw, 80px); }
.demo-player { min-width: 0; margin: 0; }
.demo-window { overflow: hidden; border-radius: 16px; background: #fff; box-shadow: var(--shadow-l); }
.demo-window-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: #0c1222; color: #e6ebf7; font-size: 14px; }
.demo-window-bar > span:first-child { display: flex; align-items: center; gap: 9px; }
.demo-format { color: #a6b8ff; font-family: var(--font-mono); font-size: 12px; white-space: nowrap; }
.demo-player img { display: block; width: 100%; height: auto; aspect-ratio: 1; background: #fff; }
.demo-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 56px; padding: 6px 16px; border-top: 1px solid var(--border); background: #fff; font-size: 13px; color: var(--text-2); }
.demo-controls button { min-height: 44px; padding: 8px; border-radius: 8px; color: var(--accent-ink); font-weight: 600; }
.demo-controls button:hover { background: var(--accent-soft); }
.demo-player figcaption { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--text-3); }
.demo-explanation h3 { margin-bottom: 16px; font-size: clamp(1.5rem, 2vw, 2rem); }
.demo-explanation > p { font-size: 17px; }
.demo-steps { display: grid; gap: 14px; margin: 26px 0; padding-left: 22px; color: var(--text); }
.demo-steps li { padding-left: 6px; }
.demo-steps li::marker { font-family: var(--font-mono); color: var(--accent-ink); }
.demo-explanation .demo-context { font-size: 14px; color: var(--text-2); }
.solver-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 44px 0 28px; padding-top: 30px; border-top: 1px solid var(--border-strong); }
.solver-facts h3 { margin-bottom: 10px; font-size: 18px; }
.solver-facts p { margin: 0; font-size: 15px; }
.integration-strip { padding: 38px 0; border-bottom: 1px solid var(--border); }
.integration-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.integration-groups h2 { margin-bottom: 8px; font-family: var(--font); font-size: 16px; letter-spacing: 0; line-height: 1.4; }
.integration-groups p { margin: 0; font-size: 15px; }
.scenario-cases { display: grid; gap: 24px; }
.scenario-case { display: grid; grid-template-columns: minmax(0, .38fr) minmax(0, 1fr); gap: 28px 40px; padding: 36px; border-radius: 16px; background: linear-gradient(120deg, var(--accent-soft), #fff 58%); box-shadow: var(--shadow); }
.scenario-case:nth-child(2) { background: linear-gradient(120deg, #f1ecff, #fff 58%); }
.scenario-case h3 { font-size: 23px; }
.scenario-category { margin-top: 12px; font-size: 14px; color: var(--text-3); }
.scenario-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0 0 22px; }
.scenario-flow dt { margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.scenario-flow dd { margin: 0; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.workflow-context { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 36px; margin: 0 0 34px; padding-bottom: 28px; border-bottom: 1px solid var(--dark-border); }
.workflow-context p { margin: 0; font-size: 16px; }
.workflow-context strong { color: var(--ink); }
.section-dark .workflow-context strong { color: #e6ebf7; }
.workflow-context .workflow-context-note { grid-column: 1 / -1; font-size: 14px; }
.workflow-context-note a { display: inline; }
.scenario-case > .text-link { grid-column: 2; }
.hero-release-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); }
.workflow-step-caption { display: none; }
.example-section .scenario-flow { max-width: 100%; }
.contact-next { display: grid; justify-items: start; gap: 18px; margin-top: 32px; }
.contact-next p { margin: 0; }
.form-result .button-row { flex-wrap: wrap; }
.troubleshooting { margin: 24px 0 32px; }
.troubleshooting > div { padding: 20px 0; border-bottom: 1px solid var(--border); }
.troubleshooting dt { margin-bottom: 8px; font-weight: 600; }
.troubleshooting dd { margin: 0; color: var(--text-2); }
.code-block > div { color: #9aa9c4; }
.cta-box::before { display: none; }
.cta-copy { max-width: 650px; }
.cta-box p { color: #fff; }
.cta-art { right: 2%; width: 300px; height: 300px; }
.cta-art img { filter: brightness(0) invert(1) drop-shadow(0 24px 30px rgb(10 20 80 / .45)); animation: none; }
.workflow-section { background: radial-gradient(ellipse at 95% 20%, rgb(60 90 255 / .2), transparent 65%), #090e1b; }

@media (max-width: 860px) {
  .hero-capabilities { display: flex; justify-content: center; gap: 16px; margin-top: 22px; }
  .hero-feature { position: static; width: auto; max-width: 320px; flex: 1; rotate: 0deg; padding: 18px; box-shadow: var(--shadow); }
  .hero-feature-captcha { grid-template-columns: 46px 1fr; align-items: center; }
  .hero-feature-captcha .hero-feature-icon { grid-row: span 2; }
  .hero-feature-captcha .hero-feature-link { grid-column: 1 / -1; }
  .demo-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .demo-player { width: 100%; max-width: 640px; margin-inline: auto; }
  .solver-facts, .integration-groups { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .scenario-case { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 28px; }
  .scenario-case > .text-link { grid-column: auto; }
  .workflow-context { grid-template-columns: minmax(0, 1fr); }
  .workflow-step-caption { display: block; padding: 18px 0; color: #fff; }
  .workflow-step-caption strong { font-size: 19px; }
  .workflow-step-caption p { margin: 8px 0 0; font-size: 16px; }
}
@media (max-width: 640px) {
  .hero-capabilities { display: none; }
  .cta-box { padding: 32px 24px; }
  .cta-box .button-row { display: grid; grid-template-columns: minmax(0, 1fr); }
  .cta-box .button { width: 100%; min-width: 0; justify-content: space-between; padding: 12px 14px; font-size: 15px; white-space: normal; }
  .cta-box .button > span { min-width: 0; }
  .cta-box .button-arrow { flex: none; }
  .scenario-case { padding: 24px; }
  .demo-window-bar { padding: 14px 16px; }
  .demo-controls { padding-inline: 10px; font-size: 12px; }
  .captcha-recordings .demo-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 4px; padding: 6px; margin-inline: 0; border-radius: 16px; }
  .captcha-recordings .demo-tabs > button { min-height: 52px; padding: 8px; white-space: normal; line-height: 1.3; }
  .hero h1 { font-size: clamp(1.5rem, 7.5vw, 2.5rem); }
  .screen-tabs { flex-wrap: wrap; justify-content: flex-start; width: 100%; overflow: visible; }
  .screen-tabs > button { min-height: 44px; padding-inline: 12px; font-size: 14px; }
  .demo-tabs > button { flex: 1 1 calc(50% - 4px); justify-content: center; }
  .scenario-flow { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .scenario-flow dt { margin-bottom: 5px; }
  .demo-explanation > p { font-size: 16px; }
}

/* ---------- Screenshot viewer ---------- */
.screen-dialog { width: min(1400px, 96vw); max-width: 96vw; max-height: 94vh; max-height: 94dvh; margin: auto; padding: 0; overflow: hidden; border: 1px solid var(--border-strong); border-radius: 20px; background: #fff; color: var(--text); box-shadow: 0 40px 120px -20px rgb(5 12 40 / .6); }
.screen-dialog[open] { animation: dialog-in .4s var(--ease-out); }
.screen-dialog::backdrop { background: rgb(8 14 32 / .66); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.screen-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 18px 14px 24px; border-bottom: 1px solid var(--border); background: var(--surface); }
.screen-dialog-header > div:first-child > span { display: block; margin-bottom: 4px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--text-3); }
.screen-dialog-header h2 { margin: 0; font-family: var(--font); font-size: 19px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.screen-dialog-controls { display: flex; align-items: center; gap: 8px; flex: none; }
.screen-zoom { display: grid; place-items: center; width: 48px; height: 40px; border: 1px solid var(--border-strong); border-radius: 10px; background: #fff; font-family: var(--font-mono); font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.screen-zoom:hover, .screen-zoom[aria-pressed=true] { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-ink); }
.screen-dialog-stage { max-height: calc(94vh - 124px); max-height: calc(94dvh - 124px); overflow: auto; overscroll-behavior: contain; background: var(--surface-2); }
.screen-dialog-image { display: block; width: 100%; height: auto; max-width: none; margin: 0 auto; }
.screen-dialog.is-zoomed .screen-dialog-image { width: 1440px; }
.screen-dialog-note { margin: 0; padding: 12px 24px; border-top: 1px solid var(--border); background: #fff; font-size: 14px; color: var(--text-3); }
body.image-viewer-open { overflow: hidden; }

/* ---------- Scroll reveal (site.js marks elements below the fold) ---------- */
.reveal-pending { opacity: 0; translate: 0 32px; }
.reveal-in { transition: opacity .9s var(--ease-out), translate .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Keyframes ---------- */
@keyframes rise { from { opacity: 0; translate: 0 22px; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes stage-in { from { opacity: 0; translate: 0 60px; } }
@keyframes pop { from { opacity: 0; scale: .85; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes drift { to { translate: 80px 40px; } }
@keyframes marquee { to { translate: calc(-100% - 12px) 0; } }
@keyframes panel-in { from { opacity: 0; translate: 0 14px; scale: .99; } }
@keyframes dropdown-in { from { opacity: 0; translate: 0 -6px; scale: .98; } }
@keyframes dialog-in { from { opacity: 0; scale: .97; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes blink { 50% { opacity: .35; } }
@keyframes progress { 0% { scale: 0 1; } 70%, 100% { scale: 1 1; } }
@keyframes tilt { from { transform: rotateX(14deg) scale(.94); } to { transform: none; } }
@keyframes header-line { to { border-bottom-color: var(--border); box-shadow: 0 8px 30px -20px rgb(16 28 60 / .35); } }

/* Scroll-linked effects where supported; elsewhere the page stays static. */
@supports (animation-timeline: scroll()) {
  .hero-tilt { animation: tilt linear both; animation-timeline: scroll(root); animation-range: 0 520px; }
  .page-home .site-header { animation: header-line linear both; animation-timeline: scroll(root); animation-range: 0 80px; }
}
@supports not (animation-timeline: scroll()) {
  .page-home .site-header { border-bottom-color: var(--border); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
}

@media (max-width: 1100px) {
  :root { --gutter: 28px; }
  .header-inner { gap: 24px; }
  .main-nav > a, .nav-dropdown > summary { padding: 0 9px; }
  .header-support { display: none; }
  .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-wide { grid-column: span 2; }
  .developers-layout { grid-template-columns: minmax(0, 1fr); }
  .gallery-steps { grid-template-columns: minmax(240px, 300px) 1fr; gap: 28px; }
  .footer-main { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; max-width: 360px; }
  .related-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-art { right: -40px; opacity: .55; }
}

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  :root { --gutter: 22px; --header: 64px; }
  body { font-size: 16px; }
  .mobile-toggle { display: grid; margin-left: 4px; }
  .header-actions { margin-left: auto; }
  .main-nav { display: none; position: absolute; top: var(--header); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; max-height: calc(100dvh - var(--header)); overflow-y: auto; padding: 12px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 30px 60px -30px rgb(16 28 60 / .35); font-size: 17px; }
  .main-nav.is-open { display: flex; animation: dropdown-in .3s var(--ease-out); }
  .main-nav > a, .nav-dropdown > summary { min-height: 52px; padding: 0 12px; }
  .dropdown-menu { position: static; width: auto; padding: 0 0 8px; border: 0; box-shadow: none; animation: none; }
  .nav-mobile-cta { display: grid; gap: 12px; margin-top: 12px; }
  .nav-mobile-cta .button { width: 100%; }
  .section-heading-row { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
  .section-heading-row > .text-link { margin-bottom: 0; }
  .section-heading.center { margin-bottom: 40px; }
  .hero-stage-note { font-size: 12px; }
  .screen-tabs { justify-content: flex-start; width: auto; margin-inline: calc(var(--gutter) * -1); border-radius: 0; border-inline: 0; padding-inline: var(--gutter); }
  .screen-tabs > button { min-height: 44px; padding: 0 14px; font-size: 14.5px; }
  .screen-panel-caption { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
  .gallery-steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .screen-steps { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); gap: 8px; }
  .screen-steps::-webkit-scrollbar { display: none; }
  .screen-steps > button { flex: none; padding: 12px 16px; border-color: var(--dark-border); }
  .screen-steps > button::before { display: none; }
  .step-text small { display: none; }
  .step-text strong { font-size: 15.5px; white-space: nowrap; }
  .step-number { line-height: 1.6; }
  .bento-grid, .scenario-grid, .detail-benefit-grid, .trail-compare, .pricing-capabilities { grid-template-columns: minmax(0, 1fr); }
  .bento-wide { grid-column: auto; }
  .bento-visual, .bento-wide .bento-visual { height: auto; max-height: 260px; }
  .faq-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-item summary { font-size: 17px; }
  .faq-answer { padding-right: 0; }
  .cta-box { min-height: 0; border-radius: 26px; }
  .cta-art { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; padding-top: 56px; }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; }
  .footer-bottom { flex-wrap: wrap; justify-content: center; padding-block: 18px; text-align: center; }
  .pricing-help { flex-direction: column; align-items: flex-start; }
  .pricing-help .button { margin-left: 0; }
  .contact-form { padding: 26px; }
  .download-grid { gap: 16px; }
  .download-card { padding: 28px 16px 20px; }
  .download-actions .button { font-size: 14px; }
  .download-alternatives { gap: 0 12px; }
  .start-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}

@media (max-width: 740px) {
  .start-intro { padding-block: 44px 32px; }
  .start-intro h1 { font-size: clamp(1.7rem, 5vw, 2.5rem); }
  .start-intro p { font-size: 16px; }
  .start-intro p br { display: none; }
  .download-grid { grid-template-columns: minmax(0, 1fr); max-width: 440px; margin-inline: auto; gap: 20px; }
  .download-card { padding: 28px 24px 20px; }
  .download-card h2 { font-size: 24px; }
  .download-actions .button { font-size: 16px; }
  .download-release br { display: none; }
  .start-onboarding { margin-top: 40px; padding-bottom: 56px; }
  .start-steps-heading { margin-top: 40px; }
  .start-links { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .start-steps { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .header-actions .button { display: none; }
  .hero-copy .button-row, .detail-hero .button-row { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }
  .hero-copy .button, .detail-hero .button { width: 100%; }
  .announcement { font-size: 13px; }
  .product-shot-hero .shot-trigger, .product-shot-feature .shot-trigger { border-radius: 12px; }
  .shot-bar { height: 26px; padding: 0 10px; gap: 8px; }
  .product-shot-hero .shot-bar { height: 28px; }
  .shot-dots i { width: 7px; height: 7px; }
  .shot-dots { gap: 4px; }
  .shot-title { font-size: 11px; margin-right: 30px; }
  .shot-expand { opacity: 1; translate: none; right: 8px; bottom: 8px; min-height: 32px; padding: 6px 8px; }
  .shot-expand > span { display: none; }
  .bento-text { padding: 24px 24px 20px; }
  .bento-visual { padding-left: 24px; }
  .bento-narrow .bento-visual { padding: 0 24px; }
  .scenario-card, .detail-benefit-grid > article, .pricing-capabilities > a { padding: 26px; }
  .pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .code-window pre { padding: 22px 18px; font-size: 13px; }
  .code-copy span { display: none; }
  .related-links { grid-template-columns: minmax(0, 1fr); }
  .footer-main { grid-template-columns: minmax(0, 1fr); }
  .screen-dialog { width: 96vw; border-radius: 14px; }
  .screen-dialog-header { padding: 10px 12px; }
  .screen-dialog-header h2 { font-size: 15.5px; }
  .screen-dialog-note { padding: 10px 12px; font-size: 13px; }
  .comparison-table th, .comparison-table td { padding: 16px 18px; }
}

@media (max-width: 380px) {
  :root { --gutter: 18px; }
  .brand > span { font-size: 22px; }
  .docs-integration-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero-tilt { animation: none !important; transform: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; flex: 1; }
  .marquee-track[aria-hidden] { display: none; }
  .reveal-pending { opacity: 1; translate: none; }
}
@media print { .reveal-pending { opacity: 1; translate: none; } }
