/* Founded in EU · Direction C. Tokens from foundedin-eu-handoff/tokens.css. One breakpoint: 760px. */
:root {
  --ink: #1b1525;
  --ground: #ffffff;
  --soft: #fff6e9;
  --muted: #514a5c;
  --hairline: #ddd6e4;
  --pink: #ff9ec4;
  --tangerine: #ff9b54;
  --lemon: #ffe066;
  --mint: #7fe7b8;
  --sky: #8fd3ff;
  --lilac: #c3b1ff;
  --warn-bg: #ffe9a8;
  --error: #b3261e;
  --error-bg: #ffe1e6;
  --link-hover: #6b2fd6;
  --font-sans: 'Bricolage Grotesque', 'Arial Narrow', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  --r-pill: 999px;
  --r-input: 14px;
  --r-panel: 20px;
  --r-label: 6px;
  --page-pad: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 16px/1.5 var(--font-sans);
}
a { color: inherit; }
a:hover { color: var(--link-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
img, svg { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.visually-hidden {
  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: 16px; top: -100px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); z-index: 10; }
.skip-link:focus { top: 8px; color: #fff; }

/* ---------- type ---------- */
.display { font-weight: 800; font-stretch: 75%; letter-spacing: -0.01em; line-height: 1; }
.mono { font-family: var(--font-mono); font-size: 13px; }
.caps { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.h1 { font-size: 60px; }
.h2 { font-size: 40px; }
.h-hero { font-size: 58px; }
.lead { font-size: 19px; }
.small { font-size: 14px; }
.muted { color: var(--muted); }

/* ---------- layout ---------- */
.page { max-width: 1200px; margin: 0 auto; padding: 0 var(--page-pad); box-sizing: content-box; }
.page--wide { max-width: 1240px; }
.page--form { max-width: 1040px; }
.page--prose { max-width: 760px; }
.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, 8px); }
.section { padding-top: 64px; }
main { display: block; min-height: 50vh; }

/* ---------- header ---------- */
.site-header { border-bottom: 2px solid transparent; }
.site-header--vendor { background: var(--soft); border-bottom-color: var(--ink); }
.site-header--ops { background: var(--lilac); border-bottom-color: var(--ink); }
.site-header__bar { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; padding: 14px 0; }
.site-header__brand { display: flex; align-items: center; gap: 12px; }
.wordmark { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; min-height: 48px; }
.wordmark__text { font-size: 26px; font-weight: 800; font-stretch: 75%; letter-spacing: -0.01em; line-height: 1; }
.eu-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--pink); border: 2px solid var(--ink);
  font-size: 20px; font-weight: 800; font-stretch: 75%; letter-spacing: -0.01em; line-height: 1;
  transform: rotate(-8deg);
}
.nav { display: flex; align-items: center; gap: 2px; overflow-x: auto; max-width: 100%; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: var(--r-pill); text-decoration: none; font-weight: 600; white-space: nowrap; border: 2px solid transparent;
}
.nav a[aria-current] { background: var(--lemon); border-color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--lilac); border-top: 2px solid var(--ink); margin-top: 96px; }
.site-footer__inner { padding: 40px 0 48px; display: flex; flex-direction: column; gap: 16px; }
.site-footer__claim { font-size: 96px; line-height: 0.92; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: var(--r-pill); border: 2px solid var(--ink);
  background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px;
  white-space: nowrap; cursor: pointer;
}
.btn:hover { color: var(--ink); background: var(--soft); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--ink); color: #fff; text-decoration: underline; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 17px; }
.btn--danger { border-color: var(--error); color: var(--error); }
.btn--text { border: 0; background: none; padding: 0 4px; text-decoration: underline; font-weight: 600; }
.btn:disabled, .btn[aria-disabled='true'] { background: var(--hairline); border-color: var(--hairline); color: var(--muted); cursor: not-allowed; }
.btn svg { flex: none; }

