:root {
  --bg: #f4f2ec;
  --paper: #fffefa;
  --ink: #0d1424;
  --muted: #626874;
  --line: rgba(13, 20, 36, 0.13);
  --line-strong: rgba(13, 20, 36, 0.22);
  --accent: #b6ff3b;
  --accent-dark: #91db1f;
  --purple: #6f50f5;
  --green: #07875a;
  --blue: #2368d7;
  --dark: #0d1424;
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow: 0 28px 80px rgba(13, 20, 36, 0.12);
  --shell: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(900px 480px at 8% 0%, rgba(182, 255, 59, 0.22), transparent 65%),
    radial-gradient(800px 520px at 94% 8%, rgba(111, 80, 245, 0.11), transparent 64%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: -0.022em;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(13, 20, 36, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 20, 36, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 42%);
}

button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { color: inherit; }

.shell {
  width: min(var(--shell), calc(100% - 36px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--dark);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(13, 20, 36, 0.08);
  background: rgba(244, 242, 236, 0.82);
  backdrop-filter: blur(18px);
}

.header-row {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background: var(--dark);
  color: var(--accent);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.06em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.brand-copy strong,
.brand-copy small { display: block; }
.brand-copy strong { font-size: 15px; font-weight: 900; }
.brand-copy small { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.desktop-nav a {
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #3f4550;
  font-size: 13px;
  font-weight: 800;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.desktop-nav a:hover {
  border-color: var(--line);
  background: rgba(255,255,255,.64);
  color: var(--ink);
}

.desktop-nav .nav-cta {
  margin-left: 6px;
  border-color: var(--dark);
  background: var(--dark);
  color: white;
}

.menu-toggle,
.mobile-menu { display: none; }

.hero {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 60px;
  min-height: 690px;
  padding-block: 76px 68px;
}

.hero > *,
.gateway-card,
.architecture-media,
.proof-grid,
.layers-grid {
  min-width: 0;
  max-width: 100%;
}

.eyebrow,
.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: -.01em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(182,255,59,.25);
}

.hero h1 {
  margin: 22px 0 22px;
  max-width: 720px;
  font-size: clamp(58px, 6.5vw, 78px);
  font-weight: 800;
  line-height: .91;
  letter-spacing: -.078em;
}

.hero h1 span { color: var(--purple); }

.hero-lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  font-size: 14px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--dark); background: var(--dark); color: white; box-shadow: 0 14px 32px rgba(13,20,36,.15); }
.button-secondary { background: rgba(255,255,255,.76); }
.button-accent { border-color: var(--accent); background: var(--accent); color: var(--dark); }

.hero-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; font-weight: 650; }

.gateway-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 25px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 32px;
  background:
    radial-gradient(380px 300px at 105% -5%, rgba(111,80,245,.34), transparent 70%),
    radial-gradient(300px 260px at -10% 90%, rgba(182,255,59,.1), transparent 68%),
    linear-gradient(145deg, #111a31, #080d19 72%);
  color: white;
  box-shadow: 0 38px 100px rgba(13,20,36,.28);
}

.gateway-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.07), transparent 22% 78%, rgba(255,255,255,.035));
  content: "";
}

.gateway-card > * { position: relative; z-index: 1; }

.gateway-topline,
.gateway-footer,
.flow-stage,
.policy-layer-title,
.gateway-core-head,
.gateway-core-copy,
.models-heading,
.model-list {
  display: flex;
  align-items: center;
}

