/* ============================================================
   AlphaBridge SmartOps — Global Design System
   Deep navy foundation · restrained metallic gold · cool silver
   Built for WCAG 2.2 AA · respects prefers-reduced-motion
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand — foundation */
  --navy-900: #070a14;
  --navy-850: #0a0e1c;
  --navy-800: #0d1226;
  --navy-700: #131a33;
  --navy-600: #1b2445;
  --navy-500: #26315c;

  /* Metallic gold accent (from adopted logo) */
  --gold-500: #d4af37;
  --gold-400: #e6c65c;
  --gold-300: #f4dc8b;
  --gold-600: #b8901f;
  --gold-soft: rgba(212, 175, 55, 0.14);

  /* Cool silver neutral */
  --silver-100: #f4f6fa;
  --silver-200: #dfe4ee;
  --silver-300: #c2cad9;
  --silver-400: #97a1b5;
  --silver-500: #6c7690;

  /* Content surfaces */
  --surface: #ffffff;
  --surface-soft: #f6f8fc;
  --surface-line: #e6eaf2;

  /* Text */
  --ink-900: #0d1226;
  --ink-700: #33405c;
  --ink-500: #5a6784;
  --text-on-dark: #e9edf6;
  --text-on-dark-dim: #aeb8cc;

  /* Semantic status */
  --ok: #2e9e6b;
  --ok-soft: rgba(46, 158, 107, 0.14);
  --progress: #c98a1e;
  --progress-soft: rgba(201, 138, 30, 0.16);
  --planned: #5a6784;
  --planned-soft: rgba(90, 103, 132, 0.14);

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(9, 14, 30, 0.08), 0 2px 8px rgba(9, 14, 30, 0.06);
  --shadow-md: 0 8px 24px rgba(9, 14, 30, 0.12), 0 2px 8px rgba(9, 14, 30, 0.08);
  --shadow-lg: 0 24px 60px rgba(9, 14, 30, 0.20), 0 8px 24px rgba(9, 14, 30, 0.12);
  --shadow-dark: 0 20px 60px rgba(0, 0, 0, 0.45);
  --glow-gold: 0 0 0 1px rgba(212, 175, 55, 0.35), 0 12px 40px rgba(212, 175, 55, 0.20);

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
  --gutter: clamp(1.1rem, 4vw, 2.25rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 220ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--navy-900);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  background: var(--gold-500);
  color: var(--navy-900);
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-sm);
  font-weight: 700;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 1rem; }

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; }
.section-sm { padding-block: clamp(2.5rem, 5vw, 4rem); }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* Surface themes */
.bg-dark { background: var(--navy-900); color: var(--text-on-dark); }
.bg-dark-2 { background: linear-gradient(180deg, var(--navy-850), var(--navy-800)); color: var(--text-on-dark); }
.bg-light { background: var(--surface); color: var(--ink-900); }
.bg-soft { background: var(--surface-soft); color: var(--ink-900); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-600);
}
.bg-dark .eyebrow, .bg-dark-2 .eyebrow { color: var(--gold-300); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; opacity: 0.7; border-radius: 2px; }

h1.display { font-size: clamp(2.3rem, 5.6vw, 4rem); }
h2.display { font-size: clamp(1.9rem, 4vw, 3rem); }
.lead { font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: var(--ink-700); max-width: 62ch; }
.bg-dark .lead, .bg-dark-2 .lead { color: var(--text-on-dark-dim); }
.muted { color: var(--ink-500); }
.bg-dark .muted, .bg-dark-2 .muted { color: var(--text-on-dark-dim); }
.measure { max-width: 66ch; }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-inline: auto; }

