/* brreg public site — design layer over vendored Pico 2.1.1 and anav.
   Tokens are droide "UI Visual Standards" (dark first, light follows
   prefers-color-scheme), the same palette as /admin. Sizes are px so the
   15 px floor is checkable (badges 14 px, the documented exception).
   Mobile first; no web fonts beyond the two vendored faces; no inline styles
   in templates. Font URLs are rewritten to hashed ones at startup. */

/* chrome:begin — the rules between these markers are also served as chrome.css, the site chrome on pages the store and connector libraries render */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url(/fonts/dm-sans-latin.woff2?h=b6511d71) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 800; font-display: optional;
  src: url(/fonts/jetbrains-mono-latin.woff2?h=b6511d71) format("woff2"); }

:root {
  --bg: #0c1014; --bg-card: #111518; --bg-surface: #161b22; --bg-hover: #1c2428;
  --text: #e8edf2; --text-bright: #ffffff; --text-subtle: #8a9aa8; --text-quiet: #aebbc7;
  --border: #1c2428; --border-bright: #2a3640;
  --blue: #818cf8; --orange: #f59e0b; --gold: #daa04a; --green: #22c55e;
  --red: #f85149; --cyan: #22d3ee; --pink: #f472b6; --purple: #a78bfa;
  --on-accent: #0c1014;
  --glow-blue: rgba(129, 140, 248, 0.16); --glow-cyan: rgba(34, 211, 238, 0.10); --glow-gold: rgba(218, 160, 74, 0.10);
  --grid-line: rgba(138, 154, 168, 0.07);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 18px 40px -22px rgba(0, 0, 0, 0.8);
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: 20px;
  --radius: 12px;
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
/* chrome:end — the store and connector pages are dark (brreg's Lighthouse
   branding), so their chrome keeps the dark tokens in both schemes. */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f7f9; --bg-card: #ffffff; --bg-surface: #eef1f4; --bg-hover: #e4e8ee;
    --text: #141a21; --text-bright: #05080b; --text-subtle: #4d5a67; --text-quiet: #37424d;
    --border: #e1e5ea; --border-bright: #c9d0d8;
    --blue: #4f46e5; --orange: #9a4a06; --gold: #8a5d0b; --green: #137333;
    --red: #b42318; --cyan: #0e7490; --pink: #be185d; --purple: #6d28d9;
    --on-accent: #ffffff;
    --glow-blue: rgba(79, 70, 229, 0.10); --glow-cyan: rgba(14, 116, 144, 0.07); --glow-gold: rgba(138, 93, 11, 0.06);
    --grid-line: rgba(20, 26, 33, 0.05);
    --shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 16px 32px -20px rgba(16, 24, 40, 0.28);
    color-scheme: light;
  }
}


/* Pico mapped onto the tokens; (0,2,1) outranks both Pico theme blocks. */
html:root:not([data-theme]) {
  --pico-font-family: var(--font-sans); --pico-font-family-sans-serif: var(--font-sans); --pico-font-family-monospace: var(--font-mono);
  --pico-font-size: 17px; --pico-line-height: 1.6; --pico-border-radius: 8px; --pico-spacing: 16px;
  --pico-typography-spacing-vertical: 16px; --pico-block-spacing-vertical: 24px; --pico-block-spacing-horizontal: 24px;
  --pico-background-color: var(--bg); --pico-color: var(--text); --pico-muted-color: var(--text-subtle); --pico-muted-border-color: var(--border);
  --pico-primary: var(--blue); --pico-primary-background: var(--blue); --pico-primary-border: var(--blue); --pico-primary-hover: var(--text-bright);
  --pico-primary-underline: color-mix(in srgb, var(--blue) 45%, transparent); --pico-primary-focus: color-mix(in srgb, var(--blue) 35%, transparent);
  --pico-h1-color: var(--text-bright); --pico-h2-color: var(--text-bright); --pico-h3-color: var(--text-bright); --pico-h4-color: var(--text);
  --pico-card-background-color: var(--bg-card); --pico-code-background-color: var(--bg-surface); --pico-code-color: var(--text);
  --pico-table-border-color: var(--border);
}

