/* EUFAKT — Flagship European E-Invoicing Compliance Index (2026–2030)
 * Institutional fintech aesthetic · Zero frameworks · Instant load
 */
:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-alt: #eef2f7;
  --navy: #0b1220;
  --navy-2: #111c33;
  --navy-border: rgba(148, 163, 184, 0.22);
  --ink: #0f172a;
  --ink-muted: #475569;
  --ink-subtle: #5b6779;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-soft: #eff6ff;
  --gold: #d97706;
  --success: #047857;
  --success-soft: #ecfdf5;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 20px 45px rgba(11, 18, 32, 0.18);
  --max-w: 1200px;
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 22px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 18, 32, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navy-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  flex-wrap: wrap;
  padding: 8px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  position: relative;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}
.brand-mark::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  position: absolute;
  top: 4px;
  right: 4px;
  box-shadow: 0 0 0 2px #1d4ed8;
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.25);
  padding: 2px 8px;
  border-radius: 999px;
}

.country-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.country-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 600;
  color: #cbd5e1;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}
.country-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
}
.country-pill.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #60a5fa;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
}
.country-pill.vendor-cta {
  color: #fde68a;
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
}
.country-pill.vendor-cta:hover {
  background: rgba(251, 191, 36, 0.18);
  color: #fef3c7;
}

/* Dark Flagship Hero */
.hero-band {
  background:
    radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.22), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.12), transparent 40%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #f8fafc;
  border-bottom: 1px solid var(--navy-border);
  position: relative;
}
.hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-band > .container { position: relative; z-index: 1; }

.breadcrumbs {
  font-size: 0.82rem;
  color: #94a3b8;
  padding: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumbs a { color: #cbd5e1; }
.breadcrumbs.light { color: var(--ink-subtle); }
.breadcrumbs.light a { color: var(--ink-muted); }

.hero { padding: 34px 0 42px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.32fr 0.88fr;
  gap: 30px;
  align-items: start;
}
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(96, 165, 250, 0.35);
  margin-bottom: 16px;
}
.eyebrow.live {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  border-color: rgba(52, 211, 153, 0.35);
}
.eyebrow.urgent {
  background: rgba(245, 158, 11, 0.16);
  color: #fcd34d;
  border-color: rgba(251, 191, 36, 0.35);
}
.eyebrow.on-light {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: #bfdbfe;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}
h1 {
  margin: 0 0 14px;
  font-size: clamp(1.95rem, 3.4vw, 2.85rem);
  line-height: 1.12;
}
.hero-band h1 { color: #ffffff; }
h2 {
  margin: 0 0 10px;
  font-size: clamp(1.38rem, 2.2vw, 1.8rem);
  line-height: 1.22;
}
h3 { margin: 0 0 8px; font-size: 1.08rem; line-height: 1.3; }

.lead {
  font-size: 1.06rem;
  color: var(--ink-muted);
  margin: 0 0 20px;
  max-width: 66ch;
}
.hero-band .lead { color: #cbd5e1; }

.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.84rem;
  color: var(--ink-subtle);
}
.hero-band .meta-strip { color: #94a3b8; }
.meta-strip span { display: inline-flex; align-items: center; gap: 6px; }

/* Countdown strip in Hero */
.countdown-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.countdown-chip {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  padding: 9px 13px;
  display: flex;
  flex-direction: column;
  min-width: 148px;
}
.countdown-chip .cd-k {
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.countdown-chip .cd-v {
  font-family: var(--font-mono);
  font-size: 0.96rem;
  font-weight: 700;
  color: #fde68a;
  margin-top: 2px;
}
.countdown-chip.live .cd-v { color: #6ee7b7; }

/* Panels */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.hero-band .panel {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.25);
  color: #e2e8f0;
  backdrop-filter: blur(8px);
}
.panel-title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 10px;
  align-items: baseline;
  font-size: 0.87rem;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border);
}
.hero-band .timeline-item { border-bottom-color: rgba(148, 163, 184, 0.2); }
.timeline-item:last-child { border-bottom: none; padding-bottom: 0; }
.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #60a5fa;
}
.timeline-item.is-live .timeline-date { color: #34d399; }
.timeline-item.is-urgent .timeline-date { color: #fbbf24; }

.checker-box {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.hero-band .checker-box { border-top-color: rgba(148, 163, 184, 0.22); }
.checker-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 6px;
}
.checker-select, .filter-input, .filter-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--ink);
  font-size: 0.9rem;
  font-family: inherit;
}
.checker-result {
  margin-top: 10px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.35);
  font-size: 0.86rem;
  color: #f1f5f9;
}
.checker-result strong { color: #93c5fd; }

/* Sections */
.section { padding: 34px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.section-sub {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* 30-Second Match Wizard */
.wizard-box {
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.wizard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin-top: 12px;
}
@media (max-width: 780px) { .wizard-grid { grid-template-columns: 1fr; } }
.wizard-results {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 820px) { .wizard-results { grid-template-columns: 1fr; } }
.wizard-pick {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wizard-rank {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}

/* Filter Bar */
.filter-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.filter-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
@media (max-width: 920px) { .filter-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .filter-grid { grid-template-columns: 1fr; } }
.filter-field label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-subtle);
  margin-bottom: 5px;
}
.filter-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.87rem;
  font-weight: 600;
  padding: 9px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  white-space: nowrap;
}
.filter-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--ink-subtle);
  flex-wrap: wrap;
  gap: 10px;
}
.reset-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
  padding: 0;
}
.reset-btn:hover { text-decoration: underline; }

