/* Guarani AI: one stylesheet for every page (obsidian world). No inline styles (CSP: style-src 'self'). */

@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --void: #000000; --obsidian: #050507; --surface: #0a0b0f; --surface-2: #0e1016;
  --line: rgba(255, 255, 255, .08); --line-strong: rgba(255, 255, 255, .14); --edge: rgba(255, 255, 255, .12);
  --ink: #ffffff; --silver: #a1a1aa; --mute: #8b8b94; --body: #d4d4d8;
  --champagne: #c5b396; --green: #10b981; --cyan: #1bc1cf; --hold: #d9a54a; --fail: #e0675f;
  --sans: "Space Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --g: clamp(10px, 3vw, 40px);
  --pad: clamp(16px, 3vw, 40px);
  --max: 1240px;
  --frame: min(100vw - var(--g) * 2, var(--max));
  --nav-h: 64px;
  --section: clamp(80px, 10vw, 144px);
  --ease: cubic-bezier(.23, 1, .32, 1);
  --shadow: 0 40px 100px -40px rgba(0, 0, 0, .9), 0 16px 40px -24px rgba(0, 0, 0, .8);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); background: var(--obsidian); scrollbar-color: #2a2b31 var(--obsidian); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--obsidian); color: var(--silver); font: 400 16.5px/1.65 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
