/* =============================================================
   ACUME – MAIN STYLESHEET (production)
   -------------------------------------------------------------
   Extracted from acume-homepage-v2.html prototype.
   Review-only markup removed:
     - Floating controls (theme toggle + hero A/B switcher)
     - Shatter-section animation system
     - #particles canvas
   Everything else is preserved verbatim from the signed-off prototype.
   Page-specific CSS (beyond homepage) is included inline in each
   page template's <style> block at the top.
   ============================================================= */

/* ════════════════════════════════════════════════════════════════
   ACUME HOMEPAGE – Combined Disruptor / Editorial
   Seven sections. One scroll. Both themes switchable.
   ════════════════════════════════════════════════════════════════ */

/* ─── DISRUPTOR THEME ─── */
[data-theme="disruptor"] {
  --bg-primary: #0D1117;
  --bg-secondary: #151B23;
  --bg-tertiary: #1C2330;
  --bg-card: #151B23;
  --bg-elevated: #1C2330;
  --border: #2A3444;
  --border-strong: #3D4F63;
  --text-body: #C8D4E0;
  --text-hero: #F5F7FA;
  --text-label: #8C9DB0;
  --text-muted: #8C9DB0;
  --text-slate: #3D4F63;
  --accent: #4AEDC4;
  --accent-dim: #1A9E7E;
  --cta-bg: #4AEDC4;
  --cta-text: #0D1117;
  --cta-bg-secondary: transparent;
  --cta-text-secondary: #F5F7FA;
  --cta-border-secondary: #3D4F63;
  --cta-border-hover: #4AEDC4;
  --nav-bg: rgba(13,17,23,0.85);
  --nav-border: #2A3444;
  --bg-type-color: #151B23;
  --noise-opacity: 0.5;
  --grid-opacity: 0;
  --diagonal-opacity: 0.28;
  --bg-hero-overlay: linear-gradient(180deg, rgba(13,17,23,0) 0%, rgba(13,17,23,0.4) 70%, rgba(13,17,23,0.9) 100%);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --logo-filter: none;
  --label-letter-spacing: 2.5px;
}

/* ─── EDITORIAL THEME ─── */
[data-theme="editorial"] {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F4F6F7;
  --bg-tertiary: #EDF0F2;
  --bg-card: #F4F6F7;
  --bg-elevated: #FFFFFF;
  --border: #E6EAED;
  --border-strong: #CDD4D9;
  --text-body: #4A5866;
  --text-hero: #1F2730;
  --text-label: #5A6C7C;
  --text-muted: #5A6C7C;
  --text-slate: #4A5866;
  --accent: #1F2730;
  --accent-dim: #6C7F90;
  --cta-bg: #1F2730;
  --cta-text: #FFFFFF;
  --cta-bg-secondary: transparent;
  --cta-text-secondary: #1F2730;
  --cta-border-secondary: #1F2730;
  --cta-border-hover: #1F2730;
  --nav-bg: rgba(255,255,255,0.92);
  --nav-border: #E6EAED;
  --bg-type-color: #EDF0F2;
  --noise-opacity: 0;
  --grid-opacity: 1;
  --diagonal-opacity: 0;
  --bg-hero-overlay: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 80%, rgba(255,255,255,1) 100%);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
  --mono: 'DM Sans', -apple-system, sans-serif; /* editorial uses DM Sans for labels */
  --logo-filter: none;
  --label-letter-spacing: 2px;
}

/* ═══ RESET ═══ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  background: var(--bg-primary);
  color: var(--text-body);
  transition: background 0.6s ease 0.4s, color 0.6s ease 0.4s;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ═══ OVERLAYS ═══ */

/* Noise (disruptor) */
#noise {
  position: fixed; inset: 0; z-index: 9000;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: var(--noise-opacity);
  transition: opacity 0.8s ease 0.5s;
}

/* Grid (editorial) */
#grid-overlay {
  position: fixed; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(108,127,144,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,127,144,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  opacity: var(--grid-opacity);
  transition: opacity 0.6s ease 0.4s;
}

