/* ============================================================
   SYMPHONĒ — Dark Cinematic Site System
   Matches the stylized investor deck aesthetic.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Core palette - tuned to true black so embedded media blends seamlessly */
  --black: #000000;
  --ink-0: #000000;
  --ink-1: #07090d;
  --ink-2: #0e1118;
  --ink-3: #161b25;
  --ink-4: #1f2735;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text: #f1f4f8;        /* headings: near-white */
  --text-soft: #d4d9e1;   /* body paragraphs: brightened for readability on pure black */
  --text-muted: #9aa3b1;  /* captions, footer, less-emphasis text: bumped from #7a8290 */
  --text-dim: #5a6470;    /* very small print: bumped from #4a525e */

  /* Brand */
  --sym: #2196f3;         /* electric blue from logo */
  --sym-bright: #4eb5ff;
  --sym-deep: #0d6fc4;
  --sym-glow: rgba(33, 150, 243, 0.35);

  /* Accents */
  --red: #e60012;          /* RED accent */
  --gold: #d4af37;
  --teal: #00d4d4;

  /* Type scale */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Spacing */
  --container: 1200px;
  --container-wide: 1360px;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--ink-0);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
  background-image:
    radial-gradient(circle at 15% 0%, rgba(33, 150, 243, 0.05), transparent 55%),
    radial-gradient(circle at 85% 30%, rgba(33, 150, 243, 0.03), transparent 65%);
  background-attachment: fixed;
}

/* Subtle grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/></svg>");
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 6, 8, 0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s var(--ease-out);
}

.nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.nav-brand img {
  height: 42px;
  width: auto;
  display: block;
  transition: filter 0.3s var(--ease-out);
}
.nav-brand:hover img {
  filter: drop-shadow(0 0 16px rgba(33, 150, 243, 0.35));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--sym);
  box-shadow: 0 0 8px var(--sym-glow);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--sym);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
  box-shadow: 0 0 0 1px rgba(33, 150, 243, 0.4), 0 4px 20px rgba(33, 150, 243, 0.25);
}
.nav-cta:hover {
  background: var(--sym-bright);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(78, 181, 255, 0.5), 0 6px 24px rgba(33, 150, 243, 0.4);
}

.nav-burger {
  display: none;
  background: rgba(33, 150, 243, 0.08);
  border: 1px solid rgba(33, 150, 243, 0.35);
  color: var(--sym-bright);
  cursor: pointer;
  padding: 10px 14px;
  font-size: 22px;
  line-height: 1;
  border-radius: 6px;
  transition: all 0.2s;
  font-weight: 500;
}
.nav-burger:hover, .nav-burger:active {
  background: rgba(33, 150, 243, 0.15);
  border-color: var(--sym);
  color: var(--text);
}

/* ============ MAIN ============ */
main { padding-top: 80px; position: relative; z-index: 2; }

.section {
  padding: 120px 32px;
  position: relative;
}
.section-tight { padding: 80px 32px; }

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

/* ============ TYPE ============ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sym);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--sym);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(48px, 7vw, 88px); }
h2 { font-size: clamp(36px, 5vw, 60px); }
h3 { font-size: clamp(24px, 3vw, 32px); }
h4 { font-size: 20px; letter-spacing: -0.01em; }

.h-em { color: var(--sym); font-style: italic; font-weight: 300; }
.h-rule {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--sym);
  margin: 28px 0 32px;
  box-shadow: 0 0 12px var(--sym-glow);
}

.lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 720px;
  margin-bottom: 36px;
}
p { color: var(--text-soft); }
p + p { margin-top: 16px; }

a { color: var(--sym-bright); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s var(--ease-out);
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--sym);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(33, 150, 243, 0.4), 0 8px 24px rgba(33, 150, 243, 0.3);
}
.btn-primary:hover {
  background: var(--sym-bright);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(78, 181, 255, 0.5), 0 12px 32px rgba(33, 150, 243, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--sym);
  color: var(--sym-bright);
  background: rgba(33, 150, 243, 0.05);
}
.btn-arrow::after {
  content: '→';
  transition: transform 0.25s;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ============ CARDS ============ */
.card {
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink-1) 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sym), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.card:hover::before { opacity: 1; }

.card-accent { border-left: 2px solid var(--sym); }