/* ---- base */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-size: 17px; line-height: 1.6; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-family: var(--font-sans); letter-spacing: -0.02em; margin: 0; }
h1 { font-size: 36px; font-weight: 700; line-height: 1.1; color: var(--text-bright); }
h2 { font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--text-bright); }
h3 { font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--text-bright); }
h4 { font-size: 17px; font-weight: 600; color: var(--text); }
@media (min-width: 768px) { h1 { font-size: 52px; } h2 { font-size: 34px; } h3 { font-size: 21px; } }
@media (min-width: 1200px) { h1 { font-size: 60px; } }
p { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
code, kbd, pre, .mono { font-family: var(--font-mono); font-size: 15px; }
code { padding: 2px 7px; border-radius: 6px; background: var(--bg-surface); color: var(--text); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; box-shadow: none; }
/* chrome:begin */
.muted { color: var(--text-subtle); }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 60; padding: 10px 16px; border-radius: 8px; background: var(--blue); color: var(--on-accent); font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
/* chrome:end */
main { display: block; }
main:focus { outline: none; }

/* chrome:begin */
/* ---- chrome */
.anav { --anav-bg: color-mix(in srgb, var(--bg) 84%, transparent); --anav-fg: var(--text-bright); --anav-accent: var(--blue); --anav-muted: var(--text-subtle);
  --anav-border: var(--border); --anav-font: var(--font-sans); --anav-fs: 16px; --anav-h: 64px; --anav-max: 1200px; }
.anav { position: sticky; top: 0; z-index: 40; backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); }
.anav .anav-wrap { padding-inline: var(--gutter); }
.anav .anav-cb { display: none; }
.anav ul, .anav li { margin: 0; padding: 0; list-style: none; }
.anav details, .anav summary { margin: 0; }
.anav summary::after { display: none; }
@media (max-width: 860px) { .anav .anav-burger { display: inline-flex; width: 44px; height: 44px; margin: 0; } }
.anav .nav-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--blue); color: var(--on-accent);
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.anav .nav-cta:hover { background: var(--text-bright); color: var(--bg); }
@media (max-width: 480px) { .anav .nav-cta { display: none; } }

.attribution { border-top: 1px solid var(--border); background: var(--bg-card); }
.attribution-row { display: flex; gap: 14px; align-items: flex-start; padding-block: 20px; font-size: 15px; color: var(--text-quiet); }
.attribution-row .icon { color: var(--green); margin-top: 2px; }
.attribution-row a { white-space: normal; }
.anav-footer { --anav-fg: var(--text); --anav-muted: var(--text-subtle); --anav-accent: var(--blue); --anav-border: var(--border); --anav-font: var(--font-sans); --anav-max: 1200px; --anav-bg: var(--bg); }
/* Pico lays out every <nav> and its list as a flex bar with padded items; the
   footer's columns are navs too and must keep anav's own layout. */
.anav-footer nav.anav-footer-col { display: block; }
.anav-footer nav ul.anav-footer-list { align-items: flex-start; justify-content: flex-start; margin: 0; }
.anav-footer nav li { display: list-item; padding: 0; list-style: none; }
.anav-footer nav li a { display: inline-block; margin: 0; padding: 4px 0; }
.anav-footer .anav-footer-h { margin: 0 0 10px; }
.anav-footer .anav-footer-grid { padding-inline: var(--gutter); }

/* chrome:end */

/* ---- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px;
  font-size: 16px; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--on-accent); }
.btn-primary:hover { background: var(--text-bright); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--text-bright); border-color: var(--border-bright); }
.btn-ghost:hover { border-color: var(--blue); color: var(--text-bright); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px var(--glow-cyan); }
.lede { font-size: 19px; line-height: 1.6; color: var(--text-quiet); max-width: 62ch; }
@media (min-width: 768px) { .lede { font-size: 21px; } }

/* ---- sections */
.section { padding-block: 64px; }
@media (min-width: 768px) { .section { padding-block: 96px; } }
.section + .section { border-top: 1px solid var(--border); }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.section-head p { color: var(--text-quiet); font-size: 18px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid var(--border-bright); color: var(--text-quiet); background: var(--bg-surface); }