/* ═══ NAV ═══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nav-border);
  transition: padding 0.3s ease, background 0.6s ease 0.4s, border-color 0.6s ease 0.4s;
}
nav.scrolled { padding: 12px 48px; }

.nav-logo img {
  height: 34px;
  filter: var(--logo-filter);
  opacity: 0.92;
  transition: filter 0.6s ease 0.4s;
}

.nav-links {
  display: flex; gap: 36px; align-items: center;
  font-family: var(--sans);
  font-size: 14px; font-weight: 500;
}

.nav-links a {
  color: var(--text-body);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--text-hero); }
.nav-links a:hover::after { width: 100%; }

/* Solutions dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: -20px;
  z-index: 9999;
  min-width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--bg-elevated); color: var(--accent); }
.dropdown-menu a::after { display: none; }

.nav-right { display: flex; align-items: center; gap: 20px; }

.nav-phone {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 8px 14px;
  border: 1px dashed var(--border-strong);
  border-radius: 2px;
  position: relative;
}
.nav-phone::before {
  content: 'PLACEHOLDER';
  position: absolute;
  top: -8px; left: 8px;
  background: var(--bg-primary);
  padding: 0 6px;
  font-size: 8px;
  color: var(--accent);
  letter-spacing: 1.5px;
}

.nav-cta {
  padding: 10px 22px;
  background: var(--cta-bg);
  color: var(--cta-text);
  font-family: var(--sans);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); opacity: 0.92; }

.nav-try {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}
.nav-try::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-try:hover { color: var(--text-hero); }
.nav-try:hover::after { width: 100%; }

/* ═══ UTILITY ═══ */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
}
.label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--label-letter-spacing);
  color: var(--accent);
}
[data-theme="editorial"] .label { color: var(--text-label); }

/* ═══════════════════════════════════════
   SECTION 1  ·  HERO
   ═══════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Big background type (disruptor) */
.hero-bg-type {
  position: absolute;
  font-family: var(--serif);
  font-size: clamp(180px, 24vw, 340px);
  line-height: 0.85;
  color: var(--bg-type-color);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  letter-spacing: -0.04em;
  opacity: 0;
  transition: opacity 0.8s ease 0.6s;
}
[data-theme="disruptor"] .hero-bg-type { opacity: 1; }
.hero-bg-type.top { top: 10%; left: -5%; }
.hero-bg-type.bottom { bottom: 5%; right: -8%; }

/* Diagonal tension line (disruptor) */
.hero-diagonal {
  position: absolute;
  top: 38%; left: -10%;
  width: 120%;
  height: 1px;
  background: var(--accent);
  transform: rotate(-12deg);
  opacity: var(--diagonal-opacity);
  pointer-events: none;
  transition: opacity 0.8s ease 0.6s;
}

.hero-inner { position: relative; z-index: 2; width: 100%; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: ''; width: 30px; height: 1px; background: var(--accent);
}
[data-theme="editorial"] .hero-eyebrow::before { background: var(--text-label); }

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(44px, 6.2vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text-hero);
  max-width: 18ch;
  margin-bottom: 36px;
  transition: color 0.6s ease 0.4s;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
[data-theme="editorial"] .hero-headline em { color: var(--text-label); font-style: italic; }

.hero-subhead {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--text-body);
  max-width: 58ch;
  margin-bottom: 48px;
  font-weight: 400;
}

.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.btn-primary {
  padding: 18px 32px;
  background: var(--cta-bg);
  color: var(--cta-text);
  font-family: var(--sans);
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid var(--cta-bg);
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.25s ease;
}
.btn-primary:hover { transform: translateY(-2px); opacity: 0.92; }
.btn-primary .arrow { transition: transform 0.25s ease; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-secondary {
  padding: 18px 32px;
  background: var(--cta-bg-secondary);
  color: var(--cta-text-secondary);
  font-family: var(--sans);
  font-size: 15px; font-weight: 500;
  letter-spacing: 0.3px;
  border: 1px solid var(--cta-border-secondary);
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.25s ease;
}
.btn-secondary:hover {
  border-color: var(--cta-border-hover);
  color: var(--accent);
  transform: translateY(-2px);
}
[data-theme="editorial"] .btn-secondary:hover { color: var(--text-hero); }

/* Trust strip */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.trust-item {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--label-letter-spacing);
  color: var(--text-label);
  display: flex; align-items: center; gap: 10px;
}
.trust-item::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
[data-theme="editorial"] .trust-item::before { background: var(--text-label); }

/* ═══════════════════════════════════════
   SECTION 2  ·  THE PROBLEM (13 people)
   ═══════════════════════════════════════ */

.section {
  position: relative;
  padding: 140px 0;
  border-top: 1px solid var(--border);
  transition: border-color 0.6s ease 0.4s;
}

.section-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}

.section-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}
[data-theme="editorial"] .section-num { color: var(--text-label); }

