/* ============================================================
   NAVIIRA DESIGN SYSTEM — v2 "Reachium DNA"
   Light-first, brand-blue, pill-heavy, bold ink display type.
   Language re-implemented from reachium.io recon (see
   docs/reachium-design-dna.json) with Naviira content/assets.
   Font stays Geist (brand constraint). Dark theme supported
   via html[data-theme="dark"]; light is the default.
   ============================================================ */

/* ---------- Tokens (light = default) ---------- */
:root {
  /* Surfaces */
  --bg-0: #ffffff;
  --bg-1: #f5f6f9;
  --bg-2: #eef2f7;
  --bg-3: #e2e8f0;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.15);

  /* Ink ramp */
  --fg: #0f172a;
  --fg-2: #334155;
  --fg-3: #64748b;
  --fg-4: #94a3b8;

  /* Brand */
  --blue: #005fa0;
  --blue-deep: #0078c8; /* hover LIGHTENS (Stitch-approved) */
  --sky: #e8f4fe;
  --navy: #0b1526;
  --grad-accent: linear-gradient(110deg, #005fa0, #0078c8);
  --grad-btn: #005fa0;

  /* Semantic */
  --green: #16a34a;
  --amber: #f59e0b;
  --red: #e11d48;
  --coral: #f97316;

  /* Tints for inline highlight chips */
  --tint-blue: rgba(0, 95, 160, 0.1);
  --tint-violet: rgba(0, 95, 160, 0.1);
  --tint-green: rgba(22, 163, 74, 0.12);
  --tint-coral: rgba(249, 115, 22, 0.13);

  /* Soft accents: readable on current theme */
  --accent-soft: #005fa0;
  --blue-soft: #005fa0;
  --green-soft: #15803d;
  --amber-soft: #b45309;
  --red-soft: #be123c;
  --coral-soft: #c2410c;

  /* Themed component surfaces */
  --track: #e6ecf3;
  --grid-line: rgba(15, 23, 42, 0.05);
  --card-fill: #ffffff;
  --card-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 14px 36px -20px rgba(15, 23, 42, 0.2);
  --glass-fill: rgba(15, 23, 42, 0.04);
  --glass-fill-2: rgba(15, 23, 42, 0.025);
  --glass-fill-hover: rgba(15, 23, 42, 0.08);
  --nav-bg: rgba(248, 249, 255, 0.85);
  --nav-border: rgba(15, 23, 42, 0.06);
  --nav-shadow: 0 2px 6px rgba(15, 23, 42, 0.05), 0 14px 34px -14px rgba(15, 23, 42, 0.14);
  --nav-shadow-scrolled: 0 2px 6px rgba(15, 23, 42, 0.05), 0 18px 40px -14px rgba(15, 23, 42, 0.18);
  --browser-bg: #ffffff;
  --browser-shadow: 0 1px 1px rgba(0, 0, 0, 0.05), 0 36px 36px rgba(0, 95, 160, 0.1);
  --footer-line: rgba(15, 23, 42, 0.08);
  --hero-wash: linear-gradient(180deg, #b5dcfc 0%, #ffffff 100%);
  --shadow-blue: 0 4px 14px rgba(0, 95, 160, 0.3);

  /* Radius: controls 10px, cards 16, panels 24, pills 999 */
  --r-1: 6px; --r-2: 10px; --r-3: 14px; --r-4: 16px; --r-5: 24px;

  /* Type */
  --font-sans: "Geist", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", monospace;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);

  /* Spacing scale (4px base; the ONLY vertical/horizontal rhythm values) */
  --s-1: 4px;  --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px; --s-6: 32px;  --s-7: 40px;  --s-8: 56px;
  --s-9: 64px; --s-10: 80px; --s-11: 96px; --s-12: 128px;

  /* Section rhythm */
  --sp-section: var(--s-11);       /* standard section: 96px */
  --sp-section-lg: var(--s-12);    /* conversion moments: 128px */
  --sp-section-sm: var(--s-8);     /* strips (logos, ticker): 56px */
  --sp-head-gap: var(--s-8);       /* section-head to content: 56px */

  /* Layout */
  --container: 1280px;
  --measure: 672px;        /* body-copy measure (hero subs, section subs) */
  --measure-wide: 800px;   /* section-head headline measure */
  --gutter: 24px;
  --frame-inset: 16px;     /* page frame inset (hero) */
  --sp-hero-top: 160px;    /* nav clearance (80) + s-10; heroes only */
}

/* ---------- Dark theme (supported alternative; light is primary) ---------- */
html[data-theme="dark"] {
  --bg-0: #0a1120;
  --bg-1: #0f1a2e;
  --bg-2: #16233c;
  --bg-3: #1f3050;
  --line: rgba(226, 240, 255, 0.09);
  --line-strong: rgba(226, 240, 255, 0.16);

  --fg: #f1f6fc;
  --fg-2: #c3d0e0;
  --fg-3: #8b9cb3;
  --fg-4: #5d6d84;

  --sky: #10233c;
  --navy: #060d1a;

  --tint-blue: rgba(0, 95, 160, 0.18);
  --tint-violet: rgba(0, 95, 160, 0.18);
  --tint-green: rgba(74, 222, 128, 0.14);
  --tint-coral: rgba(251, 146, 60, 0.15);

  --accent-soft: #9ecaff;
  --blue-soft: #9ecaff;
  --green-soft: #6ee7a0;
  --amber-soft: #fcd34d;
  --red-soft: #fda4af;
  --coral-soft: #fdba74;

  --track: #1c2c48;
  --grid-line: rgba(226, 240, 255, 0.06);
  --card-fill: #101c31;
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.5);
  --glass-fill: rgba(226, 240, 255, 0.05);
  --glass-fill-2: rgba(226, 240, 255, 0.03);
  --glass-fill-hover: rgba(226, 240, 255, 0.1);
  --nav-bg: rgba(16, 28, 49, 0.92);
  --nav-border: rgba(226, 240, 255, 0.09);
  --nav-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  --nav-shadow-scrolled: 0 12px 32px rgba(0, 0, 0, 0.55);
  --browser-bg: #101c31;
  --browser-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 30px 60px -22px rgba(0, 0, 0, 0.6);
  --footer-line: rgba(226, 240, 255, 0.1);
  --hero-wash: linear-gradient(180deg, #123252 0%, #0e2038 45%, #0a1526 80%, #0a1120 100%);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
html.nav-locked { overflow: hidden; }
body {
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  background: var(--bg-0);
  color: var(--fg-2);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(0, 95, 160, 0.22); color: var(--fg); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typography (bold ink display) ---------- */
h1, .h1 {
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--fg);
}
h2, .h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--fg);
}
h3, .h3 { font-size: 18px; font-weight: 700; line-height: 1.5; letter-spacing: -0.025em; color: var(--fg); }
.sub { font-size: 18px; line-height: 1.62; color: var(--fg-3); }
.sub-muted { font-size: 15px; line-height: 1.6; color: var(--fg-3); }
.small { font-size: 13px; color: var(--fg-3); }
.mono { font-family: var(--font-mono); }
.grad-text { color: var(--blue); background: none; -webkit-text-fill-color: currentColor; }

/* Section label: pill group (blue pill + neutral text pill) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card-fill);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg-3);
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 19px;
  flex: none;
  background-color: var(--blue);
  border-radius: 999px;
  margin-right: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='white' fill-rule='evenodd' d='M12 19 A7 7 0 0 1 19 12 H31 A7 7 0 0 1 38 19 V46.8 L12 75.4 Z M62 53.1 L88 24.6 V81 A7 7 0 0 1 81 88 H69 A7 7 0 0 1 62 81 Z M93 3 L95.9 11.4 L15.9 99.4 L6.6 97.7 L4.1 88.6 L84.1 0.6 Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
}
.eyebrow::after { content: none !important; }
.eyebrow { padding-right: 14px; }

/* Inline highlight chip inside headlines: Reachium uses plain blue accent text */
.chip { display: inline; padding: 0; border-radius: 0; background: none !important; }
.chip-blue, .chip-violet { color: var(--blue); }
.chip-green { color: var(--green); }
.chip-coral { color: var(--coral); }

/* ---------- Buttons (pills) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--blue-deep);
  box-shadow: 0 6px 20px rgba(0, 95, 160, 0.35);
}
.btn-ghost {
  background: var(--card-fill);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 1px 2px rgba(15, 23, 42, 0.05);
  color: var(--fg);
}
.btn-ghost:hover { background: var(--bg-1); }
.btn-lg { padding: 14px 40px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 8px 20px; font-size: 14px; border-radius: 12px; }

/* ---------- Badge / trust pill ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card-fill);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0;
  color: var(--fg-2);
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
  animation: pulse-dot 2.2s infinite;
}
@keyframes pulse-dot { 50% { opacity: 0.5; } }

/* Avatar cluster (trust pill) */
.avatar-stack { display: inline-flex; margin-right: 2px; }
.avatar-stack .ui-avatar {
  width: 24px; height: 24px; font-size: 9px;
  border: 2px solid var(--card-fill);
  margin-right: -8px;
}

/* Metric chip */
.metric-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--card-fill);
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}
.metric-chip b { font-size: 17px; font-weight: 700; color: var(--fg); letter-spacing: -0.02em; }
.metric-chip span { font-size: 12px; color: var(--fg-3); }

