/* =================================================================
   SYDIAI — Redesigned Home Page · v10 (sleek + theme-able)
   -----------------------------------------------------------------
   World-class references absorbed:
     • Vercel  → floating pill nav, monochromatic restraint
     • Linear  → gradient accents, soft section transitions
     • Stripe  → modular sections, light backgrounds, dot patterns
     • Framer  → centered glass nav, generous whitespace
     • Apple   → typography hierarchy, ample padding, no clutter

   v10 introduces:
     • Floating pill header (Vercel / Framer style)
     • EXACT v8 hexagon-stage orbit hero (6 demand nodes + glass form)
     • Settings panel (right slide) with per-section colour controls
     • Right side rail + top scroll-progress bar
     • Sleek minimal section design (lighter borders, larger spacing)
   ================================================================= */

:root {
  /* -------- Brand palette (locked default = Navy + Sky refined) -------- */
  --navy:        #0b1f33;
  --navy-2:      #1d3a66;
  --navy-3:      #0a2e5d;
  --navy-ink:    #10263d;
  --sky:         #4a86b8;
  --sky-2:       #6b9dc6;
  --sky-3:       #8fb4d3;
  --sky-soft:    rgba(74, 134, 184, 0.10);
  --sky-line:    rgba(74, 134, 184, 0.24);

  /* -------- Global accent (drives gradients & CTAs) -------- */
  --accent:       var(--sky);
  --accent-2:     var(--navy-2);
  --accent-soft:  rgba(74, 134, 184, 0.12);
  --accent-line:  rgba(74, 134, 184, 0.28);
  --accent-grad:  linear-gradient(135deg, var(--navy-2) 0%, var(--sky) 100%);

  /* -------- Surfaces -------- */
  --bg:          #f7f9fc;
  --bg-2:        #eef2f7;
  --bg-soft:     #fbfcfe;
  --card:        #ffffff;
  --card-2:      #f6f9fd;
  --text:        #10263d;
  --muted:       #5f7086;
  --ash:         #5b6b7c;
  --line:        rgba(11, 31, 51, 0.07);
  --line-2:      rgba(11, 31, 51, 0.14);

  /* -------- Effects -------- */
  --shadow-xs:   0 4px 10px rgba(15, 23, 42, 0.04);
  --shadow-sm:   0 8px 18px rgba(15, 23, 42, 0.06);
  --shadow:      0 18px 50px rgba(2, 12, 24, 0.10);
  --shadow-lg:   0 28px 70px rgba(2, 12, 24, 0.18);

  /* -------- Radius -------- */
  --r-sm:        12px;
  --r:           18px;
  --r-lg:        28px;
  --r-pill:      999px;

  /* -------- Type -------- */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1240px;

  /* -------- Per-section accent fallbacks (overridable via JS) -------- */
  --sec-hero-accent:        var(--sky);
  --sec-capabilities-accent: var(--sky);
  --sec-loop-accent:        var(--sky);
  --sec-platforms-accent:   var(--sky);
  --sec-ai-accent:          var(--sky-3);
  --sec-industries-accent:  var(--sky);
  --sec-technology-accent:  var(--sky);
  --sec-insights-accent:    var(--sky);
  --sec-quote-accent:       var(--sky-3);
  --sec-footer-accent:      var(--sky-3);
}

/* ============== DARK THEME ============== */
:root[data-theme="dark"] {
  --bg:        #07111d;
  --bg-2:      #0c1a2c;
  --bg-soft:   #0a1626;
  --card:      #0f1f33;
  --card-2:    #142844;
  --text:      #e7edf6;
  --muted:     #93a3b8;
  --ash:       #7b8a9c;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.14);
  --navy-ink:  #f0f4fa;
  --shadow:    0 18px 50px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 8px 18px rgba(0, 0, 0, 0.4);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s ease, color 0.3s ease;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.visually-hidden {
  position: absolute !important; clip: rect(0 0 0 0);
  width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* =================================================================
   SCROLL PROGRESS BAR (top, full-width)
   ================================================================= */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--navy-2), var(--sky), var(--sky-3));
  z-index: 200;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* =================================================================
   FLOATING PILL HEADER (Vercel / Framer style)
   ================================================================= */
.site-header {
  position: fixed;
  top: 18px; left: 0; right: 0;
  z-index: 100;
  pointer-events: none;
  display: flex; justify-content: center;
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 8px 8px 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 31, 51, 0.08);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-radius: var(--r-pill);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 12px 32px rgba(2, 12, 24, 0.10),
    0 2px 6px rgba(2, 12, 24, 0.04);
  max-width: calc(100% - 28px);
}

:root[data-theme="dark"] .nav-pill {
  background: rgba(15, 31, 51, 0.78);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 12px 32px rgba(0, 0, 0, 0.4);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--text);
  padding-right: 6px;
  border-right: 1px solid var(--line);
}
.logo-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--accent-grad);
  color: #fff;
  display: grid; place-items: center;
  font-size: 0.65rem; font-weight: 900; letter-spacing: 0.02em;
  box-shadow: 0 4px 10px rgba(74, 134, 184, 0.30);
}
.logo-text strong { font-weight: 900; }
.logo-text span { font-weight: 700; color: var(--accent); }

.nav-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 2px;
}
.nav-links a {
  display: inline-flex; align-items: center;
  padding: 8px 13px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ash);
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
  background: rgba(11, 31, 51, 0.05);
}
:root[data-theme="dark"] .nav-links a:hover,
:root[data-theme="dark"] .nav-links a.is-active {
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent-grad);
  border-radius: var(--r-pill);
  box-shadow: 0 6px 14px rgba(74, 134, 184, 0.30);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 10px 22px rgba(74, 134, 184, 0.40); }

