/* ==========================================================================
   Gokamu UI kit: components shared by the marketing site (and later, apps).
   Motif: LOBES (soft clustered circles from the mark) joined by LINES
   (2px monoline, round caps, from the wordmark). Nodes + routes, never boxes + arrows.
   In Next.js: src/styles/kit.css, or split into CSS modules per component.
   ========================================================================== */

.wrap { max-width: var(--content); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-size: var(--t-mono); letter-spacing: .04em; text-transform: uppercase; font-weight: 500; }
.muted { color: var(--muted); }
.lead { font-size: var(--t-lg); line-height: 1.55; color: var(--muted); max-width: 62ch; }
.hl { background: linear-gradient(transparent 58%, var(--volt) 58%, var(--volt) 92%, transparent 92%); color: inherit; padding-inline: .06em; }
[data-theme="dark"] .hl, .on-band .hl { background: none; color: var(--volt); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hl { background: none; color: var(--volt); } }

/* Eyebrow: a node + route line, then the label */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: var(--t-mono); letter-spacing: .06em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.eyebrow::before { content: ""; width: 28px; height: 8px; flex: none; background:
  radial-gradient(circle at 4px 4px, var(--indigo) 3.5px, transparent 4px),
  linear-gradient(var(--indigo), var(--indigo)) 8px 3px / 20px 2px no-repeat; border-radius: 2px; }
.on-band .eyebrow { color: var(--band-muted); }
.on-band .eyebrow::before { background:
  radial-gradient(circle at 4px 4px, var(--volt) 3.5px, transparent 4px),
  linear-gradient(var(--volt), var(--volt)) 8px 3px / 20px 2px no-repeat; }

/* ── Icons: 24px grid, 2px stroke, round caps & joins ───────────────────── */
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico.sm { width: 18px; height: 18px; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; font-weight: 600; font-size: var(--t-sm); line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap; position: relative;
  transition: background var(--d-fast) var(--ease), color var(--d-fast), border-color var(--d-fast), transform var(--d-fast);
}
.btn:active { transform: translateY(1px); }
.btn.sm { --h: 38px; padding: 0 16px; font-size: var(--t-xs); }
.btn.lg { --h: 56px; padding: 0 28px; font-size: var(--t-md); }

/* Primary "port" button: the label, then a volt node with a chevron (G›) */
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: var(--ink-2); }
.btn-primary:has(.port) { padding-right: 6px; }
.btn.sm:has(.port) { padding-right: 4px; }
.port {
  width: calc(var(--h) - 12px); height: calc(var(--h) - 12px); border-radius: 50%;
  background: var(--volt); color: #10094C; display: grid; place-items: center; flex: none;
  transition: transform var(--d-med) var(--ease-spring), background var(--d-fast);
}
.btn.sm .port { width: calc(var(--h) - 8px); height: calc(var(--h) - 8px); }
.port svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--d-med) var(--ease-spring); }
.btn:hover .port { transform: scale(1.06); }
.btn:hover .port svg { transform: translateX(2px); }