.card-kit {
  padding: 28px;
}
.card-kit .kit-color {
  display: block;
  width: 32px;
  height: 2px;
  margin-bottom: 18px;
  border-radius: 1px;
}
.card-kit h4 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text);
}
.card-kit p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ============ STAT TILES ============ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.stat {
  padding: 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 6px;
  position: relative;
}
.stat-accent::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 32px;
  height: 2px;
  background: var(--sym);
  box-shadow: 0 0 10px var(--sym-glow);
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.stat-value .unit { font-size: 0.5em; color: var(--text-muted); font-weight: 300; margin-left: 4px; }
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============ PARTNER LOGOS ============ */
.partner-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.partner-strip > * {
  background: var(--ink-1);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 120px;
}
.partner-strip img,
.partner-strip .logo-mark {
  height: 32px;
  max-width: 100%;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.partner-strip .logo-mark.norsk-mark { filter: none; }  /* Norsk has color we keep */
.partner-strip .logo-mark.no-invert { filter: none; }
.partner-strip .partner-role {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

/* Big partner card */
.partner-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 40px;
  background: linear-gradient(135deg, var(--ink-2) 0%, var(--ink-1) 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
  align-items: start;
}
.partner-card-logo {
  background: #fff;
  border-radius: 6px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}
.partner-card-logo img { max-width: 100%; max-height: 60px; display: block; }
.partner-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 6px;
}
.partner-card .role-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sym);
  margin-bottom: 16px;
  display: block;
}
.partner-card .anchor-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(33, 150, 243, 0.1);
  border: 1px solid rgba(33, 150, 243, 0.3);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sym-bright);
  margin-top: 16px;
}

/* ============ FLOW DIAGRAM ============ */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  margin: 48px 0;
}
.flow-step {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-top: 2px solid var(--sym);
  border-radius: 6px;
  padding: 24px 20px;
  position: relative;
}
.flow-step .flow-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--sym);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.flow-step h4 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--text);
}
.flow-step p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}
.flow-step:not(:last-child)::after {
  content: '›';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--sym);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  padding: 140px 32px 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(33, 150, 243, 0.15), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(33, 150, 243, 0.08), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-wide);
  margin: 0 auto;
  width: 100%;
}

.hero-logo {
  height: clamp(70px, 8vw, 110px);
  width: auto;
  margin-bottom: 40px;
  display: block;
  filter: drop-shadow(0 0 40px rgba(33, 150, 243, 0.25));
}
.hero h1 {
  font-size: clamp(48px, 6.5vw, 84px);
  line-height: 1.0;
  max-width: 1100px;
  margin-bottom: 28px;
  font-weight: 300;
}
.hero h1 strong { font-weight: 500; color: var(--text); }
.hero h1 em { font-style: italic; color: var(--sym); font-weight: 400; }
.hero-tagline {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--text-soft);
  max-width: 760px;
  margin-bottom: 48px;
  line-height: 1.5;
  font-weight: 300;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}
.hero-strip {
  border-top: 1px solid var(--line);
  padding-top: 36px;
}
.hero-strip-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
  display: block;
}

/* ============ RED LOCKUP ============ */
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 20px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(33,150,243,0.15) inset, 0 8px 32px rgba(0,0,0,0.4);
  position: relative;
}
.lockup::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(33,150,243,0.3), transparent 50%, rgba(33,150,243,0.2));
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.lockup img.red {
  height: 36px;
  width: auto;
}
.lockup .divider {
  width: 1px;
  height: 32px;
  background: var(--line-strong);
}
.lockup .sym-text {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.lockup .sym-text .em { color: var(--sym); font-style: italic; font-weight: 300; }

/* ============ GLOBAL RED MARK ============ */
/* The RED logo is now white-on-transparent so it displays directly on dark BG */
.red-mark {
  display: block;
}
/* The master RED + Symphonē lockup image (already light on dark, no filter needed) */
.master-lockup {
  display: block;
  margin: 40px auto;
  max-width: 720px;
  width: 100%;
  height: auto;
}
.master-lockup-sm {
  display: block;
  margin: 24px auto;
  max-width: 480px;
  width: 100%;
  height: auto;
}

/* ============ ECONOMICS TABLE ============ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
}
.compare-table th, .compare-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.compare-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  padding-bottom: 14px;
}
.compare-table td.label {
  font-weight: 500;
  color: var(--text);
}
.compare-table td.legacy { color: var(--text-muted); }
.compare-table td.sym {
  color: var(--sym-bright);
  font-weight: 600;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: 80px 32px 40px;
  margin-top: 80px;
  position: relative;
  z-index: 2;
}
.footer-inner {
  max-width: var(--container); /* match page content width: 1200px */
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.footer-brand img {
  height: 32px;
  margin-bottom: 20px;
  display: block;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom span { display: inline-flex; align-items: center; gap: 10px; }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.9s var(--ease-out) both; }
.fade-up-1 { animation: fadeUp 0.9s 0.1s var(--ease-out) both; }
.fade-up-2 { animation: fadeUp 0.9s 0.2s var(--ease-out) both; }
.fade-up-3 { animation: fadeUp 0.9s 0.35s var(--ease-out) both; }
.fade-up-4 { animation: fadeUp 0.9s 0.5s var(--ease-out) both; }
.fade-up-5 { animation: fadeUp 0.9s 0.65s var(--ease-out) both; }
.fade-up-6 { animation: fadeUp 0.9s 0.8s var(--ease-out) both; }

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.live-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sym);
  box-shadow: 0 0 10px var(--sym);
  animation: pulse 2s ease-in-out infinite;
}

