/* AshlarIcons site. Calm, light, geometric: pale surfaces, 1px borders, 10px radii,
   headings that put the key words in ink and the rest in grey. Tokens first. */
:root {
  --bg: #ffffff;
  --bg-soft: #f8f8f9;
  --tile: #f4f4f5;
  --bg-sunk: #efeff1;
  --ink: #0d0d14;
  --ink-2: #4b4b57;
  --ink-3: #8d8d99;
  --ink-ghost: #b9b9c2;
  --icon-ink: #16163a;
  --line: #e7e7ea;
  --line-strong: #d6d6dc;
  --accent: #6a4cf0;
  --accent-btn: #cfc3ff;
  --accent-btn-hover: #bfaeff;
  --accent-btn-line: #a993ff;
  --accent-btn-ink: #1d1440;
  --accent-soft: #f1edff;
  --band: #120c2b;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgb(13 13 20 / 5%), 0 6px 20px rgb(13 13 20 / 6%);
  --shadow-lg: 0 24px 64px rgb(13 13 20 / 14%);
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --header-h: 72px;
  color-scheme: light;
}
/* Light is the default whatever the OS prefers; dark is opt-in with <html data-theme="dark">. */
:root[data-theme="dark"] {
  --bg: #0b0b10; --bg-soft: #131319; --tile: #17171e; --bg-sunk: #1d1d25;
  --ink: #f2f2f6; --ink-2: #b3b3bf; --ink-3: #7b7b88; --ink-ghost: #4d4d58; --icon-ink: #e9e9f5;
  --line: #24242c; --line-strong: #32323c; --accent-soft: #211b3c;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
code, pre { font-family: var(--mono); font-size: 13.5px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.ghost { color: var(--ink-ghost); }
.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: 30; height: var(--header-h); background: rgb(255 255 255 / 92%); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 8px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -0.02em; font-size: 21px; color: var(--ink); margin-right: auto; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 17px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 16px; color: var(--ink-2); font-size: 16px; border-radius: 8px; }
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); font-weight: 700; }
.nav .search-link { font-size: 20px; padding: 8px 12px; }
.header-cta { margin-left: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink);
  font-weight: 600; font-size: 14px; cursor: pointer; transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--bg-sunk); }
