/* Pauhu Quantum — v7.0.0
 * Annotated EU Data Feeds — pauhu.eu
 * CERN control room × Bloomberg Terminal × 2026
 * Rollback: bash rollback.sh full
 */

/* ================================================================
   TOKENS — navy quantum palette
   ================================================================ */
:root {
  --color-primary-dark: var(--ana-3);
  --color-accent: var(--color-primary);
  --color-live: var(--brand);
  --color-stale: var(--color-success);
  --color-text: var(--color-on-surface);
  --color-text-light: var(--color-on-surface-variant);
  --color-bg: var(--color-surface);
  --color-bg-alt: var(--color-container);
  --color-border: var(--color-outline-variant);
  --glow: rgba(101, 142, 178, 0.4);
  --grid-color: rgba(101, 142, 178, 0.06);
  --grid-color-dark: rgba(101, 142, 178, 0.08);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --mono: var(--font-mono);
}

[data-theme="dark"] {
  --color-accent: var(--ana-4);
  --color-primary: #002855;
  --color-surface: #000d1a;
  --color-container: #001226;
  --color-container-dim: #000a14;
  --color-container-bright: #001a3a;
  --color-on-surface: #e0eaf4;
  --color-on-surface-variant: #a8bdd4;
  --color-outline-variant: #1a3050;
}

/* ================================================================
   GLOBAL — the grid coordinate system
   ================================================================ */
body {
  background: var(--color-surface);
}

[data-theme="dark"] body {
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 40, 85, 0.35) 0%, transparent 60%),
    linear-gradient(var(--grid-color-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color-dark) 1px, transparent 1px),
    var(--color-surface);
  background-size: 100% 100%, 60px 60px, 60px 60px;
  background-attachment: fixed;
}

/* ================================================================
   a11y
   ================================================================ */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--ana-3);
  color: white;
  padding: 0.5rem 1rem;
  z-index: 200;
  font-size: 0.9rem;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

.text-size-controls {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius);
  overflow: hidden;
}

.text-size-btn {
  background: none;
  border: none;
  border-right: 1px solid var(--color-outline-variant);
  color: var(--color-on-surface);
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  line-height: 1;
  font-weight: 600;
  font-size: 0.85rem;
}
.text-size-btn:last-child { border-right: none; }
.text-size-btn:hover { background: var(--color-container); }

.theme-toggle {
  background: none;
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius);
  color: var(--color-on-surface);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.3rem 0.5rem;
  line-height: 1;
}
.theme-icon-light { display: none; }
.theme-icon-dark { display: inline; }
[data-theme="dark"] .theme-icon-light { display: inline; }
[data-theme="dark"] .theme-icon-dark { display: none; }
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: inline; }
.lang-switch { display: flex; gap: 0.5rem; }
.nav-hamburger { display: none; }

/* ================================================================
   HEADER — transparent glass, monospace nav
   ================================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

[data-theme="dark"] .header {
  background: color-mix(in srgb, var(--color-surface) 70%, transparent);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid color-mix(in srgb, var(--ana-4) 8%, transparent);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a:not(.btn) {
  color: var(--color-text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.8rem;
  font-family: var(--mono);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:not(.btn):hover { color: var(--color-on-surface); }

.nav-location {
  font-size: 0.6rem;
  color: var(--color-on-surface-variant);
  font-family: var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-left: 1px solid var(--color-border);
  padding-left: 1.25rem;
}

/* ================================================================
   HERO — massive, gradient mesh, coordinates
   ================================================================ */
.hero {
  padding: 7rem 2rem 6rem;
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

[data-theme="dark"] .hero {
  background:
    radial-gradient(ellipse 900px 600px at 10% 20%, color-mix(in srgb, var(--ana-1) 40%, transparent), transparent),
    radial-gradient(ellipse 700px 500px at 90% 80%, color-mix(in srgb, var(--ana-3) 25%, transparent), transparent),
    radial-gradient(ellipse 500px 400px at 50% 40%, color-mix(in srgb, var(--ana-4) 10%, transparent), transparent),
    var(--color-surface);
}

/* Coordinate crosshair marks on hero corners */
.hero::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 20px;
  height: 20px;
  border-top: 1px solid rgba(101, 142, 178, 0.2);
  border-left: 1px solid rgba(101, 142, 178, 0.2);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 20px;
  height: 20px;
  border-bottom: 1px solid rgba(101, 142, 178, 0.2);
  border-right: 1px solid rgba(101, 142, 178, 0.2);
  pointer-events: none;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

/* Hero split layout */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.hero-left h1, .hero-left .hero-subtitle {
  text-align: left;
  margin-inline: 0;
}

.hero-left .hero-inline-form {
  justify-content: flex-start;
}

.hero-left .hero-trust {
  text-align: left;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: var(--color-on-surface);
  text-align: center;
}

[data-theme="dark"] .hero h1 {
  color: #f0f4f8;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.6;
  text-align: center;
  margin-inline: auto;
}


.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.hero-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  background: rgba(101, 142, 178, 0.08);
  color: var(--color-text-light);
  border: 1px solid rgba(101, 142, 178, 0.15);
}