/* ============ GRIDS ============ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (min-width: 1024px) { .grid-6 { grid-template-columns: repeat(3, 1fr); } }

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

/* ============ CALLOUT ============ */
.callout {
  padding: 32px 36px;
  background: linear-gradient(135deg, rgba(33,150,243,0.08), rgba(33,150,243,0.02));
  border-left: 2px solid var(--sym);
  border-radius: 4px;
  margin: 32px 0;
}
.callout p {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.4;
  color: var(--text);
  font-weight: 300;
  letter-spacing: -0.01em;
}
.callout p em { color: var(--sym-bright); font-style: italic; }

/* ============ FORMS ============ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-field input, .form-field textarea, .form-field select {
  background: var(--ink-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: all 0.2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--sym);
  background: var(--ink-2);
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.12);
}
.form-field textarea { min-height: 140px; resize: vertical; font-family: var(--font-body); }

/* ============ INQUIRY ROUTES ============ */
.routes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.route {
  padding: 28px;
  background: var(--ink-1);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s;
  text-align: left;
  color: var(--text);
  display: block;
  text-decoration: none;
}
.route:hover {
  border-color: var(--sym);
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  transform: translateY(-2px);
}
.route .route-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sym);
  margin-bottom: 12px;
  display: block;
}
.route h4 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 8px;
}
.route p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* ============ FINANCIALS TABLE ============ */
.fin-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.fin-table th {
  background: var(--ink-2);
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  border-bottom: 1px solid var(--line-strong);
}
.fin-table th:not(:first-child) { text-align: right; }
.fin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
}
.fin-table td:first-child { color: var(--text); font-weight: 500; }
.fin-table td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.fin-table tr.total td {
  background: rgba(33, 150, 243, 0.04);
  font-weight: 600;
  color: var(--text);
}
.fin-table tr.total td:not(:first-child) { color: var(--sym-bright); }
.fin-table tr.profit td:not(:first-child) { color: #4ade80; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .partner-strip { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-step:nth-child(2):not(:last-child)::after { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-cta { display: none; }
  .section { padding: 80px 24px; }
  .hero { padding: 110px 24px 60px; min-height: auto; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 12px; }
  .flow-step::after { display: none !important; }
  .partner-card { grid-template-columns: 1fr; gap: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .routes { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .lockup { padding: 16px 20px; gap: 16px; }
  .lockup img.red { height: 28px; }
  .lockup .sym-text { font-size: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Mobile nav panel */
.mobile-panel {
  position: fixed;
  top: 80px;
  left: 0; right: 0;
  background: var(--ink-1);
  border-bottom: 1px solid var(--line);
  padding: 24px 32px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-out);
  z-index: 99;
}
.mobile-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-panel ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-panel a {
  color: var(--text);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
}

/* Hide on desktop */
@media (min-width: 769px) {
  .mobile-panel { display: none; }
}

/* ============ NEW: BRAND LOCKUP (HTML/CSS, no missing image) ============ */
.brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 56px 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  position: relative;
  margin: 40px auto;
  max-width: 760px;
}
.brand-lockup::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sym), transparent);
}
.brand-lockup-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}
.brand-lockup-divider {
  width: 1px;
  height: 64px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 30%, var(--line-strong) 70%, transparent);
}
@media (max-width: 640px) {
  .brand-lockup { flex-direction: column; gap: 24px; padding: 40px 24px; }
  .brand-lockup-divider { width: 64px; height: 1px; }
}

/* ============ NEW: SIMPLE FOOTER ============ */
.footer-simple {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-simple .live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sym);
  box-shadow: 0 0 8px var(--sym);
  margin-right: 8px;
  vertical-align: middle;
}

/* ============ NEW: HEAD STRENGTHENING ============ */
/* Ensure RED logo always shows on dark BG no matter the markup */
/* RED logo is now pre-inverted to white */

/* Lead text — fallback if .lead not in older CSS */
.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Footer link styling */
.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--text); }



/* ============ ECOSYSTEM PAGE - PARTNER GRID ============ */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 768px) {
  .partner-grid { grid-template-columns: 1fr; }
}
.partner-tile {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
}
.partner-tile:hover {
  border-color: rgba(33, 150, 243, 0.4);
}
.partner-tile.anchor {
  border-color: rgba(230, 0, 18, 0.35);
  background: linear-gradient(180deg, rgba(230, 0, 18, 0.06), rgba(33, 150, 243, 0.03));
  grid-column: 1 / -1;
}
.partner-tile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.partner-tile-logo {
  display: flex;
  align-items: center;
  min-height: 60px;
  max-height: 80px;
}
.partner-tile-logo img {
  max-height: 64px;
  max-width: 280px;
  width: auto;
  height: auto;
  display: block;
}
.partner-tile-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.partner-tile.anchor .partner-tile-tag {
  color: var(--red);
  border-color: rgba(230, 0, 18, 0.4);
}
.partner-tile h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
}
.partner-tile-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sym-bright);
  margin-bottom: -8px;
}
.partner-tile p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}
.partner-tile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.partner-tile-meta-item {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 3px;
}