.nav-tools {
  display: inline-flex; align-items: center; gap: 4px;
  padding-left: 6px;
  border-left: 1px solid var(--line);
}
.nav-tool-btn {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  border: 0; background: transparent;
  color: var(--ash);
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-tool-btn:hover { color: var(--text); background: rgba(11, 31, 51, 0.06); }
:root[data-theme="dark"] .nav-tool-btn:hover { background: rgba(255, 255, 255, 0.08); }
.nav-tool-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  border: 0; background: transparent;
  border-radius: 50%;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.nav-toggle span {
  width: 18px; height: 2px; border-radius: 2px;
  background: var(--text);
  display: block; transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-pill { padding: 6px 6px 6px 16px; }
}

/* Mobile menu (slides down) */
.mobile-menu {
  position: fixed;
  top: 80px; left: 14px; right: 14px;
  z-index: 99;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px;
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(-10px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  display: none;
}
:root[data-theme="dark"] .mobile-menu {
  background: rgba(15, 31, 51, 0.95);
  border-color: rgba(255, 255, 255, 0.10);
}
.mobile-menu.open {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
}
@media (max-width: 1100px) { .mobile-menu { display: block; } }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mobile-menu a {
  display: block; padding: 12px 16px;
  font-size: 0.95rem; font-weight: 600;
  color: var(--text);
  border-radius: 10px;
}
.mobile-menu a:hover { background: var(--bg-2); }
.mobile-menu .mobile-cta {
  margin-top: 8px;
  background: var(--accent-grad);
  color: #fff;
  text-align: center;
}

/* =================================================================
   SIDE RAIL (right-side section indicator)
   ================================================================= */
.side-rail {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex; flex-direction: column;
  gap: 6px;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--shadow-sm);
}
:root[data-theme="dark"] .side-rail {
  background: rgba(15, 31, 51, 0.7);
  border-color: rgba(255, 255, 255, 0.10);
}
.rail-dot {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.rail-dot::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--line-2);
  border-radius: 50%;
  transition: background 0.25s ease, transform 0.25s ease;
}
.rail-dot:hover::before { background: var(--accent); transform: scale(1.3); }
.rail-dot.is-active::before {
  background: var(--accent);
  transform: scale(1.5);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.rail-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%; transform: translateY(-50%);
  background: var(--navy);
  color: #fff;
  font-size: 0.7rem; font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
}
.rail-dot:hover .rail-tooltip { opacity: 1; }

@media (max-width: 980px) { .side-rail { display: none; } }

/* =================================================================
   SETTINGS PANEL (right slide-in)
   ================================================================= */
.settings-trigger {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 95;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(74, 134, 184, 0.35);
  transition: transform 0.25s ease;
}
.settings-trigger:hover { transform: scale(1.08) rotate(45deg); }
.settings-trigger svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }

.settings-overlay {
  position: fixed; inset: 0;
  background: rgba(11, 31, 51, 0.36);
  backdrop-filter: blur(4px);
  z-index: 110;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.settings-overlay.open { opacity: 1; pointer-events: auto; }

.settings-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  z-index: 120;
  background: var(--card);
  border-left: 1px solid var(--line);
  box-shadow: -28px 0 70px rgba(2, 12, 24, 0.18);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.2, 1);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.settings-panel.open { transform: translateX(0); }

.settings-head {
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.settings-head h3 { margin: 0; font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; }
.settings-head p { margin: 4px 0 0; font-size: 0.78rem; color: var(--muted); }
.settings-close {
  width: 34px; height: 34px;
  background: var(--bg-2); border: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ash);
}
.settings-close:hover { background: var(--bg); color: var(--text); }
.settings-close svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; }

.settings-body {
  padding: 8px 24px 28px;
  overflow-y: auto;
  flex: 1;
}

.settings-group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.settings-group:last-child { border-bottom: 0; }
.settings-group h4 {
  margin: 0 0 12px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.theme-mode {
  display: flex; gap: 8px;
}
.theme-mode-btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 0.82rem; font-weight: 600;
  transition: all 0.2s ease;
}
.theme-mode-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.theme-mode-btn.is-active {
  background: var(--accent-grad);
  color: #fff; border-color: transparent;
  box-shadow: 0 6px 14px rgba(74, 134, 184, 0.30);
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.preset-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}
.preset-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.preset-card.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.preset-swatches {
  display: inline-flex; gap: 4px; margin-bottom: 6px;
}
.preset-swatches span {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.preset-card-name {
  display: block;
  font-size: 0.78rem; font-weight: 700; color: var(--text);
}
.preset-card-sub {
  display: block;
  font-size: 0.66rem; color: var(--muted);
}

.section-control {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}
.section-control:last-child { border-bottom: 0; }
.section-control-label {
  display: flex; flex-direction: column;
  font-size: 0.85rem; font-weight: 600; color: var(--text);
}
.section-control-label small {
  font-size: 0.7rem; color: var(--muted); font-weight: 400; margin-top: 2px;
}
.color-input-wrap {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}
.color-input-wrap input[type="color"] {
  position: absolute; inset: -4px;
  width: 120%; height: 120%;
  border: 0; padding: 0;
  cursor: pointer;
}

.settings-foot {
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  display: flex; gap: 10px;
  background: var(--bg-soft);
}
.btn-ghost, .btn-solid {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.85rem; font-weight: 700;
  background: var(--card);
  color: var(--text);
  transition: all 0.2s ease;
}
.btn-ghost:hover { background: var(--bg-2); }
.btn-solid {
  background: var(--accent-grad);
  color: #fff; border-color: transparent;
  box-shadow: 0 6px 14px rgba(74, 134, 184, 0.30);
}
.btn-solid:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* =================================================================
   SECTION SHELL
   ================================================================= */
.section {
  padding: 110px 0;
  position: relative;
  scroll-margin-top: 100px;
}
.section-head {
  max-width: 760px; margin: 0 auto 56px;
  text-align: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--text);
}
.section-head p {
  margin: 0 auto;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--muted);
  max-width: 640px;
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* =================================================================
   HERO (with restored v8 hexagon-stage orbit)
   ================================================================= */
