/* Shared visual system: quiet paper surfaces, ink, and a single route accent. */
:root {
  color-scheme: light;
  --paper: #f6f7f2;
  --white: #fff;
  --ink: #20251f;
  --muted: #62685e;
  --line: #dce0d5;
  --accent: #c4f568;
  --accent-dark: #405c1a;
  --panel: #1d241e;
  --diagram-line: #657460;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.6; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; font-weight: 550; }
h1 { font-size: clamp(42px, 5.4vw, 76px); letter-spacing: -.067em; }
h2 { font-size: clamp(34px, 3.6vw, 50px); letter-spacing: -.045em; }
h3 { font-size: 25px; letter-spacing: -.025em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
button, input { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #567526; outline-offset: 5px; }
::selection { background: var(--accent); color: var(--ink); }
svg { display: block; max-width: 100%; height: auto; }
code, .mono { font-family: var(--mono); }
code { overflow-wrap: anywhere; }
[hidden] { display: none !important; }
.container { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 10; top: -100px; left: 16px; padding: 10px 20px; background: var(--accent); color: var(--ink); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: rgba(246,247,242,.97); }
.header-inner { min-height: 89px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; font-size: 29px; font-weight: 650; letter-spacing: -1.2px; line-height: 1; flex-shrink: 0; }
.brand-mark { width: 33px; height: 33px; margin-right: 10px; display: inline-flex; justify-content: center; align-items: center; background: var(--ink); color: var(--accent); border-radius: 6px; font-size: 28px; line-height: 1; }
.brand-dot { color: #67873c; }
.main-nav { display: flex; align-items: center; gap: 32px; font-size: 13px; font-weight: 550; }
.main-nav > a:not(.button):hover, .site-footer a:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; border: 1px solid transparent; padding: 15px 22px; border-radius: 5px; font-size: 14px; font-weight: 550; line-height: 1.5; transition: background .15s, transform .15s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #39482d; }
.button-accent { background: var(--accent); color: var(--ink); }
.button-accent:hover { background: #d6ffa1; }
.button-small { padding: 10px 17px; font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.text-link span { font-size: 19px; }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: 1.14fr 1fr; gap: 55px; padding-top: 86px; padding-bottom: 76px; align-items: center; }
.hero > *, .section-heading > *, .route-panel > *, .quickstart > *, .docs-shell > * { min-width: 0; }
.hero-line { display: block; white-space: nowrap; }
.eyebrow { font: 10px/1.6 var(--mono); letter-spacing: 1.5px; font-weight: 500; }
.hero .eyebrow { margin-bottom: 30px; }
.tiny-cross { font-size: 19px; line-height: .5; vertical-align: -1px; margin-right: 8px; color: #67873c; }
.underlined { position: relative; display: inline-block; z-index: 0; }
.underlined svg { position: absolute; bottom: -7px; width: 101%; height: 16px; left: 0; z-index: -1; fill: none; stroke: var(--accent); stroke-width: 11; }
.hero-lead { max-width: 490px; color: var(--muted); font-size: 17px; line-height: 1.75; margin-top: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 29px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px; font: 10px/1.7 var(--mono); color: var(--muted); margin-top: 29px; }
.hero-meta span + span::before { content: '/'; padding-right: 14px; color: #9ca491; }
.network-card { min-width: 0; margin-top: 18px; border-radius: 13px; border: 1px solid #3a4434; background: var(--panel); color: #c8d2be; box-shadow: 0 18px 30px -27px #24321f; transform: rotate(-1deg); }
.network-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 21px 17px; border-bottom: 1px solid #394333; font: 9px var(--mono); letter-spacing: 1px; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 7px; }
.hero-network { width: 100%; padding-block: 11px 0; }
.diagram-node { fill: #293029; stroke: #4a5642; }
.diagram-icon { fill: none; stroke: #c3ccbb; stroke-width: 1.5; }
.diagram-label { text-anchor: middle; font: 11px var(--mono); fill: #acb8a4; }
.diagram-product { text-anchor: middle; font-size: 19px; font-weight: 600; fill: #f4f8ee; }
.diagram-protocol { text-anchor: middle; font: 8px var(--mono); fill: #adc099; }
.network-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-top: 1px solid #394333; font-size: 9px; }
.network-bottom code { font-size: 10px; }
.network-bottom code > span { color: #9eaf90; margin-right: 8px; }
.network-caption { color: #adb9a2; }
.protocol-band { border-block: 1px solid var(--line); }
.protocol-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px 26px; font: 12px var(--mono); }
.protocol-inner > span:first-child { font-size: 9px; letter-spacing: .5px; color: var(--muted); }
.protocol-inner > span:not(:first-child)::before { content: '+'; color: #7c9164; margin-right: 13px; }
.section { padding-block: 95px; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; margin-bottom: 46px; }
.section-heading > .eyebrow { padding-top: 8px; }
.section-intro { color: var(--muted); font-size: 16px; max-width: 570px; margin-top: 19px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.feature-card { display: flex; flex-direction: column; min-width: 0; padding: 29px 28px 25px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.feature-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 8px; font-size: 30px; margin-bottom: 31px; }
.feature-icon.mono { font-size: 20px; }
.card-kicker { font: 9px var(--mono); color: var(--muted); letter-spacing: 1px; margin-bottom: 12px; }
.feature-card h3 { max-width: 280px; }
.feature-card > p:not(.card-kicker) { color: var(--muted); font-size: 14px; margin-top: 16px; margin-bottom: 25px; line-height: 1.75; }
.feature-card .text-link { margin-top: auto; }
.feature-footnotes { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; margin-top: 27px; color: var(--muted); font-size: 12px; }
.feature-footnotes span { margin-right: 8px; color: var(--ink); font-size: 16px; }
.routes-section { background: #eef0e8; border-block: 1px solid var(--line); }
.tab-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid #d1d7c9; border-radius: 7px; overflow: hidden; }
.tab-list button { min-height: 64px; display: flex; align-items: center; justify-content: flex-start; gap: 17px; border: 0; padding: 12px 24px; background: transparent; color: var(--muted); font: 11px var(--mono); transition: background .15s; }
.tab-list button + button { border-left: 1px solid #d1d7c9; }
.tab-list button span { font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 14px; }
.tab-list button:hover { background: #e3e8da; }
.tab-list button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.tab-list button:focus-visible { outline-offset: -5px; outline-color: #7daf31; }
.route-panel { display: grid; grid-template-columns: .9fr 1.3fr; gap: 45px; align-items: center; margin-top: 38px; padding: 20px 10px 0; }
.pill { display: inline-block; font: 9px/1.5 var(--mono); letter-spacing: .4px; padding: 5px 8px; background: #dfe7d3; border-radius: 3px; color: #405232; }
.route-copy h3 { font-size: 30px; line-height: 1.23; margin-top: 17px; }
.route-copy p { color: var(--muted); font-size: 14px; margin: 17px 0; overflow-wrap: anywhere; }
.route-figure { width: 100%; }
.machine-boundary { fill: none; stroke: #b8c1ad; stroke-dasharray: 5 5; }
.route-note { font: 9px var(--mono); fill: #68735d; }
.route-line { stroke: #78965a; stroke-width: 1.5; fill: none; stroke-dasharray: 5 4; }
.route-node { fill: #f9faf6; stroke: #c3ccba; }
.route-primary { fill: var(--accent); stroke: #a5cc59; }
.route-label { fill: var(--ink); font-size: 12px; text-anchor: middle; }
.route-label.strong { font-weight: 650; font-size: 18px; }
.route-port { fill: #68735d; font: 9px var(--mono); text-anchor: middle; }
.quickstart { display: grid; grid-template-columns: .86fr 1.14fr; gap: 80px; align-items: start; }
.quickstart h2 { margin-top: 24px; }
.quickstart-copy > p:not(.eyebrow) { color: var(--muted); font-size: 15px; margin-top: 21px; max-width: 365px; }
.setup-steps { list-style: none; padding: 0; margin: 29px 0 20px; }
.setup-steps li { display: flex; align-items: flex-start; gap: 15px; padding-bottom: 20px; }
.setup-steps li > span { flex-shrink: 0; display: grid; place-items: center; border: 1px solid #d1d9c6; border-radius: 50%; width: 26px; height: 26px; font: 10px var(--mono); }
.setup-steps strong { font-size: 14px; font-weight: 600; }
.setup-steps p { font-size: 12px; color: var(--muted); margin-top: 3px; }
.quickstart-code { margin-top: 10px; }
.code-window { min-width: 0; max-width: 100%; background: var(--panel); color: #edf5e7; border: 1px solid #38472e; border-radius: 9px; overflow: hidden; }
.code-toolbar { display: flex; flex-wrap: wrap; gap: 10px 15px; align-items: center; justify-content: space-between; border-bottom: 1px solid #3c4735; padding: 15px 20px; color: #c5d0bb; font-size: 11px; }
.terminal-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 5px; background: #829572; box-shadow: 10px 0 #536447, 20px 0 #384930; }
.terminal-dot + * { margin-left: 4px; }
.code-toolbar .terminal-dot { margin-right: 27px; }
.code-language { color: #b0bda5; font: 8px var(--mono); margin-left: 10px; }
.copy-button { background: #303b2b; border: 1px solid #526047; border-radius: 4px; padding: 5px 8px; color: #d1ddc6; font: 9px/1.4 var(--mono); }
.copy-button:hover { border-color: var(--accent); color: var(--accent); }
.copy-button:focus-visible { outline-color: var(--accent); }
pre { padding: 25px; margin: 0; overflow-x: auto; tab-size: 2; font-size: 12px; line-height: 1.9; }
pre code { overflow-wrap: normal; }
.code-comment { color: #a6b597; }
.code-note { padding: 13px 23px; border-top: 1px solid #3c4735; font: 10px var(--mono); color: #b5c6a5; }
.small-code { margin-top: 17px; }
.small-code pre { padding-block: 19px; font-size: 11px; }
.code-help { font-size: 12px; color: var(--muted); margin-top: 19px; }
.code-help a { text-decoration: underline; text-underline-offset: 3px; }
.addon-section { display: grid; grid-template-columns: 82px minmax(0,1fr) 90px; gap: 35px; padding: 42px; background: #e8ece0; border: 1px solid #d7deca; border-radius: 9px; align-items: start; }
.addon-symbol { display: grid; place-items: center; font-size: 56px; height: 80px; border: 1px dashed #a7b598; border-radius: 10px; }
.addon-copy .eyebrow { color: #566646; margin-bottom: 15px; font-size: 9px; }
.addon-copy h2 { font-size: 30px; line-height: 1.25; letter-spacing: -.03em; max-width: 680px; }
.addon-copy p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.75; max-width: 590px; margin: 17px 0; }
.addon-label { text-align: right; font: 9px/1.7 var(--mono); color: #68795a; }
.faq-section { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.faq-section > * { min-width: 0; }
.faq-section h2 { margin-top: 25px; font-size: clamp(24px,2.7vw,43px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 24px 0; list-style: none; cursor: pointer; font-size: 16px; font-weight: 550; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { font-size: 24px; font-weight: 300; color: var(--muted); transition: transform .15s; }
.faq-list details[open] summary > span { transform: rotate(45deg); }
.faq-list details > p { font-size: 14px; color: var(--muted); padding-bottom: 25px; line-height: 1.8; }
.faq-list a { text-decoration: underline; text-underline-offset: 4px; }
.closing-section { background: var(--panel); color: var(--paper); padding: 60px 0; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 35px; }
.closing-inner .eyebrow { color: #b3c99b; margin-bottom: 19px; }
.closing-inner h2 { font-size: 43px; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; min-height: 122px; }
.site-footer .brand { font-size: 22px; }
.site-footer .brand-mark { width: 27px; height: 27px; font-size: 23px; }
.site-footer p { color: var(--muted); font-size: 11px; }
.site-footer nav { display: flex; gap: 30px; margin-left: auto; font-size: 11px; }

/* Documentation uses the same typography, navigation, and code components. */
.docs-shell { display: grid; grid-template-columns: 215px minmax(0,1fr); gap: 65px; padding-block: 65px 95px; }
.docs-nav { align-self: start; position: sticky; top: 124px; font-size: 13px; }
.docs-nav a { display: block; padding: 8px 0; color: var(--muted); }
.docs-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.docs-nav .eyebrow { margin-bottom: 17px; }
.doc-content { max-width: 825px; }
.doc-content h1 { font-size: 52px; margin: 16px 0 24px; letter-spacing: -.045em; }
.doc-content h2 { font-size: 33px; margin-bottom: 21px; }
.doc-content h3 { font-size: 22px; margin: 30px 0 16px; }
.doc-content p { margin-block: 14px; color: var(--muted); }
.doc-content section { margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--line); scroll-margin-top: 15px; }
.doc-content ul, .doc-content ol { padding-left: 22px; color: var(--muted); }
.doc-content li { margin-block: 8px; }
.doc-content a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.doc-content .code-window { margin-block: 20px; }
.doc-content :not(pre) > code { font-size: .86em; background: #e7ecdd; color: #344128; padding: 2px 4px; border-radius: 3px; }
.table-scroll { width: 100%; overflow: auto; margin-block: 22px; }
.config-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.config-table th { font-weight: 600; padding: 13px 12px; background: #e7ecdd; }
.config-table th[scope="row"] { font-weight: 400; background: transparent; border-bottom: 1px solid var(--line); }
.config-table caption { text-align: left; margin-bottom: 12px; color: var(--muted); }
.config-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.config-table td:first-child { min-width: 175px; }
.config-table code { word-break: normal; }
.doc-note { padding: 14px 20px; border-left: 3px solid #79964f; background: #edf1e5; margin-block: 22px; font-size: 14px; }
.doc-note p { margin: 0; }

@media (min-width: 1500px) { .hero { padding-block: 105px 95px; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero { gap: 32px; padding-block: 65px; }
  h1 { font-size: clamp(42px,5.9vw,64px); }
  .main-nav { gap: 21px; }
  .hero-actions { gap: 20px; }
  .network-caption { display: none; }
  .network-top { font-size: 8px; padding: 16px; }
  .feature-card { padding: 24px 21px; }
  .feature-card h3 { font-size: 23px; }
  .section { padding-block: 75px; }
  .quickstart { gap: 40px; }
  .route-panel { gap: 25px; }
  .tab-list button { padding-inline: 18px; }
  .tab-list button span { font-size: 13px; }
  .docs-shell { grid-template-columns: 175px minmax(0,1fr); gap: 40px; }
}
@media (max-width: 760px) {
  :root { scroll-padding-top: 90px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 75px; flex-wrap: wrap; gap: 0; padding-block: 19px; }
  .brand { font-size: 25px; }
  .brand-mark { width: 30px; height: 30px; }
  .main-nav { width: 100%; flex-wrap: wrap; gap: 15px 23px; padding-top: 24px; }
  .has-menu .main-nav { display: none; }
  .has-menu .main-nav.is-open { display: flex; }
  .menu-toggle { display: flex; align-items: center; gap: 12px; background: none; border: 1px solid var(--line); border-radius: 4px; padding: 6px 10px; font-size: 12px; }
  .hero { grid-template-columns: minmax(0,1fr); gap: 38px; padding-top: 45px; padding-bottom: 42px; }
  .hero .eyebrow { margin-bottom: 23px; }
  h1 { font-size: clamp(36px,10.5vw,68px); }
  .hero-lead { font-size: 16px; margin-top: 25px; max-width: 520px; }
  .hero-actions { gap: 17px 24px; }
  .hero-meta { gap: 8px 12px; font-size: 9px; margin-top: 23px; }
  .hero-meta span + span::before { padding-right: 12px; }
  .network-card { max-width: 530px; width: 100%; justify-self: center; margin: 0; transform: none; }
  .network-top { padding: 17px 20px; font-size: 9px; }
  .network-caption { display: inline; }
  .hero-network { padding-block: 0; }
  .protocol-inner { padding-block: 23px; justify-content: flex-start; font-size: 10px; gap: 18px 23px; }
  .protocol-inner > span:first-child { flex-basis: 100%; }
  .protocol-inner > span:not(:first-child)::before { margin-right: 8px; }
  .section { padding-block: 58px; }
  .section-heading { grid-template-columns: minmax(0,1fr); gap: 23px; margin-bottom: 29px; }
  h2 { font-size: 38px; }
  .section-intro { font-size: 15px; }
  .feature-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .feature-card { padding: 25px; }
  .feature-icon { margin-bottom: 22px; }
  .feature-card h3 { font-size: 27px; max-width: 360px; }
  .feature-card > p:not(.card-kicker) { max-width: 540px; margin-bottom: 20px; }
  .feature-footnotes { flex-direction: column; gap: 11px; margin-top: 20px; }
  .tab-list { grid-template-columns: minmax(0,1fr); }
  .tab-list button { min-height: 52px; }
  .tab-list button + button { border-left: 0; border-top: 1px solid #d1d7c9; }
  .tab-list button span { font-size: 14px; }
  .route-panel { grid-template-columns: minmax(0,1fr); padding: 0; margin-top: 29px; gap: 18px; }
  .route-copy h3 { font-size: 30px; }
  .route-figure { margin-block: 10px; }
  .quickstart { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .quickstart-copy > p:not(.eyebrow) { max-width: 520px; }
  .quickstart-code { margin: 0; }
  .code-toolbar { padding: 14px 16px; }
  pre { padding: 19px 16px; font-size: 11px; }
  .code-language { font-size: 7px; }
  .code-note { padding-inline: 16px; font-size: 9px; }
  .addon-section { grid-template-columns: minmax(0,1fr); gap: 22px; padding: 27px; }
  .addon-symbol { width: 57px; height: 57px; font-size: 40px; }
  .addon-copy h2 { font-size: 28px; }
  .addon-label { display: none; }
  .faq-section { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .faq-section h2 { font-size: clamp(29px,8.5vw,38px); }
  .faq-list summary { font-size: 15px; padding-block: 21px; }
  .closing-section { padding-block: 43px; }
  .closing-inner h2 { font-size: 35px; }
  .closing-inner .eyebrow { font-size: 9px; }
  .site-footer { padding-block: 30px; gap: 23px; }
  .site-footer p { margin-left: auto; }
  .site-footer nav { flex-basis: 100%; margin-left: 0; gap: 25px; }
  .docs-shell { grid-template-columns: minmax(0,1fr); gap: 30px; padding-block: 35px 60px; }
  .docs-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px 19px; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .docs-nav .eyebrow { width: 100%; margin: 0; }
  .docs-nav nav { display: flex; flex-wrap: wrap; gap: 10px 18px; width: 100%; }
  .docs-nav a { padding: 0; font-size: 12px; }
  .doc-content h1 { font-size: 41px; }
  .doc-content h2 { font-size: 30px; }
  .doc-content { font-size: 15px; }
  .doc-content section { margin-top: 35px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