/* Text-mark fallback for partners without a real logo file */
.text-mark {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.text-mark .dot { color: var(--sym); }
.text-mark .em { font-weight: 300; color: var(--sym-bright); font-style: italic; }


/* iPad / medium-screen footer tuning: prevent the harsh edge-pinning */
@media (min-width: 769px) and (max-width: 1400px) {
  .footer-simple {
    gap: 48px;
    justify-content: center;
    text-align: center;
  }
  .footer-simple > div:first-child {
    flex: 0 1 auto;
  }
  .footer-simple > div:first-child img,
  .footer-simple > div:first-child p {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-bottom {
    justify-content: center !important;
    text-align: center;
    gap: 24px !important;
  }
}


/* ============ INLINE CTA BAND ============ */
/* Drop this between major sections to keep the Get-In-Touch / Demo path visible */
.cta-band {
  max-width: 1100px;
  margin: 24px auto 0;
  padding: 36px 40px;
  background:
    linear-gradient(135deg, rgba(33, 150, 243, 0.10) 0%, rgba(33, 150, 243, 0.03) 100%);
  border: 1px solid rgba(33, 150, 243, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: 0 0 0 1px rgba(33, 150, 243, 0.06), 0 8px 40px rgba(33, 150, 243, 0.08);
}
.cta-band-text {
  flex: 1 1 380px;
}
.cta-band-text h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 6px 0;
  line-height: 1.25;
}
.cta-band-text h3 em {
  font-style: italic;
  color: var(--sym-bright);
}
.cta-band-text p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}
.cta-band-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .cta-band { padding: 28px 24px; }
  .cta-band-text h3 { font-size: 22px; }
}

/* ============ FLOATING CTA (mobile, persistent) ============ */
/* On phones only — a sticky button bottom-right so demo CTA is always tap-reachable */
.floating-cta {
  display: none;
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom, 20px));
  right: 20px;
  z-index: 9999;
  background: var(--sym);
  color: #fff;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  box-shadow:
    0 0 0 1px rgba(33, 150, 243, 0.5),
    0 6px 24px rgba(33, 150, 243, 0.5),
    0 12px 40px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.02em;
  align-items: center;
  gap: 6px;
  isolation: isolate;
}
@media (max-width: 768px) {
  .floating-cta { display: inline-flex; }
}

/* ============ SECTION VISUAL ============ */
/* Image + text two-up for breaking up long copy blocks */
.section-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}
.section-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(33, 150, 243, 0.18);
  box-shadow:
    0 0 0 1px rgba(33, 150, 243, 0.06),
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(33, 150, 243, 0.08);
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.03), rgba(0, 0, 0, 0.6));
}
.section-visual.reverse > div:first-child { order: 2; }
.section-visual .text-side h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 16px 0;
  line-height: 1.2;
}
.section-visual .text-side h3 em {
  font-style: italic;
  color: var(--sym-bright);
}
.section-visual .text-side p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 12px 0;
}
@media (max-width: 900px) {
  .section-visual { grid-template-columns: 1fr; gap: 32px; }
  .section-visual.reverse > div:first-child { order: 0; }
}

/* ============ SVG ICON STYLING (for section eyebrows and cards) ============ */
.icon-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.icon-eyebrow svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: var(--sym);
  stroke-width: 1.5;
  fill: none;
}
.platform-cell .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(33, 150, 243, 0.08);
  border: 1px solid rgba(33, 150, 243, 0.2);
  margin-bottom: 14px;
}
.platform-cell .icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--sym-bright);
  stroke-width: 1.5;
  fill: none;
}


/* ============ HERO V2 — BIGGER, MORE COMPOSED ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 32px 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  text-align: left;
}

/* Hero eyebrow — small label above logo */
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sym-bright);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  padding: 8px 16px;
  background: rgba(33, 150, 243, 0.08);
  border: 1px solid rgba(33, 150, 243, 0.25);
  border-radius: 999px;
}
.hero-eyebrow .live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sym);
  box-shadow: 0 0 12px var(--sym);
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px var(--sym); }
  50% { opacity: 0.6; box-shadow: 0 0 6px var(--sym); }
}

/* Big hero logo — THE MOMENT */
.hero-logo-big {
  display: block;
  width: 100%;
  max-width: 880px;
  height: auto;
  margin: 0 0 56px 0;
  filter:
    drop-shadow(0 0 60px rgba(33, 150, 243, 0.35))
    drop-shadow(0 0 120px rgba(33, 150, 243, 0.15));
}

