/* Shared design tokens. Public landing page styles; document overrides live in documents.css. */
:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --subtle: #eef3f9;
  --ink: #142337;
  --muted: #556478;
  --faint: #65748a;
  --line: #dce4ee;
  --accent: #2363db;
  --accent-hover: #184fac;
  --accent-soft: #e7efff;
  --hero-surface: #e9f0fb;
  --hero-grid: #cedcf0;
  --shadow: 0 20px 60px -25px #14305c33;
  --display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0c121d;
  --surface: #131d2b;
  --subtle: #182333;
  --ink: #edf2fb;
  --muted: #b3bfd1;
  --faint: #9cacc3;
  --line: #2b394e;
  --accent: #83b0ff;
  --accent-hover: #accaff;
  --accent-soft: #1a2b49;
  --hero-surface: #152540;
  --hero-grid: #273b59;
  --shadow: 0 20px 60px -25px #0009;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; }
img { max-width: 100%; vertical-align: middle; }
figure { margin: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); }
h2 { font-size: clamp(2rem, 3.5vw, 3.15rem); font-weight: 550; line-height: 1.13; letter-spacing: -.038em; white-space: pre-line; }
h3 { font-size: 1.4rem; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent-soft); color: var(--ink); }
[hidden] { display: none !important; }
.container { width: min(100% - 80px, 1200px); margin: 0 auto; }
.icon { flex-shrink: 0; display: inline-block; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 20px; top: -100px; z-index: 100; padding: 12px 20px; background: var(--ink); color: var(--bg); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 95%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.brand-link { flex-shrink: 0; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 650; font-size: 1.3rem; letter-spacing: -.04em; white-space: nowrap; }
.brand img { flex-shrink: 0; width: 38px; height: 38px; object-fit: contain; }
.brand-accent { color: var(--accent); }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 27px; margin-left: auto; }
.main-nav a { font-size: .875rem; font-weight: 500; color: var(--muted); padding: 12px 0; }
.main-nav a:hover, .text-link:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-button { background: transparent; border: 1px solid var(--line); border-radius: 50%; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0; flex-shrink: 0; }
.icon-button:hover { background: var(--subtle); }
.menu-button { display: none; }
.language-control select { border: 0; background: transparent; color: var(--ink); font-size: .875rem; min-height: 44px; max-width: 76px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; min-height: 50px; padding: 11px 20px; border-radius: 8px; font-size: .875rem; font-weight: 550; line-height: 1.4; transition: background .15s ease, border-color .15s ease; text-align: center; }
.button-primary { background: #2363db; color: #fff; }
.button-primary:hover { background: #184fac; }
.button-secondary { border-color: var(--line); background: transparent; }
.button-secondary:hover { background: var(--surface); border-color: var(--faint); }
.nav-download { min-height: 42px; padding: 9px 16px; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 20px; line-height: 1.5; }
.hero { padding: 64px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.02fr; align-items: center; gap: 38px; padding-bottom: 58px; }
.hero-eyebrow { display: flex; gap: 10px; align-items: center; font-size: .75rem; letter-spacing: .08em; margin-bottom: 28px; }
.eyebrow-rule { width: 23px; height: 2px; background: var(--accent); flex-shrink: 0; }
.hero h1 { font-size: clamp(2.8rem, 5vw, 4.7rem); font-weight: 550; line-height: 1.05; letter-spacing: -.05em; margin-bottom: 27px; }
.hero h1 span { color: var(--accent); }
.hero-intro { font-size: 1.0625rem; line-height: 1.75; max-width: 450px; color: var(--muted); margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.store-button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; border-radius: 9px; background: #101820; color: #fff; min-height: 56px; padding: 8px 17px; border: 1px solid #101820; line-height: 1.15; text-align: left; transition: background .15s; }
.store-button:hover { background: #25354b; }
.store-button small { display: block; font-size: .6875rem; margin-bottom: 2px; }
.store-button strong { display: block; font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; }
[data-theme='dark'] .store-button { border-color: #566780; }
.device-note { font-size: .75rem; color: var(--faint); margin: 11px 0 24px; }
.offline-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8125rem; margin: 0; }
.offline-note .icon { width: 16px; height: 16px; }
.hero-visual { position: relative; height: 555px; border: 1px solid var(--hero-grid); border-radius: 24px; background-color: var(--hero-surface); background-image: linear-gradient(var(--hero-grid) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px); background-size: 44px 44px; overflow: hidden; }
.visual-heading { position: absolute; top: 26px; left: 28px; display: flex; align-items: center; gap: 9px; font-size: .7rem; font-weight: 600; letter-spacing: .1em; color: var(--muted); }
.hero-phone { position: absolute; left: 28px; top: 80px; width: 190px; border-radius: 28px; padding: 6px; background: #172337; border: 1px solid #53617a; box-shadow: 0 22px 45px -15px #18365780; z-index: 2; transform: rotate(-4deg); }
.hero-phone img { display: block; width: 100%; height: auto; border-radius: 22px; }
.hero-browser { position: absolute; left: 155px; right: -70px; top: 137px; height: 282px; border: 5px solid #172337; border-radius: 12px; background: #10151e; box-shadow: 0 25px 45px -15px #18365760; overflow: hidden; transform: rotate(3deg); }
.browser-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; height: 32px; font-size: .625rem; font-weight: 500; letter-spacing: .08em; color: #c7d2e3; background: #1b2534; padding-right: 80px; white-space: nowrap; }
.browser-dots { display: inline-flex; gap: 4px; }
.browser-dots i { display: block; height: 5px; width: 5px; border-radius: 50%; background: #718099; }
.model-crop { position: relative; width: 100%; height: 100%; overflow: hidden; background: #0b0f17; }
.model-crop img { position: absolute; width: 186%; height: auto; max-width: none; left: -41%; top: -8%; pointer-events: none; }
.hero-browser .model-crop { height: calc(100% - 32px); }
.visual-caption { position: absolute; bottom: 23px; left: 28px; right: 25px; display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .8125rem; }
.visual-caption .icon { color: var(--accent); }
.benefit-strip { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 23px 0; gap: 20px; }
.benefit-strip>div { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: .875rem; }
.benefit-strip .icon { color: var(--accent); width: 18px; }
.section { padding: 96px 0; position: relative; }
.section-heading { margin-bottom: 38px; }
.section-heading h2 { margin-bottom: 20px; }
.section-heading .eyebrow { margin-bottom: 16px; }
.section-intro { max-width: 570px; color: var(--muted); font-size: 1rem; margin-bottom: 0; }
.anchor-alias { position: absolute; top: 0; scroll-margin-top: 104px; }
.product-tour { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: stretch; }
.tour-controls { padding: 12px 0; display: flex; flex-direction: column; }
.tour-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 1px solid var(--line); }
.tour-tabs button { border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: .875rem; color: var(--muted); text-align: left; padding: 0 10px 16px 0; line-height: 1.4; min-height: 65px; }
.tour-tabs button span { display: block; font-size: .75rem; color: var(--faint); margin-bottom: 5px; }
.tour-tabs button:hover { color: var(--accent); }
.tour-tabs button[aria-pressed='true'] { color: var(--accent); border-bottom-color: var(--accent); }
.tour-copy { padding: 35px 0 12px; }
.feature-icon { width: 43px; height: 43px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); border-radius: 10px; margin-bottom: 22px; }
.tour-copy h3 { font-size: 2rem; line-height: 1.15; letter-spacing: -.035em; max-width: 400px; margin-bottom: 15px; }
.tour-copy>p { max-width: 440px; color: var(--muted); min-height: 80px; }
.check-list { padding: 0; margin: 25px 0 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 10px; margin: 11px 0; font-size: .9375rem; }
.check-list .icon { color: var(--accent); width: 16px; height: 16px; }
.screen-picker { margin-top: auto; padding-top: 26px; max-width: 440px; }
.screen-picker summary { display: flex; align-items: center; gap: 16px; font-size: .875rem; color: var(--accent); padding: 10px 0; list-style: none; }
.screen-picker summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.screen-picker summary .icon { width: 17px; }
.screen-picker[open] summary .icon { transform: rotate(45deg); }
.screen-picker select { width: 100%; max-width: 100%; font-size: 1rem; padding: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-radius: 8px; margin-top: 10px; }
.tour-display { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 560px; background: var(--subtle); border-radius: 18px; padding: 26px; }
.screenshot-button { position: relative; display: block; max-width: 260px; width: 100%; height: 490px; background: #080c13; padding: 5px; border: 1px solid #526078; border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; }
.screenshot-button>img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; border-radius: 20px; }
.enlarge-indicator { position: absolute; bottom: 15px; right: 15px; display: flex; align-items: center; justify-content: center; background: #142337ec; color: #fff; width: 34px; height: 34px; border: 1px solid #65748a; border-radius: 50%; }
.tour-display figcaption { color: var(--faint); font-size: .75rem; margin-top: 18px; text-align: center; }
.process-section { background: var(--surface); border-block: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; }
.process-step { border-top: 1px solid var(--line); padding-top: 22px; }
.step-top { display: flex; justify-content: space-between; color: var(--accent); margin-bottom: 30px; }
.step-top span { font-size: .8125rem; font-variant-numeric: tabular-nums; }
.process-step h3 { font-size: 1.625rem; margin-bottom: 14px; }
.process-step p { color: var(--muted); margin: 0; font-size: .9375rem; }
.demo-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.demo-heading .section-heading { max-width: 610px; }
.segmented-control { display: flex; flex-shrink: 0; margin-bottom: 38px; border: 1px solid var(--line); border-radius: 9px; background: var(--subtle); padding: 4px; gap: 3px; }
.segmented-control button { background: transparent; border: 1px solid transparent; padding: 10px 15px; border-radius: 6px; font-size: .875rem; color: var(--muted); min-height: 42px; }
.segmented-control button[aria-pressed='true'] { color: var(--ink); background: var(--surface); border-color: var(--line); box-shadow: 0 2px 4px #00000005; }
.demo-stage { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; height: 500px; background: #10151e; }
.demo-launch { width: 100%; height: 100%; position: relative; padding: 0; border: 0; background: #10151e; color: #fff; display: block; }
.demo-launch .model-crop img { top: -22%; }
.demo-launch::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,#080e1aee 0%,#080e1a55 45%,#080e1a00 100%); }
.demo-launch-content { position: absolute; z-index: 1; inset: auto 20px 34px; display: flex; align-items: center; flex-direction: column; gap: 6px; }
.demo-launch-content strong { font-size: 1.3rem; font-weight: 550; }
.demo-launch-content>span:last-child { color: #d4deed; font-size: .8125rem; }
.demo-launch-icon { display: flex; justify-content: center; align-items: center; width: 52px; height: 52px; border-radius: 50%; background: #2363db; color: #fff; margin-bottom: 9px; transition: background .15s; }
.demo-launch:hover .demo-launch-icon { background: #357cfb; }
.live-viewer { width: 100%; height: 100%; position: relative; }
.live-viewer iframe { width: 100%; height: 100%; border: 0; display: block; }
.viewer-loading { position: absolute; inset: 40% 20px auto; color: #dbe8ff; text-align: center; pointer-events: none; }
.viewer-close { position: absolute; top: 12px; right: 12px; color: #fff; background: #172337; border-color: #526078; }
.viewer-close:hover { background: #304260; }
.demo-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; font-size: .8125rem; }
.demo-bottom p { color: var(--muted); margin: 0; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: .875rem; font-weight: 500; color: var(--accent); }
.text-link .icon { width: 17px; height: 17px; }
.viewer-help { color: var(--faint); font-size: .8125rem; margin: 12px 0 0; }
.comparison { height: 100%; position: relative; touch-action: pan-y; }
.comparison>img, .comparison-before img { width: 100%; height: 100%; object-fit: cover; display: block; }
.comparison-before { position: absolute; inset: 0; pointer-events: none; }
.comparison-label { position: absolute; z-index: 1; top: 22px; padding: 5px 14px; background: #142337e6; color: #fff; font-size: .8125rem; border-radius: 5px; pointer-events: none; }
.before-label { left: 22px; }
.after-label { right: 22px; }
.comparison-line { position: absolute; height: 100%; top: 0; width: 2px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 3px #0006; }
.comparison-line span { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; background: #fff; color: #142337; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 24px; box-shadow: 0 2px 12px #0004; }
.comparison-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.comparison:focus-within { outline: 4px solid var(--accent); outline-offset: -4px; }
.teams-section { background: var(--surface); border-block: 1px solid var(--line); }
.teams-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.teams-grid .section-heading { margin-bottom: 28px; }
.pilot-link { display: flex; margin-top: 20px; }
.team-point { display: flex; gap: 20px; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.team-point-number { font-size: .75rem; color: var(--accent); padding-top: 3px; }
.team-point h3 { font-size: 1.2rem; margin-bottom: 9px; }
.team-point p { font-size: .9375rem; color: var(--muted); margin: 0; }
.integrations h3 { font-size: 1rem; letter-spacing: 0; margin: 6px 0 22px; }
.integration-list { display: flex; flex-wrap: wrap; gap: 17px 22px; }
.integration-item { display: flex; align-items: center; gap: 10px; }
.integration-item strong { font-size: .875rem; font-weight: 550; display: block; }
.integration-item div>span { font-size: .75rem; display: block; color: var(--faint); }
.integration-mark { display: flex; align-items: center; justify-content: center; width: 37px; height: 37px; border: 1px solid var(--line); border-radius: 9px; background: var(--subtle); color: var(--ink); font-size: .875rem; font-weight: 600; }
.integration-note, .hardware-note { font-size: .8125rem; color: var(--faint); margin: 23px 0 0; }
.hardware-note { margin-top: 14px; }
.hardware-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.faq-contact { font-size: .9375rem; color: var(--muted); }
.faq-contact a { margin-top: 6px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; font-size: 1rem; font-weight: 500; list-style: none; line-height: 1.45; }
.faq-item summary .icon { color: var(--faint); width: 18px; height: 18px; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { color: var(--muted); font-size: .9375rem; margin: -3px 32px 24px 0; }
.final-section { background: #123366; color: #fff; padding: 68px 0; }
.final-inner { text-align: center; }
.final-inner .eyebrow { color: #b8cdeb; font-size: .75rem; }
.final-inner h2 { margin: 0 0 18px; font-size: clamp(2rem,3.8vw,3.2rem); }
.final-inner>p:not(.eyebrow) { color: #d5e2f5; }
.final-inner .store-button { background: #fff; color: #142337; border-color: #fff; margin-top: 10px; }
.final-inner .store-button:hover { background: #eaf1fc; }
.final-contact { font-size: .875rem; margin: 24px 0 0; }
.final-contact a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer { padding: 54px 0 24px; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr 1.1fr; gap: 38px; }
.footer-brand p { white-space: pre-line; font-size: .875rem; color: var(--muted); margin: 18px 0 0; }
.footer-grid h3 { font-family: var(--body); font-size: .8125rem; font-weight: 600; color: var(--ink); letter-spacing: 0; margin: 5px 0 16px; }
.footer-grid>div:not(.footer-brand) a { display: block; font-size: .8125rem; color: var(--muted); padding: 5px 0; overflow-wrap: anywhere; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 45px; padding-top: 21px; display: flex; justify-content: space-between; gap: 20px; color: var(--faint); font-size: .75rem; }
.lightbox { padding: 0; border: 0; max-width: min(96vw,700px); width: fit-content; max-height: 94dvh; color: var(--ink); background: var(--surface); border-radius: 15px; box-shadow: 0 30px 100px #0008; }
.lightbox::backdrop { background: #07101ce6; backdrop-filter: blur(5px); }
.lightbox-inner { padding: 20px; display: flex; flex-direction: column; align-items: center; }
.lightbox .icon-button { align-self: flex-end; margin-bottom: 12px; }
.lightbox img { width: auto; max-width: 100%; height: auto; max-height: 72dvh; object-fit: contain; }
.lightbox p { margin: 12px 0 0; font-size: .875rem; }
@media(min-width:1450px) { .hero h1 { font-size: 4.8rem; } }
@media(max-width:1100px) {
  .container { width: min(100% - 48px,1200px); }
  .header-inner { gap: 18px; }
  .main-nav { gap: 18px; }
  .header-actions { gap: 8px; }
  .hero-grid { gap: 24px; }
  .hero-visual { height: 510px; }
  .hero-phone { width: 174px; left: 20px; }
  .hero-browser { left: 128px; }
  .teams-grid, .faq-grid { gap: 48px; }
  .product-tour { gap: 30px; }
  .demo-heading { align-items: flex-start; flex-direction: column; gap: 0; }
  .demo-heading .section-heading { max-width: 650px; }
  .segmented-control { margin-top: -8px; margin-bottom: 26px; }
}
@media(max-width:900px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 12px 24px 20px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 13px 12px; font-size: 1rem; }
  .menu-button { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 3.35rem; }
  .hero-intro { font-size: 1rem; }
  .hero-actions .button { padding: 11px 15px; }
  .hero-visual { height: 490px; }
  .hero-phone { width: 163px; left: 13px; }
  .hero-browser { top: 145px; left: 109px; right: -118px; height: 254px; }
  .visual-caption { font-size: .75rem; left: 20px; right: 18px; }
  .benefit-strip { grid-template-columns: repeat(2,1fr); gap: 17px; }
  .benefit-strip>div { justify-content: flex-start; }
  .tour-display { padding: 22px; }
  .process-grid { gap: 25px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  html[lang='ru'] .hero h1, html[lang='be'] .hero h1 { font-size: 2.85rem; }
}
@media(max-width:680px) {
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 72px; gap: 12px; }
  .brand { font-size: 1.2rem; gap: 6px; }
  .brand img { width: 31px; height: 31px; }
  .icon-button { width: 38px; height: 38px; }
  .header-actions { gap: 7px; }
  .nav-download { display: none; }
  .hero { padding-top: 35px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 30px; }
  .hero-eyebrow { margin-bottom: 22px; }
  .hero h1 { font-size: clamp(2.75rem,9.7vw,4rem); margin-bottom: 23px; }
  html[lang='ru'] .hero h1, html[lang='be'] .hero h1 { font-size: clamp(2.5rem,8.7vw,3.75rem); }
  .hero-intro { max-width: 540px; margin-bottom: 24px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { flex: 1; min-width: 135px; }
  .offline-note { font-size: .75rem; }
  .device-note { margin-bottom: 18px; }
  .hero-visual { height: 440px; width: 100%; }
  .hero-phone { width: 153px; left: 28px; top: 65px; }
  .hero-browser { top: 126px; left: 147px; right: -15px; height: 240px; }
  .visual-heading { top: 19px; left: 23px; }
  .visual-caption { left: 24px; bottom: 18px; }
  .benefit-strip { padding: 20px 0; gap: 16px 8px; }
  .benefit-strip>div { font-size: .75rem; gap: 7px; align-items: flex-start; }
  .benefit-strip .icon { width: 15px; height: 18px; }
  .section { padding: 64px 0; }
  .section-heading { margin-bottom: 27px; }
  h2 { font-size: clamp(1.9rem,6.5vw,2.6rem); }
  .product-tour { grid-template-columns: 1fr; gap: 24px; }
  .tour-controls { padding: 0; }
  .tour-copy { padding-top: 24px; }
  .tour-copy h3 { font-size: 1.8rem; }
  .tour-copy>p { min-height: 0; }
  .feature-icon { display: none; }
  .check-list { margin-top: 18px; }
  .screen-picker { padding-top: 8px; }
  .tour-display { min-height: 0; padding: 26px; }
  .screenshot-button { height: 455px; max-width: 236px; }
  .process-grid { grid-template-columns: 1fr; gap: 24px; }
  .step-top { margin-bottom: 13px; }
  .process-step h3 { margin-bottom: 12px; }
  .demo-stage { height: 350px; border-radius: 12px; }
  .demo-launch .model-crop img { width: 220%; left: -60%; top: 0; }
  .demo-launch-content { bottom: 23px; }
  .demo-launch-content strong { font-size: 1.125rem; }
  .demo-launch-content>span:last-child { font-size: .75rem; text-align: center; }
  .segmented-control { max-width: 100%; flex-wrap: wrap; }
  .segmented-control button { padding-inline: 12px; font-size: .8125rem; }
  .demo-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .teams-grid, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .teams-grid .section-heading { margin-bottom: 25px; }
  .faq-grid .section-heading { margin-bottom: 18px; }
  .faq-contact { margin-bottom: 0; }
  .faq-item summary { font-size: .9375rem; padding: 20px 0; }
  .faq-item p { margin-right: 0; }
  .final-section { padding: 52px 0; }
  .final-inner h2 { font-size: 2.25rem; }
  .footer-grid { gap: 30px 22px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid>div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .site-footer { padding-top: 36px; }
}
@media(max-width:370px) {
  .header-inner { gap: 6px; }
  .header-actions { gap: 4px; }
  .brand { font-size: 1.05rem; gap: 4px; }
  .brand img { width: 27px; height: 27px; }
  .theme-button { width: 32px; height: 36px; border: 0; }
  .language-control select { font-size: .75rem; width: 55px; }
  .hero-phone { left: 17px; width: 143px; }
  .hero-browser { left: 120px; right: -86px; }
  .hero-visual { height: 419px; }
  .hero-actions { flex-direction: column; }
  .hero-actions>* { width: 100%; }
  .tour-tabs button { font-size: .8125rem; padding-right: 4px; }
  .tour-display { padding: 22px 12px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .hero-visual, .demo-section, .theme-button, .menu-button, .lightbox, .skip-link { display:none; }
  body { background: #fff; color:#142337; }
  .section { padding:24px 0; }
  .container { width:100%; }
  .hero-grid, .teams-grid, .faq-grid { display:block; }
  details>p { display:block; }
}

/* Full product story and progressive scroll feedback. Content stays visible without JS. */
.reading-progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; background: var(--accent); transform: scaleX(var(--reading-progress,0)); transform-origin: left; pointer-events: none; }
.standalone-3d { background: var(--subtle); border-block: 1px solid var(--line); }
.standalone-3d .section-heading { max-width: 900px; }
.standalone-3d h2 { font-size: clamp(2.5rem,5.5vw,4.75rem); }
.standalone-3d .section-intro { max-width: 720px; font-size: 1.125rem; }
.standalone-3d .demo-stage { height: clamp(400px,50vw,650px); box-shadow: var(--shadow); }
.scan-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; margin-top: 40px; }
.scan-benefits article { border-top: 2px solid var(--accent); padding-top: 22px; }
.scan-benefits h3 { font-size: 1.35rem; margin-bottom: 12px; }
.scan-benefits p, .scan-handoff p { color: var(--muted); }
.scan-handoff { margin-top: 26px; padding-top: 28px; border-top: 1px solid var(--line); }
.scan-handoff>p { max-width: 800px; }
.detail-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.detail-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.detail-code { color: var(--accent); font-size: .75rem; font-weight: 600; letter-spacing: .045em; margin-bottom: 16px; }
.detail-card h3, .catalog-item h3 { font-size: 1.3rem; margin-bottom: 14px; }
.detail-card>p:last-child, .catalog-item>p:last-child { color: var(--muted); font-size: .9375rem; margin-bottom: 0; }
.detail-note { color: var(--muted); font-size: .875rem; max-width: 860px; margin: 24px 0 0; }
.detail-subsection { margin-top: 80px; }
.full-workflow, .documentation-section, .company-section { background: var(--subtle); border-block: 1px solid var(--line); }
.workflow-timeline { border-left: 2px solid var(--line); padding-left: 32px; }
.workflow-entry { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 60px; padding: 36px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); position: relative; }
.workflow-entry::before { content: ''; position: absolute; top: 54px; left: -41px; width: 14px; height: 14px; border: 3px solid var(--subtle); border-radius: 50%; background: var(--faint); transition: background .25s, box-shadow .25s; }
.workflow-entry.is-current::before { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.workflow-copy h3 { font-size: clamp(1.6rem,2.5vw,2.3rem); }
.workflow-copy>p:not(.eyebrow) { color: var(--muted); }
.workflow-entry>img { width: 190px; height: 360px; object-fit: contain; justify-self: center; }
.workflow-meta { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.workflow-meta li { font-size: .75rem; padding: 6px 11px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: var(--bg); }
.screen-catalog { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 44px 28px; }
.catalog-image { position: relative; display: block; width: 100%; height: 340px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--subtle); margin-bottom: 24px; transition: border-color .2s; }
.catalog-image:hover { border-color: var(--accent); }
.catalog-image img { width: 100%; height: 100%; object-fit: contain; }
.catalog-image>span { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 34px; height: 34px; background: var(--surface); border-radius: 50%; }
.documentation-group { margin: 40px 0; }
.group-heading { margin-bottom: 22px; }
.group-heading h3 { margin-bottom: 8px; }
.group-heading p { color: var(--muted); }
.documentation-banner { display: flex; align-items: flex-start; gap: 12px; padding: 22px; background: var(--accent-soft); border-radius: 8px; }
.documentation-banner .icon { margin-top: 3px; color: var(--accent); }
.resource-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 24px; margin-top: 48px; }
.resource-links>h3 { grid-column: 1/-1; }
.resource-link { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); padding: 20px; border-radius: 8px; }
.resource-link:hover { border-color: var(--accent); }
.resource-link>span { flex: 1; }
.resource-link small { color: var(--faint); font-size: .7rem; }
.scroll-reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.scroll-reveal.is-revealed, .scroll-reveal:focus-within { opacity: 1; transform: none; }
@media(max-width:1000px) {
  .detail-grid, .screen-catalog { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .workflow-entry { gap: 28px; padding: 26px; }
}
@media(max-width:680px) {
  .scan-benefits, .detail-grid, .screen-catalog, .resource-links { grid-template-columns: 1fr; }
  .scan-benefits { gap: 16px; margin-top: 24px; }
  .standalone-3d .demo-stage { height: 380px; }
  .standalone-3d .section-intro { font-size: 1rem; }
  .detail-subsection { margin-top: 52px; }
  .detail-card { padding: 22px; }
  .workflow-timeline { padding-left: 20px; }
  .workflow-entry { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  .workflow-entry::before { left: -29px; }
  .workflow-entry>img { height: 300px; }
  .catalog-image { height: 380px; }
  .resource-link { padding: 18px; }
}
@media(prefers-reduced-motion:reduce) {
  .scroll-reveal { opacity: 1; transform: none; }
}
@media print {
  .reading-progress { display: none; }
  .scroll-reveal { opacity: 1; transform: none; }
  .detail-card, .workflow-entry, .catalog-item { break-inside: avoid; }
}
