/* Shared marketing chrome — extracted from 11 page templates. Edit here, not per-page. Selectors that drift across pages stay inline in their <style> block. */

/* reset / root — page background and text colour come from :root tokens
   in colors_and_type.css via the base reset. Do not redefine --bg or
   --fg-* here; that breaks token-level theming. */
body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body { font-feature-settings: "ss01", "cv11"; }
.page { position: relative; min-height: 100vh; }

/* Subpage backdrop — sky-blue (#5BB8FF) glow centered at the top under the nav-pill (mirrors the homepage arc); the top-left corner stays dark so the wordmark sits on the same dark base as on the homepage. Emerald sprinkles (#2EE6B0) for brand warmth. Solid fallback colour reads --bg so token changes propagate. */
body.subpage { background: radial-gradient(ellipse 50% 30% at 50% 0%, rgba(91,184,255,.20) 0%, transparent 65%), radial-gradient(circle 380px at 78% 32%, rgba(46,230,176,.10) 0%, transparent 70%), radial-gradient(circle 320px at 18% 60%, rgba(46,230,176,.08) 0%, transparent 70%), radial-gradient(ellipse 60% 50% at 100% 100%, rgba(22,181,160,.08) 0%, transparent 60%), var(--bg); background-attachment: fixed; }
body.subpage::before, body.subpage::after { content: ''; position: fixed; pointer-events: none; z-index: 0; border-radius: 50%; filter: blur(80px); will-change: transform; }
body.subpage::before { top: -340px; left: 50%; margin-left: -600px; width: 1200px; height: 1000px; background: radial-gradient(circle, rgba(91,184,255,.24), rgba(91,184,255,.06) 45%, transparent 70%); }
body.subpage::after { bottom: -340px; right: -260px; width: 1100px; height: 1100px; background: radial-gradient(circle, rgba(46,230,176,.14), rgba(46,230,176,.04) 45%, transparent 70%); }
body.subpage .arc-wrap { display: none; }

/* stars + twinkle */
.stars-layer { position: fixed; inset: 0; pointer-events: none; will-change: transform; }
.stars-1 { background-image:
      radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.7), transparent),
      radial-gradient(1px 1px at 28% 42%, rgba(255,255,255,.5), transparent),
      radial-gradient(1.5px 1.5px at 47% 12%, rgba(255,255,255,.6), transparent),
      radial-gradient(1px 1px at 64% 38%, rgba(255,255,255,.5), transparent),
      radial-gradient(1px 1px at 78% 22%, rgba(255,255,255,.6), transparent),
      radial-gradient(1px 1px at 88% 48%, rgba(255,255,255,.45), transparent),
      radial-gradient(1px 1px at 8% 62%, rgba(255,255,255,.5), transparent),
      radial-gradient(1px 1px at 56% 70%, rgba(255,255,255,.4), transparent),
      radial-gradient(1.5px 1.5px at 22% 80%, rgba(255,255,255,.5), transparent),
      radial-gradient(1px 1px at 75% 88%, rgba(255,255,255,.45), transparent); }
.stars-2 { background-image:
      radial-gradient(0.8px 0.8px at 5% 25%, rgba(255,255,255,.3), transparent),
      radial-gradient(0.8px 0.8px at 38% 55%, rgba(255,255,255,.3), transparent),
      radial-gradient(0.8px 0.8px at 67% 82%, rgba(255,255,255,.3), transparent),
      radial-gradient(0.8px 0.8px at 92% 14%, rgba(255,255,255,.35), transparent),
      radial-gradient(0.8px 0.8px at 19% 92%, rgba(255,255,255,.3), transparent),
      radial-gradient(0.8px 0.8px at 52% 8%, rgba(255,255,255,.3), transparent); }