.hero h1 {
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.0;
  font-weight: 300;
  margin: 0 0 24px 0;
  max-width: 900px;
}
.hero h1 em {
  font-style: italic;
  color: var(--sym-bright);
  font-weight: 400;
}

.hero-tagline {
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--text-soft);
  max-width: 700px;
  margin: 0 0 48px 0;
  line-height: 1.4;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}
.hero-cta .btn {
  padding: 16px 28px;
  font-size: 15px;
}

/* Hero bottom strip — partner credibility row */
.hero-strip {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  max-width: 900px;
}
.hero-strip-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 20px;
}
.hero-partners {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-partners .hp-tag {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.01em;
}
.hero-partners .hp-divider {
  width: 1px;
  height: 14px;
  background: var(--line-strong);
}

/* Hero bg gradient — push it more dramatic */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 25% 35%, rgba(33, 150, 243, 0.22), transparent 65%),
    radial-gradient(ellipse 50% 45% at 85% 65%, rgba(33, 150, 243, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Mobile tuning */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 100px 24px 60px;
  }
  .hero-eyebrow { font-size: 10px; margin-bottom: 32px; }
  .hero-logo-big { margin-bottom: 36px; }
  .hero h1 { font-size: clamp(36px, 9vw, 56px); }
  .hero-tagline { font-size: 18px; margin-bottom: 32px; }
  .hero-cta { margin-bottom: 48px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-partners { gap: 10px; }
  .hero-partners .hp-tag { font-size: 13px; }
}


/* ============ HERO V3 — TWO-COLUMN WITH SIGNAL-FLOW ANIMATION ============ */

.hero-v3 {
  position: relative;
  min-height: 100vh;
  padding: 100px 32px 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-v3::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 25% 35%, rgba(33, 150, 243, 0.18), transparent 65%),
    radial-gradient(ellipse 50% 45% at 85% 65%, rgba(33, 150, 243, 0.08), transparent 70%);
  pointer-events: none;
}
.hero-v3-grid {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 80px;
  align-items: center;
}
@media (max-width: 1024px) {
  .hero-v3-grid { grid-template-columns: 1fr; gap: 56px; }
}

.hero-v3-left {
  text-align: left;
}
.hero-v3-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sym-bright);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding: 8px 16px;
  background: rgba(33, 150, 243, 0.08);
  border: 1px solid rgba(33, 150, 243, 0.25);
  border-radius: 999px;
}
.hero-v3-eyebrow .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sym);
  box-shadow: 0 0 12px var(--sym);
  animation: live-pulse 2s ease-in-out infinite;
}
.hero-v3-logo {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
  margin: 0 0 36px 0;
  filter:
    drop-shadow(0 0 50px rgba(33, 150, 243, 0.35))
    drop-shadow(0 0 100px rgba(33, 150, 243, 0.15));
}
.hero-v3-h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.0;
  font-weight: 300;
  margin: 0 0 20px 0;
}
.hero-v3-h1 em {
  font-style: italic;
  color: var(--sym-bright);
  font-weight: 400;
}
.hero-v3-tagline {
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--text-soft);
  margin: 0 0 36px 0;
  line-height: 1.45;
  font-weight: 300;
  max-width: 540px;
}
.hero-v3-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Partner strip with actual logos */
.hero-v3-partners-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 18px;
}
.hero-v3-partners {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-v3-partners img.hp-anchor {
  height: 26px;
  width: auto;
  opacity: 0.95;
}
.hero-v3-partners .hp-divider {
  width: 1px;
  height: 18px;
  background: var(--line-strong);
}
.hero-v3-partners .hp-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.01em;
  opacity: 0.85;
}

/* === THE SIGNAL FLOW ANIMATION (right column) === */
.signal-flow {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(33, 150, 243, 0.04), rgba(0, 0, 0, 0.6)),
    var(--ink-1);
  overflow: hidden;
  padding: 56px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow:
    0 0 0 1px rgba(33, 150, 243, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.signal-flow-label {
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 4;
}
.signal-flow-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sym);
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 8px var(--sym);
  animation: live-pulse 1.5s ease-in-out infinite;
}

