/* Signari site, design system 2 (30 Nov 2026).
   Instrument Sans and IBM Plex Mono, a neutral palette with one accent, hairline rules, 8 px controls and 12 px
   panels. Plain CSS, no build step, nothing from another origin. */

/* ---------- faces ---------- */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/instrument-sans/instrument-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/instrument-sans/instrument-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plex/IBMPlexMono-Regular.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/plex/IBMPlexMono-Medium.woff2") format("woff2"); }

/* ---------- tokens ---------- */
:root {
  /* the identity's named colours, kept for the brand page */
  --ink: #0E1013; --paper: #FFFFFF; --red: #C8102E; --graphite: #5B616B; --field-edge: #858B94; --line-c: #E3E5E8;
  --night: #0B0C0E; --night-ink: #F2F3F5; --night-graphite: #9AA0A9; --night-edge: #5C626B; --night-line: #23262B; --code-night: #15171B;

  --bg: #ffffff; --bg-2: #fafafa; --bg-3: #f5f5f5;
  --text: #171717; --text-2: #404040; --muted: #737373; --faint: #a3a3a3;
  --line: #e5e5e5; --line-2: #d4d4d4; --rule: var(--line); --edge: var(--line-2);
  --panel: #ffffff; --dot: rgb(0 0 0 / .085);
  --accent: #C8102E; --accent-hover: #A90D26; --accent-rgb: 200 16 46;
  --code-bg: #fafafa; --code-text: #171717; --code-muted: #737373; --code-line: #e5e5e5;
  --term-bg: #0b0b0c; --term-text: #e5e5e5; --term-muted: #8a8a8a; --term-line: #232325;
  --shadow: 0 1px 1px rgb(0 0 0 / .03), 0 2px 4px rgb(0 0 0 / .03), 0 12px 32px -12px rgb(0 0 0 / .12);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .05);

  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 8px; --r-sm: 6px; --r-lg: 12px; --r-xl: 16px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0a0a; --bg-2: #111111; --bg-3: #171717;
    --text: #fafafa; --text-2: #d4d4d4; --muted: #a3a3a3; --faint: #737373;
    --line: #262626; --line-2: #3a3a3a; --panel: #111111; --dot: rgb(255 255 255 / .07);
    --accent: #E11D48; --accent-hover: #F43F5E; --accent-rgb: 225 29 72;
    --code-bg: #111111; --code-text: #e5e5e5; --code-muted: #8a8a8a; --code-line: #262626;
    --shadow: 0 1px 1px rgb(0 0 0 / .3), 0 16px 40px -16px rgb(0 0 0 / .7);
    --shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0a0a; --bg-2: #111111; --bg-3: #171717;
  --text: #fafafa; --text-2: #d4d4d4; --muted: #a3a3a3; --faint: #737373;
  --line: #262626; --line-2: #3a3a3a; --panel: #111111; --dot: rgb(255 255 255 / .07);
  --accent: #E11D48; --accent-hover: #F43F5E; --accent-rgb: 225 29 72;
  --code-bg: #111111; --code-text: #e5e5e5; --code-muted: #8a8a8a; --code-line: #262626;
  --shadow: 0 1px 1px rgb(0 0 0 / .3), 0 16px 40px -16px rgb(0 0 0 / .7);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
  color-scheme: dark;
}
/* Kept so older markup with class="night" still reads: it is now the page's own ground. */
.night { background: var(--bg); color: var(--text); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, figure, pre, table { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--line-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
code, kbd, pre, samp { font-family: var(--mono); }
:not(pre) > code { font-size: .875em; padding: .1em .35em; background: var(--bg-3); border: 1px solid var(--line); border-radius: 5px; white-space: nowrap; }
abbr[title] { text-decoration: underline dotted 1px; text-decoration-color: var(--faint); text-underline-offset: 3px; cursor: help; }
.ext { display: inline-block; margin-left: .2em; font-size: .85em; text-decoration: none; color: var(--faint); }
.btn .ext { color: inherit; margin-left: -2px; }
strong, b { font-weight: 600; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: var(--radius); font-weight: 600; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.display { font-weight: 500; font-size: clamp(44px, 6.6vw, 80px); line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.display-l { font-weight: 500; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.display-m { font-weight: 500; font-size: clamp(28px, 3.3vw, 40px); line-height: 1.1; letter-spacing: -.032em; text-wrap: balance; }
.title { font-weight: 600; font-size: 17px; line-height: 25px; letter-spacing: -.012em; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--muted); max-width: 40em; letter-spacing: -.01em; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/16px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 20px; }
.kicker::before { content: ""; width: 6px; height: 6px; background: var(--accent); flex: none; }
.caption { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--muted); }
p + p { margin-top: 1em; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--radius);
  font: 500 15px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  background: var(--text); color: var(--bg); border: 1px solid transparent; box-shadow: var(--shadow-sm); transition: background-color .15s, border-color .15s, opacity .15s; }
.btn:hover { opacity: .88; }
.btn.ghost { background: var(--panel); color: var(--text); border-color: var(--line); }
.btn.ghost:hover { opacity: 1; background: var(--bg-2); border-color: var(--line-2); }
.btn.accent { background: var(--accent); color: #fff; }
.btn.accent:hover { opacity: 1; background: var(--accent-hover); }
.btn.lg { min-height: 46px; padding: 0 20px; font-size: 16px; }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 14px; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(2px); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.link-arrow { font-weight: 500; text-decoration: none; color: var(--text); }
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgb(from var(--bg) r g b / .82); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
@supports not (color: rgb(from red r g b)) { .top { background: var(--bg); } }
.top .wrap { position: relative; display: flex; align-items: center; gap: 28px; min-height: 64px; }
.brand-row { display: flex; align-items: center; gap: 12px; flex: none; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
/* The drawn wordmark: x-height 24 px, on whole pixels. */
.brand svg { width: auto; height: 39.79px; display: block; }
.docs-tag { display: inline-flex; align-items: center; min-height: 32px; font-weight: 500; font-size: 14px; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line); text-decoration: none; }
.docs-tag:hover { color: var(--text); }
.wm-rev { display: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wm-pos { display: none !important; } :root:not([data-theme="light"]) .wm-rev { display: block !important; } }
:root[data-theme="dark"] .wm-pos { display: none !important; }
:root[data-theme="dark"] .wm-rev { display: block !important; }
.menu { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; }
.menu a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 10px; border-radius: var(--r-sm); font-weight: 500; font-size: 14px; color: var(--muted); text-decoration: none; transition: color .15s, background-color .15s; }
.menu a:hover { color: var(--text); background: var(--bg-3); }
.menu a[aria-current] { color: var(--text); }
.menu .menu-cta { display: none; }
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.gh { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px; border-radius: var(--r-sm); color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; }
.gh:hover { color: var(--text); background: var(--bg-3); }
.gh svg { width: 18px; height: 18px; }
.theme { width: 34px; height: 34px; display: none; place-items: center; border-radius: var(--r-sm); border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; padding: 0; }
.js .theme { display: inline-grid; }
.theme:hover { color: var(--text); background: var(--bg-3); }
.theme svg { display: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.theme .fill { fill: currentColor; stroke: none; }
.theme[data-mode="system"] .auto, .theme[data-mode="light"] .sun, .theme[data-mode="dark"] .moon { display: block; }
.burger { display: none; width: 36px; height: 36px; border-radius: var(--r-sm); border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; padding: 0; }
.burger span { display: block; width: 16px; height: 1.5px; background: currentColor; margin: 4px auto; border-radius: 1px; }
@media (max-width: 900px) {
  .top .wrap { gap: 12px; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .menu.open { display: flex; }
  .menu a { display: flex; min-height: 44px; padding: 0; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--text); }
  .menu a:hover { background: transparent; }
  .menu .menu-cta { display: block; }
  .burger { display: inline-block; }
  .top-actions .btn, .top-actions .gh span { display: none; }
}

/* ---------- the frame: hairline rails down the page, a small accent square where a section's rule meets them ---------- */
.rails { position: relative; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; border-inline: 1px solid var(--line); }
.rails > .section, .rails > .hero { border-top: 1px solid var(--line); position: relative; }
.rails > .hero:first-child { border-top: 0; }
.rails > .section::before, .rails > .section::after { content: ""; position: absolute; top: -4px; width: 7px; height: 7px; background: var(--accent); }
.rails > .section::before { left: -4px; }
.rails > .section::after { right: -4px; }
@media (max-width: 1100px) { .rails { border-inline: 0; } .rails > .section::before, .rails > .section::after { display: none; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head .lead { margin-top: 18px; }
.cols-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .cols-2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(64px, 9vw, 120px) clamp(48px, 6vw, 80px); text-align: center; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.hero::after { content: ""; position: absolute; left: 50%; bottom: -10%; width: min(1100px, 120%); height: 60%; transform: translateX(-50%); z-index: -1;
  background: radial-gradient(ellipse at center, rgb(var(--accent-rgb) / .16), transparent 65%); filter: blur(20px); pointer-events: none; }
.hero .display { max-width: 15ch; margin-inline: auto; }
.hero .lead { margin: 22px auto 0; max-width: 36em; }
.hero .actions { justify-content: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; padding: 4px 6px 4px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel);
  font-size: 13px; font-weight: 500; color: var(--text-2); text-decoration: none; box-shadow: var(--shadow-sm); }
.badge:hover { border-color: var(--line-2); }
.badge .tag { padding: 2px 8px; border-radius: 999px; background: rgb(var(--accent-rgb) / .1); color: var(--accent); font-weight: 600; font-size: 12px; }
.badge .go { color: var(--faint); padding-right: 6px; }
.install-pill { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 6px 6px 6px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); box-shadow: var(--shadow-sm); max-width: 100%; }
.install-pill code { border: 0; padding: 0; background: none; font: 500 14px/20px var(--mono); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.install-pill code .p { color: var(--faint); user-select: none; }
.install-pill .copy-btn { flex: none; display: none; place-items: center; width: 30px; height: 30px; border-radius: 999px; border: 0; background: var(--bg-3); color: var(--muted); cursor: pointer; }
.js .install-pill .copy-btn { display: inline-grid; }
.install-pill .copy-btn:hover { color: var(--text); }
.install-pill .copy-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.75; }
.install-pill .copy-btn.done { color: var(--accent); }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.hero-note a { color: var(--text-2); }

/* ---------- the product window: real output and real pages, in a frame ---------- */
.window { margin: clamp(48px, 6vw, 72px) auto 0; max-width: 1040px; text-align: left; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--bg-2); overflow-x: auto; scrollbar-width: none; }
.window-bar::-webkit-scrollbar { display: none; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px; border: 1px solid transparent; border-radius: var(--r-sm); background: transparent; color: var(--muted); font: 500 13.5px/1 var(--sans); cursor: pointer; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); background: var(--panel); border-color: var(--line); box-shadow: var(--shadow-sm); }
.tab svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.no-js-tabs .tab { display: none; }
.pane { min-height: 440px; }
.pane[hidden] { display: none; }
@media (max-width: 700px) { .pane { min-height: 0; } }

/* the terminal pane */
.term { margin: 0; padding: 22px 24px 26px; background: var(--term-bg); color: var(--term-text); font: 13px/21px var(--mono); white-space: pre; overflow-x: auto; color-scheme: dark; min-height: 440px; }
.term .p { color: var(--term-muted); user-select: none; }
.term .d { color: var(--term-muted); }
.term .ok { color: #4ade80; }
.term .b { color: #fafafa; font-weight: 500; }
.term .a { color: #fb7185; }
@media (max-width: 700px) { .term { font-size: 11.5px; line-height: 18px; padding: 16px; min-height: 0; } }

/* the sign-in pane: the page as the engine draws it, on a dotted ground */
.stage { display: grid; place-items: center; min-height: 440px; padding: 40px 20px; background: var(--bg-2);
  background-image: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0); background-size: 16px 16px; }
.signin { width: min(380px, 100%); padding: 28px 28px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); box-shadow: var(--shadow); }
.signin-col { width: min(376px, 100%); }
.signin-col > .wm { display: block; height: 30px; width: auto; margin: 0 0 18px 4px; color: var(--text); }
.signin-col .signin { width: 100%; }
.signin .check { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.signin .check .box { flex: none; width: 14px; height: 14px; margin-top: 2px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--panel); }
.signin .rule { height: 1px; margin: 18px 0; background: var(--line); }
.signin .wm { height: 26px; width: auto; margin-bottom: 22px; }
.signin h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.signin .sub { margin-top: 4px; font-size: 14px; color: var(--muted); }
.signin label { display: block; margin: 16px 0 6px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.signin .field { height: 38px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); padding: 0 12px; display: flex; align-items: center; font-size: 14px; color: var(--text); box-shadow: var(--shadow-sm); }
.signin .field.focus { border-color: var(--text); box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / .12); }
.signin .field .ph { color: var(--faint); }
.signin .primary { margin-top: 18px; height: 38px; border-radius: var(--radius); background: var(--text); color: var(--bg); display: grid; place-items: center; font-size: 14px; font-weight: 500; }
.signin .or { display: flex; align-items: center; gap: 10px; margin: 16px 0; color: var(--faint); font-size: 12px; }
.signin .or::before, .signin .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.signin .alt { height: 38px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 500; }
.signin .alt + .alt { margin-top: 8px; }
.signin .alt svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.signin .fine { margin-top: 18px; font-size: 12px; color: var(--faint); text-align: center; }

/* the code pane */
.codepane { margin: 0; min-height: 440px; padding: 22px 24px; background: var(--code-bg); color: var(--code-text); font: 13px/21px var(--mono); white-space: pre; overflow-x: auto; }
.codepane .k { color: var(--accent); }
.codepane .s { color: #0f766e; }
.codepane .c { color: var(--code-muted); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .codepane .s { color: #5eead4; } }
:root[data-theme="dark"] .codepane .s { color: #5eead4; }
@media (max-width: 700px) { .codepane { font-size: 11.5px; line-height: 18px; padding: 16px; min-height: 0; } }

/* ---------- code blocks elsewhere ---------- */
pre.code { background: var(--code-bg); color: var(--code-text); font-size: 13.5px; line-height: 22px; padding: 18px 20px; border: 1px solid var(--code-line); border-radius: var(--r-lg);
  white-space: pre-wrap; overflow-wrap: normal; word-break: normal; overflow-x: auto; }
pre.code .c, pre.code .p { color: var(--code-muted); }
pre.code .h { display: block; color: var(--code-muted); font-family: var(--sans); font-size: 13px; font-weight: 500; margin-bottom: 10px; }
pre.code .ln { display: block; padding-left: 2ch; text-indent: -2ch; }
pre.code .ln:empty::after { content: "\200b"; }
pre.code .nw { white-space: nowrap; }
.codebox { position: relative; background: var(--code-bg); border: 1px solid var(--code-line); border-radius: var(--r-lg); min-width: 0; overflow: hidden; }
.codebox pre.code { background: transparent; border: 0; border-radius: 0; padding-top: 4px; }
.codebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 6px 8px 0 20px; font: 500 12.5px/18px var(--sans); color: var(--code-muted); }
.copy { flex: none; min-height: 28px; padding: 0 10px; border: 1px solid var(--code-line); border-radius: var(--r-sm); background: var(--panel); color: var(--text-2); font: 500 12.5px/1 var(--sans); cursor: pointer; }
.copy:hover { color: var(--text); border-color: var(--line-2); }
.codebox.scroll-more::after { content: "→"; position: absolute; top: 40px; right: 0; bottom: 0; width: 28px; display: grid; place-items: center;
  background: var(--code-bg); border-left: 1px solid var(--code-line); color: var(--code-muted); font: 600 14px/1 var(--sans); pointer-events: none; }
.nowrap { white-space: nowrap; }

/* ---------- feature grid: hairline cells, like a spec sheet ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: var(--panel); }
.grid > div { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid > div:nth-child(3n) { border-right: 0; }
.grid > div:nth-last-child(-n+3) { border-bottom: 0; }
.grid .icon { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); color: var(--text); }
.grid .icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.grid h3 { font-size: 16px; font-weight: 600; letter-spacing: -.012em; margin-bottom: 6px; }
.grid p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.grid p + p { margin-top: 10px; }
.grid a { color: var(--text-2); }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid > div:nth-child(3n) { border-right: 1px solid var(--line); } .grid > div:nth-child(2n) { border-right: 0; } .grid > div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); } .grid > div:nth-last-child(-n+2) { border-bottom: 0; } }
@media (max-width: 620px) { .grid { grid-template-columns: minmax(0, 1fr); } .grid > div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; } .grid > div:last-child { border-bottom: 0 !important; } }

/* ---------- protocol chips ---------- */
.protocols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.protocols > div { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; background: var(--panel); }
.protocols h3 { font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.chips li { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); font-size: 14px; font-weight: 500; color: var(--text-2); }
.chips li span { font: 500 11.5px/1 var(--mono); color: var(--faint); }
@media (max-width: 760px) { .protocols { grid-template-columns: minmax(0, 1fr); } }

/* ---------- a feature row: text beside a framed visual ---------- */
.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 8vw, 104px); }
.feature.flip > :first-child { order: 2; }
.feature .lead { margin-top: 16px; }
.feature ul.ticks { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 10px; }
.feature ul.ticks li { display: flex; gap: 10px; font-size: 15.5px; color: var(--text-2); }
.feature ul.ticks li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 5px; background: no-repeat center / 14px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='%23C8102E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.feature .panel { border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
.feature .panel .codepane, .feature .panel .term { min-height: 0; }
.panel-bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); font: 500 12.5px/18px var(--mono); color: var(--muted); }
.panel-bar .dots { display: inline-flex; gap: 6px; margin-right: 6px; }
.panel-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
@media (max-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature.flip > :first-child { order: 0; } }

