/* companyinfo.me — public site. Branded after dolos.fit / belego.fit:
   blue primary, green accent, clean white surfaces, Inter. */

/* Flash-free i18n: the page ships seeded English text (great for crawlers + an
   instant render for English visitors). For another language we hide the body
   for the few ms until i18n swaps the text, so there's never a wrong-language
   flash. The pre-paint <head> script adds/removes html.i18n-pending; public.js
   removes it after I18N.apply(), and a 700ms timeout is a safety net. */
html.i18n-pending body { visibility: hidden; }

/* Self-hosted fonts (no Google CDN — DSGVO: no third-country transfer).
   Variable woff2 covering the latin subset; weight axis 100–900. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/public-static/assets/fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/public-static/assets/fonts/jetbrainsmono-latin.woff2') format('woff2');
}

:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --accent: #16a34a;
  --accent-dark: #15803d;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --soft: #f1f5f9;
  --danger: #dc2626;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  --maxw: 1080px;
  /* Premium = gold (luxury signal); Basic = brand blue. */
  --gold: #8a6d1c;
  --gold-soft: rgba(184, 148, 46, 0.18);
}
* { box-sizing: border-box; }
/* overflow-x: clip (not hidden) stops horizontal scroll WITHOUT making this the
   scroll container — otherwise it breaks position:sticky for the nav on mobile. */
html, body { margin: 0; padding: 0; overflow-x: clip; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.hidden { display: none !important; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand .b { color: var(--brand); }
.brand .a { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-select {
  appearance: none; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); border-radius: 10px; padding: 7px 30px 7px 12px; font-size: 13px;
  cursor: pointer; font-weight: 600;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 12px; padding: 13px 22px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: transform .05s ease, background .15s ease, box-shadow .15s; font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); text-decoration: none; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); text-decoration: none; }
.btn-ghost { background: var(--soft); color: var(--text); }
.btn-ghost:hover { background: #e7ebf0; text-decoration: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ── Hero ── */
.hero { padding: 64px 0 36px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  color: var(--accent); background: #dcfce7; border: 1px solid #bbf7d0;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 5vw, 50px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 16px; }
.hero h1 .hl { color: var(--brand); }
.hero p.sub { font-size: clamp(16px, 2.4vw, 20px); color: var(--muted); max-width: 640px; margin: 0 auto 30px; }

/* ── Search card ── */
.search-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow); padding: 22px; max-width: 720px; margin: 0 auto; text-align: left;
}
/* Make use of the available width on larger screens (the card no longer caps at
   720px), so the country field + company field both get room to breathe. */
@media (min-width: 1000px) { .search-card { max-width: 940px; padding: 26px; } }
@media (min-width: 1400px) { .search-card { max-width: 1040px; } }
/* The country column is wide enough for the full country name AND its tier pill
   ("… · Premium") without truncating; the company field takes the rest. */
.search-row { display: grid; grid-template-columns: minmax(250px, .46fr) minmax(0, 1fr); gap: 12px; align-items: end; }
@media (min-width: 1000px) { .search-row { grid-template-columns: minmax(300px, .42fr) minmax(0, 1fr); gap: 16px; } }
@media (max-width: 620px) { .search-row { grid-template-columns: 1fr; } }
.field { min-width: 0; }
.field label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin: 0 0 6px; text-transform: uppercase; letter-spacing: .03em; }
.input, .select {
  width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 13px 14px;
  font-size: 15px; color: var(--text); background: var(--surface); font-family: inherit;
}
.search-card .input, .search-card .select { box-sizing: border-box; height: 52px; line-height: 20px; }
.input:focus, .select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.select { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.search-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.search-actions .btn, .search-actions .turnstile-wrap { flex: 0 0 auto; }
#searchBtn { min-height: 58px; min-width: 190px; padding: 0 30px; font-size: 16px; font-weight: 800; }
.turnstile-wrap { min-height: 0; }
.search-loading {
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
  color: var(--muted); font-size: 14px; font-weight: 700;
  background: var(--soft); border: 1px solid var(--border); border-radius: 12px; padding: 11px 13px;
}
.search-loading .spinner { width: 16px; height: 16px; }

/* ── Trust badges ── */
.badges { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin-top: 28px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.badge svg { color: var(--accent); }

/* ── Sections / steps ── */
.section { padding: 28px 0 56px; }
.panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow); padding: 26px; max-width: 760px; margin: 0 auto;
}
.panel h2 { margin: 0 0 4px; font-size: 22px; letter-spacing: -0.02em; }
.panel .lead { color: var(--muted); margin: 0 0 20px; }
.back-link { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); cursor: pointer; margin-bottom: 14px; }
.back-link:hover { color: var(--text); }

