/* ==========================================================================
   EngineArc — Core Stylesheet (Ultra-Premium 3D Edition)
   Design tokens → base → layout → components → animations
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand blues */
  --blue-400: #60A5FA;
  --blue-500: #3B82F6;
  --blue-600: #2F6FE0;
  --deep-blue-500: #1D4ED8;
  --cyan-400: #3AC0FF;
  --arc-gradient: linear-gradient(135deg, #1D4ED8 0%, #3B82F6 55%, #38BDF8 100%);
  --arc-gradient-soft: linear-gradient(135deg, rgba(59,130,246,0.16) 0%, rgba(29,78,216,0.16) 100%);

  /* Type */
  --font-display: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii — thick, soft, premium */
  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 36px;
  --radius-xl: 44px;
  --radius-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 240ms;
  --dur-med: 520ms;
  --dur-slow: 950ms;

  /* Layout */
  --nav-height: 80px;
  --container: 1220px;
}

/* Light theme */
:root[data-theme="light"] {
  --bg: #F5F8FF;
  --bg-elevated: #FFFFFF;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #EFF3FC;
  --surface-deep: #FFFFFF;
  --border: rgba(20, 30, 60, 0.08);
  --border-strong: rgba(20, 30, 60, 0.14);
  --text-primary: #0B1220;
  --text-secondary: rgba(11, 18, 32, 0.62);
  --text-tertiary: rgba(11, 18, 32, 0.42);
  --glow-a: rgba(59, 130, 246, 0.20);
  --glow-b: rgba(29, 78, 216, 0.16);
  --highlight-top: rgba(255, 255, 255, 0.9);

  /* Elevation system — soft, thick, layered */
  --shadow-1: 0 2px 10px rgba(30, 60, 130, 0.06);
  --shadow-2: 0 16px 40px rgba(30, 60, 130, 0.10), 0 4px 12px rgba(30, 60, 130, 0.06);
  --shadow-3: 0 34px 80px rgba(30, 60, 130, 0.16), 0 10px 24px rgba(30, 60, 130, 0.08);
  --shadow-glow: 0 26px 60px rgba(59, 130, 246, 0.22);

  --particle-color: 59, 130, 246;
  --nav-bg: rgba(255, 255, 255, 0.62);
  --scrollbar: rgba(11, 18, 32, 0.18);
}

/* Dark theme */
:root[data-theme="dark"] {
  --bg: #05070F;
  --bg-elevated: #0B0F1C;
  --surface: rgba(20, 26, 46, 0.6);
  --surface-solid: #101729;
  --surface-deep: #0C1120;
  --border: rgba(140, 170, 255, 0.12);
  --border-strong: rgba(140, 170, 255, 0.24);
  --text-primary: #F3F6FF;
  --text-secondary: rgba(230, 236, 255, 0.66);
  --text-tertiary: rgba(230, 236, 255, 0.4);
  --glow-a: rgba(59, 130, 246, 0.4);
  --glow-b: rgba(29, 78, 216, 0.32);
  --highlight-top: rgba(150, 180, 255, 0.16);

  /* Elevation system — deep, neon-tinted */
  --shadow-1: 0 2px 14px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 20px 50px rgba(0, 0, 0, 0.45), 0 4px 16px rgba(59, 130, 246, 0.08);
  --shadow-3: 0 40px 100px rgba(0, 0, 0, 0.6), 0 10px 30px rgba(59, 130, 246, 0.12);
  --shadow-glow: 0 30px 90px rgba(59, 130, 246, 0.32);

  --particle-color: 120, 160, 255;
  --nav-bg: rgba(10, 14, 26, 0.6);
  --scrollbar: rgba(200, 215, 255, 0.18);
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

::selection { background: var(--blue-500); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--scrollbar); border-radius: var(--radius-pill); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue-500);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 18px;
}