/* ---------- tags and tier labels ---------- */
.tag {
  display: inline-block; border: 1.5px solid var(--ink); background: #fff; border-radius: var(--r-pill);
  padding: 1px 9px; font: 600 11px/1.5 var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap;
}
.tag--ink { background: var(--ink); color: #fff; }
.tag--dashed { border-style: dashed; border-color: var(--muted); color: var(--muted); background: transparent; }
.tag--warn { background: var(--tangerine); }
.tag--mint { background: var(--mint); }

/* ---------- state label (chip) and dot (mark) ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border-radius: var(--r-pill);
  font: 500 12.5px/1.5 var(--font-mono); white-space: nowrap; border: 2px solid var(--ink); background: #fff;
}
.chip--checked { background: var(--mint); }
.chip--not_provided { border-style: dashed; border-color: var(--muted); color: var(--muted); background: transparent; }
.mark {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--ink);
}
.mark--checked { background: var(--ink); border: 0; }
.mark--not_provided { background: transparent; border: 0; }
.value--checked { font-weight: 600; }
.value--stated { font-weight: 400; }

/* ---------- country tag ---------- */
.ctag { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ctag__code {
  display: inline-block; border: 1.5px solid var(--ink); border-radius: 6px; padding: 0 5px;
  font: 600 11.5px/1.5 var(--font-mono); letter-spacing: 0.04em;
}

/* ---------- compliance facts box ---------- */
.facts { border: 3px solid var(--ink); border-radius: var(--r-label); background: #fff; padding: 14px 20px 8px; }
.facts__title { font-size: 56px; }
.facts__summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; padding: 8px 0; border-bottom: 10px solid var(--ink); }
.facts__row { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--ink); }
.facts__row--group { border-top-width: 5px; }
.facts__summary + .facts__row { border-top: 0; }
.facts__label { font-weight: 800; width: 200px; }
.facts__value { flex: 1; min-width: 160px; }
.facts__sub { display: block; font: 400 13px/1.5 var(--font-mono); }
.facts__foot { border-top: 5px solid var(--ink); padding: 10px 0; font-size: 14px; }

/* ---------- stickers and panels ---------- */
.sticker { border: 2px solid var(--ink); border-radius: var(--r-panel); padding: 20px; transform: rotate(var(--tilt, 0deg)); }
.sticker__value { font-size: 36px; margin: 6px 0 4px; }
.panel { background: var(--soft); border: 2px solid var(--ink); border-radius: var(--r-panel); padding: 20px 24px; }
.panel--white { background: #fff; }

/* ---------- listing header ---------- */
.listing-head { border-bottom: 2px solid var(--ink); }
.listing-head__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 48px; align-items: end; padding: 8px 0 40px; }
.listing-head__code { font-size: 260px; line-height: 0.78; margin-bottom: -6px; }
.listing-head__name { font-size: 64px; }
.listing-body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px 56px; align-items: start; padding-top: 48px; }
.listing-aside { display: flex; flex-direction: column; gap: 20px; }

/* ---------- ticket ---------- */
.tickets { display: flex; flex-direction: column; gap: 14px; }
.ticket { display: grid; grid-template-columns: 168px minmax(0, 1fr); border: 2px solid var(--ink); border-radius: var(--r-panel); overflow: hidden; background: #fff; }
.ticket__stub { border-right: 2px dashed var(--ink); padding: 16px 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.ticket__code { font-size: 84px; line-height: 0.85; }
.ticket__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 12px 32px; padding: 16px 20px; align-items: start; }
.ticket__name { font-size: 26px; font-weight: 800; font-stretch: 85%; line-height: 1.1; }
.ticket__lines { border-bottom: 1px solid var(--hairline); }
.fact-line { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--hairline); }
.fact-line__label { width: 96px; }
.fact-line__value { flex: 1; min-width: 120px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; padding: 10px 0; cursor: pointer; }
.check-row input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.group-label { padding: 8px 0 2px; }