/* ---------- Cards ---------- */
.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card-fill);
  box-shadow: var(--card-shadow);
  padding: 28px;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.card:hover { box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 20px 44px -20px rgba(15, 23, 42, 0.28); }
.card-glow {
  border-color: rgba(0, 95, 160, 0.25);
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 95, 160, 0.07), transparent 55%),
    var(--card-fill);
}

/* Panel: gray bento container holding white inner cards */
.panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-1);
  padding: 28px;
}

.icon-chip {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--tint-blue);
  border: 1px solid rgba(0, 95, 160, 0.25);
  color: var(--blue);
  font-size: 18px;
  margin-bottom: 16px;
}

/* ---------- Navigation: solid brand-blue pill ---------- */
.nav {
  position: fixed;
  inset: 16px 0 auto;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 var(--frame-inset);
}
.nav-inner {
  width: 100%;
  max-width: 1200px;
  padding: 6px 6px 6px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  border-radius: 999px;
  border: 1px solid var(--nav-border);
  background: var(--nav-bg);
  box-shadow: var(--nav-shadow);
  transition: box-shadow 0.25s var(--ease);
}
.nav.is-scrolled .nav-inner { box-shadow: var(--nav-shadow-scrolled); }
.nav-inner { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 17.5px; font-weight: 700; letter-spacing: -0.02em; color: var(--fg);
}
.nav-logo .logo-n { width: 26px; height: 26px; fill: var(--blue); flex: none; }
html[data-theme="dark"] .nav-logo .logo-n { fill: var(--blue-soft); }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 28px; list-style: none; }
.nav-links a { position: relative; font-size: 15px; font-weight: 500; color: var(--fg-2); transition: color 0.16s var(--ease); }
.nav-links a:hover { color: var(--fg); }
.nav-links a.is-active { color: var(--blue); font-weight: 700; }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; border-radius: 2px; background: var(--blue);
}
.nav-cta { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.nav-cta .btn-ghost { background: transparent; box-shadow: none; color: var(--fg-2); }
.nav-cta .btn-ghost:hover { background: var(--glass-fill); color: var(--fg); }
.nav-burger { display: none; width: 38px; height: 38px; border-radius: 999px; }
.nav-burger span { display: block; width: 18px; height: 1.8px; background: var(--fg); margin: 2.5px auto; border-radius: 2px; transition: transform 0.2s var(--ease), opacity 0.2s; }
@media (max-width: 860px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-links, .nav-cta .btn-ghost, .nav-cta .btn-primary { display: none; }
  .nav-burger { display: block; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: calc(100% + 8px); left: var(--frame-inset); right: var(--frame-inset);
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid var(--nav-border);
    background: var(--nav-bg);
    box-shadow: var(--nav-shadow-scrolled);
  }
  .nav.is-open .nav-burger span:nth-child(1) { transform: translateY(4.3px) rotate(45deg); }
  .nav.is-open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav-burger span:nth-child(3) { transform: translateY(-4.3px) rotate(-45deg); }
}

/* ---------- Sections ---------- */
.section { padding: var(--sp-section) 0; position: relative; }
.section-lg { padding: var(--sp-section-lg) 0; }
.section-tight { padding: var(--sp-section-sm) 0; }
.section-head { max-width: var(--measure-wide); margin: 0 auto var(--sp-head-gap); text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { margin-bottom: var(--s-4); }
.section-head .sub-muted, .section-head .sub { max-width: var(--measure); margin-left: auto; margin-right: auto; }

/* Hero: sky-gradient rounded frame inset in the page */
.hero { padding: 96px var(--frame-inset) 0; position: relative; }
.hero-frame {
  position: relative;
  border-radius: 48px;
  background: var(--hero-wash);
  overflow: hidden;
  padding: 88px 24px 88px;
}
@media (max-width: 640px) { .hero-frame { border-radius: 28px; padding-top: 130px; } }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* ---------- Grid background (retained core element, subtler on light) ---------- */
.grid-bg, .hero-grid-lines {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(58% 52% at 50% 0%, black, transparent 78%);
  -webkit-mask-image: radial-gradient(58% 52% at 50% 0%, black, transparent 78%);
}
.grid-bg.gb-center {
  mask-image: radial-gradient(55% 70% at 50% 50%, black, transparent 82%);
  -webkit-mask-image: radial-gradient(55% 70% at 50% 50%, black, transparent 82%);
}
.grid-bg.gb-band {
  mask-image: linear-gradient(180deg, transparent, black 18%, black 82%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, black 18%, black 82%, transparent);
}
@media (max-width: 980px) { .grid-bg, .hero-grid-lines { background-size: 56px 56px; } }
@media (max-width: 640px) { .grid-bg, .hero-grid-lines { background-size: 44px 44px; } }

/* Browser frame (product shells) */
.browser {
  border-radius: var(--r-4);
  border: 1px solid var(--line);
  background: var(--browser-bg);
  box-shadow: var(--browser-shadow);
  overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  position: relative;
  background: var(--bg-1);
}
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--bg-3); }
.browser-bar .url {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-4);
  display: flex; align-items: center; gap: 7px;
}
.browser-body { padding: 0; }

