@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #08110e;
  --ink-soft: #18221e;
  --night: #050b09;
  --night-2: #0a1511;
  --night-3: #10211a;
  --paper: #f4f6f1;
  --paper-2: #e9ede6;
  --paper-3: #dde3da;
  --white: #fbfff8;
  --muted: #5e6b65;
  --muted-dark: #8d9c95;
  --line: rgba(8, 17, 14, .13);
  --line-dark: rgba(255, 255, 255, .12);
  --acid: #9dff00;
  --acid-soft: #d9ff79;
  --mint: #65f5c2;
  --amber: #ffc276;
  --red: #ff8a7a;
  --shell: min(1240px, calc(100vw - 64px));
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 28px 90px rgba(9, 21, 16, .12);
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.58; overflow-x: hidden; text-rendering: optimizeLegibility; }
h1, h2, h3, .brand { font-family: "Montserrat", "IBM Plex Sans", sans-serif; font-variation-settings: "wght" 680; }
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
::selection { background: var(--acid); color: var(--ink); }
:focus-visible { outline: 3px solid var(--acid); outline-offset: 4px; border-radius: 6px; }
.skip-link { position: fixed; left: 18px; top: 12px; z-index: 200; padding: 10px 14px; background: var(--acid); color: var(--ink); transform: translateY(-150%); border-radius: 10px; font-weight: 750; }
.skip-link:focus { transform: none; }
.shell { width: var(--shell); margin-inline: auto; }
.noise { position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 17px; height: 17px; }