.text-gold { color: var(--gold-500); }
.gold-gradient {
  background: linear-gradient(100deg, var(--gold-600) 0%, var(--gold-300) 45%, var(--gold-500) 70%, var(--gold-400) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.silver-gradient {
  background: linear-gradient(180deg, #ffffff 0%, var(--silver-200) 60%, var(--silver-400) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-py: 0.85rem; --btn-px: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: var(--btn-py) var(--btn-px);
  border-radius: var(--r-pill);
  font-weight: 650; font-size: 0.98rem; letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  will-change: transform;
  position: relative; overflow: hidden;
  white-space: nowrap; flex-shrink: 0; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[aria-busy="true"] { opacity: 0.72; cursor: progress; transform: none; pointer-events: none; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.btn svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-600) 0%, var(--gold-400) 45%, var(--gold-300) 55%, var(--gold-500) 100%);
  color: #22190a;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-gold:hover { box-shadow: 0 12px 32px rgba(212, 175, 55, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
/* metallic sheen sweep */
.btn-gold::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 48%, transparent 62%);
  transform: translateX(-120%); transition: transform 700ms var(--ease);
}
.btn-gold:hover::after { transform: translateX(120%); }

.btn-ghost { background: transparent; color: var(--ink-900); border-color: var(--surface-line); }
.btn-ghost:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.bg-dark .btn-ghost, .bg-dark-2 .btn-ghost, .hero .btn-ghost, .page-hero .btn-ghost, .cta-band .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,0.38); background: rgba(255,255,255,0.04);
}
.bg-dark .btn-ghost:hover, .bg-dark-2 .btn-ghost:hover, .hero .btn-ghost:hover, .page-hero .btn-ghost:hover, .cta-band .btn-ghost:hover {
  border-color: var(--gold-400); background: rgba(212,175,55,0.12); color: #fff;
}

