
/* ─────────────────────────────────────────────────────
   MIDASH TOKENS — dual theme
   Dark default — light override via [data-theme="light"]
   ───────────────────────────────────────────────────── */
:root,
[data-theme="dark"] {
  /* Brand accent ramp — same in both themes */
  --color-accent-pure: #00d4aa;
  --color-accent: #5bc9c1;
  --color-accent-light: #6dd8d0;
  --color-accent-deep: #4db8b0;
  --color-accent-dark: #3f9da1;
  --color-accent-shadow: #2d7a7e;
  --color-accent-dim: rgba(0, 212, 170, .15);
  --color-accent-glow: rgba(91, 201, 193, .35);
  --color-accent-soft: rgba(91, 201, 193, .15);
  --color-mint-pale: #cdefec;

  --color-bg: #0a0e14;
  --color-bg-2: #020a0a;
  --color-surface: #1e293b;
  --color-surface-hover: #334155;
  --color-footer-bg: #06090d;

  --color-text: #f8fafc;
  --color-text-dim: rgba(248, 250, 252, .5);
  --color-text-soft: rgba(248, 250, 252, .65);
  --color-text-secondary: rgba(248, 250, 252, .8);

  --color-positive: #10b981;
  --color-negative: #ef4444;

  --accent-halo-soft: rgba(0, 212, 170, .05);
  --accent-halo-faint: rgba(0, 212, 170, .02);

  --color-border-soft: rgba(255, 255, 255, .05);
  --color-border: rgba(255, 255, 255, .08);
  --color-border-strong: rgba(255, 255, 255, .12);

  /* Hero radial gradient (used in hero + reveal moments) */
  --hero-radial-top: var(--color-accent-dim);
  --hero-radial-bottom: rgba(0,212,170,.08);
  --hero-floor: var(--color-bg-2);

  /* Terminal / agent cards inside reveal images */
  --card-bg: rgba(15, 23, 42, .85);
  --section-soft-bg: rgba(255,255,255,.01);
  --ticker-bg: rgba(255,255,255,.01);

  /* Mini-chart fills */
  --chart-gradient-start: var(--color-accent-soft);

  /* Text color sitting on a teal accent surface — stays dark in both themes */
  --on-accent: #06090d;

  --radius: .75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  --ease: cubic-bezier(.4, 0, .6, 1);
  --ease-out: cubic-bezier(.25, 1, .5, 1);

  --container: 1200px;
  --container-wide: 1400px;

  color-scheme: dark;
}

[data-theme="light"] {
  /* Accent ramp shifts deeper for legibility on white */
  --color-accent-pure: #00d4aa;
  --color-accent: #31b4ab;
  --color-accent-light: #289e96;   /* darker so the italic words read on white */
  --color-accent-deep: #06444a;
  --color-accent-dim: rgba(0, 212, 170, .12);
  --color-accent-glow: rgba(49, 180, 171, .25);
  --color-accent-soft: rgba(0, 212, 170, .10);

  --color-bg: #fafaf7;
  --color-bg-2: #f1f5f4;
  --color-surface: #ffffff;
  --color-surface-hover: #f5f7f6;
  --color-footer-bg: #f1f3f2;

  --color-text: #0a1416;
  --color-text-dim: rgba(10, 20, 22, .45);
  --color-text-soft: rgba(10, 20, 22, .62);
  --color-text-secondary: rgba(10, 20, 22, .78);

  --color-border-soft: rgba(10, 20, 22, .06);
  --color-border: rgba(10, 20, 22, .10);
  --color-border-strong: rgba(10, 20, 22, .16);

  --hero-radial-top: rgba(0, 212, 170, .18);
  --hero-radial-bottom: rgba(0, 212, 170, .06);
  --hero-floor: #eef5f3;

  /* Terminal stays dark for contrast on the hero image, but softer */
  --card-bg: rgba(15, 23, 42, .92);
  --section-soft-bg: rgba(10, 20, 22, .025);
  --ticker-bg: rgba(10, 20, 22, .02);

  --chart-gradient-start: rgba(0, 212, 170, .25);

  color-scheme: light;
}

/* ─────────────────────────────────────────────────────
   LIGHT-THEME OVERRIDES for scroll-moment composites
   The hero image (terminal mock) and reveal image (agent
   dashboard) always render dark — they're product UI,
   not marketing surface. So copy that sits OVER them
   must stay light, and surrounding bg adapts.
   ───────────────────────────────────────────────────── */
