/* Paper & Ink UI kit — see DESIGN.md. Vanilla CSS, no dependencies. */

/* ---------- 1. Tokens ---------- */
:root {
  --paper: #F6F5F2; --paper-2: #F2F1ED; --paper-3: #F9F8F6; --paper-4: #FBFAF8; --card: #FBFAF8;
  --ink: #3D3B4F; --ink-2: #2C2B3B; --ink-3: #34324A; --ink-soft: #5C5A6B;
  --muted: #6E6C7C; --muted-2: #8C8A99; --faint: #B3B1BE; --faint-2: #D8D7DE;
  --line: #E5E5EB; --line-warm: #E6E4DE; --line-soft: #EEEEF2;
  --mint: #28E99F; --mint-tint: #E9FBF3; --mint-tint-2: #DDEFE6; --mint-ink: #123326;
  --mint-text: #1D8A5F; --mint-on-dark: #93F4CF;
  --rust: #B3402F; --rust-tint: #F7DCD4; --rust-on-dark: #F2B5A4; --lilac-tint: #EDEAF7;
  --on-dark-muted: rgba(255,255,255,.6); --on-dark-line: rgba(255,255,255,.07);
  --code-tag: #C9C8D4; --code-comment: #75738C;
  --warm-text: #5A5550; --warm-lead: #8A8580; --warm-date: #9B9590;
  --on-primary: #FFFFFF; --primary-bg: var(--ink); --primary-hover: var(--ink-2);
  --nav-bg: rgba(249,248,246,.95); --scrim: rgba(61,59,79,.32); --dot: rgba(61,59,79,.06); --dot-on-dark: rgba(255,255,255,.05);
  --tag-added-bg: #DDEFE6; --tag-added-fg: #2F6B4F; --tag-changed-bg: #EDEAF7; --tag-changed-fg: #4F4A78;
  --tag-fixed-bg: #F0F0F3; --tag-fixed-fg: #5C5A6B; --tag-removed-bg: #F7DCD4; --tag-removed-fg: #8F3B2C;
  --panel-fg: #FFFFFF;
  color-scheme: light;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  --radius-sm: 6px; --radius: 10px; --radius-lg: 18px; --radius-xl: 24px; --radius-pill: 9999px;
  --shadow-sm: 0 1px 2px rgba(61,59,79,.05), 0 4px 14px rgba(61,59,79,.06);
  --shadow-md: 0 1px 2px rgba(61,59,79,.04), 0 10px 32px rgba(61,59,79,.07);
  --shadow-lg: 0 1px 2px rgba(61,59,79,.04), 0 16px 48px rgba(61,59,79,.07);
  --shadow-glow: 0 8px 24px rgba(40,233,159,.35);
  --container: 1010px; --gutter: 24px; --section-y: 80px;
  --ease: cubic-bezier(.4,0,.2,1); --dur: .15s;
}