.btn-lg { --btn-py: 1.05rem; --btn-px: 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 650; color: var(--gold-600); border-bottom: 1px solid transparent; border-radius: 0;
  white-space: nowrap; flex-shrink: 0;
}
.bg-dark .btn-link, .bg-dark-2 .btn-link { color: var(--gold-300); }
.btn-link:hover { border-bottom-color: currentColor; }
.btn-link .arw { transition: transform var(--dur) var(--ease); }
.btn-link:hover .arw { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.center .btn-row { justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 10, 20, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.nav {
  display: flex; align-items: center; gap: 1.5rem;
  height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 0.62rem; flex-shrink: 0; }
.brand img { height: 40px; width: 40px; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark .wm-name { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; letter-spacing: -0.01em; }
.wm-alpha { color: #eaf0fb; }
.wm-bridge { background: linear-gradient(100deg, var(--gold-600), var(--gold-300) 55%, var(--gold-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark .wm-sub { font-family: var(--font-sans); font-size: 0.56rem; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; color: var(--silver-400); margin-top: 3px; }
@media (max-width: 420px) { .wordmark .wm-name { font-size: 1.15rem; } .wordmark .wm-sub { display: none; } }

.nav-menu { display: flex; align-items: center; gap: 0.35rem; margin-inline-start: 0.5rem; }
.nav-menu > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.6rem 0.85rem; border-radius: var(--r-sm);
  color: var(--text-on-dark-dim); font-weight: 550; font-size: 0.97rem;
  background: transparent; border: 0; appearance: none; -webkit-appearance: none;
  cursor: pointer; font-family: inherit;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: #fff; background: rgba(255,255,255,0.05); }
.nav-link[aria-current="page"] { color: var(--gold-300); }
.nav-link .chev { width: 10px; transition: transform var(--dur) var(--ease); opacity: 0.7; }
.has-menu[aria-expanded="true"] .chev { transform: rotate(180deg); }

.nav-spacer { margin-inline-start: auto; }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.nav-actions .login { color: var(--text-on-dark); font-weight: 600; padding: 0.6rem 0.6rem; }
.nav-actions .login:hover { color: var(--gold-300); }

/* Dropdown / mega menu */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 320px;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-850));
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-dark);
  padding: 0.6rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.has-menu[aria-expanded="true"] + .dropdown,
.dropdown:hover { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 0.6rem 0.75rem; border-radius: var(--r-sm);
  color: var(--text-on-dark); transition: background var(--dur) var(--ease);
}
.dropdown a:hover { background: rgba(212,175,55,0.10); }
.dropdown a strong { display: block; font-weight: 650; font-size: 0.98rem; }
.dropdown a span { display: block; color: var(--text-on-dark-dim); font-size: 0.85rem; }

/* Mobile */
.nav-toggle { display: none; background: transparent; border: 0; padding: 0.5rem; color: #fff; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1024px) {
  .nav-menu, .nav-actions .login { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-spacer { margin-inline-start: auto; }
}

.mobile-panel {
  position: fixed; inset: 74px 0 0 0; z-index: 99;
  background: var(--navy-900);
  padding: 1.25rem var(--gutter) 2.5rem;
  overflow-y: auto;
  transform: translateX(100%); visibility: hidden;
  transition: transform 280ms var(--ease), visibility 280ms;
}
.mobile-panel.open { transform: translateX(0); visibility: visible; }
.mobile-panel a { display: block; color: var(--text-on-dark); font-size: 1.15rem; font-weight: 600; padding: 0.9rem 0.25rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.mobile-panel a:hover { color: var(--gold-300); }
.mobile-panel .m-actions { margin-top: 1.5rem; display: grid; gap: 0.75rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(212,175,55,0.16), transparent 55%),
    radial-gradient(90% 80% at 10% 0%, rgba(38,49,92,0.55), transparent 60%),
    linear-gradient(180deg, var(--navy-850) 0%, var(--navy-900) 100%);
  color: var(--text-on-dark);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 1.25rem; }
.hero .lead { margin-bottom: 2rem; }

/* faint grid texture */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 60% at 60% 30%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(80% 60% at 60% 30%, #000 20%, transparent 80%);
}
.hero > * { position: relative; z-index: 1; }

/* ---------- 3D Metallic Bridge (hero visual) ---------- */
.bridge-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  perspective: 1200px;
}
.bridge-orb {
  position: absolute; inset: 8% ;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(212,175,55,0.22), transparent 60%);
  filter: blur(8px);
}
.bridge-card {
  position: relative;
  width: min(94%, 480px); aspect-ratio: 1.15 / 1;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow-dark), inset 0 1px 0 rgba(255,255,255,0.10);
  transform-style: preserve-3d;
  transform: rotateX(6deg) rotateY(-12deg);
  transition: transform 400ms var(--ease);
  overflow: hidden;
}
.bridge-card:hover { transform: rotateX(3deg) rotateY(-6deg); }
.bridge-card .glow-line {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
  opacity: 0.7;
}
.bridge-svg { width: 78%; margin: 8% auto 0; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.5)); transform: translateZ(40px); }
@media (prefers-reduced-motion: reduce) { .bridge-svg { animation: none !important; } }

.bridge-metrics { position: absolute; left: 5%; right: 5%; bottom: 6%; display: grid; grid-template-columns: repeat(3,1fr); gap: 0.5rem; transform: translateZ(30px); }
.bridge-metric { background: rgba(9,13,26,0.55); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r-sm); padding: 0.55rem 0.5rem; text-align: center; }
.bridge-metric .k { display: block; font-family: var(--font-display); font-weight: 700; color: var(--gold-300); font-size: 0.8rem; }
.bridge-metric .l { display: block; margin-top: 2px; font-size: 0.58rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-on-dark-dim); }

.float { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) translateZ(40px); } 50% { transform: translateY(-10px) translateZ(40px); } }

.shine-sweep { animation: sweep 4.5s ease-in-out infinite; }
@keyframes sweep { 0% { transform: translateX(0); } 55%,100% { transform: translateX(620px); } }
@media (prefers-reduced-motion: reduce) { .shine-sweep { display: none; } .float { animation: none; } }