.hero {
  position: relative;
  padding: 140px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, var(--accent-soft) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(143, 180, 211, 0.10) 0%, transparent 50%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(18, 62, 124, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 62, 124, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
  opacity: 0.55;
  pointer-events: none;
}
:root[data-theme="dark"] .hero::before {
  background-image:
    linear-gradient(rgba(143, 180, 211, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 180, 211, 0.06) 1px, transparent 1px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-copy { max-width: 580px; }
.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--text);
}
.hero-copy h1 .accent {
  background: linear-gradient(120deg, var(--navy-2) 0%, var(--sky) 55%, var(--sky-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-subhead {
  margin: 0 0 14px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 600;
  color: var(--ash);
}
.hero-body {
  margin: 0 0 30px;
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex; gap: 12px; flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  transition: all 0.25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 12px 28px rgba(74, 134, 184, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 18px 36px rgba(74, 134, 184, 0.42); }
.btn-secondary {
  background: var(--card);
  border-color: var(--line-2);
  color: var(--text);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.hero-stats {
  margin-top: 36px;
  display: flex; gap: 36px; flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-stat strong {
  display: block;
  font-size: 1.6rem; font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.02em;
}
.hero-stat span {
  font-size: 0.78rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
}

/* ---------- HERO ORBIT STAGE (restored from v8, exact) ---------- */
.orbit-stage-wrap {
  position: relative;
  display: grid; place-items: center;
  min-height: 440px;
}

.hexagon-stage {
  position: relative;
  width: 420px; height: 420px;
  max-width: 100%;
  margin: 4px auto;
  overflow: visible;
}
.hexagon-stage::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(74, 134, 184, 0.20);
  box-shadow: 0 0 0 6px rgba(74, 134, 184, 0.04), 0 0 22px rgba(74, 134, 184, 0.10);
  z-index: 1;
}
.hexagon-stage::after {
  content: "";
  position: absolute; inset: 54px;
  border-radius: 50%;
  border: 1px dashed rgba(18, 62, 124, 0.22);
  z-index: 1;
}
:root[data-theme="dark"] .hexagon-stage::before { border-color: rgba(143, 180, 211, 0.30); }
:root[data-theme="dark"] .hexagon-stage::after { border-color: rgba(143, 180, 211, 0.22); }

.orbit-tracer {
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: radial-gradient(circle, #8fb4d3, var(--sky) 60%, transparent 70%);
  box-shadow: 0 0 14px rgba(143, 180, 211, 0.5);
  transform-origin: center center;
  animation: orbitTracer 14s linear infinite;
  z-index: 2;
  pointer-events: none;
}
@keyframes orbitTracer {
  0%   { transform: rotate(0deg)   translateX(210px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(210px) rotate(-360deg); }
}
@media (prefers-reduced-motion: reduce) { .orbit-tracer { animation: none; } }

.orbit-node {
  position: absolute; z-index: 3;
  width: 118px; height: 118px;
  display: flex; align-items: center; justify-content: center;
  transform: translate(-50%, -50%);
  transition: transform 0.34s ease;
}
.square-card {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid rgba(18, 62, 124, 0.10);
  box-shadow: 0 18px 32px rgba(18, 62, 124, 0.10);
  color: var(--navy-2);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: block;
  text-decoration: none;
}
:root[data-theme="dark"] .square-card { border-color: rgba(143, 180, 211, 0.18); }
.square-card:hover, .orbit-node:focus-visible .square-card {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 28px 46px rgba(18, 62, 124, 0.22), 0 0 0 1px rgba(74, 134, 184, 0.18);
  border-color: rgba(18, 62, 124, 0.30);
}
.normal-state, .card-hover-content {
  position: absolute; inset: 0;
  padding: 11px 10px;
  border-radius: 20px;
  transition: opacity 0.28s ease, transform 0.34s ease;
  z-index: 1;
}
.normal-state {
  display: flex; flex-direction: column; align-items: flex-start;
  text-align: left; gap: 5px;
  opacity: 1;
}
.card-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(18, 62, 124, 0.10), rgba(74, 134, 184, 0.16));
  color: var(--navy-2);
  box-shadow: inset 0 0 0 1px rgba(18, 62, 124, 0.06);
}
:root[data-theme="dark"] .card-icon { color: var(--sky-3); background: linear-gradient(135deg, rgba(143, 180, 211, 0.12), rgba(74, 134, 184, 0.20)); }
.card-icon svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card-title {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  font-size: 0.62rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.card-subcopy {
  margin: 0;
  color: var(--muted);
  font-size: 0.5rem;
  line-height: 1.3;
  font-weight: 500;
}

.card-hover-content {
  display: flex; flex-direction: column; align-items: flex-start;
  background:
    radial-gradient(circle at top right, rgba(74, 134, 184, 0.22), transparent 50%),
    linear-gradient(180deg, var(--navy-2), var(--navy-3) 60%, var(--navy) 100%);
  color: #f8fbff;
  opacity: 0; transform: scale(0.94) translateY(6px);
}
.card-hover-content strong {
  margin-bottom: 3px;
  font-size: 0.62rem; font-weight: 800; letter-spacing: -0.01em;
}
.card-hover-content ul { margin: 0; padding-left: 11px; font-size: 0.5rem; line-height: 1.3; }
.card-hover-content li { margin-bottom: 2px; color: rgba(247, 249, 252, 0.95); }
.square-card:hover .normal-state, .orbit-node:focus-visible .square-card .normal-state {
  opacity: 0; transform: scale(0.92) translateY(-4px);
}
.square-card:hover .card-hover-content, .orbit-node:focus-visible .square-card .card-hover-content {
  opacity: 1; transform: scale(1) translateY(0);
}

/* Central glass form */
.center-circle {
  position: absolute;
  left: 50%; top: 50%;
  width: 172px; height: 172px;
  transform: translate(-50%, -50%);
  padding: 4px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(240, 246, 252, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 24px 46px rgba(18, 62, 124, 0.20), inset 0 0 0 1px rgba(255, 255, 255, 0.40);
  backdrop-filter: blur(14px);
  z-index: 4;
}
.center-circle::before {
  content: ""; position: absolute; inset: -24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 134, 184, 0.18) 0%, rgba(31, 182, 255, 0) 70%);
  filter: blur(16px);
  pointer-events: none;
}
.center-form-shell {
  position: relative;
  width: 100%; max-width: 164px; height: 164px;
  padding: 16px 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 0%, rgba(81, 145, 255, 0.22), transparent 35%),
    linear-gradient(180deg, rgba(16, 27, 43, 0.96), rgba(11, 22, 38, 0.98) 72%);
  box-shadow: 0 18px 34px rgba(10, 31, 66, 0.26);
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.center-chat {
  margin-bottom: 6px; padding: 5px 8px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(74, 134, 184, 0.22), rgba(143, 180, 211, 0.10));
  color: #fff; font-size: 0.6rem; line-height: 1.28;
  text-align: center; font-weight: 600;
  letter-spacing: 0.02em;
}
.center-form { display: grid; gap: 5px; justify-items: center; }
.center-input, .center-phone {
  width: 100%; min-height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(116, 163, 255, 0.5);
  background: rgba(5, 13, 24, 0.85);
  color: #fff;
  padding: 0 9px;
  font-size: 0.6rem; outline: none;
}
.center-input::placeholder, .center-phone input::placeholder { color: rgba(255, 255, 255, 0.55); }
.center-input:focus-visible, .center-phone:focus-within { box-shadow: 0 0 0 3px rgba(74, 134, 184, 0.30); }
.center-phone { display: grid; grid-template-columns: 42px 1fr; padding: 0; overflow: hidden; }
.center-country {
  display: flex; align-items: center; justify-content: center;
  color: #fff; border-right: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 600; font-size: 0.56rem;
}
.center-phone input { border: 0; background: transparent; padding: 0 7px; font-size: 0.58rem; outline: none; color: #fff; }
.center-submit {
  width: 100%; min-height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--sky), var(--navy-2));
  color: #fff;
  font-weight: 800;
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(74, 134, 184, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.20);
  transition: transform 0.22s ease, filter 0.22s ease;
}
.center-submit:hover { transform: translateY(-2px); filter: brightness(1.08); }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 100%; text-align: center; }
  .hero-cta, .hero-stats { justify-content: center; }
  .orbit-stage-wrap { min-height: 460px; }
}
@media (max-width: 480px) {
  .hexagon-stage { transform: scale(0.78); transform-origin: top center; }
  .orbit-stage-wrap { min-height: 360px; }
}
@media (max-width: 380px) {
  .hexagon-stage { transform: scale(0.66); }
  .orbit-stage-wrap { min-height: 300px; }
}

/* =================================================================
   CAPABILITIES — sleek 3-col grid
   ================================================================= */
#capabilities { --accent: var(--sec-capabilities-accent); --accent-grad: linear-gradient(135deg, var(--navy-2), var(--sec-capabilities-accent)); --accent-soft: color-mix(in srgb, var(--sec-capabilities-accent) 12%, transparent); }

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cap-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 26px;
  transition: all 0.3s ease;
}
.cap-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow);
}
.cap-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.cap-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.cap-card p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