/* ---------- Reachium-DNA animations ---------- */
@keyframes hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float { animation: hero-float 6s ease-in-out infinite; }
.float.f-delay { animation-delay: 1.6s; }

@keyframes caret-blink { 0%, 70%, 100% { opacity: 1; } 20%, 50% { opacity: 0; } }
.caret {
  display: inline-block; width: 2px; height: 1em;
  background: var(--blue); vertical-align: -0.12em; margin-left: 3px;
  animation: caret-blink 1.25s ease-out infinite;
}

@keyframes ring-pulse-blue { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 95, 160, 0.5); } 50% { box-shadow: 0 0 0 6px rgba(0, 95, 160, 0); } }
@keyframes ring-pulse-green { 0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); } 50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); } }

@keyframes flow-border-pulse {
  0%, 100% { box-shadow: 0 18px 36px -18px rgba(0, 95, 160, 0.5), 0 0 0 6px rgba(0, 95, 160, 0.1); }
  50% { box-shadow: 0 18px 36px -18px rgba(0, 95, 160, 0.55), 0 0 0 12px rgba(0, 95, 160, 0.22); }
}
.pulse-frame { animation: flow-border-pulse 2.4s ease-in-out infinite; }

/* Marching dashed flow lines (SVG): animate stroke-dashoffset */
@keyframes flow-dash { to { stroke-dashoffset: -24; } }
.flow-line { stroke: var(--blue); stroke-width: 2; fill: none; stroke-linecap: round; stroke-dasharray: 2 10; animation: flow-dash 1.4s linear infinite; }
.flow-line.faint { stroke: var(--bg-3); animation: none; }
.flow-arrow { fill: var(--blue); }
@keyframes arrow-slide { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(var(--slide, 72px)); opacity: 0; } }
.flow-dot { animation: arrow-slide 2.2s linear infinite; }