[data-theme="light"] .hero-image-inner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0a3a3a 100%);
}
[data-theme="light"] .reveal-image {
  background: linear-gradient(135deg, #0a3a3a 0%, #1e293b 50%, #0f172a 100%);
}

/* Pill label inside the reveal image — stays teal-on-dark */
[data-theme="light"] .reveal-image::after { color: #6dd8d0; }

/* The veil over each image is what makes copy readable in DARK theme.
   In LIGHT theme, the page bg is light but the image is dark — so the
   copy needs to read against BOTH simultaneously. The fix: in light
   theme, copy text stays dark (reading on light bg), and we drop the
   z-index of the image so the copy area on the OUTSIDE of the image
   has light bg behind it, while the bit overlapping is mitigated by
   the dark veil already on the image. */

/* Hero copy in light mode: dark text reading on light page bg.
   By the time the image expands to cover the copy area, the copy is
   already fading to 0, so the overlap is brief. */
[data-theme="light"] .hero-copy { color: var(--color-text); }
[data-theme="light"] .hero-sub { color: var(--color-text-soft); }

/* Reveal copy in light mode: same logic */
[data-theme="light"] .reveal-copy { color: var(--color-text); }
[data-theme="light"] .reveal-copy p { color: var(--color-text-soft); }

/* The pill-label "AGENT — LIVE" sits inside the dark reveal image,
   so it needs to read against dark even in light theme */
[data-theme="light"] .reveal-image::after {
  color: #6dd8d0;
}

/* Logo mark inner: in light mode the accent button text is dark,
   but the logo mark is a teal block on the navbar, so use dark inner */
/* (Already handled by --on-accent token) */

/* Brokers grid: tiles use --color-bg as their bg, which becomes light.
   Border-style needs to be the grid lines visible. */
[data-theme="light"] .brokers { background: var(--color-border); }
[data-theme="light"] .broker { background: var(--color-surface); }
[data-theme="light"] .broker:hover { background: var(--color-bg-2); }

/* Bilingual card needs visible borders in light */
[data-theme="light"] .bilingual {
  background: linear-gradient(135deg, var(--color-surface), rgba(0,212,170,.06));
}

/* Plan featured background is too washed-out in light */
[data-theme="light"] .plan.featured {
  background: linear-gradient(135deg, rgba(0,212,170,.10), var(--color-surface));
  border-color: var(--color-accent);
}

/* CTA-final radial halo */
[data-theme="light"] .cta-final {
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(0,212,170,.15), transparent 70%),
    var(--color-bg);
}

/* Capability featured tint */
[data-theme="light"] .cap.featured {
  background: linear-gradient(135deg, var(--color-surface), rgba(0,212,170,.08));
  border-color: var(--color-accent-dim);
}

/* Broker featured tint */
[data-theme="light"] .broker.featured {
  background: linear-gradient(135deg, rgba(0,212,170,.10), rgba(0,212,170,.04));
  color: var(--color-accent-light);
}

/* Footer disclosure stays muted */
[data-theme="light"] .disclosure,
[data-theme="light"] .footer-bottom { color: var(--color-text-dim); }

/* ─────────────────────────────────────────────────────
   PRODUCT-SURFACE OVERRIDE
   The terminal (inside hero image) and the agent dashboard
   (inside reveal image) are permanently-dark product UI in
   both themes. Their internal text must reference dark-theme
   token values explicitly, so the cascade from a light page
   doesn't make text-on-dark invisible.
   ───────────────────────────────────────────────────── */
.terminal,
.agent-board {
  --color-text: #f8fafc;
  --color-text-dim: rgba(248, 250, 252, .5);
  --color-text-soft: rgba(248, 250, 252, .65);
  --color-text-secondary: rgba(248, 250, 252, .8);
  --color-border: rgba(255, 255, 255, .08);
  --color-border-soft: rgba(255, 255, 255, .05);
  --color-accent-light: #6dd8d0;
  color: #f8fafc;
}

/* Path card hover shadow */
[data-theme="light"] .path-card:hover {
  box-shadow: 0 20px 40px -20px rgba(0,212,170,.20);
}

/* In LIGHT theme, the reveal-image's dark frame would create a "dark
   island" behind centered copy. Solution: fade the image in only as
   the user scrolls — at scroll=0 it's invisible, copy reads on light
   bg. By the time the image is opaque, copy has faded to 0. */
[data-theme="light"] .reveal-image {
  opacity: calc(var(--p2, 0) * 2.5);
}

/* Hero image in light mode — matched to new right-side layout */
[data-theme="light"] .hero-image {
  /* same as default; no need for special light starting size since the
     hero is now title-left + video-right, no overlap */
}

/* Eyebrow pill in light mode — the dark text on light teal needs adjustment.
   Current: color=accent-light(#289e96), bg=accent-soft(rgba teal .10). OK. */

/* Logo mark in light mode: gradient stays, but the inner "M" border
   needs to be light to contrast against the teal gradient block.
   Already handled by --on-accent (#06090d) which stays dark — but on
   a teal gradient block, dark border reads well. Good. */

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

html { scroll-behavior: smooth;  background: var(--color-bg);}

body {
  font-family:var(--w-font-text);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: 'tnum';
  transition: background-color 300ms var(--ease-out), color 300ms var(--ease-out);
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.mono, .tabular { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }

/* ─────────────────────────────────────────────────────
   NAV  (RedSun-inspired mega-nav with theme toggle, lang switch, AI button)
   ───────────────────────────────────────────────────── */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 66px; display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
header.nav.scrolled {
  /* Only once user scrolls past the hero, gain a subtle blurred background
     so nav text stays readable over light page sections below. */
  background: color-mix(in srgb, var(--color-bg) 72%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--color-border);
}
.nav-inner {
  width: 100%; max-width: var(--container-wide); margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; gap: 8px;
}

/* When nav is over the hero video (not scrolled), force light text/icons
   for legibility regardless of page theme. Once scrolled past the hero,
   the nav returns to theme-aware colors. */
header.nav:not(.scrolled) .logo { color: #ffffff; }
header.nav:not(.scrolled) .logo .mark-dots circle { fill: rgba(255,255,255,.55); }
header.nav:not(.scrolled) .logo .mark-dots circle.anchor { fill: #ffffff; }
header.nav:not(.scrolled) .nav-trigger,
header.nav:not(.scrolled) .nav-link-util { color: rgba(255,255,255,.82); }
header.nav:not(.scrolled) .nav-trigger:hover,
header.nav:not(.scrolled) .nav-link-util:hover,
header.nav:not(.scrolled) .nav-item.open .nav-trigger {
  color: #ffffff; background: rgba(255,255,255,.10);
}
header.nav:not(.scrolled) .lang-switch,
header.nav:not(.scrolled) .theme-toggle {
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
header.nav:not(.scrolled) .lang-switch:hover,
header.nav:not(.scrolled) .theme-toggle:hover {
  color: #ffffff; border-color: var(--color-accent-light);
}
header.nav:not(.scrolled) .nav-divider { background: rgba(255,255,255,.18); }

.logo {
  display: flex; align-items: center; gap: 9px;
  font-family:var(--w-font-text);
  font-weight: 700; font-size: 1.18rem; letter-spacing: -.02em;
  color: var(--color-text);
}
.logo .mark { width: 28px; height: 28px; display: block; flex: none; color: var(--color-text); }
.logo .mark-dots circle { fill: rgba(255,255,255,.55); transition: fill .25s ease; }
[data-theme="light"] .logo .mark-dots circle { fill: rgba(10,20,22,.45); }
.logo .mark-dots circle.anchor { fill: currentColor; }
.logo:hover .mark-dots circle:not(.anchor) { animation: mark-shimmer 1.4s ease-in-out infinite; }
.logo:hover .mark-dots circle:nth-child(1)  { animation-delay: 0.00s; }
.logo:hover .mark-dots circle:nth-child(2)  { animation-delay: 0.06s; }
.logo:hover .mark-dots circle:nth-child(3)  { animation-delay: 0.12s; }
.logo:hover .mark-dots circle:nth-child(4)  { animation-delay: 0.18s; }
.logo:hover .mark-dots circle:nth-child(5)  { animation-delay: 0.06s; }
.logo:hover .mark-dots circle:nth-child(7)  { animation-delay: 0.18s; }
.logo:hover .mark-dots circle:nth-child(8)  { animation-delay: 0.24s; }
.logo:hover .mark-dots circle:nth-child(9)  { animation-delay: 0.12s; }
.logo:hover .mark-dots circle:nth-child(10) { animation-delay: 0.18s; }
.logo:hover .mark-dots circle:nth-child(11) { animation-delay: 0.24s; }
.logo:hover .mark-dots circle:nth-child(12) { animation-delay: 0.30s; }
.logo:hover .mark-dots circle:nth-child(13) { animation-delay: 0.18s; }
.logo:hover .mark-dots circle:nth-child(14) { animation-delay: 0.24s; }
.logo:hover .mark-dots circle:nth-child(15) { animation-delay: 0.30s; }
.logo:hover .mark-dots circle:nth-child(16) { animation-delay: 0.36s; }
@keyframes mark-shimmer {
  0%, 100% { fill: rgba(255,255,255,.55); }
  50%      { fill: var(--color-text); }
}
[data-theme="light"] .logo:hover .mark-dots circle:not(.anchor) {
  animation-name: mark-shimmer-light;
}
@keyframes mark-shimmer-light {
  0%, 100% { fill: rgba(10,20,22,.45); }
  50%      { fill: var(--color-text); }
}
@media (prefers-reduced-motion: reduce) {
  .logo:hover .mark-dots circle:not(.anchor) { animation: none; }
}

nav.primary { display: flex; align-items: center; gap: 2px; margin-left: 18px; }
.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .9rem; font-weight: 500; color: var(--color-text-soft);
  padding: 9px 13px; border-radius: 9px; cursor: pointer;
  background: none; border: none;
  font-family: inherit; transition: color .15s, background .15s;
}
.nav-trigger:hover,
.nav-item.open .nav-trigger { color: var(--color-text); background: var(--color-border-soft); }
.nav-trigger .chev { width: 9px; height: 9px; opacity: .6; transition: transform .2s; }
.nav-item.open .chev { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 300px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.7);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility .2s;
}
.nav-item.open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega.wide { min-width: 540px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-group-label {
  font-size: .625rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--color-text-dim); padding: 10px 12px 4px; grid-column: 1 / -1;
}
.mega-link { display: block; padding: 9px 12px; border-radius: 9px; transition: background .15s; }
.mega-link:hover { background: var(--color-border-soft); }
.mega-link .t {
  font-size: .9rem; font-weight: 600; color: var(--color-text);
  display: flex; align-items: center; gap: 8px;
}
.mega-link .d { font-size: .8rem; color: var(--color-text-dim); margin-top: 1px; }
.dot-c { width: 7px; height: 7px; border-radius: 50%; flex: none; }
/* Semantic dot colors used in the mega menus */
:root { --green: #34d399; --blue: #5b9dff; --purple: #b07cff; }

/* AI Agent nav button */
.nav-ai {
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: 6px;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--color-accent) 14%, transparent),
    color-mix(in srgb, var(--color-accent) 6%, transparent));
  border: 1px solid color-mix(in srgb, var(--color-accent) 38%, transparent);
  color: var(--color-accent);
  font-family: inherit; font-size: .9rem; font-weight: 600;
  padding: 8px 14px; border-radius: 100px; cursor: pointer;
  transition: background .2s var(--ease-out), border-color .2s, transform .2s;
}
.nav-ai:hover {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--color-accent) 22%, transparent),
    color-mix(in srgb, var(--color-accent) 10%, transparent));
  border-color: var(--color-accent);
  transform: translateY(-1px);
}
.nav-ai .ai-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent-pure);
  box-shadow: 0 0 0 3px rgba(0,212,170,.18);
  animation: midash-pulse 2s var(--ease) infinite;
}
/* Lock AI Agent button to dark-mode mint regardless of page theme */
[data-theme="light"] .nav-ai {
  background: linear-gradient(180deg, rgba(109,216,208,.14), rgba(109,216,208,.06));
  border-color: rgba(109,216,208,.38);
  color: #6dd8d0;
}
[data-theme="light"] .nav-ai:hover {
  background: linear-gradient(180deg, rgba(109,216,208,.22), rgba(109,216,208,.10));
  border-color: #6dd8d0;
}

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-divider { width: 1px; height: 26px; background: var(--color-border); margin: 0 6px; }
.nav-link-util {
  font-size: .9rem; font-weight: 500; color: var(--color-text-soft);
  padding: 8px 12px; border-radius: 9px;
}
.nav-link-util:hover { color: var(--color-text); background: var(--color-border-soft); }
.lang-switch, .theme-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 600;
  color: var(--color-text-soft);
  padding: 7px 10px; border-radius: 9px;
  cursor: pointer;
  background: var(--color-border-soft);
  border: 1px solid var(--color-border);
  font-family: inherit;
}
.lang-switch:hover, .theme-toggle:hover {
  color: var(--color-text); border-color: var(--color-accent);
}
.theme-toggle { width: 36px; height: 36px; justify-content: center; padding: 0; }
.theme-toggle span { display: block; line-height: 1; }
.nav-cta { padding: .62em 1.1em; font-size: .875rem; }

.menu-btn {
  display: none;
  background: var(--color-border-soft);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  width: 40px; height: 40px; border-radius: 10px;
  cursor: pointer; font-size: 1.1rem;
  font-family: inherit;
}

@media (max-width: 980px) {
  nav.primary, .nav-divider, .nav-link-util { display: none; }
  .menu-btn { display: grid; place-items: center; }
}