.gradient-text {
  display: block;
  background: var(--arc-gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s var(--ease-in-out) infinite;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Thick "soft-3D" surface used across cards, panels, drawer */
.surface-3d {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top-color: var(--highlight-top);
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  transition: transform var(--dur-fast) var(--ease-spring),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
  will-change: transform;
}
.btn-arrow { width: 18px; height: 18px; transition: transform var(--dur-fast) var(--ease-out); }

.btn-primary {
  background: var(--arc-gradient);
  color: #fff;
  box-shadow: var(--shadow-2);
}
.btn-primary:hover {
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-primary:active { transform: scale(0.98) !important; }

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn-secondary:hover {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-2);
}

.btn-nav {
  padding: 11px 22px;
  font-size: 0.9rem;
  background: var(--arc-gradient);
  color: #fff;
  box-shadow: var(--shadow-1);
}
.btn-nav:hover { box-shadow: var(--shadow-glow); transform: translateY(-2px); }

/* Magnetic buttons get inline transform from script.js;
   this just ensures a smooth spring back on release */
.btn-magnetic { transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out); }

/* ==========================================================================
   Splash Screen
   ========================================================================== */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity var(--dur-slow) var(--ease-in-out), visibility var(--dur-slow) var(--ease-in-out);
  overflow: hidden;
}
.splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-glow {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-a) 0%, transparent 65%);
  animation: splashPulse 3.2s var(--ease-in-out) infinite;
}

@keyframes splashPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
}

.splash-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.splash-logo {
  width: 108px;
  height: 108px;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.6);
  filter: drop-shadow(0 0 30px var(--glow-a));
  animation: splashLogoIn 1.1s var(--ease-out) forwards 0.15s;
}

.splash-fallback {
  display: none;
  width: 108px;
  height: 108px;
  align-items: center;
  justify-content: center;
}
.arc-mark {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 10px solid transparent;
  border-top-color: #3B82F6;
  border-right-color: #38BDF8;
  border-bottom-color: #1D4ED8;
  filter: drop-shadow(0 0 24px var(--glow-a));
  animation: splashLogoIn 1.1s var(--ease-out) forwards 0.15s, arcSpin 2.4s linear infinite;
}

@keyframes splashLogoIn {
  0%   { opacity: 0; transform: scale(0.6); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes arcSpin {
  to { transform: rotate(360deg); }
}

.splash-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(8px);
  animation: splashWordIn 0.8s var(--ease-out) forwards 0.55s;
}

@keyframes splashWordIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.nav-wrap {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.navbar {
  width: 100%;
  max-width: var(--container);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 22px;
  border-radius: var(--radius-pill);
  background: var(--nav-bg);
  border: 1px solid var(--border);
  border-top-color: var(--highlight-top);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--shadow-1);
  transition: background var(--dur-med) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.navbar.is-scrolled { box-shadow: var(--shadow-2); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.nav-logo-img { width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(59,130,246,0.35)); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  display: inline-block;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.nav-menu a:hover { color: var(--text-primary); background: var(--surface-solid); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle { padding: 4px; border-radius: var(--radius-pill); }
.theme-toggle-track {
  display: flex;
  align-items: center;
  width: 54px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  padding: 3px;
  transition: background var(--dur-fast) var(--ease-out);
}
.theme-toggle-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--arc-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transform: translateX(0);
  transition: transform var(--dur-med) var(--ease-spring);
  box-shadow: 0 3px 10px rgba(0,0,0,0.28);
}
:root[data-theme="dark"] .theme-toggle-thumb { transform: translateX(22px); }
.theme-toggle .icon { width: 15px; height: 15px; position: absolute; transition: opacity var(--dur-fast) var(--ease-out); }
.icon-moon { opacity: 0; }
:root[data-theme="dark"] .icon-sun { opacity: 0; }
:root[data-theme="dark"] .icon-moon { opacity: 1; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
}
.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Mobile Drawer — thick, rounded, spring animation
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 20, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 600;
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
}
.drawer-overlay.is-visible { opacity: 1; }

.drawer {
  position: fixed;
  top: 12px;
  right: 12px;
  bottom: 12px;
  width: min(86vw, 380px);
  z-index: 700;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-top-color: var(--highlight-top);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-3);
  display: flex;
  flex-direction: column;
  padding: 26px;
  transform: translateX(calc(100% + 24px)) scale(0.96);
  opacity: 0;
  transition: transform 0.55s var(--ease-spring), opacity 0.4s var(--ease-out);
}
.drawer.is-open { transform: translateX(0) scale(1); opacity: 1; }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.drawer-close {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--surface-solid);
  transition: transform var(--dur-fast) var(--ease-spring);
}
.drawer-close:hover { transform: rotate(90deg); }
.drawer-close svg { width: 18px; height: 18px; }

