/* Posmak — direction "Workshop": graphite header band, one orange accent, warm page,
   white cards, condensed display type (IBM Plex Sans Condensed: clean đ/ć/č/š/ž), pictogram badges
   (outline = not offered, filled = offered). */


:root {
  color-scheme: light;
  --bg: #f4f3f0;
  --panel: #ffffff;
  --ink: #1d1d1d;
  --text2: #3c4043;
  --muted: #5f6368;
  --faint: #9aa0a6;
  --off: #8a8f94;
  --off-ink: #7c8188;
  --rule: #d9d7d2;
  --rule2: #e3e1dc;
  --soft: #eceae6;
  --head: #1f2429;
  --head2: #2a3037;
  --head-rule: #343a40;
  --head-text: #cfd4d9;
  --head-muted: #aab0b6;
  --accent: #4d8fd6;
  --accent-ink: #0053a4;
  --tint: #d6e6f7;
  --tile: #dce9f6;
  --on-bg: #f2f7fc;
  --on-rule: #9dbfe3;
  --gold: #7a5200;
  --gold-ink: #a66d00;
  --gold-bg: #fff8e1;
  --gold-pill: #fff3cd;
  --gold-rule: #e6c15a;
  --gold-bar: #d4a018;
  --gold-tint: #ffe08a;
  --ok: #0f6e56;
  --ok-bg: #d5efe6;
  --warn: #8a5a00;
  --danger: #b3261e;
  --font: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'IBM Plex Sans Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1200px;
  --gutter: 20px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 12px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.45 var(--font); }