/* ---------- 1b. Dark theme ----------
   Same ink family, inverted: the page becomes the dark panel and the panels go darker still.
   Mint stays mint. Two hooks: system preference (unless data-theme="light") and data-theme="dark". */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1F1E29; --paper-2: #282735; --paper-3: #242331; --paper-4: #2D2C3A; --card: #2A2937;
    --ink: #ECEBF1; --ink-2: #16151E; --ink-3: #34324A; --ink-soft: #C9C8D4;
    --muted: #A5A3B3; --muted-2: #8C8A99; --faint: #6E6C7C; --faint-2: #4A4858;
    --line: #3B3A4B; --line-warm: #383746; --line-soft: #333241;
    --mint-tint: rgba(40,233,159,.12); --mint-tint-2: rgba(40,233,159,.2); --mint-text: #5FE7B3;
    --rust: #E0705A; --rust-tint: rgba(224,112,90,.18); --lilac-tint: rgba(155,114,207,.2);
    --warm-text: #C4C0BB; --warm-lead: #9F9BA8; --warm-date: #7E7B88;
    --on-primary: #1F1E29; --primary-bg: #ECEBF1; --primary-hover: #FFFFFF;
    --nav-bg: rgba(36,35,49,.92); --scrim: rgba(0,0,0,.5); --dot: rgba(255,255,255,.05);
    --tag-added-bg: rgba(40,233,159,.16); --tag-added-fg: #6FE9BD; --tag-changed-bg: rgba(155,114,207,.22); --tag-changed-fg: #C9B8F0;
    --tag-fixed-bg: rgba(255,255,255,.08); --tag-fixed-fg: #C9C8D4; --tag-removed-bg: rgba(224,112,90,.2); --tag-removed-fg: #F2B5A4;
    --on-dark-line: rgba(255,255,255,.08);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 4px 14px rgba(0,0,0,.25);
    --shadow-md: 0 1px 2px rgba(0,0,0,.3), 0 10px 32px rgba(0,0,0,.35);
    --shadow-lg: 0 1px 2px rgba(0,0,0,.3), 0 16px 48px rgba(0,0,0,.45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #1F1E29; --paper-2: #282735; --paper-3: #242331; --paper-4: #2D2C3A; --card: #2A2937;
  --ink: #ECEBF1; --ink-2: #16151E; --ink-3: #34324A; --ink-soft: #C9C8D4;
  --muted: #A5A3B3; --muted-2: #8C8A99; --faint: #6E6C7C; --faint-2: #4A4858;
  --line: #3B3A4B; --line-warm: #383746; --line-soft: #333241;
  --mint-tint: rgba(40,233,159,.12); --mint-tint-2: rgba(40,233,159,.2); --mint-text: #5FE7B3;
  --rust: #E0705A; --rust-tint: rgba(224,112,90,.18); --lilac-tint: rgba(155,114,207,.2);
  --warm-text: #C4C0BB; --warm-lead: #9F9BA8; --warm-date: #7E7B88;
  --on-primary: #1F1E29; --primary-bg: #ECEBF1; --primary-hover: #FFFFFF;
  --nav-bg: rgba(36,35,49,.92); --scrim: rgba(0,0,0,.5); --dot: rgba(255,255,255,.05);
  --tag-added-bg: rgba(40,233,159,.16); --tag-added-fg: #6FE9BD; --tag-changed-bg: rgba(155,114,207,.22); --tag-changed-fg: #C9B8F0;
  --tag-fixed-bg: rgba(255,255,255,.08); --tag-fixed-fg: #C9C8D4; --tag-removed-bg: rgba(224,112,90,.2); --tag-removed-fg: #F2B5A4;
  --on-dark-line: rgba(255,255,255,.08);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 4px 14px rgba(0,0,0,.25);
  --shadow-md: 0 1px 2px rgba(0,0,0,.3), 0 10px 32px rgba(0,0,0,.35);
  --shadow-lg: 0 1px 2px rgba(0,0,0,.3), 0 16px 48px rgba(0,0,0,.45);
  color-scheme: dark;
}