.twinkle { position: fixed; width: 2px; height: 2px; border-radius: 999px; background: #fff; pointer-events: none; }
.twinkle.t1 { top: 18%; left: 22%; animation: twinkle 3.2s ease-in-out infinite; }
.twinkle.t2 { top: 32%; left: 78%; animation: twinkle 4.5s ease-in-out infinite .8s; }
.twinkle.t3 { top: 12%; left: 64%; animation: twinkle 2.8s ease-in-out infinite 1.4s; box-shadow: 0 0 6px #5BB8FF; }
.twinkle.t4 { top: 48%; left: 12%; animation: twinkle 3.8s ease-in-out infinite .3s; }
.twinkle.t5 { top: 22%; left: 88%; animation: twinkle 5s ease-in-out infinite 2s; box-shadow: 0 0 6px #2EE6B0; }

/* animations */
@keyframes twinkle { 0%, 100% { opacity: .3 } 50% { opacity: 1 } }

/* nav.top + dropdown */
nav.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 56px; gap: 24px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; filter: drop-shadow(0 0 14px rgba(0,170,144,.55)) drop-shadow(0 0 4px rgba(0,170,144,.4)); }
.logo img { display: block; height: 32px; width: auto; }
.nav-pill { position: fixed; top: 22px; left: 50%; transform: translateX(-50%); z-index: 50; display: inline-flex; align-items: center; gap: 4px; background: rgba(20,30,55,.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.08); border-radius: 999px; padding: 5px; }
.nav-link { font: 400 14px/1 var(--font-sans); color: #B8C4D8; padding: 10px 16px; border-radius: 999px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: all 160ms; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav-link.active { background: #2EE6B0; color: #052A20; font-weight: 500; }
.nav-link.active:hover { background: #4DF2C0; }
.nav-link svg { opacity: .6; }
.nav-item { position: relative; display: inline-flex; }
.nav-item > .nav-link svg { transition: transform 200ms ease; }
.nav-item:hover > .nav-link svg, .nav-item:focus-within > .nav-link svg { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-6px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 200ms ease, transform 200ms ease, visibility 200ms; background: rgba(15, 25, 45, .92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,.10); border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 30px rgba(46,230,176,.06); padding: 14px; z-index: 100; }
.dropdown-menu::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-item:hover > .dropdown-menu, .nav-item:focus-within > .dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown-mega { width: 580px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dropdown-stack { width: 580px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 4px; }
.dropdown-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; text-decoration: none; color: #fff; transition: background 160ms ease; }
.dropdown-item:hover { background: rgba(46,230,176,.08); }
.dropdown-icon { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; background: rgba(46,230,176,.12); border: 1px solid rgba(46,230,176,.25); display: flex; align-items: center; justify-content: center; color: #2EE6B0; }
.dropdown-text { min-width: 0; display: flex; flex-direction: column; padding-top: 2px; }
.dropdown-title { font: 500 13px/1.3 var(--font-sans); color: #fff; letter-spacing: -0.005em; margin-bottom: 4px; }
.dropdown-desc { font: 400 12px/1.4 var(--font-sans); color: #93A3BD; letter-spacing: -0.005em; }
.dropdown-footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; margin-top: 6px; border-top: 1px solid rgba(255,255,255,.06); font: 500 13px/1 var(--font-sans); color: #2EE6B0; text-decoration: none; }
.dropdown-footer svg { transition: transform 160ms; }
.dropdown-footer:hover { color: #4DF2C0; }
.dropdown-footer:hover svg { transform: translateX(4px); }

/* cta-pill / hero-cta / eyebrow / cta-banner */
.cta-pill { display: inline-flex; align-items: center; gap: 8px; background: #2EE6B0; color: #052A20; padding: 11px 20px; border-radius: 999px; font: 500 14px/1 var(--font-sans); text-decoration: none; border: none; cursor: pointer; transition: all 160ms; }
.cta-pill:hover { background: #4DF2C0; transform: translateY(-1px); }
.eyebrow-pill .dot { width: 6px; height: 6px; border-radius: 999px; background: #2EE6B0; box-shadow: 0 0 8px #2EE6B0; }
.cta-banner::after { content: ''; position: absolute; left: 50%; top: -200px; width: 600px; height: 600px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(46,230,176,.25), transparent 60%); pointer-events: none; }
.hero-cta { display: inline-flex; align-items: center; gap: 10px; background: #2EE6B0; color: #052A20; padding: 16px 32px; border-radius: 999px; font: 500 16px/1 var(--font-sans); text-decoration: none; border: none; cursor: pointer; box-shadow: 0 0 40px rgba(46,230,176,.4); transition: all 200ms; letter-spacing: -0.01em; }
.hero-cta:hover { background: #4DF2C0; transform: translateY(-2px); box-shadow: 0 0 60px rgba(46,230,176,.6); }

/* reveal utilities */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 800ms cubic-bezier(.2,.8,.2,1), transform 800ms cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* footer */
footer { position: relative; z-index: 5; background: linear-gradient(180deg, transparent, rgba(5,11,26,.95)); border-top: 1px solid rgba(255,255,255,.06); padding: 80px 56px 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-logo { display: flex; align-items: center; gap: 6px; }
.footer-logo img { display: block; height: 26px; width: auto; filter: drop-shadow(0 0 10px rgba(0,170,144,.5)); }
.footer-logo sup { color: #2EE6B0; font: 400 11px/1 var(--font-sans); align-self: flex-start; padding-top: 2px; }
.footer-tagline { font: 400 14px/1.6 var(--font-sans); color: #93A3BD; max-width: 320px; letter-spacing: -0.005em; }
.footer-contact { font: 400 14px/1.7 var(--font-sans); color: #C8D4E8; }
.footer-contact a { color: inherit; text-decoration: none; }
.footer-contact a:hover { color: #2EE6B0; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); color: #C8D4E8; transition: color 160ms, border-color 160ms, background 160ms, transform 160ms; }
.footer-socials a:hover { color: #2EE6B0; border-color: rgba(46,230,176,.35); background: rgba(46,230,176,.08); transform: translateY(-1px); }
.footer-col h4 { font: 500 12px/1 var(--font-sans); color: #5C6577; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 20px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font: 400 14px/1.4 var(--font-sans); color: #C8D4E8; text-decoration: none; transition: color 160ms; letter-spacing: -0.005em; }
.footer-col a:hover { color: #2EE6B0; }
.footer-bottom { max-width: 1240px; margin: 0 auto; padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom .copyright { font: 400 13px/1.5 var(--font-sans); color: #5C6577; }
.footer-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-badge { padding: 6px 12px; border-radius: 6px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); font: 500 11px/1 var(--font-mono); color: #93A3BD; letter-spacing: .04em; }

/* a11y: skip-to-main link — visible only on focus, sits above nav-pill (z:50). */
.skip-to-main { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 16px; background: #2EE6B0; color: #052A20; font: 500 13px/1 var(--font-sans); text-decoration: none; border-radius: 999px; box-shadow: 0 4px 16px rgba(0,0,0,.4); transform: translateY(-200%); transition: transform 160ms ease; }
.skip-to-main:focus, .skip-to-main:focus-visible { transform: translateY(0); outline: 2px solid #fff; outline-offset: 2px; }
[id="main-content"] { scroll-margin-top: 80px; }
[id="main-content"]:focus { outline: none; }

/* a11y: visible focus ring for keyboard nav. Mouse clicks (no :focus-visible) keep the clean look. */
.nav-link:focus-visible, .dropdown-item:focus-visible, .dropdown-footer:focus-visible, .cta-pill:focus-visible, .hero-cta:focus-visible, .footer-col a:focus-visible, .footer-contact a:focus-visible, .footer-socials a:focus-visible, .logo:focus-visible { outline: 2px solid #2EE6B0; outline-offset: 3px; border-radius: 4px; }
.nav-link.active:focus-visible, .cta-pill:focus-visible, .hero-cta:focus-visible { outline-color: #fff; }

/* a11y: kill all motion globally for vestibular-sensitive users. Targets *every* animation/transition regardless of where it's defined (inline page styles, this file, or libraries).
   Decorative ambient animations that don't trigger vestibular issues are allowlisted via :not() —
   .arc-pulse (slow 4s pulse ring on the horizon arc) and .partners-track (32s linear logo scroll).
   These were unintentionally collateral damage of the original blanket *-selector. */
@media (prefers-reduced-motion: reduce) {
  *:not(.arc-pulse, .partners-track),
  *:not(.arc-pulse, .partners-track)::before,
  *:not(.arc-pulse, .partners-track)::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  /* Star/twinkle layers and parallax become static — keep them visible, just don't move.
     .arc-wrap intentionally excluded: its base CSS sets transform: translateX(-50%) for
     centering, and resetting it here would shove the 1800px arc off the right edge of the
     viewport. Scroll-driven parallax (translateY/scale) is suppressed via a JS guard in
     each page's scroll handler instead. */
  .stars-layer, .twinkle, .spark, .parallax { transform: none !important; }
  .twinkle { opacity: .6 !important; }
}