/* Software Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 820px) { .cards-grid { grid-template-columns: 1fr; } }
.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.tool-card:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: var(--shadow);
}
.tool-card.is-hidden { display: none; }

.tool-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.tool-identity {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.tool-avatar {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.tool-name {
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 3px;
}
.tool-name a { color: inherit; }
.tool-tagline {
  font-size: 0.87rem;
  color: var(--ink-muted);
  margin: 0;
}
.price-box { text-align: right; flex-shrink: 0; }
.price-main {
  font-family: var(--font-mono);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink);
}
.price-note { font-size: 0.74rem; color: var(--ink-subtle); }

/* EUFAKT Score Pill + Bar */
.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}
.score-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.score-bar-wrap {
  flex: 1;
  height: 7px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  max-width: 180px;
}
.score-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb 0%, #10b981 100%);
}
.score-val {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--navy);
}

.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--ink-muted);
}
.badge.ok { background: var(--success-soft); color: var(--success); }
.badge.free { background: var(--primary-soft); color: var(--primary); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }

.tool-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  font-size: 0.84rem;
  background: var(--bg);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.spec-k { color: var(--ink-subtle); font-size: 0.74rem; display: block; }
.spec-v { font-weight: 600; color: var(--ink); }

.pros-cons-mini {
  margin: 0;
  padding-left: 18px;
  font-size: 0.86rem;
  color: var(--ink-muted);
}
.pros-cons-mini li { margin-bottom: 3px; }

.tool-actions {
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-alt); }
.btn-gold { background: #f59e0b; color: #0b1220; }
.btn-gold:hover { background: #d97706; color: #fff; }

.compare-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  user-select: none;
}

/* Country Cards on /en/ Hub */
.country-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 960px) { .country-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .country-cards { grid-template-columns: 1fr; } }
.country-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.country-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #93c5fd;
}
.country-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.country-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 7px;
  background: var(--navy);
  color: #fff;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
table { width: 100%; border-collapse: collapse; font-size: 0.89rem; }
th, td {
  padding: 13px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th {
  background: var(--surface-alt);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
tr:last-child td { border-bottom: none; }

/* Synergy Strip */
.synergy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 780px) { .synergy-grid { grid-template-columns: 1fr; } }
.synergy-card {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.synergy-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

/* Vendor Pride Banner */
.vendor-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #172554 100%);
  color: #f8fafc;
  border-radius: var(--radius);
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.vendor-banner h2 { color: #fff; margin: 0 0 6px; }
.vendor-banner p { color: #cbd5e1; margin: 0; max-width: 60ch; font-size: 0.94rem; }

/* VS Grid */
.vs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 720px) { .vs-grid { grid-template-columns: 1fr; } }
.vs-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
}
.vs-card:hover {
  border-color: var(--primary);
  text-decoration: none;
  background: var(--primary-soft);
}
.vs-sub {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
}
.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::after { content: "+"; font-size: 1.2rem; color: var(--primary); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 10px 0 0; color: var(--ink-muted); font-size: 0.92rem; }

/* Detail Layout */
.review-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 880px) { .review-grid { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }
.list-clean {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--ink-muted);
}
.list-clean li { margin-bottom: 6px; }

/* Sticky Compare Bar & Modal */
.compare-bar {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(96, 165, 250, 0.35);
  display: none;
  align-items: center;
  gap: 14px;
  max-width: calc(100vw - 24px);
}
.compare-bar.visible { display: flex; }
.compare-bar-text { font-size: 0.88rem; font-weight: 600; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: var(--surface);
  border-radius: var(--radius);
  max-width: 980px;
  width: 100%;
  max-height: 88vh;
  overflow: auto;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

/* Disclosure & Footer */
.disclosure {
  font-size: 0.82rem;
  color: var(--ink-muted);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  margin-top: 18px;
}
.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--navy-border);
  background: var(--navy);
  color: #94a3b8;
  padding: 38px 0 30px;
  font-size: 0.86rem;
}
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #ffffff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-h {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f8fafc;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--navy-border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Real vendor logos */
.tool-avatar.has-logo { background: #fff; border: 1px solid var(--border); padding: 0; overflow: hidden; }
.tool-avatar.has-logo img { display: block; object-fit: contain; border-radius: 6px; }
.hero-band .tool-avatar.has-logo { border-color: rgba(255,255,255,0.25); }

/* EUFAKT Index breakdown */
.index-breakdown { margin-top: 14px; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-alt); font-size: 0.82rem; }
.index-breakdown .ib-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.index-breakdown .ib-total { font-family: var(--font-mono); font-weight: 700; }
.index-breakdown ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.index-breakdown li { display: grid; grid-template-columns: 1fr 70px 44px; gap: 8px; align-items: center; color: var(--ink-muted); }
.index-breakdown .ib-bar { height: 6px; border-radius: 99px; background: var(--border); overflow: hidden; }
.index-breakdown .ib-bar span { display: block; height: 100%; background: var(--primary); }
.index-breakdown .ib-val { font-family: var(--font-mono); text-align: right; color: var(--ink); }

/* Long-form pages */
.prose h2 { margin-top: 26px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-muted); line-height: 1.65; }
.prose td, .prose th { font-size: 0.85rem; }

/* Mobile: one scrollable row of country pills instead of three wrapped rows */
@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; }
  .country-nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .country-nav::-webkit-scrollbar { display: none; }
  .country-pill { white-space: nowrap; flex-shrink: 0; }
}

.price-src a, .prose p a, .prose li a, .prose td a { text-decoration: underline; text-underline-offset: 2px; }

/* Longer, sourced price strings: let the price box wrap instead of overflowing */
.price-box { max-width: 48%; min-width: 0; flex-shrink: 1; }
.price-note { line-height: 1.35; }
@media (max-width: 560px) {
  .tool-top { flex-wrap: wrap; }
  .price-box { max-width: 100%; width: 100%; text-align: left; }
}