/* Theme toggle: round pill button, sun in dark / moon in light */
.theme-toggle { width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--card); color: var(--muted); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: box-shadow var(--dur) var(--ease), color var(--dur); }
.theme-toggle:hover { color: var(--ink); box-shadow: var(--shadow-md); }
.theme-toggle:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.theme-toggle svg { width: 15px; height: 15px; }
.theme-toggle .sun { display: none; } .theme-toggle .moon { display: block; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; } :root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .sun { display: block; } :root:not([data-theme="light"]) .theme-toggle .moon { display: none; } }
.nav .theme-toggle { margin-left: 4px; }
@media (max-width: 800px) { .nav .theme-toggle { display: none; } }
.drawer-foot .theme-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 14px/1.5 var(--font-sans); letter-spacing: -0.01em;
}
h1, h2, h3, h4 { font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
a { text-decoration: none; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; }
code, pre, kbd, .mono { font-family: var(--font-mono); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- 3. Layout ---------- */
.container { max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section + .section { border-top: 1px solid var(--line-warm); }
@media (max-width: 640px) { :root { --section-y: 56px; } }

.dotgrid {
  /* Matches traks.dev exactly: ink at 6%, 26px grid, fades out by 65% of the viewport */
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 65%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 65%);
}
.dotgrid-wrap { position: relative; }
.dotgrid-wrap > .dotgrid { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.dotgrid--fixed { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- 4. Typography ---------- */
.display {
  font-size: clamp(40px, 7vw, 72px); font-weight: 700; line-height: 1.02;
  letter-spacing: -0.035em; max-width: 20ch;
}
.h2 { font-size: clamp(26px, 3.2vw, 34px); max-width: 24ch; }
.h3 { font-size: 20px; }
.lead { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 52ch; }
.body-muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.6; color: var(--muted); }
.fine { font: 400 11px/1.6 var(--font-mono); color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.fine .sep::before { content: " · "; }

.hl { position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: 3px;
  background: var(--mint); border-radius: 2px;
}

.eyebrow {
  display: block; margin-bottom: 16px;
  font: 500 11.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2);
}
.eyebrow--section { display: flex; gap: 16px; padding-top: 32px; border-top: 1px solid var(--line-warm); margin-bottom: 40px; }
.eyebrow--section .num { color: var(--faint); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 24px; border-radius: var(--radius-pill); border: 1px solid transparent;
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.btn--sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn--primary { background: var(--primary-bg); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--secondary { background: var(--card); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--secondary:hover { box-shadow: var(--shadow-md); }
.btn--accent { background: var(--mint); color: var(--mint-ink); box-shadow: var(--shadow-glow); }
.btn--accent:hover { filter: brightness(1.04); }
.btn--ghost { background: transparent; color: var(--muted); }
.btn--ghost:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; transform: none; }
.btn .meta { font: 400 11px var(--font-mono); color: var(--faint); margin-left: 2px; }
.btn .arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(2px); }

/* ---------- 6. Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: 64px;
  background: var(--nav-bg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-warm);
}
.nav .container { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav .brand { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; margin-right: auto; }
.nav .brand .mark { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); position: relative; }
.nav .brand .mark::after { content: ""; position: absolute; left: 5px; right: 5px; top: 5px; height: 4px; border-radius: 2px; background: var(--mint); }
.nav-links { display: flex; gap: 32px; }
.nav-link { font: 500 11.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: color var(--dur); }
.nav-link:hover { color: var(--ink); }
@media (max-width: 800px) { .nav-links { display: none; } }

/* ---------- 7. Cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.card--pad { padding: 28px; }
.card--float { box-shadow: var(--shadow-lg); border-radius: var(--radius-xl); }
.card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 20px; background: var(--paper-3); border-bottom: 1px solid var(--line);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; font-size: 13px; font-weight: 600;
}
.card--float > .card-head { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }

/* Feature grid: bordered container, hairline dividers */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.feature { background: var(--card); padding: 28px; }
.feature .icon { width: 16px; height: 16px; color: var(--muted-2); margin-bottom: 20px; display: block; }
.feature h3 { font-size: 15px; letter-spacing: -0.01em; margin-bottom: 8px; }
.feature p { font-size: 13px; line-height: 1.6; color: var(--muted); }
.feature--wide { grid-column: 1 / -1; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* Stat tiles */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.stat { padding: 20px 20px 22px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .label { display: block; font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.stat .value { font: 600 24px/1 var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.stat .delta { font: 400 11px var(--font-mono); color: var(--faint); margin-left: 6px; }
.stat .delta.up { color: var(--mint-text); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Bar rows (top pages / sources) */
.rows { font-size: 13px; }
.rows-head { display: flex; justify-content: space-between; padding: 0 0 10px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.row { position: relative; display: flex; justify-content: space-between; align-items: center; height: 36px; border-top: 1px solid var(--line-soft); }
.row .bar { position: absolute; left: 0; top: 5px; bottom: 5px; background: var(--paper-2); border-radius: 4px; z-index: 0; }
.row .k { position: relative; z-index: 1; padding-left: 8px; }
.row .v { position: relative; z-index: 1; padding-right: 8px; font: 400 12.5px var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ink-soft); }

/* Cost/progress rows */
.meter { padding: 14px 0; border-top: 1px solid var(--line-soft); }
.meter .top { display: flex; justify-content: space-between; font-size: 13.5px; }
.meter .top .v { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); }
.meter .track { height: 3px; background: var(--line-soft); border-radius: 2px; margin-top: 10px; overflow: hidden; }
.meter .fill { height: 100%; background: var(--mint); border-radius: 2px; }
.meter .note { text-align: right; font: 400 10.5px var(--font-mono); color: var(--faint); margin-top: 6px; }

/* ---------- 8. Badges, tags, dots ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-pill);
  font: 500 10.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  background: var(--paper-2); color: var(--muted);
}
.badge--new { background: var(--mint-tint); color: var(--mint-text); }
.badge--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.tag { display: inline-block; padding: 5px 12px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--card); font: 400 11.5px/1 var(--font-mono); color: var(--ink-soft); }
.dot-live { position: relative; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.dot-live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--mint); animation: ping 1s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }

/* ---------- 9. Dark panels ---------- */
.panel-dark { background: var(--ink-2); color: var(--panel-fg); border: 1px solid var(--on-dark-line); border-radius: var(--radius-lg); overflow: hidden; }
.panel-dark .panel-head {
  display: flex; justify-content: space-between; align-items: center; padding: 12px 20px;
  border-bottom: 1px solid var(--on-dark-line); font: 500 10.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted);
}
.panel-dark .panel-head .accent { color: var(--mint); }
.panel-dark pre { margin: 0; padding: 20px 24px; font: 400 12.5px/1.8 var(--font-mono); color: var(--panel-fg); overflow-x: auto; }
.panel-dark .t { color: var(--code-tag); } .panel-dark .s { color: var(--mint-on-dark); } .panel-dark .c { color: var(--code-comment); }
.panel-dark .chip { display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px; border-radius: var(--radius-sm); background: var(--ink-3); font: 400 11px var(--font-mono); color: var(--code-tag); }

.cta-band { background: var(--ink-2); color: var(--panel-fg); border-radius: var(--radius-xl); padding: 80px 24px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, var(--dot-on-dark) 1px, transparent 1px); background-size: 26px 26px; pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: 32px; margin-bottom: 16px; }
.cta-band p { color: var(--on-dark-muted); max-width: 44ch; margin: 0 auto 32px; font-size: 15px; line-height: 1.6; }

/* ---------- 10. Forms ---------- */
.input {
  width: 100%; height: 40px; padding: 0 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 14px; transition: border-color var(--dur), box-shadow var(--dur);
}
.input::placeholder { color: var(--faint); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 .5px var(--ink); }
.input.is-error { border-color: var(--rust); box-shadow: inset 0 0 0 .5px var(--rust); }
.label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.help { font-size: 12px; color: var(--muted); margin-top: 6px; }
.help.is-error { color: var(--rust); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--ink) var(--pct, 40%), var(--line) var(--pct, 40%)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 2px solid var(--card); box-shadow: var(--shadow-sm); }

/* ---------- 11. Lists ---------- */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--ink-soft); line-height: 1.55; }
.checks li::before { content: "✓"; flex: none; color: var(--muted-2); font-size: 13px; line-height: 1.6; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 24px 1fr; gap: 16px; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--paper-2); border: 1px solid var(--line); font: 500 11px var(--font-mono); color: var(--muted);
}
.steps h3 { font-size: 15px; letter-spacing: -0.01em; margin-bottom: 6px; }
.steps p { font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* ---------- 12. Footer ---------- */
.footer { border-top: 1px solid var(--line-warm); padding: 64px 0; }
.footer .container { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; }
.footer .brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; margin-right: auto; }
.footer .links { display: flex; gap: 28px; }
.footer .links a { font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.footer .links a:hover { color: var(--ink); }
.footer .meta { font: 400 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }

/* ---------- 13. Motion ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .dot-live::after { animation: none; } }

/* =====================================================================
   14. Docs & changelog components (from traks.dev/docs and /changelog)
   ===================================================================== */

/* Docs page layout: 220px sticky sidebar + content, 1120px max */
.docs-layout { max-width: calc(1120px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; }
.docs-side { position: sticky; top: 64px; max-height: calc(100vh - 64px); overflow-y: auto; padding: 32px 8px 32px 0; align-self: start; }
.docs-main { padding: 32px 0 96px; }
@media (max-width: 1024px) { .docs-layout { grid-template-columns: 1fr; gap: 0; } .docs-side { display: none; } }

.side-group + .side-group { margin-top: 24px; }
.side-group .side-label { margin: 0 0 8px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.side-group ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.side-link { display: block; margin-left: -1px; padding: 4px 0 4px 14px; border-left: 2px solid transparent; font-size: 13px; line-height: 1.375; color: var(--muted); transition: color var(--dur), border-color var(--dur); }
.side-link:hover { color: var(--ink); border-color: var(--faint); }
.side-link.is-active { color: var(--ink); font-weight: 600; border-color: var(--ink); }

/* Brand crumb: "Traks  DOCS" in the nav */
.brand .crumb { margin-left: 4px; font: 500 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }

/* Page title block */
.page-title { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.page-lead { margin-top: 8px; font-size: 15px; line-height: 1.625; color: var(--warm-lead); max-width: 58ch; }

/* Doc section card: numbered, floating, one per section */
.doc-card { background: var(--card); border: 1px solid var(--line-warm); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); margin-bottom: 24px; scroll-margin-top: 96px; }
.doc-card .num { display: block; font: 500 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.doc-card h2 { margin-top: 8px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.doc-card .sub { margin-top: 6px; font-size: 14px; line-height: 1.625; color: var(--muted); }
.doc-card h3 { margin-top: 28px; font-size: 14px; font-weight: 600; }
.doc-card h3 + p, .doc-card h3 + ul { margin-top: 8px; }
.doc-card p { font-size: 14px; line-height: 1.625; color: var(--muted); margin-top: 16px; }
.doc-card p:first-of-type { margin-top: 16px; }
.doc-card strong { font-weight: 700; color: var(--warm-text); }
.doc-card a:not(.btn):not(.chip) { color: var(--ink); font-weight: 600; text-underline-offset: 2px; }
.doc-card a:not(.btn):not(.chip):hover { text-decoration: underline; }
@media (max-width: 640px) { .doc-card { padding: 24px; } }

/* Prose bullets */
.bullets { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 10px; font-size: 14px; line-height: 1.625; color: var(--warm-text); }
.bullets li::marker { color: var(--faint); }

/* Numbered doc steps: 28px white circle with mono digit */
.doc-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 20px; counter-reset: dstep; }
.doc-steps li { display: flex; gap: 16px; counter-increment: dstep; }
.doc-steps li::before {
  content: counter(dstep); flex: none; margin-top: 2px; width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; background: var(--card); border: 1px solid var(--line-warm); font: 600 11.5px var(--font-mono); color: var(--ink);
}
.doc-steps h4 { margin: 4px 0 4px; font-size: 14px; font-weight: 600; }
.doc-steps p { margin: 0; font-size: 14px; line-height: 1.625; color: var(--warm-text); }

/* Inline code */
.doc-card code:not(pre code), .prose code:not(pre code), .release code, .callout code { padding: 2px 6px; border-radius: 8px; background: var(--paper-2); font: 400 12px var(--font-mono); color: var(--ink); }

/* Code block inside a light card (lighter ink than the marketing panel, no header) */
.pre-light { margin: 12px 0 0; padding: 14px 16px; border-radius: 16px; background: var(--ink-3); color: var(--code-tag); font: 400 12.5px/1.625 var(--font-mono); overflow-x: auto; white-space: pre-wrap; word-break: break-all; }
.pre-light .s { color: var(--mint-on-dark); } .pre-light .c { color: var(--code-comment); } .pre-light .k { color: var(--panel-fg); }
.pre-light .file { display: block; margin-bottom: 12px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }

/* Callout / note */
.callout { margin-top: 20px; padding: 16px; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--card); box-shadow: var(--shadow-md); font-size: 13px; line-height: 1.625; color: var(--muted); }
.callout strong { color: var(--ink); font-weight: 600; }

/* Framework / option chips (sans, not mono) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-block; padding: 6px 14px; border-radius: var(--radius-pill); background: var(--card); border: 1px solid var(--line-warm); font-size: 12.5px; font-weight: 500; color: var(--ink); transition: border-color var(--dur); }
.chip:hover { border-color: var(--faint); }

/* Quick-start grid: 4 cells, hairline dividers, hover tint */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 32px 0; background: var(--line-warm); border: 1px solid var(--line-warm); border-radius: var(--radius-lg); overflow: hidden; }
.quick { display: flex; flex-direction: column; padding: 16px; background: var(--card); transition: background var(--dur); }
.quick:hover { background: var(--paper-4); }
.quick .num { font: 500 10.5px/1 var(--font-mono); letter-spacing: .14em; color: var(--faint); margin-bottom: 12px; }
.quick h3 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.quick p { font-size: 12.5px; line-height: 1.5; color: var(--muted-2); }
@media (max-width: 900px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .quick-grid { grid-template-columns: 1fr; } }

/* Prev / next footer inside a doc card */
.prev-next { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 12.5px; }
.prev-next .prev { color: var(--muted-2); font-weight: 400; }
.prev-next .prev:hover { color: var(--ink); }
.prev-next .next { color: var(--ink); font-weight: 600; margin-left: auto; }
.prev-next .next:hover { text-decoration: underline; }

/* Changelog timeline */
.changelog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 40px 0 32px; }
.changelog-head .meta { font-size: 12.5px; color: var(--muted-2); }
.changelog-head .meta .mono { color: var(--ink); }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.release { position: relative; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 0 0 32px 0; }
.release::before { content: ""; position: absolute; left: -5px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--faint-2); border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--line); }
.release.is-latest::before { background: var(--mint); }
.release .who { padding-left: 24px; padding-top: 6px; }
.release .ver { font: 500 12.5px var(--font-mono); color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.release .date { display: block; margin-top: 4px; font-size: 12.5px; color: var(--warm-date); }
.release .card { padding: 20px 24px; display: grid; gap: 16px; }
.release .group { display: flex; gap: 16px; align-items: flex-start; }
.release .group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13.5px; line-height: 1.625; color: var(--ink-soft); }
.release .group li { display: flex; gap: 10px; }
.release .group li::before { content: "•"; color: var(--faint); }
@media (max-width: 700px) { .release { grid-template-columns: 1fr; gap: 12px; } .release .card { margin-left: 24px; } .release .group { flex-direction: column; gap: 8px; } }

/* Release-type tags (sans, semibold, 72px fixed so bullets align) */
.rtag { flex: none; width: 72px; margin-top: 2px; padding: 2px 8px; border-radius: var(--radius-pill); text-align: center; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.rtag--added { background: var(--tag-added-bg); color: var(--tag-added-fg); }
.rtag--changed { background: var(--tag-changed-bg); color: var(--tag-changed-fg); }
.rtag--fixed { background: var(--tag-fixed-bg); color: var(--tag-fixed-fg); }
.rtag--removed { background: var(--tag-removed-bg); color: var(--tag-removed-fg); }
.badge--latest { background: var(--tag-added-bg); color: var(--tag-added-fg); font-size: 9.5px; padding: 3px 7px; }

/* =====================================================================
   15. Tool-site / content-site components (added for demo-toolsite.html)
   Not on traks.dev. Built in the same language; review before relying on them.
   ===================================================================== */

/* Wide container for ad-supported layouts (content + 300px rail) */
.container--wide { max-width: calc(1280px + var(--gutter) * 2); }

/* Nav active state: ink text with a 2px mint underline (the headline highlight, shrunk) */
.nav-link.is-active { color: var(--ink); position: relative; }
.nav-link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--mint); border-radius: 1px; }

