/* =============================================================
   SAG · AI Safeguard Finance — Landing Page
   Marketing surface. Dark-first. Uses tokens from tokens.css.
   ============================================================= */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(215, 72, 46, 0.06), transparent 60%),
    linear-gradient(180deg, #181E30 0%, var(--bg-page) 50%, #11151F 100%);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
@media (max-width: 720px) {
  .container { padding: 0 var(--space-4); }
}

/* ---------- Section base ---------- */
section {
  padding: var(--space-16) 0;
  border-top: 1px solid var(--border-hairline);
}
section:first-of-type { border-top: none; }
@media (max-width: 720px) {
  section { padding: var(--space-12) 0; }
}

.section-head {
  margin-bottom: var(--space-10);
}
/* Section-level eyebrows ("The problem", "The solution", ...) — larger + brand accent.
   Card-level eyebrows (.pilot-split-card, .flow-node, specs) keep the small token default. */
.section-head .sag-eyebrow,
.fl-content > .sag-eyebrow,
.persona-band-inner .sag-eyebrow {
  margin-bottom: var(--space-3);
  display: block;
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--sag-brand-red);
}
.section-head h2 {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-4);
  /* No max-width — uses the full container width, wraps only when needed */
}
.section-head p {
  color: var(--fg-secondary);
  font-size: var(--text-lg);
  line-height: 1.5;
  max-width: 720px;   /* keep body text readable — 60–75 chars per line */
}

/* ---------- Top bar / Header ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #181E30;
  border-bottom: 1px solid var(--border-hairline);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
/* ---------- Brand lockup: [10xT logo] | AI Safeguard Finance ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-bottom: none;
  text-decoration: none;
  line-height: 1;
}
.brand:hover { border-bottom: none; }

.brand-10xt-logo {
  height: 34px;
  width: auto;
  display: block;
  transition: opacity var(--duration-fast) var(--ease-standard);
}
.brand:hover .brand-10xt-logo { opacity: 0.88; }

.brand-divider {
  width: 1px;
  height: 28px;
  background: var(--border-subtle);
  display: inline-block;
}

.brand-product {
  font-family: var(--font-sans);
  font-weight: var(--weight-medium);
  font-size: 18px;
  line-height: 1;
  color: var(--fg-primary);
  letter-spacing: -0.005em;
}
.brand-product-accent {
  color: var(--sag-brand-red);
  font-weight: var(--weight-semibold);
}

@media (max-width: 720px) {
  .brand { gap: 10px; }
  .brand-10xt-logo { height: 28px; }
  .brand-divider { height: 24px; }
  .brand-product { font-size: 16px; }
}
@media (max-width: 480px) {
  .brand-divider, .brand-product { display: none; }
}
.topbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.topbar-nav a {
  color: var(--fg-secondary);
  font-size: var(--text-md);
  border-bottom: none;
}
.topbar-nav a:hover { color: var(--fg-primary); border-bottom: none; }
@media (max-width: 860px) {
  .topbar-nav .nav-link { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-weight: var(--weight-medium);
  font-size: var(--text-md);
  line-height: 1;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-standard);
}
.btn:hover { border-bottom: 1px solid transparent; }
.btn-primary {
  background: var(--sag-brand-red);
  color: #FFFFFF;
}
.btn-primary:hover {
  background: var(--sag-brand-red-hover);
  color: #FFFFFF;
}
.btn-secondary {
  background: transparent;
  color: var(--fg-primary);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-secondary:hover {
  background: var(--bg-surface-hover);
  color: var(--fg-primary);
  border-color: rgba(255, 255, 255, 0.38);
}
.btn-ghost {
  background: transparent;
  color: var(--fg-secondary);
  padding: 8px 12px;
}
.btn-ghost:hover { color: var(--fg-primary); }

/* ---------- Hero (text-only, Linear/Stripe enterprise style) ---------- */
.hero {
  padding: var(--space-16) 0 var(--space-12);
  border-top: none;
}
.hero-content {
  max-width: 880px;
  /* Left-aligned, not centred — feels more authoritative for FS buyers */
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--sag-brand-red);
  margin-bottom: var(--space-5);
}
.hero-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--sag-brand-red);
  border-radius: var(--radius-pill);
}
.hero h1 {
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: var(--weight-semibold);
  margin: 0 0 var(--space-5);
}
.hero h1 .accent { color: var(--sag-brand-red); }
@media (max-width: 720px) { .hero h1 { font-size: 38px; } }

