/* Sortimentor – "Lieferschein" design. See ../DESIGN.md. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations"), url(/fonts/archivo-latin-wdth-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: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations"), url(/fonts/archivo-latin-ext-wdth-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: "Plex Mono"; font-style: normal; font-display: swap; font-weight: 400; src: url(/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+00D7; }
@font-face { font-family: "Plex Mono"; font-style: normal; font-display: swap; font-weight: 400; src: url(/fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: "Plex Mono"; font-style: normal; font-display: swap; font-weight: 500; src: url(/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215; }
@font-face { font-family: "Plex Mono"; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/ibm-plex-mono-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215; }

:root {
  --paper: #f2eee4;
  --sheet: #fbf9f4;
  --ink: #1b1a17;
  --muted: #5b574d;
  --rule: #cfc8b8;
  --signal: #f0571a;
  --signal-ink: #b23c0a;
  --on-signal: #1b1a17;
  --ok: #2e6b3a;
  --tint: #f7e3d6;
  --sans: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: 16px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #191814;
    --sheet: #22201b;
    --ink: #ede8dc;
    --muted: #a8a193;
    --rule: #3a372f;
    --signal: #ff7a3d;
    --signal-ink: #ff8a52;
    --on-signal: #191814;
    --ok: #6fbf7e;
    --tint: #3a2519;
  }
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 720px) { body { font-size: 18px; } }
img, svg { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--signal-ink); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 1px; }
::selection { background: var(--signal); color: var(--on-signal); }
b, strong { font-weight: 650; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--gutter); top: -60px; background: var(--ink); color: var(--paper); padding: 8px 12px; font: 500 14px var(--mono); z-index: 10; }
.skip-link:focus { top: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3, .closing-line, .product-name {
  font-family: var(--sans);
  font-stretch: 72%;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
  hyphens: manual;
}
h1 { font-size: clamp(3.3rem, 8.4vw, 6.5rem); line-height: 0.92; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); margin-bottom: 20px; }
h3 { font-size: 1.45rem; line-height: 1.1; font-weight: 750; }

.kicker, .xfer-label, .tag, .stamp, .facts b, .route .no, .fine, .calc label, .ledger thead th, .top nav, .foot, .product-type, .flow-what {
  font-family: var(--mono);
}
.kicker {
  display: flex; align-items: baseline; gap: 12px;
  margin: 0 0 18px; padding-top: 10px;
  border-top: 2px solid var(--ink);
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.kicker span { color: var(--ink); font-weight: 600; }
.kicker span::after { content: " —"; color: var(--muted); }
.hero .kicker { border-top: 0; padding-top: 0; color: var(--ink); }
.hero .kicker::before { content: ""; width: 10px; height: 10px; background: var(--signal); align-self: center; }

/* Header / footer */
.top { border-bottom: 2px solid var(--ink); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-stretch: 72%; font-size: 1.55rem; letter-spacing: 0.01em; line-height: 1; text-transform: uppercase; }
.brand svg { width: 30px; height: 30px; flex: none; }
.top nav { display: flex; gap: 6px 22px; flex-wrap: wrap; font-size: 13.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.top nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.top nav a:hover, .top nav a[aria-current] { border-bottom-color: var(--signal); color: var(--ink); }

.foot { border-top: 2px solid var(--ink); font-size: 13px; padding: 28px 0 40px; margin-top: 0; color: var(--muted); }
.foot .wrap { display: grid; gap: 16px; }
.foot-brand { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--ink); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--signal); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 20px;
  background: var(--ink); color: var(--paper);
  font: 600 15px/1.2 var(--mono); letter-spacing: 0.02em;
  text-decoration: none; border: 2px solid var(--ink); border-radius: 2px;
  box-shadow: 5px 5px 0 var(--signal);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn::after { content: "→"; }
.btn:hover { color: var(--paper); transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--signal); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: none; }
.btn.ghost::after { content: "↓"; }
.btn.ghost:hover { background: var(--ink); color: var(--paper); transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; }

