:root {
  --bg: #080a0d;
  --surface: #101419;
  --surface-2: #171c22;
  --surface-3: #20262e;
  --line: #2b333d;
  --line-strong: #3d4855;
  --text: #f3f7f8;
  --muted: #97a2ad;
  --muted-2: #6d7884;
  --cyan: #21ded4;
  --cyan-dark: #04a79f;
  --green: #5ee0a2;
  --amber: #ffb84c;
  --blue: #5b91ff;
  --max: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: 0; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 200; padding: 10px 14px; border-radius: 6px; background: var(--cyan); color: #002c2a; font-weight: 800; }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 74px; display: flex; align-items: center; gap: 30px; padding: 0 max(24px, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid transparent; transition: background 180ms ease, border-color 180ms ease; }
.site-header.scrolled { border-color: rgba(255,255,255,.08); background: rgba(8,10,13,.94); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 38px; height: 28px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; }
.brand strong { font-size: 15px; line-height: 1; }
.brand small { margin-top: 4px; color: var(--cyan); font-size: 8px; font-weight: 850; letter-spacing: 1.8px; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.desktop-nav a { color: #c7d0d7; font-size: 13px; font-weight: 650; }
.desktop-nav a:hover { color: var(--cyan); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.admin-link { min-height: 38px; display: inline-flex; align-items: center; gap: 7px; padding: 0 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; font-size: 12px; font-weight: 750; }
.admin-link:hover { border-color: var(--cyan); color: var(--cyan); }
.admin-link svg { width: 15px; }
.menu-button { display: none; width: 40px; height: 40px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); cursor: pointer; }
.menu-button svg { width: 19px; }
.mobile-nav { position: fixed; top: 74px; left: 0; right: 0; display: grid; padding: 14px 20px 22px; border-bottom: 1px solid var(--line); background: var(--surface); box-shadow: 0 18px 45px rgba(0,0,0,.4); }
.mobile-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.mobile-nav a:last-child { border-bottom: 0; color: var(--cyan); }

.hero { position: relative; min-height: min(900px, 94vh); display: flex; align-items: center; overflow: hidden; }
.hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: rgba(4,7,9,.42); }
.hero-inner { position: relative; z-index: 2; width: min(600px, 52vw); margin-left: max(24px, calc((100vw - var(--max)) / 2)); padding-top: 72px; }
.eyebrow { margin: 0 0 13px; color: var(--cyan); font-size: 11px; font-weight: 850; letter-spacing: 1.5px; }
.hero h1 { margin: 0; font-size: 88px; line-height: .94; letter-spacing: 0; }
.hero-copy { max-width: 570px; margin: 25px 0 0; color: #c4ced4; font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.primary-button, .secondary-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 1px solid transparent; border-radius: 6px; font-size: 13px; font-weight: 800; }
.primary-button { background: var(--cyan); color: #002e2b; }
.primary-button:hover { background: #6bf4ed; }
.secondary-button { border-color: rgba(255,255,255,.28); background: rgba(6,9,12,.58); color: var(--text); }
.secondary-button:hover { border-color: var(--cyan); color: var(--cyan); }
.primary-button svg, .secondary-button svg { width: 17px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 20px; margin: 38px 0 0; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 8px; color: #d9e0e4; font-size: 11px; font-weight: 750; }
.hero-points svg { width: 16px; color: var(--cyan); }
.hero-product { position: absolute; z-index: 3; right: max(22px, calc((100vw - var(--max)) / 2)); bottom: -210px; width: min(310px, 24vw); filter: drop-shadow(0 28px 46px rgba(0,0,0,.65)); transform: rotate(2deg); }
.hero-product img { width: 100%; }

.signal-strip { min-height: 66px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0b0e12; }
.signal-strip span { display: grid; place-items: center; min-width: 0; padding: 0 14px; border-right: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 750; text-align: center; }
.signal-strip span:last-child { border-right: 0; }

.section { padding: 110px max(24px, calc((100vw - var(--max)) / 2)); }
.section-heading { max-width: 760px; margin-bottom: 54px; }
.section-heading h2, .band-copy h2, .proof-copy h2, .closing-section h2 { margin: 0; font-size: 54px; line-height: 1.05; }
.section-heading > p:last-child, .band-copy > p, .proof-copy > p, .closing-section > p { margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

.product-section { background: #0d1115; }
.product-layout { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(420px, 1.15fr); align-items: center; gap: clamp(50px, 8vw, 110px); }
.phone-stage { display: grid; justify-items: center; }
.phone-shell { width: min(360px, 100%); max-height: 660px; overflow: hidden; border: 8px solid #242b33; border-radius: 44px; background: #000; box-shadow: 0 34px 80px rgba(0,0,0,.5); }
.phone-shell img { width: 100%; min-height: 640px; object-fit: cover; object-position: top; transition: opacity 160ms ease; }
.phone-shell img.switching { opacity: .25; }
.screen-switcher { display: inline-flex; margin-top: 18px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.screen-switcher button { min-height: 34px; padding: 0 13px; border: 0; border-radius: 5px; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 750; }
.screen-switcher button.active { background: var(--surface-3); color: var(--cyan); }
.flow-list { border-top: 1px solid var(--line); }
.flow-list article { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.flow-list article > span { color: var(--cyan); font-size: 12px; font-weight: 850; }
.flow-list h3 { margin: 0 0 8px; font-size: 20px; }
.flow-list p { margin: 0; color: var(--muted); line-height: 1.65; }

.offline-band { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(50px, 8vw, 110px); background: #e9f0f1; color: #101519; }
.offline-visual { overflow: hidden; border: 1px solid #cad4d7; border-radius: 8px; background: #f8fbfb; box-shadow: 0 24px 60px rgba(31,47,52,.15); }
.offline-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 18px; border-bottom: 1px solid #d8e1e3; background: #fff; }
.offline-head > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 7px; background: #121a20; color: var(--cyan); }
.offline-head svg { width: 19px; }
.offline-head small, .offline-head strong { display: block; }
.offline-head small { color: #bd6411; font-size: 9px; font-weight: 850; letter-spacing: 1px; }
.offline-head strong { margin-top: 4px; font-size: 14px; }
.offline-head b { min-width: 58px; padding: 7px 9px; border-radius: 14px; background: #fff0dc; color: #a65308; font-size: 10px; text-align: center; }
.queue-list { padding: 8px 18px; }
.queue-list > div { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; min-height: 66px; border-bottom: 1px solid #dce4e6; }
.queue-list > div:last-child { border-bottom: 0; }
.queue-list > div > svg { width: 18px; color: #148d87; }
.queue-list span strong, .queue-list span small { display: block; }
.queue-list span strong { font-size: 12px; }
.queue-list span small { margin-top: 4px; color: #748086; font-size: 10px; }
.queue-list em { color: #a85b13; font-size: 9px; font-style: normal; font-weight: 800; }
.sync-line { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-top: 1px solid #d8e1e3; background: #edf5f5; }
.sync-line span { width: 8px; height: 8px; border-radius: 50%; background: #149c94; box-shadow: 0 0 0 5px rgba(20,156,148,.12); }
.sync-line p { margin: 0; color: #536066; font-size: 10px; }
.band-copy .eyebrow { color: #087a75; }
.band-copy > p { color: #526067; }
.check-list { display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: #263137; font-size: 13px; font-weight: 650; }
.check-list svg { width: 17px; color: #078b84; }

.ai-section { background: #080a0d; }
.ai-layout { display: grid; grid-template-columns: minmax(390px, 1.05fr) minmax(340px, .95fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.ai-conversation { padding: 18px; border: 1px solid #27444a; border-radius: 8px; background: #0d1216; }
.ai-conversation header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.ai-conversation header > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 7px; background: rgba(33,222,212,.1); color: var(--cyan); }
.ai-conversation header svg { width: 18px; }
.ai-conversation header strong, .ai-conversation header small { display: block; }
.ai-conversation header small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.ai-conversation header b { color: var(--green); font-size: 9px; }
.user-message { width: 74%; margin: 22px 0 14px auto; padding: 14px 16px; border: 1px solid #087a75; border-radius: 8px; background: #062523; font-size: 13px; }
.assistant-message { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); }
.assistant-message > small { color: var(--cyan); font-size: 9px; font-weight: 800; }
.assistant-message > strong { display: block; margin-top: 10px; font-size: 16px; }
.assistant-message > p { margin: 10px 0 16px; color: #b2bcc4; font-size: 12px; line-height: 1.6; }
.assistant-message > div { display: flex; align-items: center; gap: 10px; min-height: 40px; border-top: 1px solid var(--line); color: #dbe2e6; font-size: 11px; }
.assistant-message > div span { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: rgba(33,222,212,.12); color: var(--cyan); font-size: 9px; font-weight: 800; }
.ai-conversation footer { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 0 6px 0 14px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted-2); font-size: 11px; }
.ai-conversation footer button { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 6px; background: var(--cyan); color: #002d2a; }
.ai-conversation footer svg { width: 17px; }
.ai-capabilities { display: grid; grid-template-columns: 1fr 1fr; }
.ai-capabilities article { min-height: 190px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ai-capabilities article:nth-child(2n) { border-right: 0; }
.ai-capabilities article:nth-last-child(-n+2) { border-bottom: 0; }
.ai-capabilities svg { width: 22px; color: var(--cyan); }
.ai-capabilities h3 { margin: 22px 0 8px; font-size: 16px; }
.ai-capabilities p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.modules-section { background: #11151a; }
.module-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.module-grid article { min-height: 190px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 28px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #11151a; }
.module-grid article:hover { background: #151b21; }
.module-grid svg { width: 24px; color: var(--cyan); }
.module-grid h3 { margin: 0 0 8px; font-size: 15px; }
.module-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

.proof-section { display: grid; grid-template-columns: 1fr .78fr; align-items: center; gap: clamp(50px, 9vw, 130px); background: #e9f0f1; color: #11161a; }
.proof-copy > p { color: #536067; }
.proof-copy .eyebrow { color: #087a75; }
.proof-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 35px; border-top: 1px solid #c8d3d5; }
.proof-facts > div { padding: 20px 16px 0 0; }
.proof-facts strong, .proof-facts span { display: block; }
.proof-facts strong { font-size: 24px; }
.proof-facts span { margin-top: 7px; color: #66737a; font-size: 10px; line-height: 1.4; }
.document-visual { padding: 28px; border: 1px solid #cad4d7; border-radius: 8px; background: #fff; box-shadow: 0 25px 60px rgba(31,47,52,.16); }
.document-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 2px solid #1a242a; }
.document-head > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 7px; background: #10181d; color: var(--cyan); }
.document-head svg { width: 19px; }
.document-head strong, .document-head small { display: block; }
.document-head small { margin-top: 4px; color: #718087; font-size: 9px; }
.document-head b { padding: 7px 9px; border-radius: 13px; background: #e5f8f1; color: #127552; font-size: 9px; }
.document-lines { display: grid; gap: 7px; padding: 22px 0; }
.document-lines span { display: block; height: 6px; background: #e4eaec; }
.document-lines span:nth-child(2) { width: 78%; }
.document-lines span:nth-child(3) { width: 55%; }
.document-info { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid #d7e0e2; border-bottom: 1px solid #d7e0e2; }
.document-info small, .document-info strong { display: block; }
.document-info small { color: #77838a; font-size: 8px; font-weight: 800; }
.document-info strong { margin-top: 6px; font-size: 11px; }
.document-checks { padding: 16px 0; }
.document-checks p { display: flex; align-items: center; gap: 8px; margin: 10px 0; color: #3f4b51; font-size: 10px; }
.document-checks svg { width: 14px; color: #108974; }
.document-footer { display: flex; align-items: center; justify-content: space-between; padding: 14px; border-radius: 6px; background: #11191e; color: #fff; }
.document-footer span { color: #ff5e6c; font-weight: 900; }
.document-footer small { color: #aab5bb; }

.closing-section { display: grid; justify-items: center; text-align: center; background: #080a0d; }
.closing-section > img { width: 150px; margin-bottom: 30px; }
.closing-section > p:not(.eyebrow) { max-width: 680px; }
.closing-section .hero-actions { justify-content: center; }

.site-footer { min-height: 96px; display: flex; align-items: center; gap: 28px; padding: 20px max(24px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); background: #0a0d10; }
.site-footer p { margin: 0; color: var(--muted); font-size: 11px; }
.site-footer > span { margin-left: auto; color: var(--muted-2); font-size: 10px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-button { display: grid; }
  .hero-inner { width: min(650px, 65vw); }
  .hero h1 { font-size: 72px; }
  .section-heading h2, .band-copy h2, .proof-copy h2, .closing-section h2 { font-size: 46px; }
  .hero-product { width: 250px; opacity: .78; }
  .signal-strip { grid-template-columns: repeat(3, 1fr); }
  .signal-strip span:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .product-layout, .offline-band, .ai-layout, .proof-section { gap: 50px; }
  .module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .section { padding-top: 82px; padding-bottom: 82px; }
  .hero { min-height: 820px; align-items: flex-start; }
  .hero-background { object-position: 62% center; }
  .hero-shade { background: rgba(4,7,9,.66); }
  .hero-inner { width: auto; margin: 0; padding: 155px 24px 240px; }
  .hero-product { right: 24px; bottom: -310px; width: 230px; opacity: .62; }
  .product-layout, .offline-band, .ai-layout, .proof-section { grid-template-columns: 1fr; }
  .offline-visual { order: 2; }
  .phone-shell { max-height: 590px; }
  .phone-shell img { min-height: 570px; }
  .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .site-header { height: 66px; padding: 0 14px; }
  .mobile-nav { top: 66px; }
  .admin-link { display: none; }
  .hero { min-height: 790px; }
  .hero-background { object-position: 66% center; }
  .hero-inner { padding: 132px 18px 245px; }
  .hero h1 { font-size: 52px; }
  .hero-copy { font-size: 16px; }
  .hero-actions > a { flex: 1; min-width: 150px; }
  .hero-points { gap: 13px; }
  .hero-points li { width: 100%; }
  .hero-product { right: -2px; bottom: -365px; width: 205px; }
  .signal-strip { grid-template-columns: repeat(2, 1fr); }
  .signal-strip span { min-height: 52px; border-bottom: 1px solid var(--line); }
  .signal-strip span:nth-last-child(-n+2) { border-bottom: 0; }
  .section { padding: 72px 18px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .band-copy h2, .proof-copy h2, .closing-section h2 { font-size: 36px; }
  .section-heading > p:last-child, .band-copy > p, .proof-copy > p, .closing-section > p { font-size: 14px; }
  .flow-list article { grid-template-columns: 34px 1fr; gap: 12px; }
  .queue-list { padding: 6px 12px; }
  .queue-list > div { grid-template-columns: 28px 1fr; }
  .queue-list em { display: none; }
  .ai-capabilities { grid-template-columns: 1fr; }
  .ai-capabilities article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .ai-capabilities article:last-child { border-bottom: 0 !important; }
  .user-message { width: 88%; }
  .module-grid { grid-template-columns: 1fr; }
  .module-grid article { min-height: 150px; }
  .proof-facts { grid-template-columns: 1fr; }
  .proof-facts > div { padding-top: 16px; }
  .document-visual { padding: 18px; }
  .site-footer { display: grid; justify-items: start; gap: 13px; }
  .site-footer > span { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
