/* Driftband landing page. Static, no build step. */

@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/geist-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  --bg: #0a0b0d;
  --bg-2: #0f1114;
  --raise: #14171b;
  --line: #1e2127;
  --line-2: #2b2f37;
  --text: #ecebe6;
  --dim: #b3b1a9;
  --mute: #8a887f;
  --smoke: 132, 158, 186;
  --median: #5be39a;
  --l1: #a3e635; --l2: #facc15; --l3: #fb923c; --l4: #f87171;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--median); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(91, 227, 154, .28); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(10, 11, 13, .82); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 640; letter-spacing: -.01em; font-size: 17px; }
.brand svg { width: 26px; height: 26px; flex: none; }
.nav { display: flex; gap: 22px; margin-left: 8px; }
.nav a { color: var(--dim); text-decoration: none; font-size: 14px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.top .cta { margin-left: auto; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 8px; padding: 6px 10px; font: 500 13px var(--mono); }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-block; }
  .top .cta { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer;
  font: 560 14px/1 var(--sans); padding: 11px 16px; border-radius: 9px; border: 1px solid var(--line-2);
  color: var(--text); background: var(--raise); transition: border-color .15s, background .15s, transform .15s;
}
.btn:hover { border-color: #3a3f49; background: #191c21; }
.btn.primary { background: var(--text); color: #0b0c0e; border-color: var(--text); }
.btn.primary:hover { background: #fff; }
.btn .k { font-family: var(--mono); font-size: 12px; opacity: .6; }

/* ---------- type ---------- */
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--line-2); }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.08; margin: 0; font-weight: 620; }
h1 { font-size: clamp(38px, 5.8vw, 78px); letter-spacing: -.045em; font-weight: 640; }
h1 .line { display: block; }
h2 { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -.035em; }
h3 { font-size: 18px; letter-spacing: -.01em; line-height: 1.3; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--dim); max-width: 62ch; }
.hero .lede { max-width: 72ch; }
.dim { color: var(--dim); }
.mute { color: var(--mute); }
.hl { color: var(--text); }

section { padding-block: clamp(72px, 11vw, 140px); border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 6vw, 64px); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(36px, 5vw, 64px) 0; border-top: 0; position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 22px; }
.hero h1 .soft { color: var(--mute); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 400 12.5px var(--mono); color: var(--mute); }
.hero-meta span::before { content: "/ "; color: var(--line-2); }

.instrument {
  margin: clamp(36px, 4.5vw, 52px) 0 0; border: 1px solid var(--line); border-radius: 14px 14px 0 0; border-bottom: 0;
  background: linear-gradient(180deg, var(--bg-2), var(--bg)); position: relative;
}
.inst-bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 400 12px var(--mono); color: var(--mute); flex-wrap: wrap; }
.inst-bar .host { color: var(--text); }
.inst-bar .live { display: inline-flex; align-items: center; gap: 7px; color: var(--median); }
.inst-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .inst-bar .live::before { animation: none; } }
.inst-bar .spacer { flex: 1; }
@media (max-width: 640px) { .inst-bar .pcts { display: none; } }
.canvas-box { position: relative; height: clamp(250px, 30vw, 380px); }
.canvas-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.readout { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.readout div { padding: 14px 16px; border-right: 1px solid var(--line); min-width: 0; }
.readout div:last-child { border-right: 0; }
.readout dt { font: 400 11px var(--mono); color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.readout dd { margin: 4px 0 0; font: 500 clamp(17px, 2.2vw, 24px) var(--mono); font-variant-numeric: tabular-nums; }
.readout dd small { font-size: .6em; color: var(--mute); margin-left: 3px; }
@media (max-width: 640px) { .readout { grid-template-columns: repeat(2, 1fr); } .readout div:nth-child(2) { border-right: 0; } .readout div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.inst-note { font: 400 11.5px var(--mono); color: var(--mute); padding: 10px 16px 0; }

/* ---------- anatomy ---------- */
.anatomy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .anatomy { grid-template-columns: 1fr; } }
.anatomy figure { margin: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); padding: 20px; }
.anatomy svg { width: 100%; height: auto; display: block; }
.anatomy svg text { font-family: var(--mono); font-size: 12px; fill: var(--dim); }
.keylist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.keylist li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.keylist li:first-child { border-top: 1px solid var(--line); }
.keylist .k { font: 500 13px var(--mono); color: var(--text); }
.keylist .v { color: var(--dim); font-size: 15px; }
.swatch { display: inline-block; width: 22px; height: 10px; border-radius: 2px; vertical-align: middle; margin-right: 8px; }
.lossramp { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--median) 0%, var(--l1) 5%, var(--l2) 20%, var(--l3) 50%, var(--l4) 100%); margin-top: 8px; }