.drawer-menu { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.drawer-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--text-primary);
  opacity: 0;
  transform: translateX(28px);
  transition: background var(--dur-fast) var(--ease-out), transform 0.5s var(--ease-spring), opacity var(--dur-med) var(--ease-out);
}
.drawer.is-open .drawer-link { opacity: 1; transform: translateX(0); }
.drawer.is-open .drawer-link:nth-child(1) { transition-delay: 0.1s; }
.drawer.is-open .drawer-link:nth-child(2) { transition-delay: 0.16s; }
.drawer.is-open .drawer-link:nth-child(3) { transition-delay: 0.22s; }
.drawer.is-open .drawer-link:nth-child(4) { transition-delay: 0.28s; }
.drawer.is-open .drawer-link:nth-child(5) { transition-delay: 0.34s; }
.drawer-link:hover { background: var(--surface-solid); }
.drawer-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--arc-gradient-soft);
  color: var(--blue-500);
  flex-shrink: 0;
}
.drawer-icon svg { width: 20px; height: 20px; }

.drawer-cta { margin: 8px 2px 18px; justify-content: center; width: 100%; }

.drawer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-weight: 500;
  color: var(--text-secondary);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 40px) 24px 100px;
  overflow: hidden;
}

.particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.mesh-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(45% 40% at 15% 20%, var(--glow-a) 0%, transparent 70%),
    radial-gradient(40% 45% at 85% 15%, var(--glow-b) 0%, transparent 70%),
    radial-gradient(50% 50% at 50% 100%, var(--glow-a) 0%, transparent 70%);
  filter: blur(6px);
  opacity: 0.9;
  animation: meshShift 22s var(--ease-in-out) infinite;
}
@keyframes meshShift {
  0%, 100% { transform: scale(1) translate(0,0); }
  50% { transform: scale(1.08) translate(-2%, 2%); }
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}
.hero-glow-a {
  width: 50vmax; height: 50vmax;
  top: -20%; left: -15%;
  background: radial-gradient(circle, var(--glow-a) 0%, transparent 70%);
  animation: floatSlow 14s var(--ease-in-out) infinite;
}
.hero-glow-b {
  width: 45vmax; height: 45vmax;
  bottom: -25%; right: -10%;
  background: radial-gradient(circle, var(--glow-b) 0%, transparent 70%);
  animation: floatSlow 18s var(--ease-in-out) infinite reverse;
}
@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4%, 6%) scale(1.08); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-content { max-width: 560px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust { display: flex; flex-direction: column; gap: 12px; }
.hero-trust > span { font-size: 0.82rem; color: var(--text-tertiary); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.hero-trust-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: var(--shadow-1);
}

/* ---------- Hero Visual Card ---------- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  perspective: 1200px;
  transition: transform var(--dur-med) var(--ease-out);
  transform-style: preserve-3d;
}

.visual-glow {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-a) 0%, transparent 68%);
  z-index: 0;
  animation: splashPulse 5s var(--ease-in-out) infinite;
}

.visual-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1.02;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface-deep);
  border: 1px solid var(--border);
  border-top-color: var(--highlight-top);
  box-shadow: var(--shadow-3);
}

.float-card { animation: cardFloatBig 7s var(--ease-in-out) infinite; }
@keyframes cardFloatBig {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(0.6deg); }
}

.visual-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.visual-svg {
  position: absolute;
  inset: 0;
  width: 78%;
  height: 78%;
  margin: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(59, 130, 246, 0.25));
}

.visual-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-display);
  box-shadow: var(--shadow-2);
  color: var(--text-primary);
  z-index: 2;
}
.visual-badge svg { width: 16px; height: 16px; color: var(--blue-500); flex-shrink: 0; }
.badge-top { top: 22px; left: 22px; animation: floatSlow 8s var(--ease-in-out) infinite; }
.badge-bottom { bottom: 22px; right: 22px; animation: floatSlow 9s var(--ease-in-out) infinite reverse; }

.hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border-strong);
  display: flex;
  justify-content: center;
  padding-top: 8px;
  z-index: 2;
}
.hero-scroll-cue span {
  width: 4px; height: 8px;
  border-radius: 2px;
  background: var(--blue-500);
  animation: scrollCue 1.8s var(--ease-in-out) infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(0); opacity: 1; }
  70% { opacity: 0; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* Reveal-on-scroll (base state; script.js toggles .is-visible) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.hero-title.reveal.is-visible { transition-delay: 0.05s; }
.hero-subtitle.reveal.is-visible { transition-delay: 0.15s; }
.hero-actions.reveal.is-visible { transition-delay: 0.25s; }
.hero-trust.reveal.is-visible { transition-delay: 0.32s; }
.hero-visual.reveal.is-visible { transition-delay: 0.2s; }

/* ==========================================================================
   Section shared
   ========================================================================== */
.section-head { text-align: center; max-width: 660px; margin: 0 auto 64px; position: relative; z-index: 1; }
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.section-subtitle { color: var(--text-secondary); font-size: 1.08rem; line-height: 1.6; }

/* ==========================================================================
   Product / Ecosystem Section (Gemini-style launcher)
   ========================================================================== */
.products-section {
  position: relative;
  padding: 140px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.section-pattern {
  position: absolute;
  top: 0; right: 0;
  width: 340px;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.product-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  contain: layout paint;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top-color: var(--highlight-top);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.product-card:hover {
  transform: translateY(-12px) scale(1.015);
  box-shadow: var(--shadow-glow), var(--shadow-3);
  border-color: transparent;
}

.product-media {
  position: relative;
  height: 190px;
  background: var(--arc-gradient);
  overflow: hidden;
}
[data-tone="labs"] .product-media { background: linear-gradient(135deg, #1D4ED8 0%, #3B82F6 100%); }
[data-tone="space"] .product-media { background: linear-gradient(135deg, #1B2A4A 0%, #3B82F6 100%); }
[data-tone="news"] .product-media { background: linear-gradient(135deg, #3AC0FF 0%, #2563EB 100%); }
[data-tone="learn"] .product-media { background: linear-gradient(135deg, #6493FF 0%, #1D4ED8 100%); }

.product-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  mix-blend-mode: luminosity;
  transition: transform var(--dur-slow) var(--ease-out);
}
.product-card:hover .product-media-img { transform: scale(1.08); }

.product-media-svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 62%;
  height: 62%;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.25));
  transition: transform var(--dur-med) var(--ease-out);
}
.product-card:hover .product-media-svg { transform: translateY(-6px) scale(1.04); }

.product-body {
  position: relative;
  padding: 30px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-icon {
  position: absolute;
  top: -28px;
  left: 28px;
  width: 56px; height: 56px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: var(--arc-gradient);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.35);
  border: 3px solid var(--bg-elevated);
}
.product-icon svg { width: 26px; height: 26px; }

.product-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 22px 0 10px;
}
.product-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}
.product-domain {
  font-size: 0.84rem;
  color: var(--blue-500);
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.product-visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  background: var(--surface-solid);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
  width: fit-content;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.product-visit svg { width: 15px; height: 15px; transition: transform var(--dur-fast) var(--ease-out); }
.product-card:hover .product-visit { background: var(--arc-gradient); color: #fff; }
.product-card:hover .product-visit svg { transform: translateX(3px); }

.product-card-ghost {
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px dashed var(--border-strong);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  min-height: 260px;
}
.product-card-ghost:hover { transform: none; box-shadow: none; border-color: var(--blue-500); }
.ghost-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 30px; color: var(--text-tertiary); }
.ghost-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-solid);
  color: var(--blue-500);
}
.ghost-icon svg { width: 22px; height: 22px; }
.ghost-inner p { font-size: 0.94rem; font-weight: 500; }

/* ==========================================================================
   EngineArc Ecosystem — parent company showcase
   Deliberately always-dark: carbon black, titanium silver type, electric
   blue accents — independent of the light/dark site theme, like a
   flagship product page inside the wider site.
   ========================================================================== */
.showcase-section {
  --carbon: #08090C;
  --carbon-elevated: #0F1116;
  --carbon-glass: rgba(255, 255, 255, 0.045);
  --carbon-border: rgba(255, 255, 255, 0.09);
  --carbon-border-strong: rgba(255, 255, 255, 0.16);
  --titanium-100: #F1F2F5;
  --titanium-300: #C9CED8;
  --titanium-500: #8B90A0;

  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--carbon);
  color: var(--titanium-300);
  padding: 150px 24px 160px;
  overflow: hidden;
  isolation: isolate;
}

.showcase-pattern {
  position: absolute;
  top: 0; left: 0;
  width: 320px;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
  transform: scaleX(-1);
}

.showcase-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}
.showcase-glow-a {
  width: 46vmax; height: 46vmax;
  top: -18%; right: -12%;
  background: radial-gradient(circle, rgba(59,130,246,0.28) 0%, transparent 70%);
  animation: floatSlow 16s var(--ease-in-out) infinite;
}
.showcase-glow-b {
  width: 40vmax; height: 40vmax;
  bottom: -20%; left: -10%;
  background: radial-gradient(circle, rgba(56,189,248,0.2) 0%, transparent 70%);
  animation: floatSlow 20s var(--ease-in-out) infinite reverse;
}

.showcase-section .section-head { position: relative; z-index: 1; max-width: 700px; }
.eyebrow-showcase { color: var(--blue-400); }
.showcase-title { color: var(--titanium-100); }
.showcase-subtitle { color: var(--titanium-500); }

/* ---------- Org structure diagram ---------- */
.org-diagram {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-parent {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  background: var(--carbon-glass);
  border: 1px solid var(--carbon-border-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--titanium-100);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.18);
}
.org-parent-logo { width: 28px; height: 28px; object-fit: contain; }

.org-connectors { width: 100%; max-width: 640px; height: 60px; display: block; }

.org-children {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.org-node {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  background: var(--carbon-glass);
  border: 1px solid var(--carbon-border);
  color: var(--titanium-300);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  transition: transform var(--dur-fast) var(--ease-spring), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.org-node-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--arc-gradient);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  flex-shrink: 0;
}
a.org-node:hover {
  transform: translateY(-4px);
  color: var(--titanium-100);
  border-color: var(--blue-500);
  box-shadow: 0 16px 34px rgba(59, 130, 246, 0.22);
}
.org-node-ghost {
  border-style: dashed;
  color: var(--titanium-500);
}
.org-node-ghost .org-node-dot { background: var(--titanium-500); box-shadow: none; }

/* ---------- Shared showcase grid ---------- */
.showcase-grid {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.showcase-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.32);
  color: var(--blue-400);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
}
.showcase-tag-soon {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.34);
  color: var(--cyan-400);
}