.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* Theme toggle */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 200ms var(--ease-out);
  padding: 0;
  font-family: inherit;
}
.theme-toggle:hover {
  background: var(--color-border-soft);
  border-color: var(--color-border-strong);
  color: var(--color-text);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
[data-theme="light"] .theme-toggle .sun { display: block; }
[data-theme="light"] .theme-toggle .moon { display: none; }

/* ─────────────────────────────────────────────────────
   HERO  (the scroll-driven expanding image)

   How it works:
   - .hero-wrap is tall (200vh) to give scroll runway
   - .hero-sticky is sticky inside it, fills viewport
   - JS reads scroll progress through .hero-wrap and
     drives a CSS variable --p (0 → 1)
   - --p controls scale, border-radius, padding, opacity
     of the image, plus copy fade
   ───────────────────────────────────────────────────── */
.hero-wrap {
  position: relative;
  height: 360vh;       /* extended runway for video scrubbing */
  margin-top: 0;       /* video extends under the transparent nav */
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, var(--hero-radial-top), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, var(--hero-radial-bottom), transparent 60%),
    var(--hero-floor);
  z-index: 0;
}

/* Title block on the LEFT — aligned with nav-logo edge.
   Wraps in a centered container that matches .nav-inner's width and padding. */
.hero-title {
  position: absolute;
  top: 42%;
  left: 0; right: 0;
  padding: 0 24px;
  max-width: var(--container-wide);
  margin: 0 auto;
  transform: translateY(-50%) translateY(calc(var(--p, 0) * -30px));
  z-index: 3;
  pointer-events: auto;
  opacity: clamp(0, calc(1 - var(--p, 0) * 10), 1);
  transition: opacity 60ms linear, transform 60ms linear;
}
.hero-title h1.display {
  max-width: 600px;   /* keep wrapping comfortable, but left-aligned to padding edge */
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 14px 28px;
  color: #ffffff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family:var(--w-font-text);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 220ms var(--ease-out), background 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.hero-cta:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.14);
  border-color: var(--color-accent-light);
}
.hero-cta::after {
  content: '→';
  font-size: 1.05em;
  transition: transform 220ms var(--ease-out);
}
.hero-cta:hover::after { transform: translateX(3px); }
@media (max-width: 980px) {
  .hero-title {
    top: clamp(120px, 18vh, 180px);
    transform: translateY(calc(var(--p, 0) * -30px));
    text-align: center;
  }
  .hero-title h1.display { max-width: none; margin-left: auto; margin-right: auto; }
}
.eyebrow {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--color-accent-soft);
  border: 1px solid var(--color-accent-dim);
  border-radius: 100px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-accent-pure);
  animation: midash-pulse 2s var(--ease) infinite;
}
@keyframes midash-pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }

h1.display {
  font-family:var(--w-font-text);
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin-bottom: 24px;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0,0,0,.4);
}
/* Title sits on top of the dark hero video — stays white in both themes */
h1.display em {
  font-family:var(--w-font-text);
  font-style: italic;
  font-weight: 400;
  color: #6dd8d0;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255,255,255,.82);
  max-width: 52ch;
  margin-bottom: 36px;
  line-height: 1.55;
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}
[data-theme="light"] .hero-sub { color: var(--color-text-soft); text-shadow: none; }
.hero-cta { display: inline-flex; gap: 12px; pointer-events: auto; flex-wrap: wrap; }
@media (max-width: 980px) { .hero-cta { justify-content: center; } }

/* The expanding image — sits behind copy, scales up as we scroll */
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  z-index: 1;
  transition: none;
  will-change: auto;
}
@media (max-width: 980px) {
  .hero-image { inset: 0; }
}
.hero-image::after {
  /* subtle darkening veil; lighter than before so the video reads through it */
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 100%);
  opacity: calc((1 - var(--p, 0)) * 0.6);
  pointer-events: none;
  z-index: 2;
}
.hero-image-inner {
  position: absolute; inset: 0;
  background: #000;
  display: block;
  padding: 0;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  background: #000;
  transition: opacity 350ms cubic-bezier(.4, 0, .2, 1);
}

/* ─────────────────────────────────────────────────
   INTERACTIVE CHAT TAKEOVER
   Appears once the video reaches its end frame.
   Mirrors the video chat-UI design exactly so the
   handoff feels like the same surface "going live".
   ───────────────────────────────────────────────── */
.chat-takeover {
  position: absolute; inset: 0;
  z-index: 4;
  display: flex; flex-direction: column;
  background: #000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 350ms cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}
.chat-takeover.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Still image layer — exact pixel match for the video's last frame.
   Sits above the live chat HTML. Fades out the first time the user
   sends a message, revealing the interactive chat underneath. */
.chat-still-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: 1;
  transition: opacity 380ms cubic-bezier(.4, 0, .2, 1);
  pointer-events: auto;
}
.chat-still-layer.hidden {
  opacity: 0;
  pointer-events: none;
}
.chat-still-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
/* Transparent input zone aligned with the image's input bar.
   Coordinates derived from the source image (1664x1248):
     Input bar runs roughly y=74%..80%, full width with ~3% side gutter.
     Send button occupies the rightmost ~3.5%. */
.chat-still-input-zone {
  position: absolute;
  left: 3%;
  right: 3%;
  top: 75%;
  height: 5.2%;
  display: flex;
  align-items: stretch;
  gap: 0.4%;
}
.chat-still-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: inherit;
  font-size: clamp(.9rem, 1.05vw, 1.05rem);
  padding: 0 clamp(14px, 1.6vw, 24px);
  caret-color: #8ed1c2;
  border-radius: 10px;
}
/* Show a subtle hover highlight on the input area so it's discoverable */
.chat-still-input:hover,
.chat-still-input:focus {
  background: rgba(255,255,255,0.03);
}
.chat-still-send {
  flex: 0 0 auto;
  width: 6%;
  min-width: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 10px;
}
.chat-still-send:hover {
  background: rgba(255,255,255,0.08);
}

.chat-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(14px, 1.6vw, 22px) clamp(24px, 2.8vw, 40px);
  background: linear-gradient(90deg, #7ac4b5 0%, #8ed1c2 60%, #7fc3b4 100%);
  color: #ffffff;
  flex-shrink: 0;
}
.chat-head-left { display: flex; align-items: center; gap: clamp(10px, 1.2vw, 16px); }
.chat-head-title {
  font-family:var(--w-font-text);
  font-weight: 700;
  font-size: clamp(.95rem, 1.15vw, 1.125rem);
  color: #ffffff;
  letter-spacing: -.01em;
  line-height: 1.1;
}
.chat-head-status {
  font-size: clamp(.7rem, .82vw, .8125rem);
  color: rgba(255,255,255,.82);
  margin-top: 2px;
  font-weight: 400;
}
.chat-head-live {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: clamp(.75rem, .9vw, .9375rem);
  font-weight: 400;
  color: #ffffff;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52,211,153,.4);
  animation: live-pulse 1.8s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,.5); }
  50% { box-shadow: 0 0 0 6px rgba(52,211,153,0); }
}