/* ---------- tour ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs button {
  appearance: none; background: transparent; border: 1px solid var(--line); color: var(--dim);
  font: 500 13px var(--mono); padding: 8px 12px; border-radius: 8px; cursor: pointer; transition: .15s;
}
.tabs button:hover { color: var(--text); border-color: var(--line-2); }
.tabs button[aria-selected="true"] { color: var(--bg); background: var(--text); border-color: var(--text); }
.shot { margin: 0; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--bg-2); box-shadow: 0 40px 120px -40px rgba(0,0,0,.8); }
.shot-bar { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--line); font: 400 12px var(--mono); color: var(--mute); }
.shot-bar .url { flex: 1; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot-bar .lock { width: 10px; height: 10px; }
.shot img { width: 100%; aspect-ratio: var(--ar, 1440 / 1180); object-fit: cover; object-position: top; background: #0b0d12; }
.shot figcaption { padding: 14px 16px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14.5px; }
.shot figcaption b { color: var(--text); font-weight: 560; }
.panel[hidden] { display: none; }

/* ---------- features ---------- */
.feat-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 80px); }
@media (max-width: 820px) { .feat-groups { grid-template-columns: 1fr; } }
.feat-group { padding-bottom: 40px; }
.feat-group h3 { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--mute); padding-bottom: 14px; border-bottom: 1px solid var(--line-2); margin-bottom: 4px; }
.feat { padding: 16px 0; border-bottom: 1px solid var(--line); }
.feat h4 { margin: 0 0 4px; font-size: 16.5px; font-weight: 580; letter-spacing: -.01em; }
.feat p { margin: 0; color: var(--dim); font-size: 15px; }
:not(pre) > code { font: 400 .88em var(--mono); color: var(--text); background: var(--raise); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; }

/* ---------- import demo ---------- */
.convert { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 860px) { .convert { grid-template-columns: 1fr; } .convert .arrow { transform: rotate(90deg); justify-self: center; } }
.pane { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); overflow: hidden; display: flex; flex-direction: column; }
.pane-head { padding: 10px 14px; border-bottom: 1px solid var(--line); font: 400 12px var(--mono); color: var(--mute); display: flex; justify-content: space-between; }
pre { margin: 0; padding: 16px; overflow-x: auto; font: 400 13px/1.65 var(--mono); color: var(--dim); }
pre .c { color: var(--mute); }
pre .s { color: var(--text); }
pre .p { color: var(--median); }
.arrow { align-self: center; font: 400 22px var(--mono); color: var(--mute); }
.tree { list-style: none; margin: 0; padding: 14px 16px; font-size: 14px; }
.tree ul { list-style: none; margin: 0; padding-left: 18px; border-left: 1px dashed var(--line-2); margin-left: 6px; }
.tree li { padding: 4px 0; }
.tree .f { color: var(--text); }
.tree .f::before { content: "▾ "; color: var(--mute); font-size: 11px; }
.tree .h { color: var(--dim); display: flex; align-items: center; gap: 8px; }
.tree .h::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--median); box-shadow: 0 0 6px rgba(91,227,154,.6); flex: none; }
.tree .addr { font: 400 11.5px var(--mono); color: var(--mute); margin-left: auto; }