.gateway-topline { justify-content: space-between; color: #f5f7fb; font-size: 11px; font-weight: 800; letter-spacing: .01em; }
.gateway-live { display: inline-flex; align-items: center; gap: 7px; color: #c2cad8; font-size: 9px; letter-spacing: 0; }
.gateway-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(182,255,59,.12); }

.gateway-orbit {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(182,255,59,.08);
  border-radius: 50%;
  pointer-events: none;
}

.gateway-orbit-one { width: 280px; height: 280px; right: -180px; top: 80px; }
.gateway-orbit-two { width: 180px; height: 180px; left: -125px; bottom: 25px; }
.platform-flow { margin-top: 21px; }

.flow-stage,
.policy-layer,
.models-layer {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(8px);
}

.flow-stage { gap: 12px; padding: 13px; border-radius: 18px; }
.stage-number { display: grid; flex: 0 0 auto; width: 26px; height: 26px; place-items: center; border-radius: 9px; background: rgba(255,255,255,.08); color: #9eabc0; font-size: 9px; font-weight: 900; }
.stage-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: var(--accent); color: var(--dark); }
.stage-icon svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stage-copy { flex: 1; }
.stage-copy small,
.stage-copy strong { display: block; }
.stage-copy small { color: #9faabd; font-size: 9px; }
.stage-copy strong { margin-top: 1px; font-size: 15px; }
.stage-tag { padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.07); color: #cbd2dd; font-size: 9px; font-weight: 750; }

.flow-connector { display: grid; height: 19px; place-items: center; }
.flow-connector span { width: 2px; height: 100%; background: linear-gradient(var(--purple), var(--accent)); }
.policy-layer { padding: 12px 13px 13px; border-radius: 18px; }
.policy-layer-title,
.models-heading { gap: 9px; }
.policy-layer-title strong,
.models-heading strong { font-size: 11px; }
.policy-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 10px; }
.policy-pills span { display: flex; min-height: 33px; align-items: center; gap: 5px; padding: 7px; border-radius: 10px; background: rgba(0,0,0,.17); color: #c6cfdd; font-size: 9px; font-weight: 700; }
.policy-pills i { display: grid; width: 14px; height: 14px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: rgba(182,255,59,.13); color: var(--accent); font-size: 8px; font-style: normal; }

.gateway-core { padding: 15px; border: 1px solid rgba(182,255,59,.36); border-radius: 20px; background: linear-gradient(135deg, rgba(182,255,59,.14), rgba(111,80,245,.13)); box-shadow: 0 0 36px rgba(182,255,59,.06), inset 0 0 0 1px rgba(255,255,255,.035); }
.gateway-core-head { justify-content: space-between; }
.gateway-core .stage-number { background: var(--accent); color: var(--dark); }
.core-badge { padding: 5px 7px; border: 1px solid rgba(182,255,59,.23); border-radius: 7px; color: #dfffb0; font-size: 8px; font-weight: 900; letter-spacing: .06em; }
.gateway-core-copy { gap: 12px; margin-top: 11px; }
.gateway-symbol { display: grid; width: 43px; height: 43px; flex: 0 0 auto; place-items: center; border-radius: 14px; background: var(--accent); color: var(--dark); font-size: 22px; font-weight: 900; }
.gateway-core-copy small,
.gateway-core-copy strong { display: block; }
.gateway-core-copy small { color: #aeb9c9; font-size: 9px; }
.gateway-core-copy strong { margin-top: 1px; font-size: 17px; letter-spacing: -.035em; }
.gateway-core-copy p { margin: 3px 0 0; color: #aeb8c8; font-size: 9px; letter-spacing: -.01em; }

.flow-connector-split span { position: relative; }
.flow-connector-split span::after { position: absolute; bottom: 0; left: 50%; width: 170px; height: 1px; background: linear-gradient(90deg, transparent, rgba(182,255,59,.75), transparent); content: ""; transform: translateX(-50%); }
.models-layer { padding: 12px 13px 13px; border-radius: 18px; }
.model-list { gap: 6px; margin-top: 10px; }
.model-chip { flex: 1; padding: 8px 5px; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: rgba(0,0,0,.16); color: #aeb8c8; font-size: 8px; font-weight: 800; text-align: center; white-space: nowrap; }
.model-chip.selected { border-color: rgba(182,255,59,.38); background: rgba(182,255,59,.13); color: #e5ffc0; }
.model-chip i { display: inline-block; width: 5px; height: 5px; margin-right: 3px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }

.gateway-footer { justify-content: space-between; margin-top: 17px; color: #8f9cb0; font-size: 8px; font-weight: 750; }
.gateway-footer > span { color: #c2cad6; }
.gateway-footer div { display: flex; align-items: center; gap: 5px; }
.gateway-footer div i { width: 3px; height: 3px; margin-left: 4px; border-radius: 50%; background: var(--accent); }

.proof-strip {
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,.48);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.proof-grid div { padding: 22px 18px; border-right: 1px solid var(--line); }
.proof-grid div:first-child { border-left: 1px solid var(--line); }
.proof-grid strong,
.proof-grid span { display: block; }
.proof-grid strong { font-size: 15px; }
.proof-grid span { margin-top: 2px; color: var(--muted); font-size: 11px; }

.section { padding-block: 104px; }
.section-heading { max-width: 850px; margin-bottom: 42px; }
.section-heading h2,
.deployment-copy h2,
.faq-intro h2,
.contact-card h2 {
  margin: 12px 0 16px;
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: .96;
  letter-spacing: -.064em;
}
.section-heading p,
.architecture-heading > p,
.deployment-copy > p,
.faq-intro > p,
.contact-card p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.section-label { color: var(--purple); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

.problem-solution-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 16px; }
.problem-panel,
.solution-panel { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-xl); }
.problem-panel { background: #111827; color: white; }
.solution-panel { background: rgba(255,255,255,.72); box-shadow: var(--shadow); }
.panel-kicker { color: var(--accent); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.problem-panel h3,
.solution-panel h3 { margin: 14px 0 26px; font-size: 29px; line-height: 1.08; letter-spacing: -.045em; }
.risk-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.risk-list li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; padding: 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; background: rgba(255,255,255,.045); color: #d7dce6; font-size: 14px; }
.risk-list span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: rgba(182,255,59,.12); color: var(--accent); font-size: 9px; font-weight: 900; }

.solution-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.solution-metrics div { min-height: 130px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.solution-metrics strong,
.solution-metrics span { display: block; }
.solution-metrics strong { font-size: 19px; }
.solution-metrics span { margin-top: 7px; color: var(--muted); font-size: 13px; }

.architecture-section { border-block: 1px solid rgba(111,80,245,.13); background: linear-gradient(180deg, rgba(111,80,245,.055), rgba(255,255,255,.2)); }
.architecture-heading { display: grid; max-width: none; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 60px; }
.architecture-heading h2 { max-width: 760px; }
.architecture-media { position: relative; overflow: hidden; width: 100%; padding: 10px; border: 1px solid rgba(13,20,36,.16); border-radius: 32px; background: #0a101e; cursor: zoom-in; box-shadow: 0 32px 90px rgba(13,20,36,.22); }
.architecture-media img { width: 100%; height: auto; border-radius: 23px; transition: transform .35s ease; }
.architecture-media:hover img { transform: scale(1.012); }
.zoom-badge { position: absolute; right: 28px; bottom: 28px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border-radius: 999px; background: rgba(13,20,36,.92); color: white; font-size: 11px; font-weight: 850; box-shadow: 0 12px 30px rgba(13,20,36,.2); }

.layers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.layer-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.66); }
.layer-index { display: inline-flex; padding: 5px 8px; border-radius: 8px; background: rgba(111,80,245,.1); color: var(--purple); font-size: 10px; font-weight: 900; }
.layer-card h3 { margin: 18px 0 8px; font-size: 19px; }
.layer-card p { margin: 0; color: var(--muted); font-size: 13px; }

.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.scenario-card { min-height: 260px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.72); box-shadow: 0 16px 46px rgba(13,20,36,.055); }
.scenario-large { display: grid; grid-column: span 2; grid-template-columns: 120px 1fr; align-items: center; gap: 26px; background: var(--dark); color: white; }
.scenario-icon { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 17px; background: var(--accent); color: var(--dark); font-size: 11px; font-weight: 950; }
.scenario-large .scenario-icon { width: 108px; height: 108px; border-radius: 30px; font-size: 23px; }
.scenario-meta { display: block; margin-top: 22px; color: var(--purple); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.scenario-large .scenario-meta { margin-top: 0; color: var(--accent); }
.scenario-card h3 { margin: 10px 0 10px; font-size: 23px; line-height: 1.08; }
.scenario-card p { margin: 0; color: var(--muted); font-size: 14px; }
.scenario-large p { color: #bfc7d6; }

.deployment-section { background: var(--dark); color: white; }
.deployment-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 80px; }
.section-label-light { color: var(--accent); }
.deployment-copy > p { color: #b9c0cd; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--accent); font-size: 14px; font-weight: 900; }
.text-link span { transition: transform .18s ease; }
.text-link:hover span { transform: translateX(4px); }
.deployment-options { display: grid; gap: 10px; }
.deployment-card { display: grid; grid-template-columns: 52px 1fr; gap: 15px; padding: 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: rgba(255,255,255,.045); }
.deployment-card > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; background: rgba(182,255,59,.11); color: var(--accent); font-size: 10px; font-weight: 900; }
.deployment-card h3 { margin: 0; font-size: 19px; }
.deployment-card p { margin: 5px 0 0; color: #aeb7c7; font-size: 13px; }

.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.roadmap-step { position: relative; padding: 26px 24px 26px 0; border-top: 1px solid var(--line-strong); }
.roadmap-step:not(:last-child)::after { position: absolute; top: -4px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); content: ""; }
.roadmap-number { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 14px; background: var(--dark); color: var(--accent); font-size: 10px; font-weight: 900; }
.roadmap-step small { display: block; margin-top: 30px; color: var(--purple); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.roadmap-step h3 { margin: 8px 0 10px; font-size: 21px; }
.roadmap-step p { margin: 0; color: var(--muted); font-size: 13px; }

.faq-section { padding-top: 60px; }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font-size: 17px; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-size: 24px; font-weight: 400; transition: transform .18s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 700px; margin: -5px 40px 24px 0; color: var(--muted); font-size: 14px; }

.contact-section { padding-block: 100px; }
.contact-card { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 60px; padding: 52px; border-radius: 38px; background: radial-gradient(700px 300px at 85% 0%, rgba(111,80,245,.45), transparent 70%), var(--dark); color: white; box-shadow: 0 36px 100px rgba(13,20,36,.22); }
.contact-kicker { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.06); color: #d2d8e3; }
.contact-card h2 { max-width: 650px; }
.contact-card p { max-width: 700px; color: #bac2d0; }
.contact-actions { display: grid; gap: 10px; }
.contact-link { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; color: #d2d8e3; font-size: 13px; font-weight: 750; }

.site-footer { padding-block: 28px 42px; border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-row strong,
.footer-row span { display: block; }
.footer-row strong { font-size: 14px; }
.footer-row span { color: var(--muted); font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 7px; }
.footer-links a { padding: 7px 9px; color: var(--muted); font-size: 11px; font-weight: 700; }

.diagram-dialog { width: min(1480px, calc(100vw - 28px)); max-width: none; max-height: calc(100vh - 28px); padding: 0; border: 0; border-radius: 24px; background: #080d19; box-shadow: 0 40px 140px rgba(0,0,0,.55); }
.diagram-dialog::backdrop { background: rgba(5,9,16,.82); backdrop-filter: blur(8px); }
.dialog-toolbar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(8,13,25,.92); color: white; backdrop-filter: blur(12px); }
.dialog-toolbar strong { font-size: 13px; }
.dialog-toolbar button { padding: 8px 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(255,255,255,.07); color: white; cursor: pointer; font-size: 12px; font-weight: 800; }
.dialog-canvas { overflow: auto; padding: 18px; }
.dialog-canvas img { width: 1400px; max-width: none; margin: 0 auto; border-radius: 22px; box-shadow: 0 15px 50px rgba(0,0,0,.3); }

:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.72); cursor: pointer; }
  .menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--ink); transition: transform .18s ease, opacity .18s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .mobile-menu { position: absolute; top: 100%; left: 0; right: 0; border-bottom: 1px solid var(--line); background: rgba(244,242,236,.97); box-shadow: 0 24px 55px rgba(13,20,36,.14); backdrop-filter: blur(18px); }
  .mobile-menu[hidden] { display: none !important; }
  .mobile-menu:not([hidden]) { display: block; }
  .mobile-menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding-block: 12px 18px; }
  .mobile-menu a { display: flex; min-height: 46px; align-items: center; padding: 10px 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); font-size: 13px; font-weight: 800; }
  .mobile-menu .mobile-menu-cta { grid-column: 1 / -1; justify-content: center; border-color: var(--dark); background: var(--dark); color: white; }
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 46px; padding-block: 66px; }
  .hero-copy { max-width: 820px; }
  .gateway-card { max-width: 700px; }
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-grid div:nth-child(3) { border-right: 0; }
  .proof-grid div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .problem-solution-grid,
  .architecture-heading,
  .deployment-grid,
  .faq-grid,
  .contact-card { grid-template-columns: 1fr; }
  .architecture-heading { gap: 10px; }
  .architecture-heading > p { max-width: 760px; }
  .layers-grid { grid-template-columns: repeat(2, 1fr); }
  .scenario-grid { grid-template-columns: repeat(2, 1fr); }
  .scenario-large { grid-column: 1 / -1; }
  .deployment-grid { gap: 48px; }
  .roadmap { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .faq-grid { gap: 30px; }
  .contact-card { gap: 34px; }
  .contact-actions { max-width: 460px; }
}

@media (max-width: 680px) {
  .shell { width: min(var(--shell), calc(100% - 28px)); }
  .header-row { min-height: 70px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 9.5px; }
  .hero { gap: 32px; padding-block: 48px 42px; }
  .eyebrow { padding: 7px 10px; font-size: 10.5px; }
  .hero h1 { margin-block: 18px; font-size: clamp(42px, 11.3vw, 48px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .gateway-card { padding: 16px; border-radius: 25px; }
  .gateway-topline > span:first-child { font-size: 10px; }
  .gateway-live { font-size: 8px; }
  .flow-stage { gap: 9px; padding: 11px; }
  .stage-icon { width: 34px; height: 34px; }
  .stage-tag { display: none; }
  .policy-layer,
  .models-layer { padding: 10px; }
  .policy-pills { gap: 5px; }
  .policy-pills span { min-height: 38px; justify-content: center; padding: 6px 4px; font-size: 8px; text-align: center; }
  .policy-pills i { display: none; }
  .gateway-core { padding: 12px; }
  .gateway-core-copy { gap: 9px; }
  .gateway-symbol { width: 38px; height: 38px; }
  .gateway-core-copy strong { font-size: 15px; }
  .model-list { display: grid; grid-template-columns: repeat(2, 1fr); }
  .model-chip { padding-block: 7px; }
  .gateway-footer { flex-wrap: wrap; gap: 7px; }
  .proof-grid { display: grid; grid-auto-columns: 58%; grid-auto-flow: column; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; }
  .proof-grid div { min-width: 0; border-top: 0 !important; border-right: 1px solid var(--line) !important; scroll-snap-align: start; }
  .proof-grid div:first-child { border-left: 0; }
  .section { padding-block: 74px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2,
  .deployment-copy h2,
  .faq-intro h2,
  .contact-card h2 { font-size: 42px; }
  .section-heading p,
  .architecture-heading > p,
  .deployment-copy > p,
  .faq-intro > p,
  .contact-card p { font-size: 16px; }
  .problem-panel,
  .solution-panel { padding: 22px; border-radius: 27px; }
  .problem-panel h3,
  .solution-panel h3 { font-size: 25px; }
  .solution-metrics { grid-template-columns: 1fr; }
  .solution-metrics div { min-height: 0; }
  .architecture-media { padding: 7px; border-radius: 22px; }
  .architecture-media img { min-width: 720px; max-width: none; border-radius: 16px; }
  .architecture-media { overflow-x: auto; }
  .zoom-badge { position: sticky; right: 12px; bottom: 12px; float: right; margin-top: -52px; }
  .layers-grid { display: grid; grid-auto-columns: 86%; grid-auto-flow: column; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; }
  .layer-card { scroll-snap-align: start; }
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario-large { display: block; grid-column: auto; }
  .scenario-large .scenario-icon { width: 70px; height: 70px; border-radius: 21px; font-size: 15px; }
  .scenario-card { min-height: 0; }
  .roadmap { grid-template-columns: 1fr; gap: 0; }
  .roadmap-step:not(:last-child)::after { display: none; }
  .faq-list summary { min-height: 72px; font-size: 15px; }
  .contact-section { padding-block: 70px; }
  .contact-card { padding: 28px 22px; border-radius: 28px; }
  .footer-row { display: block; }
  .footer-links { margin-top: 18px; }
  .diagram-dialog { width: calc(100vw - 14px); max-height: calc(100vh - 14px); border-radius: 16px; }
  .dialog-toolbar strong { max-width: 200px; }
  .dialog-canvas { padding: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