/* Ad slots: paper-2 field, hairline border, mono label. Never dashed, never grey boxes. */
.ad { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: var(--paper-2); border: 1px solid var(--line-warm); border-radius: var(--radius-lg); position: relative; }
.ad::before { content: "Advertisement"; position: absolute; top: 10px; left: 0; right: 0; text-align: center; font: 500 9.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.ad .slot { font: 400 11px var(--font-mono); color: var(--faint-2); }
.ad--rail { width: 300px; min-height: 600px; }
.ad--leader { width: 100%; min-height: 280px; }
.ad--inline { width: 100%; min-height: 250px; }
.ad--sticky { position: sticky; top: 88px; }

/* Hero with a right-hand ad rail */
.hero-rail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.hero-rail .hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
@media (max-width: 1200px) { .hero-rail { grid-template-columns: 1fr; } .hero-rail > .ad--rail { display: none; } }
@media (max-width: 860px) { .hero-rail .hero-grid { grid-template-columns: 1fr; } }

.display--sm { font-size: clamp(34px, 4.2vw, 52px); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }

/* Icon note: small tinted callout with an icon square (was "100% private" / "Did you know?") */
.note { display: flex; gap: 14px; padding: 14px 16px; background: var(--paper-2); border: 1px solid var(--line-warm); border-radius: 14px; }
.note .ico { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line-warm); color: var(--ink); }
.note .ico svg { width: 14px; height: 14px; }
.note .ico--mint { background: var(--mint-tint); border-color: var(--mint-tint-2); color: var(--mint-text); }
.note h4 { margin: 0 0 2px; font-size: 13px; font-weight: 600; }
.note p { font-size: 12.5px; line-height: 1.55; color: var(--muted); }