/* ---- hero */
.hero { position: relative; overflow: hidden; padding-block: 56px 64px;
  background:
    radial-gradient(900px 420px at 85% -10%, var(--glow-blue), transparent 70%),
    radial-gradient(700px 380px at -10% 110%, var(--glow-cyan), transparent 70%),
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 44px 44px; }
@media (min-width: 768px) { .hero { padding-block: 88px 104px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 56px; } }
.hero h1 { margin-top: 18px; text-wrap: balance; }
.hero h1 em { font-style: normal; background: linear-gradient(92deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin-top: 20px; }
.endpoint { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 28px; padding: 12px 12px 12px 16px; border: 1px solid var(--border-bright);
  border-radius: 12px; background: color-mix(in srgb, var(--bg-card) 88%, transparent); max-width: 560px; }
.endpoint-label { font-size: 14px; font-weight: 600; color: var(--text-subtle); text-transform: uppercase; letter-spacing: .06em; }
.endpoint code { flex: 1 1 240px; background: transparent; padding: 0; font-size: 15px; color: var(--text-bright); overflow-wrap: anywhere; }
.copy-btn { min-height: 36px; padding: 0 14px; margin: 0; width: auto; border-radius: 8px; border: 1px solid var(--border-bright); background: var(--bg-surface); color: var(--text); font-size: 15px; font-weight: 600; cursor: pointer; }
.copy-btn:hover { border-color: var(--blue); color: var(--text-bright); }
.copy-btn[data-copied] { border-color: var(--green); color: var(--green); }

/* the conversation card */
.chat { border: 1px solid var(--border-bright); border-radius: 16px; background: var(--bg-card); box-shadow: var(--shadow); overflow: hidden; }
.chat-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--text-subtle); }
.chat-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-bright); }
.chat-bar i:nth-child(1) { background: #f85149; } .chat-bar i:nth-child(2) { background: #f59e0b; } .chat-bar i:nth-child(3) { background: #22c55e; }
.chat-bar span { margin-left: 8px; }
.chat-body { display: grid; gap: 14px; padding: 20px; }
.msg { max-width: 92%; padding: 12px 16px; border-radius: 14px; font-size: 16px; line-height: 1.5; }
.msg-user { justify-self: end; background: var(--blue); color: var(--on-accent); border-bottom-right-radius: 4px; font-weight: 500; }
.msg-tool { justify-self: start; display: grid; gap: 8px; width: 100%; max-width: 100%; background: var(--bg-surface); border: 1px dashed var(--border-bright); font-size: 15px; }
.msg-tool .tool-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--text-subtle); }
.msg-assistant { justify-self: start; background: var(--bg-hover); color: var(--text); border-bottom-left-radius: 4px; }
.fields { display: flex; flex-wrap: wrap; gap: 6px; }
.fields span { font-family: var(--font-mono); font-size: 14px; padding: 2px 8px; border-radius: 6px; background: var(--bg); border: 1px solid var(--border); color: var(--text-quiet); }
.tool { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 14px; font-weight: 500; padding: 3px 10px; border-radius: 999px;
  color: var(--cyan); background: color-mix(in srgb, var(--cyan) 12%, transparent); border: 1px solid color-mix(in srgb, var(--cyan) 35%, transparent); white-space: nowrap; }

/* ---- feature cards */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card);
  transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--border-bright); transform: translateY(-2px); }
.card p { color: var(--text-quiet); font-size: 16px; }
.card-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--bg-surface); border: 1px solid var(--border-bright); }
.accent-blue { color: var(--blue); } .accent-cyan { color: var(--cyan); } .accent-gold { color: var(--gold); }
.accent-green { color: var(--green); } .accent-pink { color: var(--pink); } .accent-purple { color: var(--purple); } .accent-orange { color: var(--orange); }
.card.edge-blue { border-left: 3px solid var(--blue); } .card.edge-cyan { border-left: 3px solid var(--cyan); } .card.edge-gold { border-left: 3px solid var(--gold); }
.card.edge-green { border-left: 3px solid var(--green); } .card.edge-pink { border-left: 3px solid var(--pink); } .card.edge-purple { border-left: 3px solid var(--purple); }
.card-note { font-size: 15px; color: var(--text-subtle); }

/* ---- steps */
.steps { display: grid; gap: 16px; counter-reset: step; padding: 0; margin: 0; list-style: none; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px; margin: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); list-style: none; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  font-weight: 700; font-size: 17px; color: var(--on-accent); background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.steps li p { color: var(--text-quiet); font-size: 16px; }
.steps code { font-size: 15px; overflow-wrap: anywhere; }