/* The schematic stages inside the signal-flow card — flow vertically */
.sf-stage {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}
.sf-stage .sf-node {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 12px;
  background: rgba(33, 150, 243, 0.04);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: color 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.sf-stage.active .sf-node {
  color: var(--sym-bright);
  background: rgba(33, 150, 243, 0.12);
  border-color: rgba(33, 150, 243, 0.4);
  box-shadow: 0 0 16px rgba(33, 150, 243, 0.25);
}

/* Stage 1 — capture */
.sf-capture { flex-direction: column; align-items: flex-start; }
.sf-capture .sf-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.sf-capture .sf-cam {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text);
  font-weight: 500;
}
.sf-capture .sf-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* Stage 2 — middle nodes (ingest / process / output) — vertical stack */
.sf-pipeline {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.sf-pipeline .sf-node {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sf-pipeline .sf-node-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sf-pipeline .sf-node-detail {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Stage 3 — outputs (grid of destinations at the bottom) */
.sf-outputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.sf-outputs .sf-out {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: center;
  transition: all 0.4s;
}
.sf-outputs .sf-out.active {
  color: var(--sym-bright);
  background: rgba(33, 150, 243, 0.1);
  border-color: rgba(33, 150, 243, 0.35);
  box-shadow: 0 0 12px rgba(33, 150, 243, 0.25);
}

/* The animated signal "beam" that travels from capture to outputs */
.signal-flow svg.sf-beam {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.6;
}
.sf-beam-path {
  fill: none;
  stroke: rgba(33, 150, 243, 0.15);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}
.sf-beam-pulse {
  fill: none;
  stroke: var(--sym-bright);
  stroke-width: 2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px var(--sym-bright));
  stroke-dasharray: 30 600;
  stroke-dashoffset: 600;
  animation: sf-pulse-travel 6s linear infinite;
}
@keyframes sf-pulse-travel {
  0%   { stroke-dashoffset: 600; }
  100% { stroke-dashoffset: -30; }
}

/* The orchestration loop — repeating animations on the nodes that fire in sequence */
@keyframes sf-node-fire-capture {
  0%, 16%   { opacity: 1; }
  18%, 100% { opacity: 0.55; }
}
@keyframes sf-node-fire-ingest {
  0%, 20%   { opacity: 0.55; }
  22%, 32%  { opacity: 1; }
  34%, 100% { opacity: 0.55; }
}
@keyframes sf-node-fire-process {
  0%, 36%   { opacity: 0.55; }
  38%, 48%  { opacity: 1; }
  50%, 100% { opacity: 0.55; }
}
@keyframes sf-node-fire-output {
  0%, 52%   { opacity: 0.55; }
  54%, 64%  { opacity: 1; }
  66%, 100% { opacity: 0.55; }
}
@keyframes sf-out-fire {
  0%, 72%   { opacity: 0.4; }
  76%, 90%  { opacity: 1; }
  92%, 100% { opacity: 0.4; }
}

.signal-flow .sf-capture { animation: sf-node-fire-capture 6s ease-in-out infinite; }
.signal-flow .sf-stage[data-stage="ingest"] { animation: sf-node-fire-ingest 6s ease-in-out infinite; }
.signal-flow .sf-stage[data-stage="process"] { animation: sf-node-fire-process 6s ease-in-out infinite; }
.signal-flow .sf-stage[data-stage="output"] { animation: sf-node-fire-output 6s ease-in-out infinite; }
.signal-flow .sf-out { animation: sf-out-fire 6s ease-in-out infinite; }
.signal-flow .sf-out:nth-child(2) { animation-delay: 0.2s; }
.signal-flow .sf-out:nth-child(3) { animation-delay: 0.4s; }
.signal-flow .sf-out:nth-child(4) { animation-delay: 0.1s; }
.signal-flow .sf-out:nth-child(5) { animation-delay: 0.3s; }
.signal-flow .sf-out:nth-child(6) { animation-delay: 0.5s; }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .signal-flow .sf-beam-pulse,
  .signal-flow .sf-capture,
  .signal-flow .sf-stage,
  .signal-flow .sf-out {
    animation: none !important;
  }
}

@media (max-width: 1024px) {
  .signal-flow { max-width: 520px; }
}
@media (max-width: 480px) {
  .signal-flow { max-width: 100%; padding: 48px 20px 20px; }
  .sf-capture .sf-cam { font-size: 17px; }
  .sf-pipeline .sf-node-detail { font-size: 8px; }
  .sf-outputs .sf-out { font-size: 8px; padding: 6px 4px; }
}

/* ============ WHO IT'S FOR — CARDS NOT TABLE ============ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 900px) {
  .audience-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .audience-grid { grid-template-columns: 1fr; }
}
.audience-card {
  padding: 24px 22px;
  background: var(--ink-1);
  border: 1px solid var(--line);
  border-radius: 8px;
  border-top: 2px solid var(--sym);
  transition: border-color 0.2s, transform 0.2s;
}
.audience-card:hover {
  border-top-color: var(--sym-bright);
  transform: translateY(-2px);
}
.audience-card .audience-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(33, 150, 243, 0.08);
  border: 1px solid rgba(33, 150, 243, 0.2);
  margin-bottom: 14px;
}
.audience-card .audience-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--sym-bright);
  stroke-width: 1.5;
  fill: none;
}
.audience-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text);
  margin: 0 0 8px 0;
  font-weight: 500;
}
.audience-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ============ PLATFORM CELLS — PRODUCT-SPECIFIC ICONS, BIGGER ============ */
/* Override the earlier generic style for richer presentation */
.platform-cell .icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.18), rgba(33, 150, 243, 0.05));
  border: 1px solid rgba(33, 150, 243, 0.3);
  margin-bottom: 18px;
  box-shadow: 0 0 24px rgba(33, 150, 243, 0.15);
}
.platform-cell .icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--sym-bright);
  stroke-width: 1.4;
  fill: none;
}
.platform-cell {
  position: relative;
  overflow: hidden;
}
.platform-cell::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at top right, rgba(33, 150, 243, 0.08), transparent 70%);
  pointer-events: none;
}


