/* BORG front page. Layout: one memory in the middle, everything else around it.
   Dark only, by brand choice: the same tokens as styles.css. */
@font-face { font-family: Chakra; src: url("./assets/chakra-petch-regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Chakra; src: url("./assets/chakra-petch-bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #10120f;
  --surface: #171a16;
  --surface-2: #1d221b;
  --line: #343b2f;
  --line-soft: #262c22;
  --fg: #f0f2e9;
  --muted: #b3bbaa;
  --faint: #8f9888;
  --acid: #b5ff4d;
  --acid-ink: #0e1209;
  --amber: #ffd36b;
  --coral: #ff9f86;
  --font: Chakra, "Trebuchet MS", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --r: 6px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
/* A pop-up is moved back on screen when it opens; clip keeps the page from widening meanwhile. */
main { overflow-x: clip; }
.nojs-only { display: none; }
.no-js .nojs-only { display: block; }
.no-js .owner-row { display: none; }
.no-js .tabs, .no-js .motion, .no-js .result, .no-js .tip-more, .no-js .copy { display: none; }
.no-js .tip { text-decoration: none; cursor: auto; }
.no-js .panel { border-top: 1px solid var(--line); border-radius: 12px; margin-top: 16px; }
.result-static { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: var(--surface); display: grid; gap: 10px; color: var(--muted); }
.result-static b { color: var(--fg); }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-block: 0 env(safe-area-inset-bottom, 0px);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--acid); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--acid); color: var(--acid-ink); padding: 10px 14px; font-weight: 700; }
.skip:focus { left: 12px; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.head-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand svg { width: 30px; height: 33px; }
.brand-word { font-weight: 700; font-size: 22px; letter-spacing: .08em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 400; font-size: 16px; padding: 10px 12px; border-radius: var(--r); min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--fg); background: var(--surface); }
@media (max-width: 760px) {
  .nav { display: none; }
  .head-in .btn { margin-left: auto; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px;
  font: inherit; font-weight: 700; font-size: 17px; text-decoration: none;
  border-radius: var(--r); border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-acid { background: var(--acid); color: var(--acid-ink); }
.btn-acid:hover { background: #c8ff7a; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--acid); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 16px; }

/* Shared section type */
.section { padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-soft); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--acid); margin-bottom: 14px; }
h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: 0; }
.sub { color: var(--muted); max-width: 62ch; margin-top: 16px; font-size: 18px; }
.fineprint { color: var(--faint); font-size: 15px; margin-top: 22px; max-width: 70ch; }
.acid { color: var(--acid); }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 84px) clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy { min-width: 0; position: relative; z-index: 2; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; }
.chips li { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--fg); border: 1px solid var(--line); background: var(--surface); padding: 6px 11px; border-radius: 999px; }
.chips li::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--acid); border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
h1 { font-size: clamp(34px, 9.2vw, 60px); font-weight: 700; text-transform: uppercase; letter-spacing: -.012em; line-height: .98; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 54ch; margin-top: 24px; }
.lede strong { color: var(--fg); font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.needs { margin-top: 22px; font-size: 15px; color: var(--faint); max-width: 52ch; }
.needs a, .faq .a a, .fineprint a { padding-block: 4px; }
.needs a { color: var(--fg); text-underline-offset: 3px; text-decoration-color: var(--acid); white-space: nowrap; }
.hero-art { position: relative; margin: 0; min-width: 0; }
.hero-art img { position: relative; z-index: 1; width: 100%; animation: float 9s ease-in-out infinite; }
:root[data-motion="paused"] .hero-art img, :root[data-motion="paused"] .stars { animation-play-state: paused; }
.motion { position: relative; z-index: 3; display: block; margin: 6px 0 0 auto; font: inherit; font-size: 15px; font-weight: 700; color: var(--fg); background: color-mix(in srgb, var(--bg) 80%, transparent); border: 1px solid var(--line); border-radius: var(--r); min-height: 44px; padding: 8px 14px; cursor: pointer; }
.motion:hover { border-color: var(--acid); }
.stars {
  position: absolute; inset: -18% -12%; z-index: 0; pointer-events: none; opacity: .75;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #dfe7d6 60%, transparent 62%),
    radial-gradient(1px 1px at 33% 72%, #c7d3bd 60%, transparent 62%),
    radial-gradient(1.4px 1.4px at 58% 28%, #f0f2e9 60%, transparent 62%),
    radial-gradient(1px 1px at 81% 64%, #c7d3bd 60%, transparent 62%),
    radial-gradient(1.1px 1.1px at 92% 12%, #dfe7d6 60%, transparent 62%),
    radial-gradient(1px 1px at 46% 92%, #b8c7ac 60%, transparent 62%),
    radial-gradient(60% 55% at 50% 50%, rgba(120, 200, 60, .10), transparent 70%);
  background-size: 260px 260px, 260px 260px, 260px 260px, 340px 340px, 340px 340px, 340px 340px, 100% 100%;
  animation: drift 140s linear infinite;
}
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes drift { to { background-position: 260px 120px, 260px 120px, 260px 120px, -340px 180px, -340px 180px, -340px 180px, 0 0; } }
@media (min-width: 901px) { h1 { font-size: clamp(44px, 4.2vw, 60px); } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { margin-inline: calc(var(--gutter) * -0.5); }
}

/* The difference */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.chat { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.chat-with { border-color: color-mix(in srgb, var(--acid) 55%, var(--line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--acid) 18%, transparent), 0 24px 60px -30px rgba(181, 255, 77, .35); }
.tag { display: inline-block; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; }
.tag-muted { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.tag-acid { background: var(--acid); color: var(--acid-ink); font-weight: 700; }
.day { font-family: var(--mono); font-size: 13px; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 12px; font-size: 16px; line-height: 1.5; }
.msg.you { align-self: flex-end; background: #2a3322; color: var(--fg); border-bottom-right-radius: 4px; }
.msg.ai { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-without .msg.ai.forgot { border-color: color-mix(in srgb, var(--coral) 45%, var(--line)); }
.memory-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--acid); border: 1px dashed color-mix(in srgb, var(--acid) 60%, transparent); padding: 6px 10px; border-radius: 999px; }
.memory-chip svg { width: 15px; height: 16px; flex: none; }
.chat-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line-soft); font-weight: 700; }
.chat-without .chat-foot { color: var(--coral); }
.chat-with .chat-foot { color: var(--acid); }
@media (max-width: 760px) { .compare { grid-template-columns: minmax(0, 1fr); } }

/* How it works */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { counter-increment: step; border-top: 2px solid var(--acid); padding-top: 20px; min-width: 0; }
.steps li::before { content: "Step " counter(step); display: block; font-family: var(--mono); font-size: 13px; color: var(--acid); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.steps p { color: var(--muted); margin-top: 10px; }
.note { margin-top: 32px; padding: 14px 18px; border-left: 3px solid var(--acid); background: var(--surface); color: var(--fg); max-width: 70ch; border-radius: 0 var(--r) var(--r) 0; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* What you get */
.layers { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 64px); align-items: center; margin-top: 36px; }
.layers-art { position: relative; margin: 0; max-width: 520px; justify-self: center; width: 100%; }
.pin {
  position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%);
  transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--acid); color: var(--acid-ink); font-weight: 700; font-size: 18px;
  box-shadow: 0 0 0 5px rgba(16, 18, 15, .7), 0 0 24px rgba(181, 255, 77, .5);
}
.layer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.layer-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.layer-list .num { grid-row: span 3; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--acid); color: var(--acid); display: grid; place-items: center; font-weight: 700; }
.layer-list p { color: var(--muted); }
@media (max-width: 860px) { .layers { grid-template-columns: minmax(0, 1fr); } .layers-art { max-width: 360px; } }

/* Toggletip: plain word first, technical name on request */
.tip-wrap { position: relative; display: inline; }
.tip {
  font: inherit; color: inherit; background: none; border: 0; padding: 4px 0; cursor: pointer;
  text-decoration: underline dotted; text-decoration-color: var(--acid); text-underline-offset: 4px;
}
.tip-more { font-family: var(--mono); font-size: 13px; color: var(--faint); background: none; border: 1px solid var(--line); border-radius: 4px; padding: 6px 10px; margin-top: 10px; cursor: pointer; min-height: 44px; justify-self: start; }
.tip-more:hover, .tip-more[aria-expanded="true"] { color: var(--fg); border-color: var(--acid); }
.tip-pop {
  display: block; margin-top: 8px; padding: 12px 14px; font-size: 15px; line-height: 1.5;
  font-family: var(--font); font-weight: 400; letter-spacing: normal; text-transform: none;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); color: var(--fg);
}
.layer-list .tip-pop { grid-column: 2; }
.tip-wrap .tip-pop { position: absolute; left: 0; top: calc(100% + 6px); width: min(300px, calc(100vw - 24px)); z-index: 10; margin: 0; box-shadow: 0 18px 40px -18px #000; }

/* Will it run */
.checker { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; margin-top: 36px; align-items: start; }
.questions { display: grid; gap: 22px; min-width: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 700; font-size: 19px; margin-bottom: 12px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  font-weight: 400; cursor: pointer; transition: border-color .15s, background-color .15s;
}
.opt input:hover + span { border-color: var(--faint); }
.opt input:checked + span { border-color: var(--acid); background: color-mix(in srgb, var(--acid) 14%, var(--surface)); color: var(--fg); box-shadow: inset 0 0 0 1px var(--acid); }
.opt input:focus-visible + span { outline: 3px solid var(--acid); outline-offset: 3px; }
.where { color: var(--faint); font-size: 15px; margin-top: 8px; }
.result { position: sticky; top: 92px; border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: var(--surface); display: grid; gap: 14px; min-width: 0; }
.result[data-state="yes"] { border-color: var(--acid); }
.result[data-state="small"], .result[data-state="maybe"] { border-color: color-mix(in srgb, var(--amber) 70%, var(--line)); }
.result[data-state="no"] { border-color: color-mix(in srgb, var(--coral) 70%, var(--line)); }
.pill { justify-self: start; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: 6px 11px; border-radius: 4px; }
.result[data-state="yes"] .pill { background: var(--acid); color: var(--acid-ink); }
.result[data-state="small"] .pill, .result[data-state="maybe"] .pill { background: var(--amber); color: #1d1600; }
.result[data-state="no"] .pill { background: var(--coral); color: #250a03; }
.result-title { font-size: 23px; font-weight: 700; line-height: 1.2; }
.result-body { color: var(--muted); }
.plan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.plan div { border: 1px solid var(--line-soft); border-radius: var(--r); padding: 10px 12px; }
.plan dt { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.plan dd { margin: 2px 0 0; font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; }
.result-foot { font-size: 14px; color: var(--faint); }
@media (max-width: 900px) { .checker { grid-template-columns: minmax(0, 1fr); } .result { position: static; } }

/* Get started */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; border-bottom: 1px solid var(--line); }
.tab {
  font: inherit; font-weight: 700; font-size: 17px; color: var(--muted); background: none; cursor: pointer;
  border: 1px solid transparent; border-bottom: 0; border-radius: var(--r) var(--r) 0 0;
  padding: 12px 18px; min-height: 52px; margin-bottom: -1px; display: inline-flex; align-items: center; gap: 10px;
}
.tab[aria-selected="true"] { color: var(--fg); background: var(--surface); border-color: var(--line); border-bottom: 1px solid var(--surface); }
.tab .rec { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; background: var(--acid); color: var(--acid-ink); padding: 3px 7px; border-radius: 3px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; padding: clamp(20px, 3vw, 32px); }
.howto { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: h; }
.howto > li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 6px 14px; counter-increment: h; }
.howto > li::before { content: counter(h); width: 34px; height: 34px; border-radius: 50%; background: var(--acid); color: var(--acid-ink); font-weight: 700; display: grid; place-items: center; grid-row: span 3; }
.howto p { color: var(--muted); }
.howto b { color: var(--fg); font-weight: 700; }
.copybox { border: 1px solid var(--line); border-radius: 10px; background: #0b0d0a; overflow: hidden; margin-top: 10px; min-width: 0; }
.copybox-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 14px; border-bottom: 1px solid var(--line-soft); font-family: var(--mono); font-size: 13px; color: var(--faint); }
.copy { font: inherit; font-family: var(--font); font-weight: 700; font-size: 15px; min-height: 44px; padding: 8px 16px; border-radius: var(--r); border: 1px solid var(--acid); background: transparent; color: var(--acid); cursor: pointer; }
.copy:hover { background: color-mix(in srgb, var(--acid) 14%, transparent); }
.copy.done { background: var(--acid); color: var(--acid-ink); }
.prompt { margin: 0; padding: 16px; font-family: var(--mono); font-size: 15px; line-height: 1.65; color: #dfe9cf; white-space: pre-wrap; overflow-wrap: anywhere; }
.owner-row { display: grid; gap: 8px; max-width: 420px; }
.owner-row label { font-weight: 700; }
.owner-row input {
  font: inherit; font-family: var(--mono); font-size: 17px; color: var(--fg); background: #0b0d0a;
  border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; min-height: 50px;
}
.owner-row input:focus { border-color: var(--acid); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--acid) 30%, transparent); }
.owner-row input[aria-invalid="true"] { border-color: var(--coral); }
.hint { font-size: 15px; color: var(--faint); }
.hint.err { color: var(--coral); }
.cmds { margin: 0; padding: 6px 0; list-style: none; overflow-x: auto; }
.cmds li { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 4px 18px; padding: 9px 16px; align-items: baseline; }
.cmds li + li { border-top: 1px dashed var(--line-soft); }
.cmds code { font-family: var(--mono); font-size: 14.5px; color: #dfe9cf; overflow-wrap: anywhere; }
.cmds span { font-size: 15px; color: var(--faint); }
@media (max-width: 760px) { .cmds li { grid-template-columns: minmax(0, 1fr); } }
.done-card { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.done-card > div { border: 1px solid var(--line); border-radius: 10px; padding: 20px; background: var(--surface); }
.done-card p { color: var(--muted); margin-top: 8px; }
.done-card code { font-family: var(--mono); font-size: 15px; color: var(--acid); }
@media (max-width: 760px) { .done-card { grid-template-columns: minmax(0, 1fr); } }

/* Questions */
.faq { margin-top: 32px; display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font-weight: 700; font-size: 19px; position: relative; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--acid); font-size: 26px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 20px 20px; color: var(--muted); max-width: 66ch; display: grid; gap: 10px; }
.faq code { font-family: var(--mono); font-size: 15px; color: var(--fg); }

/* Go further */
.more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.more a { display: flex; flex-direction: column; gap: 8px; text-decoration: none; border: 1px solid var(--line); border-radius: 10px; padding: 20px; background: var(--surface); min-height: 100%; transition: border-color .15s, transform .15s; }
.more a:hover { border-color: var(--acid); transform: translateY(-2px); }
.more h3 { font-size: 19px; }
.more p { color: var(--muted); font-size: 16px; }
.more .go { margin-top: auto; color: var(--acid); font-weight: 700; font-size: 15px; }
@media (max-width: 980px) { .more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .more { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 40px 56px; color: var(--faint); font-size: 15px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; align-items: center; }
.foot-sign { color: var(--fg); font-weight: 700; letter-spacing: .02em; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.foot nav a { color: var(--muted); text-decoration: none; padding: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.foot nav a:hover { color: var(--acid); }

@media (prefers-reduced-motion: reduce) {
  /* The hero's drift starts paused (home.js) and only runs after an explicit "Play motion". */
  html { scroll-behavior: auto; }
  .btn, .more a { transition: none; }
}
@media (max-width: 520px) {
  /* Two install choices side by side, so neither reads as a heading for the other. */
  .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border-bottom: 0; }
  .tab { flex-direction: column; justify-content: center; text-align: center; gap: 6px; margin: 0; padding: 10px 8px; font-size: 16px; line-height: 1.2; border: 1px solid var(--line); border-radius: var(--r); }
  .tab[aria-selected="true"] { border: 1px solid var(--acid); background: var(--surface); }
  .panel { border-top: 1px solid var(--line); border-radius: 12px; margin-top: 10px; }
}