[data-theme="dark"] .hero-badge {
  background: rgba(101, 142, 178, 0.1);
  border-color: rgba(101, 142, 178, 0.2);
  color: #c0d0e0;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.hero-trial {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-top: 1rem;
  letter-spacing: 0.02em;
}

/* Hero inline form — email + CTA above the fold */
.hero-inline-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}
.hero-inline-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--color-outline-variant);
  border-radius: 6px;
  background: var(--color-surface);
  color: var(--color-on-surface);
  font-size: 0.9rem;
  font-family: var(--mono);
}
[data-theme="dark"] .hero-inline-form input[type="email"] {
  background: rgba(0, 18, 38, 0.6);
  border-color: rgba(101, 142, 178, 0.25);
}
.hero-inline-form input[type="email"]::placeholder {
  color: var(--color-on-surface-variant);
}
@media (max-width: 520px) {
  .hero-inline-form { flex-direction: column; }
  .hero-inline-form input[type="email"] { min-width: 0; }
}

/* Hero trust line — standards badges */
.hero-trust {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--color-text-light);
  margin-top: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Trust bar — partner logos below hero */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-border);
}
.trust-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--color-on-surface-variant);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.trust-bar img {
  opacity: 0.85;
  transition: opacity 0.2s;
}
.trust-bar img:hover { opacity: 1; }
[data-theme="dark"] .trust-bar img { filter: brightness(1.2); }

/* ================================================================
   GLOWING DIVIDER — between sections
   ================================================================ */
.glow-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--ana-4) 50%,
    transparent 100%
  );
  opacity: 0.3;
  margin: 0;
}

[data-theme="light"] .glow-divider {
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--ana-2) 50%,
    transparent 100%
  );
  opacity: 0.25;
}

/* ================================================================
   ABOUT — value proposition + benefit cards
   ================================================================ */
.about-inner {
  max-width: 860px;
  margin: 0 auto;
}

.about-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 2.5rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  border-left: 3px solid var(--ana-2);
  transition: all 0.2s;
}

[data-theme="dark"] .benefit-card {
  background: rgba(12, 72, 101, 0.06);
  border-color: rgba(101, 142, 178, 0.1);
  border-left-color: var(--ana-2);
}

.benefit-card:hover {
  border-left-color: var(--ana-4);
  translate: 0 -1px;
}

.benefit-card h3 {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--ana-3);
}

[data-theme="dark"] .benefit-card h3 {
  color: var(--ana-4);
}

.benefit-card p {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.55;
  margin: 0;
}

/* Moat dimension labels */
.moat-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ana-3);
  margin: 2.5rem 0 1rem;
  padding-left: 0.25rem;
}
[data-theme="dark"] .moat-label { color: var(--ana-4); }
.moat-label:first-of-type { margin-top: 0; }

/* Wide benefit card (comprehension row) */
.benefits-grid-single {
  grid-template-columns: 1fr;
}
.benefit-card-wide {
  border-left-color: var(--ana-4);
}
[data-theme="dark"] .benefit-card-wide {
  border-left-color: var(--ana-5);
}

/* ================================================================
   PROVENANCE — data quality proof
   ================================================================ */
.provenance-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.provenance-card {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-bg);
}
[data-theme="dark"] .provenance-card {
  background: rgba(0, 18, 38, 0.4);
  border-color: rgba(101, 142, 178, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.provenance-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ana-3);
  margin: 0 0 0.5rem;
  font-family: var(--mono);
}
[data-theme="dark"] .provenance-card h3 { color: var(--ana-4); }
.provenance-card p {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .provenance-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   CONCLAVE — sovereign deployment section
   ================================================================ */
.conclave-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}
.conclave-section h2 {
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
}
.conclave-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  text-align: left;
}
.conclave-card {
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg);
  position: relative;
}
[data-theme="dark"] .conclave-card {
  background: rgba(0, 18, 38, 0.5);
  border-color: rgba(101, 142, 178, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.conclave-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.5;
}
[data-theme="dark"] .conclave-icon {
  color: var(--ana-4);
  opacity: 0.7;
}
.conclave-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--mono);
  margin: 0 0 0.75rem;
  color: var(--ana-3);
}
[data-theme="dark"] .conclave-card h3 {
  color: var(--ana-4);
}
.conclave-card p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin: 0;
}
.conclave-principle {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--ana-3);
  text-align: left;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