/* Metric grid: 2x3 tiles with icon, big mono number, caption (the "overview" card) */
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft); border-radius: 0 0 var(--radius-lg) var(--radius-lg); overflow: hidden; }
.metric { display: flex; gap: 14px; padding: 18px 20px; background: var(--card); }
.metric .ico { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--paper-2); color: var(--muted); }
.metric .ico svg { width: 14px; height: 14px; }
.metric .label { display: block; font: 500 10px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.metric .value { display: block; font: 600 26px/1 var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.metric .cap { display: block; margin-top: 8px; font: 400 10.5px/1 var(--font-mono); color: var(--faint); letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 480px) { .metric-grid { grid-template-columns: 1fr; } }

/* Banner: paper-2 band with a title, one line, and a button on the right */
.banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; background: var(--paper-2); border: 1px solid var(--line-warm); border-radius: var(--radius-lg); }
.banner h3 { font-size: 18px; margin-bottom: 4px; }
.banner p { font-size: 13.5px; color: var(--muted); max-width: 60ch; }
@media (max-width: 640px) { .banner { flex-direction: column; align-items: flex-start; } }

/* Section head: title + lead on the left, secondary action on the right */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head .lead { font-size: 15px; margin-top: 8px; }
.section-head .btn { flex: none; }
@media (max-width: 640px) { .section-head { flex-direction: column; align-items: flex-start; } }

/* Tool list card: a card with a header row and N tool links across */
.tool-card .card-head { font-size: 17px; flex-direction: column; align-items: flex-start; gap: 2px; padding: 20px 24px; }
.tool-card .card-head small { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.tool-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border-radius: 0 0 var(--radius-lg) var(--radius-lg); overflow: hidden; }
.tool { display: flex; gap: 14px; padding: 20px 24px; background: var(--card); transition: background var(--dur); }
.tool:hover { background: var(--paper-4); }
.tool .ico { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--paper-2); color: var(--muted); }
.tool .ico svg { width: 14px; height: 14px; }
.tool h4 { margin: 0 0 4px; font-size: 14px; font-weight: 600; }
.tool p { font-size: 12.5px; line-height: 1.55; color: var(--muted); }
@media (max-width: 800px) { .tool-list { grid-template-columns: 1fr; } }