/* ---------- AchieveX product card ---------- */
.achievex-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-radius: var(--radius-xl);
  padding: 30px;
  background: var(--carbon-glass);
  border: 1px solid var(--carbon-border);
  border-top-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.achievex-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 60px rgba(59,130,246,0.18);
}

.achievex-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--carbon-border);
  aspect-ratio: 16 / 10.5;
}
.achievex-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.achievex-card:hover .achievex-preview { transform: scale(1.03); }

.achievex-head { display: flex; align-items: center; gap: 16px; }
.achievex-logo {
  width: 56px; height: 56px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(59, 130, 246, 0.3);
  flex-shrink: 0;
}
.achievex-category {
  font-size: 0.8rem;
  color: var(--blue-400);
  font-weight: 600;
  margin-bottom: 4px;
}
.achievex-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--titanium-100);
}

.achievex-desc { color: var(--titanium-500); font-size: 1rem; line-height: 1.65; }

.achievex-features { display: flex; flex-wrap: wrap; gap: 10px; }
.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--carbon-border);
  color: var(--titanium-300);
  font-size: 0.84rem;
  font-weight: 500;
}
.feature-chip svg { width: 16px; height: 16px; color: var(--blue-400); flex-shrink: 0; }

.achievex-card .btn-primary { margin-top: 4px; align-self: flex-start; }

