/* ==================================================================
   IntelliFleet 360 — Marketing Site · "Meridian" v9.0 "Regalia"
   Unified navy/gold duotone system + editorial serif accents.
   Luxury pass over the Bootstrap 5.3.8 build.
   Theme layer over Bootstrap 5.3.8 (assets/vendor/bootstrap.min.css
   loads first; this file themes/overrides it). Gold = emphasis accent.
   Image-forward redesign: full-width framed product showcases,
   hero media stages with section overlap, photographic industry
   cards. Schibsted Grotesk · Hanken Grotesk · JetBrains Mono.
   Aligned with the IntelliFleet "Command" v2.0 brand token family
   ================================================================== */

/* Fonts are loaded via <link> in each page head (faster than @import:
   no render-blocking chained request). Inter + JetBrains Mono. */

/* =========================================================
   1 · TOKENS
   ========================================================= */
:root {
  /* Deep ink (dark surfaces — Command family) */
  --void:      #05070d;
  --navy-950:  #070b14;
  --navy-900:  #0b101c;
  --navy-850:  #0f1524;
  --navy-800:  #141b2e;
  --navy-700:  #1d2740;

  /* Brand blue */
  --brand-50:  #eef4ff;
  --brand-100: #dce9ff;
  --brand-200: #bcd4ff;
  --brand-300: #8fb4ff;
  --brand-400: #5b8bfb;
  --brand-500: #3b76f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-800: #1e3fae;
  --brand-900: #1b3486;

  /* Signal accents */
  --lime:      #34d399;   /* live / telemetry signal (emerald) */
  --lime-600:  #10b981;
  --lime-ink:  #063b2b;
  --cyan:      #22d3ee;
  --green:     #10b981;
  --amber:     #f59e0b;
  --red:       #ef4444;
  --purple:    #8b5cf6;
  --coral:     #fb7185;

  /* Gold — emphasis accent (v7) */
  --gold-200:  #f9ecc4;
  --gold-300:  #f2d788;
  --gold-400:  #eabf4e;
  --gold-500:  #d9a927;
  --gold-600:  #b8891c;
  --gold-700:  #8f6a12;
  --grad-gold: linear-gradient(115deg, #f6e2a4 0%, #eabf4e 45%, #c9921f 100%);
  --grad-text-gold: linear-gradient(95deg, #ffffff 0%, #f8e7b4 35%, #eabf4e 75%, #d9a927 100%);
  --grad-gold-ink: linear-gradient(105deg, #b8891c 0%, #d9a927 50%, #8f6a12 100%);

  /* Ink / neutrals */
  --ink-950: #070b14;
  --ink-900: #101625;
  --ink-800: #1e2739;
  --ink-700: #364157;
  --ink-600: #4c586f;
  --ink-500: #67738b;
  --ink-400: #8d97ad;
  --ink-300: #c6cdda;
  --ink-200: #e3e7ee;
  --ink-100: #eef1f6;
  --ink-50:  #f6f8fb;
  --white:   #ffffff;

  /* Surfaces */
  --bg-page:   #ffffff;
  --bg:        #ffffff;
  --surface:   #ffffff;
  --bg-soft:   #f6f8fb;
  --bg-soft-2: #eef1f6;
  --bg-dark:   var(--navy-900);
  --border:    #e7eaf1;
  --border-2:  #d5dbe6;
  --border-dark:   rgba(146, 176, 255, 0.13);
  --border-dark-2: rgba(146, 176, 255, 0.24);

  /* Semantic aliases (legacy/page-level compatibility) */
  --brand:  var(--brand-600);
  --accent: var(--cyan);

  /* Gradients */
  --grad-brand: linear-gradient(120deg, var(--brand-700) 0%, var(--brand-500) 60%, #38bdf8 120%);
  --grad-lime:  linear-gradient(120deg, #6ee7b7 0%, #34d399 55%, #10b981 100%);
  --grad-hero:
      radial-gradient(1000px 620px at 88% -14%, rgba(34, 211, 238, 0.12), transparent 55%),
      radial-gradient(880px 620px at 0% 0%, rgba(37, 99, 235, 0.30), transparent 58%),
      radial-gradient(700px 480px at 55% 120%, rgba(234, 191, 78, 0.10), transparent 62%),
      linear-gradient(178deg, #05070d 0%, #0b101c 58%, #0c1322 100%);
  --grad-text: linear-gradient(95deg, #ffffff 0%, #c9dcff 45%, #7fd7f5 100%);
  --grad-panel-dark: linear-gradient(160deg, #101a30 0%, #0b101c 72%);

  /* Texture */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");

  /* Typography — Schibsted Grotesk (display) · Hanken Grotesk (text) · JetBrains Mono (telemetry) */
  --font-display: 'Schibsted Grotesk', 'Hanken Grotesk', system-ui, sans-serif;
  --font-sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-accent: 'Fraunces', Georgia, 'Times New Roman', serif;

  /* Rhythm */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 28px;
  --container: 1280px;
  --stage-overlap: clamp(56px, 9vw, 148px);   /* homepage hero image overlap */
  --ph-overlap: clamp(44px, 7vw, 108px);      /* interior hero image overlap */
  --header-h: 76px;

  /* Elevation — Material 3 tonal levels (soft, ambient + key light) */
  --elev-1: 0 1px 2px rgba(13, 24, 48, 0.05), 0 1px 3px 1px rgba(13, 24, 48, 0.04);
  --elev-2: 0 1px 2px rgba(13, 24, 48, 0.06), 0 4px 12px 2px rgba(13, 24, 48, 0.07);
  --elev-3: 0 2px 4px rgba(13, 24, 48, 0.06), 0 12px 28px 4px rgba(13, 24, 48, 0.10);
  --elev-4: 0 4px 8px rgba(13, 24, 48, 0.06), 0 28px 56px -8px rgba(13, 24, 48, 0.18);
  --shadow-sm: var(--elev-1);
  --shadow-md: var(--elev-3);
  --shadow-lg: var(--elev-4);
  --sh-md: var(--shadow-md);
  --shadow-glow-blue: 0 0 0 1px rgba(59, 118, 246, 0.28), 0 12px 32px -8px rgba(37, 99, 235, 0.42);

  /* Surface tint (M3 tonal surfaces) */
  --surface-1: #fafbfe;                 /* elevated tonal surface */
  --surface-2: #f4f7fd;
  --tint-hover: rgba(37, 99, 235, 0.05);   /* M3 state layer ~ 8% primary */
  --tint-press: rgba(37, 99, 235, 0.10);

  /* Motion — M3 emphasized easing family */
  --ease-out: cubic-bezier(0.2, 0, 0, 1);              /* emphasized */
  --ease-emphasized: cubic-bezier(0.2, 0, 0, 1);
  --ease-decel: cubic-bezier(0.05, 0.7, 0.1, 1);       /* emphasized decelerate */
  --ease-accel: cubic-bezier(0.3, 0, 0.8, 0.15);       /* emphasized accelerate */
  --ease-spring: cubic-bezier(0.34, 1.35, 0.44, 1);
  --dur-short: 0.2s; --dur-med: 0.35s; --dur-long: 0.5s;
}

/* =========================================================
   2 · RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2a3552; border-radius: 999px; border: 2px solid var(--bg-page); }
::-webkit-scrollbar-thumb:hover { background: var(--ink-400); }

img, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: var(--brand-600); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
.prose a, .faq-body a, #cookie-banner a { text-decoration: underline; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
::selection { background: rgba(234, 191, 78, 0.32); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.12;
  letter-spacing: -0.018em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.15rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.65rem); font-weight: 700; letter-spacing: -0.022em; }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.3; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
p  { text-wrap: pretty; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.66; color: var(--ink-600); max-width: 62ch; font-weight: 400; }
.mono { font-family: var(--font-mono); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink-900); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 0;
  font-weight: 600; font-size: 0.9rem;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid rgba(217, 169, 39, 0.7); outline-offset: 2px; border-radius: 6px; }

/* =========================================================
   3 · LAYOUT UTILITIES
   ========================================================= */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

.section { padding: clamp(84px, 10vw, 142px) 0; position: relative; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-soft { background: var(--bg-soft); }
.section-soft-2 { background: var(--bg-soft-2); }

/* dot-grid texture for light sections */
.section-grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, var(--ink-300) 1px, transparent 1px);
  background-size: 28px 28px; opacity: 0.3;
  -webkit-mask-image: radial-gradient(720px 420px at 50% 0%, #000 10%, transparent 78%);
          mask-image: radial-gradient(720px 420px at 50% 0%, #000 10%, transparent 78%);
}

/* dark sections */
.section-dark, .section-navy {
  background: var(--grad-panel-dark);
  color: var(--ink-300);
}
.section-dark::after, .section-navy::after, .hero::after, .cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--noise); background-size: 160px; opacity: 0.03; mix-blend-mode: overlay;
}
.section-dark { border-block: 1px solid var(--border-dark); }
.section-dark h2, .section-navy h2, .section-dark h3, .section-navy h3 { color: #fff; }
.section-dark .lead, .section-navy .lead { color: var(--ink-400); }
.section-dark > .container, .section-navy > .container { position: relative; z-index: 1; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .cols-4 { grid-template-columns: 1fr; } }

.flex { display: flex; }
.wrap { flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fr-media { min-width: 0; }
.fr-media img { border-radius: var(--r-lg); border: 1px solid var(--border); }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-32 { gap: 32px; }
.text-center { text-align: center; }

.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; }
.mb-8 { margin-bottom: 8px; } .mb-24 { margin-bottom: 24px; }

/* =========================================================
   4 · EYEBROWS, PILLS, CHIPS, BADGES
   ========================================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-700);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: currentColor; opacity: 0.9; }
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: var(--gold-300); }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500;
  padding: 8px 16px; border-radius: 999px; letter-spacing: 0.02em;
  border: 1px solid var(--border-2); color: var(--ink-600); background: #fff;
}
.pill.on-dark { border-color: rgba(234, 191, 78, 0.32); color: var(--ink-300); background: rgba(255,255,255,0.05); backdrop-filter: blur(6px); }

.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-400); flex-shrink: 0; }
.dot.live { background: var(--lime); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18); }

.chip, .badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600;
  padding: 4px 11px; border-radius: 999px; letter-spacing: 0.03em;
  background: var(--ink-100); color: var(--ink-600); border: 1px solid var(--border);
  white-space: nowrap;
}
/* inline SVGs inside chips/badges/pills must never render at intrinsic size */
.chip svg, .badge svg, .pill svg { width: 14px; height: 14px; flex-shrink: 0; }

/* integration chip wall (platform page): slightly larger, tactile pills */
.pf-chips .chip {
  padding: 10px 18px; font-size: 0.78rem; background: #fff;
  border-color: var(--border-2); color: var(--ink-700);
  transition: border-color var(--dur-short) ease, color var(--dur-short) ease,
              transform var(--dur-short) var(--ease-emphasized), box-shadow var(--dur-short) ease;
}
.pf-chips .chip svg { width: 16px; height: 16px; color: var(--brand-600); }
.pf-chips .chip:hover { border-color: var(--brand-400); color: var(--ink-900); transform: translateY(-2px); box-shadow: var(--elev-1); }
.badge-blue  { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.badge-green { background: #e4f8f0; color: #087354; border-color: #c2eedd; }
.badge-amber { background: #fdf3de; color: #92610a; border-color: #f7e3b8; }
.badge-red   { background: #fdeaea; color: #b91c1c; border-color: #f7d0d0; }

.grad-text-light { background: var(--grad-text-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text { background: var(--grad-gold-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
   5 · BUTTONS & LINKS
   ========================================================= */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 1rem; letter-spacing: 0.005em;
  padding: 12px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s var(--ease-spring),
              background 0.25s ease, border-color 0.25s ease, color 0.25s ease, filter 0.3s ease;
  /* neutralise Bootstrap state-variable colours (blue hover/active borders & rings) */
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-border-color: transparent;
  --bs-btn-hover-bg: transparent;
  --bs-btn-active-bg: transparent;
  --bs-btn-focus-shadow-rgb: 217, 169, 39;
}
.btn:hover { transform: translateY(-2px); }
/* M3 state layer */
.btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: currentColor; opacity: 0; transition: opacity var(--dur-short) ease; pointer-events: none;
}
.btn:hover::before { opacity: 0.08; }
.btn:active::before { opacity: 0.12; }
/* sheen sweep — a soft light band glides across on hover */
.btn::after {
  content: ""; position: absolute; top: -2px; bottom: -2px; left: -85%; width: 55%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.30) 50%, transparent 100%);
  transform: skewX(-20deg); opacity: 0; pointer-events: none; z-index: 0;
}
.btn:hover::after { animation: btn-sheen 0.85s var(--ease-decel) forwards; }
@keyframes btn-sheen {
  0%   { left: -85%; opacity: 0; }
  12%  { opacity: 1; }
  100% { left: 125%; opacity: 0; }
}
.btn > * { position: relative; z-index: 1; }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; transition: transform 0.4s var(--ease-spring); }
.btn:hover svg:last-child { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.12s; }
/* rounded gold focus ring that hugs the pill */
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(234, 191, 78, 0.55), 0 0 0 6px rgba(234, 191, 78, 0.18); }

/* M3 ripple (injected by script.js) */
.btn .ripple {
  position: absolute; border-radius: 50%; transform: scale(0); pointer-events: none;
  background: currentColor; opacity: 0.16; animation: ripple var(--dur-long) var(--ease-decel) forwards;
  z-index: 0;
}
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* Filled (primary) — subtle depth: gradient + inner highlight */
.btn-primary, a.btn-primary {
  background: linear-gradient(180deg, #1c2848 0%, #0c1223 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), var(--elev-1), 0 10px 24px -10px rgba(7, 11, 20, 0.6);
}
.btn-primary:hover, a.btn-primary:hover {
  color: #fff;
  border-color: rgba(234, 191, 78, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), var(--elev-2),
              0 16px 34px -12px rgba(7, 11, 20, 0.7);
}
/* guard against link-color overrides in footer/nav contexts */
.site-footer .btn-primary, .site-footer .btn-primary:hover,
.footer-col a.btn-primary, .footer-contact a.btn-primary { color: #fff; }

/* Tonal (secondary emphasis) */
.btn-tonal { background: var(--brand-50); color: var(--brand-700); }
.btn-tonal:hover { color: var(--brand-800); box-shadow: var(--elev-1); }

.btn-blue { background: var(--ink-900); color: #fff; }
.btn-blue:hover { background: var(--navy-700); color: #fff; border-color: rgba(234, 191, 78, 0.6); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--brand-700); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--gold-400); color: var(--ink-900); background: var(--tint-hover); }

.btn-white { background: #fff; color: var(--ink-900); }
.btn-white:hover { color: var(--brand-700); border-color: rgba(234, 191, 78, 0.55); box-shadow: var(--shadow-md); }

.btn-on-dark {
  background: rgba(255, 255, 255, 0.07); color: #fff;
  border-color: var(--border-dark-2); backdrop-filter: blur(8px);
}
.btn-on-dark:hover { background: rgba(255, 255, 255, 0.13); border-color: rgba(234, 191, 78, 0.5); color: #fff; }

.btn-lime { background: var(--grad-lime); color: var(--lime-ink); box-shadow: 0 10px 24px -10px rgba(16, 185, 129, 0.5); }
.btn-lime:hover { color: var(--lime-ink); border-color: rgba(52, 211, 153, 0.4); box-shadow: 0 14px 38px -10px rgba(16, 185, 129, 0.55); }

.btn-sm { padding: 9px 19px; font-size: 0.93rem; min-height: 40px; }
.btn-lg { padding: 15px 32px; font-size: 1.06rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 1rem; color: var(--ink-900); margin-top: 18px;
}
.link-arrow svg { color: var(--gold-600); }
.link-arrow:hover { color: var(--gold-700); }
.link-arrow svg { width: 17px; height: 17px; transition: transform 0.2s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow.on-dark { color: var(--gold-300); }
.link-arrow.on-dark:hover { color: #f8e7b4; }

/* =========================================================
   6 · HEADER & NAVIGATION
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border-dark);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.site-header::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-gold); z-index: 2; pointer-events: none;
}
.site-header.scrolled { border-bottom-color: var(--border-dark-2); box-shadow: 0 12px 32px -18px rgba(4, 8, 20, 0.8); background: rgba(7, 11, 20, 0.96); }

.nav { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height var(--dur-med) var(--ease-emphasized); }
/* condensed header once scrolling — calmer, more screen for content */
.site-header.scrolled .nav { height: 62px; }
.site-header.scrolled .brand-logo--header { height: 38px; }
.brand-logo--header { transition: height var(--dur-med) var(--ease-emphasized); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 50px; width: auto; }
.brand-logo--header { height: 44px; }
@media (max-width: 640px) { .brand-logo--header { height: 36px; } }

/* theme-aware logo variants (light bg vs dark bg contexts) */
.logo-swap-dark { display: none; }
html[data-theme="dark"] .logo-swap-light { display: none; }
html[data-theme="dark"] .logo-swap-dark { display: inline-block; }

/* footer wordmark */
.footer-logo { height: 40px; width: auto; display: block; margin-bottom: 18px; }

.nav-links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 1.02rem; font-weight: 550; color: var(--ink-700);
  padding: 9px 16px; border-radius: 999px; position: relative;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-link:hover, .has-mega:hover > .nav-link { color: var(--gold-300); background: rgba(234, 191, 78, 0.10); }
.nav-link[aria-current="page"] { color: var(--gold-300); background: rgba(234, 191, 78, 0.12); font-weight: 600; }

/* Mega menu — M3 elevated surface with tonal hover + slide-in arrow */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.98);
  transform-origin: top center;
  background: linear-gradient(180deg, #fdfdff 0%, #fff 60px);
  border: 1px solid var(--border); border-radius: var(--r-2xl);
  box-shadow: var(--elev-4), 0 0 0 4px rgba(13, 24, 48, 0.02);
  padding: 26px 28px; min-width: 660px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur-short) var(--ease-decel), transform 0.28s var(--ease-decel), visibility var(--dur-short);
}
.mega::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
/* caret pointing at trigger */
.mega::after {
  content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: #fdfdff;
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  border-top-left-radius: 3px;
}
.has-mega:hover .mega, .has-mega:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(190px, 1fr)); gap: 8px 0; }
.mega-col { padding: 0 22px; }
.mega-col:first-child { padding-left: 0; }
.mega-col:last-child { padding-right: 0; }
.mega-col + .mega-col { border-left: 1px solid var(--ink-100); }
.mega-col h6 {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-500);
  margin: 0 0 10px; padding: 0 12px;
}
.mega-col h6::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--gold-500); flex-shrink: 0; }
.mega-link {
  position: relative; display: block; padding: 10px 30px 10px 12px; border-radius: 14px;
  transition: background var(--dur-short) ease, transform var(--dur-short) var(--ease-emphasized);
}
.mega-link:hover { background: var(--brand-50); transform: translateX(2px); }
.mega-link::after {
  content: ""; position: absolute; top: 14px; right: 12px; width: 8px; height: 8px;
  border-top: 2px solid var(--brand-600); border-right: 2px solid var(--brand-600); border-radius: 1px;
  transform: rotate(45deg) translate(-4px, 4px); opacity: 0;
  transition: opacity var(--dur-short) ease, transform var(--dur-short) var(--ease-decel);
}
.mega-link:hover::after { opacity: 1; transform: rotate(45deg) translate(0, 0); }
.mm-title { font-size: 0.97rem; font-weight: 600; color: var(--ink-900); letter-spacing: -0.012em; transition: color var(--dur-short) ease; }
.mega-link:hover .mm-title { color: var(--brand-700); }
.mm-sub { font-size: 0.85rem; color: var(--ink-500); margin-top: 1px; line-height: 1.4; }

.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; margin-left: auto; }
.nav-login { font-size: 1rem; font-weight: 600; color: var(--ink-300); }
.nav-login:hover { color: var(--gold-300); }

/* Mobile toggle */
.menu-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--border-2);
  background: rgba(255, 255, 255, 0.08); border-radius: 999px; cursor: pointer; position: relative;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 2px;
  border-radius: 2px; background: #fff; transition: 0.25s var(--ease-out);
}
.menu-toggle::before { top: 14px; }
.menu-toggle span { top: 20px; }
.menu-toggle::after { top: 26px; }
.menu-toggle[aria-expanded="true"]::before { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::after { top: 20px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; padding: 10px clamp(20px, 4vw, 40px) 28px;
  background: var(--bg-page); border-top: 1px solid var(--border);
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mm-section { border-bottom: 1px solid var(--border); }
.mm-section summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; font-weight: 600; font-size: 1.08rem; color: var(--ink-900);
  cursor: pointer; list-style: none;
}
.mm-section summary::-webkit-details-marker { display: none; }
.mm-chev { width: 9px; height: 9px; border-right: 2px solid var(--ink-500); border-bottom: 2px solid var(--ink-500); transform: rotate(45deg); transition: transform 0.2s; }
.mm-section[open] .mm-chev { transform: rotate(225deg); }
.mm-sublist { padding: 0 4px 14px; display: grid; gap: 2px; }
.mm-sublink { display: block; padding: 10px 10px; font-size: 1.02rem; color: var(--ink-600); border-radius: 10px; }
.mm-sublink:hover { background: var(--tint-hover); color: var(--brand-700); }
.mm-plain { font-weight: 600; padding: 16px 4px; border-bottom: 1px solid var(--border); color: var(--ink-900); }
.mobile-cta { display: grid; gap: 10px; margin-top: 22px; }

@media (max-width: 1060px) {
  .nav-links, .nav-cta .nav-login, .nav-cta .btn { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav { gap: 16px; }
}

/* =========================================================
   7 · HERO
   ========================================================= */
.hero {
  background: var(--grad-hero); color: var(--ink-300);
  padding: clamp(76px, 9.5vw, 132px) 0 clamp(68px, 8vw, 112px);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(146, 176, 255, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(146, 176, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(900px 560px at 70% 20%, #000 20%, transparent 75%);
          mask-image: radial-gradient(900px 560px at 70% 20%, #000 20%, transparent 75%);
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; margin: 22px 0 20px; max-width: 15ch; }
.hero .lead { color: var(--ink-400); max-width: 54ch; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-eyebrow { margin-bottom: 4px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 38px; }
.ht { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-400); }
.ht svg { width: 15px; height: 15px; color: var(--gold-400); flex-shrink: 0; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
}

/* Route-line motif — static, decorative only */
.route-line { position: absolute; pointer-events: none; opacity: 0.55; }
.route-line path.rl-track { stroke: rgba(146, 176, 255, 0.18); stroke-width: 1.5; fill: none; stroke-dasharray: 3 7; stroke-linecap: round; }
.route-line path.rl-active { display: none; }
.route-line circle.rl-stop { fill: var(--navy-900); stroke: rgba(146, 176, 255, 0.4); stroke-width: 1.5; }

/* Media frames (product shots) */
.split-media { position: relative; }
.mock-img {
  width: 100%; height: auto; border-radius: var(--r-lg);
  border: 1px solid var(--border-dark-2);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset, var(--shadow-lg);
  background: var(--navy-850);
}
.section:not(.section-dark):not(.section-navy) .mock-img { border-color: var(--border); }

.hero .split-media::before {
  content: ""; position: absolute; inset: -14% -10% auto auto; width: 70%; height: 70%;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.15), transparent);
  filter: blur(10px); z-index: 0;
}
.hero .split-media img { position: relative; z-index: 1; }

/* floating telemetry chips over hero media */
.telemetry-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.71rem; font-weight: 500;
  color: #eaf2ff; background: rgba(9, 15, 30, 0.8);
  border: 1px solid var(--border-dark-2); border-radius: 999px;
  padding: 9px 15px; backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.6);
}
.telemetry-chip b { color: var(--gold-300); font-weight: 600; }

/* =========================================================
   8 · TRUSTED MARQUEE
   ========================================================= */
.trusted-label {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-500);
  text-align: center; margin-bottom: 30px;
}
.marquee-wrap {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee { display: flex; gap: 56px; width: max-content; animation: marquee 52s linear infinite; }
.marquee-wrap:hover .marquee { animation-play-state: paused; }
.m-logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  letter-spacing: -0.02em; color: var(--ink-400); white-space: nowrap;
  transition: color 0.2s ease;
}
.m-logo:hover { color: var(--gold-700); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   9 · SECTION HEADS
   ========================================================= */
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head h2 { margin-bottom: 16px; }

/* =========================================================
   10 · BENTO & FEATURE CARDS
   ========================================================= */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento-item {
  grid-column: span 3;
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-2xl);
  padding: 30px 30px 32px; position: relative; overflow: hidden;
  transition: transform var(--dur-med) var(--ease-emphasized), box-shadow var(--dur-med) var(--ease-emphasized),
              border-color var(--dur-med) ease, background var(--dur-med) ease;
}
.bento-item:hover { transform: translateY(-4px); box-shadow: var(--elev-3); border-color: rgba(217, 169, 39, 0.45); background: #fff; }
.bento-item.span-2 { grid-column: span 2; }
.bento-item.span-4 { grid-column: span 4; }
.bento-item h3 { margin: 16px 0 9px; }
.bento-item p { font-size: 1rem; color: var(--ink-600); }

.bento-item.dark {
  background: var(--grad-panel-dark); border-color: var(--border-dark);
  color: var(--ink-400);
}
.bento-item.dark h3 { color: #fff; }
.bento-item.dark p { color: var(--ink-400); }
.bento-item.dark:hover { border-color: var(--border-dark-2); box-shadow: 0 30px 60px -24px rgba(5, 7, 13, 0.7); }
.bento-item.dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(480px 260px at 85% -10%, rgba(234, 191, 78, 0.13), transparent 60%);
}

@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-item, .bento-item.span-2, .bento-item.span-4 { grid-column: span 2; }
}

.card-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(160deg, #17223f 0%, #0b101c 100%);
  color: var(--gold-400); border: 1px solid rgba(234, 191, 78, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.card-icon svg { width: 22px; height: 22px; }
/* v9: legacy colour variants unified into the navy/gold duotone */
.card-icon.cyan, .card-icon.green, .card-icon.amber,
.card-icon.purple, .card-icon.coral, .card-icon.lime, .card-icon.gold {
  background: linear-gradient(160deg, #17223f 0%, #0b101c 100%);
  color: var(--gold-400); border-color: rgba(234, 191, 78, 0.35);
}
.bento-item.dark .card-icon { border-color: rgba(234, 191, 78, 0.4); }

/* generic card */
.card {
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 28px;
  transition: transform var(--dur-med) var(--ease-emphasized), box-shadow var(--dur-med) var(--ease-emphasized),
              border-color var(--dur-med) ease, background var(--dur-med) ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--elev-3); border-color: rgba(217, 169, 39, 0.45); background: #fff; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 1rem; color: var(--ink-600); }

/* =========================================================
   11 · STAT BAND
   ========================================================= */
.statband {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat {
  text-align: center; padding: 34px 18px 30px; border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--border-dark);
  position: relative; overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.stat:hover { border-color: var(--border-dark-2); background: rgba(255,255,255,0.055); }
.stat::before {
  content: ""; position: absolute; top: 0; left: 20%; right: 20%; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent); opacity: 0.8;
}
.stat .n {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em;
  font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--grad-text-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .l { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-400); margin-top: 12px; letter-spacing: 0.04em; }
@media (max-width: 900px) { .statband { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .statband { grid-template-columns: 1fr; } }

/* =========================================================
   12 · SPLIT SECTIONS & FEATURE LISTS
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

.feature-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 15px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 1.02rem; }
.feature-list b { color: var(--ink-900); font-weight: 650; }
.feature-list span:not(.fi) { color: var(--ink-600); }
.fi {
  width: 23px; height: 23px; border-radius: 999px; flex-shrink: 0; margin-top: 2px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #17223f 0%, #0b101c 100%);
  color: var(--gold-400); border: 1px solid rgba(234, 191, 78, 0.4);
}
.fi svg { width: 13px; height: 13px; }
.section-dark .feature-list b, .section-navy .feature-list b { color: #fff; }
.section-dark .feature-list span:not(.fi), .section-navy .feature-list span:not(.fi) { color: var(--ink-400); }
/* white cards inside dark sections keep light-surface text */
.section-dark .card h3, .section-navy .card h3,
.section-dark .tile h3, .section-navy .tile h3 { color: var(--ink-900); }
.section-dark .card .feature-list b, .section-navy .card .feature-list b { color: var(--ink-900); }
.section-dark .card .feature-list span:not(.fi), .section-navy .card .feature-list span:not(.fi) { color: var(--ink-600); }

/* =========================================================
   13 · INDUSTRY CARDS
   ========================================================= */
.ind-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--r-xl); padding: 30px; min-height: 250px; overflow: hidden;
  border: 1px solid var(--border-dark); color: var(--ink-300);
  background: var(--grad-panel-dark);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.25s ease;
}
.ind-card:hover { transform: translateY(-5px); border-color: var(--border-dark-2); box-shadow: 0 34px 64px -26px rgba(5, 7, 13, 0.75); color: var(--ink-300); }
.ind-card h3 { color: #fff; margin: 18px 0 8px; }
.ind-card p { font-size: 0.98rem; color: var(--ink-400); flex-grow: 1; }
.ic-grad {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.85;
  background: radial-gradient(420px 240px at 88% -12%, rgba(34, 211, 238, 0.13), transparent 62%);
  transition: opacity 0.3s ease;
}
.ind-card:hover .ic-grad { opacity: 1; }
.ic-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(234, 191, 78, 0.10); border: 1px solid rgba(234, 191, 78, 0.35); color: var(--gold-300);
}
.ic-icon svg { width: 22px; height: 22px; }
.ind-card .link-arrow { margin-top: 16px; }

/* v6 — photographic industry cards: full-bleed image behind the content */
.ic-photo { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ic-photo img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.42; border-radius: 0;
  transition: opacity 0.35s ease, transform 0.6s var(--ease-out);
}
.ic-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(182deg, rgba(7, 11, 20, 0.30) 0%, rgba(7, 11, 20, 0.78) 52%, rgba(7, 11, 20, 0.94) 100%);
}
.ind-card:hover .ic-photo img { opacity: 0.55; transform: scale(1.045); }
.ind-card > :not(.ic-photo):not(.ic-grad) { position: relative; z-index: 1; }
.ind-card:has(.ic-photo) { min-height: 310px; }

/* =========================================================
   14 · STEPS
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.step {
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-2xl);
  padding: 32px 28px; position: relative;
  transition: transform var(--dur-med) var(--ease-emphasized), box-shadow var(--dur-med) var(--ease-emphasized),
              background var(--dur-med) ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--elev-3); background: #fff; border-color: rgba(217, 169, 39, 0.45); }
.step .num {
  font-family: var(--font-mono); font-weight: 600; font-size: 0.82rem;
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-gold); color: #3a2b06; margin-bottom: 20px;
  position: relative; z-index: 1;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 53px; left: calc(28px + 42px); right: -20px;
  border-top: 2px dashed var(--border-2); z-index: 0;
}
.step h3 { margin-bottom: 9px; }
.step p { font-size: 1rem; color: var(--ink-600); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { content: none; }
}

/* =========================================================
   15 · SPOTLIGHT / QUOTES / TESTIMONIALS
   ========================================================= */
.spotlight { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .spotlight { grid-template-columns: 1fr; } }

.quote {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.022em;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.34; color: #fff;
  margin: 6px 0 28px; text-wrap: pretty;
}
.quote::before { content: "“"; display: block; font-size: 3.4rem; line-height: 0.6; color: var(--cyan); margin-bottom: 18px; }

.quote-author { display: flex; align-items: center; gap: 14px; }
.qa-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  background: linear-gradient(160deg, #17223f 0%, #0b101c 100%);
  color: var(--gold-300); border: 1px solid rgba(234, 191, 78, 0.4);
}
.qa-avatar img { width: 100%; height: 100%; object-fit: cover; }
.qa-name { font-weight: 650; color: var(--ink-900); font-size: 0.96rem; }
.section-navy .qa-name, .section-dark .qa-name { color: #fff; }
.qa-role { font-size: 0.82rem; color: var(--ink-500); }
.section-navy .qa-role, .section-dark .qa-role { color: var(--ink-400); }

.spotlight-metrics { display: grid; gap: 14px; }
.spotlight-metric {
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--border-dark);
  border-radius: var(--r-md); padding: 24px 22px; transition: border-color 0.2s;
}
.spotlight-metric:hover { border-color: var(--border-dark-2); }
.spotlight-metric .n { font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: -0.03em; color: var(--cyan); line-height: 1; }
.spotlight-metric .l { font-family: var(--font-mono); font-size: 0.73rem; color: var(--ink-400); margin-top: 8px; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
@media (max-width: 940px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-2xl);
  padding: 30px 28px; position: relative;
  transition: transform var(--dur-med) var(--ease-emphasized), box-shadow var(--dur-med) var(--ease-emphasized),
              background var(--dur-med) ease, border-color var(--dur-med) ease;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--elev-3); background: #fff; border-color: var(--brand-200); }
.testimonial > p { font-size: 1.03rem; color: var(--ink-700); }
.stars { color: var(--gold-500); letter-spacing: 3px; font-size: 0.9rem; margin-bottom: 14px; }
.testimonial .qa-avatar { width: 44px; height: 44px; font-size: 0.88rem; }
.testimonial .quote-author { margin-top: 20px; }

/* =========================================================
   16 · COMPLIANCE STRIP
   ========================================================= */
.compliance { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cb {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--border-2); color: var(--ink-600); background: #fff;
  transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}
.cb:hover { border-color: var(--brand-400); color: var(--ink-900); transform: translateY(-2px); }
.cb svg { width: 15px; height: 15px; color: var(--gold-600); }

/* =========================================================
   17 · PRICING
   ========================================================= */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.price-card {
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-2xl);
  padding: 34px 30px; display: flex; flex-direction: column; position: relative;
  transition: transform var(--dur-med) var(--ease-emphasized), box-shadow var(--dur-med) var(--ease-emphasized),
              border-color var(--dur-med) ease, background var(--dur-med) ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--elev-3); border-color: var(--brand-200); background: #fff; }
.price-card h3 { font-size: 1.1rem; }
.price-card > p { font-size: 0.97rem; color: var(--ink-500); margin-top: 7px; }
.price {
  font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; letter-spacing: -0.035em;
  color: var(--ink-900); margin-top: 20px; line-height: 1; font-variant-numeric: tabular-nums;
}
.price small { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; color: var(--ink-500); letter-spacing: 0.02em; }
.price-annual { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-400); margin: 6px 0 0; }
.price-feat { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 11px; flex-grow: 1; }
.price-feat li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.97rem; color: var(--ink-700); }
.price-feat svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; margin-top: 3px; }

.price-card.featured {
  background: var(--grad-panel-dark); border-color: rgba(59, 118, 246, 0.5);
  box-shadow: 0 0 0 1px rgba(59, 118, 246, 0.25), 0 34px 70px -26px rgba(11, 16, 40, 0.55);
}
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-card.featured > p { color: var(--ink-400); }
.price-card.featured .price-feat li { color: var(--ink-300); }
.price-card.featured .price-feat svg { color: var(--cyan); }
.price-card.featured .price-annual { color: var(--ink-400); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--grad-gold); color: #3a2b06; padding: 6px 16px; border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(217, 169, 39, 0.65);
  white-space: nowrap;
}
.price-note { font-size: 0.85rem; color: var(--ink-500); text-align: center; }

/* comparison table */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; }
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 0.97rem; }
.cmp th, .cmp td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.cmp thead th {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-500); background: var(--bg-soft);
}
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp tbody tr:hover td { background: var(--ink-50); }
.cmp .col-feat { font-weight: 550; color: var(--ink-800); }
.cmp .yes { color: var(--green); font-weight: 700; }
.cmp .no { color: var(--ink-300); }
.cmp .grp td {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-700); background: var(--bg-soft); font-weight: 600;
}

/* =========================================================
   18 · FAQ
   ========================================================= */
.faq { display: grid; gap: 12px; max-width: 780px; margin-inline: auto; }
.faq details {
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 0 24px; overflow: hidden;
  transition: border-color var(--dur-short) ease, background var(--dur-short) ease, box-shadow var(--dur-short) ease;
}
.faq details:hover { background: #fff; border-color: var(--border-2); }
.faq details[open] { border-color: var(--brand-200); background: #fff; box-shadow: var(--elev-2); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 0; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--ink-900); font-size: 1.06rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 1.25rem; color: var(--brand-600);
  transition: transform 0.25s var(--ease-out); flex-shrink: 0; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 0 20px; color: var(--ink-600); font-size: 1rem; }

/* =========================================================
   19 · CTA BAND
   ========================================================= */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: var(--grad-hero); border-radius: var(--r-2xl);
  padding: clamp(52px, 7vw, 88px) clamp(24px, 5vw, 72px);
  border: 1px solid var(--border-dark);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(146, 176, 255, 0.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(146, 176, 255, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(640px 380px at 50% 10%, #000 15%, transparent 75%);
          mask-image: radial-gradient(640px 380px at 50% 10%, #000 15%, transparent 75%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: var(--ink-400); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.cta-note { display: flex; gap: 12px 26px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.cta-note span { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-400); }
.cta-note svg { width: 14px; height: 14px; color: var(--cyan); }

/* =========================================================
   20 · PAGE HERO (interior pages)
   ========================================================= */
.page-hero {
  background: var(--grad-hero); color: var(--ink-300);
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(146, 176, 255, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(146, 176, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(820px 460px at 60% 0%, #000 15%, transparent 75%);
          mask-image: radial-gradient(820px 460px at 60% 0%, #000 15%, transparent 75%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--noise); background-size: 160px; opacity: 0.045; mix-blend-mode: overlay;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.5rem); margin: 18px 0 16px; }
.page-hero .lead { color: var(--ink-400); }

.breadcrumb {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-500); margin-bottom: 8px;
}
.breadcrumb a { color: var(--ink-400); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { opacity: 0.5; }

/* =========================================================
   21 · FORMS
   ========================================================= */
.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-2xl);
  padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-md);
}
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label, .lbl { font-size: 0.86rem; font-weight: 600; color: var(--ink-800); }
.field input, .field select, .field textarea, .resource-search input {
  width: 100%; padding: 13px 16px; border-radius: 14px;
  border: 1px solid var(--border-2); background: var(--surface-1);
  font-size: 0.95rem; color: var(--ink-900);
  transition: border-color var(--dur-short) ease, box-shadow var(--dur-short) ease, background var(--dur-short) ease;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-400); }
.field input:focus, .field select:focus, .field textarea:focus, .resource-search input:focus {
  outline: none; border-color: var(--gold-500); background: #fff;
  box-shadow: 0 0 0 1px var(--gold-500), 0 0 0 4px rgba(234, 191, 78, 0.18);
}
.field textarea { resize: vertical; min-height: 110px; }
.field ::placeholder { color: var(--ink-400); }
.grid-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .grid-row { grid-template-columns: 1fr; } }

/* =========================================================
   22 · BLOG & PROSE
   ========================================================= */
.prose { max-width: 720px; margin-inline: auto; font-size: 1.09rem; color: var(--ink-700); }
.prose h2 { font-size: 1.65rem; margin: 2.4em 0 0.6em; }
.prose h3 { font-size: 1.22rem; margin: 1.9em 0 0.5em; }
.prose p { margin: 1em 0; }
.prose ul, .prose ol { margin: 1em 0; padding-left: 1.4em; }
.prose li { margin: 0.45em 0; }
.prose li::marker { color: var(--brand-600); }
.prose blockquote {
  margin: 1.8em 0; padding: 18px 26px; border-left: 3px solid var(--gold-500);
  background: var(--bg-soft); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic; color: var(--ink-800);
}
.prose img { border-radius: var(--r-lg); border: 1px solid var(--border); margin: 1.8em 0; }
.prose code { font-family: var(--font-mono); font-size: 0.86em; background: var(--ink-100); padding: 2px 7px; border-radius: 6px; color: var(--brand-700); }
.prose pre { background: var(--navy-900); color: #dbe7ff; border-radius: var(--r-md); padding: 22px 24px; overflow-x: auto; border: 1px solid var(--border-dark); margin: 1.6em 0; }
.prose pre code { background: none; color: inherit; padding: 0; font-size: 0.86rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 0.92rem; }
.prose th, .prose td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.prose th { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2.4em 0; }

.meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px;
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-500);
}
.page-hero .meta { color: var(--ink-400); }

/* code blocks outside prose (developers page) */
pre.code, .code-block {
  background: var(--navy-900); color: #dbe7ff; border-radius: var(--r-md);
  padding: 20px 22px; overflow-x: auto; border: 1px solid var(--border-dark);
  font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.6;
}

/* =========================================================
   23 · TOC / LEGAL / CALLOUTS
   ========================================================= */
.toc {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 24px 28px; font-size: 0.92rem;
}
.toc ol { margin: 10px 0 0; padding-left: 1.3em; display: grid; gap: 6px; }
.toc a { color: var(--ink-600); }
.toc a:hover { color: var(--brand-600); }

.callout {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--r-md);
  padding: 18px 22px; font-size: 1rem; color: var(--ink-800);
}
.callout svg { width: 20px; height: 20px; color: var(--brand-600); flex-shrink: 0; margin-top: 2px; }

/* legal doc scaffolding (privacy/terms/cookies) */
.doc-header { margin-bottom: 8px; }
.doc-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.88rem; color: var(--ink-500); }
.lg-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.lg-docmeta { font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-500); }
.table-scroll { overflow-x: auto; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.cookie-table th, .cookie-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.cookie-table th { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); }

/* =========================================================
   24 · FOOTER
   ========================================================= */
.site-footer {
  background: var(--void); color: var(--ink-400);
  padding: clamp(56px, 7vw, 84px) 0 36px; position: relative; overflow: hidden;
  border-top: 2px solid rgba(234, 191, 78, 0.45);
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(760px 380px at 12% 0%, rgba(37, 99, 235, 0.13), transparent 60%);
}
.site-footer > .container { position: relative; z-index: 1; }
.footer-top {
  display: grid; grid-template-columns: 1.3fr repeat(4, 0.95fr) 1.25fr; gap: 32px;
  padding-bottom: 48px; border-bottom: 1px solid var(--border-dark);
}
@media (max-width: 1020px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; max-width: 460px; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand p { font-size: 0.98rem; margin-top: 18px; line-height: 1.65; }
.footer-logo-plate { display: inline-block; background: #fff; padding: 9px 14px; border-radius: 14px; }
.footer-logo-plate img { height: 26px; width: auto; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid var(--border-dark); color: var(--ink-400);
  transition: color 0.18s, border-color 0.18s, transform 0.18s var(--ease-out);
}
.footer-social a:hover { color: var(--cyan); border-color: var(--border-dark-2); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h6 {
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-500); margin: 0 0 16px;
}
.footer-col a { display: block; font-size: 0.97rem; color: var(--ink-400); padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-contact { display: grid; gap: 8px; font-size: 0.94rem; }
.footer-contact span { line-height: 1.55; }
.footer-contact a { padding: 0; }

/* buttons placed inside footer columns keep their component styling */
.footer-col a.btn, .footer-contact a.btn {
  display: inline-flex; padding: 12px 26px; font-size: 0.94rem; color: #fff;
}
.footer-col a.btn:hover, .footer-contact a.btn:hover { color: #fff; }
.footer-col a.btn.btn-sm, .footer-contact a.btn.btn-sm { padding: 9px 19px; font-size: 0.88rem; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 14px 28px; padding-top: 28px; font-size: 0.82rem;
}
.footer-badges { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.7rem; }
.footer-badges span { display: inline-flex; align-items: center; gap: 7px; }
.footer-badges svg { width: 14px; height: 14px; color: var(--cyan); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--ink-400); }
.footer-legal a:hover { color: #fff; }

/* =========================================================
   25 · COOKIE BANNER
   ========================================================= */
#cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto;
  background: rgba(9, 14, 28, 0.92); color: var(--ink-300);
  border: 1px solid var(--border-dark-2); border-radius: var(--r-xl);
  padding: 22px 24px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.65);
  z-index: 200; backdrop-filter: blur(12px); transition: opacity 0.25s;
}
#cookie-banner p { margin: 0 0 14px; font-size: 0.9rem; }
#cookie-banner a { color: var(--cyan); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.open-prefs-cta { text-decoration: underline; cursor: pointer; background: none; border: none; color: var(--brand-600); padding: 0; }

/* =========================================================
   26 · REVEAL ANIMATIONS
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out); }
.js [data-reveal].revealed { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: 0.1s; }
.js [data-reveal][data-delay="2"] { transition-delay: 0.2s; }
.js [data-reveal][data-delay="3"] { transition-delay: 0.3s; }

/* =========================================================
   27 · MISC SHARED (tiles, avatars, pillars)
   ========================================================= */
.tile {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 26px;
  transition: transform var(--dur-med) var(--ease-emphasized), box-shadow var(--dur-med) var(--ease-emphasized),
              border-color var(--dur-med) ease, background var(--dur-med) ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--elev-3); border-color: rgba(217, 169, 39, 0.45); background: #fff; }

.avatar { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-xl); border: 1px solid var(--border); }
.avatar-initials {
  display: grid; place-items: center; background: var(--grad-panel-dark);
  border-color: var(--border-dark-2); color: #fff;
  font-family: var(--font-display); font-weight: 800; letter-spacing: 0.03em;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem); position: relative; overflow: hidden;
}
.avatar-initials::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 78% 12%, rgba(34, 211, 238, 0.18), transparent 65%);
}