@media (max-width: 980px) { .capabilities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .capabilities-grid { grid-template-columns: 1fr; } }

/* =================================================================
   LOOP — stepper
   ================================================================= */
#loop {
  background: var(--bg-soft);
  --accent: var(--sec-loop-accent);
  --accent-grad: linear-gradient(135deg, var(--navy-2), var(--sec-loop-accent));
  --accent-soft: color-mix(in srgb, var(--sec-loop-accent) 12%, transparent);
}

.stepper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 36px;
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-xs);
}
.step {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 8px;
  background: transparent;
  border: 0;
  border-radius: var(--r-sm);
  transition: all 0.25s ease;
  cursor: pointer;
}
.step:hover { background: var(--bg-2); }
.step.is-active { background: var(--accent-soft); }
.step-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.85rem; font-weight: 800;
  background: var(--bg-2);
  color: var(--ash);
  transition: all 0.25s ease;
}
.step.is-active .step-circle {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 6px 14px rgba(74, 134, 184, 0.30);
}
.step-label {
  font-size: 0.78rem; font-weight: 600;
  color: var(--ash);
  text-align: center;
}
.step.is-active .step-label { color: var(--accent); }

.stage-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.stage-card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent-grad);
}
.stage-card h3 {
  margin: 0 0 8px;
  font-size: 1.6rem; font-weight: 800;
  letter-spacing: -0.02em;
}
.stage-card p { margin: 0; color: var(--muted); font-size: 1rem; max-width: 580px; }
.stage-next {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--r-pill);
  font-weight: 700; font-size: 0.88rem;
  white-space: nowrap;
}
.stage-next:hover { background: var(--accent); color: #fff; }

@media (max-width: 980px) {
  .stepper { grid-template-columns: repeat(3, 1fr); }
  .stage-card { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}
@media (max-width: 560px) { .stepper { grid-template-columns: repeat(2, 1fr); } }

/* =================================================================
   PLATFORMS — tabs
   ================================================================= */
#platforms { --accent: var(--sec-platforms-accent); --accent-grad: linear-gradient(135deg, var(--navy-2), var(--sec-platforms-accent)); --accent-soft: color-mix(in srgb, var(--sec-platforms-accent) 12%, transparent); }

.platforms-tabs {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-xs);
  margin: 0 auto 40px;
  width: fit-content;
  max-width: 100%;
}
.platform-tab {
  background: transparent; border: 0;
  padding: 10px 18px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--ash);
  border-radius: var(--r-pill);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.platform-tab:hover { color: var(--text); }
.platform-tab.is-active {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 6px 14px rgba(74, 134, 184, 0.30);
}

.platform-panel { display: none; }
.platform-panel.is-active { display: block; animation: fadeUp 0.5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.platform-panel-head { text-align: center; margin-bottom: 30px; }
.platform-panel-head h3 { margin: 0 0 8px; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.platform-panel-head p { margin: 0; color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  transition: all 0.3s ease;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.product-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.product-header h4 { margin: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; color: var(--text); }
.product-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  transition: all 0.25s ease;
}
.product-card:hover .product-arrow { background: var(--accent-grad); color: #fff; transform: rotate(-45deg); }
.product-arrow svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.product-card > p { margin: 0 0 14px; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.product-card ul { margin: 0; padding-left: 18px; color: var(--text); font-size: 0.86rem; line-height: 1.65; }
.product-card li { margin-bottom: 4px; }
.product-card li::marker { color: var(--accent); }

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

/* =================================================================
   AI & DECISION INTELLIGENCE — dark hero
   ================================================================= */
#ai-intelligence {
  --accent: var(--sec-ai-accent);
  --accent-grad: linear-gradient(135deg, var(--sec-ai-accent), #fff);
  --accent-soft: color-mix(in srgb, var(--sec-ai-accent) 18%, transparent);
  background:
    radial-gradient(circle at 15% 10%, rgba(74, 134, 184, 0.20), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(143, 180, 211, 0.18), transparent 50%),
    linear-gradient(180deg, var(--navy), var(--navy-3));
  color: #f0f5fb;
}
#ai-intelligence .section-head h2,
#ai-intelligence .ai-card h3 { color: #fff; }
#ai-intelligence .section-head p { color: rgba(240, 245, 251, 0.7); }
#ai-intelligence .eyebrow { background: rgba(143, 180, 211, 0.18); color: var(--sky-3); }
#ai-intelligence .eyebrow::before { background: var(--sky-3); box-shadow: 0 0 10px var(--sky-3); }

.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ai-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--r);
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.ai-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--sky-3);
}
.ai-icon {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(143, 180, 211, 0.25), rgba(74, 134, 184, 0.15));
  color: var(--sky-3);
  margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px rgba(143, 180, 211, 0.20);
}
.ai-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ai-card h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 700; }
.ai-card p { margin: 0 0 12px; color: rgba(240, 245, 251, 0.72); font-size: 0.92rem; line-height: 1.65; }
.ai-card ul { margin: 0; padding-left: 18px; color: rgba(240, 245, 251, 0.86); font-size: 0.85rem; }
.ai-card li { margin-bottom: 4px; }
.ai-card li::marker { color: var(--sky-3); }

@media (max-width: 980px) { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ai-grid { grid-template-columns: 1fr; } }

/* =================================================================
   INDUSTRIES
   ================================================================= */