/* ---------- Trust strip ---------- */
.trust-strip { border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.015); }
.trust-strip ul { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: center; padding-block: 1.15rem; }
.trust-strip li { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-on-dark-dim); font-size: 0.9rem; font-weight: 550; }
.trust-strip li svg { width: 16px; color: var(--gold-400); flex-shrink: 0; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); color: var(--ink-900);
  border: 1px solid var(--surface-line); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(212,175,55,0.45); }
.card h3 { font-size: 1.28rem; margin-bottom: 0.6rem; }
.card p { color: var(--ink-700); }

.card-dark {
  background: linear-gradient(165deg, var(--navy-700), var(--navy-800));
  color: var(--text-on-dark); border-color: rgba(255,255,255,0.09);
  box-shadow: var(--shadow-dark);
}
.card-dark p { color: var(--text-on-dark-dim); }
.card-dark:hover { border-color: rgba(212,175,55,0.5); }

.card-icon {
  width: 54px; height: 54px; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: linear-gradient(160deg, var(--gold-soft), rgba(212,175,55,0.02));
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold-600);
}
.card-dark .card-icon { color: var(--gold-300); background: rgba(212,175,55,0.10); }
.card-icon svg { width: 26px; height: 26px; }

.card-num { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--gold-500); letter-spacing: 0.1em; }

/* Feature list */
.feat-list { display: grid; gap: 0.7rem; margin-top: 1rem; }
.feat-list li { display: flex; gap: 0.65rem; align-items: flex-start; color: var(--ink-700); }
.card-dark .feat-list li { color: var(--text-on-dark-dim); }
.feat-list li svg { width: 20px; flex-shrink: 0; color: var(--ok); margin-top: 2px; }

/* ---------- Capability / data table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--surface-line); box-shadow: var(--shadow-sm); }
.bg-dark .table-wrap, .bg-dark-2 .table-wrap { border-color: rgba(255,255,255,0.1); }
table.data { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--surface); }
.bg-dark table.data, .bg-dark-2 table.data { background: var(--navy-800); color: var(--text-on-dark); }
table.data th, table.data td { text-align: left; padding: 1rem 1.15rem; vertical-align: top; border-bottom: 1px solid var(--surface-line); }
.bg-dark table.data th, .bg-dark table.data td { border-color: rgba(255,255,255,0.08); }
table.data thead th { background: var(--surface-soft); font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-500); }
.bg-dark table.data thead th { background: var(--navy-700); color: var(--text-on-dark-dim); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td strong { font-weight: 650; }
table.data .cap { color: var(--gold-600); font-weight: 650; font-family: var(--font-display); }
.bg-dark table.data .cap { color: var(--gold-300); }

/* ---------- Status badges (evidence-before-claims) ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.28rem 0.7rem; border-radius: var(--r-pill);
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.03em;
  border: 1px solid transparent; white-space: nowrap;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-ok { color: var(--ok); background: var(--ok-soft); border-color: rgba(46,158,107,0.3); }
.badge-progress { color: var(--progress); background: var(--progress-soft); border-color: rgba(201,138,30,0.3); }
.badge-planned { color: var(--planned); background: var(--planned-soft); border-color: rgba(90,103,132,0.3); }
.bg-dark .badge-planned, .bg-dark-2 .badge-planned { color: var(--silver-300); }

/* ---------- Pillars (control / intelligence / scale) ---------- */
.pillar { position: relative; }
.pillar .card-num { position: absolute; top: 1.4rem; right: 1.6rem; opacity: 0.5; }

/* ---------- Section head ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin: 0.8rem 0 1rem; }

/* ---------- Split / feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split.reverse .split-media { order: -1; }
@media (max-width: 860px) { .split.reverse .split-media { order: 0; } }

/* Glass panel visual */
.panel {
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-dark);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  color: var(--text-on-dark);
}
.panel-light {
  background: var(--surface); border: 1px solid var(--surface-line);
  box-shadow: var(--shadow-md); color: var(--ink-900);
}