/* ============ CONTACT PAGE RESPONSIVE ============ */
@media (max-width: 768px) {
  /* Trust strip + other-ways grids collapse on phones */
  section[style*="padding: 0 32px 24px"] .container > div,
  section.section.section-tight .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}
@media (min-width: 769px) and (max-width: 920px) {
  section[style*="padding: 0 32px 24px"] .container > div[style*="repeat(3, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }
}


/* ============ ECOSYSTEM PIPELINE DIAGRAM ============ */
.pipeline-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 40px;
  position: relative;
}
.pipeline-step {
  position: relative;
  padding: 22px 18px 20px;
  background: linear-gradient(180deg, var(--ink-1), rgba(0, 0, 0, 0.5));
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.pipeline-step:hover {
  border-color: rgba(33, 150, 243, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(33, 150, 243, 0.12);
}
.pipeline-step .step-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  opacity: 0.6;
}
.pipeline-step .step-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sym-bright);
  margin-top: 4px;
}
.pipeline-step .step-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-top: 4px;
  line-height: 1.1;
}
.pipeline-step .step-detail {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 6px;
}

/* The anchor step (symphonē) is highlighted as the orchestrator */
.pipeline-step-anchor {
  background: linear-gradient(180deg, rgba(33, 150, 243, 0.12), rgba(33, 150, 243, 0.03));
  border-color: rgba(33, 150, 243, 0.4);
  box-shadow: 0 0 0 1px rgba(33, 150, 243, 0.1), 0 8px 32px rgba(33, 150, 243, 0.15);
}
.pipeline-step-anchor .step-num,
.pipeline-step-anchor .step-label {
  color: var(--sym-bright);
  opacity: 1;
}
.pipeline-step-anchor .step-name {
  color: var(--sym-bright);
}

/* Connector arrows between steps */
.pipeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10px;
  width: 8px;
  height: 1px;
  background: var(--sym);
  opacity: 0.4;
  z-index: 1;
}
.pipeline-step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: calc(50% - 3px);
  right: -8px;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--sym);
  border-top: 1px solid var(--sym);
  transform: rotate(45deg);
  opacity: 0.5;
  z-index: 1;
}

/* Responsive collapse */
@media (max-width: 1100px) {
  .pipeline-row { grid-template-columns: repeat(3, 1fr); }
  .pipeline-step:nth-child(3n)::after,
  .pipeline-step:nth-child(3n)::before {
    display: none;
  }
}
@media (max-width: 640px) {
  .pipeline-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pipeline-step { padding: 18px 14px 16px; }
  .pipeline-step .step-name { font-size: 17px; }
  .pipeline-step:nth-child(3n)::after,
  .pipeline-step:nth-child(3n)::before { display: block; }
  .pipeline-step:nth-child(2n)::after,
  .pipeline-step:nth-child(2n)::before { display: none; }
}


/* ============ HERO PARTNER BLOCK V2 — ANCHOR + ECOSYSTEM ============ */
.hero-v3-partner-block {
  margin-top: 8px;
}

/* Anchor row: RED gets prominence */
.hero-v3-anchor-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-v3-anchor-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sym-bright);
  flex-shrink: 0;
}
.hero-v3-anchor-logo {
  height: 30px;
  width: auto;
  opacity: 1;
}

/* Ecosystem partners: secondary tier, each with a role label */
.hero-v3-ecosystem {
  margin-top: 20px;
}
.hero-v3-ecosystem-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 16px;
}
.hero-v3-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}
.hep {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}
.hep img {
  height: 18px;
  width: auto;
  max-width: 100%;
  opacity: 0.82;
  filter: grayscale(0.15);
  transition: opacity 0.25s, filter 0.25s;
}
.hep:hover img {
  opacity: 1;
  filter: grayscale(0);
}
.hep .hep-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--text-soft);
  line-height: 1;
  opacity: 0.9;
}
.hep .hep-role {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .hero-v3-ecosystem-grid { grid-template-columns: 1fr 1fr; gap: 18px 24px; }
  .hero-v3-anchor-row { gap: 14px; padding: 14px 0; }
  .hero-v3-anchor-label { font-size: 9px; }
  .hero-v3-anchor-logo { height: 24px; }
}