/* Hero */
.hero { padding: 40px 0 0; }
.hero-text { display: grid; gap: 24px; }
.hero h1 { max-width: 11.5ch; }
.lead { font-size: 1.15rem; line-height: 1.5; margin: 0 0 28px; max-width: 46ch; }
@media (min-width: 960px) {
  .hero { padding-top: 64px; }
  .hero-text { grid-template-columns: 1.55fr 1fr; align-items: end; column-gap: 48px; }
  .hero-text .kicker { grid-column: 1 / -1; }
  .hero-side { padding-bottom: 8px; }
}
.facts {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule);
}
.facts li { padding: 12px 12px 12px 0; font-size: 14px; line-height: 1.35; color: var(--muted); border-bottom: 1px solid var(--rule); }
.facts li:nth-last-child(-n+2) { border-bottom: 0; }
.facts li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--rule); }
.facts b { display: block; font-size: 1.5rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
@media (min-width: 720px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts li { border-bottom: 0; padding-left: 16px; }
  .facts li:first-child { padding-left: 0; }
  .facts li + li { border-left: 1px solid var(--rule); }
}

/* Hero visual: supplier sheet -> Shopware product */
.xfer { margin: 48px 0 0; display: grid; gap: 0; }
@media (min-width: 1040px) {
  .xfer { grid-template-columns: minmax(0, 1.5fr) 56px minmax(0, 1fr); align-items: stretch; }
}
.xfer-label { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; padding: 0 0 8px; color: var(--muted); }
.xfer-label span:first-child { color: var(--ink); font-weight: 600; }
.xfer-label .file { text-transform: none; letter-spacing: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-wrap { background: var(--sheet); border: 1px solid var(--ink); }
.sheet { width: 100%; border-collapse: collapse; font: 400 10.5px/1.35 var(--mono); table-layout: auto; }
@media (min-width: 560px) { .sheet { font-size: 12.5px; } }
.sheet td, .sheet th { padding: 6px 5px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
@media (min-width: 560px) { .sheet td, .sheet th { padding: 7px 9px; } }
.sheet td:last-child { border-right: 0; }
.sheet th { width: 1%; color: var(--muted); font-weight: 400; text-align: right; background: var(--paper); }
.sheet .cols td { background: var(--paper); color: var(--muted); text-align: center; padding-top: 3px; padding-bottom: 3px; }
.sheet .ai th, .sheet .ai td { border-bottom: 1px solid var(--ink); border-right-color: transparent; background: var(--sheet); padding-top: 10px; padding-bottom: 10px; vertical-align: bottom; }
.sheet .ai th span { display: inline-block; background: var(--ink); color: var(--paper); padding: 1px 4px; font-weight: 600; font-size: 10px; }
.tag {
  display: inline-block; position: relative;
  background: var(--signal); color: var(--on-signal);
  font-size: 10px; font-weight: 600; line-height: 1.25; letter-spacing: 0.02em;
  padding: 3px 6px 3px 9px; border-radius: 0 2px 2px 0;
  hyphens: manual;
}
.tag::before { content: ""; position: absolute; left: 3px; top: 50%; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%; background: var(--sheet); }
@media (min-width: 560px) { .tag { font-size: 11px; } }
.sheet .head td { font-weight: 600; color: var(--ink); background: var(--paper); }
.sheet .skip td { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--muted); }
.sheet .skip em { display: inline-block; text-decoration: none; font-style: normal; color: var(--signal-ink); margin-left: 6px; }
.sheet .empty td { height: 18px; }
.sheet .n { text-align: right; }
.sheet .bad td { background: var(--tint); }
.sheet mark { background: transparent; color: var(--signal-ink); font-weight: 600; text-decoration: underline wavy var(--signal); text-underline-offset: 3px; }
@media (max-width: 559px) {
  .sheet { font-size: 10px; }
  .sheet td, .sheet th { padding: 5px 4px; }
  .sheet .ai th, .sheet .ai td { padding-top: 8px; padding-bottom: 8px; }
  .tag { font-size: 9px; padding: 2px 4px 2px 7px; }
  .tag::before { left: 2px; }
}

.xfer-arrow { position: relative; min-height: 64px; display: flex; align-items: center; justify-content: center; }
.xfer-arrow::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dashed var(--ink); }
.xfer-arrow::after { content: ""; position: absolute; bottom: -1px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.xfer-arrow span { position: relative; z-index: 1; background: var(--paper); padding: 4px 8px; font: 500 11px/1.3 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; text-align: center; max-width: 30ch; }
@media (min-width: 1040px) {
  .xfer-arrow::before { top: 50%; bottom: auto; left: 6px; right: 10px; border-left: 0; border-top: 2px dashed var(--ink); }
  .xfer-arrow::after { top: 50%; bottom: auto; left: auto; right: 6px; margin: -6px 0 0; transform: rotate(-45deg); }
  .xfer-arrow span { writing-mode: vertical-rl; transform: rotate(180deg); padding: 10px 3px; max-width: none; background: var(--paper); }
}

.product { background: var(--sheet); border: 2px solid var(--ink); padding: 18px 18px 14px; position: relative; }
.product-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.product-type { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.product-name { font-size: 2.1rem; margin: 0; }
.stamp {
  display: inline-block; flex: none;
  border: 2px solid var(--signal-ink); color: var(--signal-ink);
  padding: 4px 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  transform: rotate(-6deg); margin-top: 4px;
}
.matrix { width: 100%; border-collapse: collapse; margin: 14px 0 4px; font: 400 14px/1.3 var(--mono); }
.matrix caption { caption-side: top; text-align: left; font-size: 12px; color: var(--muted); padding-bottom: 8px; }
.matrix th, .matrix td { padding: 8px 6px; border-bottom: 1px solid var(--rule); text-align: right; }
.matrix th:first-child { text-align: left; padding-left: 0; }
.matrix thead th { font-weight: 600; border-bottom: 1px solid var(--ink); }
.matrix tbody th { font-weight: 400; }
.matrix td { font-variant-numeric: tabular-nums; }
.matrix td.none { color: var(--muted); }
.calc-mini { margin: 12px 0 0; font: 400 13.5px/1.35 var(--mono); }
.calc-mini div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.calc-mini dt { color: var(--muted); }
.calc-mini dd { margin: 0; text-align: right; }
.calc-mini .total { border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 8px; font-size: 16px; font-weight: 600; }
.calc-mini .total dt { color: var(--ink); }
.warn { margin: 14px 0 0; padding: 8px 10px; border-left: 4px solid var(--signal); background: var(--tint); font-size: 14px; line-height: 1.4; }
.warn b { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; margin-right: 6px; }
.barcode {
  height: 26px; margin-top: 14px;
  background: repeating-linear-gradient(90deg,
    var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px,
    var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 16px,
    var(--ink) 16px 17px, transparent 17px 19px, var(--ink) 19px 22px, transparent 22px 25px);
  opacity: .85;
  width: 60%;
}

/* Sections */
.band { padding: 72px 0 0; }
@media (min-width: 960px) { .band { padding-top: 112px; } }
.band > .wrap > p:not(.kicker), .split p { max-width: 60ch; }
.split { display: grid; gap: 32px; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 64px; align-items: start; } }
.split h2 { max-width: 14ch; }

.ledger { width: 100%; border-collapse: collapse; }
.ledger thead th { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 0 12px 10px 0; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.ledger td, .ledger tbody th { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; text-align: left; }
.ledger .n { text-align: right; padding-right: 0; padding-left: 12px; }
.problems td { font-size: 16px; line-height: 1.45; }
.problems td:first-child { font-weight: 600; width: 46%; }
.problems td:last-child { color: var(--muted); }
.problems td:first-child::before { content: "✕"; font-family: var(--mono); color: var(--signal-ink); margin-right: 8px; font-weight: 600; }
@media (max-width: 559px) {
  .problems thead { display: none; }
  .problems tr { display: block; border-bottom: 1px solid var(--rule); padding: 12px 0; }
  .problems tbody tr:first-child { border-top: 2px solid var(--ink); }
  .problems td { display: block; border: 0; padding: 2px 0; width: auto !important; }
  .problems td:last-child { padding-left: 20px; }
}

.route { list-style: none; margin: 8px 0 0; padding: 0; display: grid; border-top: 2px solid var(--ink); }
.route li { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.route .no { grid-row: span 2; font-size: 2.75rem; line-height: 0.9; font-weight: 500; color: var(--signal-ink); }
.route h3 { margin: 4px 0 8px; }
.route p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
@media (min-width: 960px) {
  .route { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--rule); }
  .route li { display: block; padding: 20px 24px 28px; border-bottom: 0; }
  .route li:first-child { padding-left: 0; }
  .route li + li { border-left: 1px solid var(--rule); }
  .route .no { display: block; font-size: 4.5rem; margin-bottom: 20px; }
}

.spec { margin: 8px 0 0; border-top: 2px solid var(--ink); }
.spec > div { display: grid; gap: 4px 32px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 720px) { .spec > div { grid-template-columns: minmax(200px, 1fr) 2.4fr; padding: 22px 0; } }
.spec dt { font-stretch: 72%; font-weight: 800; font-size: 1.45rem; line-height: 1.15; }
.spec dd { margin: 0; max-width: 64ch; }
.spec dd a { font-family: var(--mono); font-size: 14px; white-space: nowrap; }
.spec dd a::after { content: " →"; }

ul.tick { list-style: none; padding: 0; margin: 10px 0 0; }
ul.tick li { position: relative; padding-left: 28px; margin: 8px 0; }
ul.tick li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 12px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.split > ul.tick { margin-top: 0; border-top: 2px solid var(--ink); }
.split > ul.tick li { margin: 0; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--rule); }
.split > ul.tick li::before { top: calc(14px + 0.42em); }

/* Price rule calculator */
.calc { border: 2px solid var(--ink); background: var(--sheet); display: grid; }
@media (min-width: 640px) { .calc { grid-template-columns: 1fr 1fr; } }
.calc-fields { display: grid; gap: 14px; padding: 18px; border-bottom: 1px solid var(--rule); }
@media (min-width: 640px) { .calc-fields { border-bottom: 0; border-right: 1px solid var(--rule); } }
.calc label { display: grid; gap: 4px; font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.calc input, .calc select {
  font: 500 16px/1.3 var(--mono); color: var(--ink); background: var(--paper);
  border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; padding: 8px 8px; width: 100%;
  min-height: 42px;
}
.calc input::placeholder { color: var(--muted); }
.calc input[aria-invalid="true"] { border-bottom-color: var(--signal); background: var(--tint); }
.calc select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.calc input:focus-visible, .calc select:focus-visible { outline-offset: 0; }
.calc-out { display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; position: relative; min-height: 220px; font: 400 15px/1.4 var(--mono); }
.calc-out::before { content: attr(data-title); position: absolute; top: 18px; left: 18px; right: 18px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.calc-out { padding-top: 64px; }
.calc-out .row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.calc-out .row span:first-child { color: var(--muted); }
.calc-out .total { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: 8px; padding-top: 12px; font-size: 1.5rem; font-weight: 600; }
.calc-out .total span:first-child { color: var(--ink); font-size: 14px; font-weight: 500; align-self: center; text-transform: uppercase; letter-spacing: 0.04em; }

/* Pricing */
.plans { font-size: 1.1rem; }
.plans tbody th { font-stretch: 72%; font-weight: 800; font-size: 1.75rem; line-height: 1.05; padding-top: 18px; padding-bottom: 18px; }
.plans tbody th small { display: block; font: 400 13px/1.4 var(--mono); color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.plans td { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 1.1rem; vertical-align: middle; white-space: nowrap; }
.plans td:last-child { font-size: 1.5rem; font-weight: 600; }
.plans tbody tr:last-child td, .plans tbody tr:last-child th { border-bottom: 2px solid var(--ink); }
@media (max-width: 559px) {
  .plans thead th { font-size: 10.5px; }
  .plans tbody th { font-size: 1.4rem; }
  .plans td { font-size: 0.95rem; }
  .plans td:last-child { font-size: 1.2rem; }
}
.fine { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 14px 0 0; }

/* Data protection flow */
.flow { margin-top: 28px; border-top: 2px solid var(--ink); }
.flow-row { display: grid; gap: 2px; margin: 0; padding: 12px 0 12px 18px; border-bottom: 1px solid var(--rule); position: relative; font-size: 15px; line-height: 1.4; }
.flow-row::before { content: ""; position: absolute; left: 0; top: 17px; width: 8px; height: 8px; background: var(--ink); }
.flow-row.ai::before { background: var(--signal); }
.flow-row.none::before { background: transparent; border: 1.5px solid var(--muted); }
.flow-what { font-size: 13px; font-weight: 600; }
.flow-to { color: var(--muted); }
.flow-to::before { content: "→ "; font-family: var(--mono); }

/* FAQ */
.faq-list { border-top: 2px solid var(--ink); }
details { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 650; font-size: 1.1rem; line-height: 1.35; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 500 1.4rem/1 var(--mono); color: var(--signal-ink); flex: none; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 20px; max-width: 64ch; color: var(--muted); }
details p a { color: var(--ink); }

/* Closing */
.closing { margin-top: 96px; background: var(--ink); color: var(--paper); padding: 56px 0 60px; }
.closing-line { font-size: clamp(2.3rem, 6.6vw, 5rem); line-height: 0.95; margin: 0 0 32px; max-width: 16ch; }
.closing .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.closing .btn:hover { color: var(--ink); }
.closing .fine { color: var(--paper); opacity: .8; margin: 0; font-family: var(--mono); }
.closing :focus-visible { outline-color: var(--signal); }

/* Prose pages: articles and legal texts */
.prose { max-width: 760px; padding-top: 40px; padding-bottom: 80px; }
.prose-kicker { margin-bottom: 20px; }
.prose-kicker a { color: var(--ink); text-decoration: none; }
.prose-kicker a:hover { text-decoration: underline; text-decoration-color: var(--signal); }
.prose h1 { font-size: clamp(2.4rem, 8vw, 4.25rem); line-height: 0.95; margin: 0 0 28px; }
.prose h2 { font-size: clamp(1.7rem, 4.5vw, 2.3rem); margin: 2.2em 0 0.6em; padding-top: 12px; border-top: 2px solid var(--ink); }
.prose h3 { font-size: 1.35rem; margin: 1.8em 0 0.5em; }
.prose h1 + p { font-size: 1.15rem; line-height: 1.55; }
.prose p, .prose li { max-width: 68ch; }
.prose ul { padding-left: 1.4em; }
.prose ol { padding-left: 2em; }
.prose li { margin: 6px 0; }
.prose li::marker { font-family: var(--mono); font-weight: 600; color: var(--signal-ink); }
.prose ul li::marker { content: "– "; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--signal); }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; margin: 24px 0; font-size: 15px; line-height: 1.45; border-top: 2px solid var(--ink); }
.prose th, .prose td { border-bottom: 1px solid var(--rule); padding: 10px 14px 10px 0; text-align: left; vertical-align: top; }
.prose th { font: 500 12px/1.4 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
.prose code { font-family: var(--mono); font-size: 0.86em; background: var(--sheet); border: 1px solid var(--rule); padding: 1px 5px; border-radius: 2px; }
.prose pre { font-family: var(--mono); background: var(--sheet); border: 1px solid var(--ink); border-left: 4px solid var(--ink); padding: 14px 16px; overflow-x: auto; font-size: 14px; line-height: 1.5; }
.prose pre code { padding: 0; background: none; border: 0; font-size: inherit; }
.prose .cta { margin-top: 56px; padding: 22px 22px 24px; background: var(--sheet); border: 2px solid var(--ink); position: relative; }
.prose .cta::before { content: "Sortimentor"; position: absolute; top: -12px; left: 16px; background: var(--signal); color: var(--on-signal); font: 600 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 8px; }
.prose .cta p { margin-top: 4px; }
.prose .cta .btn { margin-top: 6px; }

.index { list-style: none; padding: 0; margin: 32px 0 0; border-top: 2px solid var(--ink); counter-reset: idx; }
.index li { counter-increment: idx; border-bottom: 1px solid var(--rule); }
.index a { display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; padding: 20px 0; color: var(--ink); text-decoration: none; }
.index a::before { content: counter(idx, decimal-leading-zero); grid-row: span 2; font: 600 15px/1.6 var(--mono); color: var(--signal-ink); }
.index strong { font-stretch: 72%; font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.index span { color: var(--muted); margin-top: 6px; font-size: 16px; line-height: 1.5; }
.index a:hover strong { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 559px) {
  /* Phone: drop the stock column of the supplier sheet so the name column has room (stock is shown in the variant matrix). */
  .sheet tr > :nth-child(6) { display: none; }
}
.prose .index { padding-left: 0; }
.prose .prose-kicker { max-width: none; }
/* The primary button already carries an orange shadow, so its focus ring uses ink. */
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.closing .btn:focus-visible { outline-color: var(--signal); }