.btn-primary { background: var(--accent-btn); border-color: var(--accent-btn-line); color: var(--accent-btn-ink); }
.btn-primary:hover { background: var(--accent-btn-hover); }
.btn-lg { height: 50px; padding: 0 22px; font-size: 16px; }
.btn-sm { height: 32px; padding: 0 11px; font-size: 13px; border-radius: 8px; }
.btn .ash { font-size: 18px; }
.chip-btn {
  height: 38px; padding: 0 14px; border: 1px solid var(--line-strong); background: var(--bg); border-radius: 6px;
  font-size: 14.5px; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.chip-btn:hover { color: var(--ink); border-color: var(--ink-3); }
.chip-btn.on { color: var(--ink); border: 1.5px solid var(--ink); font-weight: 600; }

/* ---------- headings with a grey tail ---------- */
.lede-h { font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; margin: 0; color: var(--ink); }
.lede-h .ghost { color: var(--ink-ghost); }

/* ---------- home: hero ---------- */
.hero { padding: 72px 0 40px; background: linear-gradient(var(--bg-soft), var(--bg)); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 48px; }
.hero .lead { font-size: 21px; color: var(--ink-2); margin: 22px 0 34px; max-width: 500px; line-height: 1.5; }
.hero-meta { margin-top: 46px; color: var(--ink-3); font-size: 15px; }
.hero-meta ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; gap: 28px; flex-wrap: wrap; }
.hero-meta li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; }
.hero-meta li .ash { color: var(--accent); font-size: 18px; }
.mock-wrap { display: flex; flex-direction: column; gap: 14px; }
.mock {
  height: 390px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--tile);
  position: relative; overflow: hidden; display: grid; place-items: center;
}
.mock-badge { position: absolute; right: 14px; bottom: 14px; background: #fff6cc; border: 1px solid #f1d861; color: #463a00; font-size: 13px; padding: 5px 10px; border-radius: 8px; }
.mock-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.mock-tab { border: 1px solid transparent; background: var(--bg-soft); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.mock-tab.on { background: var(--bg); border-color: var(--line-strong); color: var(--ink); }
/* phone mock */
.phone { width: 270px; height: 470px; margin-top: -70px; border-radius: 40px; background: #fff; border: 10px solid #e9e9ee; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; transform: rotate(-4deg); }
.phone-hero { margin: 14px; height: 170px; border-radius: 18px; background: linear-gradient(135deg, #cfc3ff, #8f76ff); }
.phone-stats { display: flex; gap: 16px; padding: 0 18px; color: var(--ink-2); font-size: 13px; }
.phone-stats span { display: flex; align-items: center; gap: 5px; }
.phone-stats .ash { font-size: 17px; }
.phone-tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 14px 10px 26px; border-top: 1px solid var(--line); font-size: 24px; color: var(--icon-ink); }
.phone-tabbar .on { color: var(--accent); }
/* dashboard mock */
.dash { width: 86%; height: 300px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 150px 1fr; overflow: hidden; }
.dash aside { background: var(--bg-soft); border-right: 1px solid var(--line); padding: 16px 10px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.dash aside div { display: flex; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 7px; color: var(--ink-2); }
.dash aside div.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.dash aside .ash { font-size: 16px; }
.dash main { padding: 18px; }
.dash .kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash .kpi { border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.dash .kpi b { display: block; font-size: 20px; }
.dash .kpi span { font-size: 12px; color: var(--ink-3); display: flex; gap: 5px; align-items: center; }
.dash .bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 14px; }
.dash .bars i { flex: 1; background: var(--accent-btn); border-radius: 6px 6px 2px 2px; }
/* menu mock */
.menu { width: 230px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; font-size: 14px; }
.menu div { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; color: var(--ink-2); }
.menu div.on { background: var(--bg-soft); color: var(--ink); }
.menu .ash { font-size: 17px; color: var(--icon-ink); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.menu .danger, .menu .danger .ash { color: #c0262d; }

/* ---------- home: style strip ---------- */
.strip { overflow: hidden; padding: 28px 0 8px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip-track { display: flex; gap: 16px; width: max-content; animation: drift 60s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }
.style-card { width: 280px; border-radius: var(--radius-lg); padding: 34px 26px 18px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.style-card .icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 42px; font-size: 30px; }
.style-card .name { font-size: 19px; color: var(--ink-2); }
.style-card .name b { color: var(--ink); font-weight: 600; }
.tint-0 { background: #eef3fb; color: #1f2a44; } .tint-1 { background: #f6ecec; color: #5a2a33; }
.tint-2 { background: #f3effc; color: #352066; } .tint-3 { background: #eef2ea; color: #34452a; }
.tint-4 { background: #fbf3e8; color: #5a3d14; } .tint-5 { background: #ebf5f4; color: #194a46; }

/* ---------- home: sections ---------- */
.section { padding: 100px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head.left { text-align: left; }
.section-head h2 { font-size: 40px; }
.section-head p { color: var(--ink-2); font-size: 17px; margin: 14px 0 0; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.soft-card {
  min-height: 330px; border: 1px solid #e2dbff; border-radius: var(--radius-lg); padding: 30px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #f1edff, #fcfbff 70%);
}
.soft-card small { font-size: 13px; color: var(--ink-2); }
.soft-card h3 { font-size: 26px; margin: 4px 0 22px; letter-spacing: -0.02em; }
.soft-card .platform-row { display: flex; flex-wrap: wrap; gap: 10px; }
.soft-card .platform-row span { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-weight: 600; font-size: 14px; }
.soft-card .platform-row .ash { font-size: 20px; color: var(--accent); }
.soft-card pre { position: relative; z-index: 1; margin: 18px 0 0; background: rgb(255 255 255 / 80%); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; color: var(--ink-2); overflow-x: auto; }
.soft-card .deco { position: absolute; font-size: 120px; right: -10px; bottom: -18px; color: rgb(106 76 240 / 10%); }
.points { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; margin-top: 40px; }
.points span { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.points .ash { font-size: 22px; color: var(--accent); }
.fixes { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.fix { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fix:nth-child(3n) { border-right: 0; }
.fix:nth-last-child(-n+3) { border-bottom: 0; }
.fix .ash { font-size: 26px; color: var(--accent); }
.fix h3 { font-size: 17px; margin: 14px 0 6px; }
.fix p { margin: 0; color: var(--ink-2); font-size: 15px; }
.showcase { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: var(--bg-soft); }
.style-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.showcase-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 10px; }
.showcase-grid div { aspect-ratio: 1; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; font-size: 28px; color: var(--icon-ink); }
.band { background: var(--band); color: #fff; text-align: center; padding: 110px 0; }
.band h2 { font-size: 40px; margin: 0; letter-spacing: -0.025em; line-height: 1.2; }
.band h2 .ghost { color: #6f6990; }
.band .btn { margin-top: 30px; }

/* ---------- footer ---------- */
.site-footer { padding: 64px 0 28px; font-size: 15px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.foot-cols h4 { margin: 0 0 16px; font-size: 15px; }
.foot-cols a, .foot-cols span { display: block; color: var(--ink-2); margin-bottom: 12px; }
.foot-cols a:hover { color: var(--ink); }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--ink-2); font-size: 14px; flex-wrap: wrap; gap: 12px; }

/* ---------- browser ---------- */
.browse-band { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 26px 0 30px; }
.big-search {
  max-width: 768px; margin: 0 auto; display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 18px;
  border: 2px solid var(--line-strong); border-radius: var(--radius); background: var(--bg);
}
.big-search:focus-within { border-color: var(--accent); }
.big-search .ash { font-size: 22px; color: var(--accent); }
.big-search input { flex: 1; border: 0; outline: 0; background: none; font-size: 17px; min-width: 0; }
kbd { font-family: var(--mono); font-size: 11.5px; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--bg-soft); color: var(--ink-2); }
.style-filter { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 30px; margin-top: 24px; padding: 0 16px; }
.style-filter .group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.style-filter .group > b { font-size: 17px; margin-right: 8px; }
.browse { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding: 32px 24px 80px; max-width: 1320px; margin: 0 auto; }
.cats { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; }
.cats h4 { margin: 0 0 12px; font-size: 15px; }
.cat { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 4px; border: 0; background: none; cursor: pointer; text-align: left; color: var(--ink); font-size: 15px; border-radius: 6px; }
.cat .ash { font-size: 15px; color: var(--icon-ink); }
.cat .n { margin-left: auto; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cat:hover { background: var(--bg-soft); }
.cat.on { background: var(--bg-sunk); font-weight: 600; }
.results-head h1 { font-size: 22px; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.01em; }
.results-head p { margin: 0 0 22px; color: var(--ink-2); font-size: 15px; }
.controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-bottom: 18px; }
.control { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.control input[type=range] { width: 120px; accent-color: var(--accent); }
.control input[type=color] { width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 2px; background: var(--bg); cursor: pointer; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(var(--cell, 92px), 1fr)); }
.grid.all { grid-template-columns: repeat(10, minmax(0, 1fr)); }
.tile {
  aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 6px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--tile); cursor: pointer; position: relative; color: var(--icon, var(--icon-ink));
}
.tile .ash { font-size: var(--size, 28px); }
.tile:hover { background: var(--bg); box-shadow: var(--shadow); }
.tile.on { border: 2px solid var(--accent); background: var(--bg); }
.tile .label { font-size: 11px; color: var(--ink-3); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.empty { padding: 80px 24px; text-align: center; color: var(--ink-2); }
.empty .ash { font-size: 40px; color: var(--ink-3); }

/* detail panel */
.panel {
  position: fixed; right: 16px; top: calc(var(--header-h) + 16px); bottom: 16px; width: 400px; z-index: 40; display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.panel-head { display: flex; align-items: center; gap: 8px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.panel-head h3 { margin: 0; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-head h3 span { color: var(--ink-3); font-weight: 400; }
.panel-head .close { margin-left: auto; }
.icon-btn { width: 34px; height: 34px; border-radius: 8px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); font-size: 18px; }
.icon-btn:hover { background: var(--bg-soft); color: var(--ink); }
.panel-body { overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 18px; }
.preview { border-radius: 12px; background: var(--tile); overflow: hidden; }
.preview .stage { height: 210px; display: grid; place-items: center; color: var(--icon, var(--icon-ink)); }
.preview .stage .ash { font-size: 96px; }
.style-strip { display: flex; justify-content: space-between; gap: 2px; padding: 10px 12px; border-top: 1px solid var(--line); }
.style-strip button { flex: 1; aspect-ratio: 1; max-width: 40px; border: 0; background: none; border-radius: 8px; cursor: pointer; display: grid; place-items: center; font-size: 22px; color: var(--icon, var(--icon-ink)); }
.style-strip button:hover { background: var(--bg-sunk); }
.style-strip button.on { background: var(--line-strong); }
.label-sm { font-size: 15px; color: var(--ink-3); margin: 0 0 10px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--ink-2); background: var(--bg); }
.tag.cat-tag { background: var(--accent-soft); border-color: transparent; color: var(--accent); font-weight: 600; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs button { height: 40px; padding: 0 18px; border: 1px solid var(--line); background: var(--bg); border-radius: 8px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.tabs button.on { background: var(--accent-soft); border-color: var(--accent-btn); color: var(--ink); font-weight: 600; }
.code { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.code pre { margin: 0; padding: 16px; padding-right: 104px; overflow-x: auto; white-space: pre-wrap; word-break: break-all; color: #3f3fa8; max-height: 220px; min-height: 80px; }
.code .copy { position: absolute; top: 10px; right: 10px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.actions .btn { background: var(--bg-sunk); border-color: transparent; height: 46px; }
.actions .btn:hover { background: var(--line); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; margin: 0; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; font-family: var(--mono); font-size: 13px; }
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 60; padding: 10px 16px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg); display: flex; gap: 8px; align-items: center;
}

/* ---------- icon page ---------- */
.icon-page { padding: 28px 0 90px; }
.icon-search { display: flex; align-items: center; gap: 14px; border: 2px solid var(--line-strong); border-radius: var(--radius); padding: 10px; }
.icon-search .cat-pick { display: flex; align-items: center; gap: 10px; background: var(--bg-soft); border-radius: 8px; height: 46px; padding: 0 16px; color: var(--ink-2); font-size: 15px; white-space: nowrap; }
.icon-search .cat-pick b { color: var(--ink); font-weight: 500; }
.icon-search a.q { flex: 1; display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 16px; }
.icon-search a.q .ash { color: var(--accent); font-size: 21px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 16px; color: var(--ink-2); margin: 26px 0 30px; }
.crumbs .ash { font-size: 16px; color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.icon-hero { display: grid; grid-template-columns: 500px 1fr; gap: 32px; align-items: start; }
.icon-hero .preview .stage { height: 386px; }
.icon-hero .preview .stage .ash { font-size: 150px; }
.icon-hero .style-strip { padding: 12px 24px; }
.icon-hero h1 { font-size: 32px; margin: 4px 0 30px; letter-spacing: -0.02em; font-weight: 700; }
.icon-hero h1 span { font-weight: 400; }
.icon-hero h2 { font-size: 18px; color: var(--ink-3); font-weight: 400; margin: 28px 0 12px; }
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 16px; }
.related-h { font-size: 24px; margin: 60px 0 18px; letter-spacing: -0.02em; }

/* ---------- docs ---------- */
.docs { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding: 56px 24px 100px; }
.docs nav { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: flex; flex-direction: column; gap: 2px; }
.docs nav a { padding: 7px 10px; border-radius: 8px; color: var(--ink-2); font-size: 15px; }
.docs nav a:hover { background: var(--bg-soft); color: var(--ink); }
.prose { max-width: 760px; }
.prose h1 { font-size: 40px; letter-spacing: -0.03em; margin: 0 0 12px; }
.prose h2 { font-size: 24px; letter-spacing: -0.02em; margin: 44px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose pre { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; overflow-x: auto; }
.prose code { background: var(--bg-soft); padding: 1px 5px; border-radius: 5px; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.prose th, .prose td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink-3); font-weight: 600; font-size: 13px; }

@media (max-width: 1100px) {
  .grid.all { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .icon-hero { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav a:not(.search-link) { display: none; }
  .hero-grid, .cards-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .fixes { grid-template-columns: 1fr; }
  .fix { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .browse { grid-template-columns: 1fr; padding: 20px 16px 60px; }
  .cats { position: static; max-height: none; display: flex; overflow-x: auto; gap: 4px; }
  .cats h4 { display: none; }
  .cat { width: auto; white-space: nowrap; }
  .cat .n { display: none; }
  .panel { left: 8px; right: 8px; width: auto; top: auto; height: 80vh; bottom: 8px; }
  .docs { grid-template-columns: 1fr; }
  .docs nav { display: none; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
}

/* ---------- wordmark: "ashlar" in ink, the product in the accent tone ---------- */
.wordmark { font-weight: 700; letter-spacing: -0.03em; }
.wordmark .wm-product { color: var(--accent); }
.band .wordmark span:first-child { color: #fff; }
.panel .style-strip { padding: 8px 6px; gap: 0; }
.panel .style-strip button { min-width: 0; font-size: 19px; }

/* ---------- pagination: Previous · 1 2 3 4 … 604 · Next · Page 1 of 604 ---------- */
.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 40px 0 8px; }
.pager-step { height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-soft); color: var(--ink); font-weight: 700; font-size: 15px; cursor: pointer; }
.pager-step:hover:not([disabled]) { background: var(--bg-sunk); }
.pager-step[disabled] { color: var(--ink-3); font-weight: 600; cursor: default; }
.pager-num { min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--bg); color: var(--ink); font-size: 14px; cursor: pointer; }
.pager-num:hover { border-color: var(--ink-3); }
.pager-num.on { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.pager-gap { color: var(--ink-3); padding: 0 4px; }
.pager-info { margin-left: 14px; color: var(--ink-3); font-size: 14px; }
.browse + .site-footer, main + .site-footer { border-top: 1px solid var(--line); }

/* =====================================================================
   Ashlar landing: limestone surfaces, icons laid as coursed masonry.
   ===================================================================== */
:root { --stone: #f6f3ee; --stone-2: #efe9e0; --stone-line: #e2d9cb; --stone-ink: #5b5243; }
.stone-bg { background: var(--stone); border-top: 1px solid var(--stone-line); border-bottom: 1px solid var(--stone-line); }
.hero.stone-bg { border-top: 0; padding: 80px 0 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--stone-ink); letter-spacing: .01em; margin-bottom: 18px; }
.eyebrow .wordmark { font-size: 15px; }
.hero h1 { font-size: 58px; line-height: 1.04; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn:not(.btn-primary) { background: var(--bg); }
.hero-fine { margin: 22px 0 0; font-size: 14px; color: var(--ink-3); }

/* the wall */
.wall-wrap { display: flex; flex-direction: column; gap: 18px; }
.wall { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; background: #e9e2d6; box-shadow: inset 0 2px 6px rgb(91 82 67 / 12%); }
.course { display: flex; gap: 8px; }
.stone {
  flex: 1 1 0; min-width: 0; height: 74px; display: flex; align-items: center; justify-content: space-evenly; padding: 0 10px;
  border-radius: 7px; background: linear-gradient(180deg, #fdfbf8, #f1ebe2); border: 1px solid var(--stone-line);
  box-shadow: 0 1px 0 #fff inset, 0 2px 3px rgb(91 82 67 / 12%); color: #2c2618; font-size: 30px;
  animation: lay .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0ms);
}
.stone.half { flex-grow: .5; animation: none; }
.stone.keystone { background: linear-gradient(180deg, #efeaff, #ddd3ff); border-color: #c9bcff; color: #2a1a73; }
@keyframes lay { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .stone { animation: none; } }
.wall-styles { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.wall-label { font-size: 13px; color: var(--stone-ink); margin-right: 4px; }
.wall-chip { border: 1px solid var(--stone-line); background: var(--bg); color: var(--ink-2); border-radius: 999px; padding: 4px 11px; font-size: 13px; cursor: pointer; }
.wall-chip:hover { color: var(--ink); }
.wall-chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* anatomy: cut once, dressed ten ways */
.anatomy { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.layers { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 36px 24px; flex-wrap: wrap; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.layer-card { width: 190px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 22px 14px; background: var(--bg); border: 1px dashed var(--line-strong); border-radius: 14px; }
.layer-card b { font-size: 15px; }
.layer-card span:last-child { font-size: 13px; color: var(--ink-3); }
.layer-glyph { font-size: 76px; line-height: 1; color: var(--icon-ink); margin-bottom: 8px; }
.op { font-size: 28px; color: var(--ink-3); }
.dressings { display: grid; grid-template-columns: repeat(10, 1fr); }
.dressing { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 6px 18px; border-right: 1px solid var(--line); color: var(--icon-ink); }
.dressing:last-child { border-right: 0; }
.dressing .ash { font-size: 34px; }
.dressing span { font-size: 11.5px; color: var(--ink-3); text-align: center; line-height: 1.25; }
.dressing:hover { background: var(--bg-soft); }

/* mason's mark: the ledger */
.split { display: grid; grid-template-columns: 1fr 440px; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: center; color: var(--ink-2); }
.checks .ash { color: var(--accent); font-size: 19px; }
.ledger { background: var(--bg); border: 1px solid var(--stone-line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; font-size: 14.5px; }
.ledger-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--stone-line); background: var(--stone); font-family: var(--mono); font-size: 13px; color: var(--stone-ink); }
.ledger-row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.ledger-row:last-child { border-bottom: 0; }
.ledger-row .ash { font-size: 20px; color: var(--icon-ink); }
.ledger-row .name { flex: 1; }
.ledger-row .old { color: var(--ink-3); text-decoration: line-through; }
.ledger-row code { color: var(--accent); }
.ledger-sub { padding: 10px 16px 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); border-bottom: 1px solid var(--line); background: var(--bg-soft); }

/* stacks */
.stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stack { border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.stack-head { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.stack-head .ash { font-size: 24px; color: var(--accent); }
.stack p { margin: 0; color: var(--ink-2); font-size: 15px; }
.stack pre { margin: 6px 0 0; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; overflow-x: auto; color: var(--ink-2); font-size: 12.5px; }

/* the family, laid as one course */
.family { display: flex; gap: 10px; }
.block { flex: 1; position: relative; padding: 26px 24px; border-radius: 10px; border: 1px dashed var(--stone-line); background: var(--bg); }
.block.laid { flex: 1.4; border-style: solid; background: linear-gradient(180deg, #fdfbf8, #f1ebe2); box-shadow: 0 2px 4px rgb(91 82 67 / 12%); }
.block .wordmark { font-size: 24px; }
.block p { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; }
.block .status { position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #e3f5e5; color: #1d6b2c; }
.block .status.planned { background: var(--bg-sunk); color: var(--ink-3); }
.block.soon .wm-product { color: var(--ink-ghost); }
.band { background: #17130c; }
.band h2 .ghost { color: #8f846f; }

@media (max-width: 1100px) {
  .dressings { grid-template-columns: repeat(5, 1fr); }
  .dressing:nth-child(5) { border-right: 0; }
  .dressing:nth-child(-n+5) { border-bottom: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero h1 { font-size: 42px; }
  .stone { height: 58px; font-size: 22px; padding: 0 4px; }
  .stack-grid { grid-template-columns: 1fr; }
  .family { flex-direction: column; }
}
.stack-grid > *, .split > *, .hero-grid > * { min-width: 0; }
.stack pre { white-space: pre-wrap; word-break: break-word; }
.block .wordmark { display: block; }

/* =====================================================================
   Landing, precision / keyline: one icon on its grid, the set below it.
   ===================================================================== */
:root { --construct: rgb(106 76 240 / 22%); --construct-faint: rgb(106 76 240 / 9%); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #24243a; }
.p-hero { position: relative; overflow: hidden; padding: 84px 0 96px; border-bottom: 1px solid var(--line); }
.p-hero-grid { display: grid; grid-template-columns: 1fr 360px; gap: 72px; align-items: center; }
.p-title { margin: 0; font-size: clamp(56px, 8.4vw, 112px); line-height: .95; letter-spacing: -0.055em; font-weight: 800; }
.p-title .wordmark { font-weight: 800; letter-spacing: -0.055em; }
.p-title .dot { color: var(--ink); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.fact { display: inline-flex; gap: 4px; align-items: baseline; padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 7px; font-size: 14px; color: var(--ink-2); background: var(--bg); }
.fact b { color: var(--ink); }
.p-lead { margin: 22px 0 30px; font-size: 20px; color: var(--ink-2); max-width: 520px; }
.p-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cmd { display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); }
.cmd code { font-size: 15px; color: var(--ink); }
.cmd-note { font-size: 12px; color: var(--ink-3); border-left: 1px solid var(--line); padding-left: 12px; }

/* the specimen: a 360px canvas is 24 units of 15px, the glyph's em is the canvas */
.specimen { margin: 0; position: relative; z-index: 1; }
.canvas { position: relative; width: 360px; height: 360px; background: var(--bg); }
.canvas::before { content: ""; position: absolute; left: -100vw; right: -100vw; top: 0; bottom: 0; border-top: 1px solid var(--construct); border-bottom: 1px solid var(--construct); z-index: -1; }
.canvas::after { content: ""; position: absolute; top: -100vh; bottom: -100vh; left: 0; right: 0; border-left: 1px solid var(--construct); border-right: 1px solid var(--construct); z-index: -1; }
.grid24 { position: absolute; inset: 0; border: 1px solid var(--construct);
  background-image: linear-gradient(var(--construct-faint) 1px, transparent 1px), linear-gradient(90deg, var(--construct-faint) 1px, transparent 1px);
  background-size: 15px 15px; }
.keylines { position: absolute; inset: 0; }
.kl { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 1px solid var(--construct); }
.kl.circle { width: 300px; height: 300px; border-radius: 50%; }          /* r = 10 units */
.kl.square { width: 270px; height: 270px; border-radius: 30px; }        /* 18 × 18, r = 2 */
.kl.portrait { width: 240px; height: 300px; border-radius: 30px; }      /* 16 × 20 */
.kl.landscape { width: 300px; height: 240px; border-radius: 30px; }     /* 20 × 16 */
.specimen-glyph { position: absolute; inset: 0; color: var(--icon-ink); }
.specimen-glyph .ash { font-size: 360px; display: block; }
.specimen figcaption { display: flex; gap: 14px; align-items: baseline; margin-top: 14px; font-size: 14px; }
.mono { font-family: var(--mono); font-size: 13px; }
.specimen-steps { display: flex; gap: 6px; margin-top: 12px; }
.specimen-steps button { width: 24px; height: 6px; border: 0; border-radius: 3px; background: var(--line-strong); cursor: pointer; padding: 0; }
.specimen-steps button.on { background: var(--accent); }

/* the icons, on the home page */
.p-icons { padding-top: 56px; padding-bottom: 32px; }
.home-icons-bar { display: flex; gap: 12px; align-items: center; margin-bottom: 36px; position: sticky; top: var(--header-h); z-index: 5; background: rgb(255 255 255 / 94%); backdrop-filter: blur(8px); padding: 12px 0; border-bottom: 1px solid var(--line); }
.line-search { flex: 1; display: flex; align-items: center; gap: 12px; height: 48px; font-size: 18px; }
.line-search .ash { font-size: 22px; color: var(--ink-3); }
.line-search input { flex: 1; border: 0; outline: 0; background: none; font-size: 18px; min-width: 0; }
.style-select { height: 38px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 0 10px; background: var(--bg); font-size: 14px; }
.home-icons-empty { padding: 48px 0; }
.cat-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 56px; }
.cat-title { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.cat-title a { font-weight: 400; font-size: 13px; }
.cat-title a:hover { color: var(--accent); }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 2px; }
.mini { aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; color: var(--icon-ink); font-size: 22px; }
.mini:hover { background: var(--bg-soft); color: var(--accent); }
.more-link { display: inline-block; margin-top: 20px; color: var(--accent); font-weight: 600; }

/* specification sheet */
.p-spec { padding-top: 72px; padding-bottom: 96px; }
.p-spec h2 { font-size: 15px; font-weight: 600; margin: 0 0 14px; }
.spec { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec th { width: 200px; font-weight: 500; color: var(--ink-3); }
.spec td { color: var(--ink-2); }
.spec td b { color: var(--ink); font-weight: 600; display: inline-block; width: 92px; }
.spec code { color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: 13px; }

@media (max-width: 1000px) {
  .p-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .cat-columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .canvas { width: 288px; height: 288px; }
  .grid24 { background-size: 12px 12px; }
  .kl.circle { width: 240px; height: 240px; } .kl.square { width: 216px; height: 216px; border-radius: 24px; }
  .kl.portrait { width: 192px; height: 240px; border-radius: 24px; } .kl.landscape { width: 240px; height: 192px; border-radius: 24px; }
  .specimen-glyph .ash { font-size: 288px; }
  .cat-columns { grid-template-columns: 1fr; }
  .spec th { width: 110px; }
  .cmd { height: auto; flex-wrap: wrap; padding: 10px 14px; row-gap: 4px; }
  .cmd-note { border-left: 0; padding-left: 0; flex-basis: 100%; }
  .canvas::after { display: none; }
}
.line-search { min-width: 0; }
.style-select { max-width: 46%; min-width: 0; }
.spec { table-layout: fixed; }
.spec td { overflow-wrap: anywhere; }
.spec td b { width: auto; margin-right: 10px; }

/* review pass: keylines over the glyph, grouped style tabs, visual styles row */
.keylines { z-index: 2; mix-blend-mode: multiply; }
.specimen-glyph { z-index: 1; }
.specimen .kl { border-color: rgb(106 76 240 / 45%); }
.style-tabs-mini { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font-size: 13.5px; }
.style-tabs-mini .grp { color: var(--ink-3); margin: 0 4px 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.style-tabs-mini .grp:first-child { margin-left: 0; }
.style-tabs-mini button { border: 0; background: none; padding: 5px 8px; border-radius: 6px; color: var(--ink-2); cursor: pointer; }
.style-tabs-mini button:hover { color: var(--ink); background: var(--bg-soft); }
.style-tabs-mini button.on { color: var(--ink); background: var(--bg-sunk); font-weight: 600; }
.style-specimens { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.style-spec { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.style-spec:nth-child(5n) { border-right: 0; }
.style-spec:nth-last-child(-n+5) { border-bottom: 0; }
.style-spec .ash { font-size: 26px; color: var(--icon-ink); flex: none; }
.style-spec b { color: var(--ink); font-weight: 600; width: auto; margin: 0; }
.style-spec:hover { background: var(--bg-soft); }
.home-icons-bar { flex-wrap: wrap; }
@media (max-width: 900px) {
  .style-specimens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .style-spec:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .style-spec:nth-child(2n) { border-right: 0; }
  .home-icons-bar { position: static; }
}
.keylines { mix-blend-mode: normal; }
.specimen .kl { border-color: rgb(150 130 255 / 70%); }
.style-spec span { white-space: nowrap; font-size: 13.5px; }
.style-spec { gap: 10px; padding: 14px 12px; }

/* Construction lines frame the hero copy instead of crossing it: the canvas is 24 units
   of 18px (432px) and the copy column is exactly as tall, so the top line meets the title
   and the bottom line meets the bottom edge of the actions. */
@media (min-width: 1001px) {
  .p-hero-grid { grid-template-columns: 1fr 432px; align-items: start; }
  .p-hero-grid > div:first-child { height: 432px; display: flex; flex-direction: column; justify-content: space-between; }
  .p-hero-grid > div:first-child > * { margin: 0; }
  .p-title { margin-top: -0.12em; }
  .canvas { width: 432px; height: 432px; }
  .grid24 { background-size: 18px 18px; }
  .kl.circle { width: 360px; height: 360px; }
  .kl.square { width: 324px; height: 324px; border-radius: 36px; }
  .kl.portrait { width: 288px; height: 360px; border-radius: 36px; }
  .kl.landscape { width: 360px; height: 288px; border-radius: 36px; }
  .specimen-glyph .ash { font-size: 432px; }
}

/* hero copy as one group at the top, the install bar as one object on the bottom line */
.hero-copy .p-lead { margin: 22px 0 22px; }
.hero-copy .facts { margin: 0; }
.install-bar { display: flex; align-items: stretch; height: 56px; max-width: 600px; border: 1px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--bg); }
.install-cmd { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 18px; }
.install-cmd .prompt { font-family: var(--mono); color: var(--ink-3); }
.install-cmd code { font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.install-cmd .pending { margin-left: auto; flex: none; font-size: 11.5px; color: var(--ink-3); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.install-go { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 22px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; }
.install-go .ash { font-size: 18px; transition: transform .15s; }
.install-go:hover .ash { transform: translateX(3px); }
@media (min-width: 1001px) {
  .hero-col { height: 432px; display: flex; flex-direction: column; justify-content: space-between; }
}
@media (max-width: 640px) {
  .install-bar { flex-direction: column; height: auto; }
  .install-cmd { padding: 14px 16px; flex-wrap: wrap; }
  .install-cmd .pending { margin-left: 0; }
  .install-go { justify-content: center; height: 50px; }
}
.install-bar { max-width: none; }
@media (min-width: 1001px) { .hero-col .p-title { margin-top: 0; } }
/* the pending note stacks under the command, so the command never truncates */
.install-cmd { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; row-gap: 1px; align-content: center; }
.install-cmd .prompt { grid-row: 1 / span 2; align-self: center; font-size: 15px; }
.install-cmd .pending { margin: 0; background: none; border: 0; padding: 0; font-size: 11.5px; line-height: 1.2; }
@media (max-width: 640px) { .install-cmd { padding: 12px 16px; } }
@media (max-width: 1000px) { .install-bar { margin-top: 28px; } }

/* ---------- code colours: one palette for every block and inline snippet ---------- */
:root {
  --c-kw: #6a4cf0; --c-type: #0e7490; --c-str: #15803d; --c-num: #c2410c;
  --c-com: #8d8d99; --c-tag: #be185d; --c-attr: #1d4ed8; --c-prop: #7c2d92; --c-pun: #8d8d99;
}
:root[data-theme="dark"] {
  --c-kw: #a996ff; --c-type: #5fd4e6; --c-str: #7ddc93; --c-num: #ffad7a;
  --c-com: #7b7b88; --c-tag: #ff86bf; --c-attr: #8fb4ff; --c-prop: #e3a6f0; --c-pun: #7b7b88;
}
.hl { color: var(--ink); }
.hl .t-kw { color: var(--c-kw); font-weight: 600; }
.hl .t-type { color: var(--c-type); }
.hl .t-str { color: var(--c-str); }
.hl .t-num { color: var(--c-num); }
.hl .t-com { color: var(--c-com); font-style: italic; }
.hl .t-tag { color: var(--c-tag); }
.hl .t-attr { color: var(--c-attr); }
.hl .t-prop { color: var(--c-prop); }
.hl .t-pun { color: var(--c-pun); }
.code pre.hl { color: var(--ink); }
.prose pre.hl { line-height: 1.65; }
.prose .note { font-size: 14.5px; color: var(--ink-3); margin-top: -6px; }

/* ---------- 404 ---------- */
.not-found { padding: 120px 24px 160px; max-width: 640px; }
.not-found .nf-code { font-family: var(--mono); color: var(--accent); font-size: 15px; margin: 0 0 12px; }
.not-found h1 { font-size: 44px; letter-spacing: -0.03em; margin: 0 0 14px; }
.not-found .nf-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.not-found .install-go { border-radius: var(--radius); padding: 0 20px; height: 48px; }
.not-found .btn { height: 48px; }
.foot-link { text-decoration: underline; text-underline-offset: 3px; }

/* Anchored headings land below the sticky header, not under it. */
.prose [id] { scroll-margin-top: calc(var(--header-h) + 24px); }