.hero-lede {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--fg-secondary);
  max-width: 680px;
  margin: 0 0 var(--space-8);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--fg-tertiary);
}
.hero-meta span { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero-meta span::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--success);
  border-radius: var(--radius-pill);
}

/* "What you can prove on demand" promise card */
.hero-promises {
  margin: var(--space-6) 0 var(--space-5);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  background: rgba(27, 35, 55, 0.5);
}
.hero-promises-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--fg-tertiary);
  margin-bottom: var(--space-3);
}
.hero-promises-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2) var(--space-5);
}
@media (max-width: 640px) { .hero-promises-list { grid-template-columns: 1fr; } }
.hero-promises-list li {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  color: var(--fg-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.hero-promises-list li::before {
  content: "";
  width: 14px; height: 14px;
  border-radius: var(--radius-pill);
  background: var(--success-tint);
  border: 1px solid var(--success);
  position: relative;
  flex-shrink: 0;
}

/* ---------- Language toggle row (top, above main nav) ---------- */
.topbar-langs {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 5px 0 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(12, 14, 25, 0.35);
}

/* ---------- Language toggle (compact, fits 5+ languages) ---------- */
.lang-toggle {
  display: inline-flex;
  gap: 0;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  padding: 1px;
  flex-shrink: 0;
}
.lang-toggle button {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: none;
  border-radius: calc(var(--radius-sm) - 2px);
  background: transparent;
  color: var(--fg-tertiary);
  cursor: pointer;
  transition: background var(--duration-base) var(--ease-standard), color var(--duration-base);
  min-width: 24px;
}
.lang-toggle button:hover { color: var(--fg-primary); }
.lang-toggle button.active {
  background: var(--action-tint);
  color: var(--fg-primary);
}
.lang-toggle-compact button {
  padding: 2px 7px;
  font-size: 10px;
  letter-spacing: 0.06em;
}

/* ---------- Turkey-specific callout (TR only) ---------- */
.turkey-callout {
  padding: var(--space-12) 0;
  border-top: 1px solid var(--border-hairline);
  background: linear-gradient(180deg, rgba(215, 72, 46, 0.04) 0%, transparent 100%);
}
.turkey-callout .section-head {
  margin-bottom: var(--space-8);
}
.turkey-callout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
@media (max-width: 860px) { .turkey-callout-grid { grid-template-columns: 1fr; } }
.turkey-callout-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.turkey-callout-item h4 {
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  margin: 0 0 var(--space-3);
  color: var(--fg-primary);
}
.turkey-callout-item p {
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  line-height: 1.6;
  margin: 0;
}
.turkey-callout-footer {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--fg-tertiary);
  font-style: italic;
  max-width: 920px;
}

/* ---------- Persona band ---------- */
.persona-band {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  background: rgba(12, 14, 25, 0.4);
}
.persona-band-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 920px;
}
.persona-band-inner .sag-eyebrow {
  display: block;
}
.persona-band-inner p {
  font-size: var(--text-md);
  color: var(--fg-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Persona cards (Who this is for — 3-card grid per buyer model) */
.persona-card .persona-role {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--sag-brand-red);
  margin-bottom: var(--space-3);
}
.persona-card h3 {
  margin-bottom: var(--space-2);
}
.persona-footnote {
  text-align: center;
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: var(--fg-tertiary);
}

/* ---------- Stats strip ---------- */
.stat-strip {
  padding: var(--space-10) 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  background: rgba(12, 14, 25, 0.4);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}
@media (max-width: 860px) { .stat-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); } }
.stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.stat-value {
  font-family: var(--font-mono);
  font-weight: var(--weight-medium);
  font-size: 36px;
  line-height: 1.1;
  color: var(--fg-primary);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-value.red { color: var(--sag-brand-red); }
.stat-label {
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  line-height: 1.4;
}

/* ---------- Card ---------- */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--duration-base) var(--ease-standard),
              background var(--duration-base) var(--ease-standard);
}
.card:hover {
  border-color: var(--border-subtle);
  background: var(--bg-surface-hover);
}

