/* Drakonu kova shop: dark technical theme. No external requests, no frameworks. */
:root {
  /* BRAND TOKENS — rebrand = change these values only (assets/brand/BRAND.md). */
  --brand-ink-0: #0b0e12; --brand-ink-1: #12171d; --brand-ink-2: #1b222b; --brand-ink-3: #2a333f;
  --brand-paper: #f0f3f6; --brand-paper-dim: #9aa6b2;
  --brand-primary: #ff5a1f; --brand-primary-ink: #0b0e12; --brand-secondary: #5cc8ff;
  --brand-ok: #3fd07a; --brand-warn: #f2b233; --brand-bad: #ff4d4d;
  --brand-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --brand-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  /* type scale, 1.25 ratio */
  --fs-xs: .75rem; --fs-sm: .875rem; --fs-base: 1rem; --fs-md: 1.25rem; --fs-lg: 1.563rem; --fs-xl: 1.953rem; --fs-2xl: 2.441rem;
  --logo-h: 28px;
  /* semantic tokens used by the stylesheet, all derived from the brand tokens */
  --bg: var(--brand-ink-0); --bg2: var(--brand-ink-1); --bg3: var(--brand-ink-2); --line: var(--brand-ink-3);
  --fg: var(--brand-paper); --muted: var(--brand-paper-dim); --accent: var(--brand-primary); --accent2: var(--brand-secondary);
  --warn: var(--brand-warn); --bad: var(--brand-bad); --ok: var(--brand-ok);
  --radius: 6px; --gap: 1rem; --maxw: 1240px;
  --font: var(--brand-font-sans);
  --mono: var(--brand-font-mono);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.55 var(--font); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: var(--gap); }
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.05rem; }
code, .mono, .sku { font-family: var(--mono); font-size: .88em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(13,17,23,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .bar { max-width: var(--maxw); margin: 0 auto; padding: .6rem var(--gap); display: flex; align-items: center; gap: var(--gap); flex-wrap: wrap; }
.logo { font-family: var(--mono); font-weight: 700; color: var(--fg); letter-spacing: .02em; }
.logo span, .logo b { color: var(--accent); }
.site-nav { display: flex; gap: .25rem; flex-wrap: wrap; flex: 1; }
.site-nav a { color: var(--muted); padding: .35rem .6rem; border-radius: var(--radius); font-size: .92rem; }
.site-nav a:hover, .site-nav a[aria-current="page"], .site-nav a.active { color: var(--fg); background: var(--bg3); text-decoration: none; }
.cart-link { position: relative; color: var(--fg); padding: .35rem .7rem; border: 1px solid var(--line); border-radius: var(--radius); }
.cart-link:hover { border-color: var(--accent); text-decoration: none; }
[data-cart-count] { display: inline-block; min-width: 1.4em; padding: 0 .35em; margin-left: .3em; border-radius: 1em; background: var(--accent); color: #041; font: 700 .78rem/1.4 var(--mono); text-align: center; }
[data-cart-count][data-empty] { background: var(--bg3); color: var(--muted); }

/* ---- flag language switcher ---- */
.lang-switch { position: relative; }
.lang-switch > button, .lang-switch summary { display: flex; align-items: center; gap: .4rem; background: var(--bg2); color: var(--fg); border: 1px solid var(--line); border-radius: var(--radius); padding: .3rem .6rem; font: inherit; font-size: .88rem; cursor: pointer; list-style: none; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch ul { list-style: none; margin: .3rem 0 0; padding: .3rem; position: absolute; right: 0; top: 100%; min-width: 11rem; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.45); z-index: 30; }
.lang-switch:not([open]):not(.open) ul { display: none; }
.lang-switch.inline ul { display: flex !important; position: static; gap: .2rem; margin: 0; padding: 0; min-width: 0; background: none; border: 0; box-shadow: none; }
.lang-switch li a { display: flex; align-items: center; gap: .5rem; padding: .35rem .5rem; border-radius: 4px; color: var(--fg); font-size: .9rem; }
.lang-switch li a:hover { background: var(--bg3); text-decoration: none; }
.lang-switch li a[aria-current="true"], .lang-switch li a.active { background: var(--bg3); color: var(--accent); }
.flag { display: inline-block; width: 1.35em; height: .95em; border-radius: 2px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.15); font-size: 1rem; line-height: .95em; }
.flag-lt { background: linear-gradient(#fdb913 33.3%, #006a44 33.3% 66.6%, #c1272d 66.6%); }
.flag-lv { background: linear-gradient(#9e3039 40%, #fff 40% 60%, #9e3039 60%); }
.flag-pl { background: linear-gradient(#fff 50%, #dc143c 50%); }
.flag-et, .flag-ee { background: linear-gradient(#0072ce 33.3%, #000 33.3% 66.6%, #fff 66.6%); }
.flag-de { background: linear-gradient(#000 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%); }
.flag-en, .flag-gb { background:
  linear-gradient(90deg, transparent 42%, #c8102e 42% 58%, transparent 58%),
  linear-gradient(transparent 38%, #c8102e 38% 62%, transparent 62%),
  linear-gradient(90deg, transparent 36%, #fff 36% 64%, transparent 64%),
  linear-gradient(transparent 30%, #fff 30% 70%, transparent 70%), #012169; }

/* ---- breadcrumbs, headings ---- */
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: .8rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--fg); }
.page-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--gap); flex-wrap: wrap; margin-bottom: var(--gap); }
.page-head .count { color: var(--muted); font-family: var(--mono); font-size: .85rem; }

/* ---- product grid + cards ---- */
.products, .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.card, .product-card { display: flex; flex-direction: column; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem; transition: border-color .15s, transform .15s; }
.card:hover, .product-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card .thumb { aspect-ratio: 4/3; background: var(--bg3); border-radius: 4px; margin-bottom: .7rem; display: grid; place-items: center; color: var(--muted); font-family: var(--mono); font-size: .8rem; overflow: hidden; }
.card h3, .card .title { font-size: .98rem; margin: 0 0 .35rem; }
.card h3 a, .card .title a { color: var(--fg); }
.card .sku { color: var(--muted); }
.card .desc { color: var(--muted); font-size: .86rem; flex: 1; margin: .3rem 0 .7rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; }
.price { font: 700 1.1rem var(--mono); color: var(--fg); white-space: nowrap; }
.price small, .price .vat { font-weight: 400; font-size: .72rem; color: var(--muted); margin-left: .25em; }
.stock { font-size: .78rem; font-family: var(--mono); padding: .1rem .45rem; border-radius: 1em; border: 1px solid currentColor; }
.stock.in, .stock-in { color: var(--ok); }
.stock.low, .stock-low { color: var(--warn); }
.stock.out, .stock-out { color: var(--bad); }
.badge { display: inline-block; font: 600 .72rem var(--mono); text-transform: uppercase; letter-spacing: .04em; padding: .1rem .45rem; border-radius: 3px; background: var(--bg3); color: var(--accent); }

/* ---- product page ---- */
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: calc(var(--gap) * 2); align-items: start; }
.product .gallery { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 4/3; display: grid; place-items: center; color: var(--muted); }
.product .buybox { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; position: sticky; top: 4.5rem; }
.product .buybox .price { font-size: 1.6rem; display: block; margin: .4rem 0 .8rem; }
.product .buybox .row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.specs { width: 100%; border-collapse: collapse; margin-top: var(--gap); font-size: .9rem; }
.specs th, .specs td { text-align: left; padding: .45rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { color: var(--muted); font-weight: 500; width: 38%; }
.description { color: var(--fg); white-space: pre-line; }

/* ---- buttons + forms ---- */
.btn, button.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .55rem 1rem; border-radius: var(--radius); border: 1px solid var(--accent); background: var(--accent); color: #031a14; font: 600 .92rem var(--font); cursor: pointer; text-decoration: none; transition: filter .15s, background .15s; }
.btn:hover { filter: brightness(1.12); text-decoration: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; filter: none; }
.btn.ghost, .btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn.ghost:hover, .btn-ghost:hover { border-color: var(--accent); }
.btn.small, .btn-sm { padding: .3rem .6rem; font-size: .82rem; }
.btn.block { width: 100%; }
.btn.added { background: var(--ok); border-color: var(--ok); }
label { display: block; font-size: .85rem; color: var(--muted); margin: .7rem 0 .25rem; }
input, select, textarea { width: 100%; background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem .65rem; font: inherit; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; }
input[aria-invalid="true"] { border-color: var(--bad); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 var(--gap); }
.hint { font-size: .8rem; color: var(--muted); margin-top: .25rem; }

/* ---- quantity stepper ---- */
.qty, .qty-stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.qty button, .qty-stepper button { width: 2.1rem; border: 0; background: var(--bg3); color: var(--fg); font: 600 1rem var(--mono); cursor: pointer; }
.qty button:hover:not(:disabled), .qty-stepper button:hover:not(:disabled) { background: var(--accent); color: #031a14; }
.qty button:disabled, .qty-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.qty input, .qty-stepper input { width: 3rem; border: 0; border-radius: 0; text-align: center; font-family: var(--mono); padding: .35rem 0; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---- cart ---- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: calc(var(--gap) * 1.5); align-items: start; }
.cart-lines { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg2); }
.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: .8rem; align-items: center; padding: .75rem .9rem; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line .name { font-weight: 500; }
.cart-line .sku { display: block; color: var(--muted); }
.cart-line .line-total { font-family: var(--mono); min-width: 6em; text-align: right; }
.cart-line .remove { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1.1rem; padding: .2rem .4rem; }
.cart-line .remove:hover { color: var(--bad); }
.cart-empty { padding: 2rem; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.summary { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; position: sticky; top: 4.5rem; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: .35rem .8rem; margin: 0 0 1rem; font-size: .92rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-family: var(--mono); }
.summary .total dt, .summary .total dd, .summary dt.total, .summary dd.total { color: var(--fg); font-weight: 700; font-size: 1.1rem; border-top: 1px solid var(--line); padding-top: .5rem; }

/* ---- VAT field status ---- */
.vat-field { position: relative; }
[data-vat-status] { display: block; min-height: 1.2em; font-size: .82rem; margin-top: .3rem; font-family: var(--mono); }
[data-vat-status].checking { color: var(--muted); }
[data-vat-status].valid { color: var(--ok); }
[data-vat-status].invalid { color: var(--bad); }
[data-vat-status].error { color: var(--warn); }
.notice { border-left: 3px solid var(--accent2); background: var(--bg2); padding: .6rem .8rem; border-radius: 0 var(--radius) var(--radius) 0; font-size: .86rem; color: var(--muted); margin: .6rem 0; }
.notice.reverse { border-color: var(--ok); color: var(--fg); }

/* ---- payment picker ---- */
.pay-methods { display: grid; gap: .6rem; margin: .6rem 0 1rem; border: 0; padding: 0; }
.pay-methods legend { font-size: .85rem; color: var(--muted); margin-bottom: .4rem; padding: 0; }
.pay-option { display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: center; margin: 0; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg2); color: var(--fg); cursor: pointer; font-size: .92rem; transition: border-color .15s, background .15s; }
.pay-option:hover { border-color: var(--muted); }
.pay-option input { width: auto; accent-color: var(--accent); margin: 0; }
.pay-option.selected, .pay-option:has(input:checked) { border-color: var(--accent); background: rgba(63,185,160,.08); }
.pay-option .pay-title { font-weight: 600; display: block; }
.pay-option .pay-sub { font-size: .8rem; color: var(--muted); display: block; }
.pay-option .pay-tag { font: 600 .72rem var(--mono); color: var(--warn); border: 1px solid var(--warn); border-radius: 3px; padding: .05rem .35rem; }
.pay-option[hidden] { display: none; }
.pay-detail { display: none; font-size: .86rem; color: var(--muted); padding: .2rem .9rem .6rem; }
.pay-detail.active { display: block; }

/* ---- footer + toast ---- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg2); color: var(--muted); font-size: .84rem; margin-top: 2rem; }
.site-footer .inner { max-width: var(--maxw); margin: 0 auto; padding: 1.4rem var(--gap); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--gap); }
.site-footer a { color: var(--muted); }
.toast { position: fixed; bottom: 1rem; left: 50%; transform: translate(-50%, 150%); background: var(--bg3); color: var(--fg); border: 1px solid var(--accent); border-radius: var(--radius); padding: .6rem 1rem; font-size: .9rem; z-index: 50; transition: transform .25s; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.toast.show { transform: translate(-50%, 0); }
.toast.err { border-color: var(--bad); }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .product, .cart-layout { grid-template-columns: 1fr; }
  .product .buybox, .summary { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .site-header .bar { gap: .5rem; }
  .site-nav { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .site-nav a { white-space: nowrap; }
  .products, .product-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: .6rem; }
  .card, .product-card { padding: .65rem; }
  .card .foot { flex-direction: column; align-items: stretch; }
  .cart-line { grid-template-columns: 1fr auto; }
  .cart-line .line-total { grid-column: 1; text-align: left; }
  .lang-switch .lang-name { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media print { .site-header, .site-footer, .btn, .qty, .qty-stepper, .toast { display: none !important; } body { background: #fff; color: #000; } }

/* ---- g_ux 2026-09-25: rules for the markup layout.py actually emits (bare header/footer, .product) ---- */
body > header { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; padding: .6rem 1rem; background: rgba(13,17,23,.95); border-bottom: 1px solid var(--line); }
body > header .logo { font-weight: 700; font-size: 1.05rem; color: var(--fg); letter-spacing: .01em; }
body > header .cats { order: 3; flex-basis: 100%; display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
body > header .cats a { flex: none; padding: .35rem .75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--fg); font-size: .88rem; }
body > header .flags { margin-left: auto; display: flex; gap: .15rem; }
body > header .flags a { padding: .2rem .3rem; border-radius: 4px; opacity: .55; font-size: 1.1rem; }
body > header .flags a[aria-current] { opacity: 1; background: var(--bg3); }
body > footer { padding: 1.5rem 1rem 6rem; color: var(--muted); font-size: .85rem; text-align: center; border-top: 1px solid var(--line); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: .8rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: var(--gap); }
.product { display: grid; gap: 1.2rem; }
.product .photo { margin: 0; aspect-ratio: 4/3; border-radius: var(--radius); background: var(--bg2); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.product .photo img { width: 100%; height: 100%; object-fit: contain; }
.ph svg { width: 38%; color: var(--muted); opacity: .55; }
.ph-ram svg, .ph-ssd svg { color: var(--accent); } .ph-hdd svg, .ph-serveriai svg { color: var(--accent2); }
.product h1 { font-size: 1.35rem; }
.product .stock { color: var(--ok); margin: .3rem 0 .8rem; } .product .stock.out { color: var(--warn); }
.product .price { font-size: 1.6rem; margin: 0; }
.product .qty { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-right: .5rem; vertical-align: middle; }
.product .qty button { width: 2.75rem; min-height: 2.75rem; background: var(--bg3); color: var(--fg); border: 0; font-size: 1.2rem; cursor: pointer; }
.product .qty button:disabled { opacity: .35; cursor: default; }
.product .qty input { width: 3.2rem; text-align: center; background: var(--bg); color: var(--fg); border: 0; font: inherit; -moz-appearance: textfield; }
.product .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.add-to-cart { min-height: 2.75rem; padding: 0 1.4rem; border: 0; border-radius: var(--radius); background: var(--accent); color: #04110e; font: 600 1rem var(--font); cursor: pointer; vertical-align: middle; }
.add-to-cart:disabled { background: var(--bg3); color: var(--muted); cursor: not-allowed; }
.add-to-cart.added { background: var(--ok); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 1.1rem 0; font-size: .92rem; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; }
.product .desc { color: var(--fg); opacity: .9; line-height: 1.6; }
@media (max-width: 719px) {
  .product .buybox { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 30; margin: 0; border-radius: 0; border-width: 1px 0 0; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; box-shadow: 0 -6px 18px rgba(0,0,0,.4); }
  .product .buybox .price { font-size: 1.25rem; } .product .buybox .stock { margin: 0; font-size: .8rem; flex: 1; }
  .product .buybox .qty { margin: 0; } .product .buybox .add-to-cart { flex: 1; }
}
@media (min-width: 720px) {
  body > header .cats { order: 0; flex-basis: auto; }
  .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .product .photo { position: sticky; top: 5rem; }
  h1 { font-size: 1.8rem; } .product h1 { font-size: 1.6rem; }
}
@media (max-width: 719px) { .toast { bottom: calc(7.5rem + env(safe-area-inset-bottom)) !important; } }
/* no-photo fallback (assets/brand/placeholders/<cat>.svg + MPN): same 4:3 box as a real photo, so nothing reflows */
figure.photo, figure.thumb { aspect-ratio: 4/3; overflow: hidden; margin: 0 0 .7rem; }
figure.photo > img, figure.photo > svg, figure.thumb > img, figure.thumb > svg { width: 100%; height: 100%; display: block; object-fit: contain; }
.ph { color: var(--muted, #8b949e); }
/* icons: assets/brand/icons.svg sprite via layout.icon(); colour follows currentColor */
.icon{width:1.25em;height:1.25em;vertical-align:-.25em;margin-right:.35em;flex:none;fill:none;stroke:currentColor}
.icon.cat{width:1.75em;height:1.75em;display:block;margin:0 0 .4em;opacity:.85}
h1 .icon.cat{display:inline-block;vertical-align:-.3em;margin-right:.4em}

/* brand logo (inline SVG from layout.BRAND; colour = currentColor) */
.logo { display: inline-flex; align-items: center; color: var(--fg); line-height: 0; }
.logo:hover { color: var(--accent); text-decoration: none; }
.logo .brand-logo { height: var(--logo-h); width: auto; }
.logo .brand-mark { display: none; height: var(--logo-h); width: var(--logo-h); }
@media (max-width: 520px) { .logo .brand-logo { display: none; } .logo .brand-mark { display: block; } }

/* ---- h_logo 2026-09-24: brand tokens. A rebrand = change these values (assets/brand/BRAND.md). ---- */
:root {
  --brand-ink: #0b0f14; --brand-panel: #141a22; --brand-raise: #1d2530; --brand-rule: #2b3542;
  --brand-paper: #eef2f6; --brand-mute: #8d99a8; --brand-accent: #3fd0a8; --brand-accent-2: #5aa9ff;
  --bg: var(--brand-ink); --bg2: var(--brand-panel); --bg3: var(--brand-raise); --line: var(--brand-rule);
  --fg: var(--brand-paper); --muted: var(--brand-mute); --accent: var(--brand-accent); --accent2: var(--brand-accent-2);
  --fs-xs: .75rem; --fs-sm: .875rem; --fs-base: 1rem; --fs-md: 1.125rem; --fs-lg: 1.375rem; --fs-xl: 1.75rem; --fs-2xl: 2.25rem;
  --logo-h: 32px;
}
h1 { font-size: var(--fs-xl); } h2 { font-size: var(--fs-lg); } h3 { font-size: var(--fs-md); }
body > header .logo { display: flex; align-items: center; line-height: 0; }
body > header .logo img { height: var(--logo-h); width: auto; }