.btn-secondary { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--fg); background: var(--surface); }
.btn-ghost { background: transparent; color: var(--fg); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-volt { background: var(--volt); color: #10094C; }
.btn-volt:hover { background: var(--volt-2); }
.btn-volt .port { background: #10094C; color: var(--volt); }
.btn-danger { background: var(--err); color: #fff; }
.btn-danger:hover { filter: brightness(1.08); }

.on-band .btn-secondary { color: var(--band-fg); border-color: var(--band-line); }
.on-band .btn-secondary:hover { border-color: var(--band-fg); background: rgba(255,255,255,.06); }
.on-band .btn-ghost { color: var(--band-fg); }
.on-band .btn-ghost:hover { background: rgba(255,255,255,.08); }

.btn-icon { width: var(--h); padding: 0; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .42; cursor: not-allowed; pointer-events: none; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--on-ink); border-right-color: transparent; animation: spin .8s linear infinite;
}
.btn-secondary.is-loading::after { border-color: var(--fg); border-right-color: transparent; }
.btn.is-loading .port { opacity: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Text link: a round-capped line that draws in */
.link {
  color: var(--indigo); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; border-radius: 1px;
  transition: background-size var(--d-med) var(--ease); padding-bottom: 2px;
}
.link:hover { background-size: 100% 2px; }
.link svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--d-med) var(--ease-spring); }
.link:hover svg { transform: translateX(3px); }
.on-band .link { color: var(--volt); }
.prose a { color: var(--indigo); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* ── Tags, badges, status ─────────────────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--r-pill);
  font-family: var(--f-mono); font-size: .65rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 500;
  background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); white-space: nowrap;
}
.tag.indigo { background: var(--indigo-soft); color: var(--indigo); border-color: transparent; }
.tag.volt { background: var(--volt); color: #10094C; border-color: transparent; }
.tag.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.tag.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.tag.err { background: var(--err-soft); color: var(--err); border-color: transparent; }
.tag.info { background: var(--info-soft); color: var(--info); border-color: transparent; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-xs); font-weight: 600; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }
.status.ok { color: var(--ok); } .status.warn { color: var(--warn); } .status.err { color: var(--err); } .status.idle { color: var(--muted); }
.status.live::before { animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, currentColor 0%, transparent); } }