/* ---------- Problem section ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}
@media (max-width: 860px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card .case-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--sag-brand-red);
  background: var(--sag-brand-red-tint);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
}
.problem-card h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin: 0 0 var(--space-2);
}
.problem-card p {
  color: var(--fg-secondary);
  font-size: var(--text-md);
  line-height: 1.5;
}

/* ---------- Architecture flow diagram (Solution section) ---------- */
.flow-diagram {
  display: block;
  width: 100%;
  max-width: 980px;
  margin: 0 auto var(--space-10);
  height: auto;
}
.flow-diagram .flow-box rect {
  stroke-width: 1;
}
.flow-diagram .flow-box text {
  fill: var(--fg-primary);
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: var(--weight-medium);
  text-anchor: middle;
  dominant-baseline: middle;
  letter-spacing: 0;
}

/* Dark boxes (Customer · AI Bot) */
.flow-diagram .flow-box-dark rect {
  fill: var(--bg-surface);
  stroke: var(--border-subtle);
}

/* Red boxes (Inbound Filter · Outbound Control) — SAG owned */
.flow-diagram .flow-box-red rect {
  fill: var(--sag-brand-red);
  stroke: var(--sag-brand-red);
}
.flow-diagram .flow-box-red text {
  fill: #FFFFFF;
}

/* Outline boxes (Quality / Logs / Compliance) */
.flow-diagram .flow-box-outline rect {
  fill: transparent;
  stroke: var(--border-subtle);
  stroke-dasharray: 0;
}
.flow-diagram .flow-box-outline text {
  fill: var(--fg-secondary);
  font-size: 15px;
}

/* Arrows */
.flow-diagram .flow-line {
  stroke: var(--sag-brand-red);
  stroke-width: 1.75;
  fill: none;
}
.flow-diagram marker path {
  fill: var(--sag-brand-red);
}

/* SAG core container (groups Quality / Logs / Compliance) */
.flow-diagram .flow-sag-container {
  fill: rgba(215, 72, 46, 0.04);
  stroke: rgba(215, 72, 46, 0.40);
  stroke-width: 1.5;
  stroke-dasharray: 6 6;
}
.flow-diagram .flow-sag-label {
  fill: var(--sag-brand-red);
  font-family: var(--font-mono);
  font-weight: var(--weight-bold);
  font-size: 18px;
  letter-spacing: 0.05em;
  text-anchor: start;
  dominant-baseline: middle;
}

/* ---------- Solution layers ---------- */
.layer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
@media (max-width: 980px) { .layer-grid { grid-template-columns: 1fr; } }
.layer-card { position: relative; }
.layer-number {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--fg-tertiary);
  margin-bottom: var(--space-3);
  display: block;
}
.layer-card h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  margin: 0 0 var(--space-2);
  letter-spacing: -0.01em;
}
.layer-subtitle {
  color: var(--sag-brand-red);
  font-size: var(--text-sm);
  font-family: var(--font-mono);
  margin-bottom: var(--space-4);
}
.layer-card p {
  color: var(--fg-secondary);
  font-size: var(--text-md);
  line-height: 1.55;
  margin-bottom: var(--space-4);
}
.layer-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--text-sm);
  color: var(--fg-secondary);
}
.layer-card ul li {
  padding: 6px 0 6px 18px;
  position: relative;
  border-top: 1px solid var(--border-hairline);
}
.layer-card ul li:first-child { border-top: none; }
.layer-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 8px; height: 1px;
  background: var(--sag-brand-red);
}

/* ---------- How it works (flow diagram) ---------- */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: var(--space-3);
  align-items: stretch;
  margin-top: var(--space-8);
}
@media (max-width: 980px) {
  .flow { grid-template-columns: 1fr; }
  .flow .flow-arrow { display: none; }
}
.flow-node {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: left;
}
.flow-node .sag-eyebrow { margin-bottom: var(--space-2); }
.flow-node h4 { margin-bottom: var(--space-2); }
.flow-node p { color: var(--fg-secondary); font-size: var(--text-sm); line-height: 1.45; }
.flow-arrow {
  align-self: center;
  color: var(--sag-brand-red);
  font-family: var(--font-mono);
  font-size: var(--text-lg);
}