a { color: var(--ink); text-decoration: underline; text-decoration-color: #c9c6c0; text-underline-offset: 2px; }
a:hover { color: var(--accent-ink); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
h1, h2, h3 { margin: 0 0 .4em; font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: .01em; }
h1 { font-size: 34px; }
h2 { font-size: 22px; margin-top: 1.4em; padding-bottom: 6px; border-bottom: 2px solid var(--ink); text-transform: uppercase; letter-spacing: .03em; }
h3 { font-size: 18px; }
p { margin: 0 0 .9em; }
small, .muted { color: var(--muted); }
.faint { color: var(--faint); }
hr { border: 0; border-top: 1px solid var(--rule2); margin: 18px 0; }
code { font-family: var(--mono); font-size: 13px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--rule2); vertical-align: top; }
th { font: 500 11px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
td.num, .num { font-variant-numeric: tabular-nums; }
.tscroll { overflow-x: auto; }
.count { color: var(--muted); font-variant-numeric: tabular-nums; margin-left: 4px; font-weight: 400; }

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
main.wrap { padding-top: 22px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 14px; }
.panel { background: var(--panel); border: 1px solid var(--rule); border-radius: 3px; padding: 26px 30px; }
.panel > h1:first-child { margin-top: 0; }
.panel h2:first-of-type { margin-top: 1em; }
.prose { max-width: 72ch; }
.sections { display: flex; flex-direction: column; gap: 26px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 28px; }
ul.plain { list-style: none; margin: 0; padding: 0; }
ul.plain li { padding: 3px 0; }

/* ---------- header band ---------- */
header.site { background-color: var(--head); background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 24px 24px; color: #fff; }
header.site a { color: var(--head-text); text-decoration: none; }
header.site a:hover { color: #fff; }
header.site .bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding: 12px 0; border-bottom: 1px solid var(--head-rule); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; color: #fff !important; }
/* The logo reads "Posmak": the hatched P is the capital, as high as a capital of the text and on its baseline; "osmak" follows in lowercase. */
.wm { display: inline-flex; align-items: baseline; font: 700 40px/.85 var(--display); letter-spacing: 0; color: #fff; white-space: nowrap; }
.wm svg { display: block; flex: 0 0 auto; height: .7em; width: .56em; margin-right: .02em; }
/* Honeypot of the public forms (SpamTrap.astro): off-screen, never display:none. */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* First tab stop of every page; visible only while it has the keyboard focus. */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 3px; font-weight: 600; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.skip:focus { left: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* One-time language offer above the header. */
.langbar { margin: 0; padding: 7px 16px; background: var(--tint); color: var(--ink); font-size: 14px; text-align: center; }
.langbar a { margin-left: 6px; color: var(--accent-ink); font-weight: 600; text-decoration-color: currentColor; white-space: nowrap; }
.wordmark small { font-size: 11px; color: var(--head-muted); letter-spacing: .08em; text-transform: uppercase; padding-left: 10px; border-left: 1px solid #4a5159; }
nav.main { display: flex; gap: 22px; font-size: 14px; font-weight: 500; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
nav.main::-webkit-scrollbar { display: none; }
nav.main a { white-space: nowrap; padding-bottom: 2px; border-bottom: 2px solid transparent; }
nav.main a[aria-current] { color: #fff; border-bottom-color: var(--accent); }
.langs { margin-left: auto; display: flex; gap: 2px; font-size: 13px; margin-right: -8px; }
.langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; padding: 0 5px; }
.langs a[aria-current] { color: #fff; font-weight: 600; }
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 20px 0 22px; }
.hero .ttl { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 380px; }
.hero h1 { margin: 0; font: 700 34px/1.05 var(--display); letter-spacing: .01em; color: #fff; }
.hero .lede { font-size: 14px; color: var(--head-muted); max-width: 64ch; }
.hero .lede a { color: var(--head-text); }
.dim { display: block; max-width: 100%; height: auto; color: var(--head-muted); }
.dim .arr { fill: var(--accent); }
.dim .mask { fill: var(--head); }
.dim text { fill: var(--head-text); font: 12.5px var(--mono); }
.hero form.search { flex: 1 1 380px; max-width: 560px; margin: 0 0 0 auto; }
.hero form.search input { background: var(--head2); color: #fff; border-color: #4a5159; }
.hero form.search input::placeholder { color: #8a9199; }

/* ---------- search box ---------- */
form.search { display: flex; gap: 8px; margin: 0; }
form.search input[type="search"] { flex: 1; min-width: 0; font: 16px var(--font); padding: 11px 14px; border: 1px solid #c9c6c0; border-radius: 4px; background: #fff; color: var(--ink); }
form.search input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/* ---------- buttons ---------- */
button, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 14px/1.2 var(--font); padding: 9px 14px; border-radius: 4px; border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; text-decoration: none; white-space: nowrap; }
button:hover, .btn:hover { color: #fff; background: #000; }
button.ghost, .btn.ghost { background: #fff; color: var(--ink); border-color: #c9c6c0; }
button.ghost:hover, .btn.ghost:hover { background: #fff; color: var(--accent-ink); border-color: var(--accent-ink); }
button.acc, .btn.acc { background: var(--accent-ink); border-color: var(--accent-ink); }
button.acc:hover, .btn.acc:hover { background: #004080; border-color: #004080; }
button.link { background: none; border: 0; color: var(--ink); text-decoration: underline; padding: 0; font-weight: 400; }
button.link:hover { color: var(--accent-ink); background: none; }
button:disabled { opacity: .55; cursor: default; }

/* ---------- pills (status) ---------- */
.pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 3px; padding: 2px 8px 2px 5px; font-size: 12px; font-weight: 600; letter-spacing: .02em; line-height: 1.3; vertical-align: middle; text-decoration: none; white-space: nowrap; }
.pill svg { width: 14px; height: 14px; flex: 0 0 auto; }
.pill.pv { background: var(--ok-bg); color: var(--ok); }
.pill.pv svg { --tint: #fff; }
.pill.pg { background: var(--gold-pill); color: var(--gold); }
.pill.pg svg { color: var(--gold-ink); --tint: var(--gold-tint); }
.pill.pg.outline { background: transparent; color: var(--faint); border: 1px solid var(--rule); font-weight: 500; }
.pill.pg.outline svg { color: var(--faint); --tint: none; }
.pill.pg.outline:hover { color: var(--gold); border-color: var(--gold-rule); }
.pill.pc { background: var(--soft); color: var(--text2); font-weight: 500; }
.pill.pu { background: #fff; color: var(--muted); border: 1px solid var(--rule); font-weight: 500; }
.pill.lg { font-size: 13px; padding: 3px 10px 3px 6px; }
.pill.lg svg { width: 16px; height: 16px; }
/* admin pills */
.pill.ok { color: var(--ok); border: 1px solid #b7dcc1; }
.pill.warn { color: var(--warn); border: 1px solid #ead9a8; }
.pill.danger { color: var(--danger); border: 1px solid #f0b4b0; }
.badge-gold { display: inline-block; font-size: 12px; font-weight: 600; color: var(--gold); background: var(--gold-pill); border: 1px solid var(--gold-rule); border-radius: 3px; padding: 0 6px; vertical-align: middle; text-decoration: none; }

/* ---------- capability badges ---------- */
.bd { position: relative; display: inline-flex; align-items: center; justify-content: center; color: inherit; text-decoration: none; border-radius: 4px; background: none; border: 0; padding: 0; font: inherit; cursor: default; }
a.bd, button.bd { cursor: pointer; }
.bd:hover { color: inherit; }
/* A larger hit area than the icon, without moving anything: the sub-badges are only 14 to 16 px. */
.bd::before { content: ''; position: absolute; inset: -4px; }
.bd[data-tip]::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 7px); transform: translateX(-50%); background: var(--head); color: #fff; font: 400 12px/1.35 var(--font); letter-spacing: 0; text-transform: none; padding: 6px 9px; border-radius: 4px; width: max-content; max-width: 240px; white-space: normal; text-align: left; display: none; pointer-events: none; z-index: 30; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
/* A hidden tooltip must not exist in the layout: merely invisible ones made phone pages scroll sideways. */
.bd[data-tip]:hover::after, .bd[data-tip]:focus-visible::after, .bd.show::after { display: block; }
.bd.edge-l::after { left: 0; transform: none; }
.bd.edge-r::after { left: auto; right: 0; transform: none; }
@media (max-width: 480px) {
  /* Narrower on phones, so an open tooltip stays inside the screen. */
  .bd[data-tip]::after { max-width: 190px; }
}
.cap { width: 26px; height: 26px; color: var(--off); --tint: none; display: block; }
.sub { width: 16px; height: 16px; color: var(--off); --tint: none; display: block; flex: 0 0 auto; }
.on > .cap, .cap.on, .on > .sub, .sub.on { color: var(--accent-ink); --tint: var(--tint); }
.caps { display: grid; grid-template-columns: repeat(8, 62px); gap: 4px; margin-top: 2px; }
.capc { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; line-height: 1.1; color: var(--off-ink); text-align: center; }
.capc.on { color: var(--ink); font-weight: 500; }
.capc .lbl { max-width: 66px; }
.subrow { display: flex; gap: 2px; min-height: 16px; flex-wrap: wrap; justify-content: center; max-width: 66px; }

/* ---------- cards ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.card { background: #fff; border: 1px solid var(--rule); border-radius: 3px; padding: 14px 16px; display: flex; gap: 16px; align-items: flex-start; position: relative; }
.card.gold { padding-left: 26px; }
.card.gold::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; border-radius: 2px 0 0 2px; background: repeating-linear-gradient(45deg, var(--gold-bar) 0 2px, var(--gold-pill) 2px 6px); border-right: 1px solid var(--gold-rule); }
.card.thin { padding: 10px 16px; align-items: center; }
.card .body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.card .side { flex: 0 0 150px; display: flex; flex-direction: column; gap: 8px; align-items: stretch; text-align: center; font-size: 12px; color: var(--muted); }
.titlerow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.name { margin: 0; font: 700 23px/1.1 var(--display); letter-spacing: .01em; text-transform: none; border: 0; padding: 0; }
.name a { text-decoration: none; color: var(--ink); }
.name a:hover { color: var(--accent-ink); }
.card.thin .name { font-size: 19px; }
.meta { font-size: 13px; color: var(--muted); }
.meta a { color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--text2); }
.facts b { font-weight: 600; color: var(--ink); }
.tile { width: 64px; height: 64px; border-radius: 3px; background: var(--tile); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; overflow: hidden; }
.tile svg { width: 38px; height: 38px; color: var(--accent-ink); --tint: #fff; }
.tile.grey { background: var(--soft); }
.tile.grey svg { color: #8a8f94; --tint: none; }
.tile.logo { background: #fff; border: 1px solid var(--rule2); }
.tile img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tile.sm { width: 48px; height: 48px; }
.tile.sm svg { width: 28px; height: 28px; }
.tile.lg { width: 96px; height: 96px; }
.tile.lg svg { width: 56px; height: 56px; }

/* ---------- gold strip ---------- */
.gold-strip { border: 1px solid var(--gold-rule); background: var(--gold-bg); border-radius: 3px; padding: 10px 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.gold-strip .strip-title { display: flex; align-items: center; gap: 8px; font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.gold-strip .strip-title svg { width: 14px; height: 14px; color: var(--gold-ink); --tint: var(--gold-tint); }
.gold-strip .empty { font-size: 13px; color: var(--gold); margin: 0; }
.gold-strip .empty a { color: var(--gold); }

/* ---------- search layout, rail, toolbar ---------- */
.search-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 24px; align-items: start; }
.search-layout > section { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.rail { background: #fff; border: 1px solid var(--rule); border-radius: 3px; padding: 14px 16px; }
.rail summary { list-style: none; cursor: default; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: 700 18px/1 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.rail summary::-webkit-details-marker { display: none; }
.rail summary .n { font: 500 12px var(--font); letter-spacing: 0; text-transform: none; color: var(--muted); }
.rail summary .tog { display: none; font: 500 13px var(--font); letter-spacing: 0; text-transform: none; color: var(--accent-ink); }
.rail[open] > summary { margin-bottom: 14px; }
form.filters { display: grid; gap: 12px; }
form.filters label { display: grid; gap: 5px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
form.filters select, form.filters input[type="search"], form.stack input, form.stack textarea, form.stack select { font: 14px var(--font); padding: 8px 10px; border: 1px solid #c9c6c0; border-radius: 4px; background: #fff; color: var(--ink); letter-spacing: 0; text-transform: none; width: 100%; }
form.filters .group { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px solid var(--rule2); }
.check, form.filters label.check, form.stack label.check { display: flex; align-items: center; gap: 8px; font: 400 14px var(--font); color: var(--ink); text-transform: none; letter-spacing: 0; }
.check input { width: auto; margin: 0; accent-color: var(--accent-ink); }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.toolbar .sort { margin-left: auto; }
.toolbar .sort b { color: var(--ink); font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--soft); color: var(--text2); border-radius: 3px; padding: 2px 8px; font-size: 12px; font-weight: 500; text-decoration: none; }
.chip:hover { color: var(--accent-ink); }
.chip .x { font-weight: 700; }
.pager { display: flex; gap: 16px; font-size: 14px; color: var(--muted); padding-top: 6px; align-items: center; }
.pager a { font-weight: 500; }
.callout { border-left: 3px solid var(--rule); padding: 8px 14px; color: var(--muted); font-size: 14px; margin: 0; background: #fff; border-radius: 0 4px 4px 0; }
.callout.gold { border-left-color: var(--gold-bar); background: var(--gold-bg); color: var(--ink); }
.callout.acc { border-left-color: var(--accent); color: var(--ink); }
.note { font-size: 13px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; align-items: center; }
.chips a, .chips span { font-size: 13px; border: 1px solid var(--rule); background: #fff; border-radius: 3px; padding: 2px 8px; text-decoration: none; }
.chips a:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.chips .lead { border: 0; background: none; padding-left: 0; color: var(--muted); }
.chips h2.lead { margin: 0; padding: 0 2px 0 0; font: 13px var(--font); text-transform: none; letter-spacing: 0; }
.gold-strip h2.strip-title { margin: 0; padding: 0; border: 0; }

/* ---------- browse tiles on the home page ---------- */
.fam { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.famc { border: 1px solid var(--rule2); border-radius: 3px; background: #fff; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.famc.on { border-color: var(--on-rule); background: var(--on-bg); }
.famc.dashed { border-style: dashed; }
.famh { display: flex; align-items: center; gap: 10px; font: 700 17px/1.1 var(--display); color: var(--off-ink); text-decoration: none; }
.famc.on .famh, .famh.on { color: var(--ink); }
.famh:hover { color: var(--accent-ink); }
.famh svg { width: 30px; height: 30px; flex: 0 0 auto; }
.famh .count { font: 400 13px var(--font); }
.s, .famc .s.bd { display: flex; justify-content: flex-start; align-items: center; gap: 7px; font-size: 12.5px; line-height: 1.2; color: var(--off-ink); padding: 2px 0; text-decoration: none; text-align: left; }
.s.on { color: var(--ink); font-weight: 500; }
a.s:hover { color: var(--accent-ink); }
.s .sub { width: 18px; height: 18px; }
.s .count { font-size: 12px; }

/* ---------- company page ---------- */
.crumbs { font-size: 13px; color: var(--muted); margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); text-decoration: underline; }
.crumbs .sep { color: var(--faint); }
.crumbs .here { color: var(--ink); font-weight: 500; }
.toolbar .crumbs { font-size: 14px; margin-right: 8px; }
.cohead { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.cohead .body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cohead h1 { margin: 0; font: 700 40px/1 var(--display); letter-spacing: .01em; }
.cohead .meta { font-size: 15px; }
.cohead .facts { font-size: 14px; }
.cohead .desc { margin: 4px 0 0; max-width: 72ch; }
.vline { margin: 0; font-size: 13px; color: var(--ok); display: flex; gap: 8px; align-items: flex-start; }
.vline svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 1px; --tint: #fff; }
.contact-box { flex: 0 0 300px; border: 1px solid var(--rule); border-radius: 3px; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #fafaf8; }
.contact-box .ttl { font: 700 16px var(--display); letter-spacing: .04em; text-transform: uppercase; }
.contact-box .row { display: flex; gap: 10px; font-size: 14px; align-items: baseline; }
.contact-box .row span:first-child { color: var(--muted); min-width: 64px; font-size: 13px; }
.contact-box .row a { overflow-wrap: anywhere; }
.contact-box .note { margin: 0; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; margin: 0; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.sources { font-size: 13px; color: var(--muted); }
.sources p { margin: 0 0 6px; }
.sources a { overflow-wrap: anywhere; }
.others { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.others li { font-size: 14px; }
.others .muted { font-size: 12px; display: block; }

/* ---------- forms ---------- */
form.stack { display: grid; gap: 14px; max-width: 620px; }
form.stack label { display: grid; gap: 5px; font-size: 13px; font-weight: 500; }
form.stack label small { font-weight: 400; color: var(--muted); }
form.stack input, form.stack textarea, form.stack select { font-size: 15px; }
form.stack textarea { min-height: 110px; }
form.stack .check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 14px; }
form.stack .check input { width: auto; margin-top: 4px; }
form.stack fieldset { border: 1px solid var(--rule2); border-radius: 3px; padding: 10px 14px 12px; margin: 0; }
form.stack legend { font: 700 16px var(--display); letter-spacing: .03em; text-transform: uppercase; padding: 0 6px; }
form.stack .cols .check { font-size: 14px; }
form.stack .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
/* Sample parts: one row per part (description, material, process); stacks on a phone. */
.sprows { display: grid; gap: 8px; }
.sprow { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.3fr) minmax(0, 1.7fr); gap: 8px; }
.sprow input, .sprow select { width: 100%; min-width: 0; }
.sphead { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) {
  .sprow { grid-template-columns: 1fr; gap: 4px; padding-bottom: 8px; border-bottom: 1px dashed var(--rule); }
  .sphead { display: none; }
}
form.stack .fam { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
form.stack .famc .check { font-size: 13px; padding: 1px 0; }
form.stack h3 { margin: 10px 0 0; font-size: 18px; }
.ok-msg { border: 1px solid #b7dcc1; background: #ecf7ef; color: var(--ok); padding: 10px 14px; border-radius: 4px; margin: 0 0 14px; }
.err-msg { border: 1px solid #f0b4b0; background: #fdf1f0; color: var(--danger); padding: 10px 14px; border-radius: 4px; margin: 0 0 14px; }
.logo-edit { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.logo-edit .tile { flex: 0 0 auto; }
.logo-edit .ctl { display: flex; flex-direction: column; gap: 8px; min-width: 240px; }
.logo-edit input[type="file"] { font-size: 14px; }

/* ---------- footer ---------- */
footer.site { background: var(--head); color: var(--head-muted); font-size: 13px; margin-top: 20px; }
footer.site .wrap { padding: 22px var(--gutter) 30px; display: grid; gap: 10px; }
footer.site a { color: var(--head-text); text-decoration: none; }
footer.site a:hover { color: #fff; }
footer.site nav button.link { color: var(--head-text); font: inherit; text-decoration: none; cursor: pointer; }
footer.site nav button.link:hover { color: #fff; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
footer.site p { margin: 0; max-width: 80ch; }

/* ---------- consent ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid var(--rule); border-radius: 3px; padding: 14px 16px; box-shadow: 0 6px 28px rgba(0, 0, 0, .14); font-size: 14px; z-index: 40; }
.consent p { margin: 0; }
.consent[hidden], .consent-more[hidden] { display: none; }
/* First layer: one large Accept, a quiet link to the rest. */
.consent-act { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.consent-act .acc { flex: 1 1 auto; padding: 13px 18px; font-size: 16px; }
.consent-act .link { flex: 0 0 auto; font-size: 13px; color: var(--muted); }
.consent-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--muted); }
.consent-more p { flex: 1 1 220px; }

/* ---------- admin ---------- */
.admin header.site .bar { padding: 10px 0; }
.admin main.wrap { gap: 0; }
.admin h1 { font-size: 28px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; margin: 0 0 18px; }
.admin table td, .admin table th { padding: 5px 8px 5px 0; }
.admin .grid2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px 24px; }
.admin form.stack { max-width: none; }
.admin textarea.json { font-family: var(--mono); font-size: 12px; min-height: 320px; }
.admin h2 { text-transform: none; border-bottom: 1px solid var(--rule); letter-spacing: 0; }
.stats { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 4px 0 8px; }
.stat { display: inline-block; margin: 0 24px 8px 0; }
.stats .stat { margin: 0; }
.stat b { font: 700 26px/1.1 var(--display); display: block; }
.stat span { font-size: 12px; color: var(--muted); }
.chips.suggest { background: #fff; border: 1px solid var(--rule); border-radius: 3px; padding: 8px 12px; }

/* ---------- drawing accents (direction W, DESIGN.md) ---------- */
.ddl { height: 1px; background: repeating-linear-gradient(90deg, var(--off) 0 14px, transparent 14px 18px, var(--off) 18px 21px, transparent 21px 25px); }
h2.sec { display: flex; align-items: center; gap: 10px; margin-top: 0; }
h2.sec .z { font: 500 11px/1 var(--mono); border: 1.5px solid var(--ink); padding: 3px 5px 2px; border-radius: 2px; letter-spacing: .05em; }
h2.sec .n { margin-left: auto; font: 400 13px var(--mono); color: var(--muted); text-transform: none; letter-spacing: 0; }
.tb { display: flex; flex-wrap: wrap; gap: 1px; background: var(--ink); border: 1.5px solid var(--ink); border-radius: 3px; overflow: hidden; margin: 2px 0; }
.tb > div { flex: 1 1 auto; background: #fff; padding: 6px 14px 5px 10px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tb small { font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tb b { font: 700 20px/1.1 var(--display); color: var(--ink); white-space: nowrap; }
.tb b a { text-decoration: none; }
.ftb { display: flex; flex-wrap: wrap; gap: 1px; background: #4a5159; border: 1px solid #4a5159; border-radius: 3px; overflow: hidden; }
.ftb > div { background: var(--head); padding: 8px 14px; display: flex; flex-direction: column; gap: 2px; justify-content: center; min-width: 0; }
.ftb > div.brand { flex-direction: row; align-items: center; gap: 10px; }
.ftb > div.grow { flex: 1 1 auto; }
.ftb .brand .wm { font-size: 28px; }
.ftb small { font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--head-muted); }
.ftb span, .ftb span a { font: 500 12px var(--mono); color: var(--head-text); white-space: nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .fam { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --gutter: 14px; }
  main.wrap { padding-top: 14px; }
  .panel { padding: 16px; }
  h1 { font-size: 28px; }
  header.site .bar { gap: 8px 16px; padding: 10px 0; }
  .wordmark small { display: none; }
  nav.main { order: 3; flex: 1 0 100%; gap: 18px; padding-bottom: 2px; }
  .hero { padding: 14px 0 16px; gap: 10px; }
  .hero h1 { font-size: 26px; }
  .hero form.search { flex-basis: 100%; }
  .search-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .rail summary { cursor: pointer; }
  .rail summary .tog { display: inline; }
  .card { padding: 12px; gap: 12px; }
  .card.gold { padding-left: 20px; }
  .tb b { font-size: 17px; }
  .ftb > div { padding: 6px 10px; }
  .card .side { display: none; }
  .tile { width: 48px; height: 48px; }
  .tile svg { width: 28px; height: 28px; }
  .tile.lg { width: 72px; height: 72px; }
  .tile.lg svg { width: 42px; height: 42px; }
  .name { font-size: 20px; }
  .cohead { gap: 14px; }
  .cohead h1 { font-size: 30px; }
  .contact-box { flex: 1 1 100%; }
  .caps { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 2px; }
  .capc .lbl { display: none; }
  .subrow { max-width: none; }
  .fam { grid-template-columns: minmax(0, 1fr); }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .kv dt { margin-top: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
  .toolbar .sort { margin-left: 0; flex-basis: 100%; }
  .consent { left: 8px; right: 8px; bottom: 8px; }
}
@media (max-width: 400px) {
  .caps { gap: 0; }
  .cap { width: 24px; height: 24px; }
  .sub { width: 14px; height: 14px; }
}
@media (hover: none) {
  .bd[data-tip]:hover::after { display: none; }
  .bd.show::after { display: block; }
}
@media print {
  header.site, footer.site, .consent, .langbar, .side, .rail { display: none !important; }
  body { background: #fff; }
}

/* =====================================================================================
   Redesign, November 2026 (DESIGN.md "Look"): white page, navy type, one blue for every
   action, Open Sans, rounded cards, built for phones first. This block comes last and
   overrides the older rules above; new rules for the look belong here.
   ===================================================================================== */
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 800;font-display:swap;src:url(/fonts/open-sans-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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:'Open Sans';font-style:normal;font-weight:300 800;font-display:swap;src:url(/fonts/open-sans-latin.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}

:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --ink: #15325b;
  --text2: #24364f;
  --muted: #5a6b82;
  --faint: #8695a8;
  --off: #9aa7b8;
  --off-ink: #74829a;
  --rule: #d5e0ee;
  --rule2: #e4ebf5;
  --soft: #eef5ff;
  --band: #eef5ff;
  --head: #15325b;
  --head2: #1d3f70;
  --head-rule: #2c4d7c;
  --head-text: #dbe6f5;
  --head-muted: #b9c9e0;
  --foot: #0d2242;
  --accent: #0e6aed;
  --accent-ink: #0e6aed;
  --accent-dark: #0958d9;
  --tint: #d6e6fb;
  --tile: #e3eeff;
  --on-bg: #f6faff;
  --on-rule: #a9c8f3;
  --font: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max: 1160px;
  --gutter: 20px;
  --r: 12px;
  --tap: 44px;
}
html { scroll-padding-top: 76px; }
body { font: 16px/1.55 var(--font); color: var(--text2); }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }
:focus-visible { outline: 3px solid #f5a623; outline-offset: 2px; }
h1, h2, h3 { color: var(--ink); letter-spacing: -0.01em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(28px, 6vw, 42px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(21px, 4.4vw, 26px); font-weight: 700; text-transform: none; border-bottom: 0; padding-bottom: 0; }
h3 { font-size: 18px; font-weight: 700; }
th { font: 600 12px var(--font); letter-spacing: .03em; }
main.wrap { padding-top: 26px; padding-bottom: 64px; gap: 18px; }
.panel { border-radius: var(--r); padding: 28px 32px; }

/* buttons and fields: thumb-sized */
button, .btn { min-height: var(--tap); padding: 0 18px; border-radius: 8px; font: 700 15px/1.2 var(--font); border: 2px solid var(--ink); background: var(--ink); }
button:hover, .btn:hover { background: #0d2242; border-color: #0d2242; text-decoration: none; }
button.acc, .btn.acc { background: var(--accent); border-color: var(--accent); }
button.acc:hover, .btn.acc:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
button.ghost, .btn.ghost { background: #fff; color: var(--accent-ink); border-color: var(--rule); }
button.ghost:hover, .btn.ghost:hover { background: var(--soft); border-color: var(--accent); color: var(--accent-dark); }
button.link { min-height: 0; border: 0; color: var(--accent-ink); }
form.search input[type="search"] { min-height: 50px; border: 2px solid var(--rule); border-radius: 8px; font-size: 16px; color: var(--ink); }
form.search input[type="search"]:focus { border-color: var(--accent); outline: none; }
form.search button { min-height: 50px; }
form.filters select, form.filters input[type="search"], form.stack input, form.stack textarea, form.stack select { min-height: 46px; font-size: 16px; border: 1.5px solid #c3d1e4; border-radius: 8px; color: var(--ink); }
form.stack input[type="checkbox"], form.stack input[type="radio"], form.filters input[type="checkbox"] { min-height: 0; width: 20px; height: 20px; flex: 0 0 auto; }
form.stack input[type="file"] { padding: 9px 10px; }
form.stack label { font-size: 14px; font-weight: 600; color: var(--ink); }
form.stack fieldset { border-radius: var(--r); border-color: var(--rule); padding: 12px 16px 16px; }
form.stack legend { font: 700 17px var(--font); letter-spacing: 0; text-transform: none; color: var(--ink); }
form.filters label { font: 600 12px var(--font); letter-spacing: .03em; }
.check, form.filters label.check, form.stack label.check { font: 400 15px var(--font); color: var(--text2); min-height: 32px; }
.ok-msg, .err-msg { border-radius: 8px; }

/* pills, chips, cards */
.pill { border-radius: 999px; padding: 3px 10px 3px 8px; }
.pill.pc { background: var(--soft); color: #0958d9; }
.card { border-radius: var(--r); padding: 16px 18px; }
.card.gold::before { border-radius: var(--r) 0 0 var(--r); }
.name { font: 700 21px/1.2 var(--font); letter-spacing: -0.01em; }
.tile { border-radius: 10px; }
.gold-strip { border-radius: var(--r); padding: 14px 16px 16px; }
.gold-strip .strip-title { font: 700 12px var(--font); letter-spacing: .08em; }
.chip { border-radius: 999px; padding: 4px 12px; font-size: 13px; }
.chips { gap: 8px; }
.chips a, .chips span { font-size: 14px; font-weight: 600; border-radius: 999px; padding: 6px 14px; color: var(--ink); }
.chips .lead { font-weight: 400; }
.callout { border-radius: 8px; border-left-width: 4px; background: var(--on-bg); padding: 12px 16px; font-size: 15px; }
.callout.acc { border-left-color: var(--accent); }
.note { font-size: 14px; }
.rail { border-radius: var(--r); }
.rail summary { font: 700 18px/1.2 var(--font); letter-spacing: 0; text-transform: none; color: var(--ink); }
.contact-box { border-radius: var(--r); background: var(--on-bg); border-color: var(--on-rule); }
.contact-box .ttl { font: 700 17px var(--font); letter-spacing: 0; text-transform: none; color: var(--ink); }
.cohead h1 { font: 800 clamp(28px, 6vw, 40px)/1.1 var(--font); letter-spacing: -0.02em; }
.bd[data-tip]::after { border-radius: 8px; }
.pager a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 16px; border: 1.5px solid var(--rule); border-radius: 8px; font-weight: 700; }

/* capability cards (home, landing pages, owner form) */
.fam { gap: 12px; }
.famc { border-radius: var(--r); padding: 16px; gap: 2px; }
.famh { gap: 12px; min-height: 44px; font: 700 18px/1.15 var(--font); margin-bottom: 4px; }
.famc.on .famh, .famh.on { color: var(--ink); }
.famh svg { width: 34px; height: 34px; }
.famh .count { font: 400 15px var(--font); }
.s, .famc .s.bd { gap: 10px; min-height: 34px; font-size: 14.5px; padding: 0; }
.s.on { color: var(--text2); font-weight: 600; }
.s .sub { width: 20px; height: 20px; }
.s .count { font-size: 13.5px; }

/* drawing accents, quieter in the new look */
h2.sec { gap: 0; }
h2.sec .z { display: none; }
h2.sec .n { font: 400 14px var(--font); }
.ddl { background: var(--rule2); }
.tb { gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 10px; }
.tb > div { padding: 10px 16px 9px 14px; }
.tb small { font: 600 11px var(--font); letter-spacing: .05em; }
.tb b { font: 700 18px/1.2 var(--font); }
.stat b { font: 800 26px/1.1 var(--font); color: var(--ink); }
.kv dt { color: var(--muted); }

/* ---------- header: white bar, sticky; menu button on phones ---------- */
header.site { position: sticky; top: 0; z-index: 30; background: #fff; background-image: none; color: var(--ink); border-bottom: 1px solid var(--rule); }
header.site a { color: var(--ink); }
header.site a:hover { color: var(--accent); text-decoration: none; }
header.site .bar { flex-wrap: nowrap; gap: 8px 20px; padding: 0; min-height: 60px; border-bottom: 0; }
.wordmark { color: var(--ink) !important; }
.wm { font: 800 30px/.85 var(--font); letter-spacing: -0.02em; color: var(--ink); }
header.site .wordmark small, .wordmark i { display: none; }
.admin header.site .wordmark small { display: inline; color: var(--muted); border-left-color: var(--rule); }
nav.main { gap: 4px 24px; font-size: 15px; font-weight: 600; margin-left: 12px; }
nav.main a { display: inline-flex; align-items: center; min-height: var(--tap); border-bottom: 3px solid transparent; border-top: 3px solid transparent; }
nav.main a[aria-current] { color: var(--accent); border-bottom-color: var(--accent); }
.langs { font-size: 14px; font-weight: 600; margin-right: 0; }
.langs a { min-width: 40px; min-height: 40px; color: var(--muted); border-radius: 8px; }
.langs a[aria-current] { color: var(--ink); background: var(--soft); }
header.site .cta { margin-left: 4px; color: #fff; }
header.site .cta:hover { color: #fff; }
details.menu { display: none; margin-left: auto; }
details.menu > summary { list-style: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 8px; cursor: pointer; margin-right: -10px; }
details.menu > summary::-webkit-details-marker { display: none; }
details.menu > summary svg { width: 26px; height: 26px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; }
details.menu[open] > summary { background: var(--soft); }
.sheet { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--rule); box-shadow: 0 14px 28px rgba(21, 50, 91, .14); max-height: calc(100vh - 60px); overflow-y: auto; }
.sheet a { display: flex; align-items: center; min-height: 52px; padding: 0 var(--gutter); font-weight: 600; font-size: 16px; border-top: 1px solid var(--rule2); }
.sheet a[aria-current="page"] { color: var(--accent); }
.sheet .langrow { display: flex; gap: 8px; padding: 12px var(--gutter) 16px; border-top: 1px solid var(--rule2); }
.sheet .langrow a { flex: 1; justify-content: center; min-height: 44px; padding: 0; border: 1.5px solid var(--rule); border-radius: 8px; }
.sheet .langrow a[aria-current] { border-color: var(--accent); color: var(--accent); background: var(--soft); }
.langbar { background: var(--head); color: #fff; }
.langbar a { color: #fff; text-decoration: underline; }

/* ---------- hero band under the header ---------- */
.heroband { background: var(--band); border-bottom: 1px solid var(--rule2); }
.hero { padding: 30px 0 34px; gap: 16px 32px; }
.hero h1 { font: 800 clamp(28px, 6.4vw, 44px)/1.12 var(--font); letter-spacing: -0.02em; color: var(--ink); }
.hero .lede { font-size: 17px; color: var(--muted); max-width: 60ch; }
.hero .lede a { color: var(--accent-ink); }
.dim { color: #8ea2bd; }
.dim .mask { fill: var(--band); }
.dim text { fill: var(--ink); font: 600 13px var(--font); }
.hero form.search input { background: #fff; color: var(--ink); border-color: var(--rule); }
.hero form.search input::placeholder { color: #8695a8; }

/* ---------- home page ---------- */
.eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.lead2 { margin: 10px 0 0; color: var(--muted); font-size: 17px; max-width: 60ch; }
.home-hero { display: grid; gap: 26px; width: 100%; }
.home-hero form.search { max-width: none; margin: 22px 0 0; flex: none; }
.tries { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; font-size: 14px; color: var(--muted); align-items: center; }
.tries a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; }
.tries a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.home-side { display: grid; gap: 14px; align-content: start; min-width: 0; }
.hfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hfact { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 14px 12px; min-width: 0; }
.hfact b { display: block; font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.hfact span { font-size: 13px; color: var(--muted); }
.quote-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--r); padding: 20px; box-shadow: 0 10px 30px rgba(21, 50, 91, .08); display: grid; gap: 12px; scroll-margin-top: 80px; }
.soonbox { position: relative; overflow: hidden; border-radius: 10px; }
.soonbox .dimmed { display: grid; gap: 12px; opacity: .45; filter: grayscale(.3); pointer-events: none; user-select: none; }
.soonbox h3 { margin: 0; }
.soonbox p { margin: 0; font-size: 14px; }
.dropzone { border: 2px dashed #a9c2e8; border-radius: 10px; background: var(--band); padding: 22px 14px; text-align: center; color: var(--ink); font-weight: 600; }
.dropzone small { display: block; font-weight: 400; color: var(--muted); margin-top: 4px; }
.soonmark { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; pointer-events: none; }
.soonmark span { transform: rotate(-14deg); border: 3px solid var(--accent); color: var(--accent); background: rgba(255, 255, 255, .84); border-radius: 8px; padding: 6px 18px; font: 800 clamp(22px, 6.5vw, 32px)/1 var(--font); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
form.notify { display: grid; gap: 8px; border-top: 1px solid var(--rule2); padding-top: 14px; margin: 0; position: relative; }
form.notify > label { font-size: 15px; font-weight: 600; color: var(--ink); }
.nrow { display: grid; gap: 8px; }
.nrow input { width: 100%; min-width: 0; min-height: 48px; padding: 0 14px; border: 2px solid var(--rule); border-radius: 8px; font: 400 16px var(--font); color: var(--ink); background: #fff; }
.nrow input:focus { border-color: var(--accent); outline: none; }
.nmsg { margin: 0; font-size: 14px; font-weight: 600; }
.nmsg.ok { color: var(--ok); }
.nmsg.bad { color: var(--danger); }
.hsec { padding: 30px 0 10px; }
.hsec > h2 { margin: 0; }
.hsec .fam, .hsec .steps, .hsec .trust, .hsec .chips, .hsec .faq { margin-top: 22px; }
/* A band that spans the screen although it sits inside the centred column. */
.bleed { box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); background: var(--band); padding-bottom: 34px; }
.steps { display: grid; gap: 14px; counter-reset: step; }
.step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; background: #fff; border: 1px solid var(--rule); border-radius: var(--r); padding: 16px; }
.step::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 18px; display: grid; place-items: center; }
.step h3 { margin: 0; }
.step p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.trust { display: grid; gap: 14px; }
.trust > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; justify-items: start; }
.trust p { margin: 0; font-size: 15px; }
.maker { --band: var(--head); color: var(--head-text); padding: 38px 0 40px; }
.maker h2 { color: #fff; margin: 0; }
.maker .eyebrow { color: #8ac6ff; }
.maker .lead2 { color: var(--head-muted); }
.maker .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.maker .btn.ghost { background: transparent; color: #fff; border-color: #6f8bb3; }
.maker .btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 12px; align-items: center; min-height: 60px; padding: 12px 0; cursor: pointer; font-weight: 700; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--band) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9 14h10M14 9v10' stroke='%230e6aed' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 28px no-repeat; }
.faq details[open] summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9 14h10' stroke='%230e6aed' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.faq .a { padding: 0 0 18px; max-width: 68ch; }
.faq .a p { margin: 0; }

/* ---------- footer ---------- */
footer.site { background: var(--foot); color: var(--head-muted); font-size: 14px; margin-top: 0; }
footer.site .wrap { padding: 32px var(--gutter) 34px; gap: 18px; }
footer.site .wm { color: #fff; font-size: 28px; }
footer.site nav { gap: 2px 22px; }
footer.site nav a, footer.site nav button.link { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; font-weight: 400; }
footer.site .fmeta { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; }
footer.site .fmeta span { color: var(--head-text); font-variant-numeric: tabular-nums; }

/* ---------- bottom bar on phones: the two things people come for ---------- */
.dock { display: none; }

/* ---------- consent ---------- */
.consent { border-radius: var(--r); }

/* ---------- admin keeps its dense tables ---------- */
.admin { font-size: 15px; }
.admin h1 { font-size: 28px; }
.admin h2 { font-size: 20px; margin-top: 1.4em; padding-bottom: 6px; border-bottom: 1px solid var(--rule); }
.admin button, .admin .btn { min-height: 36px; padding: 0 12px; font-size: 14px; }
.admin form.stack input, .admin form.stack textarea, .admin form.stack select, .admin form.filters select, .admin form.filters input[type="search"] { min-height: 38px; font-size: 15px; }
.admin-nav { gap: 2px 18px; }
.admin-nav a { display: inline-flex; align-items: center; min-height: 36px; }
.admin header.site { position: static; }

@media (min-width: 720px) {
  .home-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 40px; }
  .hero { padding: 48px 0 52px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 36px; }
  .hsec { padding: 44px 0 14px; }
  .bleed { padding-bottom: 48px; }
  .nrow { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 959px) {
  nav.main, header.site .langs, header.site .cta { display: none; }
  details.menu { display: block; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  main.wrap { padding-top: 18px; padding-bottom: 40px; }
  .panel { padding: 20px 16px; }
  .wm { font-size: 27px; }
  .hero { padding: 26px 0 28px; }
  .hero h1 { font-size: clamp(27px, 7.6vw, 34px); }
  form.search { flex-wrap: wrap; }
  form.search input[type="search"] { flex: 1 1 100%; }
  form.search button { flex: 1 1 100%; }
  .s, .famc .s.bd { min-height: 42px; font-size: 15px; }
  .chips a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; }
  .chip { min-height: 34px; }
  .check, form.filters label.check, form.stack label.check { min-height: 40px; }
  .rail summary { min-height: 44px; align-items: center; }
  .rail summary .tog { font: 700 14px var(--font); color: var(--accent); }
  .name { font-size: 19px; }
  .crumbs a, .crumbs .here { display: inline-flex; align-items: center; min-height: 36px; }
  .contact-box button, .contact-box .btn { width: 100%; }
  .kv dt { letter-spacing: .03em; }
  .others li a { display: inline-flex; min-height: 36px; align-items: center; }
  button, .btn { min-height: 46px; }
  form.stack > div > button[type="submit"], form.stack > button[type="submit"] { width: 100%; }
  .dock { display: block; position: sticky; bottom: 0; z-index: 25; background: #fff; border-top: 1px solid var(--rule); box-shadow: 0 -6px 18px rgba(21, 50, 91, .08); }
  .dock .wrap { display: grid; grid-template-columns: 1fr; gap: 10px; padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .dock .btn { padding: 0 8px; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .consent { bottom: 78px; }
}
@media print {
  .dock, details.menu, .heroband form { display: none !important; }
  header.site { position: static; }
}
/* tap sizes found in the page walk */
.wordmark { min-height: var(--tap); }
footer.site .fmeta a { display: inline-flex; align-items: center; min-height: 40px; }
.tb small { font-size: 12px; }
@media (max-width: 760px) {
  .contact-box .row a, .cohead .meta a, .facts a { display: inline-flex; align-items: center; min-height: 36px; }
  .pill.pg.outline { min-height: 32px; padding: 0 12px; }
}
@media (max-width: 760px) { .tb b a { display: inline-flex; align-items: center; min-height: 32px; } }
/* Long one-word headings (German "Oberflächenbehandlung") must break inside their card. */
.famc { min-width: 0; }
/* Words break only at the soft hyphens that shy() puts into long compounds; numbers never break. */
.famh, .s { min-width: 0; overflow-wrap: break-word; }
.fam .count { flex: 0 0 auto; white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1240px) { .famh { font-size: 16px; gap: 10px; } .famh svg { width: 30px; height: 30px; } }
/* Counts sit in one column at the right edge of the card, whether the name takes one line or two. */
.fam .s .count, .fam .famh .count { margin-left: auto; padding-left: 10px; text-align: right; }
.capc .lbl, .subrow { max-width: 62px; }
/* verification page: the explainer video and its four steps */
.vid { margin: 22px 0 6px; }
.vid video { display: block; width: 100%; height: auto; max-width: 960px; border: 1px solid var(--rule); border-radius: var(--r); background: #fff; }
.vsteps { margin-top: 22px; grid-template-columns: minmax(0, 1fr); max-width: 960px; }
.vsteps .step h2 { margin: 0; font-size: 20px; }
@media (min-width: 720px) { .vsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