/* ---------- smokeping story ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }
.prose p { color: var(--dim); font-size: 17px; margin: 0 0 18px; max-width: 64ch; }
.prose p:first-of-type { color: var(--text); font-size: 19px; }
.sig { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.sig img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 16%; border: 1px solid var(--line-2); }
.sig b { display: block; font-weight: 580; }
.sig span { font: 400 12.5px var(--mono); color: var(--mute); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.timeline li { position: relative; padding: 0 0 26px 34px; }
.timeline li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--mute); }
.timeline li.now::before { background: var(--median); border-color: var(--median); box-shadow: 0 0 10px rgba(91,227,154,.7); }
.timeline li.stall::before { border-color: var(--l3); }
.timeline time { font: 500 12.5px var(--mono); color: var(--mute); display: block; }
.timeline b { font-weight: 560; display: block; margin: 2px 0; }
.timeline p { margin: 0; color: var(--dim); font-size: 14.5px; }

.cmp-wrap { overflow-x: auto; margin-top: clamp(48px, 7vw, 80px); border: 1px solid var(--line); border-radius: 12px; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14.5px; }
.cmp th, .cmp td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--mute); background: var(--bg-2); }
.cmp tbody th { font-weight: 520; color: var(--text); width: 30%; }
.cmp td { color: var(--dim); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.yes { color: var(--median); }
.part { color: var(--l2); }
.no { color: var(--mute); }

/* ---------- self-host ---------- */
.host-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .host-grid { grid-template-columns: 1fr; } }
.code { position: relative; }
.copy { position: absolute; top: 8px; right: 8px; font: 500 12px var(--mono); background: var(--raise); color: var(--dim); border: 1px solid var(--line-2); border-radius: 6px; padding: 5px 9px; cursor: pointer; }
.copy:hover { color: var(--text); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 6px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 500 13px var(--mono); color: var(--mute); padding-top: 2px; }
.steps li p { margin: 0; color: var(--dim); font-size: 15px; grid-column: 2; overflow-wrap: anywhere; }
.steps li b { grid-column: 2; font-weight: 560; }
.envs { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 14px; }
.envs td { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--dim); vertical-align: top; }
.envs td:first-child { font-family: var(--mono); font-size: 12.5px; color: var(--text); padding-right: 16px; white-space: nowrap; }
.note { font-size: 13.5px; color: var(--mute); margin-top: 14px; }

/* ---------- faq ---------- */
.faq { max-width: 880px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-size: 17.5px; font-weight: 540; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 300 24px var(--mono); color: var(--mute); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 22px; color: var(--dim); max-width: 72ch; }
.faq .a p { margin: 0 0 10px; }

/* ---------- closing ---------- */
.closing { text-align: left; }
.closing h2 { max-width: 16ch; }
.closing .hero-actions { margin-top: 28px; }