/* Card grid, 3 across */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

/* Spec card (device / product) */
.spec-card { display: flex; flex-direction: column; padding: 20px; transition: border-color var(--dur), box-shadow var(--dur); }
.spec-card:hover { border-color: var(--faint); box-shadow: var(--shadow-sm); }
.spec-card h3 { font-size: 15px; letter-spacing: -0.01em; }
.spec-card .sub { display: flex; align-items: center; gap: 8px; margin: 8px 0 16px; font-size: 12.5px; color: var(--muted); }
.spec-card .sub .badge { margin-right: 4px; }
.spec-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden; }
.spec-pair div { padding: 10px 12px; background: var(--paper-3); }
.spec-pair .label { display: block; font: 500 9.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.spec-pair .value { font: 600 13px/1 var(--font-mono); font-variant-numeric: tabular-nums; }
.kv { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 0; }
.kv li { display: flex; justify-content: space-between; align-items: center; height: 30px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line-soft); }
.kv li:first-child { border-top: 0; }
.kv .val { font: 500 11px var(--font-mono); color: var(--ink); background: var(--paper-2); padding: 3px 8px; border-radius: 6px; }
.spec-card .actions { display: grid; gap: 8px; margin-top: 16px; }
.spec-card .actions .btn { width: 100%; height: 38px; font-size: 13px; }