/* Ledger-flow diagram (used on platform) */
.flow { display: grid; gap: 0.75rem; }
.flow-node { display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1.1rem; border-radius: var(--r-md); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); }
.panel-light .flow-node { background: var(--surface-soft); border-color: var(--surface-line); }
.flow-node .fi { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: rgba(212,175,55,0.14); color: var(--gold-500); border: 1px solid rgba(212,175,55,0.3); }
.flow-node .ft strong { display: block; font-weight: 650; font-size: 0.98rem; }
.flow-node .ft span { font-size: 0.85rem; color: var(--text-on-dark-dim); }
.panel-light .flow-node .ft span { color: var(--ink-500); }
.flow-arrow { display: grid; place-items: center; color: var(--gold-400); }
.flow-arrow svg { width: 20px; }
.flow-core { border-color: rgba(212,175,55,0.5); box-shadow: var(--glow-gold); }

/* ---------- Pricing ---------- */
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.featured { border-color: var(--gold-500); box-shadow: var(--glow-gold); }
.price-card .tier-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; }
.price-card .tier-pos { color: var(--ink-500); margin: 0.5rem 0 1.3rem; min-height: 3.4em; }
.card-dark.price-card .tier-pos { color: var(--text-on-dark-dim); }
.price-amount { font-family: var(--font-display); font-size: 1.05rem; color: var(--gold-600); font-weight: 650; margin-bottom: 1.3rem; }
.card-dark .price-amount { color: var(--gold-300); }
.price-card .btn { margin-top: auto; }
.featured-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--gold-600), var(--gold-300)); color: #22190a; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.85rem; border-radius: var(--r-pill); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.15rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--ink-900); }
.bg-dark .field label, .panel .field label { color: var(--text-on-dark); }
.field .req { color: var(--gold-600); }
.field .hint { font-size: 0.82rem; color: var(--ink-500); }
.panel .field .hint, .bg-dark .field .hint { color: var(--text-on-dark-dim); }
.field input, .field select, .field textarea {
  font: inherit; width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--surface-line);
  background: var(--surface); color: var(--ink-900);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.panel .field input, .panel .field select, .panel .field textarea {
  background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.16); color: #fff;
}
.panel .field input::placeholder, .panel .field textarea::placeholder { color: rgba(255,255,255,0.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px var(--gold-soft); }
.field textarea { min-height: 120px; resize: vertical; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d94a4a; box-shadow: 0 0 0 3px rgba(217,74,74,0.15); }
.field .err { color: #ff9a9a; font-size: 0.82rem; display: none; }
.field.invalid .err { display: block; }

.checkbox { display: flex; gap: 0.65rem; align-items: flex-start; }
.checkbox input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--gold-500); }
.checkbox label { font-weight: 500; font-size: 0.9rem; }

.error-summary {
  display: none; padding: 1rem 1.2rem; border-radius: var(--r-md);
  background: rgba(217,74,74,0.12); border: 1px solid rgba(217,74,74,0.4); color: #ffcaca;
}
.error-summary.show { display: block; }
.error-summary h3 { color: #ffdada; font-size: 1rem; margin-bottom: 0.5rem; }
.error-summary a { color: #ffdada; text-decoration: underline; }
.error-summary li { list-style: disc; margin-left: 1.2rem; }

.form-success {
  display: none; padding: 1.5rem; border-radius: var(--r-md);
  background: var(--ok-soft); border: 1px solid rgba(46,158,107,0.4); color: #bff3da;
}
.form-success.show { display: block; }
.form-success h3 { color: #daffec; margin-bottom: 0.4rem; }

/* ---------- Leadership ---------- */
.person-avatar {
  width: 72px; height: 72px; border-radius: var(--r-md); flex-shrink: 0;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  background: linear-gradient(150deg, var(--navy-600), var(--navy-800));
  color: var(--gold-300); border: 1px solid rgba(212,175,55,0.35);
}
.person-role { color: var(--gold-600); font-weight: 650; font-size: 0.92rem; }
.card-dark .person-role { color: var(--gold-300); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90% 120% at 85% 10%, rgba(212,175,55,0.18), transparent 55%),
    linear-gradient(120deg, var(--navy-800), var(--navy-900));
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-xl);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--text-on-dark);
  text-align: center;
  box-shadow: var(--shadow-dark);
}
.cta-band h2 { max-width: 20ch; margin: 0 auto 1.5rem; }