[data-theme="dark"] .conclave-principle {
  border-left-color: var(--ana-4);
}
.conclave-principle p {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin: 0;
  font-style: italic;
}
.conclave-footer {
  margin-top: 2rem;
}
.conclave-protocol {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
  opacity: 0.7;
  margin-bottom: 1rem;
}

/* Conclave cards — magnetic hover glow */
.conclave-card.magnetic-hover:hover {
  box-shadow: radial-gradient(circle 120px at var(--mouse-x) var(--mouse-y), rgba(101,142,178,0.12), transparent) border-box;
}
[data-theme="dark"] .conclave-card.magnetic-hover:hover {
  box-shadow: 0 0 20px rgba(101, 142, 178, 0.08);
  border-color: rgba(101, 142, 178, 0.2);
}

/* Conclave scroll reveal */
@supports (animation-timeline: view()) {
  .conclave-card {
    animation: scroll-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }
}

@media (max-width: 768px) {
  .conclave-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   EXAMPLES — use case cards
   ================================================================ */
.examples-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* ================================================================
   STATS — monospace dashboard row
   ================================================================ */
.stats-bar {
  padding: 2rem;
  border-bottom: 1px solid var(--color-border);
}

[data-theme="dark"] .stats-bar {
  background: rgba(0, 13, 26, 0.5);
  border-bottom-color: rgba(101, 142, 178, 0.06);
}

.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  text-align: center;
}

.stat {
  padding: 0.5rem;
  border-right: 1px solid var(--color-border);
}
.stat:last-child { border-right: none; }

[data-theme="dark"] .stat {
  border-right-color: rgba(101, 142, 178, 0.06);
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--mono);
  color: var(--color-on-surface);
  letter-spacing: -0.03em;
  line-height: 1;
}

[data-theme="dark"] .stat-number {
  color: var(--ana-5);
}

.stat-label {
  display: block;
  font-size: 0.6rem;
  color: var(--color-text-light);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--mono);
}

/* ================================================================
   TICKER — wider, monospace
   ================================================================ */
.ticker-bar {
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--color-text-light);
  position: relative;
  padding: 0;
  border-bottom: 1px solid var(--color-border);
}

[data-theme="dark"] .ticker-bar {
  background: rgba(0, 10, 20, 0.5);
  border-bottom-color: rgba(101, 142, 178, 0.06);
}

.ticker-bar::before,
.ticker-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker-bar::before {
  left: 0;
  background: linear-gradient(to right, var(--color-surface), transparent);
}
.ticker-bar::after {
  right: 0;
  background: linear-gradient(to left, var(--color-surface), transparent);
}

[data-theme="dark"] .ticker-bar::before {
  background: linear-gradient(to right, var(--color-surface), transparent);
}
[data-theme="dark"] .ticker-bar::after {
  background: linear-gradient(to left, var(--color-surface), transparent);
}

.ticker-track {
  display: flex;
  gap: 2.5rem;
  padding: 0.7rem 0;
  animation: ticker-scroll 60s linear infinite;
  width: max-content;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-track span { white-space: nowrap; }
.ticker-track strong { color: var(--ana-4); font-weight: 700; }
[data-theme="light"] .ticker-track strong { color: var(--ana-3); }
.ticker-sep { color: var(--color-border); }

/* Live Now indicator */
.ticker-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #4ade80;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: live-pulse 1.5s ease-in-out infinite;
}

[data-theme="dark"] .live-dot {
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

@keyframes live-pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Second ticker — reverse direction, slightly different speed */
.ticker-track-stats {
  animation: ticker-scroll-reverse 45s linear infinite;
}

@keyframes ticker-scroll-reverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.ticker-bar-stats {
  border-top: none;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--mono);
  letter-spacing: 0.01em;
}

.btn-primary,
.nav-links a.btn-primary,
[data-theme="dark"] a.btn-primary {
  background: var(--color-primary);
  color: white;
}
.btn-primary:hover {
  translate: 0 -1px;
}

.btn-glow {
  position: relative;
}