#industries { --accent: var(--sec-industries-accent); --accent-grad: linear-gradient(135deg, var(--navy-2), var(--sec-industries-accent)); --accent-soft: color-mix(in srgb, var(--sec-industries-accent) 12%, transparent); }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.industry-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.industry-card::before {
  content: ""; position: absolute; top: 0; left: 0;
  height: 3px; width: 0;
  background: var(--accent-grad);
  transition: width 0.4s ease;
}
.industry-card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.industry-card:hover::before { width: 100%; }
.industry-card h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; }
.industry-card p { margin: 0 0 14px; color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.industry-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.industry-badges span {
  padding: 4px 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  border-radius: var(--r-pill);
}

@media (max-width: 980px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .industries-grid { grid-template-columns: 1fr; } }

/* =================================================================
   TECHNOLOGY — numbered rows
   ================================================================= */
#technology {
  background: var(--bg-soft);
  --accent: var(--sec-technology-accent);
  --accent-grad: linear-gradient(135deg, var(--navy-2), var(--sec-technology-accent));
  --accent-soft: color-mix(in srgb, var(--sec-technology-accent) 12%, transparent);
}

.tech-rows { display: flex; flex-direction: column; gap: 18px; }
.tech-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  align-items: start;
  transition: all 0.3s ease;
}
.tech-row:hover { border-color: var(--accent-line); box-shadow: var(--shadow-sm); }
.tech-num {
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.04em;
  margin: 0 0 6px;
}
.tech-row h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.015em; }
.tech-row > div > p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.tech-bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
}
.tech-bullet {
  position: relative;
  padding: 10px 14px 10px 36px;
  background: var(--bg-2);
  border-radius: var(--r-sm);
  font-size: 0.86rem;
  color: var(--text);
  font-weight: 500;
}
.tech-bullet::before {
  content: "";
  position: absolute;
  left: 14px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
}

@media (max-width: 880px) {
  .tech-row { grid-template-columns: 1fr; gap: 20px; padding: 26px 24px; }
  .tech-bullets { grid-template-columns: 1fr; }
}

/* =================================================================
   INSIGHTS
   ================================================================= */
#insights { --accent: var(--sec-insights-accent); --accent-grad: linear-gradient(135deg, var(--navy-2), var(--sec-insights-accent)); --accent-soft: color-mix(in srgb, var(--sec-insights-accent) 12%, transparent); }

.insights-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 40px;
  max-width: none;
  text-align: left;
}
.insights-head > div { flex: 1; text-align: left; max-width: 620px; }
.insights-head h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.02em; font-weight: 800; }
.insights-head p { margin: 0; color: var(--muted); }
.insights-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 0.92rem;
  color: var(--accent);
  white-space: nowrap;
}
.insights-link:hover { gap: 10px; }