/* ── Cards ────────────────────────────────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-6); position: relative; display: flex; flex-direction: column; gap: var(--sp-4);
  transition: border-color var(--d-med), box-shadow var(--d-med), transform var(--d-med) var(--ease);
}
.card h3 { font-size: var(--t-h4); font-stretch: 100%; font-weight: 650; letter-spacing: -.01em; line-height: 1.2; }
.card p { color: var(--muted); font-size: var(--t-sm); }
.card .card-foot { margin-top: auto; padding-top: var(--sp-3); }

/* Lobe card: icon sits in a lobe (clustered circles); a pin lights up and a route draws on hover */
.card-lobe { overflow: hidden; }
.card-lobe:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card-lobe::after {
  content: ""; position: absolute; left: var(--sp-6); right: var(--sp-6); bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--indigo); transform: scaleX(0); transform-origin: left; transition: transform var(--d-slow) var(--ease);
}
.card-lobe:hover::after { transform: scaleX(1); }
.card-lobe .pin { position: absolute; top: 22px; right: 22px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line-strong); transition: all var(--d-med); }
.card-lobe:hover .pin { background: var(--volt); border-color: var(--ink); transform: scale(1.2); }
.lobe {
  width: 56px; height: 56px; position: relative; display: grid; place-items: center; color: var(--on-ink); isolation: isolate;
}
.lobe::before, .lobe::after { content: ""; position: absolute; border-radius: 50%; background: var(--ink); z-index: -1; }
.lobe::before { inset: 4px 6px 6px 4px; }
.lobe::after { width: 22px; height: 22px; right: -2px; top: -2px; box-shadow: -30px 30px 0 -4px var(--ink); }
.lobe.volt { color: #10094C; } .lobe.volt::before, .lobe.volt::after { background: var(--volt); } .lobe.volt::after { box-shadow: -30px 30px 0 -4px var(--volt); }
.lobe.soft { color: var(--indigo); } .lobe.soft::before, .lobe.soft::after { background: var(--indigo-soft); } .lobe.soft::after { box-shadow: -30px 30px 0 -4px var(--indigo-soft); }
a.card { text-decoration: none; color: inherit; }

/* Feature card: large, with media slot */
.card-feature { padding: 0; overflow: hidden; }
.card-feature .media { aspect-ratio: 16 / 9; background: var(--surface-2); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.card-feature .body { padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }

/* Stat card */
.card-stat { gap: var(--sp-2); }
.card-stat .num { font-stretch: var(--display-stretch); font-weight: 750; font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.card-stat .num small { font-size: .45em; color: var(--muted); margin-left: 2px; }

/* Band card (on dark sections) */
.on-band .card { background: rgba(255,255,255,.04); border-color: var(--band-line); color: var(--band-fg); }
.on-band .card p { color: var(--band-muted); }
.on-band .card-lobe:hover { border-color: rgba(255,255,255,.3); box-shadow: none; }
.on-band .card-lobe::after { background: var(--volt); }

/* ── Tables ───────────────────────────────────────────────────────────── */
.table-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow-x: auto; background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); min-width: 560px; }
.table th {
  text-align: left; font-family: var(--f-mono); font-size: .65rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 500;
  color: var(--muted); padding: 14px 20px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap;
}
.table td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background var(--d-fast); }
.table tbody tr:hover { background: color-mix(in srgb, var(--indigo-soft) 45%, transparent); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table .strong { font-weight: 600; color: var(--fg); }
.table caption { caption-side: bottom; text-align: left; padding: 12px 20px; font-size: var(--t-xs); color: var(--muted); border-top: 1px solid var(--line); }

/* Comparison table: plans / engagement models */
.table-compare th:not(:first-child), .table-compare td:not(:first-child) { text-align: center; }
.table-compare thead th { background: var(--surface); padding-top: 22px; padding-bottom: 18px; vertical-align: bottom; }
.table-compare thead th .plan { display: block; font-family: var(--f-sans); text-transform: none; letter-spacing: -.01em; font-size: var(--t-lg); font-weight: 700; color: var(--fg); margin-top: 6px; }
.table-compare .featured { background: color-mix(in srgb, var(--volt) 14%, transparent); }
.table-compare thead .featured { box-shadow: inset 0 3px 0 var(--volt); }
.table-compare td:first-child { font-weight: 500; }
.table-compare .group td { background: var(--surface-2); font-family: var(--f-mono); font-size: .65rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding-block: 10px; }
.yes, .no { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.yes { background: var(--ink); color: var(--on-ink); }
.yes svg, .no svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.no { color: var(--line-strong); }

/* ── Alerts ───────────────────────────────────────────────────────────── */
.alert {
  --c: var(--info); --bg: var(--info-soft);
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start;
  padding: 16px 18px; border-radius: var(--r-md); background: var(--bg); color: var(--fg);
  border: 1px solid color-mix(in srgb, var(--c) 25%, transparent); position: relative; overflow: hidden;
}
.alert::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); }
.alert .ico { color: var(--c); margin-top: 1px; }
.alert strong { display: block; font-weight: 650; margin-bottom: 2px; }
.alert p { font-size: var(--t-sm); color: var(--muted); }
.alert .x { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 2px; border-radius: 6px; }
.alert .x:hover { color: var(--fg); background: rgba(0,0,0,.05); }
.alert.ok { --c: var(--ok); --bg: var(--ok-soft); }
.alert.warn { --c: var(--warn); --bg: var(--warn-soft); }
.alert.err { --c: var(--err); --bg: var(--err-soft); }
.alert.brand { --c: var(--volt); --bg: var(--band); color: var(--band-fg); border-color: transparent; }
.alert.brand p { color: var(--band-muted); } .alert.brand .ico { color: var(--volt); }

/* Toast */
.toast { display: inline-flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; border-radius: var(--r-pill); background: var(--fg); color: var(--paper); box-shadow: var(--shadow-3); font-size: var(--t-sm); font-weight: 500; }
.toast .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--volt); color: #10094C; display: grid; place-items: center; }
.toast .dot svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.toast a { color: inherit; font-weight: 700; margin-left: 6px; }