.btn-secondary {
  background: var(--color-bg-alt);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover { border-color: var(--color-text-light); }

.btn-ghost {
  background: none;
  border: none;
  color: var(--color-text-light);
  font-weight: 500;
  padding: 0;
  font-size: 0.85rem;
  text-decoration: none;
  font-family: var(--mono);
}
.btn-ghost:hover { color: var(--color-on-surface); }
.btn-ghost::after { content: ' \2192'; }

/* ================================================================
   SECTIONS
   ================================================================ */
section {
  padding: 5rem 2rem;
  position: relative;
}

section h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ================================================================
   DOMAIN CARDS — glass panels
   ================================================================ */
.products { background: var(--color-bg); }

.pick-instruction {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ana-3);
  margin-bottom: 2rem;
}

[data-theme="dark"] .pick-instruction {
  color: var(--ana-4);
}

.product-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}

.product-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.25rem 1.4rem;
  transition: all 0.2s;
}

[data-theme="dark"] .product-card {
  background: rgba(0, 18, 38, 0.5);
  border-color: rgba(101, 142, 178, 0.08);
}

a.product-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.product-card::after {
  content: '\2192';
  color: var(--color-border);
  transition: all 0.2s;
  font-size: 0.85rem;
  flex-shrink: 0;
}

a.product-card:hover::after {
  color: var(--color-accent);
  translate: 6px 0;
}

a.product-card:hover {
  border-color: rgba(101, 142, 178, 0.3);
  translate: 0 -2px;
}

[data-theme="dark"] a.product-card:hover {
  background: rgba(101, 142, 178, 0.04);
  box-shadow: 0 0 0 1px rgba(101, 142, 178, 0.1),
              0 8px 32px rgba(0, 0, 0, 0.3);
}

.product-card.magnetic-hover:hover {
  background: radial-gradient(
    250px circle at var(--mouse-x) var(--mouse-y),
    rgba(101, 142, 178, 0.06),
    transparent
  );
}

.product-card.live {
  border-left: 2px solid var(--ana-2);
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.product-card.live h3 {
  margin: 0 0 0.65rem;
  padding: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

/* Green live dot on product cards */
.product-card.live h3::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  margin-right: 0.4rem;
  vertical-align: middle;
  animation: pulse-dot 2s ease-in-out infinite;
}

[data-theme="dark"] .product-card.live h3::before {
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.4);
}

.product-card.live .product-desc {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--color-text-light);
  margin: 0;
  padding: 0;
}

.product-card.live::after { align-self: flex-end; }

.product-card h3 {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
  color: var(--ana-3);
}

[data-theme="dark"] .product-card h3 {
  color: var(--ana-4);
}

.product-desc {
  color: var(--color-text-light);
  font-size: 0.82rem;
  margin: 0;
}

.product-card.bundle {
  border-left: 2px solid var(--color-accent);
  background: var(--color-bg-alt);
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 1rem 1.25rem;
}

[data-theme="dark"] .product-card.bundle {
  background: rgba(101, 142, 178, 0.04);
}

.product-card.bundle::after { align-self: flex-end; }
.product-card.bundle h3 { font-size: 0.95rem; }
.product-card.bundle .product-desc { font-size: 0.82rem; line-height: 1.5; }

/* ================================================================
   PRICING section
   ================================================================ */
.pricing {
  background: var(--color-bg-alt);
  padding: 4rem 2rem;
  color: var(--color-on-surface);
}

[data-theme="dark"] .pricing {
  background: rgba(0, 13, 26, 0.3);
}

.pricing h2, .pricing h3 { color: var(--color-on-surface); }
.pricing .section-subtitle, .pricing .product-desc { color: var(--color-on-surface-variant); }

.bundles-heading {
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ================================================================
   SOURCE CHIPS
   ================================================================ */
.source-chip {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  text-align: center;
  transition: all 0.2s;
}

[data-theme="dark"] .source-chip {
  background: rgba(0, 18, 38, 0.4);
  border-color: rgba(101, 142, 178, 0.08);
}

.source-chip:hover {
  translate: 0 -2px;
  border-color: rgba(101, 142, 178, 0.2);
}

[data-theme="dark"] .source-chip:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  background: rgba(101, 142, 178, 0.04);
}

.source-chip h3 {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 0.15rem;
  color: var(--ana-3);
}

[data-theme="dark"] .source-chip h3 {
  color: var(--ana-4);
}

/* Green dots removed from examples — now on .product-card.live instead */

@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

.source-chip p {
  color: var(--color-text-light);
  font-size: 0.72rem;
  margin: 0;
}

/* ================================================================
   MISSION CONTROL — feed map
   ================================================================ */