/* ---------- EngineArc Store marketplace card ---------- */
.store-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: var(--radius-xl);
  padding: 30px;
  background: var(--carbon-glass);
  border: 1px solid var(--carbon-border);
  border-top-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.store-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 60px rgba(56,189,248,0.16);
}

.store-head { display: flex; flex-direction: column; gap: 10px; }
.store-name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--titanium-100); }
.store-desc { color: var(--titanium-500); font-size: 0.98rem; line-height: 1.6; }

.store-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--carbon-border);
}
.store-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--carbon-border);
  color: var(--titanium-500);
  font-size: 0.88rem;
}
.store-search svg { width: 16px; height: 16px; flex-shrink: 0; }
.store-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--carbon-border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--titanium-500);
}
.filter-chip.is-active {
  background: var(--arc-gradient);
  border-color: transparent;
  color: #fff;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  flex: 1;
}
.store-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--carbon-border);
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.store-item:hover { transform: translateY(-4px); border-color: var(--carbon-border-strong); }
.store-item-ghost { border-style: dashed; opacity: 0.75; }
.store-item-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--arc-gradient);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
}
.store-item-ghost .store-item-icon { background: rgba(255,255,255,0.06); color: var(--titanium-500); }
.store-item-name { font-size: 0.86rem; font-weight: 600; color: var(--titanium-300); }
.store-item-tag {
  position: absolute;
  top: 12px; right: 12px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag-live { background: rgba(52, 211, 153, 0.16); color: #34D399; }
.tag-soon { background: rgba(255,255,255,0.08); color: var(--titanium-500); }

.store-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--carbon-border);
  color: var(--titanium-500);
  cursor: not-allowed;
}
.store-cta:hover { transform: none; box-shadow: none; border-color: var(--carbon-border); }