/* ---- examples */
.examples { display: grid; gap: 16px; }
@media (min-width: 900px) { .examples { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.example { display: grid; gap: 14px; align-content: start; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.example .prompt { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; font-weight: 600; color: var(--text-bright); line-height: 1.4; }
.example .prompt .icon { color: var(--blue); margin-top: 2px; }
.example .does { color: var(--text-quiet); font-size: 16px; }
.example .tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.example .tools .arrow { color: var(--text-subtle); }

/* ---- audience + trust */
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; margin: 0; border-radius: 999px; border: 1px solid var(--border-bright); background: var(--bg-card); font-size: 16px; font-weight: 500; list-style: none; }
.who { display: grid; gap: 16px; }
@media (min-width: 640px) { .who { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .who { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trust { background: linear-gradient(180deg, var(--bg-card), var(--bg)); }
.trust-list { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 768px) { .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trust-list li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; margin: 0; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-card); list-style: none; }
.trust-list li p { color: var(--text-quiet); font-size: 16px; margin-top: 4px; }

/* ---- faq */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { margin: 0; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-size: 18px; line-height: 1.35; font-weight: 600; color: var(--text-bright); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
/* The chevron stays on the question's centre line however the question wraps. */
.faq summary::after { float: none; flex: none; margin: 0 0 0 auto; }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq details p { padding: 16px 22px 20px; color: var(--text-quiet); font-size: 17px; }

/* ---- cta band */
.cta-band { padding: 40px 28px; border-radius: 20px; border: 1px solid var(--border-bright); text-align: center;
  background: radial-gradient(600px 240px at 50% 0%, var(--glow-blue), transparent 70%), var(--bg-card); }
.cta-band h2 { text-wrap: balance; }
.cta-band p { margin: 14px auto 0; max-width: 60ch; color: var(--text-quiet); }
.cta-band .actions { justify-content: center; }

/* ---- docs */
.page-hero { padding-block: 48px 40px; border-bottom: 1px solid var(--border);
  background: radial-gradient(700px 300px at 90% -20%, var(--glow-blue), transparent 70%); }
@media (min-width: 768px) { .page-hero { padding-block: 72px 56px; } }
.page-hero h1 { margin-top: 14px; }
.page-hero .lede { margin-top: 16px; }
.docs { display: grid; gap: 40px; padding-block: 40px 80px; }
@media (min-width: 1024px) { .docs { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; } }
nav.toc { display: block; align-self: start; }
nav.toc ol { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; align-items: stretch; margin: 0; }
@media (min-width: 1024px) { nav.toc ol { display: grid; gap: 2px; } }
.anav-footer .anav-footer-legal { box-sizing: border-box; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
nav.toc li { padding: 0; }
article.card, article.example, article.tool-card { margin: 0; box-shadow: none; }
.tool-card ul.args { padding: 0; padding-inline-start: 0; }
@media (min-width: 1024px) { .toc { position: sticky; top: 88px; } }
.toc p { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 10px; }
.toc ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 1024px) { .toc ol { display: grid; gap: 2px; } }
.toc li { margin: 0; list-style: none; }
.toc a { display: block; margin: 0; padding: 8px 12px; border-radius: 8px; color: var(--text-quiet); text-decoration: none; font-size: 16px; border: 1px solid var(--border); }
@media (min-width: 1024px) { .toc a { border-color: transparent; } }
.toc a:hover { color: var(--text-bright); background: var(--bg-surface); }
.doc-section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--border); }
.doc-section:last-child { border-bottom: 0; margin-bottom: 0; }
.doc-section > h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 28px; }
.doc-section > h2 .icon { width: 26px; height: 26px; }
.doc-section > p, .doc-section > ul > li, .doc-section > ol > li { color: var(--text-quiet); }
.doc-section > p + p { margin-top: 12px; }
.doc-section ul, .doc-section ol { margin: 14px 0 0; padding-left: 22px; }
.doc-section li { margin-bottom: 8px; }
.doc-section h3 { margin: 28px 0 10px; }
.prose-card { display: grid; gap: 12px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.prose-card h3 { margin: 0; display: flex; align-items: center; gap: 10px; }
.prose-card ol, .prose-card ul { margin: 0; padding-left: 22px; color: var(--text-quiet); }
.prose-card p { color: var(--text-quiet); }
.codeblock { position: relative; display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; padding: 14px 14px 14px 16px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border-bright); }
.codeblock code { flex: 1 1 260px; padding: 0; background: transparent; color: var(--text-bright); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.55; }
.kv { display: grid; gap: 0; margin: 16px 0 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.kv > div { display: grid; gap: 4px; padding: 14px 18px; background: var(--bg-card); }
.kv > div + div { border-top: 1px solid var(--border); }
@media (min-width: 700px) { .kv > div { grid-template-columns: 220px 1fr; gap: 20px; } }
.kv dt { font-weight: 600; color: var(--text-bright); font-size: 16px; }
.kv dd { margin: 0; color: var(--text-quiet); font-size: 16px; }
.tool-list { display: grid; gap: 14px; margin-top: 20px; }
.tool-card { display: grid; gap: 10px; padding: 20px 22px; border: 1px solid var(--border); border-left: 3px solid var(--cyan); border-radius: var(--radius); background: var(--bg-card); }
.tool-card h3 { margin: 0; font-family: var(--font-mono); font-size: 18px; font-weight: 600; letter-spacing: 0; color: var(--text-bright); overflow-wrap: anywhere; }
.tool-card > p { color: var(--text-quiet); font-size: 16px; }
.args { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.args li { margin: 0; list-style: none; font-family: var(--font-mono); font-size: 14px; padding: 2px 9px; border-radius: 6px; background: var(--bg-surface); border: 1px solid var(--border); color: var(--text-quiet); }
.args li.req { border-color: color-mix(in srgb, var(--gold) 55%, transparent); color: var(--gold); }
.tool-card details { margin: 0; }
.tool-card summary { font-size: 15px; color: var(--blue); cursor: pointer; }
.tool-card details p { margin-top: 10px; font-size: 15px; color: var(--text-quiet); line-height: 1.6; overflow-wrap: anywhere; }
.callout { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); background: color-mix(in srgb, var(--gold) 8%, var(--bg-card)); color: var(--text); font-size: 16px; }
.callout .icon { color: var(--gold); }
.callout.info { border-color: color-mix(in srgb, var(--blue) 40%, transparent); background: color-mix(in srgb, var(--blue) 8%, var(--bg-card)); }
.callout.info .icon { color: var(--blue); }

/* ---- 404 */
.notfound { padding-block: 96px 120px; }
.notfound .eyebrow { color: var(--gold); }
.notfound h1 { margin-top: 12px; }
.notfound .lede { margin-top: 16px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card, .btn { transition: none; } .card:hover, .btn:hover { transform: none; } }

/* chrome:begin */
/* ---- CJK typography (translation review 2026-09-15) */
/* Korean and Chinese punctuation and text use system CJK fonts before DM Sans
   (DM Sans has no CJK glyphs and draws "——" as two Latin dashes). */
:lang(ko) { --font-sans: "Apple SD Gothic Neo", "Noto Sans KR", "Noto Sans CJK KR", "Malgun Gothic", "DM Sans", system-ui, sans-serif; }
:lang(zh) { --font-sans: "PingFang SC", "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", "Hiragino Sans GB", "DM Sans", system-ui, sans-serif; }
/* Korean breaks between words, never inside a syllable block. */
:lang(ko) body, :lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(ko) p, :lang(ko) li, :lang(ko) dd, :lang(ko) .card { word-break: keep-all; overflow-wrap: anywhere; }
/* Chinese: strict line breaking; headings balance their lines. (keep-all is
   wrong for Chinese: unspaced text becomes one unbreakable run.) */
:lang(zh) body { line-break: strict; }
:lang(zh) h1, :lang(zh) h2 { text-wrap: balance; }
/* site.js wraps each Chinese word of a heading (Intl.Segmenter) in .nw. */
.nw { white-space: nowrap; }
/* chrome:end */

/* ---- customer plane: account, legal pages */
.anav .nav-account { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; margin-right: 6px; color: var(--text-bright); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.anav .nav-account:hover { color: var(--blue); }
.account, .legal { padding-block: 40px 80px; }
.account-links { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.account-links li { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.account-links a { font-weight: 600; font-size: 18px; }
.legal-version { font-size: 15px; margin-bottom: 20px; }
.legal-body { display: grid; gap: 14px; }
.legal-body h2 { font-size: 26px; margin-top: 28px; } .legal-body h3 { font-size: 20px; margin-top: 16px; } .legal-body h4 { margin-top: 8px; }
.legal-body ul, .legal-body ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.legal-other { margin-top: 32px; }
/* chrome:begin */
/* The price's VAT basis on store pages (storefilter.go). */
.lh-price .brreg-vat { display: block; margin: .35rem 0 0; font: 500 0.875rem/1.35 var(--font-sans); color: var(--text-quiet); letter-spacing: 0; }
.brreg-card-pay { margin: 0 0 1rem; }
/* Five plans across one row leave each card ~200 px: the figure must not break
   inside "kr" or "/mnd". */
@media (min-width: 1180px) { .lh-featured-5 .lh-price { font-size: 1.35rem; } }
.lh-price { overflow-wrap: normal; }
.lh-price > small:not(.brreg-vat) { white-space: nowrap; }
.lh-foot-lang { display: inline-flex; flex-wrap: wrap; gap: .4rem 1rem; }
/* chrome:end */