/* Panel frame */
.feed-map-panel {
  background: var(--ana-1);
  border: 1px solid var(--ana-3);
  border-radius: 0.5rem;
  padding: 1rem 1rem 0.75rem;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
[data-theme="light"] .feed-map-panel {
  background: rgba(196, 196, 232, 0.08); /* ana-6 at 8% */
  border-color: var(--ana-5);
}

/* Scanline overlay */
.feed-map-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(101, 142, 178, 0.015) 2px,
    rgba(101, 142, 178, 0.015) 4px
  );
  pointer-events: none;
  z-index: 1;
}
[data-theme="light"] .feed-map-panel::before { display: none; }

/* Header bar */
.mc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--ana-3);
  margin-bottom: 0.5rem;
  font-family: var(--font-mono, monospace);
  position: relative;
  z-index: 2;
}
[data-theme="light"] .mc-header { border-color: var(--ana-5); }
[data-theme="light"] .mc-header .mc-title { color: var(--ana-1); }
[data-theme="light"] .mc-header .mc-clock { color: var(--ana-3); }
.mc-header .mc-title {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ana-4);
  font-weight: 700;
}
.mc-header .mc-clock {
  font-size: 0.6rem;
  color: var(--ana-5);
  font-variant-numeric: tabular-nums;
}

/* Map container */
.feed-map-wrap {
  position: relative;
  z-index: 2;
}

.feed-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Country outlines — Eurostat GISCO 60M */
.map-outline path {
  fill: rgba(12, 72, 101, 0.08);
  stroke: var(--ana-3);
  stroke-width: 0.4;
  stroke-linejoin: round;
}
[data-theme="light"] .map-outline path {
  fill: rgba(0, 40, 85, 0.04);
  stroke: var(--ana-5);
}

/* Grid underlay */
.map-grid line {
  stroke: var(--ana-3);
  stroke-width: 0.15;
  opacity: 0.3;
}
[data-theme="light"] .map-grid line {
  stroke: var(--ana-5);
  opacity: 0.2;
}

/* Connection lines from Helsinki */
.map-lines line {
  stroke: var(--ana-4);
  stroke-width: 0.2;
  opacity: 0.12;
}

/* Pin pulse ring */
.pin-pulse {
  fill: none;
  stroke: var(--ana-4);
  stroke-width: 0.4;
  opacity: 0;
  animation: map-pulse 3s ease-out infinite;
}
.map-pin:nth-child(2n) .pin-pulse { animation-delay: 0.5s; }
.map-pin:nth-child(3n) .pin-pulse { animation-delay: 1.0s; }
.map-pin:nth-child(5n) .pin-pulse { animation-delay: 1.5s; }
.map-pin:nth-child(7n) .pin-pulse { animation-delay: 2.0s; }

@keyframes map-pulse {
  0% { r: 1.8; opacity: 0.5; }
  100% { r: 7; opacity: 0; }
}

/* Hub pin — Helsinki connector */
.map-pin-eu .pin-pulse {
  stroke: var(--ana-6);
  stroke-width: 0.6;
  animation-name: map-pulse-eu;
}
@keyframes map-pulse-eu {
  0% { r: 3; opacity: 0.5; }
  100% { r: 12; opacity: 0; }
}

/* EU institutions pin — Brussels */
.map-pin-inst .pin-pulse {
  stroke: var(--ana-5);
  stroke-width: 0.5;
  animation-name: map-pulse-inst;
}
@keyframes map-pulse-inst {
  0% { r: 2.5; opacity: 0.5; }
  100% { r: 10; opacity: 0; }
}

/* Pin dots */
.pin-dot {
  fill: var(--ana-4);
  filter: drop-shadow(0 0 2px rgba(101, 142, 178, 0.5));
}
.pin-dot-eu {
  fill: var(--ana-6);
  filter: drop-shadow(0 0 4px rgba(196, 196, 232, 0.6));
}
.pin-dot-inst {
  fill: var(--ana-5);
  filter: drop-shadow(0 0 3px rgba(153, 167, 206, 0.5));
}

/* Status LED colors — standard indicator diode colors (Astro UXDS / IEC 60073) */
/* live = green LED, annotating = cyan LED, syncing = yellow LED, degraded = amber LED, down = red LED */

[data-theme="light"] .pin-dot { filter: none; }
[data-theme="light"] .pin-dot-eu { fill: var(--ana-1); filter: none; }
[data-theme="light"] .pin-dot-inst { fill: var(--ana-3); filter: none; }