.site-header { position: sticky; top: 0; z-index: 80; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, backdrop-filter .25s; }
.site-header.scrolled { background: rgba(244, 246, 241, .9); border-color: var(--line); backdrop-filter: blur(18px); }
.header-inner { width: var(--shell); height: 82px; margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; font-size: 17px; font-weight: 780; letter-spacing: -.035em; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.brand-product { margin-left: 1px; padding-left: 11px; border-left: 1px solid var(--line); color: #748079; font-size: 13px; font-weight: 620; letter-spacing: -.01em; }
.main-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; color: #3b4842; font-size: 14px; font-weight: 570; }
.main-nav a { position: relative; padding: 29px 0 27px; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 19px; height: 2px; background: var(--acid); transition: right .2s; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.nav-more { position: relative; }
.nav-more summary { cursor: pointer; list-style: none; padding: 29px 0 27px; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary::after { content: "⌄"; margin-left: 5px; color: #7b8781; }
.nav-popover { position: absolute; top: 65px; right: -20px; width: 240px; padding: 10px; display: grid; gap: 2px; background: var(--white); border: 1px solid var(--line); border-radius: 17px; box-shadow: var(--shadow); }
.nav-popover a { padding: 11px 13px; border-radius: 10px; }
.nav-popover a::after { display: none; }
.nav-popover a:hover { background: var(--paper-2); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.lang-link { display: grid; place-items: center; min-width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; color: #56635d; font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.console-link { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 12px; color: #33413b; font-size: 13px; font-weight: 680; }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: transparent; position: relative; }
.menu-button span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .2s, top .2s; }
.menu-button span:first-child { top: 15px; }
.menu-button span:last-child { top: 24px; }
.menu-button[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

.button { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 14px; font-size: 14px; font-weight: 760; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--acid); color: var(--ink); box-shadow: 0 12px 34px rgba(157, 255, 0, .16); }
.button-primary:hover { background: #adff2c; }
.button-dark { background: var(--ink); color: var(--white); }
.button-outline { border-color: var(--line); background: rgba(255,255,255,.25); }
.button-small { min-height: 40px; padding: 0 14px; border-radius: 12px; font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #394741; font-size: 14px; font-weight: 720; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 26px; color: #53615a; font-size: 13px; line-height: 1.2; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow-light { color: #84948c; }
.live-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 14px rgba(157,255,0,.72); }
.section { padding: 120px 0; }
.section-tight { padding: 84px 0; }
.section-dark { background: var(--night); color: var(--white); }
.section-acid { background: var(--acid); color: var(--ink); }
.section-head { margin-bottom: 54px; display: grid; grid-template-columns: .35fr 1.1fr .65fr; gap: 42px; align-items: end; }
.section-head h2 { margin: 0; font-size: clamp(2.5rem, 4.2vw, 4rem); line-height: 1.02; letter-spacing: -.052em; }
.section-head > p:last-child { margin: 0; max-width: 520px; color: var(--muted); }
.section-dark .section-head > p:last-child { color: var(--muted-dark); }
.section-index { align-self: start; margin-top: 8px; color: #6f7c75; font: 700 12px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.lede { max-width: 720px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.on-dark { color: var(--muted-dark); }
.space-top-12 { margin-top: 12px; }
.space-top-22 { margin-top: 22px; }
.space-top-34 { margin-top: 34px; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 99px; font-size: 12px; line-height: 1; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-available { color: #3b6b19; background: rgba(157, 255, 0, .14); }
.status-beta { color: #7d5721; background: rgba(255, 194, 118, .2); }
.status-planned { color: #66716b; background: rgba(100, 115, 107, .12); }
.section-dark .status-available { color: var(--acid); background: rgba(157, 255, 0, .11); }
.section-dark .status-beta { color: var(--amber); background: rgba(255, 194, 118, .11); }
.section-dark .status-planned { color: #91a099; background: rgba(255,255,255,.06); }

.hero { min-height: calc(100vh - 82px); padding: 84px 0 94px; display: grid; grid-template-columns: 1.04fr .96fr; gap: 72px; align-items: center; }
.hero h1, .page-hero h1 { margin: 0; font-size: clamp(3.7rem, 6.6vw, 6.2rem); line-height: .92; letter-spacing: -.067em; font-weight: 710; }
.hero h1 em, .page-hero h1 em { color: #6dae00; font-style: normal; }
.hero-lead { max-width: 670px; margin: 34px 0 0; color: #4f5e57; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.hero-proof { margin-top: 58px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.hero-proof div { padding: 18px 16px 0 0; display: grid; gap: 3px; }
.hero-proof div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-proof strong { font-size: 14px; letter-spacing: -.02em; }
.hero-proof span { color: #6e7b74; font-size: 13px; }
.gateway-visual { padding: 17px; border: 1px solid rgba(255,255,255,.1); border-radius: 29px; background: linear-gradient(145deg, #07120e, var(--night)); color: var(--white); box-shadow: 0 38px 100px rgba(5, 13, 9, .22); position: relative; overflow: hidden; }
.gateway-visual::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle at 90% 0, rgba(157,255,0,.17), transparent 34%), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: auto, 32px 32px, 32px 32px; mask-image: linear-gradient(to bottom, black, transparent 74%); }
.visual-topline { min-height: 46px; padding: 0 8px; display: flex; align-items: center; justify-content: space-between; color: #8a9b92; font: 700 12px ui-monospace, monospace; letter-spacing: .08em; }
.visual-topline .live { color: var(--acid); display: flex; align-items: center; gap: 6px; }
.request-card { min-height: 132px; padding: 22px; border: 1px solid var(--line-dark); border-radius: 19px; background: rgba(255,255,255,.05); transition: opacity .2s, transform .2s; }
.request-card.changing { opacity: .35; transform: translateY(3px); }
.request-meta { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; }
.request-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--acid); color: var(--ink); font-size: 12px; font-weight: 900; }
.request-meta strong, .request-meta small { display: block; }
.request-meta strong { font-size: 13px; }
.request-meta small { margin-top: 2px; color: #82948a; font-size: 12px; }
.decision { color: var(--acid); font: 800 12px ui-monospace, monospace; letter-spacing: .08em; }
.request-card p { margin: 19px 0 0; color: #d0d8d4; font: 14px/1.55 ui-monospace, monospace; }
.pipeline { margin: 13px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pipeline-step { min-height: 87px; padding: 15px; border: 1px solid var(--line-dark); border-radius: 15px; position: relative; }
.pipeline-step > span { color: #71847a; font: 12px ui-monospace, monospace; }
.pipeline-step strong, .pipeline-step small { display: block; }
.pipeline-step strong { margin-top: 12px; font-size: 14px; }
.pipeline-step small { margin-top: 3px; color: #82948a; font-size: 12px; }
.pipeline-step i { position: absolute; top: 14px; right: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 9px var(--mint); }
.route-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.route-card { min-height: 112px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; border: 1px solid var(--line-dark); border-radius: 15px; position: relative; color: #819289; transition: border-color .2s, color .2s, background .2s; }
.route-card.selected { color: var(--white); border-color: rgba(157,255,0,.42); background: rgba(157,255,0,.04); }
.route-card .route-kicker { position: absolute; top: 15px; color: #7e9087; font: 800 12px ui-monospace, monospace; letter-spacing: .08em; }
.route-card strong { font-size: 15px; }
.route-card small { color: #84958c; font-size: 12px; }
.route-card i { position: absolute; top: 17px; right: 16px; width: 8px; height: 8px; border-radius: 50%; border: 1px solid #415249; }
.route-card.selected i { background: var(--acid); border-color: var(--acid); box-shadow: 0 0 10px rgba(157,255,0,.7); }
.visual-footer { min-height: 48px; padding: 0 8px; display: flex; align-items: flex-end; justify-content: space-between; color: #7f9087; font-size: 12px; }
.visual-footer span:first-child { color: #8fa198; }

.page-hero { padding: 104px 0 92px; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .65fr; gap: 100px; align-items: end; }
.page-hero h1 { max-width: 1000px; font-size: clamp(3.8rem, 7vw, 6.5rem); }
.page-hero-aside { padding-bottom: 7px; }
.page-hero-aside p { margin: 0 0 25px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.status-row { display: flex; flex-wrap: wrap; gap: 8px; }
.page-intro-band { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro-facts { display: grid; grid-template-columns: repeat(4, 1fr); }
.intro-fact { min-height: 88px; padding: 4px 26px; border-left: 1px solid var(--line); }
.intro-fact:first-child { padding-left: 0; border-left: 0; }
.intro-fact span { color: #6f7d76; font: 700 12px ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.intro-fact strong { margin-top: 12px; display: block; font-size: 15px; line-height: 1.35; }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.card { grid-column: span 4; min-height: 330px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.25); }
.card-wide { grid-column: span 8; }
.card-half { grid-column: span 6; }
.card-full { grid-column: 1 / -1; }
.card-dark { background: var(--night); color: var(--white); border-color: transparent; }
.card-acid { background: var(--acid); border-color: transparent; }
.card-icon { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(8,17,14,.1); border-radius: 15px; background: linear-gradient(145deg, var(--white), var(--paper-2)); color: #294b3d; box-shadow: inset 0 1px rgba(255,255,255,.8); }
.card-dark .card-icon { border-color: rgba(157,255,0,.2); background: rgba(157,255,0,.08); color: var(--acid); box-shadow: 0 0 30px rgba(157,255,0,.06); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.card h3 { margin: auto 0 14px; font-size: 28px; line-height: 1.04; letter-spacing: -.045em; }
.card-wide h3, .card-dark h3 { font-size: clamp(2.2rem, 4vw, 4rem); }
.card p { margin: 0; max-width: 670px; color: var(--muted); font-size: 16px; }
.card-dark p { color: var(--muted-dark); }
.card-list { margin: 24px 0 0; padding: 17px 0 0; display: grid; gap: 9px; border-top: 1px solid var(--line); list-style: none; color: #51605a; font-size: 14px; }
.card-dark .card-list { color: #91a199; border-color: var(--line-dark); }
.card-list li { display: flex; align-items: flex-start; gap: 9px; }
.card-list li::before { content: "↳"; color: #66977f; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.metric { min-height: 160px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; }
.metric strong { display: block; margin-bottom: 22px; font-size: 30px; line-height: 1; letter-spacing: -.05em; }
.metric span { color: var(--muted); font-size: 14px; }

.architecture-board { padding: 58px; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background-color: #07110d; background-image: radial-gradient(circle at 50% 22%, rgba(157,255,0,.12), transparent 34%), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: auto, 38px 38px, 38px 38px; }
.boundary-label { margin-bottom: 34px; color: #7b8d84; font: 750 12px ui-monospace, monospace; letter-spacing: .1em; }
.flow { display: grid; grid-template-columns: 1fr 58px 1.2fr 58px 1fr; align-items: center; }
.flow-stack { display: grid; gap: 9px; }
.flow-node { min-height: 116px; padding: 20px; border: 1px solid rgba(255,255,255,.13); border-radius: 17px; background: rgba(3,13,9,.82); box-shadow: inset 0 1px rgba(255,255,255,.05); display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.flow-node-main { min-height: 220px; border-color: rgba(157,255,0,.42); box-shadow: inset 0 0 54px rgba(157,255,0,.04); }
.flow-node .node-index { position: absolute; top: 17px; left: 19px; color: #74877d; font: 12px ui-monospace, monospace; }
.flow-node .node-icon { position: absolute; top: 16px; right: 17px; color: var(--acid); }
.flow-node strong { font-size: 15px; }
.flow-node small { color: #899a91; font-size: 13px; }
.flow-link { height: 1px; background: linear-gradient(90deg, #35483f, var(--acid)); position: relative; }
.flow-link::after { content: "›"; position: absolute; right: -1px; top: -11px; color: var(--acid); font-size: 18px; }
.control-rail { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.control-rail div { padding: 15px 19px; display: flex; justify-content: space-between; gap: 20px; border-radius: 12px; background: rgba(255,255,255,.045); color: #8c9d94; font-size: 13px; }
.control-rail span { color: #687b71; font: 750 12px ui-monospace, monospace; letter-spacing: .08em; }
.decision-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: flow; }
.decision-step { min-height: 190px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.56), rgba(255,255,255,.12)); box-shadow: inset 0 1px rgba(255,255,255,.8); position: relative; }
.decision-step::before { counter-increment: flow; content: "0" counter(flow); display: block; margin-bottom: 58px; color: #7c8983; font: 700 12px ui-monospace, monospace; }
.decision-step:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; right: -15px; top: 50%; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: #718079; }
.decision-step strong { display: block; margin-bottom: 6px; font-size: 17px; }
.decision-step span { color: var(--muted); font-size: 14px; }

.status-table { width: 100%; border-collapse: collapse; }
.status-table th, .status-table td { padding: 20px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.status-table th { color: #6f7c75; font: 750 12px ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.status-table td:first-child { width: 27%; font-weight: 720; }
.status-table td:nth-child(2) { width: 130px; }
.status-table td:last-child { color: var(--muted); font-size: 14px; }
.plain-list { margin: 0; padding: 0; list-style: none; }
.plain-list li { padding: 18px 0; display: grid; grid-template-columns: 34px 1fr; gap: 14px; border-top: 1px solid var(--line); }
.plain-list li:last-child { border-bottom: 1px solid var(--line); }
.plain-list .list-index { color: #75827c; font: 700 12px ui-monospace, monospace; }
.plain-list strong { display: block; margin-bottom: 5px; font-size: 15px; }
.plain-list p { margin: 0; color: var(--muted); font-size: 14px; }
.code-block { overflow: hidden; border-radius: 18px; background: var(--night); color: #bdd0c7; box-shadow: var(--shadow); }
.code-head { min-height: 45px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-dark); color: #81938a; font: 700 12px ui-monospace, monospace; }
.code-block pre { margin: 0; padding: 25px; overflow-x: auto; font: 13px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-block b { color: var(--acid); font-weight: 600; }
.doc-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 64px; }
.doc-nav { align-self: start; position: sticky; top: 112px; display: grid; gap: 7px; }
.doc-nav a { padding: 11px 13px; border-left: 2px solid var(--line); color: #617069; font-size: 13px; }
.doc-nav a:hover { color: var(--ink); border-color: var(--acid); }
.doc-content { display: grid; gap: 72px; }
.doc-section { scroll-margin-top: 110px; }
.doc-section h2 { margin: 0 0 22px; font-size: 36px; letter-spacing: -.05em; }
.doc-section h3 { margin: 30px 0 12px; font-size: 20px; letter-spacing: -.03em; }
.doc-section p { color: var(--muted); }
.callout { padding: 20px 22px; border-left: 3px solid var(--acid); border-radius: 0 14px 14px 0; background: rgba(157,255,0,.08); color: #425049; font-size: 14px; }

.model-rail { display: grid; grid-template-columns: .75fr 1.25fr; gap: 12px; }
.model-source, .model-registry { min-height: 410px; padding: 31px; border-radius: var(--radius); }
.model-source { background: var(--acid); display: flex; flex-direction: column; justify-content: space-between; }
.model-source h3 { margin: 0; font-size: 44px; line-height: .95; letter-spacing: -.06em; }
.model-source p { max-width: 460px; margin: 0; color: #42521f; }
.model-registry { background: var(--night); color: var(--white); }
.registry-row { min-height: 78px; padding: 14px 0; display: grid; grid-template-columns: 1.3fr .8fr .6fr; gap: 18px; align-items: center; border-bottom: 1px solid var(--line-dark); }
.registry-row:first-of-type { margin-top: 30px; border-top: 1px solid var(--line-dark); }
.registry-row strong, .registry-row small { display: block; }
.registry-row strong { font-size: 13px; }
.registry-row small { margin-top: 3px; color: #84968c; font-size: 12px; }
.registry-row span { color: #9aacA2; font-size: 13px; }
.registry-row .registry-status { justify-self: end; color: var(--acid); font: 750 12px ui-monospace, monospace; }
.channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.channel-card { min-height: 310px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.channel-card .card-icon { margin-bottom: auto; }
.channel-card h3 { margin: 50px 0 10px; font-size: 25px; letter-spacing: -.04em; }
.channel-card p { margin: 0; color: var(--muted); font-size: 15px; }
.channel-card .status { align-self: flex-start; margin-top: 22px; }
.deployment-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mode { min-height: 360px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.mode-number { color: #6f7c76; font: 700 12px ui-monospace, monospace; }
.mode h3 { margin: auto 0 13px; font-size: 30px; letter-spacing: -.05em; }
.mode p { margin: 0; color: var(--muted); font-size: 14px; }
.mode-acid { background: var(--acid); border-color: transparent; }
.mode-acid p { color: #4d5f27; }
.security-scorecard { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.scorecard-main { min-height: 480px; padding: 36px; border-radius: var(--radius); background: var(--night); color: var(--white); display: flex; flex-direction: column; }
.scorecard-main h3 { margin: auto 0 18px; font-size: 52px; line-height: .95; letter-spacing: -.065em; }
.scorecard-main p { max-width: 570px; margin: 0; color: var(--muted-dark); }
.scorecard-list { display: grid; gap: 12px; }
.scorecard-item { padding: 24px; display: grid; grid-template-columns: 46px 1fr; gap: 17px; border: 1px solid var(--line); border-radius: 18px; }
.scorecard-item strong { display: block; margin-bottom: 4px; }
.scorecard-item span { color: var(--muted); font-size: 14px; }

.pilot-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 76px; }
.pilot-copy h2 { margin: 0; font-size: clamp(3.2rem, 5.5vw, 5.8rem); line-height: .92; letter-spacing: -.07em; }
.pilot-copy p { margin: 28px 0 0; color: #4d5a54; }
.pilot-form { padding: 31px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 650; }
.field input, .field textarea, .field select { width: 100%; min-height: 49px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #76b900; outline: 3px solid rgba(157,255,0,.22); }
.form-footer { margin-top: 21px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.form-note { max-width: 380px; margin: 0; color: #65736c; font-size: 13px; }
.form-result { margin-top: 18px; color: #41691e; font-size: 14px; font-weight: 680; }

.cta { padding: 100px 0; background: var(--acid); }
.cta-inner { display: grid; grid-template-columns: 1.15fr .55fr; gap: 80px; align-items: center; }
.cta h2 { margin: 0; font-size: clamp(3.3rem, 6.5vw, 6.8rem); line-height: .88; letter-spacing: -.075em; }
.cta-side { padding-left: 43px; border-left: 1px solid rgba(8,17,14,.18); }
.cta-side p { margin: 0 0 24px; color: #4b5c2a; }
.site-footer { padding: 72px 0 30px; background: var(--night); color: #82938a; }
.footer-main { display: grid; grid-template-columns: 1.35fr repeat(3, .65fr); gap: 56px; }
.footer-brand { color: var(--white); }
.footer-brand p { max-width: 360px; margin: 20px 0 0; color: #81928a; font-size: 14px; }
.footer-column h2 { margin: 3px 0 18px; color: #75867d; font: 750 12px ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.footer-column nav { display: grid; gap: 11px; }
.footer-column a { font-size: 14px; }
.footer-column a:hover { color: var(--white); }
.footer-bottom { margin-top: 64px; padding-top: 25px; border-top: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #77887f; font-size: 13px; }
.footer-bottom div { display: flex; gap: 22px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .1s; }

@media (max-width: 1120px) {
  :root { --shell: min(100% - 44px, 940px); }
  .main-nav { position: fixed; inset: 82px 0 0; padding: 34px 24px 80px; display: none; align-content: start; overflow-y: auto; background: var(--paper); }
  .main-nav.open { display: grid; }
  .main-nav a, .nav-more summary { padding: 13px 0; font-size: 20px; }
  .main-nav a::after { bottom: 5px; }
  .nav-popover { position: static; width: 100%; margin-top: 4px; box-shadow: none; background: var(--paper-2); }
  .menu-button { display: block; }
  .console-link { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 840px; }
  .gateway-visual { width: min(680px, 100%); }
  .section-head { grid-template-columns: .35fr 1fr; }
  .section-head > p:last-child { grid-column: 2; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .page-hero-aside { max-width: 700px; }
  .card { grid-column: span 6; }
  .card-wide, .card-full { grid-column: 1 / -1; }
  .flow { grid-template-columns: 1fr 42px 1.2fr 42px 1fr; }
  .model-rail, .security-scorecard, .pilot-layout { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1.2fr repeat(3, .7fr); gap: 30px; }
}
@media (max-width: 760px) {
  :root { --shell: calc(100% - 30px); }
  .header-inner { height: 72px; gap: 9px; }
  .main-nav { top: 72px; }
  .brand img { width: 38px; height: 38px; }
  .brand-product, .lang-link { display: none; }
  .header-actions { margin-left: auto; }
  .section { padding: 86px 0; }
  .section-tight { padding: 62px 0; }
  .section-head { grid-template-columns: 1fr; gap: 19px; margin-bottom: 38px; }
  .section-head > p:last-child { grid-column: auto; }
  .section-head h2 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .hero { padding: 62px 0 74px; gap: 50px; }
  .hero h1 { font-size: clamp(3.7rem, 17.5vw, 5.8rem); }
  .hero-lead { margin-top: 27px; font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .hero-proof { grid-template-columns: 1fr; margin-top: 42px; }
  .hero-proof div, .hero-proof div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .gateway-visual { padding: 12px; border-radius: 20px; }
  .request-meta { grid-template-columns: 38px 1fr; }
  .decision { grid-column: 2; }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline-step { min-height: 72px; }
  .route-grid { grid-template-columns: 1fr; }
  .visual-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
  .page-hero { padding: 72px 0 60px; }
  .page-hero h1 { font-size: clamp(3.8rem, 17vw, 6rem); }
  .page-hero-aside p { font-size: 16px; }
  .intro-facts { grid-template-columns: 1fr 1fr; }
  .intro-fact { padding: 16px; border-top: 1px solid var(--line); }
  .intro-fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .bento { grid-template-columns: 1fr; }
  .card, .card-wide, .card-half, .card-full { grid-column: 1; min-height: 300px; }
  .card-wide h3, .card-dark h3 { font-size: 38px; }
  .metric-grid, .channel-grid, .deployment-modes { grid-template-columns: 1fr; }
  .architecture-board { padding: 45px 18px 22px; }
  .flow { grid-template-columns: 1fr; gap: 11px; }
  .flow-link { width: 1px; height: 25px; margin-inline: auto; background: linear-gradient(var(--acid), #35483f); }
  .flow-link::after { content: "⌄"; right: -6px; top: 6px; }
  .flow-node-main { min-height: 170px; }
  .control-rail { grid-template-columns: 1fr; }
  .control-rail div { display: grid; gap: 4px; }
  .decision-flow { grid-template-columns: 1fr; }
  .decision-step { min-height: 150px; }
  .decision-step::before { margin-bottom: 35px; }
  .decision-step:not(:last-child)::after { content: "↓"; right: auto; left: calc(50% - 11px); top: auto; bottom: -15px; }
  .model-rail { grid-template-columns: 1fr; }
  .model-source, .model-registry { min-height: 360px; padding: 25px; }
  .registry-row { grid-template-columns: 1fr auto; }
  .registry-row > span:nth-child(2) { display: none; }
  .status-table { display: block; overflow-x: auto; }
  .status-table th, .status-table td { min-width: 150px; padding: 16px 12px; }
  .doc-grid { grid-template-columns: 1fr; gap: 35px; }
  .doc-nav { position: static; display: flex; overflow-x: auto; padding-bottom: 8px; }
  .doc-nav a { min-width: max-content; border-left: 0; border-bottom: 2px solid var(--line); }
  .pilot-layout { gap: 45px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .form-footer { align-items: flex-start; flex-direction: column; }
  .cta { padding: 80px 0; }
  .cta-inner { grid-template-columns: 1fr; gap: 45px; }
  .cta h2 { font-size: clamp(3.6rem, 16vw, 5.3rem); }
  .cta-side { padding: 30px 0 0; border-left: 0; border-top: 1px solid rgba(8,17,14,.18); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom div { flex-wrap: wrap; }
}
@media (max-width: 430px) {
  .intro-facts { grid-template-columns: 1fr; }
  .intro-fact, .intro-fact:nth-child(odd) { padding: 15px 0; border-left: 0; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .request-card { transition: none; }
}