/* ---------- about ---------- */
.about-hero { padding-block: clamp(56px, 9vw, 110px) 0; border-top: 0; }
.person { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg-2); margin-top: clamp(36px, 6vw, 56px); }
@media (max-width: 760px) { .person { grid-template-columns: 1fr; } }
.person .photo { position: relative; min-height: 340px; background: var(--raise); }
.person .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.person .photo::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 2px; background: linear-gradient(180deg, var(--median), rgba(var(--smoke), .6)); }
@media (max-width: 760px) { .person .photo::after { display: none; } }
.person .body { padding: clamp(24px, 4vw, 44px); }
.role { display: inline-block; font: 500 12px var(--mono); color: var(--median); border: 1px solid rgba(91,227,154,.35); border-radius: 999px; padding: 4px 10px; margin-bottom: 12px; }
.person h2 { font-size: clamp(28px, 3.4vw, 40px); }
.person .bio { margin-top: 22px; }
.person .bio p { color: var(--dim); margin: 0 0 16px; font-size: 16.5px; }
.team-note { color: var(--mute); font: 400 13px var(--mono); margin-top: 22px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 56px calc(32px + env(safe-area-inset-bottom, 0px)); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
.foot h2 { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--mute); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--dim); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .tag { color: var(--mute); max-width: 36ch; margin: 14px 0 0; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--mute); font-size: 12.5px; }
.made { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; color: var(--text) !important; text-decoration: none; }
.made:hover { color: #f87171 !important; }
.made .flag { flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: grid; align-content: center; gap: 20px; }
.nf .code-404 { font: 500 14px var(--mono); color: var(--l4); }

/* ---------- centred headings, justified copy ---------- */
.sec-head { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head .eyebrow, .hero .eyebrow, .closing .eyebrow, .about-hero .eyebrow { justify-content: center; }
.sec-head .eyebrow::after, .hero .eyebrow::after, .closing .eyebrow::after, .about-hero .eyebrow::after { content: ""; width: 18px; height: 1px; background: var(--line-2); }
.hero-grid, .closing .wrap, .about-hero .wrap > :not(.person) { text-align: center; justify-items: center; }
.hero h1, .closing h2, .about-hero h1 { margin-inline: auto; }
.hero-actions { justify-content: center; }
.about-hero .lede, .closing .lede { margin-inline: auto; }
.lede, .prose p, .feat p, .faq .a p, .keylist .v, .shot figcaption, .timeline p, .steps p, .person .bio p,
.chan p, .note, .alert-panel figcaption, .inst-note {
  text-align: justify; -webkit-hyphens: auto; hyphens: auto;
}
.sec-head .lede, .hero .lede, .closing .lede, .about-hero .lede { text-align-last: center; }

/* ---------- notifications ---------- */
.alert-panel { margin: 0 0 clamp(36px, 5vw, 56px); border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); padding: 18px 20px 0; }
.alert-panel .scroll { overflow-x: auto; }
.alert-fig { display: block; width: 100%; min-width: 760px; height: auto; }
.alert-fig text { font-family: var(--mono); }
.alert-panel figcaption { margin-top: 8px; padding: 14px 0 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14.5px; }
.channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; margin-bottom: clamp(36px, 5vw, 56px); overflow: hidden; }
.chan { padding: 20px 20px 22px; border-right: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.chan:last-child { border-right: 0; }
.chan h3 { font-size: 17px; margin-bottom: 8px; }
.chan p { color: var(--dim); font-size: 14.5px; margin: 0; }
@media (max-width: 900px) { .channels { grid-template-columns: 1fr 1fr; } .chan:nth-child(2) { border-right: 0; } .chan:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .channels { grid-template-columns: 1fr; } .chan { border-right: 0; border-bottom: 1px solid var(--line); } .chan:last-child { border-bottom: 0; } }
.rule-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .rule-grid { grid-template-columns: 1fr; } }
pre .al { color: var(--l4); }
pre .ok { color: var(--median); }
pre .fl { color: var(--l2); }

/* ---------- centred titles inside sections ---------- */
.feat h4, .feat-group h3, .chan h3, .person .body > .role, .person h2 { text-align: center; }
.person .body { text-align: center; }
.person .bio { text-align: initial; }
.person .hero-actions { justify-content: center; }
.faq .a p { text-align-last: left; }

/* ---------- test instance ---------- */
.try { background: radial-gradient(900px 360px at 50% 0%, rgba(91, 227, 154, .07), transparent 70%); }
.try-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 920px; margin-inline: auto; }
@media (max-width: 760px) { .try-grid { grid-template-columns: 1fr 1fr; } }
.try-card { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); padding: 22px 16px; text-align: center; display: grid; gap: 6px; }
.try-num { font: 600 clamp(28px, 4vw, 40px)/1 var(--sans); letter-spacing: -.03em; color: var(--text); }
.try-card:last-child .try-num { color: var(--median); }
.try-lbl { font: 400 12.5px var(--mono); color: var(--mute); }