/* Hover */
.pin-target { cursor: pointer; }
.map-pin:hover .pin-dot {
  fill: white !important;
  filter: drop-shadow(0 0 4px rgba(196, 196, 232, 0.8));
}
.map-pin-eu:hover .pin-dot-eu { fill: white; filter: drop-shadow(0 0 4px rgba(196, 196, 232, 1)); }

/* Status-driven LED glow via JS inline fill */
.pin-dot[style*="56F000"] { filter: drop-shadow(0 0 3px hsla(99, 100%, 47%, 0.6)); }
.pin-dot[style*="2DCCFF"] { filter: drop-shadow(0 0 3px hsla(199, 100%, 59%, 0.6)); }
.pin-dot[style*="FCE83A"] { filter: drop-shadow(0 0 3px hsla(52, 97%, 61%, 0.6)); }
.pin-dot[style*="FFB302"] { filter: drop-shadow(0 0 3px hsla(42, 100%, 50%, 0.6)); }
.pin-dot[style*="FF3838"] { filter: drop-shadow(0 0 3px hsla(0, 100%, 61%, 0.6)); }

/* Labels */
.map-labels text {
  fill: var(--ana-4);
  font-size: 4.5px;
  pointer-events: none;
}
.map-labels .label-eu {
  fill: var(--ana-6);
  font-size: 5.5px;
  font-weight: 800;
}
.map-labels .label-inst {
  fill: var(--ana-5);
  font-size: 5px;
  font-weight: 800;
}
[data-theme="light"] .map-labels text { fill: var(--ana-2); }
[data-theme="light"] .map-labels .label-eu { fill: var(--ana-1); }
[data-theme="light"] .map-labels .label-inst { fill: var(--ana-3); }

/* Status legend — bottom bar */
.feed-map-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--ana-3);
  margin-top: 0.5rem;
  font-size: 0.65rem;
  font-family: var(--font-mono, monospace);
  letter-spacing: 0.05em;
  color: var(--ana-4);
  position: relative;
  z-index: 2;
}
[data-theme="light"] .feed-map-legend { border-color: var(--ana-5); color: var(--ana-2); }
.feed-map-legend span::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 0.3rem;
  vertical-align: middle;
}
.legend-live::before { background: hsl(99, 100%, 47%); }       /* green LED */
.legend-annotating::before { background: hsl(199, 100%, 59%); } /* cyan LED */
.legend-syncing::before { background: hsl(52, 97%, 61%); }      /* yellow LED */
.legend-degraded::before { background: hsl(42, 100%, 50%); }    /* amber LED */
.legend-down::before { background: hsl(0, 100%, 61%); }         /* red LED */
.legend-hub::before { background: var(--ana-6); }
.legend-inst::before { background: var(--ana-5); }

/* Readouts — corner stats */
.mc-readouts {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.35rem;
  font-family: var(--font-mono, monospace);
  font-size: 0.6rem;
  color: var(--ana-4);
  position: relative;
  z-index: 2;
}
.mc-readout-val {
  color: var(--ana-6);
  font-weight: 700;
}
[data-theme="light"] .mc-readouts { color: var(--ana-1); }
[data-theme="light"] .mc-readout-val { color: var(--ana-3); }

/* Tooltip */
.map-tooltip {
  position: absolute;
  background: var(--ana-1);
  border: 1px solid rgba(101, 142, 178, 0.2);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #d8e4f0;
  pointer-events: none;
  z-index: 10;
  max-width: 260px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  white-space: normal;
  line-height: 1.5;
}

[data-theme="light"] .map-tooltip {
  background: white;
  color: var(--color-on-surface);
  border-color: var(--color-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.map-tooltip-code {
  display: inline-block;
  background: rgba(101, 142, 178, 0.15);
  color: var(--ana-4);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  letter-spacing: 0.06em;
  margin-right: 0.4rem;
  vertical-align: middle;
}

[data-theme="light"] .map-tooltip-code {
  color: var(--ana-1);
  background: rgba(0, 40, 85, 0.08);
}

.map-tooltip-city {
  font-weight: 600;
  vertical-align: middle;
}

.map-tooltip-feeds {
  margin-top: 0.35rem;
  color: rgba(216, 228, 240, 0.7);
}

[data-theme="light"] .map-tooltip-feeds {
  color: var(--color-text-light);
}

/* ================================================================
   USE CASES
   ================================================================ */
#use-cases .source-chip {
  text-align: left;
  padding: 1.25rem 1.4rem;
  border-left: 2px solid var(--ana-2);
}
#use-cases .source-chip h3 {
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}
#use-cases .source-chip p {
  font-size: 0.82rem;
  line-height: 1.6;
}