.section-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--label-letter-spacing);
  color: var(--text-label);
  text-transform: uppercase;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-hero);
  max-width: 20ch;
  transition: color 0.6s ease 0.4s;
}
.section-title em { color: var(--accent); font-style: italic; }
[data-theme="editorial"] .section-title em { color: var(--text-hero); font-style: italic; }

.section-intro {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 58ch;
}

/* 5-step invoice journey */
.journey {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-bottom: 80px;
  position: relative;
}
.journey::before {
  content: '';
  position: absolute;
  top: 40px; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, var(--border) 0%, var(--accent) 50%, var(--border) 100%);
  opacity: 0.4;
}

.step {
  position: relative;
  padding: 0 24px;
  text-align: left;
}
.step-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent);
  margin-left: 0;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}
[data-theme="editorial"] .step-dot { border-color: var(--text-label); }

.step:hover .step-dot {
  transform: scale(1.3);
  background: var(--accent);
}

.step-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
[data-theme="editorial"] .step-num { color: var(--text-label); }

.step-title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  color: var(--text-hero);
  margin-bottom: 12px;
  transition: color 0.6s ease 0.4s;
}

.step-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-body);
}

/* The big pullquote */
.pullquote {
  padding: 80px 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 80px;
  align-items: start;
}
.pullquote-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--label-letter-spacing);
  color: var(--accent);
  text-transform: uppercase;
  padding-top: 14px;
}
[data-theme="editorial"] .pullquote-label { color: var(--text-label); }

.pullquote-text {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text-hero);
  transition: color 0.6s ease 0.4s;
}
.pullquote-text em {
  color: var(--accent);
  font-style: italic;
}
[data-theme="editorial"] .pullquote-text em { color: var(--text-hero); font-style: italic; }

/* ═══════════════════════════════════════
   SECTION 3  ·  THE NUMBERS (4 stats)
   ═══════════════════════════════════════ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  padding: 56px 32px 48px;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--serif);
  font-size: clamp(64px, 7vw, 104px);
  line-height: 1;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
[data-theme="editorial"] .stat-num { color: var(--text-hero); }

.stat-label {
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-body);
  margin-bottom: 18px;
  max-width: 24ch;
}

.stat-source {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-label);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.stats-summary {
  margin-top: 72px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
  color: var(--text-hero);
  max-width: 68ch;
  margin-left: auto; margin-right: auto;
  transition: color 0.6s ease 0.4s;
}
.stats-summary strong {
  color: var(--accent);
  font-family: var(--serif);
  font-weight: normal;
}
[data-theme="editorial"] .stats-summary strong { color: var(--text-hero); font-style: italic; }

/* ═══════════════════════════════════════
   SECTION 4  ·  THE SOLUTION
   ═══════════════════════════════════════ */

.process-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 96px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-step {
  text-align: center;
}
.process-num {
  font-family: var(--mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 16px;
}
[data-theme="editorial"] .process-num { color: var(--text-label); }
.process-name {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--text-hero);
  transition: color 0.6s ease 0.4s;
}
.process-arrow {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--accent);
  opacity: 0.6;
}
[data-theme="editorial"] .process-arrow { color: var(--text-label); }

/* Solution routing cards */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.solution-card {
  position: relative;
  padding: 36px 32px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.solution-card:hover {
  border-left-color: var(--accent);
  transform: translateY(-3px);
  background: var(--bg-elevated);
}

.solution-num {
  font-family: var(--mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 16px;
}
[data-theme="editorial"] .solution-num { color: var(--text-label); }

.solution-name {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.15;
  color: var(--text-hero);
  margin-bottom: 14px;
  transition: color 0.6s ease 0.4s;
}

.solution-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-body);
  margin-bottom: 24px;
  flex-grow: 1;
}

.solution-link {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap 0.2s ease;
}
[data-theme="editorial"] .solution-link { color: var(--text-hero); }
.solution-card:hover .solution-link { gap: 14px; }

/* Integration strip */
.integration-strip {
  text-align: center;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}