/* ---------- partners ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .partner-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.partner {
  display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: 14px; padding: 24px 24px 22px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg)); transition: border-color .2s, transform .2s, box-shadow .2s;
}
.partner:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: 0 18px 48px -24px rgba(91, 227, 154, .25); }
.partner-logo { height: 48px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.partner-logo img { max-height: 40px; width: auto; }
.partner-logo .vt-icon { height: 40px; width: 40px; border-radius: 9px; }
.vt-name { font: 700 21px/1 var(--sans); letter-spacing: -.02em; color: var(--text); }
.partner p { margin: 0; flex: 1; color: var(--dim); font-size: 14.5px; text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.partner-cta { font: 500 13px var(--mono); color: var(--median); text-align: center; }
.partner-cta span { display: inline-block; transition: transform .2s; }
.partner:hover .partner-cta span { transform: translateX(4px); }

/* ---------- brand page ---------- */
.brand-previews { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: clamp(32px, 5vw, 48px); }
@media (max-width: 640px) { .brand-previews { grid-template-columns: 1fr; } }
.bp { margin: 0; border-radius: 16px; padding: 44px 20px 16px; display: grid; justify-items: center; gap: 22px; border: 1px solid var(--line); }
.bp img { width: 220px; height: auto; }
.bp figcaption { font: 400 12px var(--mono); }
.bp-light { background: #ffffff; }
.bp-light figcaption { color: #5f5e58; }
.bp-dark { background: var(--bg-2); }
.bp-dark figcaption { color: var(--mute); }
.brand-body .sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.dl-list { display: grid; gap: 14px; }
.dl-card { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 22px; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); padding: 20px; }
@media (max-width: 640px) { .dl-card { grid-template-columns: 1fr; } }
.dl-thumb { height: 96px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; }
.dl-thumb img { max-height: 56px; width: auto; max-width: 140px; }
.dl-text h3 { font-size: 17px; text-align: left; }
.dl-text p { margin: 6px 0 14px; color: var(--dim); font-size: 14.5px; }
.dl-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.dl { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--raise); color: var(--dim); text-decoration: none; font: 500 12.5px var(--mono); transition: color .15s, border-color .15s; }
.dl:hover { color: var(--text); border-color: var(--median); }
.dl svg { width: 14px; height: 14px; }
.snippet { max-width: 760px; margin-inline: auto; }
.swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .swatches { grid-template-columns: 1fr 1fr; } }
.swatch-card { appearance: none; text-align: left; cursor: pointer; display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 14px; row-gap: 2px; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); padding: 14px; color: var(--text); font: inherit; transition: border-color .15s; }
.swatch-card:hover { border-color: var(--line-2); }
.chip { grid-row: 1 / span 3; width: 44px; height: 44px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.sw-name { font-weight: 560; font-size: 15px; }
.sw-hex { font: 500 12.5px var(--mono); color: var(--median); }
.sw-role { font-size: 12.5px; color: var(--mute); }
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 760px; margin-inline: auto; }
@media (max-width: 560px) { .type-grid { grid-template-columns: 1fr; } }
.type-card { display: grid; gap: 4px; justify-items: center; text-align: center; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); padding: 22px 16px; }
.type-sample { font-size: 46px; line-height: 1.1; color: var(--text); }
.type-card b { font-weight: 600; }
.type-card span:last-child { color: var(--mute); font-size: 13px; }
.guides { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .guides { grid-template-columns: 1fr; } }
.guide { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); padding: 22px 24px; }
.guide h3 { font-size: 16px; text-align: center; margin-bottom: 12px; }
.guide.do h3 { color: var(--median); }
.guide.dont h3 { color: var(--l4); }
.guide ul { margin: 0; padding-left: 18px; color: var(--dim); font-size: 14.5px; display: grid; gap: 8px; }
.brand-contact { text-align: center !important; text-align-last: center; margin-top: 40px; }
.brand-page { padding-bottom: clamp(48px, 7vw, 80px); }
.about-hero .wrap > .brand-previews { justify-items: stretch; }

/* ---------- docker pull ---------- */
.pull { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); }
.pull-cmd pre { padding: 18px 90px 18px 20px; font-size: 15px; color: var(--text); white-space: pre-wrap; word-break: break-all; }
.pull-cmd .copy { top: 50%; transform: translateY(-50%); }
.pull .note { text-align: center !important; text-align-last: center; }