/* ---------- Tech specs grid ---------- */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
@media (max-width: 860px) { .specs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .specs-grid { grid-template-columns: 1fr; } }
.spec {
  padding: var(--space-5);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
}
.spec.spec-accent {
  grid-column: 1 / -1;                /* span all columns, regardless of grid size */
  background:
    linear-gradient(135deg, rgba(215, 72, 46, 0.08) 0%, var(--bg-surface) 65%);
  border-color: rgba(215, 72, 46, 0.40);
  padding: var(--space-6) var(--space-8);
  text-align: left;
}
.spec.spec-accent .spec-eyebrow {
  color: var(--sag-brand-red);
  margin-bottom: var(--space-3);
}
.spec.spec-accent .spec-value {
  color: var(--fg-primary);
  font-size: 36px;
  margin-bottom: var(--space-4);
  line-height: 1.1;
}
.spec.spec-accent .spec-desc {
  font-size: var(--text-md);
  max-width: none;                    /* span the full card width */
  line-height: 1.55;
}
@media (max-width: 720px) {
  .spec.spec-accent { padding: var(--space-5); }
  .spec.spec-accent .spec-value { font-size: 26px; }
}
.spec-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--fg-tertiary);
  margin-bottom: var(--space-2);
  display: block;
}
.spec-value {
  font-family: var(--font-mono);
  font-weight: var(--weight-medium);
  font-size: 28px;
  line-height: 1.1;
  color: var(--fg-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-1);
}
.spec-desc {
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  line-height: 1.4;
}

/* ---------- Federated Learning section ---------- */
.fl-section {
  background:
    radial-gradient(800px 400px at 90% 50%, rgba(215, 72, 46, 0.06), transparent 60%),
    var(--bg-page);
}
.fl-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-12);
  align-items: center;
}
@media (max-width: 980px) {
  .fl-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}
.fl-content h2 {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}
.fl-lede {
  color: var(--fg-secondary);
  font-size: var(--text-lg);
  line-height: 1.55;
  margin-bottom: var(--space-6);
}
.fl-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fl-bullets li {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border-hairline);
}
.fl-bullets li:first-child { border-top: 1px solid var(--border-hairline); }
.fl-bullets strong {
  display: block;
  color: var(--fg-primary);
  font-weight: var(--weight-semibold);
  font-size: var(--text-md);
  margin-bottom: 4px;
}
.fl-bullets span {
  color: var(--fg-secondary);
  font-size: var(--text-md);
  line-height: 1.5;
}
/* ---------- FL animated orbit (SVG) ---------- */
.fl-orbit-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin: 0 auto;
  /* no background, no border — orbit floats on the section background */
}
.fl-orbit-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.fl-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.10);
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
  transform-box: view-box;
  transform-origin: 300px 300px;
  animation: fl-spin 180s linear infinite;
}