/* Post card (guides / articles) */
.post-card { display: flex; flex-direction: column; padding: 24px; transition: border-color var(--dur), box-shadow var(--dur); }
.post-card:hover { border-color: var(--faint); box-shadow: var(--shadow-sm); }
.post-card h3 { font-size: 16px; line-height: 1.35; letter-spacing: -0.01em; margin-bottom: 10px; }
.post-card p { font-size: 13.5px; line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .meta { margin-top: auto; padding-top: 16px; font: 400 11px var(--font-mono); color: var(--faint); letter-spacing: .04em; text-transform: uppercase; }
.post-card .meta .sep::before { content: " · "; }

/* Multi-column footer */
.footer--cols { padding: 64px 0 40px; }
.footer--cols { border-top: 0; padding-top: 0; }
.footer--cols .container { display: block; }
.footer--cols .container::before { content: ""; display: block; height: 1px; background: var(--line-warm); margin-bottom: 64px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-grid .about p { margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 32ch; }
.footer-col h5 { margin: 0 0 14px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 13px; color: var(--muted); }
.footer-col a:hover { color: var(--ink); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-warm); font: 400 11px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.footer-legal a { color: var(--muted); }
.footer-legal .right { margin-left: auto; }
.footer-legal .disclaimer { width: 100%; text-transform: none; letter-spacing: 0; font-family: var(--font-sans); font-size: 12px; color: var(--faint); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Logo strip ("featured on" badges): monochrome pills, no third-party colours */
.logo-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line-warm); }
.logo-strip .pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid var(--line-warm); background: var(--card); font-size: 12px; font-weight: 500; color: var(--muted); }
.logo-strip .pill small { font: 500 9px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.logo-strip .pill .dot { width: 8px; height: 8px; border-radius: 2px; background: var(--faint-2); }

/* =====================================================================
   16. Mobile navigation: hamburger + slide-in drawer (added; not on traks.dev)
   Markup: <button class="nav-toggle" aria-controls="drawer" aria-expanded="false">…</button>
           <div class="drawer" id="drawer" hidden> <div class="drawer-scrim"></div> <div class="drawer-panel">…</div> </div>
   Script: nav.js (toggles .is-open, traps Escape, locks body scroll)
   ===================================================================== */
.nav-toggle { display: none; width: 40px; height: 40px; margin-left: 8px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--card); cursor: pointer; place-items: center; box-shadow: var(--shadow-sm); transition: box-shadow var(--dur) var(--ease); }
.nav-toggle:hover { box-shadow: var(--shadow-md); }
.nav-toggle:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.nav-toggle .bars { position: relative; width: 16px; height: 10px; display: block; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 1px; background: var(--ink); transition: transform .2s var(--ease), top .2s var(--ease); }
.nav-toggle .bars::before { top: 0; } .nav-toggle .bars::after { top: 8.5px; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 4.25px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 4.25px; transform: rotate(-45deg); }
@media (max-width: 800px) { .nav-toggle { display: grid; } .nav .btn { display: none; } .nav .btn.nav-cta--keep { display: inline-flex; } }