.integration-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--text-label);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.integration-logos {
  display: flex; justify-content: center; gap: 56px; flex-wrap: wrap;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--text-body);
  letter-spacing: 0.02em;
}
.integration-logos span {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.integration-logos span:hover { opacity: 1; color: var(--text-hero); }

/* ═══════════════════════════════════════
   SECTION 5  ·  EINVOICING OWNERSHIP
   ═══════════════════════════════════════ */

.einvoicing-section {
  position: relative;
  padding: 140px 0;
  border-top: 1px solid var(--border);
}

[data-theme="disruptor"] .einvoicing-section::before {
  content: 'PEPPOL';
  position: absolute;
  top: 40%;
  right: -8%;
  font-family: var(--serif);
  font-size: clamp(200px, 22vw, 320px);
  line-height: 0.85;
  color: var(--bg-type-color);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  opacity: 0.7;
}

.einvoicing-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.einvoicing-left .section-num { margin-bottom: 28px; }

.einvoicing-headline {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-hero);
  margin-bottom: 32px;
  transition: color 0.6s ease 0.4s;
}
.einvoicing-headline em {
  color: var(--accent);
  font-style: italic;
}
[data-theme="editorial"] .einvoicing-headline em { color: var(--text-hero); font-style: italic; }

.einvoicing-copy {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 24px;
  max-width: 44ch;
}

.einvoicing-stats {
  display: flex; flex-direction: column; gap: 24px;
}

.einvoicing-stat {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: baseline;
}
.einvoicing-stat:last-child { border-bottom: 1px solid var(--border); }

.einvoicing-stat-num {
  font-family: var(--serif);
  font-size: clamp(48px, 4.5vw, 72px);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
  min-width: 160px;
}
[data-theme="editorial"] .einvoicing-stat-num { color: var(--text-hero); }

.einvoicing-stat-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-body);
}

.einvoicing-cta {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  font-family: var(--mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  border-bottom: 1px solid var(--accent);
  transition: gap 0.25s ease;
}
[data-theme="editorial"] .einvoicing-cta { color: var(--text-hero); border-bottom-color: var(--text-hero); }
.einvoicing-cta:hover { gap: 20px; }

/* ═══════════════════════════════════════
   SECTION 6  ·  TRUST AND PROOF
   ═══════════════════════════════════════ */

.trust-section { padding: 140px 0; border-top: 1px solid var(--border); }

.trust-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 96px;
  align-items: start;
}

.heritage-block .section-num { margin-bottom: 28px; }

.heritage-headline {
  font-family: var(--serif);
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-hero);
  margin-bottom: 28px;
  transition: color 0.6s ease 0.4s;
}

.heritage-body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 32px;
}

.credibility-list {
  list-style: none;
  padding: 0;
}
.credibility-list li {
  padding: 14px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  font-size: 14px;
  color: var(--text-body);
}
.credibility-list li:last-child { border-bottom: 1px solid var(--border); }

.credibility-list .cred-label {
  font-family: var(--mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--accent);
  text-transform: uppercase;
  min-width: 120px;
  padding-top: 3px;
}
[data-theme="editorial"] .credibility-list .cred-label { color: var(--text-label); }

/* Pricing factor list reuses .credibility-list to carry full paragraphs,
   not short credibility badges. Scope a readable body size + breathing
   room to #factors only, so the component stays tight elsewhere.
   (Jun 2026 readability pass.) */
#factors .credibility-list li { font-size: 16px; padding: 20px 0; gap: 28px; }
#factors .credibility-list .cred-label { font-size: 13px; }

/* Testimonial */
.testimonial {
  padding: 56px 48px;
  background: var(--bg-card);
  border-left: 2px solid var(--accent);
  position: relative;
}

.testimonial-mark {
  font-family: var(--serif);
  font-size: 120px;
  line-height: 0.8;
  color: var(--accent);
  position: absolute;
  top: 20px; left: 40px;
  opacity: 0.3;
  pointer-events: none;
}
[data-theme="editorial"] .testimonial-mark { color: var(--text-label); }

.testimonial-quote {
  position: relative; z-index: 2;
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.4;
  color: var(--text-hero);
  margin-bottom: 36px;
  transition: color 0.6s ease 0.4s;
}

.testimonial-attribution {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-hero);
  transition: color 0.6s ease 0.4s;
}
.testimonial-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-label);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════
   SECTION 7  ·  NEXT STEP / CTA
   ═══════════════════════════════════════ */