/* ============ ECOSYSTEM CHART (hero right column) ============ */
.eco-flow {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 28px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(33, 150, 243, 0.04), rgba(0, 0, 0, 0.6)),
    var(--ink-1);
  box-shadow:
    0 0 0 1px rgba(33, 150, 243, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.eco-flow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.eco-flow-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eco-flow-label .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sym);
  box-shadow: 0 0 8px var(--sym);
  animation: live-pulse 1.5s ease-in-out infinite;
}
.eco-flow-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.eco-flow-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Each stage row */
.eco-stage {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
  border-radius: 8px;
  align-items: center;
  transition: all 0.5s ease;
}
.eco-stage-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.eco-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}
.eco-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sym-bright);
}
.eco-partner {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.05;
  letter-spacing: -0.01em;
  display: block;
}
.eco-detail {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  display: block;
  margin-top: 3px;
}

/* The middle stage (symphonē) gets a permanent highlight as the orchestrator */
.eco-stage.eco-anchor {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.14), rgba(33, 150, 243, 0.04));
  border-color: rgba(33, 150, 243, 0.4);
  box-shadow: 0 0 0 1px rgba(33, 150, 243, 0.1), 0 6px 24px rgba(33, 150, 243, 0.18);
}
.eco-stage.eco-anchor .eco-partner {
  color: var(--sym-bright);
}
.eco-stage.eco-anchor .eco-detail {
  color: var(--text-soft);
}

/* Mini vertical connector between stages */
.eco-connector {
  width: 1px;
  height: 12px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--sym), transparent);
  opacity: 0.4;
  position: relative;
  overflow: hidden;
}

/* === The traveling pulse animation === */
/* Each stage lights up in sequence as the signal arrives, then fades */
@keyframes eco-stage-pulse {
  0%, 100% {
    border-color: var(--line);
    box-shadow: none;
  }
  10%, 18% {
    border-color: rgba(33, 150, 243, 0.6);
    box-shadow: 0 0 0 1px rgba(33, 150, 243, 0.3), 0 0 28px rgba(33, 150, 243, 0.25);
  }
}
@keyframes eco-connector-flow {
  0%, 100% { opacity: 0.4; }
  15%, 25% { opacity: 1; background: linear-gradient(180deg, var(--sym-bright), var(--sym)); box-shadow: 0 0 8px var(--sym-bright); }
}

/* Sequence: 12-second loop, each stage gets ~2s of its turn */
.eco-stage[data-stage="1"] { animation: eco-stage-pulse 12s ease-in-out infinite; animation-delay: 0s; }
.eco-stage[data-stage="2"] { animation: eco-stage-pulse 12s ease-in-out infinite; animation-delay: 2s; }
.eco-stage[data-stage="3"] { animation: eco-stage-pulse 12s ease-in-out infinite; animation-delay: 4s; }
.eco-stage[data-stage="4"] { animation: eco-stage-pulse 12s ease-in-out infinite; animation-delay: 6s; }
.eco-stage[data-stage="5"] { animation: eco-stage-pulse 12s ease-in-out infinite; animation-delay: 8s; }
.eco-stage[data-stage="6"] { animation: eco-stage-pulse 12s ease-in-out infinite; animation-delay: 10s; }

/* The anchor stage (symphonē) — keep its permanent highlight stronger than the pulse */
.eco-stage.eco-anchor[data-stage="3"] {
  animation: eco-anchor-pulse 12s ease-in-out infinite;
  animation-delay: 4s;
}
@keyframes eco-anchor-pulse {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(33, 150, 243, 0.1), 0 6px 24px rgba(33, 150, 243, 0.18);
  }
  10%, 18% {
    box-shadow: 0 0 0 1px rgba(33, 150, 243, 0.5), 0 0 36px rgba(33, 150, 243, 0.35), 0 6px 24px rgba(33, 150, 243, 0.25);
  }
}

/* Connectors flow in sequence too */
.eco-connector:nth-of-type(2) { animation: eco-connector-flow 12s ease-in-out infinite; animation-delay: 1.5s; }
.eco-connector:nth-of-type(4) { animation: eco-connector-flow 12s ease-in-out infinite; animation-delay: 3.5s; }
.eco-connector:nth-of-type(6) { animation: eco-connector-flow 12s ease-in-out infinite; animation-delay: 5.5s; }
.eco-connector:nth-of-type(8) { animation: eco-connector-flow 12s ease-in-out infinite; animation-delay: 7.5s; }
.eco-connector:nth-of-type(10) { animation: eco-connector-flow 12s ease-in-out infinite; animation-delay: 9.5s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .eco-stage,
  .eco-stage.eco-anchor,
  .eco-connector {
    animation: none !important;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .eco-flow { max-width: 520px; }
}
@media (max-width: 480px) {
  .eco-flow { padding: 22px 18px; }
  .eco-stage { grid-template-columns: 70px 1fr; gap: 12px; padding: 10px 12px; }
  .eco-partner { font-size: 16px; }
  .eco-detail { font-size: 9px; }
  .eco-num, .eco-role { font-size: 9px; }
}
