@charset "UTF-8";

:root {
  color-scheme: dark;
  --bg: #101619;
  --surface: #151d21;
  --text: #eff1eb;
  --muted: #a7b4b7;
  --mint: #c2f5d5;
  --line: #2b373b;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; font-size: 16px; line-height: 1.6; }
::selection { color: var(--bg); background: var(--mint); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible, pre:focus-visible { outline: 2px solid var(--mint); outline-offset: 6px; }
a:hover { color: var(--mint); }
button:disabled { cursor: wait; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 550; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 10; top: 16px; left: 16px; padding: 12px 20px; color: var(--bg); background: var(--mint); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-size: 31px; font-weight: 650; letter-spacing: -1.6px; display: inline-flex; align-items: center; line-height: 1; }
.brand-dot { color: var(--mint); }
.brand-mark { display: grid; gap: 4px; margin-right: 14px; width: 24px; transform: skewY(-25deg); }
.brand-mark i { height: 5px; background: var(--mint); }
.brand-mark i:nth-child(2) { width: 17px; }
.brand-mark i:nth-child(3) { width: 10px; }
nav { display: flex; align-items: center; gap: 30px; }
nav a { font-size: 14px; color: #c8d0d0; }
.nav-source { padding-left: 30px; border-left: 1px solid var(--line); }
.nav-source span { margin-left: 8px; }
.hero { display: grid; grid-template-columns: 1.13fr 1fr; gap: 72px; padding-block: 102px 90px; align-items: center; }
.eyebrow, .item-number { font: 11px/1.6 var(--mono); letter-spacing: 1.7px; text-transform: uppercase; color: var(--mint); }
.eyebrow { margin-bottom: 25px; }
.status-dot, .mini-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); vertical-align: middle; }
.status-dot { margin-right: 9px; box-shadow: 0 0 0 4px #c2f5d510; }
h1 { font-size: clamp(55px, 5.6vw, 78px); line-height: 1.04; letter-spacing: -4px; max-width: 620px; }
h1 em { display: block; color: var(--mint); font-style: normal; }
.hero-description { max-width: 480px; color: var(--muted); font-size: 18px; line-height: 1.75; margin-top: 27px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 50px; padding: 11px 21px; font-size: 14px; font-weight: 600; border: 1px solid transparent; border-radius: 4px; transition: background .18s, border-color .18s; }
.button span { font-size: 20px; font-weight: 400; }
.primary { color: #13251c; background: var(--mint); }
.primary:hover { background: #dcffe8; color: #13251c; }
.secondary { border-color: #475257; }
.secondary:hover { border-color: var(--mint); background: #c2f5d505; }
.hero-footnote { font-size: 12px; color: var(--muted); margin-top: 21px; }
.core-figure { background: radial-gradient(ellipse at 50% 50%, #24403860, transparent 70%); padding-top: 10px; }
.figure-label { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 17px; color: var(--muted); font: 10px var(--mono); letter-spacing: 1.3px; }
.figure-label > span:last-child { font-size: 16px; }
.diagram { padding: 35px 6px 0; }
.authoring-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.authoring-row > div { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: 26px 20px; column-gap: 13px; align-items: center; padding: 15px 18px; border: 1px solid #425057; background: #172125; border-radius: 4px; }
.authoring-row strong { font-size: 15px; font-weight: 500; }
.authoring-row small { font: 10px var(--mono); color: var(--muted); }
.node-icon { grid-row: 1 / 3; font: 19px var(--mono); color: var(--mint); border-right: 1px solid #425057; height: 30px; padding-right: 10px; }
.join-lines, .split-lines { display: flex; height: 53px; width: calc(50% + 24px); margin-inline: auto; }
.join-lines i { flex: 1; border-bottom: 1px solid #658478; position: relative; }
.join-lines i:first-child { border-left: 1px solid #658478; border-radius: 0 0 0 10px; }
.join-lines i:last-child { border-right: 1px solid #658478; border-radius: 0 0 10px 0; }
.join-lines i:first-child::after { content: ""; position: absolute; right: -1px; bottom: -22px; height: 22px; border-left: 1px solid #8cbb9b; }
.core-node { border: 1px solid #90b99e; background: #1b3029; box-shadow: 0 0 0 5px #c2f5d506; border-radius: 5px; margin: 22px 30px 0; padding: 18px 12px 19px; text-align: center; position: relative; }
.core-node::before, .core-node::after { content: ""; position: absolute; width: 5px; height: 5px; background: var(--mint); top: -3px; left: calc(50% - 2px); }
.core-node::after { top: auto; bottom: -3px; }
.core-node-label { font: 9px var(--mono); letter-spacing: 1.4px; color: #b4cabc; }
.core-node strong { display: block; margin-top: 7px; font-size: 32px; font-weight: 550; letter-spacing: -1px; }
.core-node strong span { color: var(--mint); font-weight: 400; }
.core-node p { margin-top: 3px; color: #b9c9c0; font: 10px/1.5 var(--mono); }
.split-lines { height: 47px; padding-top: 20px; position: relative; }
.split-lines::before { content: ""; position: absolute; height: 20px; top: 0; left: 50%; border-left: 1px solid #658478; }
.split-lines i { flex: 1; border-top: 1px solid #658478; }
.split-lines i:first-child { border-left: 1px solid #658478; border-radius: 10px 0 0; }
.split-lines i:last-child { border-right: 1px solid #658478; border-radius: 0 10px 0 0; }
.runtime-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.runtime-row > div { border: 1px solid #435249; background: #16211d; border-radius: 4px; text-align: center; padding: 12px 6px; font: 10px/1.5 var(--mono); white-space: nowrap; }
.mini-dot { width: 4px; height: 4px; margin-right: 5px; }
.comparison { font: 9px/1.6 var(--mono); color: #bdcec3; display: flex; justify-content: center; gap: 16px; padding-block: 18px; }
.comparison span { color: #708d7b; }
figcaption { border-top: 1px solid var(--line); padding-top: 16px; font-size: 11px; color: var(--muted); text-align: center; }
.principles-strip { border-block: 1px solid var(--line); }
.principles-strip .container { display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; }
.principles-strip span { color: #b4c0c0; font: 10px/1.6 var(--mono); }
.principles-strip span::before { content: "+"; color: #85a896; margin-right: 12px; }
.section { padding-block: 92px; }
.section-intro { max-width: 580px; }
h2 { font-size: clamp(30px, 3vw, 42px); letter-spacing: -1.6px; line-height: 1.17; }
.section-intro .eyebrow, .example-heading .eyebrow, .get-started .eyebrow { margin-bottom: 18px; }
.section-intro > p:not(.eyebrow) { color: var(--muted); font-size: 16px; margin-top: 22px; max-width: 520px; }
.capabilities { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 53px; }
.capabilities article { border-top: 1px solid #425047; padding: 27px 28px 0; border-left: 1px solid var(--line); }
.capabilities article:first-child { padding-left: 0; border-left: 0; }
.capabilities article:last-child { padding-right: 0; }
.item-number { font-size: 10px; letter-spacing: 1.2px; color: #9badac; }
h3 { font-size: 20px; letter-spacing: -.5px; line-height: 1.35; }
.capabilities h3 { margin: 19px 0 13px; }
.capabilities p { font-size: 14px; line-height: 1.8; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 13px; font-size: 12px; font-weight: 500; color: var(--mint); margin-top: 22px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.example-section { padding-block: 83px 75px; background: #131c20; border-block: 1px solid var(--line); }
.example-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 40px; }
.example-heading > p { color: var(--muted); font-size: 14px; max-width: 350px; padding-bottom: 3px; }
.example-caption { color: #9cafad; font-size: 11px; margin-top: 16px; }
.application-links { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 51px; }
.application-links > a { border-top: 1px solid #435153; display: flex; gap: 20px; padding-top: 24px; }
.application-icon { color: var(--mint); font: 28px var(--mono); }
.application-links h3 { font-size: 16px; margin-top: 8px; }
.application-links p { color: var(--muted); font-size: 12px; margin-top: 7px; }
.link-arrow { margin-left: auto; color: #bdd7c7; }
.evidence-section { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.evidence-list > a { display: flex; align-items: flex-start; gap: 23px; border-bottom: 1px solid var(--line); padding: 23px 0; }
.evidence-list > a:first-child { padding-top: 0; }
.evidence-symbol { font: 27px var(--mono); color: var(--mint); width: 24px; flex-shrink: 0; }
.evidence-list h3 { font-size: 17px; margin-bottom: 7px; }
.evidence-list p { color: var(--muted); font-size: 13px; }
.evidence-list > a > span:last-child { color: #9cafaa; margin-left: auto; }
.scope-note { margin-top: 24px; }
.scope-note a { display: inline; color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.get-started { border-block: 1px solid #425447; padding-block: 50px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.get-started h2 { font-size: 32px; }
.get-started p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin-top: 16px; }
.get-started .button { flex-shrink: 0; }
.site-footer { padding-block: 39px; display: flex; gap: 24px; align-items: center; }
.site-footer .wordmark { font-size: 25px; }
.site-footer p { font-size: 11px; color: var(--muted); }
.site-footer nav { margin-left: auto; gap: 24px; }
.site-footer nav a { font-size: 11px; }

@media (min-width: 1500px) { .hero { padding-block: 115px 110px; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero { gap: 36px; }
  h1 { font-size: 63px; }
  .authoring-row { gap: 26px; }
  .authoring-row > div { padding-inline: 12px; column-gap: 8px; }
  .core-node { margin-inline: 12px; }
  .evidence-section { gap: 55px; }
  .editor-label { display: none; }
  .copy-button { margin-left: auto; }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-block: 64px; gap: 52px; }
  .hero-copy { max-width: 600px; }
  h1 { font-size: 72px; }
  .hero-description { max-width: 570px; }
  .core-figure { width: 100%; max-width: 520px; margin-inline: auto; }
  .authoring-row { gap: 48px; }
  .principles-strip .container { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; }
  .section { padding-block: 64px; }
  .capabilities { gap: 24px; }
  .capabilities article { border-left: 0; padding: 22px 0 0; }
  .capabilities h3 { font-size: 18px; }
  .capabilities p { font-size: 13px; }
  .example-heading { display: block; }
  .example-heading > p { max-width: none; margin-top: 22px; }
  .application-links { gap: 24px; }
  .application-icon { display: none; }
  .evidence-section { grid-template-columns: 1fr; gap: 40px; }
  .get-started { align-items: flex-start; flex-direction: column; }
  .site-footer { flex-wrap: wrap; }
  .site-footer nav { margin-left: auto; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 78px; gap: 15px; flex-wrap: wrap; padding-block: 18px; }
  .wordmark { font-size: 26px; }
  .brand-mark { width: 19px; margin-right: 10px; }
  nav { gap: 17px; }
  nav a { font-size: 11px; }
  .nav-source { padding-left: 0; border-left: 0; }
  .nav-source span { display: none; }
  .hero { padding-top: 50px; gap: 45px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.4px; }
  h1 { font-size: clamp(47px, 12vw, 62px); letter-spacing: -2.5px; }
  .hero-description { font-size: 16px; margin-top: 23px; }
  .hero-actions { gap: 10px; }
  .button { padding-inline: 15px; gap: 18px; font-size: 12px; }
  .hero-footnote { font-size: 10px; }
  .diagram { padding-inline: 0; }
  .authoring-row { gap: 28px; }
  .authoring-row > div { grid-template-columns: 25px 1fr; column-gap: 7px; padding-inline: 11px; }
  .authoring-row strong { font-size: 13px; }
  .node-icon { font-size: 16px; padding-right: 5px; }
  .runtime-row { gap: 10px; }
  .runtime-row > div { font-size: 8px; padding-inline: 3px; }
  .comparison { font-size: 8px; gap: 8px; }
  .core-node p { font-size: 9px; }
  .principles-strip .container { gap: 12px 10px; }
  .principles-strip span { font-size: 8px; }
  .principles-strip span::before { margin-right: 5px; }
  h2 { font-size: 31px; letter-spacing: -1px; }
  .section-intro > p:not(.eyebrow) { font-size: 14px; }
  .capabilities { grid-template-columns: 1fr; margin-top: 34px; gap: 30px; }
  .capabilities h3 { margin-top: 14px; font-size: 21px; }
  .capabilities p { font-size: 14px; }
  .example-section { padding-block: 60px; }
  .editor-toolbar { padding-inline: 17px; }
  .editor-footer { padding-inline: 17px; }
  .application-links { grid-template-columns: 1fr; gap: 30px; margin-top: 35px; }
  .evidence-list > a { gap: 18px; }
  .get-started h2 { font-size: 29px; }
  .site-footer { gap: 14px 20px; }
  .site-footer nav { width: 100%; margin-top: 8px; }
}
.packet-story { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 0 28px; border-block: 1px solid var(--line); margin-bottom: 24px; }
.packet-story .item-number { display: block; margin-bottom: 10px; }
.packet-story p { font: 12px/1.6 var(--mono); }
.packet-bytes { display: flex; font: 11px/1.6 var(--mono); }
.packet-bytes span { padding: 9px 12px; border: 1px solid #42534e; background: #182623; }
.packet-bytes span + span { border-left: 0; }
.packet-bytes .vlan-tag { color: var(--mint); background: #254435; border-color: #689d7e; }
.packet-arrow { color: var(--mint); font-size: 25px; }
.walkthrough-hint { color: var(--muted); font-size: 12px; margin: 25px 0 18px; }
.walkthrough { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 38px; }
.editor { min-width: 0; background: #0d1417; border: 1px solid #3b4b4e; border-radius: 6px; }
.editor-toolbar { display: flex; align-items: center; gap: 14px; padding: 0 22px; min-height: 57px; border-bottom: 1px solid var(--line); }
.source-name { color: #c4d4ce; font: 11px var(--mono); }
.editor-label { color: #99abab; font: 9px var(--mono); letter-spacing: 1px; margin-left: auto; }
.copy-button { border: 1px solid #3e4c50; color: #bdcaca; padding: 5px 9px; border-radius: 3px; font-size: 10px; background: transparent; }
.copy-button:hover { border-color: var(--mint); color: var(--mint); }
pre { margin: 0; padding: 24px 0 0; overflow-x: auto; tab-size: 4; scrollbar-color: #46564e #0d1417; }
code { font: 12px/1.95 var(--mono); color: #d1dddc; }
#gateway-source { display: block; min-width: max-content; }
.code-step { display: block; padding-inline: 20px 25px; border-left: 2px solid transparent; transition: background .25s, border-color .25s; }
.code-step.active { border-left-color: var(--mint); background: linear-gradient(90deg, #c2f5d50d, #c2f5d503); }
.syntax-comment { color: #91a3a3; }
.syntax-keyword { color: #ceb9ed; }
.syntax-accent, .syntax-string { color: #beeacb; }
.syntax-function { color: #a3d9e6; }
.syntax-number { color: #e6c298; }
.editor-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #253236; padding: 16px 22px; color: #98acaa; font: 10px/1.5 var(--mono); }
.editor-footer a { color: #c4d4ce; }
.note-panel { padding: 26px 0; }
.note-panel > .eyebrow { margin-bottom: 24px; font-size: 10px; }
.step-note { margin-bottom: 32px; }
.step-note h3 { font-size: 26px; line-height: 1.18; margin-bottom: 18px; letter-spacing: -.7px; }
.step-note > p { color: #b8c7c6; font-size: 14px; line-height: 1.85; }
.step-note .step-count { font: 11px var(--mono); letter-spacing: 2px; color: var(--mint); margin-bottom: 17px; }
.step-note .step-caption { border-top: 1px solid #3a4c43; margin-top: 24px; padding-top: 17px; font: 9px/1.8 var(--mono); color: var(--mint); letter-spacing: .5px; }
.enhanced .note-panel { position: sticky; top: max(28px, calc(50vh - 200px)); }
.enhanced .step-note { margin-bottom: 16px; }
.step-navigation { display: flex; flex-wrap: wrap; gap: 0; }
.step-navigation button { width: 32px; height: 32px; padding: 10px; border: 0; background: transparent; border-radius: 50%; }
.step-navigation button span { display: block; width: 7px; height: 7px; border: 1px solid #7f9690; border-radius: 50%; transition: background .2s, box-shadow .2s; }
.step-navigation button:hover span { background: #7f9690; }
.step-navigation button[aria-current="step"] span { background: var(--mint); border-color: var(--mint); box-shadow: 0 0 0 3px #c2f5d512; }
.demo-result { margin-top: 50px; padding-block: 32px; border-block: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.5fr; gap: 65px; }
.demo-result .eyebrow { font-size: 10px; margin-bottom: 17px; }
.demo-result h3 { font-size: 25px; }
.demo-result p:not(.eyebrow, .terminal-command) { font-size: 13px; color: var(--muted); margin-top: 16px; }
.demo-transcript { background: #0d1417; border: 1px solid var(--line); border-radius: 5px; padding: 22px; }
.terminal-command { font: 10px/1.7 var(--mono); color: #b6c6bf; overflow-wrap: anywhere; }
.demo-transcript ol { list-style: none; padding: 0; margin: 22px 0 0; }
.demo-transcript li { display: grid; grid-template-columns: .8fr 1.8fr auto; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); align-items: center; font: 11px/1.7 var(--mono); }
.demo-transcript li > span { color: var(--muted); }
.demo-transcript strong { color: var(--mint); font-weight: 400; }
.demo-transcript strong.packet-drop { color: #dfb4a5; }
.demo-transcript code { font-size: 11px; }
@media (max-width: 1100px) { .editor-label { display: none; } .copy-button { margin-left: auto; } }
@media (max-width: 1023px) {
  .walkthrough { grid-template-columns: minmax(0, 1fr); }
  .packet-story { flex-wrap: wrap; justify-content: flex-start; }
  .packet-story > div:nth-of-type(2), .packet-story > .packet-arrow:nth-of-type(2) { display: none; }
  .enhanced .note-panel { position: fixed; z-index: 5; top: auto; bottom: 16px; left: 50%; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); max-height: 42vh; overflow-y: auto; overscroll-behavior: contain; padding: 20px 24px 12px; background: #192823; border: 1px solid #5c7969; border-radius: 8px; box-shadow: 0 12px 60px #0008; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .2s; }
  .enhanced.in-view .note-panel { visibility: visible; opacity: 1; pointer-events: auto; }
  .enhanced .note-panel > .eyebrow { display: none; }
  .enhanced .step-note { margin-bottom: 8px; }
  .enhanced .step-note .step-count { margin-bottom: 9px; font-size: 9px; }
  .enhanced .step-note h3 { font-size: 20px; margin-bottom: 9px; }
  .enhanced .step-note > p:not(.step-count, .step-caption) { font-size: 12px; line-height: 1.7; }
  .enhanced .step-caption { display: none; }
  .demo-result { gap: 30px; }
}
@media (max-width: 650px) {
  .packet-story { gap: 12px; }
  .packet-bytes { font-size: 9px; }
  .packet-bytes span { padding: 8px; }
  .packet-arrow { display: none; }
  .packet-story > div { flex-basis: 100%; }
  .packet-bytes { width: max-content; }
  .walkthrough-hint { max-width: 290px; }
  .code-step { padding-inline: 15px; }
  .editor-toolbar { gap: 8px; padding-inline: 15px; }
  .source-name { font-size: 10px; }
  .demo-result { grid-template-columns: 1fr; gap: 25px; }
  .demo-transcript { padding: 16px; }
  .demo-transcript li { gap: 8px; font-size: 10px; }
  .demo-transcript code { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