/* ---------- the architecture, drawn in HTML: two nodes over a database ---------- */
.arch { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); grid-template-rows: auto 56px auto; padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--bg-2); box-shadow: var(--shadow);
  background-image: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0); background-size: 16px 16px; }
.arch .node { position: relative; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); box-shadow: var(--shadow-sm); }
.arch .node b { display: block; margin-top: 6px; font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.arch .node-k { font: 500 11px/14px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.arch .node-s { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.arch .node-s code { font-size: 12px; }
.arch .mini { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin-top: 12px; }
.arch .mini li { padding: 2px 7px; border: 1px solid var(--line); border-radius: 999px; font: 500 11px/16px var(--mono); color: var(--text-2); background: var(--bg-2); }
.arch .db { grid-column: 1 / -1; text-align: center; border-color: rgb(var(--accent-rgb) / .35); }
.arch .db::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .06); pointer-events: none; }
.arch .wire { position: relative; display: grid; place-items: center; }
.arch .wire::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed var(--line-2); }
.arch .wire span { position: relative; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font: 500 11px/16px var(--mono); color: var(--muted); white-space: nowrap; }
.arch .wire.v::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1px dashed var(--line-2); }
.arch .wire.v span code { border: 0; padding: 0; background: none; font-size: inherit; }
.arch .gap { min-height: 0; }
@media (max-width: 520px) { .arch { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); padding: 14px; } .arch .wire span { font-size: 10px; padding: 1px 5px; } .arch .node { padding: 12px; } .arch .mini { display: none; } }