/* ── Forms ────────────────────────────────────────────────────────────── */
.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > label, .field > legend { font-weight: 600; font-size: var(--t-sm); padding: 0; display: flex; justify-content: space-between; gap: 8px; }
.field .opt { color: var(--muted); font-weight: 400; font-size: var(--t-xs); }
.input, .select, .textarea {
  width: 100%; font: inherit; font-size: var(--t-md); color: var(--fg); background: var(--surface);
  border: 1.5px solid var(--line-strong); border-radius: var(--r-md); padding: 0 16px; height: 50px;
  transition: border-color var(--d-fast), box-shadow var(--d-fast);
}
.textarea { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235B5878' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.input::placeholder, .textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px color-mix(in srgb, var(--indigo) 18%, transparent); }
.field .hint { font-size: var(--t-xs); color: var(--muted); }
.field .msg { font-size: var(--t-xs); color: var(--err); font-weight: 500; display: flex; gap: 6px; align-items: center; }
.field.is-error .input, .field.is-error .textarea, .field.is-error .select { border-color: var(--err); }
.field.is-error .input:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--err) 18%, transparent); }
.input[disabled] { background: var(--surface-2); color: var(--muted); cursor: not-allowed; }
.input-group { display: flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.input-group:focus-within { border-color: var(--indigo); box-shadow: 0 0 0 4px color-mix(in srgb, var(--indigo) 18%, transparent); }
.input-group .addon { padding: 0 14px; color: var(--muted); font-family: var(--f-mono); font-size: var(--t-xs); align-self: stretch; display: grid; place-items: center; background: var(--surface-2); border-right: 1px solid var(--line); }
.input-group .input { border: 0; box-shadow: none !important; }

/* Choice pills (checkbox/radio as selectable chips) */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line-strong); font-size: var(--t-sm); font-weight: 500; cursor: pointer; background: var(--surface);
  transition: all var(--d-fast);
}
.choice span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); transition: all var(--d-fast); }
.choice span:hover { border-color: var(--fg); }
.choice input:checked + span { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.choice input:checked + span::before { background: var(--volt); border-color: var(--volt); box-shadow: inset 0 0 0 3px var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--indigo); outline-offset: 2px; }

/* Checkbox + switch */
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-sm); cursor: pointer; }
.check input { appearance: none; width: 20px; height: 20px; border: 1.5px solid var(--line-strong); border-radius: 6px; margin: 1px 0 0; flex: none; display: grid; place-items: center; background: var(--surface); cursor: pointer; transition: all var(--d-fast); }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ""; width: 10px; height: 5px; border: 2.4px solid var(--volt); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); border-radius: 1px; }
.switch { display: inline-flex; align-items: center; gap: 12px; font-size: var(--t-sm); font-weight: 500; cursor: pointer; }
.switch input { appearance: none; width: 44px; height: 26px; border-radius: 999px; background: var(--line-strong); position: relative; margin: 0; cursor: pointer; transition: background var(--d-med); flex: none; }
.switch input::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; background: #fff; top: 3px; left: 3px; box-shadow: var(--shadow-1); transition: transform var(--d-med) var(--ease-spring); }
.switch input:checked { background: var(--ink); }
.switch input:checked::after { transform: translateX(18px); background: var(--volt); }