.chat-avatar {
  width: clamp(32px, 3.6vw, 44px);
  height: clamp(32px, 3.6vw, 44px);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chat-avatar svg { width: 52%; height: 52%; }
/* Body avatars: dark teal-tinted circle, mint icon */
.chat-avatar.bot {
  background: rgba(70, 120, 115, .35);
  color: #8ed1c2;
}
.chat-avatar.user {
  background: rgba(70, 120, 115, .25);
  color: #8ed1c2;
}
/* Header avatar: light frosted circle, white icon */
.chat-head .chat-avatar.bot {
  background: rgba(255,255,255,.32);
  color: #ffffff;
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: clamp(20px, 2.4vw, 36px) clamp(24px, 3vw, 44px);
  display: flex; flex-direction: column;
  gap: clamp(18px, 2vw, 28px);
  background: #000;
  scroll-behavior: smooth;
}
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-track { background: transparent; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }

.chat-row {
  display: flex; gap: clamp(12px, 1.4vw, 18px);
  align-items: flex-start;
  animation: chat-in 350ms cubic-bezier(.4, 0, .2, 1) both;
}
.chat-row.user { justify-content: flex-end; }
.chat-row.user .chat-stack { align-items: flex-end; }
@keyframes chat-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-stack {
  display: flex; flex-direction: column; gap: 8px;
  max-width: min(820px, 62%);
}
.chat-bubble {
  padding: clamp(14px, 1.4vw, 20px) clamp(16px, 1.7vw, 24px);
  border-radius: 14px;
  font-size: clamp(.875rem, .98vw, 1rem);
  line-height: 1.6;
  color: #e8ecef;
  background: rgba(18, 28, 30, .92);
  border: 1px solid rgba(91, 201, 193, .14);
}
.chat-bubble p { margin: 0 0 10px; }
.chat-bubble p:last-child { margin-bottom: 0; }
.chat-bubble strong { color: #ffffff; font-weight: 700; }
.chat-bubble ul {
  margin: 6px 0; padding: 0;
  list-style: none;
}
.chat-bubble ul li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 2px;
}
.chat-bubble ul li::before {
  content: '•';
  position: absolute; left: 0;
  color: #e8ecef;
}
.chat-bubble.user-bubble {
  background: rgba(18, 28, 30, .92);
  border-color: rgba(91, 201, 193, .14);
}
.chat-time {
  font-size: clamp(.7rem, .78vw, .8125rem);
  color: rgba(255,255,255,.32);
  font-variant-numeric: tabular-nums;
  padding: 0 4px;
}

/* Loading dots in the "running analysis" message */
.dots span {
  display: inline-block;
  animation: dot-blink 1.4s infinite;
  opacity: .3;
}
.dots span:nth-child(2) { animation-delay: .2s; }
.dots span:nth-child(3) { animation-delay: .4s; }
@keyframes dot-blink {
  0%, 60%, 100% { opacity: .3; }
  30% { opacity: 1; }
}

.chat-input-bar {
  display: flex; align-items: center; gap: clamp(12px, 1.4vw, 18px);
  padding: clamp(16px, 1.8vw, 24px) clamp(24px, 3vw, 44px);
  background: #000;
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  background: rgba(20, 28, 32, .85);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 12px;
  color: #ffffff;
  font-family: inherit;
  font-size: clamp(.9rem, 1.02vw, 1.0625rem);
  padding: clamp(16px, 1.6vw, 22px) clamp(20px, 2vw, 26px);
  outline: none;
  transition: border-color .2s ease;
}
.chat-input:focus { border-color: rgba(91, 201, 193, .4); }
.chat-input::placeholder { color: rgba(255,255,255,.32); }
.chat-send {
  width: clamp(48px, 4.4vw, 58px);
  height: clamp(48px, 4.4vw, 58px);
  border-radius: 11px;
  background: #8ed1c2;
  color: #06343a;
  border: none;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 180ms ease, transform 180ms ease;
  flex-shrink: 0;
}
.chat-send:hover { background: #9eddd0; transform: translateY(-1px); }
.chat-send:active { transform: translateY(0); }
.chat-send svg { width: 44%; height: 44%; }

.hero-image.chat-on .hero-video { opacity: 0; }

/* When the chat takeover is active, hide other hero elements so the
   chat fills the surface without overlap. */
.hero-sticky:has(.hero-image.chat-on) .hero-title,
.hero-sticky:has(.hero-image.chat-on) .scroll-cue {
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}

/* Slim input bar that appears over the frozen video, positioned roughly
   where the chat input sits in the video's final frame */
.frozen-input {
  position: absolute;
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%);
  width: min(76%, 980px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(20, 28, 38, .55);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-out);
  z-index: 5;
}
.hero-image.chat-on .frozen-input {
  opacity: 1;
  pointer-events: auto;
}
.frozen-input input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
}
.frozen-input input::placeholder { color: rgba(255,255,255,.45); }
.frozen-input button {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: none;
  background: var(--color-accent-pure);
  color: var(--on-accent);
  cursor: pointer;
  transition: transform .2s, background .2s;
  flex-shrink: 0;
}
.frozen-input button:hover { background: #6dd8d0; transform: translateY(-1px); }
.frozen-input button svg { width: 16px; height: 16px; }


/* The mock terminal/dashboard inside the hero image */
.terminal {
  width: 100%; max-width: 880px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px;
  font-family:var(--w-font-number);
  font-size: .8125rem;
  line-height: 1.7;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.5);
}
.terminal-bar {
  display: flex; align-items: center; gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border-soft);
  margin-bottom: 16px;
}
.terminal-bar .dot-c { width: 12px; height: 12px; border-radius: 50%; }
.terminal-bar .dot-c.red { background: #ff5f57; }
.terminal-bar .dot-c.yel { background: #febc2e; }
.terminal-bar .dot-c.grn { background: #28c840; }
.terminal-bar .name {
  margin-left: 12px; font-size: .75rem; color: var(--color-text-dim);
}
.line { display: block; }
.line.prompt::before { content: '> '; color: var(--color-accent-pure); }
.line.dim { color: var(--color-text-dim); }
.line.ok { color: var(--color-positive); }
.line.warn { color: var(--color-accent-light); }
.line.user { color: var(--color-text); }
.cursor { display: inline-block; width: 8px; height: 14px; background: var(--color-accent-pure); animation: blink 1s steps(2) infinite; vertical-align: -2px; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }

/* Scroll cue at bottom of hero */
.scroll-cue {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
  opacity: calc(1 - var(--p, 0) * 10);
  z-index: 3;
  pointer-events: none;
}
.scroll-cue .arrow {
  width: 1px; height: 32px;
  background: linear-gradient(180deg, transparent, var(--color-accent-light));
  animation: cue 2s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(-12px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ─────────────────────────────────────────────────────
   SECTIONS
   ───────────────────────────────────────────────────── */
section {
  padding: clamp(80px, 12vh, 140px) 24px;
  position: relative;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
}
.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
}

h2.section-title {
  font-family:var(--w-font-text);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 18ch;
}
h2.section-title em {
  font-family:var(--w-font-text);
  font-style: italic;
  font-weight: 400;
  color: #6dd8d0;
}
.section-lead {
  font-size: 1.125rem;
  color: var(--color-text-soft);
  max-width: 52ch;
  line-height: 1.6;
  margin-bottom: 64px;
}

/* Center the YOUR PATH heading block */
#paths .eyebrow,
#paths .section-title,
#paths .section-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
#paths .section-title { max-width: 18ch; }
#paths .section-lead { max-width: 52ch; }
#paths .eyebrow { display: block; }
/* CTA button centered, sits between the lead and the path cards */
#paths .hero-cta {
  display: flex;
  margin: 8px auto 64px;
  width: fit-content;
  color: var(--color-text);
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.14);
}
[data-theme="light"] #paths .hero-cta {
  color: var(--color-text);
  background: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.12);
}
[data-theme="light"] #paths .hero-cta:hover {
  background: rgba(0,0,0,.07);
  border-color: var(--color-accent);
}

/* Ticker */
.ticker-wrap {
  padding: 24px 0;
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
  overflow: hidden;
  background: var(--ticker-bg);
  margin: 0;
}
.ticker {
  display: flex; gap: 48px;
  animation: ticker 60s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-family:var(--w-font-number);
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}
.ticker-item .sym { color: var(--color-text-secondary); font-weight: 600; }
.ticker-item .price { color: var(--color-text); }
.ticker-item .chg.up { color: var(--color-positive); }
.ticker-item .chg.dn { color: var(--color-negative); }
.ticker-item .badge {
  font-size: .625rem; padding: 2px 6px; border-radius: 4px;
  background: var(--color-accent-soft); color: var(--color-accent-light);
  font-family:var(--w-font-text); font-weight: 600; letter-spacing: .05em;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Asset pills */
.pills {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
}
.pill {
  padding: 14px 22px;
  border-radius: 100px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: .875rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 200ms var(--ease-out);
  cursor: pointer;
}
.pill:hover { background: var(--color-surface-hover); border-color: var(--color-border-strong); transform: translateY(-2px); }
.pill .pill-badge {
  font-size: .625rem; padding: 3px 8px; border-radius: 4px;
  background: var(--color-accent-soft); color: var(--color-accent-light);
  font-weight: 600; letter-spacing: .05em;
}

/* Audience-paths grid (V2 hallmark) */
.paths {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 64px;
}
@media (max-width: 900px) { .paths { grid-template-columns: 1fr; } }
.path-card {
  padding: 40px 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all 300ms var(--ease-out);
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  overflow: hidden;
}
.path-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--color-accent-pure);
  transform: scaleX(.3); transform-origin: left;
  transition: transform 400ms var(--ease-out);
}
.path-card:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0,212,170,.15);
}
.path-card:hover::before { transform: scaleX(1); }
.path-icon { font-size: 2rem; line-height: 1; }
.path-step {
  font-family:var(--w-font-number);
  font-size: .75rem; color: var(--color-accent-light);
  letter-spacing: .1em;
}
.path-title {
  font-family:var(--w-font-text);
  font-size: 1.5rem; font-weight: 600;
  letter-spacing: -.02em;
}
.path-desc { color: var(--color-text-soft); font-size: .9375rem; line-height: 1.55; }
.path-link {
  margin-top: auto; padding-top: 8px;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--color-accent-light); font-weight: 500; font-size: .875rem;
}
.path-link::after { content: '→'; transition: transform 200ms var(--ease-out); }
.path-card:hover .path-link::after { transform: translateX(4px); }

/* Capability grid (asymmetric 7/5 then 4/4/4) */
.cap-grid-a {
  display: grid; grid-template-columns: 7fr 5fr; gap: 24px;
  margin-bottom: 24px;
}
.cap-grid-b {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) {
  .cap-grid-a, .cap-grid-b { grid-template-columns: 1fr; }
}
.cap {
  padding: 36px 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all 300ms var(--ease-out);
  position: relative;
  overflow: hidden;
}
.cap:hover { border-color: var(--color-border-strong); transform: translateY(-2px); }
.cap h3 {
  font-family:var(--w-font-text);
  font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em;
  margin-bottom: 12px;
}
.cap p { color: var(--color-text-soft); font-size: .9375rem; line-height: 1.6; max-width: 48ch; }
.cap .mini-chart {
  margin-top: 24px; height: 80px;
  background: linear-gradient(180deg, var(--chart-gradient-start) 0%, transparent 100%);
  border-radius: 8px;
  position: relative; overflow: hidden;
}
.cap .mini-chart svg { width: 100%; height: 100%; }

.cap.featured {
  background: linear-gradient(135deg, var(--color-surface), rgba(0,212,170,.08));
  border-color: var(--color-accent-dim);
}