.fl-center-circle {
  fill: url(#flCenterGlow);
  stroke: var(--sag-brand-red);
  stroke-width: 2;
}
.fl-center-group {
  transform-box: view-box;
  transform-origin: 300px 300px;
  animation: fl-pulse-svg 4s ease-in-out infinite;
}
.fl-center-text {
  fill: var(--sag-brand-red);
  font-family: var(--font-sans);
  font-weight: var(--weight-semibold);
  font-size: 22px;
  letter-spacing: -0.005em;
  text-anchor: middle;
}

.fl-bank-orbit {
  transform-box: view-box;
  transform-origin: 300px 300px;
}
.fl-bank-counter {
  transform-box: fill-box;
  transform-origin: center;
}
.fl-bank-circle {
  fill: var(--bg-surface);
  stroke: var(--border-strong);
  stroke-width: 1.25;
}
.fl-bank-name {
  fill: var(--fg-primary);
  font-family: var(--font-sans);
  font-weight: var(--weight-semibold);
  font-size: 14px;
  text-anchor: middle;
}
.fl-bank-jur {
  fill: var(--fg-secondary);
  font-family: var(--font-mono);
  font-weight: var(--weight-medium);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-anchor: middle;
}

@media (prefers-reduced-motion: no-preference) {
  .fl-bank-orbit   { animation: fl-spin 60s linear infinite; }
  .fl-bank-counter { animation: fl-spin-rev 60s linear infinite; }
}

@keyframes fl-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes fl-spin-rev {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
@keyframes fl-pulse-svg {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50%      { filter: drop-shadow(0 0 18px rgba(215, 72, 46, 0.55)); }
}

/* Caption beneath the orbit */
.fl-orbit-caption {
  margin-top: var(--space-3);
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--fg-tertiary);
}

/* FL comparison table — "Cloud vs. In-house vs. SAG" */
.fl-compare {
  margin-top: var(--space-10);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
}
.fl-compare table {
  width: 100%;
  border-collapse: collapse;
}
.fl-compare th, .fl-compare td {
  padding: var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--border-hairline);
  font-size: var(--text-md);
  vertical-align: middle;
}
.fl-compare tbody tr:last-child td { border-bottom: none; }
.fl-compare thead th {
  background: var(--bg-inset);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--fg-tertiary);
  font-weight: var(--weight-medium);
}
.fl-compare thead th.sag-col {
  color: var(--sag-brand-red);
}
.fl-compare td.dim-label {
  font-weight: var(--weight-semibold);
  color: var(--fg-primary);
  font-size: var(--text-md);
}
.fl-compare td.cell-yes {
  color: var(--success);
  font-family: var(--font-mono);
}
.fl-compare td.cell-no {
  color: var(--critical);
  font-family: var(--font-mono);
}
.fl-compare td.cell-partial {
  color: var(--warning);
  font-family: var(--font-mono);
}
.fl-compare td.cell-note {
  color: var(--fg-secondary);
  font-size: var(--text-sm);
  font-family: var(--font-mono);
  display: block;
  margin-top: 2px;
}
.fl-compare td.sag-col {
  background: rgba(215, 72, 46, 0.04);
}
@media (max-width: 720px) {
  .fl-compare th, .fl-compare td { padding: var(--space-3); font-size: var(--text-sm); }
}

/* ---------- For Platform builders (embedded / white-label) section ---------- */
.platforms-section {
  background:
    radial-gradient(700px 350px at 90% 0%, rgba(101, 155, 232, 0.05), transparent 60%),
    var(--bg-page);
}
.platforms-section .section-head {
  margin-bottom: var(--space-10);
}
.platforms-cta {
  margin-top: var(--space-10);
  padding: var(--space-6);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.platforms-cta p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-md);
  color: var(--fg-secondary);
  line-height: 1.5;
  max-width: 540px;
}
.platforms-cta p strong {
  color: var(--fg-primary);
  font-weight: var(--weight-semibold);
}
@media (max-width: 720px) {
  .platforms-cta {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* ---------- Pilot Programme section ---------- */
.pilot-section {
  background:
    radial-gradient(600px 300px at 10% 100%, rgba(215, 72, 46, 0.05), transparent 60%),
    var(--bg-page);
}
.pilot-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-10);
  align-items: start;
  margin-bottom: var(--space-12);
}
@media (max-width: 980px) {
  .pilot-hero { grid-template-columns: 1fr; gap: var(--space-6); }
}
.pilot-hero h2 {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.pilot-hero p {
  color: var(--fg-secondary);
  font-size: var(--text-lg);
  line-height: 1.55;
}
.pilot-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.pilot-metric {
  padding: var(--space-4);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
}
.pilot-metric-value {
  font-family: var(--font-mono);
  font-weight: var(--weight-medium);
  font-size: var(--text-xl);
  color: var(--fg-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.pilot-metric-label {
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  line-height: 1.4;
}

.pilot-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}
@media (max-width: 860px) { .pilot-split { grid-template-columns: 1fr; } }
.pilot-split-card {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  background: var(--bg-surface);
}
.pilot-split-card.we-handle {
  border-color: rgba(215, 72, 46, 0.3);
  background: rgba(215, 72, 46, 0.04);
}
.pilot-split-card .sag-eyebrow {
  margin-bottom: var(--space-3);
  display: block;
}
.pilot-split-card.we-handle .sag-eyebrow {
  color: var(--sag-brand-red);
}
.pilot-split-card p {
  font-size: var(--text-md);
  color: var(--fg-primary);
  line-height: 1.55;
  margin: 0;
}

.pilot-delivery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
@media (max-width: 860px) { .pilot-delivery { grid-template-columns: 1fr; } }
.pilot-delivery-card {
  padding: var(--space-5);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
}
.pilot-delivery-card .sag-eyebrow {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--sag-brand-red);
}
.pilot-delivery-card h4 {
  font-size: var(--text-lg);
  margin: 0 0 var(--space-2);
}
.pilot-delivery-card p {
  color: var(--fg-secondary);
  font-size: var(--text-md);
  line-height: 1.5;
  margin: 0;
}

/* ---------- Regulatory table ---------- */
.reg-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.reg-table thead {
  background: var(--bg-inset);
}
.reg-table th {
  text-align: left;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--fg-tertiary);
  font-weight: var(--weight-medium);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-hairline);
}
.reg-table td {
  padding: var(--space-4);
  font-size: var(--text-md);
  color: var(--fg-primary);
  border-bottom: 1px solid var(--border-hairline);
  vertical-align: top;
}
.reg-table tr:last-child td { border-bottom: none; }
.reg-table .jur {
  font-family: var(--font-mono);
  font-weight: var(--weight-medium);
  color: var(--fg-primary);
}
.reg-table .law { color: var(--fg-primary); }
.reg-table .law a {
  color: var(--fg-primary);
  text-decoration: underline;
  text-decoration-color: rgba(215, 72, 46, 0.45);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color var(--duration-base) var(--ease-standard), color var(--duration-base);
}
.reg-table .law a:hover {
  color: var(--sag-brand-red);
  text-decoration-color: var(--sag-brand-red);
}
.reg-table .req { color: var(--fg-secondary); font-size: var(--text-sm); }
.reg-table .deadline {
  font-family: var(--font-mono);
  color: var(--sag-brand-red);
  font-size: var(--text-sm);
}
.reg-table .deadline.live { color: var(--success); }
@media (max-width: 720px) {
  .reg-table thead { display: none; }
  .reg-table, .reg-table tbody, .reg-table tr, .reg-table td { display: block; width: 100%; }
  .reg-table tr {
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-hairline);
  }
  .reg-table td { padding: 4px 0; border: none; }
}