/* Floating UI chip: small live card hovering over product visuals */
.float-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--card-fill);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.2);
  font-size: 12.5px; font-weight: 600; color: var(--fg);
  white-space: nowrap;
  animation: hero-float 6s ease-in-out infinite;
  z-index: 3;
}
.float-chip .fc-ico {
  width: 22px; height: 22px; border-radius: 999px;
  display: grid; place-items: center;
  font-size: 11px; color: #fff; background: var(--blue); flex: none;
}
.float-chip.fc-green .fc-ico { background: var(--green); }
.float-chip.fc-coral .fc-ico { background: var(--coral); }
.float-chip small { display: block; font-size: 10.5px; font-weight: 500; color: var(--fg-4); line-height: 1.2; }

/* Parallax layers (JS sets --px/--py) */
[data-depth] { transform: translate3d(var(--px, 0px), var(--py, 0px), 0); transition: transform 0.25s var(--ease); }

/* 3D perspective tilt for product frames */
.tilt-wrap { perspective: 1200px; }
.tilt-l, .tilt-r { transition: transform 0.45s var(--ease); will-change: transform; }
.tilt-l { transform: rotateY(6deg) rotateX(1.5deg); }
.tilt-r { transform: rotateY(-6deg) rotateX(1.5deg); }
@media (min-width: 920px) {
  .tilt-wrap:hover .tilt-l, .tilt-wrap:hover .tilt-r { transform: rotateY(0deg) rotateX(0deg); }
}
@media (max-width: 920px) { .tilt-l, .tilt-r { transform: none; } }

/* Drifting light orbs (dark CTA band) */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0.45; pointer-events: none;
  animation: orb-drift 14s ease-in-out infinite alternate;
}
@keyframes orb-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -40px) scale(1.15); }
}