/* Workflow steps */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  position: relative;
}
.step::before {
  content: ''; position: absolute; top: -1px; left: 0;
  width: 60px; height: 2px;
  background: var(--color-accent-pure);
}
.step-num {
  font-family:var(--w-font-number);
  font-size: .75rem; letter-spacing: .1em;
  color: var(--color-accent-light);
  margin-bottom: 16px;
}
.step h3 {
  font-family:var(--w-font-text);
  font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em;
  margin-bottom: 12px;
}
.step p { color: var(--color-text-soft); font-size: .9375rem; line-height: 1.6; }

/* ─────────────────────────────────────────────────────
   SECOND SCROLL MOMENT — Agents reveal
   Different look: dark frame, brighter accent halo,
   expands from a smaller pill-shaped card to fullscreen
   ───────────────────────────────────────────────────── */
.reveal-wrap {
  position: relative;
  height: 200vh;
  background: var(--color-bg);
}
.reveal-sticky {
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reveal-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, var(--color-accent-dim), transparent 70%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-footer-bg) 100%);
  opacity: calc(0.4 + var(--p2, 0) * 0.6);
  z-index: 0;
}
.reveal-copy {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  z-index: 3;
  padding: 24px;
  pointer-events: none;
  opacity: calc(1 - var(--p2, 0) * 1.6);
  transform: translateY(calc(var(--p2, 0) * -30px));
}
.reveal-copy .eyebrow { pointer-events: auto; }
.reveal-copy h2 {
  font-family:var(--w-font-text);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.1;
  margin: 24px 0 16px;
  max-width: 18ch;
}
.reveal-copy h2 em { font-family:var(--w-font-text); font-style: italic; font-weight: 400; color: #6dd8d0; }
.reveal-copy p {
  color: var(--color-text-soft);
  font-size: 1.125rem;
  max-width: 48ch;
}

.reveal-image {
  position: relative;
  width: calc(28% + var(--p2, 0) * 72%);
  height: calc(40% + var(--p2, 0) * 60%);
  max-width: 1400px;
  border-radius: calc(100px * (1 - var(--p2, 0)) + 16px * var(--p2, 0));
  overflow: hidden;
  z-index: 1;
  will-change: width, height, border-radius;
  box-shadow:
    0 40px 100px -40px rgba(0,0,0,.7),
    0 0 0 1px var(--color-accent-dim),
    0 0 80px -20px var(--color-accent-glow);
  background: linear-gradient(135deg, #0a3a3a 0%, #1e293b 50%, #0f172a 100%);
}
.reveal-image::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.3) 100%);
  opacity: calc(1 - var(--p2, 0));
  z-index: 2;
  pointer-events: none;
}
.reveal-image::after {
  /* faint pill label that shows when collapsed */
  content: 'AGENT — LIVE';
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family:var(--w-font-number);
  font-size: .75rem;
  letter-spacing: .2em;
  color: var(--color-accent-light);
  opacity: calc(1 - var(--p2, 0) * 3);
  z-index: 3;
  white-space: nowrap;
  pointer-events: none;
}

.agent-board {
  position: absolute; inset: 0;
  padding: clamp(20px, 3vw, 40px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  opacity: calc(var(--p2, 0) * 1.5);
  transition: opacity 100ms linear;
}
@media (max-width: 700px) {
  .agent-board { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; }
}
.agent-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: .8125rem;
}
.agent-card .label {
  font-size: .625rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--color-text-dim);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.agent-card .label .dot-live {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-positive);
  animation: midash-pulse 2s var(--ease) infinite;
}
.agent-card .stat-big {
  font-family:var(--w-font-text);
  font-size: 2rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  margin-bottom: 4px;
}
.agent-card .stat-big.up { color: var(--color-positive); }
.agent-card .stat-sub {
  font-size: .75rem; color: var(--color-text-dim);
  font-variant-numeric: tabular-nums;
}
.agent-card.chart {
  grid-column: 1 / 2; grid-row: 1 / 3;
  display: flex; flex-direction: column;
}
.agent-card.chart svg { flex: 1; width: 100%; }
.agent-card.positions {
  grid-column: 2 / 3; grid-row: 1 / 2;
}
.agent-card.activity {
  grid-column: 2 / 3; grid-row: 2 / 3;
  font-family:var(--w-font-number);
  font-size: .75rem;
  line-height: 1.7;
  overflow: hidden;
}
.agent-card.bar {
  grid-column: 1 / 3;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 20px;
}
@media (max-width: 700px) {
  .agent-card.chart, .agent-card.positions,
  .agent-card.activity, .agent-card.bar { grid-column: 1; grid-row: auto; }
}
.agent-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border-soft);
  font-variant-numeric: tabular-nums;
}
.agent-row:last-child { border-bottom: none; }
.agent-row .pos-sym { font-weight: 600; }
.agent-row .pos-chg.up { color: var(--color-positive); }
.agent-row .pos-chg.dn { color: var(--color-negative); }
.act-line { display: block; color: var(--color-text-soft); }
.act-line .t { color: var(--color-text-dim); }
.act-line.ok { color: var(--color-positive); }
.act-line.warn { color: var(--color-accent-light); }

.bar-stat { display: flex; flex-direction: column; gap: 2px; }
.bar-stat .v { font-family:var(--w-font-text); font-weight: 600; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.bar-stat .l { font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-dim); }

/* Brokers section — head + marquee */
.brokers-section { padding-bottom: clamp(60px, 8vh, 100px); }
.brokers-head { text-align: center; margin-bottom: clamp(40px, 6vh, 72px); }
.brokers-head .section-title { margin-left: auto; margin-right: auto; max-width: 22ch; }
.brokers-head .section-title em {
  font-family:var(--w-font-text);
  font-style: italic;
  font-weight: 400;
  color: #6dd8d0;
}

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 24px 0;
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg,
    transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: clamp(40px, 5vw, 80px);
  width: max-content;
  align-items: center;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.broker-tile {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: clamp(140px, 14vw, 200px);
  height: clamp(80px, 10vw, 120px);
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(0, 212, 170, .10) 0%,
    rgba(0, 212, 170, .04) 45%,
    transparent 70%);
  padding: 20px 24px;
  transition: transform 220ms var(--ease-out);
}
.broker-tile:hover { transform: scale(1.06); }
.broker-tile img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: filter 220ms var(--ease-out);
}

/* Theme-aware ink:
   data-ink="dark"  → black/dark logo. Inverted to near-white on dark theme.
   data-ink="color" → keep as-is (own brand colors).
   data-ink="light" → reserved for future white logos. */

/* DARK THEME — dark-ink logos need inverting to read on dark bg */
[data-theme="dark"] .broker-tile[data-ink="dark"] img,
:root:not([data-theme="light"]) .broker-tile[data-ink="dark"] img {
  filter: invert(1) brightness(.95);
}

/* LIGHT THEME — color logos already read; dark-ink logos read as-is */
[data-theme="light"] .broker-tile[data-ink="dark"] img {
  filter: none;
}
[data-theme="light"] .broker-tile {
  background: radial-gradient(circle at center,
    rgba(0, 212, 170, .07) 0%,
    rgba(0, 212, 170, .03) 45%,
    transparent 70%);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* KSA bilingual block */
.bilingual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  padding: 48px;
  background: linear-gradient(135deg, var(--color-surface), rgba(0,212,170,.04));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}
@media (max-width: 900px) { .bilingual { grid-template-columns: 1fr; padding: 32px; } }
.bilingual h3 {
  font-family:var(--w-font-text);
  font-size: 1.75rem; font-weight: 600; letter-spacing: -.02em;
  margin-bottom: 16px;
}
.bilingual p { color: var(--color-text-soft); line-height: 1.6; margin-bottom: 12px; }
.bilingual .rtl {
  direction: rtl; text-align: right;
}
.bilingual .rtl h3, .bilingual .rtl p { text-align: right; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan {
  padding: 40px 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 16px;
}
.plan.featured {
  background: linear-gradient(135deg, rgba(0,212,170,.08), var(--color-surface));
  border-color: var(--color-accent-dim);
  position: relative;
}
.plan.featured::before {
  content: 'MOST POPULAR';
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--color-accent-pure); color: var(--on-accent);
  font-size: .625rem; font-weight: 700; letter-spacing: .1em;
  padding: 4px 12px; border-radius: 100px;
}
.plan-name {
  font-family:var(--w-font-text);
  font-size: 1.25rem; font-weight: 600;
}
.plan-price {
  font-family:var(--w-font-text);
  font-size: 2.5rem; font-weight: 700; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.plan-price small { font-size: .875rem; color: var(--color-text-dim); font-weight: 400; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 16px 0; flex: 1; }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--color-text-secondary); }
.plan-features li::before { content: '✓'; color: var(--color-accent-pure); font-weight: 700; }