/* ---------- Notice / callout ---------- */
.notice {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 1rem 1.25rem; border-radius: var(--r-md);
  background: var(--gold-soft); border: 1px solid rgba(212,175,55,0.35);
}
.notice svg { width: 22px; flex-shrink: 0; color: var(--gold-600); margin-top: 2px; }
.bg-dark .notice svg, .bg-dark-2 .notice svg { color: var(--gold-300); }
.notice p { font-size: 0.95rem; }

/* ---------- Breadcrumb ---------- */
.crumb { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 0.88rem; color: var(--text-on-dark-dim); padding-top: 1.5rem; }
.crumb a:hover { color: var(--gold-300); }
.crumb .sep { opacity: 0.5; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background:
    radial-gradient(100% 90% at 85% -20%, rgba(212,175,55,0.14), transparent 55%),
    linear-gradient(180deg, var(--navy-850), var(--navy-900));
  color: var(--text-on-dark);
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.page-hero h1 { margin: 0.8rem 0 1.1rem; font-size: clamp(2.1rem, 4.5vw, 3.3rem); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--text-on-dark-dim); border-top: 1px solid rgba(255,255,255,0.08); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 52px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver-400); margin-bottom: 1rem; }
.footer-col a { display: block; padding: 0.32rem 0; color: var(--text-on-dark-dim); font-size: 0.93rem; }
.footer-col a:hover { color: var(--gold-300); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.85rem; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom a:hover { color: var(--gold-300); }
.tm { font-size: 0.72em; vertical-align: super; opacity: 0.8; }

/* ---------- Cookie consent ---------- */
.cookie-bar {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 150;
  max-width: 560px; margin-inline: auto;
  background: var(--navy-800); color: var(--text-on-dark);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-lg);
  box-shadow: var(--shadow-dark);
  padding: 1.25rem 1.4rem;
  transform: translateY(160%); transition: transform 360ms var(--ease);
}
.cookie-bar.show { transform: translateY(0); }
.cookie-bar p { font-size: 0.9rem; margin-bottom: 1rem; color: var(--text-on-dark-dim); }
.cookie-bar .cookie-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cookie-bar .btn-ghost { color: var(--text-on-dark); border-color: rgba(255,255,255,0.24); background: rgba(255,255,255,0.03); }
.cookie-bar .btn-ghost:hover { border-color: var(--gold-400); background: rgba(212,175,55,0.08); }
.cookie-bar .btn { --btn-py: 0.6rem; --btn-px: 1.1rem; font-size: 0.9rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--surface-line); border: 0; margin-block: 2rem; }
.bg-dark .divider, .bg-dark-2 .divider { background: rgba(255,255,255,0.08); }
.stack > * + * { margin-top: 1rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-list li { padding: 0.4rem 0.85rem; border-radius: var(--r-pill); background: var(--gold-soft); border: 1px solid rgba(212,175,55,0.3); font-size: 0.85rem; font-weight: 550; color: var(--ink-700); }
.bg-dark .pill-list li, .bg-dark-2 .pill-list li { color: var(--text-on-dark); }
.mt-2 { margin-top: 2rem; } .mt-1 { margin-top: 1rem; } .mb-0 { margin-bottom: 0; }