/* ==========================================================================
   Research Showcase (dashboard-style)
   ========================================================================== */
.research-section {
  padding: 60px 24px 140px;
  max-width: var(--container);
  margin: 0 auto;
}

.research-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
}

.research-card {
  position: relative;
  contain: layout paint;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top-color: var(--highlight-top);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-2);
  padding: 32px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.research-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-3); }

.research-card-lg { grid-row: span 1; }

.research-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.research-tag {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-500);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--arc-gradient-soft);
}
.status-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
  animation: pulseNode 2.4s ease-in-out infinite;
}
@keyframes pulseNode { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

.research-illustration { width: 100%; max-width: 240px; margin: 0 auto 18px; }
.research-illustration-sm { max-width: 140px; }

.research-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.research-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

.research-stats { display: flex; gap: 28px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); }
.research-stats > div { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--text-primary); }
.stat-label { font-size: 0.82rem; color: var(--text-tertiary); }

/* ==========================================================================
   Technology Stack
   ========================================================================== */
.stack-section {
  position: relative;
  padding: 60px 24px 150px;
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
}
.section-waves {
  position: absolute;
  left: 0; right: 0; bottom: -20px;
  width: 100%;
  height: 220px;
  object-fit: cover;
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

.stack-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stack-chip {
  display: flex;
  align-items: center;
  contain: layout paint;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top-color: var(--highlight-top);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.stack-chip:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }

.stack-chip-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--arc-gradient);
  color: #fff;
  box-shadow: 0 10px 22px rgba(59, 130, 246, 0.3);
}
.stack-chip-icon svg { width: 22px; height: 22px; }
.stack-chip h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 3px; }
.stack-chip p { font-size: 0.86rem; color: var(--text-secondary); }

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  padding: 40px 24px 160px;
  max-width: var(--container);
  margin: 0 auto;
}
.about-inner { max-width: 820px; margin: 0 auto; }

.about-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 48px;
}
.reveal-line { display: block; overflow: hidden; }

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.about-lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-primary);
}
.about-stats { display: flex; flex-direction: column; gap: 22px; }
.about-stat { display: flex; align-items: baseline; gap: 14px; }
.about-stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  background: var(--arc-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-stat-label { color: var(--text-secondary); font-size: 0.96rem; }

.about-body {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ==========================================================================
   CTA / Contact
   ========================================================================== */
.cta-section { padding: 0 24px 140px; max-width: var(--container); margin: 0 auto; }
.cta-card {
  position: relative;
  text-align: center;
  padding: 88px 40px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top-color: var(--highlight-top);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.cta-glow-svg {
  position: absolute;
  width: 480px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}
.cta-title, .cta-subtitle, .cta-actions { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  margin-bottom: 14px;
}
.cta-subtitle { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: var(--text-secondary); font-size: 0.94rem; transition: color var(--dur-fast) var(--ease-out); }
.footer-links a:hover { color: var(--blue-500); }
.footer-copy { color: var(--text-tertiary); font-size: 0.88rem; }

/* ==========================================================================
   Page load state (body dims slightly during splash)
   ========================================================================== */
body.is-loading { overflow: hidden; }