.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer-scrim { position: absolute; inset: 0; background: var(--scrim); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); opacity: 0; transition: opacity .2s var(--ease); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); background: var(--paper-3); border-left: 1px solid var(--line-warm); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .24s var(--ease); padding-top: env(safe-area-inset-top, 0px); }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 16px 0 24px; border-bottom: 1px solid var(--line-warm); }
.drawer-head .brand { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.drawer-close { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--card); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.drawer-close svg { width: 14px; height: 14px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 0; }
.drawer-label { padding: 12px 24px 6px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.drawer-link { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; font-size: 15px; font-weight: 500; color: var(--ink); border-left: 2px solid transparent; transition: background var(--dur), border-color var(--dur); }
.drawer-link:hover { background: var(--paper-2); }
.drawer-link.is-active { border-color: var(--mint); background: var(--card); }
.drawer-link .chev { color: var(--faint); font-size: 12px; }
.drawer-link + .drawer-link { border-top: 1px solid var(--line-soft); }
.drawer-foot { padding: 16px 24px calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-warm); display: grid; gap: 10px; }
.drawer-foot .btn { width: 100%; }
.drawer-foot .fine { text-align: center; }
body.drawer-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .drawer-panel, .drawer-scrim, .nav-toggle .bars::before, .nav-toggle .bars::after { transition: none; } }
.drawer-head .brand .mark { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); position: relative; }
.drawer-head .brand .mark::after { content: ""; position: absolute; left: 5px; right: 5px; top: 5px; height: 4px; border-radius: 2px; background: var(--mint); }