/* ---------- sentence filter ---------- */
.sentence { font-size: 48px; line-height: 1.16; text-wrap: balance; }
.sentence select {
  font: inherit; color: inherit; border: 0; border-bottom: 4px solid var(--ink); border-radius: 12px 12px 0 0;
  padding: 0 6px; max-width: 100%; cursor: pointer; appearance: none; -webkit-appearance: none;
  field-sizing: content;
}
.sentence [name='category'] { background: var(--pink); }
.sentence [name='founded'] { background: var(--lemon); }
.sentence [name='hosting'] { background: var(--mint); }
.sentence [name='status'] { background: var(--sky); }
.sentence--hero { font-size: 66px; }
.search-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.search-row .field { flex: 1 1 260px; }

/* ---------- fields ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-weight: 700; }
.field__help { font-size: 14px; color: var(--muted); }
.input, .select, .textarea {
  min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--ink); border-radius: var(--r-input);
  background: #fff; width: 100%; font-size: 16px;
}
.select--inline { width: auto; min-height: 44px; padding: 0 10px; font-size: 15px; }
.textarea { min-height: 120px; }
.field--error .input, .field--error .select, .field--error .textarea { border: 2px solid var(--error); }
.field__error { color: var(--error); font-weight: 600; display: flex; gap: 6px; align-items: center; }

/* ---------- messages ---------- */
.msg { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--ink); border-radius: 16px; padding: 14px 16px; background: #fff; }
.msg--ok { background: var(--mint); }
.msg--error { background: var(--error-bg); border-color: var(--error); }
.msg--warning { background: var(--warn-bg); }
.msg svg { flex: none; margin-top: 2px; }

/* ---------- table (rows become blocks below 760px) ---------- */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font: 600 12px/1.4 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 10px 12px 10px 0; border-bottom: 2px solid var(--ink); }
.table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--hairline); vertical-align: top; }

/* ---------- tile map ---------- */
.tilemap { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.tile {
  aspect-ratio: 1 / 1.04; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 2px solid var(--ink); border-radius: 14px; text-decoration: none; transform: rotate(var(--tilt, 0deg));
}
.tile__code { font-size: 34px; }
.tile__name { font-size: 11.5px; font-weight: 600; }
.legend-dot { width: 14px; height: 14px; border-radius: 14px; border: 1.5px solid var(--ink); display: inline-block; }

/* ---------- pagination, view switch ---------- */
.pager { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 24px 0 0; border-top: 2px solid var(--ink); }
.pager a, .pager span, .seg a {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px;
  padding: 0 10px; border: 1.5px solid var(--ink); background: #fff; text-decoration: none; font: 600 13px var(--font-mono);
}
.pager [aria-current], .seg [aria-current] { background: var(--ink); color: #fff; }
.seg { display: flex; }
.seg a { font: 600 14px var(--font-sans); padding: 0 14px; }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { border: 2px solid var(--ink); border-radius: var(--r-panel); padding: 20px; background: #fff; text-decoration: none; display: flex; flex-direction: column; gap: 8px; }

/* ---------- home ---------- */
.home-map { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px 48px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.home-cats { --gap: 6px 18px; }
.home-cats a { font-size: 52px; line-height: 1.15; text-decoration: none; display: inline-flex; align-items: center; gap: 18px; min-height: 48px; }
.home-cats__dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); flex: none; }
.funding-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 12px 0 10px; }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  :root { --page-pad: 16px; }
  .hide-m { display: none !important; }
  .h1, .h-hero, .listing-head__name, .facts__title, .site-footer__claim, .sentence, .sentence--hero { font-size: 30px; }
  .h2 { font-size: 26px; }
  .listing-head__code { font-size: 30px; line-height: 1; margin: 0; }
  .listing-head__grid, .listing-body, .ticket, .ticket__body { grid-template-columns: minmax(0, 1fr); }
  .ticket__stub { border-right: 0; border-bottom: 2px dashed var(--ink); flex-direction: row; align-items: flex-end; }
  .ticket__code { font-size: 48px; }
  .facts__label { width: auto; flex-basis: 100%; }
  .home-map { grid-template-columns: minmax(0, 1fr); }
  .home-cats a { font-size: 26px; gap: 10px; }
  .home-vendor { flex-direction: column; align-items: stretch; }
  .funding-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tilemap { gap: 2px; }
  .tile { border-radius: 8px; border-width: 1.5px; }
  .tile__code { font-size: 22px; }
  .tile__name { display: none; }
  .sticker { transform: none; }
  .table thead { display: none; }
  .table, .table tbody { display: block; }
  .table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 12px; padding: 14px 0; border-bottom: 2px solid var(--ink); }
  .table td, .table th { display: block; padding: 0; border: 0; }
  .table td:first-child, .table th:first-child { grid-column: 1 / -1; }
  .table td[data-l]::before {
    content: attr(data-l); display: block; font: 500 11px var(--font-mono); letter-spacing: 0.05em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 2px;
  }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- content pages: checks, pricing, compare, funded, about, contact, legal, 404 ---------- */