.cta-section {
  position: relative;
  padding: 160px 0 140px;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

[data-theme="disruptor"] .cta-section::before {
  content: 'ACUME';
  position: absolute;
  bottom: -20px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: clamp(240px, 28vw, 400px);
  line-height: 0.85;
  color: var(--bg-type-color);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.cta-inner {
  position: relative; z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cta-headline {
  font-family: var(--serif);
  font-size: clamp(44px, 5.5vw, 80px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-hero);
  margin-bottom: 40px;
  transition: color 0.6s ease 0.4s;
}
.cta-headline em {
  color: var(--accent);
  font-style: italic;
}
[data-theme="editorial"] .cta-headline em { color: var(--text-hero); font-style: italic; }

.cta-subhead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-body);
  margin-bottom: 56px;
  max-width: 56ch;
  margin-left: auto; margin-right: auto;
}

.cta-buttons {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
  margin-bottom: 80px;
}
.cta-buttons .btn-primary, .cta-buttons .btn-secondary {
  padding: 22px 40px;
  font-size: 16px;
}

.cta-contact {
  display: flex; justify-content: center; gap: 64px; flex-wrap: wrap;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.cta-contact-item {
  text-align: left;
  min-width: 180px;
}
.cta-contact-label {
  font-family: var(--mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--text-label);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.cta-contact-value {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--text-hero);
  transition: color 0.6s ease 0.4s;
}
.cta-contact-value small {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--accent);
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */

footer {
  position: relative;
  padding: 80px 0 40px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  transition: background 0.6s ease 0.4s;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer-brand img {
  height: 40px;
  filter: var(--logo-filter);
  margin-bottom: 24px;
  opacity: 0.9;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 20px;
  max-width: 36ch;
}

.footer-sbg {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-label);
  text-transform: uppercase;
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
}
[data-theme="editorial"] .footer-col h4 { color: var(--text-label); }

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--text-body);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--text-hero); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--text-label);
  text-transform: uppercase;
}

/* reCAPTCHA: hide Google's floating badge (v3 still runs + protects forms;
   only the widget is hidden). Attribution text moved to the footer per
   Google's terms. Jun 2026. */
.grecaptcha-badge { visibility: hidden; }

/* Footer attribution — quieter than .footer-bottom: muted, sentence case,
   no uppercase/tracking so it reads as the fine print it is. */
.footer-recaptcha {
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 60ch;
}
.footer-recaptcha a { color: var(--text-label); text-decoration: underline; }
.footer-recaptcha a:hover { color: var(--accent); }
[data-theme="editorial"] .footer-recaptcha a:hover { color: var(--text-hero); }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 1100px) {
  .container { padding: 0 32px; }
  nav, nav.scrolled { padding: 18px 28px; }
  .journey { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .journey::before { display: none; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }
  .stat:nth-child(4) { border-right: none; }
  .einvoicing-inner { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 56px; }
  .section-header { grid-template-columns: 1fr; gap: 32px; }
  .process-strip { grid-template-columns: 1fr; }
  .process-arrow { transform: rotate(90deg); margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  nav { padding: 14px 20px; flex-wrap: wrap; gap: 12px; }
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .journey { grid-template-columns: 1fr; row-gap: 36px; }
  .pullquote { grid-template-columns: 1fr; gap: 24px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; }
  .stat:nth-child(2) { border-right: none; }
  .hero { padding: 120px 0 80px; }
  .section { padding: 96px 0; }
  .hero-cta-row { gap: 12px; }
  .btn-primary, .btn-secondary { padding: 16px 24px; font-size: 14px; width: 100%; justify-content: center; }
  .einvoicing-stat { grid-template-columns: 1fr; gap: 8px; }
}



/* ═══════════════════════════════════════
   MOBILE NAV + A11Y UTILITIES
   (not in prototype – desktop-first review)
   ═══════════════════════════════════════ */

.visually-hidden,
.visually-hidden:not(:focus):not(:active) {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: absolute;
    top: 1rem; left: 1rem;
    width: auto; height: auto;
    padding: 0.75em 1.25em;
    clip: auto;
    background: var(--accent);
    color: var(--cta-text);
    z-index: 10002;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Mobile toggle button – hidden on desktop */
.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    background: transparent;
    border: 1px solid var(--border);
    position: relative;
    padding: 0;
}

.nav-toggle span {
    position: absolute;
    left: 50%; top: 50%;
    width: 18px; height: 1px;
    background: var(--text-hero);
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) { top: calc(50% - 5px); }
.nav-toggle span:nth-child(3) { top: calc(50% + 5px); }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Fullscreen overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: var(--bg-primary);
    display: none;
    flex-direction: column;
    padding: 100px 32px 32px;
    overflow-y: auto;
}

.nav-overlay.is-open { display: flex; }

.nav-overlay__menu {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.nav-overlay .nav-links,
.nav-overlay__menu > * {
    width: 100%;
}

.nav-overlay .nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.nav-overlay .nav-links > a,
.nav-overlay .dropdown > a,
.nav-overlay__menu > li > a {
    font-family: var(--serif);
    font-size: 32px;
    line-height: 1.1;
    color: var(--text-hero);
    padding: 0;
}

.nav-overlay .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    padding: 12px 0 0 20px;
    margin: 8px 0 0;
    border-left: 1px solid var(--border);
    min-width: 0;
}

.nav-overlay .dropdown-menu a {
    font-family: var(--sans);
    font-size: 16px;
    color: var(--text-body);
    padding: 8px 0;
    border-bottom: none;
}

.nav-overlay__ctas {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-overlay__ctas a {
    padding: 16px 20px;
    text-align: center;
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-right { display: none; }
    .nav-toggle { display: block; }
}

/* Ensure CTAs visible on all screens regardless of the nav toggle */
@media (max-width: 720px) {
    nav { padding: 14px 20px; justify-content: space-between; }
}


/* ═════════════════════════════════════════════════════════════════════
   THEME TOGGLE (floating control, bottom-right, persistent)
   ═════════════════════════════════════════════════════════════════════ */

.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--nav-border);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.theme-toggle__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--text-label);
    transition: background 0.25s ease, color 0.25s ease;
    cursor: pointer;
    border: 0;
    background: transparent;
    font: inherit;
}