/* ---------- call to action ---------- */
.cta { text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at 50% 100%, rgb(var(--accent-rgb) / .1), transparent 70%); }
.cta .lead { margin: 16px auto 0; }
.cta .actions { justify-content: center; }

/* ---------- older components, restyled ---------- */
.ledger { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.ledger > div { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; background: var(--panel); }
.ledger h3 { margin-bottom: 14px; }
.ledger ul { list-style: none; padding: 0; columns: 2; column-gap: 28px; }
.ledger li { break-inside: avoid; display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 14.5px; }
.ledger li span { font-family: var(--mono); font-size: 12px; color: var(--faint); white-space: nowrap; }
.ledger li b { font-weight: inherit; }
@media (max-width: 860px) { .ledger { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .ledger ul { columns: 1; } }

.glossary { margin-top: clamp(32px, 4vw, 48px); }
.glossary h3 { margin-bottom: 14px; }
.glossary dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); margin: 0; }
.glossary dl > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; }
.glossary dt { font-weight: 600; }
.glossary dd { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .glossary dl { grid-template-columns: minmax(0, 1fr); } }

.numbered { list-style: none; padding: 0; display: grid; gap: 16px; }
.numbered > li { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(16px, 3vw, 40px); padding: 28px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--panel); align-items: start; }
.numbered .n { font: 500 13px/24px var(--mono); color: var(--accent); }
.numbered h3 { font-weight: 600; font-size: 18px; line-height: 1.3; letter-spacing: -.015em; }
.numbered p { color: var(--muted); }
@media (max-width: 860px) { .numbered > li { grid-template-columns: 40px minmax(0, 1fr); } .numbered > li p { grid-column: 2; } }

.rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: var(--panel); }
.rows.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rows.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rows > div { padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.rows > div h3 { margin-bottom: 8px; }
.rows > div p { color: var(--muted); font-size: 15px; }
.rows > div p + p { margin-top: 12px; }
.rows > div .label { display: block; font: 500 11.5px/16px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: 10px; }
.rows > div .btn { margin-top: 18px; }
@media (max-width: 960px) { .rows, .rows.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .rows, .rows.two, .rows.four { grid-template-columns: minmax(0, 1fr); } }

.diagram { margin-top: clamp(32px, 4vw, 48px); }
.diagram > a { display: block; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; text-decoration: none; }
.diagram img { width: 100%; height: auto; }
.diagram figcaption { margin-top: 12px; }
.diagram figcaption a { display: block; width: max-content; margin-top: 6px; font-weight: 500; color: var(--text); }

table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.t th { text-align: left; font-weight: 600; font-size: 13px; color: var(--muted); padding: 0 16px 10px 0; border-bottom: 1px solid var(--line-2); vertical-align: bottom; }
table.t td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-variant-numeric: tabular-nums; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.split > div { padding: clamp(28px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--panel); }
.split ul { margin: 18px 0 0; padding-left: 18px; color: var(--muted); }
.split li + li { margin-top: 6px; }
.split .btn { margin-top: 26px; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font-weight: 500; font-size: 17px; line-height: 26px; letter-spacing: -.012em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 22px/26px var(--sans); color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 46em; }

/* Inner pages open like the home hero, smaller: centred, on the dotted ground. */
.page-head { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding-block: clamp(64px, 8vw, 104px) clamp(48px, 6vw, 72px); }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 25%, transparent 75%); }
.page-head .kicker { margin-bottom: 18px; }
.page-head .display-l { max-width: 16em; margin-inline: auto; }
.page-head .lead { margin: 20px auto 0; max-width: 38em; }
.page-head .actions { justify-content: center; }
.rails > .page-head + .section { border-top: 1px solid var(--line); }
.cols-2.start { align-items: start; }