.wireframe-canvas { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.wireframe-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }

.pillar { border-left: 3px solid var(--gold-500); padding-left: 20px; }
.pillar h3 { margin-bottom: 6px; }

/* =========================================================
   28 · RESPONSIVE HARDENING (small-screen safety net)
   ========================================================= */
/* grid/flex children may shrink below their content size */
.grid > *, .grid-2 > *, .grid-3 > *, .cols-4 > *,
.split > *, .bento > *, .spotlight > *, .steps > *,
.hero-grid > *, .footer-top > *, .grid-row > * { min-width: 0; }
.card, .tile, .bento-item, .step, .testimonial, .form-card { min-width: 0; }

/* long telemetry strings, URLs and emails must never force overflow */
body { overflow-wrap: break-word; }
.mono, code, .footer-contact a, .footer-contact span { overflow-wrap: anywhere; }

@media (max-width: 640px) {
  .hero-cta .btn, .cta-actions .btn { width: 100%; }
  .section { padding: 60px 0; }
  /* generic flex rows wrap instead of clipping */
  .flex { flex-wrap: wrap; }
  .quote-author { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  /* collapse inline-styled multi-column grids (page-level one-offs) */
  [style*="grid-template-columns"]:not(.mega-grid) { grid-template-columns: 1fr !important; }
  .spotlight-metrics { grid-template-columns: 1fr !important; }
}

@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .btn { white-space: normal; text-align: center; }
  .btn-lg { padding: 14px 24px; font-size: 0.96rem; }
  h1 { font-size: clamp(2.1rem, 11vw, 2.6rem); }
  .telemetry-chip { display: none; }
}