.content-crumbs { padding: 20px 0 16px; }
.content-title { line-height: 1.2; text-wrap: balance; }
.content-title__hl {
  border-bottom: 4px solid var(--ink); border-radius: 12px 12px 0 0; padding: 0 8px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.content-lead { margin-top: 16px; max-width: 720px; }
.content-section { margin-top: 56px; }
.content-narrow { max-width: 820px; }
.content-list { margin: 16px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.link-44 { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.show-m { display: none; }
.num { text-align: right; }
.table th.num { text-align: right; }
.empty-box { border: 2px dashed var(--muted); border-radius: var(--r-panel); padding: 20px; display: flex; flex-direction: column; gap: 8px; }

.prose { margin-top: 32px; border-top: 2px solid var(--ink); }
.prose-section { border-top: 1px solid var(--hairline); padding: 20px 0; }
.prose-section:first-child { border-top: 0; }
.prose-section h2 { margin: 0 0 8px; font-size: 20px; font-weight: 700; }

.notfound { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 48px; align-items: start; padding-top: 72px; }
.notfound__code { font-size: 112px; line-height: 0.82; }

.wording-mark .mark { width: 28px; height: 28px; }
.wording-mark .mark svg { width: 20px; height: 20px; }
.wording-text { font-size: 22px; font-weight: 600; }
.states-box { background: #fff; border: 2px solid var(--ink); padding: 4px 20px; }
.states-box__row { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--hairline); }
.states-box__row:first-child { border-top: 0; }

.founding {
  display: flex; gap: 20px; align-items: center; justify-content: space-between;
  border: 2px solid var(--ink); border-radius: var(--r-panel); background: var(--warn-bg); padding: 20px 24px; margin-top: 32px;
}
.founding__title { font-size: 20px; font-weight: 700; }
.plan__price { font-size: 34px; line-height: 1.1; }
.plan-m { border-top: 2px solid var(--ink); padding: 16px 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.plans .plans__head { vertical-align: top; padding: 20px 16px 20px 0; width: 25%; text-transform: none; letter-spacing: 0; font: inherit; }
.plans__summary { font-size: 14px; min-height: 42px; }
.plans .plans__row { font: 500 15px/1.5 var(--font-sans); letter-spacing: 0; text-transform: none; border-bottom: 1px solid var(--hairline); padding: 14px 16px 14px 0; }
.plans td { padding: 14px 16px 14px 0; }
.points { margin-top: 16px; }
.points__item { border-top: 1px solid var(--hairline); padding: 16px 0; }
.points__item h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.points__item p { max-width: 760px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; margin-top: 32px; align-items: start; }
.error-list { margin: 4px 0 0; padding-left: 18px; }

.cmp { margin-top: 8px; }
.cmp .cmp-head { vertical-align: top; padding: 16px 16px 16px 0; text-transform: none; letter-spacing: 0; font: inherit; border-bottom: 2px solid var(--ink); }
.cmp-code { font-size: 38px; line-height: 1; }
.cmp-name { font-size: 18px; font-weight: 700; line-height: 1.25; }
.cmp .cmp-group th { font: 700 18px/1.3 var(--font-sans); letter-spacing: 0; text-transform: none; padding: 20px 0 8px; }
.cmp .cmp-label { color: var(--muted); padding: 12px 16px 12px 0; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.cmp td { padding: 12px 16px 12px 0; }
.cmp-cell { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.cmp-matches { list-style: none; margin: 8px 0 0; padding: 0; }
.cmp-matches li { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--hairline); padding: 4px 0; }
.cmp-order { list-style: none; margin: 16px 0 0; padding: 0; }
.cmp-order li { border-top: 2px solid var(--ink); padding: 12px 0; }

@media (max-width: 760px) {
  .show-m { display: block; }
  .num, .table th.num { text-align: left; }
  .notfound { grid-template-columns: minmax(0, 1fr); padding-top: 32px; }
  .notfound__code { font-size: 56px; }
  .states-box__row { grid-template-columns: minmax(0, 1fr); }
  .founding { flex-direction: column; align-items: stretch; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .content-section { margin-top: 40px; }
  /* Compare: one block per fact, the products listed under it in a fixed order. */
  .cmp tr { grid-template-columns: minmax(0, 1fr); }
  .cmp .cmp-empty { display: none; }
  .cmp .cmp-group { border-bottom: 0; padding-bottom: 0; }
  .cmp .cmp-group th { padding: 12px 0 0; font-size: 20px; }
}

/* ---------- checkout, billing, invoice ---------- */
.checkout-company { margin-top: 12px; }
.checkout-steps { list-style: none; margin: 24px 0 32px; padding: 0; display: flex; gap: 8px; }
.checkout-steps__item { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; padding: 10px 0; border-top: 3px solid var(--ink); }
.checkout-steps__item--future { border-top-color: var(--hairline); }
.checkout-steps__num {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 26px; height: 26px; border-radius: 50%;
  font: 600 12px var(--font-mono); border: 1.5px solid var(--ink);
}
.checkout-steps__item--done .checkout-steps__num { background: var(--mint); border-width: 2px; }
.checkout-steps__item--current .checkout-steps__num { background: var(--ink); color: #fff; }
.checkout-steps__item--future .checkout-steps__num { border-style: dashed; border-color: var(--muted); color: var(--muted); }
.checkout-steps__label { font-size: 14px; font-weight: 500; }
.checkout-steps__item--current .checkout-steps__label { font-weight: 700; }
.checkout-steps__item--future .checkout-steps__label { color: var(--muted); }
.checkout-steps__done { font-weight: 400; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.checkout-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.checkout-tiers { border: 0; margin: 0; padding: 0; }
.checkout-tiers legend { font-weight: 700; padding: 0; margin-bottom: 4px; }
.checkout-tiers__help { display: block; }
.checkout-tiers__offer { margin-top: 6px; }
.check-row--disabled { cursor: not-allowed; color: var(--muted); }
.checkout-errors { margin: 4px 0 0; padding-left: 20px; }
.field__ok, .field__warn { display: flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 600; }
.field__warn { background: var(--warn-bg); border-radius: 10px; padding: 6px 10px; }
.checkout-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 32px; border-top: 2px solid var(--ink); padding-top: 20px; }
.checkout-note { margin-top: 12px; }
.checkout-summary { border: 2px solid var(--ink); background: var(--soft); border-radius: var(--r-panel); padding: 20px; }
.checkout-summary h2 { font-size: 12px; }
.checkout-summary__tags { margin: 8px 0 12px; }
.checkout-summary__lines { margin: 0 0 12px; }
.checkout-summary__line { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--hairline); }
.checkout-summary__line dd { margin: 0; white-space: nowrap; font-size: 16px; }
.checkout-summary__total { border-top: 2px solid var(--ink); padding-top: 12px; font-weight: 700; font-size: 20px; }
.checkout-summary__total dd { font-size: 20px; }
.checkout-summary__foot { border-top: 1px solid var(--hairline); margin-top: 12px; padding-top: 12px; }
.checkout-result { margin-top: 8px; }
.invoice { border: 2px solid var(--ink); border-radius: var(--r-panel); background: #fff; padding: 32px; display: flex; flex-direction: column; gap: 24px; margin-top: 16px; }
.invoice__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-bottom: 5px solid var(--ink); padding-bottom: 16px; }
.invoice__meta { display: flex; gap: 32px; margin: 0; }
.invoice__meta dd, .invoice__totals dd { margin: 0; }
.invoice__parties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.invoice__parties h2 { margin-bottom: 6px; }
.invoice__num { text-align: right; }
.invoice__totals { margin: 0 0 0 auto; min-width: 280px; }
.invoice__totals > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--hairline); }
.invoice__total { border-top: 2px solid var(--ink) !important; font-weight: 700; font-size: 18px; }
.invoice__note { font-weight: 600; }
@media (max-width: 760px) {
  .checkout, .checkout-pair, .invoice__parties { grid-template-columns: minmax(0, 1fr); }
  .checkout-steps { flex-direction: column; gap: 0; }
  .invoice { padding: 20px; }
  .invoice__num { text-align: left; }
  .invoice__totals { min-width: 0; width: 100%; }
}
@media print {
  body:has(.invoice) .site-header, body:has(.invoice) .site-footer, body:has(.invoice) .no-print, body:has(.invoice) .skip-link { display: none; }
  .invoice { border: 0; padding: 0; }
}

/* ---------- vendor flow: sign-in, submit, claim, dashboard ---------- */
.v-crumbs { padding: 20px 0 16px; }
.v-title { font-size: 60px; line-height: 1.2; text-wrap: balance; }
.v-title__hl { border-bottom: 4px solid var(--ink); border-radius: 12px 12px 0 0; padding: 0 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.v-h2 { font-size: 24px; font-weight: 700; margin: 4px 0 20px; }
h3.v-h2 { font-size: 40px; font-weight: 800; line-height: 1.1; margin: 0; }
.v-h3 { font-size: 20px; font-weight: 800; padding-top: 16px; border-top: 2px solid var(--ink); margin: 8px 0 0; }
.v-h3--plain { border-top: 0; padding-top: 0; margin: 0; }
.v-h4 { font-size: 17px; font-weight: 800; margin: 0; }
.v-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.v-sub { display: block; font-size: 14px; color: var(--muted); }

/* steps: done = mint with tick, current = ink, future = dashed */
.v-steps { list-style: none; margin: 24px 0 32px; padding: 0; display: flex; gap: 8px; }
.v-steps li { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; min-height: 46px; padding: 10px 0; border-top: 3px solid var(--hairline); font-size: 14px; font-weight: 500; color: var(--muted); }
.v-steps li.is-done, .v-steps li[aria-current] { border-top-color: var(--ink); color: var(--ink); }
.v-steps li[aria-current] { font-weight: 700; }
.v-steps__dot { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; flex: none; font: 12px var(--font-mono); border: 1.5px dashed var(--muted); color: var(--muted); }
.is-done .v-steps__dot { background: var(--mint); color: var(--ink); border: 2px solid var(--ink); }
[aria-current] > .v-steps__dot { background: var(--ink); color: #fff; border: 1.5px solid var(--ink); }
.v-steps__label a { display: inline-flex; align-items: center; min-height: 44px; }
.v-steps__state { font-weight: 400; }

/* form layout */
.v-form { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.v-fields { display: flex; flex-direction: column; gap: 24px; }
.v-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.v-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.v-legend { font-weight: 700; padding: 0; margin-bottom: 4px; }
.v-legend--small { font-size: 14px; }
.v-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0 16px; }
.v-cert { border: 2px solid var(--ink); border-radius: var(--r-panel); padding: 16px 20px 20px; margin: 0; min-width: 0; }
.v-cert > .v-legend { float: left; font-size: 17px; }
.v-textarea { min-height: 0; resize: vertical; }
.v-errors { margin-bottom: 24px; }
.v-errors:focus { outline: none; }
.v-errors:focus-visible .msg { outline: 3px solid var(--ink); outline-offset: 2px; }
.v-errors__list { margin: 4px 0 0; padding-left: 18px; font-size: 15px; }
.v-actions { display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-top: 32px; border-top: 2px solid var(--ink); padding-top: 20px; }
.v-aside { background: var(--soft); border: 2px solid var(--ink); border-radius: var(--r-panel); padding: 20px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.v-aside__title { display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: 16px; }
.v-aside__sep { border-top: 1px solid var(--hairline); padding-top: 12px; }
.v-tier { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--ink); border-radius: var(--r-panel); padding: 14px 18px; cursor: pointer; background: #fff; }
.v-tier input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.v-tier:has(input:checked) { background: var(--soft); box-shadow: inset 0 0 0 1px var(--ink); }
/* Company step: show only the fields for the chosen option (all stay visible without :has support). */
.v-company:has(input[name='company']:checked:not([value='new'])) .v-newco { display: none; }
.v-company:not(:has(input[name='company'][value='claim']:checked)) .v-claim { display: none; }
.v-claim { padding: 4px 0 0 30px; }

/* review */
.v-review { display: flex; flex-direction: column; gap: 4px; border-top: 2px solid var(--ink); padding-top: 12px; }
.v-review__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.v-dl { display: grid; grid-template-columns: minmax(120px, auto) minmax(0, 1fr); gap: 10px 24px; margin: 16px 0; }
.v-dl dt { font: 600 12px/1.4 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.v-dl dd { margin: 0; overflow-wrap: anywhere; }

/* dashboard */
.v-dash-head, .v-co__head, .v-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.v-sec-head { align-items: baseline; }
.v-co { margin-top: 48px; padding-top: 32px; border-top: 3px solid var(--ink); }
.v-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.v-code { display: block; width: 100%; background: var(--ink); color: #fff; border: 0; padding: 14px; font: 12.5px/1.6 var(--font-mono); white-space: pre; overflow-x: auto; resize: vertical; }
.v-empty { border: 2px dashed var(--muted); border-radius: var(--r-panel); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.v-empty .v-h2 { margin: 0; }
.v-numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 2px solid var(--ink); background: var(--soft); border-radius: var(--r-panel); overflow: hidden; margin-top: 16px; }
.v-numbers > div { padding: 16px 20px; border-left: 1px solid var(--hairline); }
.v-numbers > div:first-child { border-left: 0; }
.v-number { font-size: 34px; font-weight: 800; font-stretch: 75%; line-height: 1.2; font-variant-numeric: tabular-nums; }
.v-numbers-table td:not(:first-child), .v-numbers-table th:not(:first-child) { text-align: right; }

@media (max-width: 760px) {
  .v-title { font-size: 30px; }
  h3.v-h2 { font-size: 26px; }
  .v-form, .v-pair, .v-two, .v-numbers { grid-template-columns: minmax(0, 1fr); }
  .v-numbers > div { border-left: 0; border-top: 1px solid var(--hairline); }
  .v-numbers > div:first-child { border-top: 0; }
  .v-steps { flex-wrap: wrap; gap: 0 12px; }
  .v-steps li { flex: 1 1 40%; }
  .v-numbers-table td:not(:first-child), .v-numbers-table th:not(:first-child) { text-align: left; }
}

/* ---------- operator and evidence pages: queue, check, review, renewals, evidence ---------- */
.btn--sm { padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.tabs { display: flex; flex-wrap: wrap; }
.tabs a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--ink);
  background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
}
.tabs a + a { margin-left: -1.5px; }
.tabs a[aria-current] { background: var(--ink); color: #fff; }
.work-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-end; }
.work-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.work-list { list-style: none; margin: 0; padding: 0; }
.work-group { padding-bottom: 8px; }
.work-item { border-top: 2px solid var(--ink); padding: 16px 0 24px; display: flex; flex-direction: column; gap: 12px; }
.work-item__title { font-size: 18px; font-weight: 700; }
.work-item__head { display: flex; justify-content: space-between; gap: 8px 16px; align-items: flex-start; }
.work-item__state { flex: none; }
.check-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px 40px; }
.check-item .field label { font-size: 14px; font-weight: 600; }
.check-item .textarea, .follow-up .textarea { min-height: 88px; }
.work-aside {
  border: 2px solid var(--ink); background: var(--soft); border-radius: var(--r-panel); padding: 20px;
  display: flex; flex-direction: column; gap: 12px; position: sticky; top: 16px;
}
.work-aside__big { font-size: 24px; font-weight: 800; font-stretch: 75%; line-height: 1.15; }
.work-aside__part { border-top: 1px solid var(--hairline); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; font-size: 15px; }
.plain-list { list-style: none; margin: 0; padding: 0; }
.result-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.result-set legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 6px; }
.result-set__options { display: flex; gap: 8px; flex-wrap: wrap; }
.option {
  flex: 1; min-width: 150px; display: flex; gap: 10px; align-items: flex-start; min-height: 44px; padding: 10px 12px;
  border: 1.5px solid var(--hairline); background: #fff; cursor: pointer;
}
.option:has(input:checked) { border-color: var(--ink); }
.option input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.result-set.field--error .option { border: 2px solid var(--error); }
.result-set:disabled .option { cursor: default; color: var(--muted); }
.evidence-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.evidence-list li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.evidence-list a { font-weight: 600; }
.note-box { border: 1.5px solid var(--ink); border-radius: var(--r-input); background: var(--warn-bg); padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.follow-up summary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.follow-up[open] summary { margin-bottom: 8px; }
.review-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.review-table th[scope='row'] {
  width: 220px; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--hairline);
  font: 700 15px/1.5 var(--font-sans); letter-spacing: 0; text-transform: none;
}
.steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.steps__item {
  display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; padding: 10px 0;
  border-top: 3px solid var(--ink); font-size: 14px; font-weight: 500;
}
.steps__item--current { font-weight: 700; }
.steps__item--future { border-top-style: dashed; border-top-color: var(--muted); color: var(--muted); }
.steps__num {
  display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%;
  flex: none; font: 600 12px var(--font-mono); border: 1.5px dashed var(--muted);
}
.steps__item--done .steps__num { background: var(--mint); border: 2px solid var(--ink); }
.steps__item--current .steps__num { background: var(--ink); color: #fff; border: 1.5px solid var(--ink); }
.file-box {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap; border: 1.5px solid var(--ink);
  border-radius: var(--r-input); background: #fff; padding: 10px 12px; overflow-wrap: anywhere;
}
.file-box .mono { flex: 1; min-width: 140px; }
.upload__drop { border: 1.5px dashed var(--muted); padding: 16px; display: flex; gap: 8px 12px; align-items: center; flex-wrap: wrap; }
.upload__drop.field--error { border: 2px solid var(--error); }
.upload__label { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; }
.upload input[type='file'] { font-size: 15px; min-height: 44px; max-width: 100%; }
.upload input[type='file']::file-selector-button {
  min-height: 44px; padding: 0 18px; margin-right: 12px; border-radius: var(--r-pill); border: 2px solid var(--ink);
  background: #fff; color: var(--ink); font: 700 15px var(--font-sans); cursor: pointer;
}
@media (max-width: 760px) {
  .work-grid, .check-item, .review-actions { grid-template-columns: minmax(0, 1fr); }
  .work-aside { position: static; }
  .work-item__head { flex-direction: column; }
  .steps { flex-direction: column; gap: 0; }
  .review-table th[scope='row'] { width: auto; }
}