/* Final CTA */
.cta-final {
  text-align: center;
  padding: clamp(80px, 14vh, 160px) 24px;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, var(--color-accent-dim), transparent 70%),
    var(--color-bg);
  border-top: 1px solid var(--color-border-soft);
}
.cta-final h2 {
  font-family:var(--w-font-text);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.1;
  margin-bottom: 32px;
  max-width: 18ch;
  margin-left: auto; margin-right: auto;
}
.cta-final h2 em { font-family:var(--w-font-text); font-style: italic; font-weight: 400; color: #6dd8d0; }

/* Footer */
footer {
  background: var(--color-footer-bg);
  padding: 80px 24px 40px;
  border-top: 1px solid var(--color-border-soft);
}
.footer-grid {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: grid; grid-template-columns: 2fr repeat(5, 1fr); gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer-brand p { color: var(--color-text-dim); font-size: .875rem; line-height: 1.6; margin-top: 16px; max-width: 36ch; }
.footer-logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.footer-mark { width: 40px; height: 40px; flex-shrink: 0; }
.footer-wm   { font-family:var(--w-font-text); font-weight: 800; font-size: 2rem; line-height: 1; letter-spacing: -.02em; color: var(--color-text); }
.footer-col h4 {
  font-size: .6875rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--color-text-dim); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: .875rem; color: var(--color-text-secondary); transition: color 150ms var(--ease-out); }
.footer-col a:hover { color: var(--color-accent-light); }
.footer-bottom {
  max-width: var(--container-wide); margin: 0 auto;
  padding-top: 32px; border-top: 1px solid var(--color-border-soft);
  display: flex; justify-content: space-between; gap: 24px;
  font-size: .75rem; color: var(--color-text-dim);
  flex-wrap: wrap;
}
.disclosure {
  max-width: var(--container-wide); margin: 32px auto 0;
  font-size: .6875rem; color: var(--color-text-dim); line-height: 1.6;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.reveal.show { opacity: 1; transform: translateY(0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .hero-image { width: 90% !important; height: 80% !important; border-radius: 12px !important; }
  .hero-copy { opacity: 1 !important; transform: none !important; }
  .hero-video { object-fit: contain !important; }
  .reveal-image { width: 90% !important; height: 80% !important; border-radius: 16px !important; }
  .reveal-copy { opacity: 1 !important; transform: none !important; position: relative !important; }
  .agent-board { opacity: 1 !important; }
}

/* ─── NEW NAV: brand-mark, sub-flyout, lang dropdown, login pill ─── */
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.65rem; letter-spacing: -.025em;
  line-height: 1;
}
.logo .wm { font-size: inherit; line-height: 1; }
.logo .mark, .logo .brand-mark {
  width: .78em; height: .78em;
  display: block; flex: none;
  overflow: visible;
  filter: drop-shadow(0 0 10px rgba(49,180,171,.18));
}
.mlk-dot {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(var(--s, 1));
  transition: transform 260ms var(--ease), filter 260ms var(--ease);
  filter: drop-shadow(0 0 calc(var(--g, 0) * 14px) rgba(49, 180, 171, calc(var(--g, 0) * .8)));
}
@media (prefers-reduced-motion: reduce) {
  .mlk-dot { transition: none !important; transform: none !important; filter: none !important; }
}

/* Nested sub-flyout inside mega menu */
.mega-link.has-sub { position: relative; cursor: pointer; }
.mega-link.has-sub .sub-chev {
  width: 10px; height: 10px; margin-left: auto;
  color: var(--color-text-dim);
  transition: transform .2s var(--ease-out), color .2s;
}
.mega-link.has-sub:hover .sub-chev,
.mega-link.has-sub.open .sub-chev { color: var(--color-text); transform: translateX(2px); }
.mega-link.has-sub .t { display: flex; align-items: center; gap: 8px; }
.mega-sub {
  position: absolute; top: -10px; left: calc(100% + 8px);
  min-width: 320px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.7);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateX(-6px);
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility .2s;
  z-index: 1;
}
.mega-link.has-sub:hover .mega-sub,
.mega-link.has-sub:focus-within .mega-sub,
.mega-link.has-sub.open .mega-sub {
  opacity: 1; visibility: visible; transform: translateX(0);
}
.mega-sub .mega-link { display: block; }

/* Login pill */
.nav-link-util.nav-login {
  border: 1px solid var(--color-border-strong);
  border-radius: 100px;
  padding: 8px 18px;
  background: transparent;
  transition: background .2s var(--ease-out), border-color .2s, color .2s, transform .2s;
}
.nav-link-util.nav-login:hover {
  background: var(--color-border-soft);
  border-color: var(--color-text);
  color: var(--color-text);
  transform: translateY(-1px);
}
header.nav:not(.scrolled) .nav-link-util.nav-login {
  border-color: rgba(255,255,255,.55);
  color: #ffffff;
}
header.nav:not(.scrolled) .nav-link-util.nav-login:hover {
  background: rgba(255,255,255,.10);
  border-color: #ffffff;
  color: #ffffff;
}

/* Language dropdown */
.lang-wrap { position: relative; display: inline-block; }
.lang-switch .lang-globe { width: 14px; height: 14px; flex: none; opacity: .85; }
.lang-switch .lang-chev  { width: 9px; height: 9px; opacity: .55; transition: transform .2s; }
.lang-wrap.open .lang-switch .lang-chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 88px;
  display: none; flex-direction: column;
  padding: 4px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  z-index: 50;
}
.lang-wrap.open .lang-menu { display: flex; }
.lang-opt {
  display: block; width: 100%; text-align: left;
  font: inherit; font-size: .85rem; font-weight: 600;
  color: var(--color-text-soft);
  padding: 8px 12px; border: 0; border-radius: 7px;
  background: transparent; cursor: pointer;
}
.lang-opt:hover { background: var(--color-border-soft); color: var(--color-text); }

/* ─── Contact page ──────────────────────────────────── */
.contact-hero-sub {
  font-family:var(--w-font-text);
  font-size: clamp(16px, 1.4vw, 22px);
  color: rgba(255,255,255,.88);
  margin: 18px 0 0;
  letter-spacing: -.005em;
  text-shadow: 0 1px 14px rgba(0,0,0,.4);
}

.contact-section {
  position: relative;
  background:
    radial-gradient(rgba(49,180,171,.085) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, transparent, var(--accent-halo-faint)),
    var(--color-bg);
  padding: clamp(80px, 12vw, 160px) clamp(24px, 5vw, 80px) clamp(40px, 6vw, 80px);
}
[data-theme="light"] .contact-section {
  background:
    radial-gradient(rgba(49,180,171,.119) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, transparent, var(--accent-halo-faint)),
    var(--color-bg);
}
.contact-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; }
.contact-head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.contact-section-title { text-align: center; margin: 0 auto 14px !important; }
.contact-sub {
  font-family:var(--w-font-text);
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--color-text-soft);
  line-height: 1.55;
  max-width: 56ch;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 1.6vw, 22px);
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(22px, 2.4vw, 30px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease-out),
              border-color .25s var(--ease-out),
              background .25s var(--ease-out),
              box-shadow .25s var(--ease-out);
}
[data-theme="light"] .contact-card { background: #ffffff; }
.contact-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(109,216,208,.06), transparent 55%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
  box-shadow: 0 24px 50px -30px rgba(0,212,170,.35);
}
.contact-card:hover::before { opacity: 1; }
.contact-card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-border-soft);
  border: 1px solid var(--color-border);
  color: var(--color-accent-light);
  flex: none;
  transition: background .25s var(--ease-out), color .25s var(--ease-out);
}
[data-theme="light"] .contact-card-icon { color: var(--color-accent-deep); }
.contact-card:hover .contact-card-icon {
  background: var(--color-accent-soft);
  color: var(--color-accent-light);
}
.contact-card-icon svg { width: 22px; height: 22px; }
.contact-card-body { flex: 1; min-width: 0; }
.contact-card-title {
  font-family:var(--w-font-text);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--color-text);
  margin: 0 0 6px;
}
.contact-card-desc {
  font-family:var(--w-font-text);
  font-size: .92rem;
  color: var(--color-text-soft);
  line-height: 1.55;
  margin: 0 0 14px;
}
.contact-card-link {
  display: inline-flex; align-items: center;
  font-family:var(--w-font-text);
  font-size: .88rem;
  font-weight: 600;
  color: var(--color-accent-light);
  letter-spacing: .005em;
  transition: transform .2s var(--ease-out), color .2s var(--ease-out);
}
[data-theme="light"] .contact-card-link { color: var(--color-accent-deep); }
.contact-card:hover .contact-card-link { transform: translateX(3px); }

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

/* Contact form + HQ */
.contact-form-section {
  background: var(--color-bg);
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 80px) clamp(100px, 12vw, 160px);
}
.contact-form-inner { max-width: 1180px; margin: 0 auto; }
.contact-form-head { text-align: center; margin-bottom: clamp(36px, 4vw, 56px); }
.contact-form-title { text-align: center; margin: 0 auto 14px !important; }

.contact-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(20px, 2.4vw, 36px);
  align-items: start;
}
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 30px 70px -40px rgba(0,0,0,.55), 0 0 0 1px var(--color-border-soft) inset;
  position: relative;
}
[data-theme="light"] .contact-form {
  background: #ffffff;
  box-shadow: 0 24px 60px -30px rgba(10,20,22,.14);
}
.contact-form::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(109,216,208,.05), transparent 50%);
  pointer-events: none;
}
.contact-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%2394a0aa' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px;
  padding-right: 44px;
  cursor: pointer;
}
.contact-select option { color: #0a1416; background: #ffffff; }

.contact-hq {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 2.6vw, 32px);
  position: relative;
  overflow: hidden;
}
[data-theme="light"] .contact-hq { background: #ffffff; }
.contact-hq::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(109,216,208,.12), transparent 60%);
  pointer-events: none;
}
.contact-hq-label {
  font-family:var(--w-font-text);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}
