@layer reset, tokens, base, layout, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p, figure, ul, ol { margin: 0; }
  button, input, textarea { font: inherit; }
  button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
  button { color: inherit; }
  img, svg { display: block; max-width: 100%; }
  img { height: auto; }
  a { color: inherit; text-decoration: none; }
  button { cursor: pointer; }
  ul, ol { padding: 0; }
  dialog { padding: 0; }
  [hidden] { display: none !important; }
}

@layer tokens {
  :root {
    --navy: #002a52;
    --blue: #006fce;
    --blue-hover: #004d92;
    --orange: #ffaa00;
    --ink: #1a2433;
    --muted: #566477;
    --gray: #8a94a3;
    --soft: #f6f8fb;
    --border: #dbe3ed;
    --shadow: 0 24px 60px -20px rgba(0, 42, 82, .35);
    --ease: 180ms ease;
  }
}

@layer base {
  @font-face { font-family: Manrope; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/assets/fonts/manrope-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
  @font-face { font-family: Manrope; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/assets/fonts/manrope-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
  @font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
  @font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
  html { scroll-behavior: smooth; scroll-padding-top: 24px; }
  body { background: #fff; color: var(--ink); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 1.0625rem; line-height: 1.6; }
  h1, h2, h3 { font-family: Manrope, system-ui, sans-serif; font-weight: 700; line-height: 1.16; text-wrap: balance; letter-spacing: -.035em; }
  h1 { font-size: clamp(2.25rem, 6vw, 4rem); font-weight: 800; }
  h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
  h3 { font-size: 1.375rem; letter-spacing: -.025em; }
  p { max-width: 60ch; }
  a, button { transition: color var(--ease), background var(--ease), border-color var(--ease), transform var(--ease); }
  a:hover { color: var(--blue-hover); }
  :focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
  .dark :focus-visible { outline-color: #fff; }
  ::selection { background: #cbe6ff; color: var(--navy); }
  input, textarea { min-width: 0; border: 1px solid #94a3b8; border-radius: 6px; background: #fff; color: var(--ink); padding: 12px 14px; width: 100%; }
  textarea { resize: vertical; }
  input[type='radio'] { width: 18px; height: 18px; accent-color: var(--blue); }
  small { font-size: .8125rem; }
}

@layer layout {
  .wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
  .section { padding-block: 96px; }
  .section-heading { margin-bottom: 40px; }
  .section-heading h2 { max-width: 25ch; }
  .section-heading p:not(.eyebrow), .page-heading p:not(.eyebrow) { margin-top: 16px; color: var(--muted); }
  .section-heading .eyebrow + h2 { margin-top: 12px; }
  .split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 96px; }
  .soft { background: var(--soft); }
  .dark { background: var(--navy); color: white; }
  .dark p, .dark .section-heading p:not(.eyebrow) { color: #cedbe8; }
  .dark a:hover { color: #fff; }
}

@layer components {
  .eyebrow { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; line-height: 1.5; color: var(--blue); }
  .dark .eyebrow { color: #b7cfe4; }
  .brand { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; font-family: Manrope, system-ui, sans-serif; font-size: 23px; font-weight: 800; line-height: 1; white-space: nowrap; }
  .brand strong { color: var(--orange); font-weight: inherit; }
  .brand-mark { width: 40px; height: 40px; flex: none; }
  .site-header { background: var(--navy); color: white; border-bottom: 1px solid #224465; }
  .header-inner { display: flex; min-height: 88px; align-items: center; gap: 28px; }
  .site-header nav { display: flex; gap: 24px; margin-left: auto; }
  .site-header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; color: #dce6ef; white-space: nowrap; }
  .site-header nav a:hover, .site-header nav a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 8px; }
  .header-actions { display: flex; align-items: center; gap: 16px; }
  .language-link { display: grid; place-items: center; min-width: 44px; min-height: 44px; font-size: .8125rem; color: #dce6ef; }
  .button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 22px; border: 1px solid transparent; border-radius: 6px; font-size: .875rem; font-weight: 600; line-height: 1.5; text-align: center; }
  .button:hover { transform: translateY(-2px); }
  .button-primary, .dark .button-primary { background: var(--orange); color: var(--ink); }
  .button-primary:hover, .dark .button-primary:hover { background: #ffbc38; color: var(--ink); }
  .button-outline { border-color: #7890a8; color: var(--navy); }
  .button-outline:hover { background: #edf3f9; color: var(--navy); }
  .dark .button-outline { color: white; border-color: #7895af; }
  .dark .button-outline:hover { background: #113e67; }
  .button-blue { background: var(--blue); color: white; }
  .button-blue:hover { background: var(--blue-hover); color: #fff; }
  .button-small { padding: 9px 20px; min-height: 44px; }
  .button-group { display: flex; flex-wrap: wrap; gap: 12px; }
  .text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 600; color: var(--blue); }
  .dark .text-link { color: #d8e9f8; }
  .hero { overflow: hidden; padding-block: 72px 80px; }
  .hero-grid { display: grid; grid-template-columns: 5fr 7fr; column-gap: 48px; row-gap: 28px; align-items: center; }
  .hero-copy { grid-column: 1; }
  .hero-copy .eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
  .line-mark { width: 32px; border-top: 2px dashed var(--gray); }
  .hero h1 { max-width: 12ch; }
  .hero-description { margin-top: 24px; font-size: 1.0625rem; line-height: 1.7; }
  .hero-media { grid-column: 2; grid-row: 1 / 3; min-width: 0; }
  .hero-actions { grid-column: 1; }
  .hero-actions .button-group { flex-direction: column; align-items: flex-start; }
  .hero-actions .text-link { margin-top: 12px; }
  .window { overflow: hidden; border: 1px solid #b8c8d8; border-radius: 10px; box-shadow: var(--shadow); background: #111d29; }
  .window-bar { min-height: 34px; display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: #edf2f8; color: #4d6075; font-size: .6875rem; font-weight: 500; line-height: 1.2; }
  .window-dots { display: flex; gap: 5px; flex: none; }
  .window-dots i { width: 5px; height: 5px; border-radius: 50%; background: #8b9cb0; }
  .window-status { margin-left: auto; }
  .window picture, .window img { width: 100%; }
  .hero-window { border-color: #557089; }
  .hero-window .window-bar { background: #164069; color: #d3e1ef; }
  .tour-trigger { display: block; position: relative; }
  .tour-trigger > picture { display: block; opacity: .8; }
  .play-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; font-size: 15px; font-weight: 600; background: linear-gradient(transparent, rgba(0, 21, 41, .7)); }
  .play-circle { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: var(--ink); background: var(--orange); font-size: 17px; padding-left: 3px; }
  .duration { font-size: .75rem; background: #102b43; padding: 2px 8px; border-radius: 4px; font-weight: 400; }
  .hero-thumbnails { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
  .hero-thumbnails a { min-width: 0; color: #cedbe8; font-size: .6875rem; }
  .hero-thumbnails picture { display: block; overflow: hidden; border: 1px solid #4a6581; border-radius: 5px; aspect-ratio: 2.4; margin-bottom: 8px; }
  .hero-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
  .proof-strip { border-bottom: 1px solid var(--border); padding: 40px 0 24px; }
  .proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
  .proof-stat { display: flex; flex-direction: column; text-align: center; border-right: 1px solid var(--border); gap: 2px; }
  .proof-stat:last-child { border: 0; }
  .proof-stat strong { font-family: Manrope, system-ui, sans-serif; font-size: 2rem; letter-spacing: -.04em; color: var(--navy); font-weight: 800; font-variant-numeric: tabular-nums; }
  .proof-stat span { font-size: .8125rem; color: var(--muted); }
  .proof-strip p { margin: 24px auto 0; text-align: center; font-size: .8125rem; color: var(--muted); }
  .comparison { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
  .compare-head, .compare-row { display: grid; grid-template-columns: 1fr 1fr; }
  .compare-head { font-family: Manrope, system-ui, sans-serif; font-weight: 700; font-size: 1.25rem; }
  .compare-head span { padding: 24px 36px; border-bottom: 1px solid var(--border); }
  .compare-head span:first-child { background: var(--soft); }
  .compare-head span:last-child { color: var(--blue); }
  .compare-cell { position: relative; padding: 20px 36px 20px 64px; border-bottom: 1px solid var(--border); }
  .compare-row:last-child .compare-cell { border-bottom: 0; }
  .compare-cell::before { content: ''; position: absolute; left: 32px; top: 0; height: 100%; border-left: 2px dashed var(--gray); }
  .compare-cell::after { content: ''; position: absolute; top: 47px; left: 28px; width: 10px; height: 10px; border-radius: 50%; background: var(--gray); border: 2px solid var(--soft); }
  .compare-cell.before { background: var(--soft); color: #566273; }
  .compare-cell.after::before { border-left: 2px solid var(--orange); }
  .compare-cell.after::after { background: var(--orange); border-color: #fff; }
  .scenario { display: block; margin-bottom: 5px; font-size: .75rem; color: var(--muted); }
  .compare-cell strong { display: block; font-size: 1rem; font-weight: 600; }
  .compare-cell.after strong { color: var(--navy); }
  .compare-switch { display: none; }
  .compare-row.in-view .flip-value { animation: flip-in 400ms ease both; }
  @keyframes flip-in { from { transform: rotateX(-65deg); opacity: .3; } to { transform: rotateX(0); opacity: 1; } }
  .module-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 32px; }
  .module-filters button, .compare-switch button { background: transparent; border: 1px solid var(--border); border-radius: 6px; min-height: 44px; padding: 9px 18px; font-size: .8125rem; font-weight: 600; }
  .module-filters button[aria-pressed='true'], .compare-switch button[aria-pressed='true'] { background: var(--navy); border-color: var(--navy); color: #fff; }
  .module-layout { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; }
  .module-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-content: start; }
  .module-tile { border: 1px solid #d3dde8; background: #fff; border-radius: 8px; padding: 12px; display: flex; flex-direction: column; min-width: 0; gap: 12px; position: relative; z-index: 1; }
  .module-tile:hover { border-color: var(--blue); transform: translateY(-2px); color: var(--ink); }
  .module-tile.is-selected { border-color: var(--blue); outline: 1px solid var(--blue); }
  .module-tile-label { display: flex; align-items: flex-start; gap: 8px; font-size: .6875rem; font-weight: 600; line-height: 1.4; min-height: 42px; }
  .module-tile-label .icon { width: 20px; height: 20px; color: var(--blue); }
  .module-crop { display: block; aspect-ratio: 2; overflow: hidden; border-radius: 3px; background: #edf2f7; margin-top: auto; }
  .module-crop img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
  .module-crop picture { display: block; height: 100%; }
  .module-path { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--orange); stroke-width: 2; pointer-events: none; overflow: visible; }
  .module-path path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .module-section.in-view .module-path path { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms ease; }
  .module-preview { border-left: 1px solid var(--border); padding-left: 32px; min-width: 0; }
  .module-preview h3 { margin: 8px 0 24px; }
  .module-preview .window picture { aspect-ratio: 1.5; }
  .module-preview .window img { object-fit: contain; height: 100%; }
  .module-preview figcaption > span { display: none; }
  .module-preview .text-link { margin-top: 16px; }
  .missing-screen { display: flex; align-items: center; justify-content: center; height: 100%; gap: 6px; padding: 6px; }
  .missing-screen .icon { width: 16px; height: 16px; }
  .missing-screen small { font-size: .625rem; line-height: 1.2; }
  .screen-placeholder { min-height: 260px; border: 1px dashed #8a94a3; border-radius: 10px; display: grid; place-content: center; gap: 16px; text-align: center; padding: 24px; }
  .screen-placeholder .icon { margin: auto; }
  .flow-steps { list-style: none; display: flex; justify-content: space-between; margin-top: 40px; gap: 16px; font-size: .75rem; font-weight: 600; color: var(--muted); }
  .flow-steps li { display: flex; align-items: center; gap: 16px; }
  .flow-steps li:not(:last-child)::after { content: '→'; color: var(--blue); }
  .ai-tags { display: flex; flex-wrap: wrap; list-style: none; gap: 12px; margin-top: -12px; margin-bottom: 48px; }
  .ai-tags li { display: flex; align-items: center; gap: 8px; border: 1px solid #557089; border-radius: 6px; font-size: .75rem; padding: 8px 12px; color: #d4e2ef; }
  .ai-tags .icon { width: 16px; height: 16px; }
  .ai-stories { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
  .ai-stories h3 { margin-bottom: 24px; max-width: 25ch; min-height: 52px; }
  .document-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .document-step { min-width: 0; border: 1px solid var(--border); border-radius: 8px; padding: 16px 12px; background: #f6f8fb; }
  .document-step > strong { display: block; font-size: .75rem; line-height: 1.5; margin: 8px 0 20px; min-height: 36px; }
  .dark .document-step { background: #0b365e; border-color: #365a7a; }
  .step-number { color: var(--blue); font-family: Manrope, system-ui, sans-serif; font-weight: 700; font-size: .8125rem; }
  .dark .step-number { color: #b5cee4; }
  .paper-sheet { background: #fff; color: var(--ink); border-radius: 3px; padding: 12px 10px; min-height: 134px; }
  .paper-sheet > span:not(.pdf-label) { display: block; overflow-wrap: anywhere; font-size: .625rem; }
  .pdf-label { color: var(--blue); font-weight: 700; font-size: .75rem; }
  .paper-sheet svg { margin-top: 8px; color: #b3c1d0; }
  .scan-field { stroke: var(--blue); fill: #006fce16; stroke-width: 2px; }
  .ai-band.in-view .scan-field { animation: scan 2.5s ease 1; }
  @keyframes scan { 0% { transform: translateY(-32px); opacity: 0; } 40%, 100% { transform: translateY(0); opacity: 1; } }
  .extracted-fields, .record-table { display: flex; flex-direction: column; gap: 12px; font-size: .6875rem; padding-top: 12px; }
  .extracted-fields > span { padding: 6px; border: 1px dashed #8aa7c1; border-radius: 3px; }
  .source-tag { color: var(--blue); }
  .dark .source-tag { color: #b9daf5; }
  .record-table > span { border-bottom: 1px solid #7a96af; padding-bottom: 8px; }
  .record-confirm { line-height: 1.6; color: var(--blue); }
  .dark .record-confirm { color: #c8e1f8; }
  .evidence-panel { border: 1px solid #557089; border-radius: 8px; padding: 20px; background: #092f55; color: white; }
  .panel-top { display: flex; align-items: center; gap: 10px; font-size: .8125rem; }
  .panel-top small { margin-left: auto; font-size: .625rem; color: #b9cce0; }
  .ai-avatar { display: grid; place-items: center; border: 1px solid #6d89a3; width: 28px; height: 28px; border-radius: 7px; }
  .question { margin-top: 24px; padding: 12px; border-radius: 6px; background: #20496e; font-size: .8125rem; }
  .answer { display: flex; gap: 10px; padding: 18px 0; font-size: .8125rem; }
  .answer-dot { width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--orange); flex: none; }
  .evidence-source { display: flex; gap: 10px; border-top: 1px solid #41617e; padding-top: 14px; }
  .evidence-source .icon { width: 20px; height: 20px; }
  .evidence-source strong { display: block; font-size: .6875rem; font-weight: 500; }
  .evidence-source small { display: block; font-size: .625rem; margin-top: 6px; color: #bed1e2; }
  .ai-band > .wrap > .text-link { margin-top: 32px; }
  .mobile-copy h2 { margin: 12px 0 16px; max-width: 18ch; }
  .mobile-copy > p:not(.eyebrow) { color: var(--muted); }
  .numbered-steps { list-style: none; margin-top: 32px; }
  .numbered-steps li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); font-weight: 500; font-size: 1rem; }
  .numbered-steps span { color: var(--blue); font-size: .8125rem; }
  .platform-labels { font-size: .75rem; color: var(--muted); margin-top: 32px; }
  .phone-stage { position: relative; padding: 24px; display: flex; flex-direction: column; align-items: center; background-image: radial-gradient(#cdd8e5 1px, transparent 1px); background-size: 20px 20px; border-radius: 16px; }
  .phone { width: 290px; background: white; border: 7px solid var(--navy); border-radius: 36px; padding: 12px 6px 24px; }
  .phone-speaker { width: 60px; height: 5px; margin: 0 auto 20px; border-radius: 6px; background: var(--navy); }
  .phone-heading { padding: 0 16px 20px; }
  .phone-heading small { color: var(--blue); font-size: .6875rem; }
  .phone-heading strong { display: block; font-family: Manrope, system-ui, sans-serif; font-size: 1.375rem; }
  .phone-screen { fill: var(--ink); font-family: Inter, system-ui, sans-serif; width: 100%; }
  .phone-bottom { text-align: center; color: var(--blue); font-size: .6875rem; padding-top: 12px; }
  .offline-badge { align-self: flex-end; display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 6px; background: #fff; padding: 10px 14px; font-size: .75rem; margin-bottom: -12px; position: relative; z-index: 1; }
  .offline-badge .icon { width: 18px; height: 18px; color: var(--blue); }
  .illustration-label { font-size: .6875rem; color: var(--muted); background: #fff; margin-top: 12px; padding: 2px 8px; }
  .product-figure figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: .75rem; color: var(--muted); }
  .product-figure figcaption a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--blue); font-weight: 600; }
  .demo-section > .wrap > .button { margin-top: 24px; }
  .reference-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .reference-card { border-top: 1px solid var(--border); padding: 24px 0 0; }
  .reference-card > .icon { color: var(--blue); width: 32px; height: 32px; margin-bottom: 24px; }
  .reference-card .eyebrow { color: var(--muted); font-size: .6875rem; }
  .reference-card h3 { margin: 8px 0 12px; }
  .reference-card p { font-size: .875rem; color: var(--muted); }
  .final-cta .wrap { position: relative; }
  .final-cta h2 { max-width: 26ch; margin-bottom: 32px; }
  .cta-line { color: var(--orange); width: 160px; position: absolute; right: 40px; top: 0; }
  .site-footer { padding-top: 56px; border-top: 1px solid #345574; }
  .footer-main { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 64px; padding-bottom: 48px; }
  .footer-brand p { margin-top: 16px; font-size: .875rem; max-width: 30ch; }
  .site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
  .site-footer nav a, .footer-contact > a { display: flex; align-items: center; min-height: 44px; color: #d3dfeb; font-size: .8125rem; }
  .language-picker { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .8125rem; }
  .language-picker a { display: grid; place-items: center; width: 44px; height: 44px; }
  .footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid #345574; padding-block: 24px; color: #b5c7d9; }
  .footer-bottom small { font-size: .6875rem; }
  .page-heading { padding: 80px 0 40px; }
  .page-heading h1 { max-width: 19ch; margin-top: 16px; }
  .page-heading .button { margin-top: 32px; }
  .page-heading p:not(.eyebrow) { max-width: 60ch; }
  .standalone-screen { margin-top: 24px; margin-bottom: 80px; }
  .feature .window { max-width: 1100px; margin: auto; }
  .device-grid, .models-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .device-grid > div, .models-grid > div { padding: 32px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
  .device-grid .icon { width: 40px; height: 40px; color: var(--blue); margin-bottom: 32px; }
  .models-grid { grid-template-columns: 1fr 1fr; }
  .models-grid .brand-mark { color: var(--blue); width: 64px; height: 64px; margin-bottom: 24px; }
  .models-grid p { color: var(--muted); font-size: .875rem; margin-top: 12px; }
  .integration-flow, .xer-flow { display: flex; justify-content: center; align-items: center; gap: 40px; margin-top: 40px; }
  .integration-flow span { border: 1px solid var(--border); border-radius: 6px; padding: 16px 24px; }
  .alongside h2 { max-width: 30ch; }
  .xer-flow { border: 1px solid var(--border); background: white; border-radius: 10px; padding: 48px 24px; }
  .xer-flow > div { display: flex; flex-direction: column; gap: 16px; font-size: .875rem; color: var(--blue); }
  .before-after { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--soft); }
  .slider-section { padding-top: 16px; }
  .slider-labels { display: flex; justify-content: space-between; padding: 16px 24px; font-size: .875rem; font-weight: 600; }
  .slider-labels > :last-child { color: var(--blue); }
  .slider-canvas { position: relative; aspect-ratio: 1.93; --split: 50%; overflow: hidden; }
  .before-screen, .after-screen { position: absolute; inset: 0; }
  .before-screen svg { width: 100%; height: 100%; }
  .after-screen { clip-path: inset(0 0 0 var(--split)); }
  .after-screen picture, .after-screen img { width: 100%; height: 100%; object-fit: cover; }
  .slider-handle { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; background: var(--orange); pointer-events: none; }
  .slider-handle span { position: absolute; top: 45%; left: -22px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: var(--ink); }
  .range-label { display: block; font-size: .8125rem; padding: 20px 24px 0; }
  .range-label input { display: block; width: 100%; height: 44px; padding: 0; accent-color: var(--blue); cursor: ew-resize; }
  .slider-captions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; font-size: .75rem; color: var(--muted); padding: 0 24px 24px; }
  .slider-captions > :last-child { text-align: right; }
  .purchase-chain { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; list-style: none; margin-bottom: 40px; }
  .purchase-chain li { border-top: 2px solid var(--orange); padding-top: 16px; }
  .purchase-chain span { display: block; font-size: .75rem; color: var(--blue); margin-bottom: 8px; }
  .purchase-chain strong { font-size: .875rem; }
  .video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
  .video-card > a { display: block; position: relative; border-radius: 10px; overflow: hidden; background: #152535; }
  .video-card picture { display: block; aspect-ratio: 16/9; opacity: .75; }
  .video-card img { width: 100%; height: 100%; object-fit: cover; }
  .video-card .play-circle { position: absolute; inset: 0; margin: auto; }
  .video-badge { position: absolute; bottom: 14px; right: 14px; padding: 4px 10px; background: var(--navy); color: #fff; border-radius: 4px; font-size: .75rem; }
  .video-card h2 { font-size: 1.375rem; margin-top: 20px; }
  .coming-soon { display: block; }
  .coming-soon-poster { display: grid; place-content: center; justify-items: center; gap: 12px; width: 100%; aspect-ratio: 16/9; border: 1px dashed #8a94a3; border-radius: 10px; color: var(--muted); font-size: .75rem; }
  .clips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .clip-card { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; border: 1px solid var(--border); border-radius: 8px; padding: 24px; }
  .clip-card .icon { color: var(--blue); }
  .clip-card > span { font-size: .75rem; color: var(--muted); }
  .clip-card > span:last-child { margin-left: auto; }
  .contact-section { padding-top: 24px; }
  .contact-layout { display: grid; grid-template-columns: 7fr 5fr; gap: 80px; }
  .contact-form { min-width: 0; }
  .contact-form > label { display: block; margin-top: 24px; }
  .contact-form label { font-size: .875rem; font-weight: 500; }
  .contact-form input:not([type='radio']), .contact-form textarea { display: block; margin-top: 8px; }
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
  .intent-options { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
  .intent-options legend { font-size: .8125rem; margin-bottom: 12px; color: var(--muted); }
  .intent-options label { display: flex; gap: 12px; align-items: center; padding: 18px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; min-height: 64px; }
  .intent-options label:has(input:checked) { border-color: var(--blue); background: #f0f7fe; }
  .intent-options input { margin: 0; flex: none; }
  .form-note, .form-status, .copy-status { font-size: .8125rem; color: var(--muted); }
  .form-note { margin: 24px 0; }
  .form-status:not(:empty) { margin-top: 16px; }
  .contact-aside { padding: 40px; background: var(--soft); border-radius: 10px; align-self: start; }
  .contact-icon { display: block; color: var(--blue); margin-bottom: 32px; }
  .contact-icon .icon { width: 36px; height: 36px; }
  .contact-aside h2 { font-size: 1.375rem; }
  .email-address { display: flex; min-height: 44px; align-items: center; color: var(--blue); margin-top: 16px; overflow-wrap: anywhere; font-size: 1rem; }
  .copy-button { border: 1px solid #9aabba; border-radius: 6px; background: transparent; min-height: 44px; padding: 8px 14px; margin-top: 12px; font-size: .8125rem; }
  .contact-aside > .brand-mark { color: var(--blue); margin-top: 48px; }
  .contact-aside > p:last-child { font-size: .875rem; margin-top: 16px; color: var(--muted); }
  .media-dialog, .image-dialog { width: min(1000px, calc(100% - 32px)); max-height: calc(100% - 32px); border: 1px solid #6d859b; border-radius: 10px; color: var(--ink); }
  dialog::backdrop { background: #00172ccc; }
  .dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px; background: #f6f8fb; }
  .dialog-heading h2 { font-size: 1.0625rem; letter-spacing: -.01em; }
  .dialog-close { display: grid; place-items: center; min-width: 44px; height: 44px; border: 1px solid var(--border); background: #fff; border-radius: 6px; font-size: 24px; }
  .video-mount:empty { display: none; }
  .video-mount iframe { width: 100%; aspect-ratio: 16/9; display: block; border: 0; }
  .video-placeholder { padding: 40px; }
  .video-placeholder p { margin-bottom: 24px; }
  .image-dialog { width: min(1500px, calc(100% - 32px)); }
  .image-mount { overflow: auto; background: #101e2b; }
  .image-mount img { width: 100%; height: auto; }
  .page-404 .page-heading { padding-block: 96px 128px; }
  .menu-toggle { display: none; }
}

@layer utilities {
  .icon { width: 24px; height: 24px; flex: none; }
  .icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
  .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: fixed; top: -100px; left: 20px; z-index: 20; background: #fff; color: var(--navy); padding: 12px 24px; }
  .skip-link:focus { top: 12px; }
  .js-only { display: none; }
  .js .module-filters, .js .copy-button { display: flex; }
  .js .reveal-ready { opacity: 0; transform: translateY(12px); }
  .js .reveal-ready.in-view { opacity: 1; transform: translateY(0); transition: opacity 320ms ease, transform 320ms ease; }
  @media (min-width: 1025px) { .hero-window { transform: perspective(1600px) rotateY(-6deg); transform-origin: center; } }
  @media (max-width: 1099px) {
    .header-inner { gap: 16px; flex-wrap: wrap; padding-block: 12px; min-height: 72px; }
    .site-header nav { order: 4; width: 100%; margin: 0; justify-content: center; padding-bottom: 8px; flex-wrap: wrap; gap: 8px 24px; }
    .js .site-header nav { display: none; }
    .js .site-header nav.is-open { display: flex; }
    .js .menu-toggle { display: flex; margin-left: auto; gap: 8px; align-items: center; justify-content: center; min-height: 44px; border: 0; background: transparent; font-size: .8125rem; padding: 8px; }
    .header-actions { gap: 4px; }
    .hero-grid { gap: 32px; }
    .hero { padding-block: 56px; }
    .hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); }
    .hero-description { font-size: 1rem; }
    .hero-media { align-self: center; }
    .hero-thumbnails { gap: 8px; }
    .hero-thumbnails span { font-size: .625rem; }
    .module-layout { grid-template-columns: 1fr; }
    .module-preview { display: none; }
    .module-tile-label { font-size: .8125rem; }
    .module-crop { aspect-ratio: 2.5; }
    .split { gap: 40px; }
    .ai-stories { grid-template-columns: 1fr; gap: 40px; }
    .ai-stories h3 { min-height: 0; }
    .document-step { padding: 20px; }
    .footer-main { gap: 32px; grid-template-columns: 3fr 3fr 2fr; }
    .contact-layout { gap: 32px; }
    .contact-aside { padding: 24px; }
  }
  @media (max-width: 767px) {
    .wrap { width: calc(100% - 40px); }
    .section { padding-block: 56px; }
    .section-heading { margin-bottom: 28px; }
    .section-heading h2 { max-width: 22ch; }
    .brand { font-size: 21px; gap: 6px; }
    .brand-mark { width: 32px; height: 32px; }
    .header-inner { flex-wrap: wrap; gap: 4px; }
    .header-actions .button { display: none; }
    .site-header nav { justify-content: flex-start; }
    .site-header nav a { width: calc(50% - 12px); }
    .hero { padding: 32px 0 40px; }
    .hero-grid { display: flex; flex-direction: column; gap: 24px; align-items: stretch; }
    .hero-copy .eyebrow { margin-bottom: 16px; font-size: .6875rem; }
    .hero h1 { font-size: clamp(2.25rem, 6vw, 4rem); max-width: 14ch; line-height: 1.12; }
    .hero-description { margin-top: 16px; font-size: 1rem; line-height: 1.6; }
    .hero-media { width: 100%; }
    .hero-window { border-radius: 8px; box-shadow: none; }
    .hero-window .window-bar, .hero-thumbnails { display: none; }
    .tour-trigger { display: flex; height: 72px; align-items: stretch; background: #133c63; }
    .tour-trigger > picture { width: 88px; flex: none; opacity: 1; overflow: hidden; }
    .tour-trigger img { height: 100%; width: 100%; object-fit: cover; object-position: 65% center; }
    .play-overlay { position: static; display: grid; grid-template-columns: 28px 1fr; gap: 2px 8px; background: none; padding: 10px 12px; text-align: left; font-size: .75rem; line-height: 1.5; }
    .play-overlay .play-circle { width: 28px; height: 28px; font-size: 10px; grid-row: 1/3; }
    .play-overlay .duration { padding: 0; background: transparent; font-size: .6875rem; color: #b8cee2; }
    .hero-actions .button-group { align-items: stretch; }
    .hero-actions .text-link { margin-top: 8px; font-size: .75rem; }
    .button { padding-inline: 16px; }
    .hero-actions .button { font-size: .8125rem; }
    .proof-strip { padding-block: 24px; }
    .proof-grid { grid-template-columns: 1fr 1fr; gap: 24px 0; }
    .proof-stat:nth-child(2) { border: 0; }
    .proof-stat strong { font-size: 1.75rem; }
    .proof-stat span { font-size: .6875rem; }
    .proof-strip p { font-size: .75rem; margin-top: 24px; }
    .compare-head { font-size: 1rem; }
    .compare-head span { padding: 16px; }
    .compare-cell { padding: 16px 16px 16px 36px; }
    .compare-cell strong { font-size: .875rem; }
    .compare-cell::before { left: 16px; }
    .compare-cell::after { left: 12px; }
    .scenario { font-size: .6875rem; }
    .js .compare-switch { display: flex; gap: 8px; margin-bottom: 20px; }
    .js .compare-switch button { flex: 1; }
    .js .compare-head { display: none; }
    .js .compare-row { display: block; }
    .js .comparison[data-view='after'] .before, .js .comparison[data-view='before'] .after { display: none; }
    .module-filters { gap: 6px; margin-bottom: 24px; }
    .module-filters button { padding: 8px 11px; font-size: .6875rem; }
    .module-grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-template-rows: repeat(2, 148px); grid-auto-columns: 160px; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 3px 3px 16px; }
    .module-tile { scroll-snap-align: start; }
    .module-tile-label { font-size: .75rem; }
    .module-crop { aspect-ratio: 2; }
    .module-path { display: none; }
    .flow-steps { gap: 12px 16px; flex-wrap: wrap; justify-content: flex-start; font-size: .625rem; margin-top: 24px; }
    .flow-steps li { gap: 12px; }
    .ai-tags { gap: 8px; margin-bottom: 32px; }
    .ai-tags li { font-size: .6875rem; padding: 6px 10px; }
    .ai-stories { gap: 32px; }
    .ai-stories h3 { font-size: 1.25rem; }
    .document-flow { gap: 6px; }
    .document-step { padding: 12px 8px; }
    .document-step > strong { font-size: .75rem; margin-bottom: 12px; min-height: 54px; }
    .paper-sheet { padding: 8px 6px; min-height: 118px; }
    .paper-sheet > span:not(.pdf-label) { font-size: .625rem; }
    .extracted-fields, .record-table { font-size: .75rem; gap: 8px; overflow-wrap: anywhere; }
    .extracted-fields > span { padding: 5px 3px; }
    .evidence-panel { padding: 16px; }
    .panel-top { font-size: .75rem; }
    .panel-top small { font-size: .5rem; }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .phone-stage { padding: 16px 0; }
    .phone { width: 270px; }
    .phone-stage .offline-badge { margin-right: 0; }
    .mobile-copy h2 { max-width: 20ch; }
    .product-figure figcaption { font-size: .6875rem; }
    .product-figure figcaption > span { max-width: 50%; }
    .product-figure figcaption a { flex: none; }
    .reference-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
    .reference-card h3 { font-size: 1.125rem; }
    .reference-card p { font-size: .75rem; }
    .reference-card > .icon { margin-bottom: 16px; }
    .cta-line { display: none; }
    .final-cta .button-group { flex-direction: column; align-items: stretch; }
    .site-footer { padding-top: 40px; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 16px; padding-bottom: 32px; }
    .footer-brand { grid-column: 1/-1; }
    .site-footer nav { grid-template-columns: 1fr; }
    .footer-contact > a { font-size: .6875rem; }
    .footer-bottom { padding-block: 20px; gap: 16px; }
    .footer-bottom small { font-size: .625rem; }
    .page-heading { padding: 40px 0 24px; }
    .page-heading h1 { max-width: 15ch; }
    .page-heading p:not(.eyebrow) { font-size: 1rem; }
    .standalone-screen { margin-top: 16px; margin-bottom: 56px; }
    .device-grid { grid-template-columns: 1fr; gap: 12px; }
    .device-grid > div { display: flex; align-items: center; gap: 24px; padding: 24px; }
    .device-grid .icon { width: 28px; height: 28px; margin-bottom: 0; }
    .models-grid { gap: 12px; }
    .models-grid > div { padding: 24px 16px; }
    .models-grid p { font-size: .75rem; }
    .integration-flow { flex-wrap: wrap; gap: 12px; }
    .integration-flow span { font-size: .875rem; padding: 12px; }
    .xer-flow { gap: 16px; padding: 32px 12px; }
    .xer-flow > strong { font-size: .875rem; }
    .xer-flow > div { font-size: .625rem; }
    .slider-section { padding-top: 0; }
    .slider-labels { font-size: .6875rem; padding: 12px; }
    .slider-canvas { aspect-ratio: 1.4; }
    .slider-captions, .range-label { font-size: .6875rem; padding-inline: 12px; }
    .purchase-chain { gap: 10px; }
    .purchase-chain strong { font-size: .625rem; line-height: 1.5; display: block; overflow-wrap: anywhere; }
    .purchase-chain li { padding-top: 12px; }
    .video-grid { grid-template-columns: 1fr; }
    .coming-soon { display: block; }
    .coming-soon-poster { width: 100%; }
    .clips-grid { grid-template-columns: 1fr; gap: 12px; }
    .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .form-grid { grid-template-columns: 1fr; gap: 24px; }
    .contact-form > .button { width: 100%; font-size: .8125rem; }
    .video-placeholder { padding: 24px; }
    .image-mount img { width: auto; max-width: none; min-width: 100%; max-height: 75vh; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal-ready { opacity: 1; transform: none; }
    .module-path path { stroke-dashoffset: 0; }
    .hero-window, .button:hover, .module-tile:hover { transform: none; }
  }
}