/* ── Tabs (segmented, pill) ───────────────────────────────────────────── */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.tab { border: 0; background: none; height: 40px; padding: 0 18px; border-radius: var(--r-pill); font-weight: 600; font-size: var(--t-sm); color: var(--muted); cursor: pointer; white-space: nowrap; transition: all var(--d-fast); }
.tab:hover { color: var(--fg); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--fg); box-shadow: var(--shadow-1), 0 0 0 1px var(--line); }
.on-band .tabs { background: rgba(255,255,255,.06); border-color: var(--band-line); }
.on-band .tab { color: var(--band-muted); }
.on-band .tab:hover { color: var(--band-fg); }
.on-band .tab[aria-selected="true"] { background: var(--volt); color: #10094C; box-shadow: none; }

/* Underline tabs (for in-page sub-navigation) */
.tabs-line { display: flex; gap: 28px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs-line a { text-decoration: none; padding: 12px 0; font-weight: 600; font-size: var(--t-sm); color: var(--muted); position: relative; white-space: nowrap; }
.tabs-line a[aria-current="page"] { color: var(--fg); }
.tabs-line a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px; background: var(--indigo); }

/* ── Accordion / FAQ ─────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 24px; align-items: center; font-weight: 600; font-size: var(--t-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; flex: none; transition: all var(--d-med) var(--ease); }
.faq summary .pm svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linecap: round; transition: transform var(--d-med) var(--ease); }
.faq details[open] summary .pm { background: var(--volt); border-color: var(--volt); color: #10094C; }
.faq details[open] summary .pm svg { transform: rotate(45deg); }
.faq .ans { padding: 0 56px 24px 0; color: var(--muted); }

/* ── Route steps: process shown as nodes on a line ────────────────────── */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 24px; position: relative; counter-reset: step; }
.route::before { content: ""; position: absolute; top: 19px; left: 20px; right: 20px; height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px); }
.route li { position: relative; counter-increment: step; display: grid; gap: 10px; align-content: start; }
.route li::before {
  content: counter(step, decimal-leading-zero); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--ink); font-family: var(--f-mono); font-size: .7rem; font-weight: 600; position: relative; z-index: 1;
}
.route li.done::before { background: var(--ink); color: var(--on-ink); }
.route li.now::before { background: var(--volt); color: #10094C; border-color: var(--volt); box-shadow: 0 0 0 6px color-mix(in srgb, var(--volt) 30%, transparent); }
.route h4 { font-size: var(--t-md); }
.route p { font-size: var(--t-sm); color: var(--muted); }
.on-band .route li::before { background: var(--band); border-color: var(--band-fg); color: var(--band-fg); }
.on-band .route::before { background: repeating-linear-gradient(90deg, var(--band-line) 0 8px, transparent 8px 14px); }
.on-band .route p { color: var(--band-muted); }
@media (max-width: 760px) {
  .route { grid-template-columns: 1fr; gap: 28px; }
  .route::before { top: 20px; bottom: 20px; left: 19px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-strong) 0 8px, transparent 8px 14px); }
  .route li { grid-template-columns: 40px 1fr; column-gap: 16px; }
  .route li::before { grid-row: span 2; }
}

/* ── Code block (developer voice, sparingly) ──────────────────────────── */
.code { background: #0C0838; color: #DAD6FF; border-radius: var(--r-lg); font-family: var(--f-mono); font-size: .75rem; line-height: 1.9; overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.code .bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); color: #8E88C9; font-size: .65rem; letter-spacing: .04em; }
.code .bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A2470; }
.code .bar i:first-child { background: var(--volt); }
.code pre { margin: 0; padding: 18px 20px; overflow-x: auto; }
.code .k { color: #C8F04A; } .code .s { color: #9FD2FF; } .code .c { color: #6E68A8; } .code .p { color: #FFB38A; }

/* ── Breadcrumb ──────────────────────────────────────────────────────── */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: var(--t-xs); color: var(--muted); list-style: none; padding: 0; margin: 0; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--fg); }
.crumbs li + li::before { content: ""; display: inline-block; width: 14px; height: 2px; border-radius: 2px; background: var(--line-strong); margin-right: 8px; vertical-align: middle; }

/* ── Avatar (initials lobe) ───────────────────────────────────────────── */
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-weight: 700; font-stretch: 85%; font-size: 1.1rem; position: relative; flex: none; }
.avatar::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--volt); right: -2px; bottom: 2px; border: 3px solid var(--surface); }

/* Text on any dark surface (bands, CTA panels, product heroes) */
.on-band .lead, .on-band .muted { color: var(--band-muted); }
.on-band .screen-inner .muted { color: var(--muted); }