.contact-hq-city {
  font-family:var(--w-font-text);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--color-text);
  margin: 6px 0 16px;
  line-height: 1.1;
}
.contact-hq-addr {
  font-family:var(--w-font-text);
  font-size: .95rem;
  color: var(--color-text-soft);
  line-height: 1.6;
  margin: 0 0 18px;
}
.contact-hq-divider {
  height: 1px;
  background: var(--color-border);
  margin: 18px 0;
}
.contact-hq-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  font-family:var(--w-font-text);
  font-size: .88rem;
  color: var(--color-text-soft);
  margin: 8px 0;
}
.contact-hq-meta span { color: var(--color-text-dim); }
.contact-hq-meta strong { color: var(--color-text); font-weight: 600; }

@media (max-width: 880px) {
  .contact-split { grid-template-columns: 1fr; }
}

/* ─── Contact "Contact Us" layout ───────────────────── */
.cu-section {
  background: var(--color-bg);
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 80px) clamp(100px, 12vw, 160px);
}
.cu-inner { max-width: 1180px; margin: 0 auto; }

/* Head: huge title left, intro on right */
.cu-head {
  display: block;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}
.cu-title {
  font-family:var(--w-font-text);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .95;
  color: var(--color-text);
  margin: 0;
}
.cu-title em {
  /* The global h1/h2 em polish already kicks in */
  color: #31B4AB;
}
.cu-intro {
  font-family:var(--w-font-text);
  font-size: clamp(14px, 1.1vw, 16.5px);
  color: var(--color-text-soft);
  line-height: 1.6;
  margin: 0;
  max-width: 38ch;
  justify-self: end;
}

/* Grid: form left, image right */
.cu-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}
.cu-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 40px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(0,0,0,.55), 0 0 0 1px var(--color-border-soft) inset;
}
[data-theme="light"] .cu-card {
  background: #f4f6f6;
  box-shadow: 0 18px 40px -28px rgba(10,20,22,.12);
}
.cu-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(109,216,208,.05), transparent 55%);
  pointer-events: none;
}

/* Form rows */
.cu-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.4vw, 20px);
  margin-bottom: clamp(14px, 1.4vw, 18px);
}
.cu-row.single { grid-template-columns: 1fr; }
.cu-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cu-label {
  font-family:var(--w-font-text);
  font-size: .82rem;
  font-weight: 600;
  color: var(--color-text-soft);
  letter-spacing: .005em;
}
.cu-opt {
  color: var(--color-text-dim);
  font-weight: 400;
  margin-left: 4px;
}
.cu-input {
  width: 100%;
  background: var(--color-border-soft);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-text);
  font-family: inherit;
  font-size: .95rem;
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s var(--ease-out), background .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
[data-theme="light"] .cu-input { background: #ffffff; }
.cu-input::placeholder { color: var(--color-text-dim); }
.cu-input:hover { border-color: var(--color-border-strong); }
.cu-input:focus {
  border-color: var(--color-accent);
  background: rgba(109,216,208,.05);
  box-shadow: 0 0 0 3px rgba(0,212,170,.12);
}
.cu-textarea { min-height: 130px; line-height: 1.5; resize: vertical; }
.cu-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%2394a0aa' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 42px;
  cursor: pointer;
}
.cu-select option { color: #0a1416; background: #ffffff; }

/* Actions */
.cu-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(18px, 2vw, 24px);
}
.cu-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .005em;
  color: var(--color-accent-light);
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--color-accent) 16%, transparent),
    color-mix(in srgb, var(--color-accent) 7%, transparent));
  border: 1px solid color-mix(in srgb, var(--color-accent) 42%, transparent);
  border-radius: 100px;
  padding: 13px 26px;
  cursor: pointer;
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: 0 12px 28px -16px rgba(0,212,170,.35),
              inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .2s var(--ease-out),
              background .25s var(--ease-out),
              border-color .25s var(--ease-out),
              box-shadow .25s var(--ease-out),
              color .25s var(--ease-out);
}
.cu-submit:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--color-accent) 26%, transparent),
    color-mix(in srgb, var(--color-accent) 12%, transparent));
  border-color: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 18px 38px -16px rgba(0,212,170,.5),
              inset 0 1px 0 rgba(255,255,255,.08);
}
.cu-submit:active { transform: translateY(0); }
.cu-submit.is-sent {
  background: color-mix(in srgb, var(--color-positive) 18%, transparent);
  border-color: var(--color-positive);
  color: var(--color-positive);
  pointer-events: none;
}
[data-theme="light"] .cu-submit {
  color: var(--color-accent-deep);
  background: linear-gradient(180deg, rgba(0,212,170,.10), rgba(0,212,170,.04));
  border-color: rgba(0,212,170,.32);
  box-shadow: 0 12px 24px -16px rgba(0,212,170,.28),
              inset 0 1px 0 rgba(255,255,255,.6);
}
[data-theme="light"] .cu-submit:hover {
  background: linear-gradient(180deg, rgba(0,212,170,.18), rgba(0,212,170,.08));
  border-color: var(--color-accent);
  color: var(--color-accent-deep);
}
.cu-arrow-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--color-accent-light);
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--color-accent) 16%, transparent),
    color-mix(in srgb, var(--color-accent) 7%, transparent));
  border: 1px solid color-mix(in srgb, var(--color-accent) 42%, transparent);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: 0 12px 28px -16px rgba(0,212,170,.35),
              inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .2s var(--ease-out),
              background .25s var(--ease-out),
              border-color .25s var(--ease-out),
              box-shadow .25s var(--ease-out),
              color .25s var(--ease-out);
}
.cu-arrow-btn svg { width: 18px; height: 18px; }
.cu-arrow-btn:hover {
  transform: translateY(-2px) rotate(-12deg);
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--color-accent) 26%, transparent),
    color-mix(in srgb, var(--color-accent) 12%, transparent));
  border-color: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 18px 38px -16px rgba(0,212,170,.5),
              inset 0 1px 0 rgba(255,255,255,.08);
}
[data-theme="light"] .cu-arrow-btn {
  color: var(--color-accent-deep);
  background: linear-gradient(180deg, rgba(0,212,170,.10), rgba(0,212,170,.04));
  border-color: rgba(0,212,170,.32);
  box-shadow: 0 12px 24px -16px rgba(0,212,170,.28),
              inset 0 1px 0 rgba(255,255,255,.6);
}
[data-theme="light"] .cu-arrow-btn:hover {
  background: linear-gradient(180deg, rgba(0,212,170,.18), rgba(0,212,170,.08));
  border-color: var(--color-accent);
  color: var(--color-accent-deep);
}

.cu-status {
  margin: 14px 0 0;
  font-size: .88rem;
  color: var(--color-accent-light);
  min-height: 1.2em;
}
[data-theme="light"] .cu-status { color: var(--color-accent-deep); }