/* ---------- Competitive grid ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
@media (max-width: 980px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .adv-grid { grid-template-columns: 1fr; } }
.adv-card .adv-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  color: var(--sag-brand-red);
  margin-bottom: var(--space-3);
  display: block;
}
.adv-card h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin: 0 0 var(--space-2);
  letter-spacing: -0.01em;
}
.adv-card p {
  color: var(--fg-secondary);
  font-size: var(--text-md);
  line-height: 1.55;
  margin: 0;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(215, 72, 46, 0.10), transparent 60%),
    var(--bg-page);
  text-align: center;
}
.final-cta .countdown {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px 16px;
  border: 1px solid var(--sag-brand-red);
  border-radius: var(--radius-pill);
  background: var(--sag-brand-red-tint);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--sag-brand-red);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}
.final-cta .countdown::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: var(--radius-pill);
  background: var(--sag-brand-red);
  animation: pulse 2s var(--ease-standard) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}
.final-cta h2 {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 760px;
  margin: 0 auto var(--space-5);
}
.final-cta p {
  color: var(--fg-secondary);
  font-size: var(--text-lg);
  line-height: 1.55;
  max-width: 600px;
  margin: 0 auto var(--space-8);
}
.final-cta .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
footer {
  background: var(--bg-inset);
  padding: var(--space-12) 0 var(--space-8);
  border-top: 1px solid var(--border-hairline);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p {
  color: var(--fg-secondary);
  font-size: var(--text-sm);
  line-height: 1.5;
  margin-top: var(--space-4);
  max-width: 360px;
}
.footer-col h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--fg-tertiary);
  margin: 0 0 var(--space-3);
  font-weight: var(--weight-medium);
}
.footer-col ul {
  list-style: none; padding: 0; margin: 0;
}
.footer-col li { margin-bottom: var(--space-2); }
.footer-col a {
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  border-bottom: none;
}
.footer-col a:hover { color: var(--fg-primary); border-bottom: none; }
.footer-bottom {
  border-top: 1px solid var(--border-hairline);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--fg-tertiary);
  letter-spacing: var(--tracking-base);
}