.theme-toggle__btn:hover {
    color: var(--text-hero);
}

.theme-toggle__btn[aria-pressed="true"] {
    background: var(--accent);
    color: var(--cta-text);
}

[data-theme="editorial"] .theme-toggle__btn[aria-pressed="true"] {
    color: #FFFFFF;
}

.theme-toggle__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid currentColor;
    display: inline-block;
}

.theme-toggle__btn[aria-pressed="true"] .theme-toggle__dot {
    background: currentColor;
}

.theme-toggle__label {
    font-weight: 600;
}

@media (max-width: 640px) {
    .theme-toggle {
        bottom: 12px;
        right: 12px;
        padding: 3px;
        font-size: 9px;
    }
    .theme-toggle__btn {
        padding: 6px 10px;
    }
    .theme-toggle__label {
        display: none;
    }
    .theme-toggle__btn {
        padding: 8px;
    }
}

@media print {
    .theme-toggle { display: none; }
}


/* ═════════════════════════════════════════════════════════════════════
   EDITORIAL OVERRIDES – per-page surfaces that were originally extracted
   from disruptor-only prototypes. These blanket overrides ensure any
   card/grid/cell on a page page–*.css file reads correctly in editorial.
   ═════════════════════════════════════════════════════════════════════ */

[data-theme="editorial"] body {
    background: var(--bg-primary);
    color: var(--text-body);
}

/* Hide the hero-diagonal gradient in editorial */
[data-theme="editorial"] .hero-diagonal { opacity: 0 !important; }

/* Common card/grid/cell backgrounds – fall back to editorial tokens */
[data-theme="editorial"] .chaos-cell,
[data-theme="editorial"] .workflow-step,
[data-theme="editorial"] .workflow-cell,
[data-theme="editorial"] .match-node,
[data-theme="editorial"] .match-cap,
[data-theme="editorial"] .catch-card,
[data-theme="editorial"] .recon-step,
[data-theme="editorial"] .native-cell,
[data-theme="editorial"] .flat-cell,
[data-theme="editorial"] .tier-card,
[data-theme="editorial"] .principle-card,
[data-theme="editorial"] .step-card,
[data-theme="editorial"] .included-cell,
[data-theme="editorial"] .plan-card,
[data-theme="editorial"] .route-card,
[data-theme="editorial"] .channel,
[data-theme="editorial"] .location-card,
[data-theme="editorial"] .related-card,
[data-theme="editorial"] .post-card,
[data-theme="editorial"] .team-member,
[data-theme="editorial"] .comparison-row,
[data-theme="editorial"] .statement-mockup,
[data-theme="editorial"] .receipts-panel,
[data-theme="editorial"] .credibility-block,
[data-theme="editorial"] .testimonial,
[data-theme="editorial"] .article-cta,
[data-theme="editorial"] .trust-section,
[data-theme="editorial"] .cta-section,
[data-theme="editorial"] .featured-post,
[data-theme="editorial"] .newsletter-section,
[data-theme="editorial"] .article-hero-frame {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text-body);
}