/* Right image card */
.cu-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 100%;
  background: #0a0e14;
  box-shadow: 0 30px 70px -40px rgba(0,0,0,.6);
}
.cu-image-art { position: absolute; inset: 0; }
.cu-image-art svg { width: 100%; height: 100%; display: block; }
.cu-image-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cu-pill {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 2;
  font-family:var(--w-font-text);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .005em;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 900px) {
  .cu-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .cu-intro { justify-self: start; max-width: 60ch; }
  .cu-grid { grid-template-columns: 1fr; }
  .cu-image { min-height: 380px; }
}
@media (max-width: 560px) {
  .cu-row { grid-template-columns: 1fr; }
}
/* Footer logo: static, fully opaque — matches landing. */
.footer-logo .midash-wave circle { animation: none !important; opacity: 1 !important; }
/* Light-theme footer emblem — swap white-on-white circles to dark + medium gray. */
[data-theme="light"] .logo .midash-wave circle[fill="url("#fl-lit")"] { fill: #1c2120; }
[data-theme="light"] .logo .midash-wave circle[fill="url("#fl-dim")"] { fill: #888f8e; }
[data-theme="light"] .logo .midash-wave circle[fill="url("#fl-ctr")"] { fill: #0c1110; }



/* About page hero */
.about-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #000;
}
.about-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.15) 65%, rgba(0,0,0,.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.55) 18%, rgba(0,0,0,.25) 35%, rgba(0,0,0,0) 50%);
  z-index: 1;
  pointer-events: none;
}
.about-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 24px;
  padding-left: max(24px, calc((100vw - 1400px) / 2 + 24px));
  padding-top: 80px; /* nav clearance, smaller for visual lift */
  padding-bottom: 28vh; /* push content up above the phone in the image */
}
.about-hero-title {
  font-family:var(--w-font-text);
  font-size: clamp(36px, 4.5vw, 68px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
  color: #ffffff;
  max-width: 18ch;
  text-shadow: 0 2px 24px rgba(0,0,0,.4);
  margin: 0;
}
.about-hero-title em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: #31B4AB;
  text-shadow: none;
}
.accent-dot {
  color: #31B4AB;
  font-family:var(--w-font-text);
  font-style: normal !important;
  font-weight: 900;
  font-size: .65em;
  line-height: 0;
  margin-left: -.05em;
  vertical-align: baseline;
  display: inline;
}
.about-hero-sub {
  font-family:var(--w-font-text);
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,.82);
  max-width: 56ch;
  margin: 20px 0 0;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.about-body {
  background: var(--color-bg);
  padding: clamp(80px, 12vw, 160px) clamp(24px, 5vw, 80px);
}
.about-body .container { max-width: 1180px; margin: 0 auto; padding: 0; }
.about-section-title {
  text-align: center;
  margin: 0 auto 20px !important;
  max-width: 18ch;
}
.about-section-lead {
  text-align: center;
  margin: 0 auto 64px !important;
  max-width: 52ch;
}
.about-prose {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about-prose p {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  line-height: 1.7;
  color: var(--color-text-soft);
  margin: 0 0 1.4em 0;
}

/* Numbered alternating story sections */
.story-sections {
  margin-top: clamp(60px, 8vw, 120px);
  display: flex;
  flex-direction: column;
  gap: clamp(80px, 10vw, 160px);
}
.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.story-row.reverse .story-text { order: 2; }
.story-row.reverse .story-card { order: 1; }
.story-text { padding: 8px 0; }
.story-num {
  font-family:var(--w-font-text);
  font-style: italic;
  font-size: clamp(40px, 5vw, 64px);
  color: #6dd8d0;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.story-title {
  font-family:var(--w-font-text);
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.15;
  color: var(--color-text);
  margin: 0 0 20px;
}
.story-title em {
  font-family:var(--w-font-text);
  font-style: italic;
  font-weight: 400;
  color: #6dd8d0;
}
.story-text p {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.7;
  color: var(--color-text-soft);
  margin: 0;
}
.story-card {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: #0a2024;
  border: 1px solid rgba(109, 216, 208, .14);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5);
  position: relative;
}
.story-card svg { width: 100%; height: 100%; display: block; }
/* Mobile: stack vertically, image always after text */
@media (max-width: 820px) {
  .story-row,
  .story-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .story-row.reverse .story-text,
  .story-row.reverse .story-card { order: initial; }
}

/* Mission fullscreen section */
.mission-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #000;
}
.mission-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.mission-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.mission-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 clamp(24px, 5vw, 80px);
}
.mission-title {
  font-family:var(--w-font-text);
  font-size: clamp(36px, 4.5vw, 68px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
  color: #ffffff;
  margin: 0 0 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.mission-title em {
  font-family:var(--w-font-text);
  font-style: italic;
  font-weight: 400;
  color: #6dd8d0;
}
.mission-sub {
  font-family:var(--w-font-text);
  font-size: clamp(1rem, 1.4vw, 1.375rem);
  line-height: 1.5;
  color: rgba(255,255,255,.92);
  max-width: 36ch;
  margin: 0;
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
}

/* What drives us */
.drives {
  background: var(--color-bg);
  padding: clamp(80px, 12vw, 160px) clamp(24px, 5vw, 80px);
}
.drives .container { max-width: 1180px; margin: 0 auto; padding: 0; }
.drives-title {
  text-align: center;
  margin: 0 auto 20px !important;
  max-width: 22ch;
}
.drives-lead {
  text-align: center;
  margin: 0 auto 72px !important;
  max-width: 52ch;
}
.drives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 28px);
}
.drives-card {
  background: var(--color-bg-card, rgba(255,255,255,.02));
  border: 1px solid rgba(109, 216, 208, .12);
  border-radius: 20px;
  padding: clamp(28px, 3vw, 40px);
  transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out), background 280ms var(--ease-out);
}
.drives-card:hover {
  transform: translateY(-4px);
  border-color: rgba(109, 216, 208, .35);
  background: rgba(109, 216, 208, .03);
}
.drives-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(109, 216, 208, .12);
  color: #6dd8d0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.drives-icon svg { width: 22px; height: 22px; }
.drives-card-title {
  font-family:var(--w-font-text);
  font-size: clamp(1.125rem, 1.4vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--color-text);
  margin: 0 0 12px;
}
.drives-card-text {
  font-size: clamp(.95rem, 1.05vw, 1.0625rem);
  line-height: 1.65;
  color: var(--color-text-soft);
  margin: 0;
}
@media (max-width: 880px) {
  .drives-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────
   GLOBAL ITALIC DISPLAY-EM POLISH
   (ported from menu source — applies to every h1/h2 italic)
   ───────────────────────────────────────────────────── */
h1 em, h2 em {
  font-family: inherit !important;
  font-style: normal !important;
  font-weight: inherit !important;
  color: #31B4AB !important;
  letter-spacing: inherit !important;
  font-size: inherit !important;
  line-height: inherit;
  padding: 0;
}
h1.display em {
  font-size: 1.55em !important;
  letter-spacing: -.015em !important;
}

/* ─────────────────────────────────────────────────────
   CANONICAL HEADER/FOOTER SUPPORT — midash-wave logo,
   social row, legal disclaimer (ported from main landing)
   ───────────────────────────────────────────────────── */
@keyframes midash-pulse-lit { 0%,100% { opacity: 1;   } 50% { opacity: 0.3; } }
@keyframes midash-pulse-dim { 0%,100% { opacity: 0.3; } 50% { opacity: 1;   } }
@keyframes midash-pulse-ctr { 0%,100% { opacity: 1;   } 50% { opacity: 0.6; } }
.logo .midash-wave circle { animation-play-state: paused; }
.logo:hover .midash-wave circle { animation-play-state: running; }
.logo .midash-wave circle:nth-of-type(1)  { animation: midash-pulse-lit 2s -0.00s infinite ease-in-out; }
.logo .midash-wave circle:nth-of-type(2)  { animation: midash-pulse-dim 2s -0.15s infinite ease-in-out; }
.logo .midash-wave circle:nth-of-type(3)  { animation: midash-pulse-lit 2s -0.30s infinite ease-in-out; }
.logo .midash-wave circle:nth-of-type(4)  { animation: midash-pulse-dim 2s -0.45s infinite ease-in-out; }
.logo .midash-wave circle:nth-of-type(5)  { animation: midash-pulse-dim 2s -1.65s infinite ease-in-out; }
.logo .midash-wave circle:nth-of-type(6)  { animation: midash-pulse-lit 2s -0.60s infinite ease-in-out; }
.logo .midash-wave circle:nth-of-type(7)  { animation: midash-pulse-lit 2s -1.50s infinite ease-in-out; }
.logo .midash-wave circle:nth-of-type(8)  { animation: midash-pulse-dim 2s -0.75s infinite ease-in-out; }
.logo .midash-wave circle:nth-of-type(9)  { animation: midash-pulse-dim 2s -1.35s infinite ease-in-out; }
.logo .midash-wave circle:nth-of-type(10) { animation: midash-pulse-lit 2s -1.20s infinite ease-in-out; }
.logo .midash-wave circle:nth-of-type(11) { animation: midash-pulse-dim 2s -1.05s infinite ease-in-out; }
.logo .midash-wave circle:nth-of-type(12) { animation: midash-pulse-lit 2s -0.90s infinite ease-in-out; }
.logo .midash-wave circle:nth-of-type(13) { animation: midash-pulse-ctr 2s 0s      infinite ease-in-out; }
@media (prefers-reduced-motion: reduce) {
  .logo:hover .midash-wave circle { animation: none; }
}
.footer-logo .midash-wave circle { animation: none !important; }
[data-theme="light"] .logo .midash-wave circle[fill="url("#hl-lit")"],
[data-theme="light"] .logo .midash-wave circle[fill="url("#fl-lit")"] { fill: #1c2120; }
[data-theme="light"] .logo .midash-wave circle[fill="url("#hl-dim")"],
[data-theme="light"] .logo .midash-wave circle[fill="url("#fl-dim")"] { fill: #888f8e; }
[data-theme="light"] .logo .midash-wave circle[fill="url("#hl-ctr")"],
[data-theme="light"] .logo .midash-wave circle[fill="url("#fl-ctr")"] { fill: #0c1110; }

/* Footer social row */
.footer-social {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text-soft);
  background: transparent;
  transition: color .2s var(--ease-out), border-color .2s, background .2s, transform .2s;
}
.footer-social a:hover {
  color: var(--color-accent-light);
  border-color: var(--color-accent);
  background: var(--color-border-soft);
  transform: translateY(-2px);
}
.footer-mark { width: 200px; height: auto; flex-shrink: 0; }

/* Legal disclaimer */
.legal-disclaimer {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 40px 0 28px;
  border-top: 1px solid var(--color-border-soft);
  font-size: .8125rem;
  color: var(--color-text-dim);
  line-height: 1.65;
}
.legal-disclaimer .label {
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-bottom: 18px;
}
.legal-disclaimer p { margin: 0 0 16px; }
.legal-disclaimer p:last-of-type { margin-bottom: 0; }
.legal-disclaimer .copyright {
  margin-top: 24px;
  padding-top: 20px;
  text-align: center;
  color: var(--color-text-dim);
}