/* Typewriter cursor block */
.typer-caret { display: inline-block; width: 2px; height: 1.05em; background: var(--blue); vertical-align: -0.15em; margin-left: 2px; animation: caret-blink 1.1s step-end infinite; }

@media (prefers-reduced-motion: reduce) {
  .float-chip, .orb { animation: none !important; }
  [data-depth] { transform: none !important; }
  .tilt-l, .tilt-r { transform: none !important; }
}

/* Button arrow nudge */
.btn .arr { display: inline-block; transition: transform 0.2s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .flow-line, .flow-dot { animation: none !important; }
}

/* Choreographed 3-step loop (hiw pattern): 6s cycle */
@keyframes step-node-1 { 0%, 6% { color: var(--fg-3); background: var(--card-fill); border-color: var(--bg-3); } 12%, 100% { color: #fff; background: var(--green); border-color: var(--green); } }
@keyframes step-node-2 { 0%, 34% { color: var(--fg-3); background: var(--card-fill); border-color: var(--bg-3); } 40%, 100% { color: #fff; background: var(--blue); border-color: var(--blue); } }
@keyframes step-node-3 { 0%, 62% { color: var(--fg-3); background: var(--card-fill); border-color: var(--bg-3); } 68%, 100% { color: #fff; background: var(--blue); border-color: var(--blue); } }
@keyframes step-rise-1 { 0%, 4% { opacity: 0.35; transform: translateY(6px); } 12%, 100% { opacity: 1; transform: translateY(0); } }
@keyframes step-rise-2 { 0%, 32% { opacity: 0.35; transform: translateY(6px); } 40%, 100% { opacity: 1; transform: translateY(0); } }
@keyframes step-rise-3 { 0%, 60% { opacity: 0.35; transform: translateY(6px); } 68%, 100% { opacity: 1; transform: translateY(0); } }
@keyframes step-fill { 0% { transform: scaleX(0); } 14% { transform: scaleX(0.3); } 42% { transform: scaleX(0.66); } 70%, 100% { transform: scaleX(1); } }

/* ---------- Tables ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3);
  text-align: left; padding: 12px 16px;
  border-bottom: 1px solid var(--line-strong);
  background: var(--bg-1);
}
.tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--fg-2); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .hl { color: var(--fg); font-weight: 600; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-4); background: var(--card-fill); box-shadow: var(--card-shadow); }

/* ---------- Accordion ---------- */
.acc-item { border: 1px solid var(--line); border-radius: var(--r-4); background: var(--card-fill); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03); margin-bottom: 12px; overflow: hidden; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.acc-item.is-open { border-color: rgba(0, 95, 160, 0.4); box-shadow: 0 10px 26px -12px rgba(0, 95, 160, 0.2); }
.acc-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; text-align: left;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg);
}
.acc-q .acc-icon {
  flex: none; width: 24px; height: 24px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--bg-1);
  border: 1px solid var(--line);
  font-size: 14px; color: var(--fg-3);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.acc-item.is-open .acc-icon { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: #fff; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.acc-a-inner { padding: 0 22px 22px; font-size: 15px; line-height: 1.65; color: var(--fg-3); }
.acc-a-inner b { color: var(--fg-2); font-weight: 600; }

/* ---------- Marquee (logo + testimonial rows) ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee-left 46s linear infinite; }
.marquee-track.slow { animation-duration: 90s; }
.marquee-track.rev { animation-name: marquee-right; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marquee-right { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee-track, .float, .pulse-frame, .caret { animation: none !important; }
}

/* ---------- Illustrated-UI primitives ---------- */
.ui-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ui-row:last-child { border-bottom: 0; }
.ui-avatar {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12.5px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, #1290ed, #36a6f5);
}
.ui-avatar.v2 { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.ui-avatar.v3 { background: linear-gradient(135deg, #f59e0b, #f97316); }
.ui-avatar.v4 { background: linear-gradient(135deg, #16a34a, #0ea5e9); }
.ui-name { font-size: 13.5px; font-weight: 600; color: var(--fg); line-height: 1.3; }
.ui-meta { font-size: 11.5px; color: var(--fg-4); }
.ui-tag {
  margin-left: auto; flex: none;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.02em;
  padding: 4px 10px; border-radius: 999px; border: 1px solid;
}
.ui-tag.t-green { color: #15803d; border-color: rgba(22, 163, 74, 0.3); background: rgba(22, 163, 74, 0.1); }
.ui-tag.t-blue { color: var(--blue-soft); border-color: rgba(0, 95, 160, 0.3); background: rgba(0, 95, 160, 0.08); }
.ui-tag.t-violet { color: var(--blue-soft); border-color: rgba(0, 95, 160, 0.3); background: rgba(0, 95, 160, 0.08); }
.ui-tag.t-amber { color: #b45309; border-color: rgba(245, 158, 11, 0.35); background: rgba(245, 158, 11, 0.12); }
.ui-tag.t-muted { color: var(--fg-4); border-color: var(--line); background: var(--glass-fill-2); }
html[data-theme="dark"] .ui-tag.t-green { color: #6ee7a0; }
html[data-theme="dark"] .ui-tag.t-blue, html[data-theme="dark"] .ui-tag.t-violet { color: #5cb5f5; }
html[data-theme="dark"] .ui-tag.t-amber { color: #fcd34d; }

.ui-bar { height: 8px; border-radius: 20px; background: var(--track); overflow: hidden; }
.ui-bar > i { display: block; height: 100%; border-radius: 20px; background: var(--blue); }
.ui-bar.g > i { background: var(--green); }

/* ---------- Video showcase ---------- */
.showcase { display: block; width: 100%; height: auto; background: var(--bg-1); }
.browser .showcase { border-radius: 0 0 var(--r-4) var(--r-4); }
.shot-note { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-4); text-align: center; margin-top: 14px; }

/* ---------- Logo wall ---------- */
.logo-wall { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 48px; }
.pl-logo {
  font-size: 17px; font-weight: 650; letter-spacing: -0.01em;
  color: var(--fg-4);
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.pl-logo:hover { color: var(--fg-2); }
.pl-logo.v-mono { font-family: var(--font-mono); font-weight: 500; font-size: 14.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.pl-logo.v-wide { letter-spacing: 0.24em; text-transform: uppercase; font-size: 13.5px; font-weight: 700; }
.pl-logo.v-low { text-transform: lowercase; font-weight: 750; font-size: 18px; letter-spacing: -0.03em; }
.pl-logo.v-thin { font-weight: 450; font-size: 18px; }

/* ---------- Testimonials (marquee-row cards) ---------- */
.tstl {
  display: flex; flex-direction: column;
  padding: 26px;
  width: 380px; flex: none;
}
.tstl .stars { color: var(--blue); font-size: 13px; letter-spacing: 3px; margin-bottom: 14px; }
.tstl blockquote { font-size: 14.5px; line-height: 1.6; color: var(--fg-2); margin: 0 0 20px; }
.tstl blockquote b { color: var(--fg); font-weight: 600; }
.tstl .tstl-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tstl .tstl-name { font-size: 14px; font-weight: 650; color: var(--blue); line-height: 1.3; }
.tstl .tstl-role { font-size: 12px; color: var(--fg-4); }
.tstl .tstl-metrics { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
/* grid fallback (pricing/other pages) */
.tstl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tstl-grid .tstl { width: auto; }
@media (max-width: 980px) { .tstl-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Viz panels: dashboard-grade data stories (promoted from homepage 2026-07-08) ---------- */
  /* ---------- Volume-flow visualization (dashboard-grade data story) ---------- */
.viz-panel {
  position: relative; max-width: 960px; margin: 0 auto var(--s-5);
  border-radius: 18px; border: 1px solid var(--line);
  background:
    radial-gradient(var(--bg-2) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.72));
  background-size: 20px 20px, auto;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--card-shadow);
  padding: 18px 22px 10px;
}
html[data-theme="dark"] .viz-panel {
  background:
    radial-gradient(rgba(226,240,255,.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16,28,49,.92), rgba(16,28,49,.78));
  background-size: 20px 20px, auto;
}
.viz-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; }
.viz-title { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-4); }
.viz-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.viz-svg-wrap { position: relative; }
.viz-svg-wrap svg { display: block; width: 100%; height: auto; overflow: visible; }
.viz-streams { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s var(--ease) .25s; }
.viz-panel.is-revealed .viz-streams { clip-path: inset(0 -2% 0 0); }
.vp { offset-rotate: 0deg; animation: vp-run var(--d, 2.6s) linear infinite; }
@keyframes vp-run { 0% { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 86% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.viz-chip {
  position: absolute; display: inline-flex; align-items: baseline; gap: 7px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(255,255,255,.85); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px -8px rgba(15,23,42,.25);
  font-size: 12px; font-weight: 600; color: var(--fg-2); white-space: nowrap;
}
html[data-theme="dark"] .viz-chip { background: rgba(16,28,49,.85); }
.viz-chip b { font-size: 16px; font-weight: 750; letter-spacing: -0.02em; color: var(--fg); }
.viz-chip.vc-red b, .viz-chip.vc-red { color: var(--red-soft); border-color: rgba(225,29,72,.25); }
.viz-chip.vc-blue { border-color: rgba(0,95,160,.3); box-shadow: 0 8px 22px -8px rgba(0,95,160,.45); }
.viz-chip.vc-blue b { color: var(--blue-soft); }
.viz-chip.vc-cap { font-family: var(--font-mono); font-size: 9.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red-soft); border-color: rgba(225,29,72,.3); }
@media (max-width: 680px) { .viz-chip { padding: 5px 9px; font-size: 10.5px; } .viz-chip b { font-size: 13px; } }
.funnel-note { text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-4); margin: 6px 0 2px; }
@media (prefers-reduced-motion: reduce) { .vp { display: none; } .viz-streams { clip-path: none; transition: none; } }

/* ---------- Benchmark chart (Naviira runs past the range) ---------- */
.bench { max-width: 960px; margin: 0 auto; overflow: hidden; }
.bench-body { position: relative; padding: 10px 0 26px; }
.bench-grid { position: absolute; inset: 10px 120px 26px 170px; pointer-events: none; }
.bench-grid i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.bench-grid i em { position: absolute; bottom: -20px; left: -14px; font-style: normal; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; color: var(--fg-4); white-space: nowrap; }
.bench-grid .cap-mark { width: 0; border-left: 2px dashed rgba(225,29,72,.45); }
.bench-grid .cap-mark em { color: var(--red-soft); left: -22px; bottom: auto; top: -18px; }
.bench-row { display: grid; grid-template-columns: 170px 1fr 120px; align-items: center; gap: 0; padding: 13px 0; }
.bench-name { font-size: 13.5px; font-weight: 600; color: var(--fg); padding-right: 14px; }
.bench-name small { display: block; font-size: 10.5px; font-weight: 500; color: var(--fg-4); }
.bench-track { position: relative; height: 20px; }
.bench-bar { position: absolute; left: 0; top: 2px; height: 16px; border-radius: 8px; transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease); }
.bench.is-revealed .bench-bar { transform: scaleX(1); }
.bench-bar.bb-mute { background: linear-gradient(90deg, #c4d0de, #94a3b8); }
html[data-theme="dark"] .bench-bar.bb-mute { background: linear-gradient(90deg, #2a3c58, #4a5c78); }
.bench-bar.bb-mute::after { content: ""; position: absolute; right: -1px; top: -3px; bottom: -3px; width: 3px; border-radius: 2px; background: var(--red); opacity: .75; }
.bench-bar.bb-brand { background: linear-gradient(90deg, #0078c8 0%, #005fa0 62%, rgba(0,95,160,0) 99%); box-shadow: 0 6px 18px -6px rgba(0,95,160,.5); }
.bench-bar.bb-brand::after { content: none; }
.bench-more { position: absolute; right: -2px; top: 1px; font-size: 13px; font-weight: 800; letter-spacing: 2px; color: var(--blue-soft); }
.bench-more i { font-style: normal; animation: chev 1.6s ease-in-out infinite; display: inline-block; }
.bench-more i:nth-child(2) { animation-delay: .2s; }
.bench-more i:nth-child(3) { animation-delay: .4s; }
@keyframes chev { 0%, 100% { opacity: .25; transform: translateX(0); } 50% { opacity: 1; transform: translateX(3px); } }
.bench-val { text-align: right; font-family: var(--font-mono); font-size: 11.5px; color: var(--fg-3); }
.bench-val b { display: block; font-family: var(--font-sans); font-size: 15px; font-weight: 750; letter-spacing: -0.02em; color: var(--fg); }
.bench-row.br-brand .bench-val b { color: var(--blue-soft); }
@media (max-width: 680px) {
  .bench-row { grid-template-columns: 1fr; gap: 6px; padding: 12px 0; }
  .bench-grid { display: none; }
  .bench-val { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .bench-bar { transform: none; transition: none; } .bench-more i { animation: none; } }

/* ---------- Illustrated workflow canvas (marketing-grade product illustration) ---------- */
.illus-canvas {
  position: relative;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(var(--bg-3) 1.1px, transparent 1.1px),
    var(--bg-1);
  background-size: 20px 20px, auto;
  box-shadow: var(--browser-shadow);
  padding: 22px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
html[data-theme="dark"] .illus-canvas {
  background: radial-gradient(rgba(226,240,255,.07) 1.1px, transparent 1.1px), var(--bg-1);
  background-size: 20px 20px, auto;
}
.inode {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card-fill);
  box-shadow: 0 6px 18px -8px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  min-width: 190px;
  text-align: left;
}
.inode-wait {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
  font-size: 11px; font-weight: 600; color: var(--fg-3);
}
.inode-wait b { color: var(--blue-soft); font-weight: 700; }
.inode-wait svg { width: 12px; height: 12px; stroke: var(--fg-4); flex: none; }
.inode-body { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.inode-ico {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  background: var(--tint-blue); color: var(--blue-soft);
}
.inode-ico svg { width: 15px; height: 15px; }
.inode-body b { display: block; font-size: 13px; font-weight: 650; color: var(--fg); line-height: 1.25; }
.inode-body small { font-size: 10.5px; color: var(--fg-4); }
.inode.n-green .inode-ico { background: var(--tint-green); color: var(--green-soft); }
.cond {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 11px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .02em;
  border: 1px solid;
}
.cond.g { color: var(--green-soft); border-color: rgba(22,163,74,.35); background: rgba(22,163,74,.1); }
.cond.r { color: var(--red-soft); border-color: rgba(225,29,72,.3); background: rgba(225,29,72,.08); }
.cond.a { color: var(--amber-soft); border-color: rgba(245,158,11,.4); background: rgba(245,158,11,.1); }
html[data-theme="dark"] .cond.g { background: rgba(74,222,128,.12); }
html[data-theme="dark"] .cond.r { background: rgba(253,164,175,.1); }
.ilink { width: 1.5px; height: 16px; background: var(--bg-3); }
.ibranch { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; justify-items: center; }
.ibranch > div { display: flex; flex-direction: column; align-items: center; gap: 8px; }

/* Connected-profiles senders card (gradient border, avatar cluster) */
.senders-card {
  position: relative;
  border: 1.5px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(var(--card-fill), var(--card-fill)) padding-box,
    conic-gradient(from 180deg, #0078c8, #7cc4f5, #005fa0, #36a0e8, #0078c8) border-box;
  padding: 14px 18px;
  box-shadow: 0 14px 34px -12px rgba(0, 95, 160, 0.35);
}
.senders-card .sc-t { font-size: 13px; font-weight: 700; color: var(--fg); margin-bottom: 9px; }
.senders-card .sc-avs { display: flex; align-items: center; }
.senders-card .sc-avs .ui-avatar { width: 30px; height: 30px; font-size: 11px; border: 2px solid var(--card-fill); margin-right: -9px; }
.senders-card .sc-more {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--fg); color: var(--bg-0);
  font-size: 10.5px; font-weight: 700;
  border: 2px solid var(--card-fill);
}
.senders-card .sc-s { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.ui-avatar.v5 { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.ui-avatar.v6 { background: linear-gradient(135deg, #ec4899, #f97316); }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass-fill-2);
  color: var(--fg-2);
  font-size: 14px; line-height: 1;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.theme-toggle:hover { background: var(--glass-fill-hover); color: var(--fg); }
.theme-toggle .tt-moon { display: block; }
.theme-toggle .tt-sun { display: none; }
html[data-theme="dark"] .theme-toggle .tt-sun { display: block; }
html[data-theme="dark"] .theme-toggle .tt-moon { display: none; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--footer-line); padding: 64px 0 40px; margin-top: 0; background: var(--bg-1); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer h4 { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-4); font-weight: 500; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { font-size: 13.5px; color: var(--fg-3); transition: color 0.16s; }
.footer ul a:hover { color: var(--fg); }
.footer .nav-logo { color: var(--fg); }

.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--fg-4); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Grids & utilities ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; }
.mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-40 { margin-bottom: 40px; }
.flex { display: flex; align-items: center; gap: 12px; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }

/* ---------- CTA band: dark navy card (both themes) ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(0, 95, 160, 0.25);
  background:
    radial-gradient(80% 120% at 50% 130%, rgba(0, 95, 160, 0.28), transparent 60%),
    #0b1526;
  padding: 56px 40px;
  text-align: center;
}
.cta-band > * { position: relative; }
.cta-band > .grid-bg { position: absolute; --grid-line: rgba(226, 240, 255, 0.05); }
.cta-band h2 { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 16px; color: #fff; }
.cta-band h2 .chip-blue, .cta-band h2 .chip-violet { color: #4db2f7; }
.cta-band .sub-muted { color: #93a5bd; }
.cta-band .eyebrow { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.15); color: #b9c7da; box-shadow: none; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; z-index: 300; }
.skip-link:focus { left: 16px; top: 16px; padding: 10px 16px; background: var(--card-fill); border: 1px solid var(--line-strong); border-radius: 10px; color: var(--fg); font-weight: 600; box-shadow: var(--card-shadow); }