body::before { content: ""; position: fixed; z-index: 0; top: 0; bottom: 0; left: 50%; width: var(--frame); transform: translateX(-50%); border-left: 1px solid var(--line); border-right: 1px solid var(--line); pointer-events: none; }
::-webkit-scrollbar { width: 12px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2a2b31; border-radius: 999px; border: 3px solid var(--obsidian); }
::selection { background: rgba(197, 179, 150, .32); color: #fff; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
input, select, textarea { caret-color: var(--champagne); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1 { line-height: 1.05; }
h1, h2, h3, h4 { margin: 0; font-family: var(--sans); font-weight: 500; color: var(--ink); text-wrap: balance; letter-spacing: -.03em; }
h2 { font-size: clamp(30px, 1.6rem + 1.8vw, 48px); line-height: 1.06; }
h3 { font-size: clamp(19px, 1rem + .5vw, 23px); line-height: 1.2; letter-spacing: -.02em; }
p { margin: 0; text-wrap: pretty; }
li { text-wrap: pretty; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: rgba(255, 255, 255, .35); }
a:hover { text-decoration-color: #fff; }
code, pre, kbd, samp { font-family: var(--mono); font-size: .9em; }
table, .num { font-variant-numeric: tabular-nums; }
.num { text-align: right; white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
main, .site-header, .site-footer, .ribbon { position: relative; z-index: 1; }
.wrap { position: relative; width: var(--frame); margin-inline: auto; padding-left: var(--pad); padding-right: var(--pad); }
.skip-link { position: fixed; z-index: 60; top: 12px; left: 12px; padding: 10px 14px; background: #fff; color: #000; border-radius: 8px; font-weight: 500; text-decoration: none; transform: translateY(-160%); transition: transform .18s var(--ease); }
.skip-link:focus { transform: none; }
.lead { font-size: clamp(16.5px, 1rem + .25vw, 18.5px); line-height: 1.6; color: var(--silver); max-width: 62ch; }
.mono { font-family: var(--mono); }

.band { position: relative; border-top: 1px solid var(--line); }
.band::before, .band::after { content: ""; position: absolute; z-index: 2; top: -5px; width: 9px; height: 9px; pointer-events: none;
  background: linear-gradient(var(--line-strong), var(--line-strong)) center / 1px 9px no-repeat, linear-gradient(var(--line-strong), var(--line-strong)) center / 9px 1px no-repeat; }
.band::before { left: calc((100% - var(--frame)) / 2 - 4px); }
.band::after { right: calc((100% - var(--frame)) / 2 - 4px); }

.sq { display: inline-block; flex: none; width: 7px; height: 7px; margin-right: 8px; vertical-align: 1px; background: var(--silver); }
.sq.is-pass { background: var(--green); }
.sq.is-clear { background: var(--champagne); }
.sq.is-hold, .sq.is-warn { background: var(--hold); }
.sq.is-reroute { background: var(--cyan); }
.sq.is-fail { background: var(--fail); }
.sq.is-info { background: #5f6068; }
.sq.is-await { background: transparent; box-shadow: inset 0 0 0 1px var(--silver); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 11px 18px; border-radius: 8px; border: 1px solid transparent; font: 500 14.5px/1.2 var(--sans); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .12s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: #e7e7ea; color: #000; }
.btn-ghost { background: var(--surface); color: #fff; border-color: var(--line-strong); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .34); background: #121319; color: #fff; }
.btn-lg { min-height: 48px; padding: 13px 22px; font-size: 15.5px; }
.btn-sm { min-height: 36px; padding: 8px 14px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.i-arrow { width: 14px; height: 14px; transition: transform .15s var(--ease); }
@media (hover: hover) and (pointer: fine) { .btn:hover .i-arrow { transform: translate(1px, -1px); } }
.sample { display: inline-flex; align-items: center; padding: 2px 8px; border: 1px solid var(--line-strong); border-radius: 999px; font: 500 11px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--silver); white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 40; background: var(--obsidian); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 500 17px/1 var(--sans); letter-spacing: -.02em; white-space: nowrap; }
.g-mark { width: 22px; height: 22px; flex: none; }
.nav-links { display: flex; gap: 2px; margin: 0 0 0 12px; padding: 0; list-style: none; }
.nav-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 11px; color: var(--silver); font-size: 14px; text-decoration: none; transition: color .15s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-end { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav-signin { font-size: 14px; color: #fff; text-decoration: none; white-space: nowrap; }
.nav-signin:hover { text-decoration: underline; }
.lang { display: inline-flex; align-items: center; gap: 2px; font: 500 12px/1 var(--mono); color: var(--mute); }
.lang a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 5px; color: var(--mute); text-decoration: none; }
.lang a:hover { color: #fff; }
.lang a[aria-current="true"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--champagne); }
.lang .sep { color: #3a3b42; }
.menu-btn { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: #fff; }
.menu-btn svg { width: 18px; height: 18px; }
.menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.menu-panel { position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 39; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; background: var(--obsidian); border-bottom: 1px solid var(--line-strong); padding: 8px var(--pad) 24px; }
.menu-panel[hidden] { display: none; }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel li a { display: flex; align-items: center; min-height: 50px; border-bottom: 1px solid var(--line); color: #fff; font-size: 17px; text-decoration: none; }
.menu-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }
body.menu-open { overflow: hidden; }
@media (max-width: 1080px) { .nav-links a { padding: 0 8px; } .nav-end { gap: 12px; } }
@media (max-width: 959px) {
  .nav-links, .nav-end .lang, .nav-signin { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 359px) { .nav-end .btn .i-arrow { display: none; } }
@media (max-width: 399px) { .nav { gap: 10px; } .nav-end { gap: 8px; } .nav-end .btn { padding: 8px 10px; font-size: 13.5px; } .brand { font-size: 16px; } }

.ribbon { height: 40px; padding: 6px 0; background: var(--void); border-bottom: 1px solid var(--line); overflow: hidden; }
.ribbon-in { display: flex; align-items: center; height: 100%; gap: 16px; padding-top: 2px; padding-bottom: 2px; }
.rb-label { flex: none; padding: 3px 9px; border: 1px solid var(--line-strong); border-radius: 999px; font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--champagne); background: var(--obsidian); }
.rb-view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rb-move { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.ribbon:hover .rb-move, .ribbon:focus-within .rb-move { animation-play-state: paused; }
.rb-track { display: flex; gap: 40px; margin: 0; padding: 0 40px 0 0; list-style: none; }
.rb-track li { display: inline-flex; align-items: center; font: 400 12px/1 var(--mono); letter-spacing: .02em; color: var(--silver); white-space: nowrap; }
.rb-track .sq { width: 5px; height: 5px; margin-right: 10px; background: var(--cyan); opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 599px) { .rb-label { font-size: 11px; padding: 2px 7px; } }

.stream { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }

.hero { padding: clamp(48px, 6vw, 80px) 0 clamp(72px, 9vw, 120px); }
.hero-in { text-align: center; isolation: isolate; }
.hero-in::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 40px; width: min(1000px, 96%); height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(5, 5, 7, .82), rgba(5, 5, 7, .55) 60%, transparent); pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 4px 12px 4px 5px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--obsidian); font-size: 13px; color: var(--body); }
.pill-mark { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #17181d; }
.hero h1 { margin: 28px auto 0; font-size: clamp(40px, 1rem + 4.2vw, 76px); line-height: 1.02; font-weight: 500; letter-spacing: -.04em; }
.h1-vis { display: block; }
.h1-a { display: block; color: var(--silver); }
.rot { display: inline-grid; vertical-align: top; overflow: hidden; padding-bottom: .18em; margin-bottom: -.18em; color: #fff; }
.rot-p { grid-area: 1 / 1; justify-self: center; white-space: nowrap; }
.rot-p:not(.is-in) { opacity: 0; transform: translateY(110%); }
.rot.is-live .rot-p { transition: transform .6s cubic-bezier(.86, 0, .07, 1), opacity .6s ease; }
.rot.is-live .rot-p.is-out { opacity: 0; transform: translateY(-110%); }
.hero .lead { margin: 24px auto 0; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
@media (max-width: 999px) { .hero h1 { line-height: 1.08; } .rot { display: grid; } .rot-p { white-space: normal; text-wrap: balance; } }
@media (max-width: 599px) {
  .hero { padding-top: 32px; }
  .hero h1 { margin-top: 20px; }
  .hero .lead { margin-top: 18px; }
  .hero-actions { margin-top: 24px; }
  .con { margin-top: 32px; }
}
@media (max-width: 759px) {
  .hero h1 { font-size: clamp(34px, 1.3rem + 5.4vw, 46px); line-height: 1.1; }
  .hero .lead { font-size: 16px; }
}

.con { position: relative; margin-top: clamp(44px, 5vw, 64px); text-align: left; border: 1px solid var(--line); border-radius: 12px; background: rgba(14, 16, 22, .78); box-shadow: inset 0 1px 0 var(--edge), var(--shadow); overflow: hidden; }
.con-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.con-title { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font: 400 12.5px/1.3 var(--mono); color: var(--silver); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.con-mark { width: 16px; height: 16px; }
.con-bar-end { display: inline-flex; align-items: center; gap: 8px; flex: none; }
@media (max-width: 479px) {
  .con-title > span { display: none; }
  .con-bar { flex-wrap: wrap; row-gap: 8px; padding: 10px 12px; }
  .con-bar-end { flex: 1 1 0; min-width: 0; flex-wrap: wrap; justify-content: flex-end; row-gap: 6px; }
  .con-state, .con-bar-end .sample { white-space: normal; text-align: left; }
}
.con-state { padding: 3px 10px; font-size: 12px; transition: color .2s var(--ease), border-color .2s var(--ease); }
.s-state.is-run { color: #fff; }
.sq.is-run { background: #fff; }
@media (prefers-reduced-motion: no-preference) { .sq.is-run { animation: blink 1.2s steps(1) infinite; } }
.con-sums { display: grid; padding: 0 18px 18px; }
.con-sum { grid-area: 1 / 1; min-width: 0; padding-top: 14px; border-top: 1px solid var(--line); transition: opacity .18s linear, visibility .18s linear; }
.con-sum.is-inactive { opacity: 0; visibility: hidden; }
.sum { display: grid; margin: 0; }
.sum div { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--line); font: 400 12.5px/1.45 var(--mono); }
.sum dt { color: var(--mute); }
.sum dd { margin: 0; color: var(--body); }
.con-history { display: flex; align-items: center; gap: 4px; padding: 8px 10px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.con-history::-webkit-scrollbar { display: none; }
.con-hist, .con-replay { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--mute); font: 400 12.5px/1 var(--mono); white-space: nowrap; transition: color .15s var(--ease), border-color .15s var(--ease), background-color .15s var(--ease); }
.con-hist:hover, .con-replay:hover { color: #fff; }
.con-hist[aria-pressed="true"] { color: #fff; border-color: var(--line-strong); background: rgba(255, 255, 255, .03); }
.con-hist .ps { color: #7c7d86; }
.con-hist[aria-pressed="true"] .ps { color: var(--champagne); }
.con-replay { margin-left: auto; font-family: var(--sans); font-size: 13px; }
.con-replay svg { width: 14px; height: 14px; }
.con-hist:active, .con-replay:active { transform: translateY(1px); }
.con-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.con-term { min-width: 0; }
.con-tele { min-width: 0; display: grid; padding: 18px 20px; border-left: 1px solid var(--line); background: rgba(5, 5, 7, .35); }
.con-screen { display: grid; padding: 16px 18px 18px; font: 400 12.5px/1.65 var(--mono); }
.con-log, .tele { grid-area: 1 / 1; margin: 0; padding: 0; list-style: none; min-width: 0; transition: opacity .18s linear, visibility .18s linear; }
.con-log.is-inactive, .tele.is-inactive { opacity: 0; visibility: hidden; }
.con-cmd { color: #fff; white-space: pre-wrap; word-break: break-word; margin-bottom: 6px; }
.con-ps { color: var(--champagne); }
.con-caret { display: inline-block; width: 7px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: var(--champagne); opacity: 0; }
.con-log.is-typing .con-caret { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .con-log.is-typing .con-caret { animation: blink 1s steps(1) infinite; } }
@keyframes blink { 50% { opacity: 0; } }
.con-line { display: grid; grid-template-columns: 1.4em minmax(0, 1fr) auto; column-gap: 6px; color: var(--body); transition: opacity .26s var(--ease); }
.con-g { text-align: center; color: #5f6068; }
.con-line.is-pass .con-g { color: var(--green); }
.con-line.is-warn .con-g { color: var(--hold); }
.con-line.is-next { margin-top: 6px; color: #fff; }
.con-line.is-next .con-g { color: var(--champagne); }
.con-t { white-space: pre-wrap; word-break: break-word; }
.con-sub { grid-column: 2; color: var(--mute); }
.con-d { padding-left: 12px; color: var(--mute); text-align: right; font-variant-numeric: tabular-nums; }
.con[data-armed] .con-typed:not(.is-live) { visibility: hidden; }
.con[data-armed] .con-line:not(.is-shown) { opacity: 0; }

.tele { font-size: 13px; }
.tl-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 8px; font: 500 12px/1.4 var(--mono); letter-spacing: .01em; color: var(--silver); }
.tele > .tl-h:not(:first-child), .tele > .tl-verdict { margin-top: 18px; }
.tl-h-meta { font: 400 12px/1.4 var(--mono); letter-spacing: 0; text-transform: none; color: var(--mute); white-space: nowrap; }
.tl-legend { display: inline-flex; align-items: center; gap: 4px; letter-spacing: 0; text-transform: none; }
.tl-legend i { display: inline-block; width: 10px; height: 3px; margin-left: 6px; }
.tl-legend .k50 { background: var(--cyan); }
.tl-legend .k95 { background: #3b3d46; }
.tl-stages, .tl-lat, .tl-share, .tl-teams { list-style: none; margin: 0; padding: 0; }
.tl-stage { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.tl-dot { width: 7px; height: 7px; box-shadow: inset 0 0 0 1px #3b3d46; }
.tl-dot.is-pass.is-shown { background: var(--green); box-shadow: none; }
.tl-dot.is-warn.is-shown { background: var(--hold); box-shadow: none; }
.tl-name { color: var(--body); overflow-wrap: anywhere; line-height: 1.3; }
.tl-stage .tl-q, .tl-stage .tl-dur { grid-column: 3; grid-row: 1; justify-self: end; font: 400 12px/1.4 var(--mono); color: var(--mute); }
.tl-stage .tl-dur { color: var(--silver); font-variant-numeric: tabular-nums; }
.tl-stage.is-running .tl-q { color: #fff; }
.tl-stage.is-running .tl-dot { box-shadow: inset 0 0 0 1px #fff; }
.tl-lat li, .tl-share li, .tl-teams li { display: grid; grid-template-columns: minmax(0, 8.6em) minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 4px 0; }
.tl-share li { grid-template-columns: minmax(0, 8.6em) minmax(0, 1fr) 3em; }
.tl-share .tl-sub { grid-column: 2 / 4; font: 400 12px/1.4 var(--mono); color: var(--mute); }
.tl-num { font: 400 12px/1.4 var(--mono); color: var(--body); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tl-bars { display: grid; height: 6px; }
.tl-bar { grid-area: 1 / 1; display: block; height: 6px; background: rgba(255, 255, 255, .04); overflow: hidden; }
.tl-bar > span { display: block; height: 100%; transform-origin: left center; transform: scaleX(var(--w, 0)); transition: transform .6s var(--ease); }
.tl-bar.b95 > span { background: #3b3d46; }
.tl-bar.b50 { background: transparent; }
.tl-bar.b50 > span, .tl-bar.bshare > span { background: var(--cyan); }
.tl-bar.bteam > span { background: var(--silver); }
.con[data-armed] .tl-bar[data-at]:not(.is-shown) > span { transform: scaleX(0); }
.tl-foot { margin-top: 6px; font: 400 12px/1.4 var(--mono); color: var(--mute); }
.tl-verdict { display: grid; }
.tl-v-run, .tl-v-done { grid-area: 1 / 1; }
.tl-v-run { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 8px; color: var(--mute); font: 400 12px/1.4 var(--mono); }
.tl-spin { width: 10px; height: 10px; border: 1.5px solid #3b3d46; border-top-color: #fff; border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) { .tl-spin { animation: spin .9s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }
.tl-v-done { padding: 12px 14px; border: 1px solid rgba(197, 179, 150, .45); border-radius: 8px; background: rgba(197, 179, 150, .05); }
.tl-v-title { font: 500 12.5px/1.3 var(--mono); letter-spacing: .04em; color: var(--champagne); }
.tl-v-sub { margin-top: 3px; color: var(--silver); font-size: 12.5px; line-height: 1.45; }
.tl-matrix { width: 100%; border-collapse: collapse; font-size: 12px; }
.tl-matrix th { padding: 6px 6px 6px 0; text-align: left; font-weight: 400; color: var(--mute); font-size: 12px; }
.tl-matrix thead th { border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; }
.tl-matrix tbody th { color: var(--body); white-space: nowrap; }
.tl-matrix td { padding: 6px 4px; border-bottom: 1px solid var(--line); }
.tl-matrix td > span { display: block; white-space: nowrap; font-family: var(--mono); font-size: 12px; }
.tl-cell.is-pass { color: var(--body); }
.tl-cell.is-warn { color: var(--hold); }
.tl-cell .sq { width: 6px; height: 6px; margin-right: 6px; }
.tl-matrix .tl-q { color: #7c7d86; }
.con[data-armed] [data-at]:not(.is-shown) { opacity: 0; }
.con[data-armed] .tl-dot[data-at]:not(.is-shown), .con[data-armed] .tl-bar[data-at]:not(.is-shown) { opacity: 1; }
.con[data-armed] [data-until].is-gone, .con[data-armed] .tl-cell:not(.is-shown) { display: none; }
.con[data-armed] .tl-cell.is-shown + .tl-q { display: none; }
.con [data-at] { transition: opacity .3s var(--ease); }
@media (max-width: 899px) {
  .con-split { grid-template-columns: minmax(0, 1fr); }
  .con-tele { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 599px) {
  .con { margin-inline: calc(var(--pad) * -1 + 4px); }
  .con-screen { font-size: 12px; padding: 12px; }
  .con-line { grid-template-columns: 1.3em minmax(0, 1fr); }
  .con-d { grid-column: 2; padding: 0; text-align: left; }
  .tl-matrix { table-layout: fixed; font-size: 11px; }
  .tl-matrix th, .tl-matrix thead th { font-size: 11px; overflow-wrap: anywhere; }
  .tl-matrix td > span { white-space: normal; font-size: 11px; }
}

.counters .wrap { padding-left: 0; padding-right: 0; }
.cnt { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.cnt-cell { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: clamp(28px, 4vw, 48px) var(--pad); border-left: 1px solid var(--line); }
.cnt-cell:first-child { border-left: 0; }
.cnt dt { font-size: 14px; line-height: 1.45; color: var(--silver); }
.cnt dd { margin: 0; display: flex; align-items: baseline; gap: 6px; color: #fff; font: 500 clamp(36px, 1.6rem + 2vw, 60px)/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.cnt-u { font-size: 20px; letter-spacing: -.01em; color: var(--silver); }
@media (max-width: 799px) {
  .cnt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cnt-cell:nth-child(3) { border-left: 0; }
  .cnt-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
}

.sec { padding-top: var(--section); padding-bottom: var(--section); }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .lead { margin-top: 18px; }

.bay { border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); overflow: hidden; box-shadow: inset 0 1px 0 var(--edge); }
.bay-head, .strip { display: grid; grid-template-columns: 7rem minmax(0, 1fr) minmax(0, 16.5rem) 11.5rem 4.5rem 18px; align-items: center; column-gap: 20px; padding: 0 20px; }
.bay-head { min-height: 44px; padding-top: 8px; padding-bottom: 8px; font: 500 11px/1 var(--mono); letter-spacing: .08em; color: var(--mute); }
.bay-head > span > span:first-child, .bay-head > span[aria-hidden] { text-transform: uppercase; }
.bay-head .sample { margin-left: 12px; vertical-align: 1px; letter-spacing: .06em; }
.bay-head > span:nth-child(5) { text-align: right; }
.strip-h { margin: 0; font: inherit; letter-spacing: 0; }
.strip-item { border-top: 1px solid var(--line); }
.strip { width: 100%; min-height: 76px; padding-top: 14px; padding-bottom: 14px; border: 0; background: transparent; color: var(--silver); text-align: left; transition: background-color .15s var(--ease); }
.strip:hover { background: rgba(255, 255, 255, .02); }
.strip-item.is-open .strip { background: var(--surface-2); }
.s-id, .s-route, .s-time { font: 400 13px/1.4 var(--mono); font-variant-numeric: tabular-nums; }
.s-id { color: #fff; letter-spacing: .02em; }
.s-mod { display: grid; gap: 2px; min-width: 0; }
.s-name { font: 500 17px/1.25 var(--sans); color: #fff; letter-spacing: -.015em; }
.s-desc { font-size: 14px; line-height: 1.4; color: var(--silver); }
.s-route { color: var(--silver); }
.s-time { color: var(--mute); text-align: right; }
.s-state { display: inline-flex; flex-wrap: wrap; align-items: center; justify-self: start; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 999px; font: 500 12px/1.3 var(--mono); letter-spacing: .06em; }
.s-state .sq { margin-right: 7px; }
.s-state.is-clear { color: var(--champagne); border-color: rgba(197, 179, 150, .45); }
.s-state.is-reroute { color: var(--cyan); border-color: rgba(27, 193, 207, .4); }
.s-state.is-hold { color: var(--hold); border-color: rgba(217, 165, 74, .45); }
.s-state.is-await { color: var(--silver); }
.s-cell { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.s-note { display: inline-flex; align-items: center; font: 400 12px/1.35 var(--mono); color: var(--hold); }
.s-note .sq { width: 6px; height: 6px; margin-right: 6px; }
.s-chev { width: 16px; height: 16px; color: var(--mute); transition: transform .2s var(--ease); }
.strip[aria-expanded="true"] .s-chev { transform: rotate(180deg); color: #fff; }
.bay-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3.5vw, 48px); padding: clamp(20px, 3vw, 36px) 20px clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); background: var(--obsidian); }
.bay-panel[hidden] { display: none; }
.bay-copy > p { color: var(--body); max-width: 56ch; }
.points { list-style: none; margin: 20px 0 0; padding: 0; }
.points li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--line); color: var(--silver); font-size: 15px; }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points li::before { content: ""; position: absolute; left: 1px; top: 19px; width: 9px; height: 1px; background: var(--champagne); }
.policy { margin-top: 20px; padding-left: 14px; box-shadow: inset 1px 0 0 var(--champagne); color: var(--body); font-size: 15px; }
@media (max-width: 1023px) {
  .bay-head { display: none; }
  .strip { grid-template-columns: auto minmax(0, 1fr) auto 18px; grid-template-areas: "id state time chev" "mod mod mod mod" "route route route route"; row-gap: 8px; }
  .s-id { grid-area: id; } .s-cell { grid-area: state; justify-self: start; } .s-time { grid-area: time; } .s-chev { grid-area: chev; }
  .s-mod { grid-area: mod; } .s-route { grid-area: route; }
  .bay-panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) { .strip, .bay-panel { padding-left: 14px; padding-right: 14px; } .bay { margin-inline: calc(var(--pad) * -1 + 4px); } }

.inst { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.inst-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.inst-title { font-size: 14.5px; font-weight: 500; color: #fff; }
.inst-body { padding: clamp(14px, 2vw, 20px); }
.inst-scroll { overflow-x: auto; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--obsidian); }
.seg button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--silver); font-size: 13px; transition: background-color .15s var(--ease), color .15s var(--ease); }
.seg button:hover { color: #fff; }
.seg button[aria-pressed="true"] { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.seg button:active { transform: translateY(1px); }
.pr { display: grid; gap: 14px; }
.pr-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.pr-num { font: 400 13px/1.3 var(--mono); color: var(--mute); }
.pr-title { font: 500 16px/1.3 var(--mono); color: #fff; }
.pr-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--mute); }
.pr-meta code, .rc-body code, .pr-tests code { padding: 1px 5px; border-radius: 4px; background: rgba(255, 255, 255, .06); color: var(--body); font-size: 12px; }
.rc { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.rc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--mute); background: rgba(255, 255, 255, .015); }
.rc-who { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; }
.rc-who .g-mark { width: 14px; height: 14px; }
.rc-file { font: 400 12px/1.3 var(--mono); }
.tag { display: inline-flex; align-items: center; padding: 1px 8px; border: 1px solid var(--line-strong); border-radius: 999px; font: 400 12px/1.6 var(--mono); color: var(--silver); }
.tag .sq { width: 6px; height: 6px; margin-right: 6px; }
.tag--hold { color: var(--hold); }
.tag--pass { color: var(--green); }
.rc-body { padding: 11px 12px; font-size: 14.5px; line-height: 1.55; color: var(--body); }
.rc-body p + p { margin-top: 6px; }
.rc details { border-top: 1px solid var(--line); }
.rc summary { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; cursor: pointer; list-style: none; font-size: 13.5px; color: #fff; }
.rc summary::-webkit-details-marker { display: none; }
.rc summary::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .18s var(--ease); }
.rc details[open] summary::before { transform: rotate(45deg); }
.diff { margin: 0; padding: 10px 0; border-top: 1px solid var(--line); font: 12px/1.65 var(--mono); overflow-x: auto; }
.diff span { display: block; padding: 0 12px; white-space: pre; }
.diff .del { background: rgba(224, 103, 95, .08); color: #f0a49e; }
.diff .add { background: rgba(16, 185, 129, .08); color: #7fdcb9; }
.pr-tests { display: flex; align-items: baseline; padding: 10px 12px; border: 1px dashed var(--line-strong); border-radius: 8px; font-size: 14px; color: var(--body); }
.mesh-table, .mm { width: 100%; border-collapse: collapse; font-size: 14px; }
.mesh-table th, .mesh-table td, .mm th, .mm td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.mesh-table thead th, .mm thead th { font: 500 11px/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--mute); border-bottom-color: var(--line-strong); }
.mesh-table thead th.num { text-align: right; }
.mesh-table th:first-child, .mesh-table td:first-child, .mm th:first-child { padding-left: 0; }
.mesh-table th:last-child, .mesh-table td:last-child { padding-right: 0; }
.mesh-table tbody th { font-weight: 400; }
.mesh-table td { color: var(--body); font-family: var(--mono); font-size: 13px; }
.mt-name { display: block; color: #fff; }
.mt-reg { display: block; font: 400 12px/1.4 var(--mono); color: var(--mute); }
.mt-share { width: 30%; white-space: nowrap; }
.mt-bar { display: inline-block; vertical-align: middle; width: calc(100% - 3.6em); height: 6px; background: rgba(255, 255, 255, .05); overflow: hidden; }
.mt-bar > span { display: block; height: 100%; background: var(--cyan); transform-origin: left center; transform: scaleX(var(--w, 0)); transition: transform .45s var(--ease); }
.mt-pct { display: inline-block; width: 3.4em; text-align: right; color: #fff; }
.mesh-sum { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 2px 32px; margin: 18px 0 0; }
.mesh-sum dt { font-size: 12.5px; color: var(--mute); }
.mesh-sum dd { margin: 0; grid-row: 2; font: 500 22px/1.2 var(--sans); color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mesh-teams-h { margin-top: 22px; padding-bottom: 8px; border-bottom: 1px solid var(--line-strong); font: 500 12px/1.3 var(--mono); color: var(--silver); }
.mesh-teams { list-style: none; margin: 0; padding: 0; }
.mesh-teams li { display: grid; grid-template-columns: 6em minmax(0, 1fr) 5.5em minmax(0, 11em); align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font: 400 13px/1.4 var(--mono); color: var(--body); }
.mesh-teams .mt-bar { width: 100%; }
.mesh-teams .mt-bar > span { background: var(--silver); }
.mesh-teams .mt-cap { font-size: 12px; color: var(--mute); }
.mesh-teams li.is-warn .mt-bar > span { background: var(--hold); }
.mesh-teams li.is-warn .mt-cap { color: var(--hold); }
.mt-team { color: #fff; }
.mm tbody th { color: #fff; font-weight: 400; white-space: nowrap; }
.mm-cell { transition: opacity .2s var(--ease); }
.mm-st { display: flex; align-items: center; font: 400 12.5px/1.4 var(--mono); color: var(--body); white-space: nowrap; }
.mm-st .sq { width: 6px; height: 6px; margin-right: 7px; }
.mm-cell.is-warn .mm-st { color: var(--hold); white-space: normal; }
.mm-cell.is-warn { background: rgba(217, 165, 74, .06); }
.mm-time { display: block; font: 400 12px/1.4 var(--mono); color: var(--mute); }
.mm-cell.is-muted { opacity: .25; }
.mm-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 14px; font: 400 12px/1.4 var(--mono); color: var(--mute); }
.mm-artifacts { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 599px) {
  .mesh-table .col-p50, .mesh-table .mt-bar { display: none; }
  .mesh-table th, .mesh-table td { padding-left: 4px; padding-right: 4px; }
  .mesh-sum { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 12px; }
  .mesh-sum dd { font-size: 18px; }
  .mesh-teams li { grid-template-columns: 5.5em minmax(0, 1fr) auto; }
  .mesh-teams .mt-cap { grid-column: 2 / 4; }
  .mm th, .mm td { padding: 8px 3px; }
  .mm thead th { font-size: 11px; letter-spacing: .02em; }
  .mm-cell.is-pass .mm-lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

.arch-track { padding-top: var(--section); padding-bottom: var(--section); }
.arch-stage { display: grid; }
.arch-copy { display: contents; }
.arch-copy .lead { margin-top: 18px; }
.arch-meter { display: none; }
.arch-diagram { order: 2; margin-top: clamp(36px, 4vw, 56px); }
.arch-steps { order: 3; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.arch-steps li { counter-increment: step; position: relative; padding: 16px 0 18px 36px; border-top: 1px solid var(--line); }
.arch-steps li::before { content: counter(step); position: absolute; left: 0; top: 17px; font: 500 12px/1.4 var(--mono); color: var(--champagne); font-variant-numeric: tabular-nums; }
.step-t { color: #fff; font-weight: 500; }
.step-d { margin-top: 4px; font-size: 14.5px; color: var(--silver); }
.step-d code, .node code { font-size: .9em; color: var(--body); }
@media (max-width: 959px) { .arch-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .arch-steps { grid-template-columns: minmax(0, 1fr); } }
.arch-diagram { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "src ctl wrk dev" "src ctl mesh prov" "data data data data"; gap: 18px 24px; font: 400 12px/1.4 var(--mono); }
.arch-wires, .arch-trace { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.arch-wires { z-index: 0; }
.arch-trace { z-index: 2; }
.wire { fill: none; stroke: #fff; stroke-width: 1; opacity: .12; transition: opacity .3s var(--ease); }
.wire.is-static { opacity: .2; stroke-dasharray: 2 4; }
.wire.is-done { opacity: .38; }
.wire.is-hot { opacity: 1; stroke: var(--cyan); stroke-width: 1.5; }
.trace.is-off { opacity: 0; }
.trace-tag { fill: var(--obsidian); stroke: var(--champagne); stroke-width: 1; }
.trace-dot { fill: var(--champagne); }
.trace-text { fill: var(--champagne); font: 500 12px var(--mono); letter-spacing: .04em; }
.layer { position: relative; z-index: 1; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.layer--src { grid-area: src; } .layer--ctl { grid-area: ctl; } .layer--wrk { grid-area: wrk; } .layer--dev { grid-area: dev; }
.layer--mesh { grid-area: mesh; } .layer--prov { grid-area: prov; } .layer--data { grid-area: data; }
.layer-h { margin: 0 0 10px; font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.nodes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.layer--data .nodes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.node { padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--body); transition: border-color .25s var(--ease), color .25s var(--ease), background-color .25s var(--ease); }
.node small { display: block; font-size: 12px; color: var(--mute); }
.node small code { font-size: 11px; white-space: nowrap; }
.node.is-done { border-color: rgba(255, 255, 255, .3); }
.node.is-hot, .node:has(.is-hot) { border-color: #fff; color: #fff; background: #14161d; }
.regions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.region { padding: 3px 7px; border: 1px solid var(--line-strong); border-radius: 4px; font-size: 12px; color: var(--silver); transition: border-color .25s var(--ease), color .25s var(--ease); }
.region .down { display: none; }
.region.is-hot { border-color: var(--cyan); color: #fff; }
.region.is-done { border-color: rgba(255, 255, 255, .3); }
.region.is-down { border-color: var(--fail); color: var(--fail); }
.region.is-down .down { display: inline; }
@media (max-width: 699px) {
  .arch-diagram { grid-template-columns: minmax(0, 1fr); grid-template-areas: "src" "ctl" "wrk" "mesh" "prov" "dev" "data"; gap: 10px; }
  .arch-wires, .arch-trace { display: none; }
  .nodes, .layer--data .nodes { display: flex; flex-wrap: wrap; gap: 6px; }
}
.arch.is-pinned .arch-track { height: 320vh; padding: 0; }
.arch.is-pinned .arch-stage { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; gap: clamp(32px, 4vw, 64px); padding-top: 32px; padding-bottom: 32px; }
.arch.is-pinned .arch-copy { display: grid; gap: 0; align-content: center; }
.arch.is-pinned h2 { font-size: clamp(28px, 1rem + 1.6vw, 40px); }
.arch.is-pinned .arch-copy .lead { font-size: 16px; }
.arch.is-pinned .arch-diagram { margin-top: 0; padding-top: 36px; }
.arch.is-pinned .arch-meter { display: block; position: relative; height: 1px; margin-top: 28px; background: var(--line-strong); overflow: hidden; }
.arch-meter span { position: absolute; inset: 0; background: var(--cyan); transform-origin: left center; transform: scaleX(var(--p, 0)); }
.arch.is-pinned .arch-steps { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 20px; min-height: 10em; }
.arch.is-pinned .arch-steps li { grid-area: 1 / 1; border-top: 0; padding-top: 0; opacity: 0; transition: opacity .3s var(--ease); }
.arch.is-pinned .arch-steps li::before { top: 1px; }
.arch.is-pinned .arch-steps li.is-active { opacity: 1; }
.arch-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); padding-bottom: var(--section); }
.arch.is-pinned .arch-notes { padding-top: 96px; }
.arch-notes h3 { font-size: 19px; }
.arch-notes ul { list-style: none; margin: 16px 0 0; padding: 0; }
.arch-notes li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--silver); }
.arch-notes strong { color: #fff; font-weight: 500; }
@media (max-width: 699px) { .arch-notes { grid-template-columns: minmax(0, 1fr); } }

.codewin { border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); box-shadow: inset 0 1px 0 var(--edge); overflow: hidden; }
.tabs { display: flex; gap: 2px; padding: 6px 10px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; position: relative; min-height: 40px; padding: 8px 14px; border: 0; background: transparent; color: var(--mute); font-size: 14px; white-space: nowrap; transition: color .15s var(--ease); }
.tab:hover { color: #fff; }
.tab[aria-selected="true"] { color: #fff; }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -7px; height: 1px; background: #fff; }
.code { position: relative; }
.code-head span { min-width: 0; overflow-wrap: anywhere; }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 8px 18px; border-bottom: 1px solid var(--line); font: 400 12px/1.3 var(--mono); color: var(--mute); }
.copy { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 6px; background: transparent; color: #fff; font-size: 12.5px; transition: border-color .15s var(--ease); }
.copy:hover { border-color: rgba(255, 255, 255, .34); }
.copy:active { transform: translateY(1px); }
.copy.is-done { border-color: var(--champagne); color: var(--champagne); }
.copy svg { width: 14px; height: 14px; }
.code pre { margin: 0; padding: 18px 20px 22px; overflow-x: auto; font: 400 13.5px/1.75 var(--mono); color: var(--silver); tab-size: 2; }
.code pre code { font-size: inherit; }
.c-c { color: #80818a; }
.c-k { color: var(--cyan); }
.c-s { color: var(--champagne); }
.cli-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; font-size: 14px; color: var(--mute); }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan h3 { font-size: 18px; }
.plan-for { margin-top: 6px; min-height: 3.2em; font-size: 14.5px; color: var(--silver); }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; }
.price strong { font: 500 clamp(38px, 1.8rem + 1.2vw, 48px)/1 var(--sans); color: #fff; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.price span { font-size: 14px; color: var(--mute); }
.plan ul { list-style: none; flex: 1; display: grid; align-content: start; gap: 10px; margin: 24px 0 28px; padding: 22px 0 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--body); }
.plan li { position: relative; padding-left: 20px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 7px; width: 11px; height: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9'%3E%3Cpath d='M1 4.5l3.2 3.2L11 1' fill='none' stroke='%23a1a1aa' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain; }
.plan .btn { width: 100%; }
.plan--featured { border-color: var(--champagne); overflow: hidden; }
.plan--featured::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--green); }
.plan--featured li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9'%3E%3Cpath d='M1 4.5l3.2 3.2L11 1' fill='none' stroke='%23c5b396' stroke-width='1.4'/%3E%3C/svg%3E"); }
.plan-badge { padding: 2px 9px; border: 1px solid var(--champagne); border-radius: 999px; font: 500 12px/1.5 var(--mono); letter-spacing: .04em; color: var(--champagne); white-space: nowrap; }
@media (max-width: 899px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; } .plan-for { min-height: 0; } }
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(64px, 8vw, 104px); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 58px; padding: 12px 0; cursor: pointer; list-style: none; font-size: 16.5px; font-weight: 500; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px; border-right: 1.5px solid var(--silver); border-bottom: 1.5px solid var(--silver); transform: rotate(45deg) translateY(-3px); transition: transform .18s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 0 18px; max-width: 64ch; color: var(--body); }
@media (max-width: 799px) { .faq { grid-template-columns: minmax(0, 1fr); } }

.lead-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.person { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 24px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.avatar { display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--obsidian); font: 500 20px/1 var(--mono); letter-spacing: .04em; color: var(--champagne); }
.person h3 { font-size: 22px; }
.role { margin-top: 4px; color: #fff; }
.org { margin-top: 2px; font: 400 13px/1.5 var(--mono); color: var(--mute); }
.bio { margin-top: 14px; max-width: 60ch; color: var(--body); }
.person-mail { margin-top: 12px; font: 400 13.5px/1.5 var(--mono); }
@media (max-width: 799px) { .lead-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 479px) { .person { grid-template-columns: minmax(0, 1fr); } }

.close { padding-top: var(--section); padding-bottom: var(--section); }
.close h2 { font-size: clamp(34px, 1.6rem + 3vw, 64px); letter-spacing: -.04em; }
.strip-final { margin-top: clamp(28px, 4vw, 44px); border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); box-shadow: inset 0 1px 0 var(--edge), var(--shadow); }
.sf-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 14px 20px; border-bottom: 1px solid var(--line); font: 400 13px/1.4 var(--mono); color: var(--silver); }
.sf-head .s-id { color: #fff; }
.sf-head .s-state { margin-left: auto; }
.sf-body { display: flex; flex-wrap: wrap; gap: 12px; padding: 20px; }
.cmdline { flex: 1 1 420px; display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 48px; padding: 4px 4px 4px 16px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--obsidian); }
.cmdline .ps { font-family: var(--mono); color: var(--champagne); }
.cmdline input { flex: 1; min-width: 0; padding: 8px 0; border: 0; background: transparent; color: #fff; font: 400 14px/1.4 var(--mono); text-overflow: ellipsis; }
.cmdline input:focus-visible { outline: none; }
.cmdline:focus-within { border-color: rgba(255, 255, 255, .4); }
@media (max-width: 599px) { .sf-head .s-state { margin-left: 0; } .cmdline input { font-size: 12.5px; } .sf-body .btn { width: 100%; } }

.site-footer { padding-top: clamp(48px, 6vw, 72px); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 32px; }
.foot-brand p { margin-top: 12px; max-width: 38ch; color: var(--silver); }
.foot-col h2 { font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.foot-col ul { list-style: none; margin: 12px 0 0; padding: 0; }
.foot-col a, .foot-mail a { display: inline-flex; align-items: center; min-height: 34px; color: var(--silver); text-decoration: none; }
.foot-col a:hover, .foot-mail a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: clamp(40px, 5vw, 64px); padding-top: 18px; padding-bottom: 18px; border-top: 1px solid var(--line); font: 400 12.5px/1.5 var(--mono); color: var(--mute); }
.foot-bottom a { color: var(--silver); }
.foot-bottom .lang { margin-left: auto; }
@media (max-width: 799px) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-bottom .lang { margin-left: 0; } }

.page-head { padding-top: clamp(48px, 6vw, 88px); }
.page-head h1 { font-size: clamp(38px, 1.6rem + 3vw, 64px); line-height: 1.04; letter-spacing: -.04em; }
.note { display: flex; gap: 12px; align-items: flex-start; max-width: 780px; margin-top: 24px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); font-size: 15px; color: var(--body); }
.note .pill { flex: none; padding: 2px 10px; font: 500 12px/1.5 var(--mono); color: var(--champagne); }
.docs { display: grid; grid-template-columns: 220px minmax(0, 66ch); gap: clamp(32px, 5vw, 80px); padding-top: 48px; padding-bottom: var(--section); }
.toc { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto; font-size: 14px; }
.toc summary { display: none; }
.toc-h { margin-bottom: 8px; font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.toc ol { list-style: none; margin: 0; padding: 0 0 0 10px; border-left: 1px solid var(--line); }
.toc a { display: block; margin-left: -11px; padding: 6px 0 6px 15px; border-left: 1px solid transparent; color: var(--silver); text-decoration: none; }
.toc a:hover { color: #fff; }
.toc a.is-current { color: #fff; border-left-color: var(--champagne); }
.prose { min-width: 0; color: var(--body); font-size: 16.5px; line-height: 1.7; }
.prose section { padding-top: 56px; }
.prose section:first-child { padding-top: 0; }
.prose h2 { padding-top: 8px; font-size: clamp(24px, 1.2rem + 1vw, 32px); }
.prose h3 { margin-top: 32px; font-size: 19px; }
.prose h2 + *, .prose h3 + * { margin-top: 12px; }
.prose p + *, .prose ul + *, .prose ol + *, .prose .code + *, .prose .tablewrap + *, .prose dl + * { margin-top: 16px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--mute); }
.prose strong { color: #fff; font-weight: 500; }
.prose :not(pre) > code { padding: 1px 5px; border-radius: 4px; background: rgba(255, 255, 255, .07); color: #fff; font-size: .86em; overflow-wrap: anywhere; }
.prose .code { border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); overflow: hidden; }
.prose .code + .code { margin-top: 12px; }
.tablewrap { overflow-x: auto; padding: 6px 8px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th { font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); border-bottom-color: var(--line-strong); }
.prose tr:last-child td { border-bottom: 0; }
.prose td code { white-space: nowrap; }
@media (max-width: 640px) {
  .tablewrap { overflow-x: visible; }
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose thead { display: none; }
  .prose tr { padding: 10px 6px; border-bottom: 1px solid var(--line); }
  .prose tr:last-child { border-bottom: 0; }
  .prose td { padding: 0; border: 0; }
  .prose td + td { margin-top: 4px; }
  .prose td code { white-space: normal; overflow-wrap: anywhere; }
  .prose .t-ep td:first-child { display: inline; margin-right: 8px; }
  .prose .t-ep td:nth-child(2) { display: inline; margin-top: 0; }
}
.concepts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; margin: 0; }
.concepts dt { color: #fff; font-weight: 500; }
.concepts dd { margin: 0; }
.modlist { margin: 0; border-top: 1px solid var(--line); }
.modlist div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.modlist dt { color: #fff; font-weight: 500; }
.modlist dd { margin: 0; }
.legal { padding-bottom: var(--section); }
.legal-meta { margin-top: 16px; max-width: 66ch; font-size: 14px; color: var(--mute); }
.legal .prose { max-width: 66ch; margin-top: 56px; }
.legal .prose section { padding-top: 40px; }
@media (max-width: 959px) {
  .docs { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
  .toc { position: static; max-height: none; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); }
  .toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; cursor: pointer; list-style: none; color: #fff; }
  .toc summary::-webkit-details-marker { display: none; }
  .toc summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--silver); border-bottom: 1.5px solid var(--silver); transform: rotate(45deg); }
  .toc[open] summary::after { transform: rotate(-135deg); }
  .toc .toc-h { display: none; }
  .toc ol { margin: 0 16px 12px; }
}
@media (max-width: 599px) { .concepts, .modlist div { grid-template-columns: minmax(0, 1fr); gap: 2px; } .concepts dd { margin-bottom: 8px; } }

.auth { padding-top: clamp(36px, 5vw, 72px); padding-bottom: var(--section); }
.auth-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; align-items: start; }
.auth-card { min-width: 0; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); box-shadow: inset 0 1px 0 var(--edge); }
.auth-card h1 { margin-top: 0; font-size: clamp(30px, 1.4rem + 1.6vw, 40px); letter-spacing: -.035em; }
.auth-intro { margin-top: 10px; max-width: 52ch; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 28px; padding: 3px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--obsidian); }
.auth-tab { min-height: 40px; border: 0; border-radius: 6px; background: transparent; color: var(--silver); font-size: 14.5px; transition: background-color .15s var(--ease), color .15s var(--ease); }
.auth-tab:hover { color: #fff; }
.auth-tab[aria-selected="true"] { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.auth-panel { margin-top: 24px; }
.auth-panel[hidden] { display: none; }
.sso { display: grid; gap: 10px; }
.sso { grid-template-columns: minmax(0, 1fr); }
.sso .btn { justify-content: flex-start; gap: 12px; width: 100%; min-width: 0; white-space: normal; text-align: left; }
.sso svg { width: 18px; height: 18px; flex: none; }
.sso svg path[fill="#0f1d3d"] { fill: #fff; }
.divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; font: 400 12px/1 var(--mono); color: var(--mute); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row + .field-row, .field + fieldset, fieldset + fieldset, .field-row + fieldset, fieldset + .field-row { margin-top: 18px; }
.auth label, .auth legend { font-size: 14px; font-weight: 500; color: #fff; }
.req { color: var(--mute); font-weight: 400; }
.input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--obsidian); color: #fff; transition: border-color .15s var(--ease); }
.input::placeholder { color: var(--mute); }
.input:hover { border-color: rgba(255, 255, 255, .28); }
.input:focus-visible { outline: none; border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }
.input:user-invalid { border-color: var(--fail); }
select.input { appearance: none; padding-right: 36px; background: var(--obsidian) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a1a1aa' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px; }
select.input option { background: var(--surface); color: #fff; }
.email-row { display: flex; gap: 10px; }
.email-row .input { flex: 1; min-width: 0; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 8px; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--obsidian); font-size: 14px; color: var(--body); transition: border-color .15s var(--ease), color .15s var(--ease); }
.choice span::before { content: ""; width: 12px; height: 12px; border: 1px solid #5f6068; border-radius: 3px; transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice input:hover + span { border-color: rgba(255, 255, 255, .3); }
.choice input:checked + span { border-color: #fff; color: #fff; }
.choice input:checked + span::before { border-color: #fff; background: #fff; box-shadow: inset 0 0 0 2px var(--obsidian); }
.choice input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.plans-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plans-pick .choice, .plans-pick .choice span { width: 100%; }
.plans-pick .choice span { min-height: 54px; }
.plans-pick em { margin-left: auto; font: normal 400 12.5px/1 var(--mono); color: var(--silver); font-variant-numeric: tabular-nums; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-size: 14px; font-weight: 400 !important; color: var(--body) !important; }
.check input { width: 17px; height: 17px; margin: 3px 0 0; accent-color: #fff; flex: none; }
.hint { margin-top: 4px; font-size: 13px; color: var(--hold); }
.hint[hidden] { display: none; }
.form-actions { margin-top: 22px; }
.form-actions .btn { width: 100%; }
.form-note { margin-top: 12px; font-size: 13px; color: var(--mute); }
.notice { margin-top: 20px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--obsidian); font-size: 14.5px; color: var(--body); }
.notice:empty, .notice[hidden] { display: none; }
.notice .btn { margin-top: 12px; }
.auth-aside { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 12px; background: var(--obsidian); }
.auth-aside h2 { font-size: 22px; }
.quota { display: grid; gap: 24px; margin-top: 22px; }
.quota h3 { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.quota h3 span { font: 400 12.5px/1.4 var(--mono); color: var(--silver); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.quota ul { list-style: none; margin: 8px 0 0; padding: 0; font-size: 14px; }
.quota li { padding: 7px 0; border-top: 1px solid var(--line); }
.aside-facts { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--body); }
.aside-facts li { display: flex; gap: 10px; }
.aside-facts li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 8px; background: var(--champagne); }
@media (max-width: 899px) { .auth-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 479px) { .field-row, .plans-pick { grid-template-columns: minmax(0, 1fr); } .email-row { flex-direction: column; } }

.nf { min-height: calc(100vh - var(--nav-h) - 120px); display: grid; align-content: center; padding-top: var(--section); padding-bottom: var(--section); }
.nf h1 { font-size: clamp(36px, 1.6rem + 2.4vw, 56px); letter-spacing: -.04em; }
.nf p { margin-top: 14px; }
.nf h2 { font-size: 24px; }
.nf-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fr-block { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }

@media (scripting: none) {
  .con[data-armed] .con-typed, .con[data-armed] .con-line, .con[data-armed] [data-at] { visibility: visible !important; opacity: 1 !important; }
  .con[data-armed] [data-until] { display: none !important; }
  .con[data-armed] .tl-cell { display: block !important; }
  .tl-bar > span { transform: scaleX(.6) !important; }
  .con-history, .seg, .auth-tabs { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rb-move { animation: none; }
  .rot-p, .con-line, .tl-bar > span, .mt-bar > span, .con-log, .tele, .con-sum { transition: none !important; }
  .btn:active, .con-hist:active, .copy:active, .seg button:active { transform: none; }
}