/* =========================================================
   29 · FORM STATUS (Web3Forms) & WHATSAPP CHAT WIDGET
   ========================================================= */
.w3f-honeypot { display: none !important; }
.w3f-status {
  margin: 14px 0 0; padding: 12px 16px; border-radius: var(--r-md);
  font-size: 0.9rem; font-weight: 550; text-align: center;
}
.w3f-status.ok  { background: #e4f8f0; color: #087354; border: 1px solid #c2eedd; }
.w3f-status.err { background: #fdeaea; color: #b91c1c; border: 1px solid #f7d0d0; }
.btn[data-busy="true"] { opacity: 0.7; pointer-events: none; }

.wa-widget { position: fixed; right: 18px; bottom: 18px; z-index: 150; }
.wa-fab {
  width: 58px; height: 58px; border-radius: 999px; border: none; cursor: pointer;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, #2fdb70 0%, #25d366 55%, #1fb959 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), var(--elev-3), 0 10px 26px -8px rgba(37, 211, 102, 0.55);
  transition: transform var(--dur-short) var(--ease-emphasized), box-shadow var(--dur-short) var(--ease-emphasized);
}
.wa-fab:hover { transform: translateY(-2px) scale(1.05); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), var(--elev-4), 0 14px 34px -8px rgba(37, 211, 102, 0.6); }
.wa-fab:active { transform: scale(0.97); }
.wa-fab svg { width: 30px; height: 30px; }

.wa-panel {
  position: fixed; right: 18px; bottom: 88px;
  width: min(360px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-2xl);
  box-shadow: var(--elev-4); overflow: hidden;
  opacity: 0; transform: translateY(14px) scale(0.97); pointer-events: none;
  transform-origin: bottom right; visibility: hidden;
  transition: opacity var(--dur-short) var(--ease-decel), transform 0.3s var(--ease-decel), visibility var(--dur-short);
}
.wa-panel.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.wa-head {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, #128c7e 0%, #25d366 120%);
  color: #fff; padding: 16px 18px;
}
.wa-head svg { width: 30px; height: 30px; flex-shrink: 0; }
.wa-head b { display: block; font-size: 0.95rem; letter-spacing: -0.01em; }
.wa-head span { display: block; font-size: 0.76rem; opacity: 0.85; }
.wa-close {
  margin-left: auto; width: 32px; height: 32px; border: none; border-radius: 999px;
  background: rgba(255,255,255,0.15); color: #fff; font-size: 1.1rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center;
  transition: background var(--dur-short) ease;
}
.wa-close:hover { background: rgba(255,255,255,0.28); }
.wa-form { padding: 18px; }
.wa-form .field { margin-bottom: 12px; }
.wa-form .btn { width: 100%; background: linear-gradient(180deg, #2fdb70 0%, #25d366 55%, #1fb959 100%); color: #fff; box-shadow: var(--elev-1); }
.wa-form .btn:hover { color: #fff; box-shadow: var(--elev-2), 0 10px 26px -8px rgba(37, 211, 102, 0.55); }
.wa-note { font-size: 0.74rem; color: var(--ink-400); text-align: center; margin: 10px 0 0; }

@media (max-width: 640px) {
  .wa-widget { right: 14px; bottom: 14px; }
  .wa-panel { right: 14px; bottom: 82px; }
}
@media print { .wa-widget, .wa-panel { display: none !important; } }

/* =========================================================
   30a · WAYFINDING — scroll progress, back-to-top, section subnav
   ========================================================= */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2.5px; width: 0;
  background: var(--grad-gold);
  z-index: 250; pointer-events: none;
}

.back-to-top {
  position: fixed; left: 18px; bottom: 18px; z-index: 140;
  width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--border-2);
  background: #fff; color: var(--ink-700); cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--elev-2);
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity var(--dur-short) ease, transform var(--dur-short) var(--ease-emphasized),
              color var(--dur-short) ease, border-color var(--dur-short) ease;
}
.back-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { color: var(--gold-600); border-color: var(--gold-400); transform: translateY(-2px); }
.back-to-top svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .back-to-top { left: 14px; bottom: 14px; width: 42px; height: 42px; } }
@media print { .back-to-top, .scroll-progress { display: none !important; } }

/* sticky on-page section nav (e.g. platform page) */
.subnav {
  position: sticky; top: 61px; z-index: 110;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.subnav-inner {
  display: flex; gap: 6px; align-items: center;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: 10px 0;
}
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a {
  flex-shrink: 0; padding: 7px 15px; border-radius: 999px;
  font-size: 0.93rem; font-weight: 600; color: var(--ink-600); white-space: nowrap;
  transition: color var(--dur-short) ease, background var(--dur-short) ease;
}
.subnav a:hover { color: var(--gold-700); background: #fdf8ea; }
.subnav a.active { color: var(--gold-700); background: #fbf3d9; }

/* =========================================================
   30 · IMAGE LIGHTBOX (click-to-zoom on content images)
   ========================================================= */
.zoomable { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: clamp(16px, 4vw, 48px);
  background: rgba(5, 7, 13, 0.86);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity var(--dur-short) ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure { margin: 0; max-width: min(1280px, 94vw); max-height: 88vh; display: grid; gap: 12px; }
.lightbox img {
  max-width: 100%; max-height: 80vh; width: auto; height: auto; margin-inline: auto;
  border-radius: var(--r-lg); box-shadow: var(--elev-4), 0 0 0 1px rgba(255, 255, 255, 0.08);
  background: var(--navy-850); cursor: zoom-out;
  transform: scale(0.96); transition: transform var(--dur-med) var(--ease-decel);
}
.lightbox.open img { transform: scale(1); }
.lightbox figcaption {
  text-align: center; color: var(--ink-300); font-size: 0.88rem; line-height: 1.5;
  max-width: 70ch; margin-inline: auto;
}
.lightbox-close {
  position: absolute; top: 18px; right: 18px;
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.2); border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 1.5rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center;
  transition: background var(--dur-short) ease, transform var(--dur-short) var(--ease-emphasized);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); transform: scale(1.06); }
@media print { .lightbox { display: none !important; } }

/* print sanity */
@media print {
  .site-header, .site-footer, #cookie-banner, .menu-toggle { display: none !important; }
  body { background: #fff; }
}

/* =========================================================
   31 · v6 "BIG PICTURE" — image-forward showcase components
   ========================================================= */

/* ---- Browser-chrome frame for product screenshots ---- */
.shot-frame {
  position: relative;
  border-radius: clamp(14px, 1.6vw, 22px);
  background: linear-gradient(180deg, #141d33 0%, #0c1222 100%);
  border: 1px solid rgba(234, 191, 78, 0.32);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 42px 96px -30px rgba(4, 10, 26, 0.55),
    0 16px 40px -20px rgba(4, 10, 26, 0.45);
  overflow: hidden;
}
.sf-bar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid var(--border-dark);
}
.sf-dots { display: inline-flex; gap: 7px; flex-shrink: 0; }
.sf-dots i { width: 11px; height: 11px; border-radius: 999px; display: block; }
.sf-dots i:nth-child(1) { background: #fb7185; }
.sf-dots i:nth-child(2) { background: #fbbf24; }
.sf-dots i:nth-child(3) { background: #34d399; }
.sf-url {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-400);
  background: rgba(5, 9, 18, 0.55); border: 1px solid var(--border-dark);
  border-radius: 999px; padding: 4px 16px;
  max-width: 56%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sf-url svg { width: 11px; height: 11px; flex-shrink: 0; color: var(--gold-400); }
.sf-bar .pill { position: relative; z-index: 1; font-size: 0.62rem; padding: 4px 11px; }
@media (max-width: 620px) { .sf-url { display: none; } }

.shot-frame img {
  width: 100%; height: auto; display: block;
  border: 0; border-radius: 0; box-shadow: none; background: var(--navy-850);
}
/* crop tall dashboards so the hero shows a wide "peek" of the product */
.shot-frame .sf-crop { max-height: clamp(340px, 44vw, 660px); object-fit: cover; object-position: top center; }
.shot-frame .sf-crop-tall { max-height: clamp(420px, 56vw, 780px); object-fit: cover; object-position: top center; }

.shot-caption {
  text-align: center; font-family: var(--font-mono); font-size: 0.73rem;
  color: var(--ink-500); margin-top: 16px; letter-spacing: 0.05em;
}

/* width helper for standalone full-width screenshots */
.shot-xl { max-width: 1120px; margin-inline: auto; }

/* ---- Homepage hero: centered copy + full-width product stage ---- */
.hero.hero-showcase { overflow-x: clip; overflow-y: visible; text-align: center; padding-bottom: 0; }
.hero.hero-showcase h1 { max-width: 21ch; margin-inline: auto; font-size: clamp(2.6rem, 5.6vw, 4.5rem); }
.hero.hero-showcase .lead { margin-inline: auto; }
.hero.hero-showcase .hero-cta,
.hero.hero-showcase .hero-trust { justify-content: center; }

.hero-stage {
  position: relative; z-index: 2;
  margin: clamp(44px, 6vw, 78px) auto calc(-1 * var(--stage-overlap));
}
.hero-stage::before {
  content: ""; position: absolute; inset: -8% -6% auto; height: 75%; z-index: -1;
  background:
    radial-gradient(58% 85% at 50% 18%, rgba(37, 99, 235, 0.38), transparent 70%),
    radial-gradient(38% 60% at 82% 8%, rgba(34, 211, 238, 0.2), transparent 70%),
    radial-gradient(30% 50% at 12% 12%, rgba(234, 191, 78, 0.18), transparent 70%);
  filter: blur(34px); pointer-events: none;
}
/* the section that follows an overlapping stage clears the overhang */
.section.after-stage { padding-top: calc(var(--stage-overlap) + clamp(52px, 6vw, 84px)); }

/* ---- Interior page hero with a large media stage ---- */
.page-hero.with-media { overflow-x: clip; overflow-y: visible; padding-bottom: 0; }
.page-hero.centered { text-align: center; }
.page-hero.centered .breadcrumb { justify-content: center; }
.page-hero.centered .lead { margin-inline: auto; max-width: 62ch; }
.page-hero.centered .hero-cta { justify-content: center; }
.page-hero.centered .meta { justify-content: center; }

.ph-media {
  position: relative; z-index: 2;
  max-width: 1120px;
  margin: clamp(36px, 5vw, 62px) auto calc(-1 * var(--ph-overlap));
}
.ph-media::before {
  content: ""; position: absolute; inset: -6% -5% auto; height: 70%; z-index: -1;
  background:
    radial-gradient(55% 80% at 50% 15%, rgba(37, 99, 235, 0.34), transparent 70%),
    radial-gradient(35% 55% at 80% 10%, rgba(34, 211, 238, 0.16), transparent 70%);
  filter: blur(30px); pointer-events: none;
}
.section.after-hero { padding-top: calc(var(--ph-overlap) + clamp(46px, 5.5vw, 76px)); }

/* contained variant — media stays fully on the dark hero (use on pages
   with a sticky subnav or form directly below the hero) */
.page-hero.with-media.contained { padding-bottom: clamp(52px, 6.5vw, 88px); }
.page-hero.contained .ph-media { margin-bottom: 0; }

/* bare self-chromed mockups used as hero media */
.ph-media > .mock-img, .hero-stage > .mock-img { width: 100%; }
.crop-media { max-height: clamp(360px, 46vw, 640px); object-fit: cover; object-position: top center; }

/* ---- Split sections: let the media column breathe wider ---- */
@media (min-width: 901px) {
  .split.media-55 { grid-template-columns: 45fr 55fr; }
  .split.media-55.reverse { grid-template-columns: 55fr 45fr; }
}
.split-media .shot-frame img { border-radius: 0; }

/* floating telemetry chips keep working over stages */
.hero-stage .telemetry-chip, .ph-media .telemetry-chip { z-index: 3; }

@media (max-width: 720px) {
  :root { --stage-overlap: 44px; --ph-overlap: 36px; }
  .shot-frame { border-radius: 12px; }
  .sf-bar { padding: 9px 13px; }
  .hero-stage .telemetry-chip, .ph-media .telemetry-chip { display: none; }
}

/* =========================================================
   32 · v7 BOOTSTRAP 5 BRIDGE & COMPONENT THEME (+ gold)
   Loads after assets/vendor/bootstrap.min.css — restores the
   Meridian rhythm over Reboot and themes BS components.
   ========================================================= */

/* --- Reboot neutralizer --- */
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, blockquote, figure, fieldset, legend { margin: 0; }
a { text-decoration: none; }
hr { opacity: 1; }
.lead { font-weight: 400; }

/* --- Container: fixed Meridian width --- */
.container { max-width: var(--container); padding: 0 clamp(20px, 4vw, 40px); --bs-gutter-x: 0; }

/* --- Navbar bridge (desktop nav keeps Meridian look) --- */
.site-header .navbar { padding: 0; flex-wrap: nowrap; background: transparent; }
.navbar-nav.nav-links { flex-direction: row; --bs-nav-link-padding-x: 16px; --bs-nav-link-padding-y: 9px; }
.navbar-nav.nav-links .nav-item { display: flex; }
.navbar-nav .nav-link { color: var(--ink-300); font-weight: 550; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus { color: var(--gold-300); }
.navbar-toggler.menu-toggle { border: 0; border-radius: 8px; box-shadow: none; }
.navbar-toggler.menu-toggle:focus { box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35); }

/* mega menus: BS dropdown semantics, CSS hover mechanics */
.dropdown-menu.mega {
  display: block; position: absolute; top: calc(100% + 14px); left: 50%; right: auto;
  margin: 0; border-radius: var(--r-2xl);
}
.has-mega.nav-item { position: relative; }

/* --- Offcanvas mobile menu (light, matches old panel) --- */
.mobile-offcanvas {
  --bs-offcanvas-bg: var(--bg-page);
  --bs-offcanvas-color: var(--ink-700);
  --bs-offcanvas-width: min(88vw, 390px);
  border-left: 1px solid var(--border);
}
.mobile-offcanvas .offcanvas-header { border-bottom: 1px solid var(--border); padding: 14px 20px; }
.mobile-offcanvas .offcanvas-header .brand-logo { height: 42px; width: auto; }
.mobile-offcanvas .offcanvas-body { display: flex; flex-direction: column; padding: 10px 20px 28px; }
.mm-acc {
  --bs-accordion-bg: transparent;
  --bs-accordion-color: var(--ink-700);
  --bs-accordion-border-color: transparent;
  --bs-accordion-btn-color: var(--ink-900);
  --bs-accordion-active-bg: transparent;
  --bs-accordion-active-color: var(--brand-700);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-padding-x: 4px;
  --bs-accordion-btn-padding-y: 16px;
  --bs-accordion-body-padding-x: 4px;
  --bs-accordion-body-padding-y: 0;
}
.mm-acc .accordion-item { border-bottom: 1px solid var(--border); }
.mm-acc .accordion-button { font-weight: 600; font-size: 1.08rem; }
.mm-acc .accordion-body { padding-bottom: 14px; display: grid; gap: 2px; }
.mobile-offcanvas .mm-plain { border-bottom: 1px solid var(--border); }
.mobile-offcanvas .mobile-cta { margin-top: 22px; }

/* --- FAQ accordion theme (replaces details/summary) --- */
.faq.accordion {
  --bs-accordion-bg: var(--surface-1);
  --bs-accordion-color: var(--ink-600);
  --bs-accordion-border-color: var(--border);
  --bs-accordion-border-radius: var(--r-lg);
  --bs-accordion-inner-border-radius: calc(var(--r-lg) - 1px);
  --bs-accordion-btn-color: var(--ink-900);
  --bs-accordion-active-color: var(--ink-900);
  --bs-accordion-active-bg: #fff;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
  --bs-accordion-btn-padding-x: 24px;
  --bs-accordion-btn-padding-y: 19px;
  --bs-accordion-body-padding-x: 24px;
  --bs-accordion-body-padding-y: 0;
}
.faq .accordion-item {
  border-radius: var(--r-lg); overflow: hidden;
  transition: border-color var(--dur-short) ease, box-shadow var(--dur-short) ease, background var(--dur-short) ease;
}
.faq .accordion-item:hover { background: #fff; }
.faq .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: var(--gold-400); background: #fff; box-shadow: var(--elev-2);
}
.faq .accordion-header { margin: 0; }
.faq .accordion-button { font-weight: 600; font-size: 1.06rem; font-family: var(--font-sans); background: transparent; }
.faq .accordion-button:not(.collapsed) { box-shadow: none; }
.faq .accordion-body { padding-bottom: 20px; font-size: 1rem; color: var(--ink-600); }

/* --- Forms theme --- */
.form-label { font-size: 0.86rem; font-weight: 600; color: var(--ink-800); margin-bottom: 7px; }
.form-control, .form-select {
  padding: 13px 16px; border-radius: 14px;
  border: 1px solid var(--border-2); background-color: var(--surface-1);
  font-size: 0.95rem; color: var(--ink-900);
}
.form-control:hover, .form-select:hover { border-color: var(--ink-400); }
.form-control:focus, .form-select:focus {
  border-color: var(--gold-500); background-color: #fff;
  box-shadow: 0 0 0 1px var(--gold-500), 0 0 0 4px rgba(234, 191, 78, 0.18); color: var(--ink-900);
}
.form-control::placeholder { color: var(--ink-400); }
textarea.form-control { min-height: 110px; }
.form-check-input:checked { background-color: var(--brand-600); border-color: var(--brand-600); }

/* --- Buttons / badges bridge --- */
.btn { --bs-btn-focus-box-shadow: none; }
.btn-block { width: 100%; }
.badge { text-transform: none; line-height: inherit; }

/* --- Gold extras --- */
.card-icon.gold { background: #fdf6e0; color: var(--gold-700); border-color: #f3e3ab; }
.text-gold { color: var(--gold-600) !important; }
.price-card.featured { border-color: rgba(234, 191, 78, 0.55); box-shadow: 0 0 0 1px rgba(234, 191, 78, 0.25), var(--elev-4); }
.price-card.featured .price-feat svg { color: var(--gold-300); }
.footer-badges svg { color: var(--gold-500); }
.cta-band { border-top: 2px solid rgba(234, 191, 78, 0.5); }


/* =========================================================
   33 · v8 "SOVEREIGN" — luxury navy & gold detailing
   ========================================================= */
/* gold eyebrows on all dark surfaces */
.section-dark .eyebrow, .section-navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow,
.eyebrow.on-dark { color: var(--gold-300); }

/* gold-ruled centered section heads */
.section-head.center h2::after {
  content: ""; display: block; width: 54px; height: 2px;
  margin: 18px auto 0; background: var(--grad-gold); border-radius: 2px; opacity: 0.9;
}
.cta-band h2::after { content: none; }

/* gold primary CTAs on dark surfaces (navy button stays for light) */
.hero .btn-primary, .page-hero .btn-primary, .cta-band .btn-primary,
.section-navy .btn-primary, .section-dark .btn-primary,
.hero a.btn-primary, .page-hero a.btn-primary, .cta-band a.btn-primary,
.section-navy a.btn-primary, .section-dark a.btn-primary {
  background: var(--grad-gold); color: #241a04;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 12px 30px -10px rgba(217, 169, 39, 0.55);
}
.hero .btn-primary:hover, .page-hero .btn-primary:hover, .cta-band .btn-primary:hover,
.section-navy .btn-primary:hover, .section-dark .btn-primary:hover,
.hero a.btn-primary:hover, .page-hero a.btn-primary:hover, .cta-band a.btn-primary:hover,
.section-navy a.btn-primary:hover, .section-dark a.btn-primary:hover {
  color: #241a04; filter: brightness(1.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 16px 36px -12px rgba(217, 169, 39, 0.65);
}

/* gold metric numbers in dark spotlight + featured price */
.spotlight-metric .n {
  background: var(--grad-text-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-card.featured .price {
  background: var(--grad-text-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-card.featured .price small { -webkit-text-fill-color: var(--ink-400); color: var(--ink-400); }

/* mega dropdown: gold hover accents */
.mega-link:hover { background: #fdf8ea; }
.mega-link::after { border-top-color: var(--gold-600); border-right-color: var(--gold-600); }
.mega-link:hover .mm-title { color: var(--gold-700); }

/* hero media gold edges */
.ph-media > .mock-img, .hero-stage .shot-frame { border-color: rgba(234, 191, 78, 0.32); }

/* dark sections: navy panels get a faint gold sheen at the top edge */
.section-navy, .section-dark { border-block: 1px solid rgba(234, 191, 78, 0.16); }

/* light price cards inside navy/dark bands keep dark titles */
.section-navy .price-card h3, .section-dark .price-card h3 { color: var(--ink-900); }
.section-navy .price-card.featured h3, .section-dark .price-card.featured h3 { color: #fff; }
.section-navy .price-card > p, .section-dark .price-card > p { color: var(--ink-600); }
.section-navy .price-card.featured > p, .section-dark .price-card.featured > p { color: var(--ink-400); }

/* offcanvas: gold active accents */
.mm-acc { --bs-accordion-active-color: var(--gold-700); }
.mm-sublink:hover { background: #fdf8ea; color: var(--gold-700); }

/* =========================================================
   34 · v9 "REGALIA" — editorial accents & dark testimonials
   ========================================================= */
/* serif-italic gold highlight in display headlines (2026 editorial accent) */
.grad-text-light, .grad-text {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 620;
  letter-spacing: -0.01em;
  padding-right: 0.06em; /* italic overhang */
}

/* testimonials become navy glass cards with gold stars */
.testimonial {
  background: var(--grad-panel-dark);
  border: 1px solid rgba(234, 191, 78, 0.22);
  color: var(--ink-300);
}
.testimonial:hover { border-color: rgba(234, 191, 78, 0.45); background: var(--grad-panel-dark); }
.testimonial p { color: var(--ink-300); }
.testimonial .stars { color: var(--gold-400); }
.testimonial .qa-name { color: #fff; }
.testimonial .qa-role { color: var(--ink-400); }

/* quote marks & pull quotes in the serif accent */
.quote { font-family: var(--font-accent); font-style: italic; font-weight: 480; letter-spacing: 0; }

/* trusted/compliance labels in gold */
.trusted-label { color: var(--gold-700); }
.cb { transition: border-color 0.2s ease, color 0.2s ease; }
.cb:hover { border-color: var(--gold-400); }

/* mega panel: gold hairline crown */
.mega { border-top: 2px solid rgba(217, 169, 39, 0.55); }

/* richer navy in dark panels */
.section-dark, .section-navy { background: linear-gradient(165deg, #0e1732 0%, #0a101f 70%); }

/* step cards: navy number ring detail */
.step .num { box-shadow: 0 0 0 4px rgba(234, 191, 78, 0.15); }

/* price cards: gold check marks */
.price-feat svg { color: var(--gold-600) !important; }
.price-card.featured .price-feat svg { color: var(--gold-300) !important; }

/* offcanvas top hairline */
.mobile-offcanvas { border-top: 2px solid rgba(217, 169, 39, 0.55); }

/* WhatsApp fab unchanged (recognisable); back-to-top gold handled above */


/* =========================================================
   35 · FULL-SPEC PRICING CARDS (Ajira plan sheet, industry standard)
   ========================================================= */
.price-feat li.not-inc { color: var(--ink-400); }
.price-feat li.not-inc svg { color: var(--coral); opacity: 0.75; }
.price-card.featured .price-feat li.not-inc { color: var(--ink-500); }
.feat-divider {
  display: block; list-style: none;
  font-family: var(--font-mono); font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-700);
  margin-top: 8px; padding-top: 14px; border-top: 1px dashed var(--border-2);
}
.price-card.featured .feat-divider { color: var(--gold-300); border-top-color: var(--border-dark-2); }
.feat-hl { color: var(--gold-700); font-weight: 650; }
.price-card.featured .feat-hl { color: var(--gold-300); }
.price-feat .ft { flex: 1; min-width: 0; }
.price-feat li .feat-note { color: var(--ink-500); font-style: italic; }
.price-card.featured .price-feat li .feat-note { color: var(--ink-400); }


/* =========================================================
   36 · v10 ICON LOCKUPS — refined chip box & placement
   ========================================================= */
/* the chip itself: larger, squircle, gold ring, soft depth */
.card-icon {
  width: 52px; height: 52px; border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10),
              0 6px 16px -6px rgba(7, 11, 20, 0.45);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}
.card-icon svg { width: 24px; height: 24px; }

/* breathing room in vertical stacks (feature cards) */
.card > .card-icon { margin-bottom: 16px; }
.card h4 { margin-bottom: 6px; }

/* short summary cards (icon + h4 + one-liner): side-by-side lockup */
.card:has(> .card-icon + h4) {
  display: grid; grid-template-columns: auto 1fr;
  column-gap: 16px; row-gap: 12px; align-content: start; align-items: center;
}
.card:has(> .card-icon + h4) > .card-icon { grid-column: 1; grid-row: 1; margin-bottom: 0; }
.card:has(> .card-icon + h4) > h4 { grid-column: 2; grid-row: 1; margin: 0; }
.card:has(> .card-icon + h4) > p { grid-column: 1 / -1; margin: 0; }

/* chip lifts with its card */
.card:hover .card-icon, .tile:hover .card-icon, .bento-item:hover .card-icon, .step:hover .card-icon {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(234, 191, 78, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14),
              0 10px 22px -8px rgba(7, 11, 20, 0.5);
}

/* =========================================================
   37 · v11 "DUSK" — LIGHT / DARK THEME SYSTEM
   Default = light. <html data-theme="dark"> remaps the token
   layer; already-dark surfaces (hero, navy bands, header,
   footer, shot frames) are identical in both themes.
   ========================================================= */
:root { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }

html[data-theme="dark"] {
  /* surfaces */
  --bg-page:   #0a0f1c;
  --bg:        #0a0f1c;
  --surface:   #101828;
  --bg-soft:   #0d1424;
  --bg-soft-2: #101a30;
  --surface-1: #111a2c;
  --surface-2: #16213a;
  --border:    rgba(146, 176, 255, 0.13);
  --border-2:  rgba(146, 176, 255, 0.24);
  /* ink scale flips */
  --ink-950: #f6f8fc;
  --ink-900: #f2f5fa;
  --ink-800: #dfe6f1;
  --ink-700: #c2cad9;
  --ink-600: #a7b1c4;
  --ink-500: #8d97ad;
  --ink-400: #7a849e;
  --ink-300: #566179;
  --ink-200: #26314e;
  --ink-100: #1b2540;
  --ink-50:  #131c31;
  /* gold text tones brighten for dark surfaces */
  --gold-700: #e8c766;
  --gold-600: #eabf4e;
  /* interaction tints */
  --tint-hover: rgba(234, 191, 78, 0.08);
  --tint-press: rgba(234, 191, 78, 0.14);
  /* elevation: deeper, softer */
  --elev-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --elev-2: 0 2px 6px rgba(0, 0, 0, 0.45), 0 6px 18px -6px rgba(0, 0, 0, 0.5);
  --elev-3: 0 4px 10px rgba(0, 0, 0, 0.45), 0 16px 36px -10px rgba(0, 0, 0, 0.55);
  --elev-4: 0 8px 16px rgba(0, 0, 0, 0.45), 0 32px 64px -12px rgba(0, 0, 0, 0.6);
}

/* --- component surfaces that hard-code light values --- */
html[data-theme="dark"] .card:hover,
html[data-theme="dark"] .tile:hover,
html[data-theme="dark"] .bento-item:hover,
html[data-theme="dark"] .step:hover { background: var(--surface-2); }
html[data-theme="dark"] .pill { background: var(--surface-1); }
html[data-theme="dark"] .pf-chips .chip { background: var(--surface-1); }
html[data-theme="dark"] .mega {
  background: linear-gradient(180deg, #131c31 0%, #101828 60px);
  border-color: var(--border-dark-2);
  box-shadow: var(--elev-4), 0 0 0 4px rgba(0, 0, 0, 0.25);
}
html[data-theme="dark"] .mega::after { background: #131c31; border-color: var(--border-dark-2); }
html[data-theme="dark"] .mega-link:hover { background: rgba(234, 191, 78, 0.10); }
html[data-theme="dark"] .subnav { background: rgba(10, 15, 28, 0.9); border-bottom-color: var(--border); }
html[data-theme="dark"] .subnav a:hover { background: rgba(234, 191, 78, 0.10); }
html[data-theme="dark"] .subnav a.active { background: rgba(234, 191, 78, 0.16); }
html[data-theme="dark"] .form-card { background: var(--surface-1); }
html[data-theme="dark"] .form-control:focus, html[data-theme="dark"] .form-select:focus,
html[data-theme="dark"] .field input:focus, html[data-theme="dark"] .field select:focus,
html[data-theme="dark"] .field textarea:focus { background: var(--surface-2); }
html[data-theme="dark"] .faq.accordion { --bs-accordion-active-bg: var(--surface-2); }
html[data-theme="dark"] .faq .accordion-item:hover,
html[data-theme="dark"] .faq .accordion-item:has(.accordion-button:not(.collapsed)) { background: var(--surface-2); }
html[data-theme="dark"] .cmp-wrap { background: var(--surface-1); }
html[data-theme="dark"] .back-to-top { background: var(--surface-1); color: var(--ink-700); border-color: var(--border-2); }
html[data-theme="dark"] .btn-ghost { background: var(--surface-1); color: var(--ink-800); border-color: var(--border-2); }
html[data-theme="dark"] .btn-ghost:hover { border-color: var(--gold-400); color: var(--ink-900); background: rgba(234, 191, 78, 0.08); }
html[data-theme="dark"] .mobile-offcanvas { --bs-offcanvas-bg: #0d1424; --bs-offcanvas-color: var(--ink-600); }
html[data-theme="dark"] .mm-acc { --bs-accordion-btn-color: var(--ink-900); --bs-accordion-color: var(--ink-700); }
html[data-theme="dark"] .mm-acc .accordion-button::after { filter: invert(1) brightness(1.6); }
html[data-theme="dark"] .mm-sublink:hover, html[data-theme="dark"] .mega-link:hover .mm-title { background: none; }
html[data-theme="dark"] .mm-sublink:hover { background: rgba(234, 191, 78, 0.10); }
html[data-theme="dark"] .badge-blue  { background: rgba(59, 118, 246, 0.15); color: #9ec1ff; border-color: rgba(59, 118, 246, 0.35); }
html[data-theme="dark"] .badge-green { background: rgba(16, 185, 129, 0.14); color: #7ce7c3; border-color: rgba(16, 185, 129, 0.35); }
html[data-theme="dark"] .badge-amber { background: rgba(245, 158, 11, 0.14); color: #f6cf7d; border-color: rgba(245, 158, 11, 0.35); }
html[data-theme="dark"] .badge-red   { background: rgba(239, 68, 68, 0.14); color: #f6a3a3; border-color: rgba(239, 68, 68, 0.35); }
html[data-theme="dark"] .w3f-status.ok  { background: rgba(16, 185, 129, 0.15); color: #7ce7c3; border-color: rgba(16, 185, 129, 0.35); }
html[data-theme="dark"] .w3f-status.err { background: rgba(239, 68, 68, 0.15); color: #f6a3a3; border-color: rgba(239, 68, 68, 0.35); }
html[data-theme="dark"] .card-icon.gold,
html[data-theme="dark"] .avatar-initials { border-color: rgba(234, 191, 78, 0.4); }
html[data-theme="dark"] .card:hover .card-icon, html[data-theme="dark"] .tile:hover .card-icon,
html[data-theme="dark"] .bento-item:hover .card-icon, html[data-theme="dark"] .step:hover .card-icon { border-color: rgba(234, 191, 78, 0.65); }
html[data-theme="dark"] ::-webkit-scrollbar-thumb { border-color: var(--bg-page); }
/* page-scoped light rules (pricing/solutions/why-us/resources/legal/platform) */
html[data-theme="dark"] .pr-hw, html[data-theme="dark"] .pr-vol-card,
html[data-theme="dark"] .featured-res, html[data-theme="dark"] .resource-search input,
html[data-theme="dark"] .so-jump .chip, html[data-theme="dark"] .lg-docmeta,
html[data-theme="dark"] .cookie-table td, html[data-theme="dark"] .cookie-table th { background: var(--surface-1) !important; }
html[data-theme="dark"] .so-metric { background: linear-gradient(120deg, #14203a, #101828) !important; border-color: var(--border-2) !important; }
html[data-theme="dark"] .wu-us { background: rgba(59, 118, 246, 0.12) !important; }
html[data-theme="dark"] .cam-tag--dms { background: rgba(16, 185, 129, 0.15) !important; color: #7ce7c3 !important; }
html[data-theme="dark"] .prose blockquote { background: var(--surface-1); }
html[data-theme="dark"] .callout, html[data-theme="dark"] .prose .callout {
  background: linear-gradient(180deg, rgba(234, 191, 78, 0.10) 0%, rgba(234, 191, 78, 0.05) 100%) !important;
  border-color: rgba(234, 191, 78, 0.3) !important;
}

/* --- theme toggle button (header lives on navy in both themes) --- */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 999px; flex-shrink: 0;
  border: 1px solid var(--border-dark-2); background: rgba(255, 255, 255, 0.06);
  color: var(--gold-300); cursor: pointer;
  display: grid; place-items: center; position: relative; overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease-emphasized);
}
.theme-toggle:hover { border-color: rgba(234, 191, 78, 0.55); background: rgba(234, 191, 78, 0.10); transform: translateY(-1px); }
.theme-toggle svg {
  width: 19px; height: 19px; position: absolute; display: block;
  transition: transform 0.55s var(--ease-spring), opacity 0.3s ease;
}
.theme-toggle .tt-sun  { opacity: 0; transform: rotate(90deg) scale(0.4); }
.theme-toggle .tt-moon { opacity: 1; transform: none; }
html[data-theme="dark"] .theme-toggle .tt-sun  { opacity: 1; transform: none; }
html[data-theme="dark"] .theme-toggle .tt-moon { opacity: 0; transform: rotate(-90deg) scale(0.4); }

/* --- smooth cross-fade while switching --- */
html.theme-anim, html.theme-anim body,
html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color 0.4s ease, background 0.4s ease, color 0.4s ease,
              border-color 0.4s ease, box-shadow 0.4s ease, fill 0.4s ease, stroke 0.4s ease !important;
}

/* --- v11.1 dark-mode button & chip audit fixes (literal colors where
       a hard-coded light surface pairs with flipped ink tokens) --- */
html[data-theme="dark"] .btn-white { background: #fff; color: #101625; }
html[data-theme="dark"] .btn-white:hover { color: #1d4ed8; }
html[data-theme="dark"] .btn-blue { background: #16213a; color: #fff; border-color: rgba(146, 176, 255, 0.28); }
html[data-theme="dark"] .btn-blue:hover { background: #1d2740; color: #fff; border-color: rgba(234, 191, 78, 0.6); }
html[data-theme="dark"] .btn-tonal { background: rgba(59, 118, 246, 0.22); color: #cddcff; border-color: rgba(59, 118, 246, 0.45); }
html[data-theme="dark"] .btn-tonal:hover { color: #e4edff; }
html[data-theme="dark"] .price-card:hover { background: var(--surface-2); }
html[data-theme="dark"] .cb { background: var(--surface-1); color: var(--ink-600); border-color: var(--border-2); }
html[data-theme="dark"] .skip-link { background: #f2f5fa; color: #101625; }
html[data-theme="dark"] .btn-close { filter: invert(1) grayscale(1) brightness(1.8); }
/* WhatsApp panel keeps its branded light interior */
html[data-theme="dark"] .wa-panel { color-scheme: light; }
html[data-theme="dark"] .wa-panel .field label { color: #1e2739; }
html[data-theme="dark"] .wa-panel .field input,
html[data-theme="dark"] .wa-panel .field textarea { background: #f6f8fb; color: #101625; border-color: #d5dbe6; }
html[data-theme="dark"] .wa-note { color: #67738b; }

/* =========================================================
   38 · NEWSLETTER SUBSCRIBE FORM (blog Field Notes strip)
   ========================================================= */
.nl-form { margin: 26px auto 0; max-width: 560px; text-align: left; }
.nl-row { display: flex; gap: 12px; align-items: stretch; }
.nl-row .form-control { flex: 1; min-width: 0; }
.nl-row .btn { flex-shrink: 0; align-self: stretch; }
@media (max-width: 560px) {
  .nl-row { flex-direction: column; }
  .nl-row .btn { width: 100%; }
}