/* Chips, pills, tags, filter buttons */
[data-theme="editorial"] .mechanic-chip,
[data-theme="editorial"] .native-tag-item,
[data-theme="editorial"] .location-coverage-chip,
[data-theme="editorial"] .sector-chip,
[data-theme="editorial"] .trust-item,
[data-theme="editorial"] .hero-pill,
[data-theme="editorial"] .filter-cats a,
[data-theme="editorial"] .pagination button,
[data-theme="editorial"] .pagination a,
[data-theme="editorial"] .share-buttons a,
[data-theme="editorial"] .social-link {
    background: var(--bg-secondary);
    border-color: var(--border);
    color: var(--text-body);
}

[data-theme="editorial"] .filter-cats a.active,
[data-theme="editorial"] .pagination button.active {
    background: var(--accent);
    color: var(--cta-text);
    border-color: var(--accent);
}

/* Form fields */
[data-theme="editorial"] .form-input,
[data-theme="editorial"] .form-select,
[data-theme="editorial"] .form-textarea,
[data-theme="editorial"] .newsletter-form input {
    background: var(--bg-elevated);
    border-color: var(--border-strong);
    color: var(--text-hero);
}

[data-theme="editorial"] .form-input::placeholder,
[data-theme="editorial"] .form-textarea::placeholder,
[data-theme="editorial"] .newsletter-form input::placeholder {
    color: var(--text-muted);
}

[data-theme="editorial"] .form-submit,
[data-theme="editorial"] .newsletter-form button {
    background: var(--cta-bg);
    color: var(--cta-text);
}

/* Labels, nums, eyebrows – colour-shift to the label tone */
[data-theme="editorial"] .chaos-num,
[data-theme="editorial"] .workflow-num,
[data-theme="editorial"] .match-node-label,
[data-theme="editorial"] .match-cap-label,
[data-theme="editorial"] .catch-label,
[data-theme="editorial"] .recon-num,
[data-theme="editorial"] .native-num,
[data-theme="editorial"] .tier-level,
[data-theme="editorial"] .principle-num,
[data-theme="editorial"] .step-num,
[data-theme="editorial"] .route-label,
[data-theme="editorial"] .partner-list-label,
[data-theme="editorial"] .partner-aud-label,
[data-theme="editorial"] .partner-label,
[data-theme="editorial"] .location-flag,
[data-theme="editorial"] .streamline-stat-num,
[data-theme="editorial"] .peppol-stat-num,
[data-theme="editorial"] .tier-count,
[data-theme="editorial"] .chapter-year,
[data-theme="editorial"] .timeline-marker-label,
[data-theme="editorial"] .plan-tagline,
[data-theme="editorial"] .plan-price-note,
[data-theme="editorial"] .article-eyebrow,
[data-theme="editorial"] .post-card-cat,
[data-theme="editorial"] .featured-cat,
[data-theme="editorial"] .related-card-cat,
[data-theme="editorial"] .direct-label,
[data-theme="editorial"] .blog-eyebrow,
[data-theme="editorial"] .newsletter-eyebrow,
[data-theme="editorial"] .filter-label,
[data-theme="editorial"] .article-cta-label {
    color: var(--text-label);
}

/* Large bg-type marks become subtler in editorial */
[data-theme="editorial"] .hero-bg-type,
[data-theme="editorial"] .blog-header-bg-type {
    color: var(--bg-type-color);
    opacity: 0.7;
}

/* Plan card Recommended badge */
[data-theme="editorial"] .plan-card.recommended {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}
[data-theme="editorial"] .plan-badge {
    background: var(--accent);
    color: var(--cta-text);
}