/* A section head split in two, heading left and its paragraph right. */
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 72px); align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.split-head .lead { margin: 0; }
@media (max-width: 860px) { .split-head { grid-template-columns: minmax(0, 1fr); } }

/* Feature cards that each show a piece of the product: the UI on top, the words beneath. */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.b-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--panel); overflow: hidden; }
.b-card.wide { grid-column: span 2; }
.b-ui { position: relative; flex: 1; min-height: 190px; padding: 22px 22px 0; background: var(--bg-2); border-bottom: 1px solid var(--line);
  background-image: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0); background-size: 16px 16px; overflow: hidden; }
.b-ui.pad { padding-bottom: 22px; }
.b-ui.fade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36px; background: linear-gradient(transparent, var(--bg-2)); pointer-events: none; }
.b-text { padding: 20px 22px 22px; }
.b-text h3 { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 600; letter-spacing: -.012em; }
.b-text h3 svg { flex: none; width: 17px; height: 17px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.b-text p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.b-text a { color: var(--text-2); }
.b-term { margin: 0; padding: 16px 18px 26px; border: 1px solid #27272a; border-bottom: 0; border-radius: 12px 12px 0 0; background: #18181b; color: #e4e4e7;
  font: 400 12.5px/1.65 var(--mono); white-space: pre; overflow: hidden; box-shadow: 0 18px 40px -24px rgb(0 0 0 / .45); }
.b-term .d { color: #8a8a93; }
.b-term .y { color: #fcd34d; }
.b-term .r { color: #fda4af; }
.b-factors, .b-events { list-style: none; margin: 0; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: 0 18px 40px -26px rgb(0 0 0 / .35); }
.b-factors li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; font-size: 14px; color: var(--text-2); }
.b-factors li + li, .b-events li + li { border-top: 1px solid var(--line); }
.b-factors .f-ic { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 6px; font: 500 12px/1 var(--mono); color: var(--muted); }
.b-factors em { margin-left: auto; font: 500 11px/1 var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .06em; color: #15803d; }
.b-factors em.off { color: var(--faint); }
.b-events li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 8px 10px; }
.b-events code { padding: 0; border: 0; background: none; font-size: 12.5px; color: var(--text); }
.b-events span { font-size: 12.5px; color: var(--faint); white-space: nowrap; }
.b-ok { display: flex; align-items: center; gap: 8px; margin: 12px 2px 0; font: 500 12.5px/1.4 var(--mono); color: #15803d; }
.b-ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
:root[data-theme="dark"] .b-factors em, :root[data-theme="dark"] .b-ok { color: #4ade80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .b-factors em, :root:not([data-theme="light"]) .b-ok { color: #4ade80; } }
@media (max-width: 960px) { .bento { grid-template-columns: minmax(0, 1fr); } .b-card.wide { grid-column: auto; } }
.center { text-align: center; }
.mt-32 { margin-top: 32px !important; }
.plans .label { display: block; font: 500 11.5px/16px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.plans .title { margin-top: 10px; font-size: 20px; line-height: 28px; }
.plans .price { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.plans .price b { font-weight: 500; font-size: 44px; line-height: 1; letter-spacing: -.045em; color: var(--text); }
.plans .price span { font-size: 14.5px; color: var(--muted); }
.plans .muted { margin-top: 18px; }
.plans ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.plans li { display: flex; gap: 10px; color: var(--text-2); }
.plans li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; background: var(--accent); }
.plans .actions { margin-top: 26px; }
.plans .actions .btn { margin-top: 0; }
.tframe { border: 1px solid var(--line); border-radius: var(--r-xl); overflow-x: auto; background: var(--panel); }
.tframe table.t th, .tframe table.t td { padding-left: 20px; }
.tframe table.t th { padding-top: 14px; background: var(--bg-2); }
.tframe table.t tr:last-child td { border-bottom: 0; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 72px) 32px; }
.foot .cols { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot .about img { width: auto; height: 33.16px; margin-bottom: 16px; }
.foot .about p { color: var(--muted); font-size: 14.5px; max-width: 22em; }
.foot h4 { font-size: 13px; font-weight: 600; margin-bottom: 12px; color: var(--text); }
.foot ul { list-style: none; padding: 0; }
.foot li { padding: 3px 0; }
.foot li a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.foot li a:hover { color: var(--text); }
.foot .bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.foot .bottom a { color: inherit; }
.foot .bottom a:hover { color: var(--text); }
.house { display: flex; align-items: center; gap: 8px; margin: 0; }
.foot .bottom .house a { display: inline-flex; align-items: center; height: 40px; color: inherit; }
.foot .bottom .house a:hover { opacity: .7; }
.house svg { height: 18px; width: auto; }
@media (max-width: 960px) { .foot .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot .about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot .cols { gap: 28px 20px; } }
/* The Relay band belonged to the previous system. */
.band { display: none !important; }

/* ---------- brand page ---------- */
.marks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.marks > figure { padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 48px); display: grid; place-items: center; min-height: 240px; position: relative; }
.marks > figure:nth-child(2n) { border-left: 1px solid var(--line); }
.marks > figure:nth-child(n+3) { border-top: 1px solid var(--line); }
.marks > figure.on-paper { background: var(--paper); }
.marks > figure.on-night { background: var(--night); }
.marks img { width: min(100%, 400px); height: auto; }
.marks img.sym { width: 112px; }
.marks figcaption { position: absolute; left: 16px; bottom: 12px; right: 16px; font-size: 13px; font-weight: 500; }
.marks .on-paper figcaption { color: var(--graphite); }
.marks .on-night figcaption { color: var(--night-graphite); }
@media (max-width: 760px) { .marks { grid-template-columns: minmax(0, 1fr); } .marks > figure:nth-child(2n) { border-left: 0; } .marks > figure + figure { border-top: 1px solid var(--line); } }
.swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.swatch { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.swatch i { display: block; height: 88px; border-bottom: 1px solid var(--line); }
.swatch div { padding: 10px 12px 14px; font-size: 13px; line-height: 18px; }
.swatch b { display: block; font-size: 14px; }
.swatch code { border: 0; padding: 0; background: none; font-size: 12px; }
@media (max-width: 960px) { .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.specimen { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: end; border-top: 1px solid var(--line); padding-top: 28px; }
.specimen .aa { font-weight: 500; font-size: clamp(96px, 14vw, 180px); line-height: .82; letter-spacing: -.05em; }
.specimen .weights { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 22px; }
@media (max-width: 620px) { .specimen { grid-template-columns: minmax(0, 1fr); } }
.band-demo { display: none; }
.downloads { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.downloads li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.downloads li span { color: var(--muted); font-size: 14px; }
.rules-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.rules-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }

/* ---------- one-off adjustments (the policy refuses style attributes) ---------- */
.mt-10 { margin-top: 10px !important; }
.mt-12 { margin-top: 12px !important; }
.mt-14 { margin-top: 14px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-22 { margin-top: 22px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-28 { margin-top: 28px !important; }
.mw-860 { max-width: 860px; }
.mw-760 { max-width: 760px; }
.mw-15em { max-width: 15em; }
.mw-14em { max-width: 14em; }
.split-title { font-size: clamp(24px, 2.4vw, 30px); }
.mono-sample { font-family: var(--mono); font-size: 16px; }
.sw-ink { background: var(--ink); }
.sw-paper { background: var(--paper); }
.sw-red { background: var(--red); }
.sw-graphite { background: var(--graphite); }
.sw-field-edge { background: var(--field-edge); }
.sw-line { background: var(--line-c); }
.sw-night { background: var(--night); }
.sw-night-ink { background: var(--night-ink); }
.sw-night-graphite { background: var(--night-graphite); }
.sw-night-edge { background: var(--night-edge); }
.sw-night-line { background: var(--night-line); }
.sw-code-night { background: var(--code-night); }
.w-400 { font-weight: 400; }
.w-450 { font-weight: 450; }
.w-500 { font-weight: 500; }
.w-600 { font-weight: 600; }
.w-700 { font-weight: 700; }

/* The analytics question (assets/js/analytics.js): a small card above the bottom edge, never over the content's
   middle. Both answers are the same style, and the page works around it. /privacy holds the same choice. */
.consent { position: fixed; z-index: 30; left: 16px; right: 16px; bottom: 16px; margin-inline: auto; max-width: 600px;
  display: flex; align-items: center; gap: 16px; padding: 14px 14px 14px 18px; background: var(--panel); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); font-size: 14px; line-height: 1.5; }
.consent p { margin: 0; color: var(--text-2); }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.consent-b { display: flex; gap: 8px; flex: none; }
@media (max-width: 600px) { .consent { flex-direction: column; align-items: stretch; } .consent-b > .btn { flex: 1; } }
[data-analytics-settings] .btn[hidden], [data-analytics-settings][hidden] { display: none; }
.rows > div [data-analytics-settings] { margin-top: 18px; }
.rows > div [data-analytics-settings] .btn { margin-top: 0; }
@media print { .consent { display: none !important; } }

@media print { .top, .burger, .theme { display: none !important; } }