/* ================================================================
   WORKFLOW — pipeline visualization
   ================================================================ */
.flow-arrow {
  animation: flow-pulse 1.5s ease-in-out infinite;
}

@keyframes flow-pulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

/* ================================================================
   CONNECTOR — frosted glass on dark teal
   ================================================================ */
.connector {
  background: var(--ana-3);
  color: white;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .connector {
  background: linear-gradient(135deg, #06192e 0%, #0c2840 50%, #0a1f35 100%);
}

.connector::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(101, 142, 178, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 142, 178, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.connector h2 { color: white; }
.connector .section-subtitle { color: rgba(255, 255, 255, 0.7); }

.connector-info {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.connector-details {
  padding: 1.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.25s;
}

.connector-details:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  translate: 0 -2px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.connector-details h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.connector-details p { font-size: 0.82rem; line-height: 1.5; color: rgba(255, 255, 255, 0.75); }
.connector-details ul { list-style: none; }
.connector-details li { padding: 0.3rem 0; font-size: 0.82rem; color: rgba(255, 255, 255, 0.75); }
.connector-details a { color: white; text-decoration: underline; text-underline-offset: 2px; }

/* ================================================================
   CTA — gradient, grid overlay
   ================================================================ */
.cta {
  background: linear-gradient(135deg, #001a3a 0%, var(--ana-3) 50%, #002855 100%);
  color: white;
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(101, 142, 178, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 142, 178, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.cta h2 { color: white; margin-bottom: 0.75rem; position: relative; font-size: 1.8rem; }
.cta p { margin-bottom: 2rem; opacity: 0.8; position: relative; font-family: var(--mono); font-size: 0.9rem; }

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  position: relative;
}

.cta .btn-primary {
  background: white;
  color: var(--color-primary);
  font-weight: 700;
}
.cta .btn-primary:hover {
  translate: 0 -1px;
}

.cta .btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}
.cta .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

/* ================================================================
   FOOTER — minimal, dark
   ================================================================ */
.footer {
  background: #060e18;
  color: white;
  padding: 4rem 2rem 2rem;
}

[data-theme="light"] .footer {
  background: var(--ana-3);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-brand p { color: rgba(255, 255, 255, 0.85); margin-top: 0.5rem; font-size: 0.8rem; font-family: var(--mono); opacity: 1; }
.footer-links { display: flex; gap: 3rem; }

.footer-col h3 {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--mono);
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0.2rem 0;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-col a[href^="http"]::after { content: " \2197"; font-size: 0.7em; vertical-align: super; opacity: 0.6; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  font-family: var(--mono);
  opacity: 1;
}
.footer-bottom p { margin: 0.25rem 0; }

.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem auto;
}
.partner-logos img { height: 24px; opacity: 0.85; transition: opacity 0.2s; }
.partner-logos img:hover { opacity: 1; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  .hero { padding: 3rem 1.5rem 2.5rem; }
  .hero-badges { gap: 0.4rem; }
  .hero h1 { font-size: 2rem; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--card, #fff); border-bottom: 1px solid var(--border); padding: 1rem; gap: 0.75rem; z-index: 100; }
  .nav-location { display: none; }
  .nav-hamburger { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; color: var(--color-on-surface, #fff); font-size: 1.25rem; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 0.25rem 0; }
  .stat:nth-child(3) { border-right: none; }
  .benefits-grid { grid-template-columns: 1fr; }
  .examples-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  #use-cases .source-chip { text-align: center; }
  .connector-info { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; gap: 1.5rem; }
  .footer-links { flex-wrap: wrap; gap: 1.5rem; }
  .hero::before, .hero::after { display: none; }
  .domain-pick { min-height: 44px; }
  .domain-pick .toggle-track { width: 44px; height: 24px; }
  .domain-pick .toggle-track::after { width: 20px; height: 20px; }
  .domain-pick input:checked + .toggle-track::after { transform: translateX(20px); }
}

/* ================================================================
   PROGRESSIVE — 2026 CSS
   ================================================================ */
@supports (animation-timeline: view()) {
  .product-card, .source-chip, .connector-details, .stat,
  .benefit-card, .provenance-card {
    animation: scroll-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 20%;
  }
}

@keyframes scroll-reveal {
  from { opacity: 0.3; translate: 0 1rem; }
  to { opacity: 1; translate: 0 0; }
}

@supports (color: color-mix(in oklch, red, blue)) {
  a.product-card:hover {
    border-color: color-mix(in oklch, var(--ana-4) 50%, transparent);
  }
}

html { scroll-behavior: smooth; }

@supports (text-box: trim-both cap alphabetic) {
  h1, h2, h3 { text-box: trim-both cap alphabetic; }
}

.ticker-bar, .ticker-track, .stat-number {
  font-variant-numeric: tabular-nums;
}

/* ================================================================
   DOMAIN PICKER — checkboxes + cart bar
   ================================================================ */
.domain-select-all {
  border-left-color: var(--ana-4);
  background: color-mix(in srgb, var(--ana-6) 10%, var(--color-bg));
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-right: 1.25rem;
}

[data-theme="dark"] .domain-select-all {
  background: color-mix(in srgb, var(--ana-3) 12%, transparent);
  border-left-color: var(--ana-4);
}

.domain-select-all input[type="checkbox"] {
  display: none;
}

.domain-pick {
  cursor: pointer;
  position: relative;
  padding-right: 4rem;
}

/* Hide native checkbox, show toggle track */
.domain-pick input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.domain-pick .toggle-track {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  transform: translateY(-50%);
  width: 40px;
  height: 22px;
  background: var(--color-outline-variant);
  border-radius: 11px;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.domain-pick .toggle-track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.domain-pick input:checked + .toggle-track {
  background: var(--ana-4);
}
.domain-pick input:checked + .toggle-track::after {
  transform: translateX(18px);
}

.domain-pick:has(input:checked) {
  border-color: var(--ana-4);
  border-left-color: var(--ana-4);
  background: color-mix(in srgb, var(--ana-5) 8%, transparent);
}

[data-theme="dark"] .domain-pick:has(input:checked) {
  background: color-mix(in srgb, var(--ana-4) 10%, transparent);
  border-color: var(--ana-4);
  border-left-color: var(--ana-4);
}

.domain-cart {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 0.75rem 2rem;
}

[data-theme="dark"] .domain-cart {
  background: rgba(0, 13, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top-color: rgba(101, 142, 178, 0.12);
}

.domain-cart-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.domain-cart-inner span {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-on-surface);
}

.domain-cart-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ================================================================
   COOKIE CONSENT — GDPR Art. 7
   ================================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 1.25rem 2rem;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
}
[data-theme="dark"] .cookie-banner {
  background: rgba(0, 13, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top-color: rgba(101, 142, 178, 0.12);
}
.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.cookie-text {
  flex: 1;
}
.cookie-text p {
  font-size: 0.82rem;
  color: var(--color-on-surface-variant);
  line-height: 1.5;
  margin: 0;
}
.cookie-text p strong {
  color: var(--color-on-surface);
}
.cookie-links {
  margin-top: 0.35rem !important;
  font-size: 0.75rem !important;
}
.cookie-links a {
  color: var(--ana-4);
  text-decoration: underline;
  text-underline-offset: 2px;
}
[data-theme="light"] .cookie-links a { color: var(--ana-3); }
.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.cookie-actions .btn {
  font-size: 0.8rem;
  padding: 0.5rem 1.25rem;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 1rem; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: none; }
}

/* ================================================================
   GLOWING CTA
   ================================================================ */
.btn-glow {
  animation: cta-glow 3s ease-in-out infinite;
}
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(101, 142, 178, 0); }
  50% { box-shadow: 0 0 20px 4px rgba(101, 142, 178, 0.25); }
}
[data-theme="dark"] .btn-glow {
  animation-name: cta-glow-dark;
}
@keyframes cta-glow-dark {
  0%, 100% { box-shadow: 0 0 0 0 rgba(101, 142, 178, 0); }
  50% { box-shadow: 0 0 24px 6px rgba(101, 142, 178, 0.3); }
}

/* ================================================================
   CARD GLOW — magnetic hover radial gradient
   ================================================================ */
.benefit-card.magnetic-hover:hover,
.provenance-card.magnetic-hover:hover,
.source-chip.magnetic-hover:hover {
  background: radial-gradient(
    250px circle at var(--mouse-x) var(--mouse-y),
    rgba(0, 40, 85, 0.06),
    transparent
  );
}
[data-theme="dark"] .benefit-card.magnetic-hover:hover,
[data-theme="dark"] .provenance-card.magnetic-hover:hover,
[data-theme="dark"] .source-chip.magnetic-hover:hover {
  background: radial-gradient(
    250px circle at var(--mouse-x) var(--mouse-y),
    rgba(101, 142, 178, 0.08),
    transparent
  );
  box-shadow: 0 0 0 1px rgba(101, 142, 178, 0.1);
}

/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ticker-track { animation: none !important; }
}