/* Statement mockup flags keep colour semantics but softer backgrounds */
[data-theme="editorial"] .stmt-flag.matched   { background: #E7F4EE; color: #1F6144; }
[data-theme="editorial"] .stmt-flag.missing   { background: #FDECEE; color: #9B2030; }
[data-theme="editorial"] .stmt-flag.duplicate { background: #FFF4E0; color: #8A5100; }
[data-theme="editorial"] .receipt-status.lost,
[data-theme="editorial"] .receipt-status.faded,
[data-theme="editorial"] .receipt-status.queried,
[data-theme="editorial"] .receipt-status.late { background: var(--bg-secondary); color: var(--text-label); }

/* Testimonial quote mark darker */
[data-theme="editorial"] .testimonial-mark { color: var(--text-label); opacity: 0.3; }

/* TOC active link */
[data-theme="editorial"] .toc-link.active { color: var(--text-hero); border-left-color: var(--accent); }

/* Article hero caption keeps a neutral tone */
[data-theme="editorial"] .article-hero-caption { color: var(--text-muted); border-color: var(--border); }

/* FAQ question buttons */
[data-theme="editorial"] .faq-q { background: var(--bg-card); border-color: var(--border); color: var(--text-hero); }
[data-theme="editorial"] .faq-a { background: var(--bg-secondary); color: var(--text-body); }

/* Direct channels aside */
[data-theme="editorial"] .direct-channels { background: var(--bg-secondary); }
[data-theme="editorial"] .response-sla { background: var(--bg-card); color: var(--text-body); }

/* Keep the accent on key "yes" answers */
[data-theme="editorial"] .comparison-answer.yes,
[data-theme="editorial"] .feature-mark.yes { color: var(--accent); }
[data-theme="editorial"] .comparison-answer.no,
[data-theme="editorial"] .feature-mark.no  { color: #9B2030; }


/* ═════════════════════════════════════════════════════════════════════
   HERO VARIANT VISIBILITY – CSS controls which A/B/C headline shows
   ═════════════════════════════════════════════════════════════════════ */

/* Hide all three by default. !important beats per-page stylesheet rules
   that legacy-styled the individual variants. */
.hero-headline.hero-variant-a,
.hero-headline.hero-variant-b,
.hero-headline.hero-variant-c {
    display: none !important;
}

/* Show only the selected variant based on <html data-hero-variant> */
html[data-hero-variant="a"] .hero-headline.hero-variant-a,
html[data-hero-variant="b"] .hero-headline.hero-variant-b,
html[data-hero-variant="c"] .hero-headline.hero-variant-c {
    display: block !important;
}

/* Default (no attribute) -> show A */
html:not([data-hero-variant]) .hero-headline.hero-variant-a {
    display: block !important;
}


/* ═════════════════════════════════════════════════════════════════════
   VARIANT TOGGLE UI (floating, below theme toggle)
   ═════════════════════════════════════════════════════════════════════ */

.variant-toggle {
    position: fixed;
    bottom: 70px;
    right: 20px;
    z-index: 9998;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 4px 4px 12px;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--nav-border);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.variant-toggle__label-text {
    font-weight: 600;
    color: var(--text-label);
    margin-right: 6px;
}

.variant-toggle__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border-radius: 50%;
    color: var(--text-label);
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.variant-toggle__btn:hover {
    color: var(--text-hero);
}

.variant-toggle__btn[aria-pressed="true"] {
    background: var(--accent);
    color: var(--cta-text);
}

[data-theme="editorial"] .variant-toggle__btn[aria-pressed="true"] {
    color: #FFFFFF;
}

@media (max-width: 640px) {
    .variant-toggle {
        bottom: 58px;
        right: 12px;
        padding: 3px 3px 3px 10px;
        font-size: 9px;
    }
    .variant-toggle__btn {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
}

@media print {
    .variant-toggle { display: none; }
}


/* ═════════════════════════════════════════════════════════════════════
   INTEGRATION LOGO TILES (native grid)
   ═════════════════════════════════════════════════════════════════════ */

.native-cell .native-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 78px;
    margin-bottom: 14px;
    padding: 12px 18px;
    border-radius: 4px;
    transition: background 0.25s ease;
}

.native-cell .native-logo img {
    max-height: 54px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Editorial: transparent backdrop, logos in their native colour */
[data-theme="editorial"] .native-cell .native-logo {
    background: transparent;
}

/* Disruptor: logos sit on a light pill so the brand colours stay legible */
[data-theme="disruptor"] .native-cell .native-logo {
    background: #F4F6F7;
}
[data-theme="disruptor"] .native-cell:hover .native-logo {
    background: #FFFFFF;
}


/* ═════════════════════════════════════════════════════════════════════
   FOOTER STREAMLINE HATCHING MARK
   ═════════════════════════════════════════════════════════════════════ */

.footer-sbg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-label);
    text-transform: uppercase;
    margin-top: 6px;
}

.footer-sbg-mark {
    height: 22px;
    width: auto;
    flex-shrink: 0;
    opacity: 0.9;
}

[data-theme="disruptor"] .footer-sbg-mark {
    /* hatching is already bright/colourful; let it keep its native colour */
    opacity: 0.95;
}