.insights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.insight-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 10px;
}
.insight-card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.insight-cat {
  display: inline-block;
  padding: 3px 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: var(--r-pill);
  width: fit-content;
}
.insight-card h3 { margin: 0; font-size: 1.02rem; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.insight-card p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.6; flex: 1; }
.insight-meta {
  display: flex; gap: 12px;
  font-size: 0.75rem; color: var(--ash);
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

@media (max-width: 1080px) { .insights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .insights-grid { grid-template-columns: 1fr; }
  .insights-head { flex-direction: column; align-items: flex-start; }
}

/* =================================================================
   QUOTE
   ================================================================= */
#quote {
  --accent: var(--sec-quote-accent);
  padding: 90px 0;
}
.quote-banner {
  text-align: center;
  max-width: 880px; margin: 0 auto;
  padding: 60px 40px;
  background:
    radial-gradient(circle at 20% 0%, rgba(74, 134, 184, 0.18), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(143, 180, 211, 0.15), transparent 50%),
    linear-gradient(180deg, var(--navy-2), var(--navy));
  color: #f4f8fd;
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}
.quote-banner::before {
  content: """;
  position: absolute;
  top: 10px; left: 30px;
  font-family: Georgia, serif;
  font-size: 8rem;
  color: rgba(143, 180, 211, 0.18);
  line-height: 1;
}
.quote-banner blockquote {
  margin: 0 0 16px;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.015em;
  font-style: italic;
}
.quote-banner cite {
  font-style: normal;
  font-size: 0.86rem;
  color: rgba(244, 248, 253, 0.7);
  letter-spacing: 0.04em;
}

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer {
  --accent: var(--sec-footer-accent);
  background: linear-gradient(180deg, var(--navy), #07111d);
  color: rgba(240, 245, 251, 0.86);
  padding: 70px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand .logo { color: #fff; border-right: 0; padding-right: 0; }
.footer-brand .logo-mark { background: linear-gradient(135deg, var(--sky-3), var(--sky)); color: var(--navy); }
.footer-brand p { margin: 12px 0 6px; font-size: 0.9rem; line-height: 1.6; color: rgba(240, 245, 251, 0.72); }
.footer-tagline { color: var(--sky-3) !important; font-weight: 600; }
.footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.74rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--sky-3);
  font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; font-size: 0.88rem; }
.footer-col a { color: rgba(240, 245, 251, 0.72); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--sky-3); }
.footer-contact-region { color: var(--sky-3); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.footer-contact-mail { color: rgba(240, 245, 251, 0.88) !important; font-size: 0.88rem; }
.footer-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 22px;
  background: linear-gradient(135deg, var(--sky-3), var(--sky));
  color: var(--navy) !important;
  font-weight: 800; font-size: 0.86rem;
  border-radius: var(--r-pill);
  box-shadow: 0 8px 22px rgba(143, 180, 211, 0.35);
}
.footer-cta:hover { transform: translateY(-2px); filter: brightness(1.06); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: rgba(240, 245, 251, 0.6);
}
.footer-bottom .legal { display: flex; gap: 18px; }
.footer-bottom .legal a { color: rgba(240, 245, 251, 0.66); }
.footer-bottom .legal a:hover { color: var(--sky-3); }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

/* =================================================================
   FALLBACK FOR color-mix() (older browsers) — use a JS-injected
   alpha fallback via inline style if needed. Modern browsers (Chrome
   111+, Safari 16.2+, FF 113+) support color-mix natively.
   ================================================================= */

/* =================================================================
   v11 — Multi-page additions (logo images, category & item pages)
   ================================================================= */

/* ---------- Logo image swapping (light ↔ dark) ---------- */
.logo {
  border-right: 0;
  padding-right: 0;
  gap: 0;
  /* Stable header logo box — keeps a consistent footprint even when
     light/dark logo files have different intrinsic aspect ratios. */
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 132px;
  height: 36px;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
}
.logo-img {
  max-height: 30px;
  max-width: 132px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.2s ease;
}
.logo-img-dark { display: none; }
:root[data-theme="dark"] .logo-img-light { display: none; }
:root[data-theme="dark"] .logo-img-dark  { display: block; }

/* Footer always uses the light/white version (because footer is dark) */
.footer-brand .logo {
  width: 168px;
  height: 44px;
}
.footer-brand .logo .logo-img {
  max-height: 40px;
  max-width: 168px;
}

/* Slightly smaller logo footprint in the pill header on tablets */
@media (max-width: 1100px) {
  .logo {
    width: 112px;
    height: 32px;
  }
  .logo-img {
    max-height: 26px;
    max-width: 112px;
  }
}
@media (max-width: 560px) {
  .logo {
    width: 96px;
    height: 30px;
  }
  .logo-img {
    max-height: 24px;
    max-width: 96px;
  }
}

/* Active nav state */
.nav-links a.is-active {
  color: var(--text);
  background: rgba(11, 31, 51, 0.06);
}
:root[data-theme="dark"] .nav-links a.is-active {
  background: rgba(255, 255, 255, 0.10);
}

/* =================================================================
   SUB-HERO (category page hero) — same family as the home hero,
   trimmed for sub-pages.
   ================================================================= */
.sub-hero {
  position: relative;
  padding: 150px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, var(--accent-soft) 0%, transparent 50%),
    radial-gradient(circle at 82% 30%, rgba(143, 180, 211, 0.10) 0%, transparent 50%),
    var(--bg);
}
.sub-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(18, 62, 124, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 62, 124, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
  opacity: 0.55;
  pointer-events: none;
}
:root[data-theme="dark"] .sub-hero::before {
  background-image:
    linear-gradient(rgba(143, 180, 211, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 180, 211, 0.06) 1px, transparent 1px);
}
.sub-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.sub-hero-inner h1 {
  margin: 14px 0 14px;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--text);
}
.sub-hero-lede {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.65;
}
.sub-hero-cta {
  display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.sub-hero-stats {
  margin-top: 36px;
  display: flex; gap: 36px; flex-wrap: wrap; justify-content: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* Sub-section head (within category pages) */
.sub-section { padding: 80px 0; }
.sub-section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.sub-section-head h2 {
  margin: 14px 0 0;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* =================================================================
   GRID CARDS (category pages) — interactive, blank icon slot
   ================================================================= */
.grid-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .grid-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-card-grid { grid-template-columns: 1fr; } }

.grid-card {
  position: relative;
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  color: var(--text);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.2,.9,.2,1), box-shadow 0.35s ease, border-color 0.3s ease;
  isolation: isolate;
}
.grid-card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--r);
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, var(--accent) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.grid-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--accent-line);
}
.grid-card:hover::after { opacity: 0.65; }
.grid-card-inner {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: flex-start;
  z-index: 2;
}
.grid-card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px dashed var(--accent-line);
  display: grid; place-items: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.grid-card:hover .grid-card-icon {
  background: var(--card-2);
  border-style: solid;
  border-color: var(--accent);
}
/* Reserved-icon placeholder — visible empty slot, intentional */
.icon-placeholder {
  display: block;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: repeating-linear-gradient(
    45deg,
    var(--accent-soft) 0 5px,
    transparent 5px 10px
  );
  opacity: 0.7;
}
.icon-placeholder.lg { width: 44px; height: 44px; border-radius: 12px; }

.grid-card-body h3 {
  margin: 4px 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.25;
}
.grid-card-body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}
.grid-card-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.grid-card-arrow svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.grid-card:hover .grid-card-arrow {
  background: var(--accent-grad);
  color: #fff;
  transform: rotate(-45deg);
}
.grid-card-glow {
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
  border-radius: var(--r);
}
.grid-card:hover .grid-card-glow { opacity: 1; }

/* =================================================================
   ITEM PAGE HERO + LAYOUT
   ================================================================= */
.item-hero {
  position: relative;
  padding: 140px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, var(--accent-soft) 0%, transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(143, 180, 211, 0.10) 0%, transparent 50%),
    var(--bg);
}
.item-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(18, 62, 124, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 62, 124, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  opacity: 0.4;
  pointer-events: none;
}
:root[data-theme="dark"] .item-hero::before {
  background-image:
    linear-gradient(rgba(143, 180, 211, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 180, 211, 0.06) 1px, transparent 1px);
}
.item-hero-inner { position: relative; z-index: 1; }

.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: 28px;
  font-size: 0.82rem;
  color: var(--muted);
}
.breadcrumbs a {
  color: var(--ash);
  font-weight: 600;
  transition: color 0.2s ease;
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { color: var(--line-2); }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 700; }

.item-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  align-items: center;
}
.item-hero-copy h1 {
  margin: 12px 0 16px;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--text);
}
.item-hero-lede {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 580px;
}
.item-hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.item-hero-card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--accent-grad);
}
.item-hero-card-icon {
  width: 76px; height: 76px;
  border-radius: 18px;
  background: var(--accent-soft);
  border: 1px dashed var(--accent-line);
  display: grid; place-items: center;
  margin-bottom: 18px;
  overflow: hidden;
}
.item-hero-card-icon.has-image {
  border-style: solid;
  border-color: var(--accent-line);
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(143, 180, 211, 0.04) 100%);
}
.item-hero-card-icon .item-icon-img {
  width: 52px; height: 52px;
  object-fit: contain;
  display: block;
}
:root[data-theme="dark"] .item-hero-card-icon .item-icon-img {
  /* Lift dark-glyph icons on dark backgrounds */
  filter: brightness(1.6) contrast(1.05);
}
.item-hero-card .kicker {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.item-hero-card h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.item-hero-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.item-hero-meta {
  list-style: none;
  margin: 0; padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.item-hero-meta li {
  display: flex; flex-direction: column;
  font-size: 0.78rem;
}
.item-hero-meta li span {
  color: var(--ash);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: 0.65rem;
  margin-bottom: 2px;
}
.item-hero-meta li strong {
  color: var(--text);
  font-weight: 700;
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .item-hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* =================================================================
   OUTCOMES (item page)
   ================================================================= */
.outcomes-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.outcomes-copy h2 {
  margin: 12px 0 12px;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.outcomes-copy p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 1rem; }
.outcomes-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 12px;
}
.outcomes-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.3s ease;
}
.outcomes-list li:hover {
  transform: translateX(6px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-sm);
}
.outcomes-list .check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 4px 10px rgba(74, 134, 184, 0.25);
}
.outcomes-list .check svg { width: 14px; height: 14px; }

@media (max-width: 880px) {
  .outcomes-row { grid-template-columns: 1fr; gap: 32px; }
}

/* =================================================================
   PAGE NAV (prev / next)
   ================================================================= */
.page-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.page-nav-link {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: all 0.3s ease;
}
.page-nav-link:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.page-nav-link .dir {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.page-nav-link .t {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.page-nav-link.next { text-align: right; align-items: flex-end; }

@media (max-width: 560px) {
  .page-nav { grid-template-columns: 1fr; }
  .page-nav-link.next { text-align: left; align-items: flex-start; }
}

/* =================================================================
   Final polish — keep nav off-fixed on very narrow screens
   ================================================================= */
@media (max-width: 480px) {
  .sub-hero-stats { gap: 24px; }
}

/* =================================================================
   v11 — Enterprise Conversations nav accent
   ================================================================= */
.nav-links a.nav-enterprise {
  position: relative;
  color: var(--accent);
  font-weight: 700;
}
.nav-links a.nav-enterprise::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(74, 134, 184, 0.45);
  animation: navDotPulse 2.4s ease-out infinite;
}
@keyframes navDotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 134, 184, 0.45); }
  70%  { box-shadow: 0 0 0 8px rgba(74, 134, 184, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 134, 184, 0); }
}
.nav-links a.nav-enterprise:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.mobile-menu .mobile-enterprise {
  color: var(--accent);
  font-weight: 700;
}
.mobile-menu .mobile-enterprise::before {
  content: "● ";
  color: var(--accent);
}

/* =================================================================
   v11 — Planning in the Age of AI page (Enterprise Conversations)
   Recast in the V11 design language: hero, pillars, topics, speaker,
   registration form, calendar buttons, bottom CTA.
   ================================================================= */

/* Page hero */
.pae-hero {
  position: relative;
  padding: 150px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, var(--accent-soft) 0%, transparent 55%),
    radial-gradient(circle at 88% 28%, rgba(143, 180, 211, 0.10) 0%, transparent 55%),
    var(--bg);
}
.pae-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(18, 62, 124, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 62, 124, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 70%);
  opacity: 0.55;
  pointer-events: none;
}
.pae-hero .container {
  position: relative;
  z-index: 1;
}

.pae-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 56px;
  align-items: stretch;
}
@media (max-width: 1024px) {
  .pae-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

.pae-hero-copy .eyebrow-live {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--accent-line);
}
.pae-hero-copy .eyebrow-live .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(74, 134, 184, 0.55);
  animation: paeDot 2s infinite;
}
@keyframes paeDot {
  0%   { box-shadow: 0 0 0 0 rgba(74, 134, 184, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(74, 134, 184, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 134, 184, 0); }
}

.pae-hero-copy h1 {
  margin: 18px 0 14px;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--text);
}
.pae-hero-copy h1 .accent { color: var(--accent); }
.pae-hero-copy .lede {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 56ch;
}

.pae-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 22px;
}
.pae-meta .chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}
.pae-meta .chip svg {
  width: 14px; height: 14px;
  stroke: var(--accent);
  fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.pae-countdown {
  margin: 6px 0 22px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.pae-countdown .cd-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.pae-countdown .cd-cells {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.pae-countdown .cd-cell {
  padding: 10px 6px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  text-align: center;
}
.pae-countdown .cd-num {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.pae-countdown .cd-unit {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.pae-cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: 8px 0 22px;
}

.pae-trust {
  display: flex; flex-wrap: wrap; gap: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.pae-trust .item {
  display: inline-flex; align-items: center; gap: 7px;
}
.pae-trust .item svg {
  width: 14px; height: 14px;
  stroke: var(--accent);
  fill: none; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.pae-trust .item strong { color: var(--text); }

/* Hero side card */
.pae-hero-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pae-hero-card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--accent-grad);
}
.pae-live-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(239, 68, 68, 0.10);
  color: #dc2626;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}
:root[data-theme="dark"] .pae-live-badge {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}
.pae-live-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #dc2626;
  animation: paeDot 1.6s infinite;
}

.pae-speaker-top { text-align: center; }
.pae-speaker-photo {
  width: 124px; height: 124px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent-soft);
  border: 3px solid var(--card);
  box-shadow: 0 8px 20px rgba(2, 12, 24, 0.10), 0 0 0 1px var(--accent-line);
}
.pae-speaker-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.pae-featured-pill {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--r-pill);
  margin-bottom: 8px;
}
.pae-speaker-name {
  margin: 0 0 4px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
}
.pae-speaker-role {
  font-size: 0.88rem;
  color: var(--muted);
}
.pae-event-meta {
  list-style: none;
  margin: 18px 0 16px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: grid; gap: 8px;
}
.pae-event-meta li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
}
.pae-event-meta li svg {
  width: 16px; height: 16px;
  stroke: var(--accent);
  fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex: 0 0 auto;
}
.pae-seats {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.pae-seats-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.pae-seats-row strong { color: var(--text); font-weight: 800; }
.pae-seats-bar {
  height: 8px; border-radius: 999px;
  background: var(--accent-soft);
  overflow: hidden;
}
.pae-seats-fill {
  height: 100%;
  background: var(--accent-grad);
  border-radius: 999px;
  transition: width 0.6s ease;
}
.pae-seats-note {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px;
}
.pae-seats-note svg {
  width: 13px; height: 13px;
  stroke: #f59e0b; fill: none;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}

/* Pillars */
.pae-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
@media (max-width: 900px) { .pae-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pae-pillars { grid-template-columns: 1fr; } }

.pae-pillar {
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.pae-pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--accent-line);
}
.pae-pillar .icon-wrap {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.pae-pillar .icon-wrap svg {
  width: 22px; height: 22px;
  stroke: var(--accent);
  fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.pae-pillar h4 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
}
.pae-pillar p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Discussion topics */
.pae-topics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}
@media (max-width: 760px) { .pae-topics { grid-template-columns: 1fr; } }
.pae-topic {
  display: flex; gap: 16px;
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.pae-topic:hover {
  border-color: var(--accent-line);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.pae-topic .num {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--accent);
  flex: 0 0 auto;
  line-height: 1;
}
.pae-topic h5 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
}
.pae-topic p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Featured platform (PlanIQ) banner */
.pae-platform {
  margin-top: 8px;
  padding: 36px 40px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--card-2) 100%);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-lg);
  text-align: center;
}
.pae-platform .pill {
  display: inline-block;
  padding: 5px 14px;
  background: var(--card);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.pae-platform h3 {
  margin: 0 0 6px;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}
.pae-platform .sub {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.pae-platform .desc {
  max-width: 720px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}
.pae-platform-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 760px) { .pae-platform-features { grid-template-columns: 1fr; } }
.pae-feat {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.pae-feat svg {
  width: 14px; height: 14px;
  stroke: #16a34a; fill: none;
  stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
}

/* Speaker spotlight */
.pae-speaker-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  align-items: center;
}
@media (max-width: 720px) { .pae-speaker-card { grid-template-columns: 1fr; text-align: center; } }
.pae-speaker-avatar {
  width: 180px; height: 180px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent-soft);
  margin: 0 auto;
  box-shadow: 0 0 0 4px var(--card), 0 0 0 5px var(--accent-line);
}
.pae-speaker-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.pae-speaker-info .role-pill {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pae-speaker-info h3 {
  margin: 0 0 4px;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.pae-speaker-info .designation {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.pae-speaker-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.97rem;
}

/* Registration form */
.pae-form-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 36px 40px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.pae-form-wrap h3 {
  margin: 0 0 6px;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.pae-form-wrap .form-sub {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
}
.pae-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.pae-form .group { display: flex; flex-direction: column; gap: 6px; }
.pae-form .group.full { grid-column: 1 / -1; }
@media (max-width: 600px) { .pae-form { grid-template-columns: 1fr; } }
.pae-form label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}
.pae-form input,
.pae-form select {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pae-form input:focus,
.pae-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.pae-form-submit {
  grid-column: 1 / -1;
  margin-top: 6px;
  display: flex; justify-content: flex-end;
}
.pae-form-success {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(22, 163, 74, 0.10);
  border: 1px solid rgba(22, 163, 74, 0.30);
  color: #15803d;
  border-radius: 10px;
  font-size: 0.92rem;
  display: none;
}
.pae-form-success.active { display: block; }
:root[data-theme="dark"] .pae-form-success { color: #86efac; }

.pae-divider-title {
  margin: 28px 0 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  position: relative;
}
.pae-divider-title::before,
.pae-divider-title::after {
  content: "";
  display: inline-block;
  width: 60px; height: 1px;
  background: var(--line);
  vertical-align: middle;
  margin: 0 12px;
}
.pae-calendar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 720px) { .pae-calendar { grid-template-columns: repeat(2, 1fr); } }
.pae-cal-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}
.pae-cal-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}
.pae-cal-btn svg {
  width: 16px; height: 16px;
  stroke: var(--accent);
  fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Bottom CTA */
.pae-bottom-cta {
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, var(--accent) 0%, #1e4a78 100%);
  border-radius: var(--r-lg);
  color: #fff;
  box-shadow: 0 24px 60px rgba(74, 134, 184, 0.30);
}
.pae-bottom-cta h3 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
}
.pae-bottom-cta p {
  max-width: 640px;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  line-height: 1.65;
}
.pae-bottom-cta .btn {
  background: #fff;
  color: var(--accent);
  border: 0;
  font-weight: 800;
}
.pae-bottom-cta .btn:hover {
  background: #fff;
  filter: brightness(0.96);
  transform: translateY(-1px);
}

/* Section spacing for PAE specific use */
.pae-section { padding: 60px 0; }
.pae-section.alt { background: var(--bg-soft); }
.pae-section-head { text-align: center; max-width: 780px; margin: 0 auto 16px; }
.pae-section-head .eyebrow { display: inline-block; }
.pae-section-head h2 {
  margin: 14px 0 10px;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}
.pae-section-head .lead {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}


/* =================================================================
   v12 OVERRIDES — Remove dark mode + bigger logo + icon images
   ================================================================= */

/* Force light mode regardless of data-theme attribute */
:root[data-theme="dark"] { color-scheme: light; }

/* Defensive: hide any leftover theme/settings UI */
.nav-tools,
.settings-trigger,
.settings-overlay,
.settings-panel { display: none !important; }

/* Bigger SYDIAI logo in the floating pill header */
.logo.logo-lg {
  width: 188px;
  height: 52px;
}
.logo.logo-lg .logo-img {
  max-height: 46px;
  max-width: 188px;
}
@media (max-width: 1100px) {
  .logo.logo-lg { width: 156px; height: 44px; }
  .logo.logo-lg .logo-img { max-height: 38px; max-width: 156px; }
}
@media (max-width: 560px) {
  .logo.logo-lg { width: 128px; height: 38px; }
  .logo.logo-lg .logo-img { max-height: 34px; max-width: 128px; }
}

/* Category-card icons — render the real SVG inside the existing tile */
.grid-card-icon-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}
.grid-card-icon:has(.grid-card-icon-img) {
  border-style: solid;
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(143,180,211,0.04) 100%);
}

/* Hide the residual dashed placeholder if any */
.icon-placeholder { display: none !important; }


/* =================================================================
   v13 LOGO ALIGNMENT FIX — Perfect header / footer logo alignment
   -----------------------------------------------------------------
   • Header logo (dark, aspect ~1.78:1):
       fixed height matched to nav-pill, width auto so the image is
       never cropped or stretched, and the box hugs the natural
       image — no white-space gap to the right of the wordmark.
   • Footer logo (light, aspect ~4.39:1):
       same treatment — height-driven, width auto.
   ================================================================= */

/* Reset earlier .logo box constraints so width is intrinsic */
header.site-header .logo.logo-lg {
  width: auto;
  height: 48px;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
  flex: 0 0 auto;
  border-right: 0;
}
header.site-header .logo.logo-lg .logo-img {
  height: 40px;
  width: auto;
  max-height: 40px;
  max-width: none;
  display: block;
  object-fit: contain;
  object-position: left center;
}

/* Tablet */
@media (max-width: 1100px) {
  header.site-header .logo.logo-lg { height: 42px; }
  header.site-header .logo.logo-lg .logo-img { height: 34px; max-height: 34px; }
}

/* Mobile */
@media (max-width: 560px) {
  header.site-header .logo.logo-lg { height: 38px; }
  header.site-header .logo.logo-lg .logo-img { height: 30px; max-height: 30px; }
}

/* Footer logo — wider aspect, give it a clean fixed height */
.site-footer .footer-brand .logo {
  width: auto;
  height: 44px;
  padding: 0;
  border-right: 0;
  display: inline-flex;
  align-items: center;
  overflow: visible;
}
.site-footer .footer-brand .logo .logo-img {
  height: 36px;
  width: auto;
  max-height: 36px;
  max-width: 220px;
  display: block;
  object-fit: contain;
  object-position: left center;
}