/* result list */
.result-list { display: flex; flex-direction: column; gap: 10px; }
.result-item {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.result-item:hover { border-color: var(--brand); background: #f8faff; }
.result-item .name { font-weight: 700; font-size: 16px; }
.result-item .cc { font-size: 12px; color: var(--muted); font-weight: 600; }
.result-item .pick { color: var(--brand); font-weight: 700; font-size: 14px; white-space: nowrap; }

/* teaser */
.company-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.flag { font-size: 26px; }
.fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 18px 0; }
.teaser-avail { font-size: 12px; line-height: 1.5; color: var(--muted, #64748b); background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.20); border-radius: 8px; padding: 8px 11px; margin: 4px 0 0; }
.teaser-sample { margin-top: 6px; }
.teaser-sample .showcase-stage { perspective: 1600px; }
.teaser-sample .doc-paper { width: min(460px, 100%); margin: 0 auto; box-shadow: 0 18px 44px -22px rgba(15,23,42,.45); }
.teaser-sample-note { font-size: 11.5px; color: var(--muted, #64748b); text-align: center; margin: 10px 0 0; }
@media (max-width: 560px) { .fields-grid { grid-template-columns: 1fr; } }
.field-chip { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text); }
.field-chip svg { color: var(--accent); flex: 0 0 auto; }
.price-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--soft); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin-top: 10px; flex-wrap: wrap;
}
.price { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.price small { font-size: 13px; color: var(--muted); font-weight: 600; }

/* document picker (German register documents) */
.docs-picker { margin: 6px 0 2px; }
.docs-list { display: flex; flex-direction: column; gap: 8px; }
.doc-option {
  display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 10px;
  padding: 11px 14px; border: 1px solid var(--border); border-radius: 12px; cursor: pointer;
  font-size: 14px; transition: border-color .15s, background .15s;
}
.doc-option:hover { border-color: var(--brand); }
.doc-option input { width: 18px; height: 18px; accent-color: var(--brand); flex: 0 0 auto; }
.doc-option.included { cursor: default; opacity: .92; }
.doc-option .doc-code { font-weight: 800; font-size: 13px; min-width: 30px; color: var(--brand); }
.doc-option .doc-name { color: var(--text); }
.doc-option .doc-price { font-weight: 700; font-size: 13px; color: var(--muted); white-space: nowrap; }
[data-theme="dark"] .doc-option { background: var(--soft); }

/* checkout form */
.form-group { margin-bottom: 16px; }
.form-group label.flabel { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.check-row { display: flex; gap: 11px; align-items: flex-start; padding: 12px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; }
.check-row input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); flex: 0 0 auto; }
.check-row label { font-size: 13.5px; color: var(--muted); }
.err { color: var(--danger); font-size: 13.5px; margin-top: 8px; min-height: 18px; }
.order-summary { background: var(--soft); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-size: 14px; }
.order-summary .row { display: flex; justify-content: space-between; padding: 3px 0; }
.order-summary .row .v { font-weight: 700; }

/* progress */
.progress-wrap { text-align: center; }
.task-id { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; color: var(--muted); background: var(--soft); padding: 6px 12px; border-radius: 8px; display: inline-block; margin: 8px 0 22px; }
.bar { height: 12px; background: var(--soft); border-radius: 999px; overflow: hidden; margin: 18px 0; }
.bar > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: 999px; transition: width .5s ease; }
.progress-hint { min-height: 18px; color: var(--muted); font-size: 13.5px; margin-top: -10px; }
.steps { display: flex; flex-direction: column; gap: 10px; max-width: 380px; margin: 18px auto 0; text-align: left; }
.step { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.step .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 12px; }
.step.done { color: var(--text); }
.step.done .dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.step.active .dot { border-color: var(--brand); color: var(--brand); }
.spinner { width: 18px; height: 18px; border: 2px solid var(--border); border-top-color: var(--brand); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* delivery */
.success-badge { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 800; font-size: 16px; }
.notice { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; border-radius: 12px; padding: 12px 16px; font-size: 13.5px; margin: 16px 0; }
.data-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
.data-table td { padding: 9px 4px; border-bottom: 1px solid var(--border); vertical-align: top; }
.data-table td.k { color: var(--muted); width: 42%; font-weight: 600; }
.download-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 8px; }

/* ── unified live task page (progress → delivery in place) ── */
.task-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.task-top-main { min-width: 0; }
.task-top .task-id { margin: 2px 0 0; }
.task-panel h2 { margin: 4px 0 2px; }
.task-grid { display: grid; grid-template-columns: minmax(0, 1fr) 282px; gap: 24px; margin-top: 16px; align-items: start; }
.task-main { min-width: 0; }
.task-rail { display: flex; flex-direction: column; gap: 14px; }
.task-rail .steps { max-width: none; margin: 0; }
.rail-actions { display: flex; flex-direction: column; gap: 10px; }
.rail-actions:empty { display: none; }
.task-record { margin-top: 18px; }
.task-record h3 { font-size: 15px; margin: 0 0 4px; }
.task-fineprint { font-size: 12px; margin: 4px 0 0; }

/* live task-page document cards (`.tdoc` — distinct from the homepage `.doc-card`
   showcase). Every ordered doc shows up front as "pending" and flips to "ready". */
.tdoc-cards { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.tdoc { display: flex; align-items: center; gap: 12px; text-align: left; min-width: 210px; flex: 1 1 auto;
  border: 1px solid var(--border); background: var(--surface); border-radius: 14px; padding: 12px 14px; cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .35s ease, transform .35s ease, border-color .15s ease, background .15s ease; }
.tdoc.in { opacity: 1; transform: none; }
.tdoc.ready:hover { border-color: var(--brand); background: #f8faff; }
[data-theme="dark"] .tdoc.ready:hover { background: #16223c; }
.tdoc.pending { cursor: default; }
.tdoc.pending:hover { border-color: var(--border); background: var(--surface); }
.tdoc.flash { animation: tdocflash .7s ease; }
@keyframes tdocflash { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .45); } 100% { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0); } }
.tdoc-icon { width: 38px; height: 38px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: var(--soft); color: var(--brand); font-weight: 800; font-size: 11.5px; }
.tdoc.ready .tdoc-icon { background: rgba(22, 163, 74, .12); color: var(--accent); }
.tdoc.pending .tdoc-icon .spinner { width: 18px; height: 18px; }
.tdoc-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tdoc-name { font-weight: 700; font-size: 13.5px; color: var(--text); }
.tdoc-dl { font-size: 12px; color: var(--brand); font-weight: 600; }
.tdoc.pending .tdoc-dl { color: var(--muted); font-weight: 500; }

/* inline preview of the combined PDF, animated in when ready */
.pdf-preview { margin-top: 8px; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--soft);
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.pdf-preview.in { opacity: 1; transform: none; }
.pdf-preview iframe { width: 100%; height: 540px; border: 0; display: block; background: #fff; }
/* Safari fallback (WebKit can't inline a blob: PDF) — a one-click open card. Also
   used inside the per-document lightbox. */
.pdf-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  min-height: 320px; height: 540px; padding: 28px; text-align: center; background: var(--soft); }
.doc-modal-body .pdf-fallback { height: 100%; }
.pdf-fallback-ic { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; letter-spacing: .5px; color: var(--brand); background: rgba(37, 99, 235, .12); }
.pdf-fallback-txt { color: var(--muted); font-size: 14px; }
.pdf-fallback .pdf-open { cursor: pointer; }

/* On wide screens the task page uses more horizontal room AND a taller preview so
   the branded PDF reads like a real document rather than a thumbnail. */
#view-task .container { max-width: min(1360px, 96vw); }
@media (min-width: 1100px) {
  #view-task .task-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; }
  .pdf-preview iframe { height: min(760px, calc(100vh - 240px)); }
}
@media (min-width: 1500px) {
  #view-task .task-grid { grid-template-columns: minmax(0, 1fr) 340px; }
}

/* per-document preview lightbox */
.doc-modal { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center;
  padding: 28px; background: rgba(2, 6, 23, .62); backdrop-filter: blur(6px); animation: docFade .2s ease; }
.doc-modal.hidden { display: none; }
@keyframes docFade { from { opacity: 0 } to { opacity: 1 } }
.doc-modal-card { width: 100%; max-width: 980px; height: min(88vh, 1000px); display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(2, 6, 23, .7); animation: docPop .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes docPop { from { transform: translateY(14px) scale(.98); opacity: 0 } to { transform: none; opacity: 1 } }
.doc-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--soft); }
.doc-modal-title { font-weight: 700; font-size: 15px; color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-modal-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.doc-modal-dl { padding: 8px 16px; font-size: 13.5px; }
.doc-modal-x { background: transparent; border: none; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.doc-modal-x:hover { color: var(--text); }
.doc-modal-body { flex: 1 1 auto; min-height: 0; background: #fff; position: relative; }
.doc-modal-body iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.doc-modal-body pre { margin: 0; padding: 18px 20px; height: 100%; overflow: auto; box-sizing: border-box;
  font: 12.5px/1.6 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: var(--text);
  white-space: pre-wrap; word-break: break-word; background: var(--surface); }
.doc-modal-msg { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  height: 100%; padding: 24px; text-align: center; color: var(--muted); font-size: 14px; background: var(--surface); }
.doc-modal-spin { display: flex; align-items: center; justify-content: center; height: 100%; }
[data-theme="dark"] .doc-modal-body, [data-theme="dark"] .doc-modal-body iframe { background: #0b1220; }
@media (max-width: 620px) {
  .doc-modal { padding: 0; }
  .doc-modal-card { max-width: 100%; height: 100vh; border-radius: 0; border: 0; }
}

/* discounted price display in the order summary */
.order-summary .o-strike { color: var(--muted); text-decoration: line-through; opacity: .8; margin-right: 4px; }
.order-summary .o-now { color: var(--accent); font-weight: 700; }
.order-summary .row-discount { color: var(--accent); font-weight: 600; }
.order-summary .row-discount .v { color: var(--accent); }
.order-summary .row-total { font-weight: 700; border-top: 1px solid var(--border); margin-top: 4px; padding-top: 8px; }

/* voucher box on the checkout page */
.voucher-box { margin: 14px 0 4px; }
.voucher-toggle { background: none; border: none; padding: 0; cursor: pointer; font: inherit;
  font-size: 13.5px; font-weight: 600; color: var(--brand); }
.voucher-toggle:hover { text-decoration: underline; }
.voucher-fields { margin-top: 10px; }
.voucher-row { display: flex; gap: 8px; align-items: stretch; }
.voucher-row .input { flex: 1 1 auto; text-transform: uppercase; letter-spacing: .04em; }
.voucher-row .btn { flex: 0 0 auto; }
.voucher-msg { font-size: 13px; margin-top: 7px; min-height: 1em; }
.voucher-msg.ok { color: var(--accent); font-weight: 600; }
.voucher-msg.err { color: #b91c1c; }
[data-theme="dark"] .voucher-msg.err { color: #fca5a5; }

/* outage retry banner */
.retry-banner { border: 1px solid #fde68a; background: #fffbeb; color: #92400e; border-radius: 14px; padding: 14px 16px; margin: 10px 0 0; }
.retry-head { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.retry-head .spinner { width: 16px; height: 16px; border-color: rgba(180, 83, 9, .25); border-top-color: #b45309; }
.retry-line { font-size: 14px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.retry-note { font-size: 12.5px; opacity: .85; margin-top: 4px; }
[data-theme="dark"] .retry-banner { background: #2a2410; border-color: #4d4216; color: #fcd34d; }
[data-theme="dark"] .retry-head .spinner { border-color: rgba(252, 211, 77, .25); border-top-color: #fcd34d; }

@media (max-width: 860px) {
  .task-grid { grid-template-columns: 1fr; }
  .tdoc { flex: 1 1 100%; }
  .pdf-preview iframe { height: 64vh; }
}
@media (prefers-reduced-motion: reduce) {
  .tdoc, .pdf-preview { transition: none; opacity: 1; transform: none; }
}

/* footer */
.footer { border-top: 1px solid var(--border); background: var(--surface); padding: 40px 0 30px; margin-top: 30px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer .muted { color: var(--muted); font-size: 13px; max-width: 320px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 13.5px; }
.admin-btn { background: none; border: none; color: var(--muted); font-size: 13.5px; cursor: pointer; font-family: inherit; padding: 0; }
.admin-btn:hover { color: var(--brand); }
.footer-bottom { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* footer register-status strip */
.footer-status { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); }
.footer-status-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.footer-status-head h4 { margin: 0; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.footer-status-legend { display: flex; gap: 14px; flex-wrap: wrap; }
.fs-key { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.fs-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.fs-dot.ok, .fs-flag.ok::after { background: #22c55e; }
.fs-dot.partial, .fs-flag.partial::after { background: #f59e0b; }
.fs-dot.down, .fs-flag.down::after { background: #ef4444; }
.footer-status-flags { display: flex; flex-wrap: wrap; gap: 9px; }
.fs-flag { position: relative; font-size: 19px; line-height: 1; cursor: default; filter: saturate(1); padding-bottom: 7px; }
.fs-flag.down { opacity: .45; filter: grayscale(.7); }
.fs-flag.partial { opacity: .8; }
.fs-flag::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 6px; height: 6px; border-radius: 50%; box-shadow: 0 0 0 2px var(--bg, #0b1120); }

/* modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.5); display: flex; align-items: center; justify-content: center; z-index: 90; padding: 20px; }
.modal { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 26px; max-width: 420px; width: 100%; }
.modal h3 { margin: 0 0 6px; font-size: 20px; }
.modal p { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.modal-close { float: right; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--muted); line-height: 1; }

/* ════════════════════════════════════════════════════════════════════
   Phase 2 — dark theme, logo, theme toggle, showcase, reveal, responsive
   ════════════════════════════════════════════════════════════════════ */

/* ── Dark theme tokens (WCAG-AA contrast) ── */
[data-theme="dark"] {
  --brand: #3b82f6;
  --brand-dark: #2563eb;
  --accent: #22c55e;
  --accent-dark: #16a34a;
  --bg: #0b1120;
  --surface: #111a2e;
  --text: #e8edf6;
  --muted: #9aa8bd;
  --border: #243149;
  --soft: #18233a;
  --danger: #f87171;
  --shadow: 0 14px 40px -16px rgba(0, 0, 0, 0.7);
  --gold: #e6cf86;
  --gold-soft: rgba(220, 192, 106, 0.16);
}
[data-theme="dark"] .nav { background: rgba(11, 17, 32, 0.8); }
[data-theme="dark"] .result-item:hover { background: #16223c; }
[data-theme="dark"] .eyebrow { background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.3); }
[data-theme="dark"] .notice { background: #2a2410; border-color: #4d4216; color: #fcd34d; }
[data-theme="dark"] .input, [data-theme="dark"] .select, [data-theme="dark"] .lang-select { background: var(--soft); }
[data-theme="dark"] .check-row, [data-theme="dark"] .order-summary, [data-theme="dark"] .price-card { background: var(--soft); }

/* ── Brand logo + theme toggle ── */
.brand-link { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-link:hover { text-decoration: none; }
.brand-mark { display: block; flex: 0 0 auto; }
.brand-logo { display: block; height: 30px; width: auto; }
.theme-toggle {
  background: var(--soft); border: 1px solid var(--border); border-radius: 10px;
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text); transition: background .15s, color .15s; flex: 0 0 auto;
}
.theme-toggle:hover { color: var(--brand); }
.theme-toggle .ic-moon { display: none; }
.theme-toggle .ic-sun { display: inline; }
[data-theme="dark"] .theme-toggle .ic-sun { display: none; }
[data-theme="dark"] .theme-toggle .ic-moon { display: inline; }

/* ── Rotating hero tagline + reveal-on-scroll ── */
.hero p.sub { transition: opacity .5s ease; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Showcase ── */
.showcase { padding: 24px 0 72px; }
.showcase-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.showcase-head h2 { font-size: clamp(24px, 3.6vw, 36px); letter-spacing: -0.02em; margin: 0 0 10px; }
.showcase-head p { color: var(--muted); font-size: 17px; margin: 0; }
.showcase-stage { perspective: 1500px; display: flex; justify-content: center; }
.doc-stack { position: relative; width: min(580px, 92vw); height: 452px; }
.doc-card {
  position: absolute; inset: 0; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow); padding: 28px 30px; overflow: hidden;
  opacity: 0; transform: translateY(26px) scale(.97) rotateX(4deg); transform-origin: 50% 100%;
  transition: opacity .7s ease, transform .7s ease; pointer-events: none;
}
.doc-card.active { opacity: 1; transform: none; pointer-events: auto; }
.doc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--border); padding-bottom: 14px; margin-bottom: 16px; }
.doc-reg { display: flex; align-items: center; gap: 11px; min-width: 0; }
.doc-flag { font-size: 30px; line-height: 1; }
.doc-source { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.doc-source b { display: block; color: var(--text); font-size: 15px; text-transform: none; letter-spacing: 0; }
.doc-badge { background: var(--soft); color: var(--brand); font-weight: 800; font-size: 13px; padding: 7px 12px; border-radius: 8px; font-family: 'JetBrains Mono', ui-monospace, monospace; white-space: nowrap; }
.doc-company { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 16px; color: var(--text); }
.doc-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.doc-k { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.doc-v { font-size: 14px; font-weight: 600; color: var(--text); }
.doc-persons { margin-top: 16px; border-top: 1px dashed var(--border); padding-top: 12px; }
.doc-persons .doc-k { margin-bottom: 6px; }
.doc-person { font-size: 13.5px; color: var(--text); }
.doc-pill { position: absolute; right: 22px; top: 20px; background: var(--accent); color: #fff; font-weight: 800; font-size: 12px; padding: 5px 11px; border-radius: 999px; box-shadow: var(--shadow); }
.doc-watermark { position: absolute; bottom: 16px; right: 20px; font-size: 10.5px; color: var(--muted); font-weight: 600; }
.showcase-pager { display: flex; gap: 9px; justify-content: center; margin: 24px 0 4px; flex-wrap: wrap; }
.pager-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); border: none; cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.pager-dot.active { background: var(--brand); transform: scale(1.3); }
.showcase-cta { text-align: center; margin-top: 22px; }
.showcase-price { font-size: 17px; color: var(--muted); margin-bottom: 14px; }
.showcase-price strong { color: var(--text); font-size: 22px; font-weight: 800; }
.showcase-note { color: var(--muted); font-size: 12px; margin-top: 14px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero { padding: 48px 0 28px; }
}
@media (max-width: 620px) {
  .nav-inner { height: 58px; }
  .brand-logo { height: 26px; }
  .brand .b, .brand .a, .brand { font-size: 17px; }
  .nav-right { gap: 8px; }
  .lang-select { max-width: 116px; padding: 7px 26px 7px 10px; }
  .hero { padding: 32px 0 18px; }
  .search-card { padding: 16px; border-radius: 16px; }
  .search-actions { flex-direction: column; align-items: stretch; }
  .search-actions .btn { width: 100%; }
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-actions .btn { width: 100%; }
  .turnstile-wrap { display: flex; justify-content: center; }
  .badges { gap: 8px 16px; }
  .panel { padding: 18px; border-radius: 16px; }
  .doc-stack { height: 500px; }
  .doc-rows { grid-template-columns: 1fr; gap: 9px; }
  .doc-card { padding: 22px 20px; }
  .price-card { flex-direction: column; align-items: stretch; text-align: center; }
  .price-card .btn { width: 100%; }
  .download-row .btn { width: 100%; }
  .footer-grid { flex-direction: column; gap: 18px; }
}
@media (min-width: 1280px) {
  .hero h1 { font-size: 54px; }
}

/* ════════════════════════════════════════════════════════════════════
   Phase 3 — long-form landing: nav links, sections, big mockup, footer
   ════════════════════════════════════════════════════════════════════ */
html { scroll-behavior: smooth; }
.lp [id], #features, #showcase, #coverage, #why, #how, #pricing, #faq, #contact { scroll-margin-top: 84px; }
.container-narrow { max-width: 820px; }

/* Nav links + CTA + burger */
.nav-inner { gap: 16px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.nav-link { position: relative; padding: 8px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .18s ease; }
.nav-link:hover { color: var(--text); background: var(--soft); text-decoration: none; }
/* Animated active-section underline (scrollspy). Brand colour reads well in
   both light and dark themes. */
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px;
  border-radius: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: center; opacity: 0;
  transition: transform .22s cubic-bezier(.4,0,.2,1), opacity .22s ease;
}
.nav-link:hover::after { transform: scaleX(.55); opacity: .5; }
.nav-link.active { color: var(--brand); background: transparent; }
.nav-link.active::after { transform: scaleX(1); opacity: 1; }
/* Anchor jumps land below the sticky header. */
.lp { scroll-margin-top: 80px; }
.nav-cta { padding: 9px 16px; font-size: 14px; }
.nav-burger { display: none; background: var(--soft); border: 1px solid var(--border); border-radius: 10px; width: 38px; height: 38px; align-items: center; justify-content: center; cursor: pointer; color: var(--text); }
@media (max-width: 940px) {
  .nav-links { position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 10px 16px; box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .28s ease; margin: 0; z-index: 39; }
  .nav-links.open { transform: translateY(0); }
  .nav-link { padding: 13px 12px; border-radius: 0; border-bottom: 1px solid var(--border); border-left: 3px solid transparent; }
  /* In the stacked mobile menu use a left accent bar instead of the underline. */
  .nav-link::after { display: none; }
  .nav-link.active { border-left-color: var(--brand); background: var(--soft); }
  .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
}

/* Section scaffolding */
.lp { padding: 66px 0; }
.lp:nth-of-type(even) { background: var(--soft); }
[data-theme="dark"] .lp:nth-of-type(even) { background: #0e1830; }
.lp-head { text-align: center; max-width: 700px; margin: 0 auto 42px; }
.kicker { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); background: rgba(37,99,235,.1); border: 1px solid rgba(37,99,235,.2); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.lp-head h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.025em; margin: 0 0 12px; }
.lp-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* Feature grid (what you get) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.feature-card.featured { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.12), var(--shadow); }
.feature-ic { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--accent)); display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; margin: 0 0 6px; }
.feature-card p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.55; }
.feature-flag { font-size: 13px; font-weight: 700; color: var(--accent); margin-top: 10px; display: flex; align-items: center; gap: 6px; }

/* Showcase — big A4 mockup */
.showcase-stage { display: flex; justify-content: center; perspective: 1800px; }
.doc-paper { width: min(660px, 94vw); aspect-ratio: 1 / 1.414; background: #ffffff; color: #0f172a; border-radius: 12px; box-shadow: 0 30px 70px -28px rgba(15,23,42,.5); border: 1px solid #e6e9ef; padding: clamp(22px, 4vw, 42px); overflow: hidden; position: relative; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .8s; }
/* Smooth country-switch swap */
.doc-paper.swapping { transition: opacity .18s ease, transform .18s ease; opacity: 0; transform: translateY(14px) scale(.985); }
@media (prefers-reduced-motion: reduce) { .doc-paper, .doc-paper.swapping { transition: none; } }
/* Embedded real sample PDF fills the paper edge-to-edge (no inner padding) */
.doc-paper.embed { padding: 0; background: #f4f6fb; }
.doc-embed { width: 100%; height: 100%; border: 0; display: block; background: #fff; border-radius: 12px; }
.doc-embed-load { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
/* Open/download the full sample, next to the primary CTA */
.showcase-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 4px 0 0; }

/* Country caption above the mockup (updates with the search dropdown) */
.showcase-country { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 16px; font-size: 14px; color: var(--text-muted); }
.showcase-country .sc-flag { font-size: 20px; line-height: 1; }
.showcase-country .sc-name { font-weight: 800; color: var(--text); }
.showcase-country .sc-sep { opacity: .5; }
.showcase-country .sc-src { font-weight: 600; }
.showcase-stage.in .doc-paper { animation: paperIn 1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes paperIn { from { opacity: 0; transform: translateY(40px) rotateX(8deg) scale(.96); } to { opacity: 1; transform: none; } }
.doc-pill-top { position: absolute; right: clamp(18px,3vw,34px); top: clamp(18px,3vw,34px); background: var(--accent); color: #fff; font-weight: 800; font-size: 12px; padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(22,163,74,.6); z-index: 2; }
.doc-paper.hrb .doc-pill-top { position: static; display: block; width: fit-content; margin: 0 auto 14px; }

/* HRB official document variant — replicates the real Handelsregister AD layout:
   a 3-column bordered header table + numbered register sections, plain/official. */
.doc-paper.hrb { font-family: "Helvetica Neue", Arial, sans-serif; color: #000; }
.hrb-reg { width: 100%; border-collapse: collapse; margin-bottom: 16px; table-layout: fixed; }
.hrb-reg td { border: 1px solid #000; padding: 6px 8px; vertical-align: top; font-size: clamp(9.5px,1.5vw,11.5px); line-height: 1.3; }
.hrb-reg .hrb-c1 { width: 31%; }
.hrb-reg .hrb-c2 { width: 41%; text-align: center; }
.hrb-reg .hrb-c3 { width: 28%; text-align: right; }
.hrb-reg .hrb-abruf { font-size: .92em; }
.hrb-reg .hrb-empty { height: 18px; }
.hrb-reg .hrb-page { text-align: center; font-weight: 700; }
.hrb-sections { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.hrb-sections > li { display: grid; grid-template-columns: 28px 1fr; gap: 6px; margin-bottom: 11px; font-size: clamp(9.5px,1.5vw,11.5px); line-height: 1.4; }
.hrb-sections .hrb-n { font-weight: 700; }
.hrb-sections .hrb-lbl { font-weight: 700; margin-top: 5px; }
.hrb-sections .hrb-lbl:first-child { margin-top: 0; }
.hrb-sections .hrb-val { color: #111; }
.hrb-more { margin-top: 6px; padding-top: 10px; border-top: 1px dashed #94a3b8; font-size: clamp(10px,1.6vw,12px); font-weight: 700; color: #2563eb; }

/* Branded report variant (matches src/pdf/builder.py) */
.rep-head { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #e2e8f0; padding-bottom: 14px; margin-bottom: 16px; font-weight: 800; font-size: 17px; }
.rep-head .b { color: #2563eb; } .rep-head .a { color: #16a34a; }
.rep-company { font-size: clamp(18px,3vw,24px); font-weight: 800; letter-spacing: -.01em; margin: 6px 0 2px; }
.rep-meta { font-size: 12px; color: #64748b; margin-bottom: 18px; }
.rep-section { font-size: 12px; font-weight: 800; color: #2563eb; text-transform: uppercase; letter-spacing: .05em; margin: 18px 0 8px; }
.rep-rows { display: grid; grid-template-columns: minmax(0, 42%) 1fr; align-items: start; gap: 9px 14px; font-size: clamp(12px,1.8vw,13.5px); }
.rep-rows .rk { color: #64748b; min-width: 0; overflow-wrap: anywhere; hyphens: auto; line-height: 1.3; }
.rep-rows .rv { color: #0f172a; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.rep-foot { position: absolute; left: clamp(22px,4vw,42px); right: clamp(22px,4vw,42px); bottom: clamp(18px,3vw,30px); border-top: 1px solid #e2e8f0; padding-top: 8px; font-size: 9.5px; color: #94a3b8; display: flex; justify-content: space-between; }
.doc-watermark2 { position: absolute; bottom: clamp(42px,7vw,70px); right: clamp(22px,4vw,42px); font-size: 10.5px; color: #94a3b8; font-weight: 600; }

.showcase-cta { text-align: center; margin-top: 28px; }
.showcase-price { font-size: 17px; color: var(--muted); margin-bottom: 14px; }
.showcase-price strong { color: var(--text); font-size: 22px; font-weight: 800; }
.showcase-note { color: var(--muted); font-size: 12px; margin-top: 14px; }

/* German courts marquee */
.courts-strip { margin-top: 34px; text-align: center; }
.courts-title { font-size: 13.5px; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.courts-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.courts-track { display: inline-flex; gap: 10px; white-space: nowrap; animation: marquee 42s linear infinite; }
.courts-track:hover { animation-play-state: paused; }
.court-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px 7px 11px; font-size: 13px; font-weight: 600; color: var(--text); }
.court-chip .ct-seal { width: 18px; height: 18px; flex: 0 0 auto; color: var(--brand); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Coverage grid */
.coverage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .coverage-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .coverage-grid { grid-template-columns: 1fr 1fr; } }
.cov-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); position: relative; }
.cov-price {
  position: absolute; top: 16px; right: 16px;
  font-size: 13px; font-weight: 800; color: var(--brand);
  background: rgba(37,99,235,.10); border: 1px solid rgba(37,99,235,.20);
  border-radius: 999px; padding: 4px 11px;
}
.cov-card.featured { grid-column: span 2; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.12), var(--shadow); }
@media (max-width: 640px) { .cov-card.featured { grid-column: span 2; } }
.cov-flag { font-size: 26px; } .cov-name { font-weight: 800; font-size: 15px; margin: 8px 0 4px; }
.cov-tier { margin: 2px 0 6px; }
.cov-src { font-size: 12px; color: var(--muted); }
/* Inactive = not currently orderable (self-test not yet green, or a transient
   outage). Mirror the combobox disabled-row treatment: dimmed + desaturated, but
   still showing the tier pill + price so the breadth/price stays legible. */
.cov-card.inactive { opacity: .55; box-shadow: none; background: var(--soft); border-style: dashed; }
.cov-card.inactive .cov-tier { filter: grayscale(1); opacity: .9; }
.cov-card.inactive .cov-price { color: var(--muted); background: var(--soft); border-color: var(--border); }
.cov-unavail {
  display: inline-block; margin: 8px 0 0; font-size: 11px; font-weight: 700;
  letter-spacing: .02em; color: var(--muted);
  background: var(--soft); border: 1px solid var(--border);
  border-radius: 999px; padding: 2px 9px;
}
.cov-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cov-tag { font-size: 11px; font-weight: 600; color: var(--accent); background: rgba(22,163,74,.1); border-radius: 6px; padding: 3px 8px; }
.cov-pdf { font-size: 11.5px; font-weight: 700; color: var(--brand); margin-top: 10px; }

/* Why grid */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }
.why-card { display: flex; gap: 14px; align-items: flex-start; }
.why-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--soft); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--brand); flex: 0 0 auto; }
.why-card h3 { font-size: 16px; margin: 2px 0 4px; } .why-card p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 700px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card { text-align: center; }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; font-weight: 800; font-size: 22px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; box-shadow: var(--shadow); }
.step-card h3 { font-size: 17px; margin: 0 0 6px; } .step-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* Pricing */
.pricing-card { max-width: 460px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); padding: 32px; text-align: center; }
.pricing-price { font-size: 52px; font-weight: 800; letter-spacing: -.03em; } .pricing-price small { font-size: 15px; color: var(--muted); font-weight: 600; }
.pricing-list { list-style: none; padding: 0; margin: 22px 0; text-align: left; display: flex; flex-direction: column; gap: 11px; }
.pricing-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.pricing-list li::before { content: "✓"; color: var(--accent); font-weight: 800; flex: 0 0 auto; }
.pricing-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* ── Tier pills (Premium = gold, Basic = brand blue) ───────────────────────── */
.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; }
.tier-pill {
  display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto;
  font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  line-height: 1; padding: 4px 9px; border-radius: 999px; white-space: nowrap;
  border: 1px solid transparent;
}
.tier-pill .tp-ic { font-size: 9px; line-height: 1; }
.tier-basic { color: var(--brand); background: rgba(37,99,235,.10); border-color: rgba(37,99,235,.22); }
[data-theme="dark"] .tier-basic { background: rgba(59,130,246,.16); border-color: rgba(59,130,246,.32); }
.tier-premium {
  position: relative; overflow: hidden; color: #6b531a;
  background: linear-gradient(135deg, #fbf3d3, #f3e1a0 48%, #e9cf78);
  border-color: rgba(176,138,30,.55);
  box-shadow: 0 1px 2px rgba(176,138,30,.22), inset 0 1px 0 rgba(255,255,255,.55);
}
[data-theme="dark"] .tier-premium {
  color: #1b1407;
  background: linear-gradient(135deg, #f0dd9a, #dcc06a 48%, #c2a23f);
  border-color: rgba(220,192,106,.55);
}
/* slow luxury shine sweep across the gold pill */
.tier-premium::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.7) 50%, transparent 70%);
  background-size: 260% 100%; background-position: 200% 0;
  animation: tierShine 4s ease-in-out infinite;
}
@keyframes tierShine { 0%, 55% { background-position: 200% 0; } 100% { background-position: -140% 0; } }

/* ── Custom country combobox (replaces native <select> for animated pills) ──── */
.country-combo { position: relative; }
.country-combo .combo-btn {
  width: 100%; height: 52px; box-sizing: border-box;
  border: 1px solid var(--border); border-radius: 12px; padding: 0 38px 0 14px;
  background: var(--surface); color: var(--text); font-family: inherit; font-size: 15px;
  display: flex; align-items: center; gap: 9px; cursor: pointer; text-align: left;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  transition: border-color .15s, box-shadow .15s;
}
[data-theme="dark"] .country-combo .combo-btn { background-color: var(--soft); }
.country-combo .combo-btn:focus-visible,
.country-combo.open .combo-btn { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.combo-btn .combo-flag { font-size: 19px; flex: 0 0 auto; }
.combo-btn .combo-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.combo-btn .combo-tier { flex: 0 0 auto; margin-left: 6px; }
.combo-pop {
  position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; right: auto;
  min-width: 300px; max-width: min(420px, 92vw);
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px; max-height: 332px; display: flex; flex-direction: column;
  opacity: 0; transform: translateY(-6px) scale(.99); pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}
@media (max-width: 620px) { .combo-pop { min-width: 0; left: 0; right: 0; max-width: none; } }
.country-combo.open .combo-pop { opacity: 1; transform: none; pointer-events: auto; }
.combo-search {
  width: 100%; box-sizing: border-box; border: 1px solid var(--border); border-radius: 10px;
  padding: 9px 12px; font-size: 14px; font-family: inherit; color: var(--text);
  background: var(--soft); margin-bottom: 6px;
}
.combo-search:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.13); }
.combo-list { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.combo-group {
  font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); padding: 9px 10px 4px;
}
.combo-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px;
  cursor: pointer; font-size: 14.5px; color: var(--text);
}
.combo-row:hover, .combo-row.active { background: var(--soft); }
.combo-row[aria-disabled="true"] { opacity: .42; cursor: not-allowed; }
.combo-row .combo-flag { font-size: 19px; flex: 0 0 auto; }
.combo-row .combo-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.combo-row .tier-pill { margin-left: auto; }
.combo-empty { padding: 16px 10px; text-align: center; color: var(--muted); font-size: 13.5px; }
/* staggered entrance for the rows when the popover opens */
.country-combo.open .combo-row { animation: comboRowIn .26s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--d, 0) * 22ms); }
@keyframes comboRowIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* ── Two-tier pricing (Basic vs Premium) ──────────────────────────────────── */
.pricing-tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 880px; margin: 0 auto; align-items: stretch; }
@media (max-width: 680px) { .pricing-tiers { grid-template-columns: 1fr; max-width: 460px; } }
.tier-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; box-shadow: var(--shadow); padding: 28px 26px;
  display: flex; flex-direction: column; text-align: left;
}
.tier-card.featured { border-color: rgba(176,138,30,.5); box-shadow: 0 0 0 3px var(--gold-soft), var(--shadow); }
.tier-card.featured::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  border-radius: 20px 20px 0 0; background: linear-gradient(90deg, #f3e1a0, #e9cf78, #c9a227);
}
.tier-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tier-card-name { font-size: 13px; font-weight: 800; letter-spacing: .02em; color: var(--text); }
.tier-card .price { font-size: 42px; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 0; }
.tier-card .price small { font-size: 13.5px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.tier-source { font-size: 12.5px; color: var(--muted); margin: 10px 0 16px; display: flex; gap: 8px; align-items: flex-start; line-height: 1.5; }
.tier-source b { color: var(--text); font-weight: 700; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-top: 5px; flex: 0 0 auto; box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: livePulse 2.1s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.5); } 70% { box-shadow: 0 0 0 6px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
.tier-feats { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.tier-feats li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; }
.tier-feats li::before { content: "✓"; color: var(--accent); font-weight: 800; flex: 0 0 auto; }
.tier-card.featured .tier-feats li::before { content: "✦"; color: var(--gold); }
.tier-card .btn { margin-top: auto; }
.tier-foot { font-size: 12px; color: var(--muted); text-align: center; margin: 18px auto 0; max-width: 560px; }

@media (prefers-reduced-motion: reduce) {
  .tier-premium::after, .live-dot, .country-combo.open .combo-row { animation: none; }
  .country-combo.open .combo-row { opacity: 1; transform: none; }
  .combo-pop { transition: none; }
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; cursor: pointer; font-weight: 700; font-size: 16px; }
.faq-q .faq-x { color: var(--brand); transition: transform .25s; flex: 0 0 auto; font-size: 22px; line-height: 1; }
.faq-item.open .faq-x { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a-inner { padding: 0 4px 20px; }

/* Contact */
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 28px; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row2 { grid-template-columns: 1fr; } }
textarea.input { resize: vertical; min-height: 110px; font-family: inherit; }
.contact-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.contact-actions .btn, .contact-actions .turnstile-wrap { flex: 0 0 auto; }
.contact-card.sent { text-align: center; }

/* Dark dolos-style footer (always dark) */
.footer { background: #0a1020; color: #c7d2e1; border-top: none; padding: 56px 0 28px; margin-top: 0; }
.footer .brand { color: #f1f5f9; }
.footer-top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid #1e293b; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; gap: 28px; } }
.footer-tag { color: #94a3b8; font-size: 14px; max-width: 320px; margin-bottom: 18px; }
.footer-company { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #94a3b8; }
.footer-company strong { color: #cbd5e1; }
.footer-company a { color: #93c5fd; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 720px) { .footer-cols { grid-template-columns: 1fr 1fr; gap: 22px; } }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #64748b; margin: 0 0 14px; }
.footer-col a, .footer-col .admin-btn { display: block; color: #c7d2e1; font-size: 13.5px; padding: 5px 0; background: none; border: none; cursor: pointer; text-align: left; font-family: inherit; }
.footer-col a:hover, .footer-col .admin-btn:hover { color: #fff; text-decoration: none; }
/* Even, symmetric language grid — two equal columns that stay aligned at every
   width (no ragged inline wrapping / orphaned separators). */
.footer-langs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
.footer-lang { font-size: 13px; color: #94a3b8; background: none; border: none; padding: 3px 0; cursor: pointer; font-family: inherit; text-align: left; transition: color .15s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.footer-lang:hover { color: #fff; }
.footer-lang.active { color: #fff; font-weight: 600; }
@media (max-width: 380px) { .footer-langs { grid-template-columns: 1fr; } }
.footer-badges { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.fbadge { font-size: 12.5px; color: #94a3b8; }
/* E2EE footer lock */
.enc-lock { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; padding: 0; cursor: pointer; color: #94a3b8; font: inherit; font-size: 12.5px; }
.enc-lock:hover { color: #fff; }
.enc-lock-dot { width: 8px; height: 8px; border-radius: 50%; background: #475569; box-shadow: 0 0 0 0 rgba(34,197,94,0); transition: background .2s, box-shadow .2s; }
.enc-lock-dot.on { background: #22c55e; box-shadow: 0 0 8px 1px rgba(34,197,94,.55); }
.enc-lock-dot.off { background: #f59e0b; }
.enc-dialog { max-width: 460px; }
/* animated E2EE status rows */
.enc-rows { margin: 16px 0 6px; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.enc-row { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 12px; font-size: 13px;
  background: linear-gradient(180deg, rgba(99,140,255,.07), rgba(99,140,255,.02));
  border: 1px solid rgba(99,140,255,.14); }
.enc-row-copy { cursor: pointer; transition: border-color .15s, background .15s; }
.enc-row-copy:hover { border-color: rgba(99,140,255,.4); background: linear-gradient(180deg, rgba(99,140,255,.12), rgba(99,140,255,.04)); }
.enc-ic { width: 22px; flex: none; text-align: center; font-size: 15px; line-height: 1; filter: drop-shadow(0 0 6px rgba(79,140,255,.45)); }
.enc-row-k { color: #9fb2d6; flex: none; min-width: 100px; }
.enc-row-v { color: #eaf0ff; font-weight: 600; margin-left: auto; text-align: right; word-break: break-word; }
.enc-ttl { display: block; font-size: 10.5px; font-weight: 500; color: #7c8db3; margin-top: 1px; }
.enc-pulse-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #475569; }
.enc-on .enc-pulse-dot { background: #22c55e; animation: encPulse 1.8s ease-out infinite; }
.enc-mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 500; word-break: break-word; }
.enc-shimmer { background: linear-gradient(100deg, #eaf0ff 30%, #79b0ff 50%, #eaf0ff 70%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: encShimmer 5s linear infinite; }
.enc-copy-hint { flex: none; font-size: 10.5px; color: #22c55e; font-weight: 600; opacity: 0; transition: opacity .2s; }
.enc-copy-hint.show { opacity: 1; }
.enc-animate .enc-row { opacity: 0; transform: translateY(8px); animation: encRowIn .42s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--d,0) * 70ms + 130ms); }
@keyframes encRowIn { to { opacity: 1; transform: none; } }
@keyframes encPulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 100% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } }
@keyframes encShimmer { to { background-position: 200% 0; } }
@media (prefers-reduced-motion: reduce) {
  .enc-animate .enc-row { animation: none; opacity: 1; transform: none; }
  .enc-shimmer { animation: none; -webkit-text-fill-color: #eaf0ff; }
  .enc-on .enc-pulse-dot { animation: none; }
}
.enc-note { margin-top: 10px; font-size: 11.5px; color: #64748b; line-height: 1.5; text-align: left; }
/* error pages (expired link / 404) */
.error-panel { text-align: center; padding: 46px 30px 40px; }
.error-glyph { position: relative; width: 86px; height: 86px; margin: 0 auto 18px; display: grid; place-items: center; font-size: 38px;
  border-radius: 50%; background: radial-gradient(circle at 50% 38%, rgba(37,99,235,.18), rgba(37,99,235,.04)); animation: paperIn .5s ease both; }
.error-glyph-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: #2563eb; border-right-color: #22c55e; animation: spin 3.2s linear infinite; box-shadow: 0 0 22px -8px rgba(37,99,235,.7); }
.error-code { font-size: 13px; font-weight: 800; letter-spacing: .24em; color: #2563eb; margin-bottom: 4px; }
.error-panel h2 { margin: 0 0 10px; }
.error-line { max-width: 31rem; margin: 0 auto 22px; min-height: 3em; }
.error-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { .error-glyph-ring, .error-glyph { animation: none; } }
.footer-bottom { margin-top: 24px; color: #64748b; font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

.hero-secondary { margin-top: 18px; }

/* ── cookie / consent banner ── */
.cmi-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: var(--surface); border-top: 1px solid var(--border);
  box-shadow: 0 -18px 40px -24px rgba(15,23,42,.45);
  animation: cmiSlideUp .35s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes cmiSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cmi-consent-inner {
  max-width: 1080px; margin: 0 auto; padding: 16px 20px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.cmi-consent-main { flex: 1 1 420px; min-width: 280px; }
.cmi-consent-title { font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.cmi-consent-text { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }
.cmi-consent-text a { color: var(--brand); }
.cmi-consent-actions { display: flex; gap: 8px; flex: 0 0 auto; flex-wrap: wrap; }
.btn.cmi-sm { padding: 9px 16px; font-size: 13.5px; }
.cmi-consent-manage { margin-top: 12px; border-top: 1px solid var(--border); padding-top: 12px; }
.cmi-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.cmi-cat-on { font-size: 11.5px; font-weight: 700; color: var(--accent); background: rgba(22,163,74,.1); border-radius: 999px; padding: 2px 9px; }
.cmi-cat p { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; line-height: 1.5; }
@media (max-width: 620px) { .cmi-consent-actions { width: 100%; } .btn.cmi-sm { flex: 1 1 auto; } }

/* Delivery refund/failed-docs notice */
.notice-amber { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
[data-theme="dark"] .notice-amber { background: #2a2410; border-color: #4d4216; color: #fcd34d; }

/* ── Admin access — futuristic dialog ──────────────────────────── */
.admin-modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: radial-gradient(120% 120% at 50% 0%, rgba(37,99,235,.18), rgba(2,6,23,.72)); backdrop-filter: blur(8px);
  animation: admFade .25s ease; }
.admin-modal.hidden { display: none; }
@keyframes admFade { from { opacity: 0 } to { opacity: 1 } }
.admin-dialog {
  position: relative; width: 100%; max-width: 400px; padding: 34px 30px 28px; text-align: center;
  border-radius: 22px; color: #e8eefc;
  background: linear-gradient(180deg, rgba(17,26,46,.96), rgba(10,16,32,.98));
  border: 1px solid rgba(99,140,255,.28);
  box-shadow: 0 30px 80px -24px rgba(2,6,23,.85), 0 0 0 1px rgba(99,140,255,.10) inset, 0 0 60px -20px rgba(56,120,255,.55);
  animation: admPop .42s cubic-bezier(.2,.8,.2,1); overflow: hidden;
}
@keyframes admPop { from { transform: translateY(14px) scale(.96); opacity: 0 } to { transform: none; opacity: 1 } }
.admin-glow { position: absolute; inset: -2px; border-radius: 22px; pointer-events: none;
  background: conic-gradient(from 0deg, transparent, rgba(56,120,255,.55), transparent 30%, transparent, rgba(34,197,94,.4), transparent 70%);
  opacity: .5; animation: admSpin 7s linear infinite; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px; }
@keyframes admSpin { to { transform: rotate(360deg) } }
.admin-close { position: absolute; top: 12px; right: 14px; background: transparent; border: none; color: #8da2c9; font-size: 26px; line-height: 1; cursor: pointer; z-index: 2; }
.admin-close:hover { color: #e8eefc; }
.admin-orb { position: relative; width: 72px; height: 72px; margin: 4px auto 14px; display: grid; place-items: center; }
.admin-orb-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent;
  border-top-color: #4f8cff; border-right-color: #22c55e; animation: admSpin 2.4s linear infinite;
  box-shadow: 0 0 24px -6px rgba(79,140,255,.8); }
.admin-orb-core { font-size: 30px; filter: drop-shadow(0 0 10px rgba(79,140,255,.6)); animation: admPulse 2.6s ease-in-out infinite; }
@keyframes admPulse { 0%,100% { transform: scale(1); opacity: .92 } 50% { transform: scale(1.08); opacity: 1 } }
.admin-title { margin: 0 0 4px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: #f3f7ff; }
.admin-desc { margin: 0 0 18px; font-size: 13.5px; line-height: 1.55; color: #9fb2d6; min-height: 38px; }
.admin-steps { display: flex; gap: 6px; margin: 0 0 20px; }
.admin-steps i { flex: 1; height: 3px; border-radius: 3px; background: rgba(99,140,255,.18); transition: background .3s ease; }
.admin-steps i.on { background: linear-gradient(90deg, #4f8cff, #22c55e); box-shadow: 0 0 10px -2px rgba(79,140,255,.8); }
.admin-step { animation: admFade .25s ease; }
.admin-input { width: 100%; padding: 13px 15px; margin: 0 0 12px; font-size: 15px; font-family: inherit; color: #f3f7ff;
  background: rgba(8,13,26,.7); border: 1px solid rgba(99,140,255,.25); border-radius: 13px; outline: none; transition: border-color .2s, box-shadow .2s; }
.admin-input::placeholder { color: #5e719a; }
.admin-input:focus { border-color: #4f8cff; box-shadow: 0 0 0 3px rgba(79,140,255,.22); }
.admin-code { text-align: center; letter-spacing: 10px; font-size: 22px; font-weight: 700; }
.admin-cta { width: 100%; padding: 13px; border: none; border-radius: 13px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; color: #fff;
  background: linear-gradient(135deg, #2563eb, #4f8cff); box-shadow: 0 10px 26px -10px rgba(56,120,255,.8); transition: transform .12s ease, box-shadow .2s, opacity .2s; }
.admin-cta:hover { box-shadow: 0 14px 32px -10px rgba(56,120,255,.95); transform: translateY(-1px); }
.admin-cta:active { transform: translateY(0); }
.admin-cta:disabled { opacity: .6; cursor: default; transform: none; }
.admin-link { display: inline-block; margin-top: 13px; color: #7ea6ff; font-size: 13px; text-decoration: none; }
.admin-link:hover { color: #a9c4ff; text-decoration: underline; }
.admin-err { color: #fb7185; font-size: 13px; min-height: 18px; margin-top: 12px; text-align: center; }

/* Admin "Simulation" mode banner (only shown when /?simulate=1) */
#simBanner { position: sticky; top: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; gap: 10px; background: #b45309; color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .2px; padding: 9px 16px; text-align: center; box-shadow: 0 1px 6px rgba(0,0,0,.18); }
#simBanner .sim-dot { width: 9px; height: 9px; border-radius: 50%; background: #fde68a; flex: 0 0 auto; animation: simPulse 1.6s ease-in-out infinite; }
@keyframes simPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ════════════════════════════════════════════════════════════════════════════
   "Live by design" flow — data is fetched live, never stored (landing section)
   ════════════════════════════════════════════════════════════════════════════ */
.lp-live { position: relative; overflow: hidden; }
.lp-live::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 0%, rgba(37,99,235,.07), transparent 70%); }
.lf-sub { max-width: 680px; margin: 12px auto 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; text-align: center; }
.live-flow { margin-top: 40px; }

.lf-stage { display: flex; align-items: stretch; justify-content: center; gap: 6px; }
.lf-node { flex: 0 0 auto; width: 196px; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 20px 16px; text-align: center; position: relative;
  border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.lf-engine { border-color: color-mix(in srgb, var(--brand) 45%, var(--border));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 18%, transparent), 0 22px 55px -26px rgba(37,99,235,.55); }
.lf-orb { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(37,99,235,.14), rgba(22,163,74,.12)); border: 1px solid var(--border); }
.lf-orb svg { width: 26px; height: 26px; stroke: var(--brand); }
.lf-orb-core { background: linear-gradient(135deg, var(--brand), var(--accent)); border-color: transparent;
  animation: lfPulse 2.6s ease-in-out infinite; }
.lf-orb-core svg { stroke: #fff; }
@keyframes lfPulse { 0%,100% { box-shadow: 0 0 22px -6px var(--brand); } 50% { box-shadow: 0 0 42px 2px var(--brand); } }
.lf-label { font-weight: 800; font-size: 15px; color: var(--text); letter-spacing: -.01em; }
.lf-sublabel { font-size: 12px; color: var(--muted); }
.lf-live { position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 800; letter-spacing: .08em;
  color: #fff; background: var(--accent); border-radius: 999px; padding: 3px 10px; box-shadow: 0 4px 14px -4px var(--accent); }
.lf-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: lfBlink 1.3s ease-in-out infinite; }
@keyframes lfBlink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.lf-nostore { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 11px; font-weight: 800;
  color: var(--accent); background: rgba(22,163,74,.1); border: 1px solid rgba(22,163,74,.3); border-radius: 999px; padding: 3px 9px; }
.lf-nostore svg { width: 13px; height: 13px; stroke: var(--accent); }

/* rails with flowing particles: blue forward (query), green back (live data) */
.lf-rail { flex: 1 1 64px; min-width: 54px; align-self: center; position: relative; height: 24px; }
.lf-rail::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent); }
.lf-flow { position: absolute; left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%); border-radius: 2px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brand) 55%, transparent), transparent);
  background-size: 38% 100%; background-repeat: no-repeat; animation: lfSheen 2.3s linear infinite; }
@keyframes lfSheen { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.lf-p { position: absolute; width: 8px; height: 8px; border-radius: 50%; transform: translate(-50%,-50%); opacity: 0; }
.lf-p.f { top: 34%; background: var(--brand); box-shadow: 0 0 10px 1px color-mix(in srgb, var(--brand) 80%, transparent);
  animation: lfFwd 2.4s linear infinite; }
.lf-p.b { top: 66%; background: var(--accent); box-shadow: 0 0 10px 1px color-mix(in srgb, var(--accent) 80%, transparent);
  animation: lfBack 2.4s linear infinite; }
@keyframes lfFwd { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes lfBack { 0% { left: 100%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 0; opacity: 0; } }
.lf-p.f:nth-of-type(2) { animation-delay: .6s; } .lf-p.f:nth-of-type(3) { animation-delay: 1.2s; } .lf-p.f:nth-of-type(4) { animation-delay: 1.8s; }
.lf-p.b:nth-of-type(6) { animation-delay: .9s; } .lf-p.b:nth-of-type(7) { animation-delay: 1.7s; }

/* supporting points */
.lf-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.lf-point { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px;
  border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.lf-pi { font-size: 22px; line-height: 1; flex: 0 0 auto; }
.lf-point b { display: block; font-size: 14.5px; color: var(--text); margin-bottom: 3px; }
.lf-point span { font-size: 13px; color: var(--muted); line-height: 1.6; }

@media (max-width: 880px) { .lf-points { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .lf-stage { flex-direction: column; gap: 0; align-items: center; }
  .lf-node { width: min(300px, 100%); }
  .lf-rail { width: 24px; height: 46px; flex: 0 0 auto; }
  .lf-rail::before { left: 50%; top: 0; bottom: 0; right: auto; width: 2px; height: auto; transform: translateX(-50%); }
  .lf-flow { display: none; }
  .lf-p.f { left: 38%; top: 0; animation-name: lfFwdV; }
  .lf-p.b { left: 62%; top: auto; animation-name: lfBackV; }
}
@keyframes lfFwdV { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes lfBackV { 0% { top: 100%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 0; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .lf-p { display: none; } .lf-flow, .lf-orb-core, .lf-live-dot { animation: none; }
}

/* tier "when it applies" callout on the pricing cards */
.tier-when { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 2px 0 12px; padding: 8px 11px;
  border-radius: 10px; border: 1px dashed var(--border); background: var(--soft);
  display: flex; gap: 7px; align-items: flex-start; }
.tier-when::before { font-size: 13px; line-height: 1.3; flex: 0 0 auto; }
.tier-when-premium { color: #8a6d1a; border-color: rgba(217,119,6,.35); background: rgba(245,158,11,.07); }
.tier-when-premium::before { content: "✦"; color: #d97706; }
[data-theme="dark"] .tier-when-premium { color: #fcd34d; }
.tier-when-basic::before { content: "🌐"; }

/* Collapsible country coverage — first row visible, "Show all" expands. Keeps the
   pricing tiers an easy scroll away; the fade + glowing toggle read futuristic. */
.cov-collapse { position: relative; overflow: hidden; max-height: 250px;
  transition: max-height .65s cubic-bezier(.22, .8, .2, 1); }
.cov-collapse.open { max-height: 9000px; }
.cov-collapse:not(.open)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 130px;
  pointer-events: none; background: linear-gradient(to bottom, transparent, var(--bg) 88%); }
@media (max-width: 640px) { .cov-collapse { max-height: 300px; } }
.cov-more { display: flex; justify-content: center; margin-top: 18px; }
.cov-toggle { display: inline-flex; align-items: center; gap: 9px; font: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer; color: var(--brand); padding: 11px 22px; border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand) 36%, transparent);
  box-shadow: 0 6px 22px -12px color-mix(in srgb, var(--brand) 80%, transparent);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.cov-toggle:hover { transform: translateY(-1px);
  background: color-mix(in srgb, var(--brand) 15%, var(--surface));
  box-shadow: 0 12px 28px -12px color-mix(in srgb, var(--brand) 80%, transparent); }
.cov-chev { width: 16px; height: 16px; transition: transform .3s ease; }
.cov-toggle.open .cov-chev { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .cov-collapse { transition: none; } .cov-chev { transition: none; } }

/* Footer register-status strip: collapse to the first row, "Show all" expands —
   same pattern as the coverage collapse, styled for the dark footer slab. */
.fs-collapse { position: relative; overflow: hidden; max-height: 46px;
  transition: max-height .55s cubic-bezier(.22, .8, .2, 1); }
.fs-collapse.open { max-height: 1400px; }
.fs-collapse:not(.open)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px;
  pointer-events: none; background: linear-gradient(to bottom, transparent, #0a1020); }
.fs-more { display: flex; justify-content: flex-start; margin-top: 12px; }
.fs-toggle { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 12.5px; font-weight: 700;
  cursor: pointer; color: #c7d2e1; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px; padding: 7px 15px; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.fs-toggle:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.32); color: #fff; }
.fs-toggle .cov-chev { width: 14px; height: 14px; transition: transform .3s ease; }
.fs-toggle.open .cov-chev { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .fs-collapse, .fs-toggle .cov-chev { transition: none; } }

/* Homepage footer: crawlable "registers by country" link block (SEO internal links) */
.footer-countries { border-top: 1px solid rgba(255,255,255,.08); margin-top: 22px; padding-top: 20px; }
.footer-countries h4 { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 12px; }
.fc-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.fc-links a { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.fc-links a:hover { color: var(--brand); text-decoration: none; }

/* Order page: the "some documents take longer" hint sits BELOW the document cards
   as its own info box — overriding the shared .progress-hint negative top margin
   that previously pulled it up into / overlapping the cards. */
.task-dochint {
  margin: 16px 0 0; min-height: 0; line-height: 1.5; font-size: 13px;
  background: var(--soft); border: 1px solid var(--border); border-radius: 10px; padding: 10px 13px;
}
/* Progress bar: a sweeping shimmer over the filled portion while work is ongoing,
   so it visibly "works" even between discrete progress steps. */
#progressBar { position: relative; overflow: hidden; }
#progressBar.working::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translateX(-100%); animation: barShimmer 1.3s ease-in-out infinite;
}
@keyframes barShimmer { to { transform: translateX(100%); } }

/* Footer social icons (LinkedIn / X / Crunchbase) — dark footer */
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid #243049; border-radius: 9px; color: #94a3b8; font-weight: 800; font-size: 13px; letter-spacing: .01em; }
.footer-social a:hover { color: #fff; border-color: #2563eb; background: rgba(37,99,235,.14); text-decoration: none; }
.footer-social svg { width: 17px; height: 17px; }

/* Footer: link to the public status page (replaces the old expandable status strip) */
.footer-statuslink { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 14px 18px;
  border: 1px solid #243049; border-radius: 14px; background: rgba(255,255,255,.02); transition: border-color .15s, background .15s; }
.footer-statuslink:hover { border-color: #2563eb; background: rgba(37,99,235,.08); text-decoration: none; }
.footer-statuslink .fsl-dot { width: 11px; height: 11px; border-radius: 50%; background: #16a34a; flex: none; position: relative; }
.footer-statuslink .fsl-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; background: #16a34a;
  opacity: .5; animation: stPulse 2s ease-out infinite; }
@keyframes stPulse { 0% { transform: scale(.5); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
.footer-statuslink .fsl-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.footer-statuslink .fsl-body strong { color: #f1f5f9; font-size: 14px; }
.footer-statuslink .fsl-sub { color: #94a3b8; font-size: 12.5px; }
.footer-statuslink .fsl-go { margin-left: auto; color: #94a3b8; font-size: 18px; transition: transform .15s; }
.footer-statuslink:hover .fsl-go { transform: translateX(3px); color: #2563eb; }

/* ══════════════════════════════════════════════════════════════════
   SaasHunt award badge (all pages) + exit-intent discount popup
   ══════════════════════════════════════════════════════════════════ */

/* ── Award badge: subtle, bottom-right, tracks theme via [data-theme] ── */
.saashunt-badge {
  position: fixed; right: 18px; bottom: 18px; z-index: 500;
  display: block; line-height: 0; border-radius: 8px;
  opacity: .82; transition: opacity .2s ease, transform .2s ease, filter .2s ease;
  animation: sshBadgeIn .6s cubic-bezier(.2,.7,.2,1) .8s both;
}
.saashunt-badge:hover { opacity: 1; transform: translateY(-2px); filter: drop-shadow(0 10px 24px rgba(15,23,42,.22)); }
.saashunt-badge:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; opacity: 1; }
.saashunt-badge img { width: 195px; height: auto; display: block; }
.saashunt-badge .ssh-dark { display: none; }
[data-theme="dark"] .saashunt-badge .ssh-light { display: none; }
[data-theme="dark"] .saashunt-badge .ssh-dark { display: block; }
@keyframes sshBadgeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: .82; transform: translateY(0); } }
/* Lift above the cookie banner while it's on screen (first visit only). */
#cmiConsent ~ .saashunt-badge { bottom: 92px; }
/* Compact + out of the thumb zone on small screens. */
@media (max-width: 560px) {
  .saashunt-badge { right: 12px; bottom: 12px; }
  .saashunt-badge img { width: 150px; }
  #cmiConsent ~ .saashunt-badge { bottom: 12px; opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { .saashunt-badge { animation: none; } }

/* ── Exit-intent popup: reuses .modal-overlay / .modal, above everything ── */
.ssh-promo-overlay { z-index: 1400; animation: sshFade .2s ease both; }
@keyframes sshFade { from { opacity: 0; } to { opacity: 1; } }
.modal.ssh-promo { max-width: 400px; text-align: center; padding: 52px 26px 26px;
  animation: sshPop .32s cubic-bezier(.2,.7,.2,1) both; }
@keyframes sshPop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.ssh-promo { position: relative; }
/* Brand header row: companyinfo.me lockup top-left, close button top-right.
   The wordmark is real HTML (renders in the page's Inter) — embedding logo.svg
   as an <img> clips the trailing "e" because the SVG can't see the page font. */
.ssh-logo { position: absolute; top: 15px; left: 18px; display: inline-flex; align-items: center; gap: 7px; }
.ssh-logo img { display: block; width: 20px; height: 20px; }
.ssh-wordmark { font-weight: 800; font-size: 15px; letter-spacing: -.02em; color: var(--text); line-height: 1; white-space: nowrap; }
.ssh-wordmark .b { color: #3b82f6; }
.ssh-wordmark .a { color: #22c55e; }
.ssh-promo .modal-close { float: none; position: absolute; top: 12px; right: 16px; }
.ssh-promo h3 { font-size: 21px; letter-spacing: -.01em; margin: 0 0 8px; }
.ssh-promo p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0 auto 18px; max-width: 320px; }
.ssh-codewrap { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 0 12px; }
.ssh-codelabel { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ssh-code { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 24px; font-weight: 800; letter-spacing: .12em; color: var(--text);
  background: var(--soft); border: 1px dashed var(--border); border-radius: 12px;
  padding: 12px 20px; user-select: all; }
.ssh-expires { font-size: 12.5px; color: var(--muted); margin: 0 0 14px; }
.ssh-copy { width: 100%; margin-top: 4px; }
.ssh-copy.is-copied { background: var(--accent); border-color: var(--accent); }
.ssh-dismiss { display: block; width: 100%; margin-top: 10px; background: none; border: none;
  color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; padding: 6px; }
.ssh-dismiss:hover { color: var(--text); text-decoration: underline; }
.ssh-loading { padding: 24px 0; }

/* ══════════════════════════════════════════════════════════════════
   Checkout polish: easier add-on rows, complete-bundle offer,
   finance section chrome
   ══════════════════════════════════════════════════════════════════ */

/* Bigger, friendlier add-on rows (larger tap target + accent checkbox). */
.doc-option { padding: 12px 14px; gap: 12px; border-radius: 12px; transition: border-color .15s ease, background .15s ease; }
.doc-option input[type="checkbox"] { width: 19px; height: 19px; accent-color: var(--brand); flex: none; cursor: pointer; }
.doc-option:not(.included):hover { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 5%, var(--surface)); }
.doc-option:not(.included):has(input:checked) { border-color: color-mix(in srgb, var(--brand) 55%, var(--border)); background: color-mix(in srgb, var(--brand) 7%, var(--surface)); }

/* Complete-bundle offer: one tap selects every add-on at −10%. */
.bundle-offer { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  padding: 13px 15px; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 700; font-size: 14px;
  color: var(--text); background: color-mix(in srgb, var(--brand) 8%, var(--surface));
  border: 1.5px dashed color-mix(in srgb, var(--brand) 55%, transparent);
  transition: border-color .15s ease, background .15s ease, transform .12s ease; }
.bundle-offer:hover { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 13%, var(--surface)); transform: translateY(-1px); }
.bundle-offer .bundle-ico { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  border-radius: 50%; background: var(--brand); color: #fff; font-size: 14px; flex: none; }
.bundle-offer .bundle-txt { flex: 1 1 auto; line-height: 1.35; }
.bundle-offer .bundle-save { flex: none; font-size: 13px; font-weight: 800; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent); border-radius: 999px; padding: 4px 11px; }
.bundle-offer.on { border-style: solid; border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, var(--surface)); cursor: default; transform: none; }
.bundle-offer.on .bundle-ico { background: var(--accent); }

/* Financial company information — its own professional section. */
.finance-section { margin-top: 20px; padding: 16px 18px; border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--border));
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 5%, var(--surface)), var(--surface)); }
.finance-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.finance-ico { display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 40px; height: 40px; border-radius: 11px; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent)); }
.finance-head-txt { flex: 1 1 auto; min-width: 0; }
.finance-head-txt h3 { margin: 1px 0 3px; font-size: 15.5px; letter-spacing: -.01em; color: var(--text); }
.finance-head-txt .lead { font-size: 13px; margin: 0; }
.finance-badge { flex: none; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; background: var(--soft); }
.finance-check { margin-top: 2px; font-weight: 600; }

/* Pricing: the automatic-best-price banner (system adapts price per country). */
.pricing-auto { display: flex; align-items: flex-start; gap: 14px; max-width: 720px;
  margin: 0 auto 30px; padding: 16px 20px; border-radius: 16px;
  background: color-mix(in srgb, var(--brand) 6%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--border)); }
.pricing-auto .pa-ico { display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 38px; height: 38px; border-radius: 10px; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent)); }
.pricing-auto .pa-txt strong { display: block; font-size: 15px; letter-spacing: -.01em;
  color: var(--text); margin-bottom: 4px; }
.pricing-auto .pa-txt p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
@media (max-width: 560px) { .pricing-auto { padding: 14px 15px; gap: 11px; } }

/* Branded-report mock: PDF-parity layout. Officers use the same two-column
   kv grid as the details section (role → bold name + muted detail line), and
   the paper reserves its bottom zone so flowing content can never slide under
   the specimen stamp or the footer. */
.doc-paper.report { padding-bottom: clamp(84px, 13vw, 118px); }
.doc-paper.report .rep-rows { row-gap: 4px; }
.doc-paper.report .rep-rows .rk { font-size: 10.5px; }
.doc-paper.report .rep-rows .rv { font-size: 11.5px; line-height: 1.4; }
.rep-rows .rv .rp-extra { display: block; font-weight: 400; font-size: 10.5px;
  color: #64748b; line-height: 1.45; margin-top: 1px; }
.doc-paper.report .doc-watermark2 { background: #fff; padding: 3px 10px; border-radius: 7px;
  border: 1px solid #dbe3ee; transform: rotate(-2deg); box-shadow: 0 2px 8px rgba(15,23,42,.08); }
