:root {
  --hf: 'Space Grotesk', 'Inter', Arial, sans-serif;
  --bf: 'Inter', Arial, sans-serif;
  --ge-deep-sea: #0a1628;
  --ge-purple: #8b5cf6;
  --ge-blue: #00adff;
  --ge-mint: #00d9c0;
  --ge-accent: #a78bfa;
  --ge-white: #ffffff;
  --ge-gray-300: #d1d5db;
  --ge-gray-400: #9ca3af;
  --ge-gradient: linear-gradient(135deg, #8b5cf6 0%, #00adff 50%, #00d9c0 100%);

  /* HubSpot form theme (Demo LP Spec §5.2). The HubSpot editor values take precedence. */
  --hsf-global__font-family: 'Inter', Arial, sans-serif;
  --hsf-global__color: #ffffff;
  --hsf-global-error__color: #f87171;
  --hsf-background__background-color: transparent;
  --hsf-background__border-color: transparent;
  --hsf-background__padding: 0px;
  --hsf-field-input__background-color: #1e2d45;
  --hsf-field-input__border-color: #2d3a4d;
  --hsf-field-input__border-radius: 8px;
  --hsf-field-input__color: #ffffff;
  --hsf-field-input__placeholder-color: #6b7280;
  --hsf-field-label__color: #ffffff;
  --hsf-field-label__font-size: 13px;
  --hsf-heading__color: #ffffff;
  --hsf-heading__font-family: 'Space Grotesk', 'Inter', Arial, sans-serif;
  --hsf-rich-text__color: #b6bcc5;
  --hsf-legal-consent__color: #9ca3af;
  --hsf-field-description__color: #9ca3af;
  --hsf-button__background-color: #8b5cf6;
  --hsf-button__color: #ffffff;
  --hsf-button__border-radius: 8px;
  --hsf-button__font-family: 'Inter', Arial, sans-serif;
  --hsf-button__font-weight: 600;
}

/* ========================================
   1. PAGE WRAPPER + BASE (scoped, no bare element selectors)
   ======================================== */
.ge-page {
  position: relative;
  font-family: var(--bf);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ge-gray-300);
  background: linear-gradient(135deg, #0a1628 0%, #0d1a2d 50%, #0a1628 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.ge-page *, .ge-page *::before, .ge-page *::after { box-sizing: border-box; }
.ge-container {
  position: relative;
  z-index: 1;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.ge-container--narrow { max-width: 48rem; }
.ge-container--mid { max-width: 56rem; }
@media (min-width: 1200px) {
  .ge-container { padding-left: 40px; padding-right: 40px; }
}
.ge-section { position: relative; z-index: 1; padding: 5rem 0; }

/* ========================================
   2. SKIP LINK, FOCUS, REDUCED MOTION
   ======================================== */
.ge-skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 9999;
  background: var(--ge-purple); color: var(--ge-deep-sea);
  padding: 12px 24px; border-radius: 8px;
  font-weight: 600; font-size: 0.875rem; text-decoration: none;
  transition: top 0.2s;
}
.ge-skip-link:focus { top: 16px; }
.ge-page a:focus-visible,
.ge-page button:focus-visible {
  outline: 2px solid var(--ge-accent);
  outline-offset: 3px;
  border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  .ge-page *, .ge-page *::before, .ge-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========================================
   3. BACKGROUND LAYERS
   Canvas sized by JS only (window.innerWidth x window.innerHeight).
   Never set CSS width/height on the canvas.
   ======================================== */
.ge-neural-canvas {
  position: fixed;
  top: 0; left: 0;
  z-index: 0;
  pointer-events: none;
}
.ge-ambient {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 70% 20%, rgba(139,92,246,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 30% 70%, rgba(0,217,192,0.04) 0%, transparent 50%);
}

/* ========================================
   4. TYPE
   ======================================== */
.ge-h1 {
  font-family: var(--hf);
  font-size: 3rem; line-height: 1.1; font-weight: 700;
  color: var(--ge-white);
  margin: 0 0 0.75rem;
}
.ge-h2 {
  font-family: var(--hf);
  font-size: 2.25rem; line-height: 1.15; font-weight: 700;
  color: var(--ge-white);
  margin: 0 0 1rem;
  text-align: center;
}
.ge-h3 {
  font-family: var(--hf);
  font-size: 1.125rem; line-height: 1.5; font-weight: 600;
  color: var(--ge-white);
  margin: 0 0 0.5rem;
}
.ge-body { font-size: 0.9375rem; line-height: 1.65; color: var(--ge-gray-300); margin: 0; }
.ge-lede { font-size: 1.0625rem; line-height: 1.7; color: var(--ge-gray-300); margin: 0 auto; max-width: 40rem; text-align: center; }
.ge-section-head { margin-bottom: 3rem; }

/* Gradient text: solid accessible fallback, gradient where supported */
.ge-grad-text {
  display: inline-block;
  color: var(--ge-accent);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ge-grad-text {
    background: linear-gradient(90deg, #a78bfa 0%, #00adff 55%, #00d9c0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.ge-link {
  color: var(--ge-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.ge-link:hover { color: var(--ge-white); }

/* ========================================
   5. PRIMARY BUTTON (house spec, as on the other demo pages)
   Purple glass, Inter 14/500, liquid fill slides in from the left, arrow nudges.
   ======================================== */
.ge-btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: var(--bf);
  font-size: 0.875rem; font-weight: 500; line-height: 1.25rem;
  color: var(--ge-white);
  text-decoration: none;
  cursor: pointer;
  background: rgba(139,92,246,0.8);
  border: 1px solid rgba(139,92,246,0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.ge-btn-primary .ge-btn-fill {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #8b5cf6, #00adff);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.ge-btn-primary .ge-btn-text,
.ge-btn-primary .ge-btn-arrow { position: relative; z-index: 1; }
.ge-btn-primary .ge-btn-arrow { transition: transform 0.35s ease; }
.ge-btn-primary:hover,
.ge-btn-primary:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(139,92,246,0.3); }
.ge-btn-primary:hover .ge-btn-fill,
.ge-btn-primary:focus-visible .ge-btn-fill { transform: translateX(0); }
.ge-btn-primary:hover .ge-btn-arrow,
.ge-btn-primary:focus-visible .ge-btn-arrow { transform: translateX(4px); }

/* ========================================
   6. GLASS + LIGHT GLASS CARDS
   ======================================== */
.ge-glass {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  position: relative;
}
.ge-card-light {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.75rem;
  padding: 1.75rem 1.5rem;
  overflow: hidden;
  transition: background 0.5s cubic-bezier(0.4,0,0.2,1), border-color 0.5s, box-shadow 0.5s, transform 0.5s;
}
.ge-card-light:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(139,92,246,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 20px rgba(139,92,246,0.08);
  transform: translateY(-2px);
}
.ge-card-glow {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(139,92,246,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.ge-card-light:hover .ge-card-glow { opacity: 1; }
.ge-card-inner { position: relative; z-index: 1; }

/* ========================================
   7. HERO (Demo LP Spec §1)
   ======================================== */
.ge-hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 2rem 0;
}
.ge-hero__inner { padding-top: 5rem; padding-bottom: 2rem; width: 100%; }
.ge-hero-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  overflow: visible;
}
.ge-hero-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  border-radius: 1rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(139,92,246,0.5), rgba(0,173,255,0.3), rgba(0,217,192,0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
.ge-hero-left {
  position: relative; z-index: 1;
  padding: 3.5rem 2.5rem 2.5rem;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  border-radius: 1rem 0 0 1rem;
  overflow: hidden;
}
.ge-hero-left::before {
  content: '';
  position: absolute;
  top: 10%; right: 10%; bottom: 10%; left: 10%;
  background: radial-gradient(circle, rgba(0,217,192,0.12) 0%, rgba(139,92,246,0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.ge-hero-sub {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
}
.ge-hero-sub .ge-grad-text {
  font-family: var(--hf); font-size: 1.5rem; line-height: 1.3; font-weight: 600;
}
.ge-arrow-nudge { flex-shrink: 0; animation: ge-nudge-right 2s ease-in-out infinite; }
@keyframes ge-nudge-right { 0%,100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
/* Approach A (natural proportions + max-height) */
.ge-hero-image-wrap { margin-top: 0.25rem; width: 100%; }
.ge-hero-image {
  display: block;
  width: 100%; height: auto;
  max-height: 380px;
  object-fit: contain;
  margin: 1.5rem auto 0;
}
.ge-hero-right:focus, #below-fold:focus { outline: none; }
.ge-hero-right {
  position: relative; z-index: 1;
  padding: 3.7rem 2.5rem 3.7rem 2rem;
  display: flex; flex-direction: column; justify-content: center;
  border-radius: 0 1rem 1rem 0;
  overflow: hidden;
  scroll-margin-top: 6rem;
}
.ge-scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  margin: 2rem auto 0;
  width: max-content;
  text-decoration: none;
  transition: opacity 0.4s, visibility 0s;
}
.ge-scroll-hint.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.4s, visibility 0s linear 0.4s; }
.ge-scroll-hint span { font-family: var(--hf); font-size: 0.875rem; color: var(--ge-gray-300); transition: color 0.2s; }
.ge-scroll-hint:hover span { color: var(--ge-white); }
.ge-scroll-hint svg { animation: ge-nudge-down 2s ease-in-out infinite; }
@keyframes ge-nudge-down { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ========================================
   8. "YOU'LL SEE" CARDS
   ======================================== */
.ge-see-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
/* House icon container + CSS mask icons (custom SVG set, gradient-filled) */
.ge-icon-tile {
  width: 4.5rem; height: 4.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(0,173,255,0.2));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.ge-icon-mask {
  width: 2.5rem; height: 2.5rem;
  background: linear-gradient(135deg, #8b5cf6, #00adff, #00d9c0);
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}

/* ========================================
   9. WHAT HAPPENS NEXT — signal pathway
   A sequence, so numbered nodes on a single connecting pathway.
   ======================================== */
.ge-pathway-wrap { position: relative; }
.ge-pathway {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.ge-pathway::before {
  content: '';
  position: absolute;
  top: 2.25rem;
  left: calc(16.66% + 2.25rem);
  right: calc(16.66% + 2.25rem);
  height: 2px;
  background: linear-gradient(90deg, rgba(139,92,246,0.6), rgba(0,173,255,0.6), rgba(0,217,192,0.6));
  border-radius: 2px;
}
.ge-pathway__pulse {
  position: absolute;
  top: calc(2.25rem - 4px);
  left: calc(16.66% + 2.25rem);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ge-mint);
  box-shadow: 0 0 12px rgba(0,217,192,0.9), 0 0 24px rgba(0,217,192,0.5);
  animation: ge-pulse-travel 3.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  pointer-events: none;
}
@keyframes ge-pulse-travel {
  0%   { left: calc(16.66% + 2.25rem); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: calc(83.33% - 2.25rem - 10px); opacity: 0; }
}
.ge-step { text-align: center; position: relative; }
.ge-step__node {
  position: relative;
  width: 4.5rem; height: 4.5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  padding: 2px;
  background: var(--ge-gradient);
  box-shadow: 0 0 24px rgba(139,92,246,0.35);
}
.ge-step__node > span {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--ge-deep-sea);
}
.ge-step__node .ge-icon-mask { display: block; width: 2.25rem; height: 2.25rem; }
.ge-step .ge-h3 { font-size: 1.25rem; margin-bottom: 0.625rem; }
.ge-step .ge-body { font-size: 1rem; }
.ge-step .ge-body { max-width: 21rem; margin: 0 auto; }

/* ========================================
   10. BUILT BY GROWTH ENGINEERING
   Uses the Light Glass callout (.ge-card-light) with a larger radius/padding.
   ======================================== */
.ge-built-card { border-radius: 1rem; padding: 3rem; }
.ge-built {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.ge-built .ge-h2 { text-align: left; }
.ge-built .ge-body { font-size: 1.0625rem; }
.ge-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0; padding: 0;
}
.ge-badge {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 1rem 1.125rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.ge-badge--wide { grid-column: 1 / -1; }
.ge-badge__icon {
  flex-shrink: 0;
  width: 2.5rem; height: 2.5rem;
  background: var(--ge-gradient);
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.ge-badge__text { font-size: 0.875rem; line-height: 1.4; color: var(--ge-white); font-weight: 500; }
.ge-badge__text small { display: block; font-size: 0.8125rem; color: var(--ge-gray-400); font-weight: 400; }

/* ========================================
   11. FAQ ACCORDION
   ======================================== */
.ge-faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.ge-faq-btn {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.125rem 0;
  background: none; border: none; cursor: pointer;
  text-align: left;
  font-family: var(--hf); font-size: 1.0625rem; font-weight: 500; line-height: 1.5;
  color: var(--ge-white);
}
.ge-faq-icon { flex-shrink: 0; font-size: 1.5rem; line-height: 1; color: var(--ge-mint); transition: transform 0.3s; }
.ge-faq-item.is-open .ge-faq-icon { transform: rotate(45deg); }
.ge-faq-heading { margin: 0; }
.ge-faq-panel { max-height: 0; overflow: hidden; visibility: hidden; transition: max-height 0.4s ease-in-out, visibility 0s linear 0.4s; }
.ge-faq-item.is-open .ge-faq-panel { max-height: 400px; visibility: visible; transition: max-height 0.4s ease-in-out, visibility 0s; }
.ge-faq-panel .ge-body { padding-bottom: 1.25rem; }

/* ========================================
   12. FINAL CTA
   ======================================== */
.ge-final { text-align: center; }
.ge-final .ge-h2 { margin-bottom: 2rem; }

/* ========================================
   13. RESPONSIVE (Demo LP Spec §4)
   ======================================== */
@media (max-width: 1024px) {
  .ge-see-grid { grid-template-columns: repeat(2, 1fr); }
  .ge-built { grid-template-columns: 1fr; gap: 2rem; }
  .ge-built-card { padding: 2.5rem 2rem; }
}
@media (max-width: 768px) {
  .ge-hero-card { grid-template-columns: 1fr; }
  .ge-hero-left { padding: 2rem 1.5rem 1.5rem; border-radius: 1rem 1rem 0 0; }
  .ge-hero-right { padding: 1.5rem; border-radius: 0 0 1rem 1rem; }
  .ge-pathway { grid-template-columns: 1fr; gap: 2.5rem; }
  .ge-pathway::before { display: none; }
  .ge-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 4.5rem; bottom: -2.5rem; left: calc(2.25rem - 1px);
    width: 2px;
    background: linear-gradient(180deg, rgba(139,92,246,0.6), rgba(0,173,255,0.6));
  }
  .ge-step:last-child { min-height: 4.5rem; }
  .ge-pathway__pulse { display: none; }
  .ge-step { display: grid; grid-template-columns: 4.5rem 1fr; gap: 0 1.25rem; text-align: left; }
  .ge-step__node { margin: 0; grid-row: 1 / span 2; }
  .ge-step .ge-body { margin: 0; max-width: none; }
}
@media (max-width: 640px) {
  .ge-h1 { font-size: 2.25rem; }
  .ge-h2 { font-size: 1.875rem; }
  .ge-hero-sub .ge-grad-text { font-size: 1.25rem; }
  .ge-hero-image { max-height: 240px; }
  .ge-section { padding: 3.5rem 0; }
  .ge-built-card { padding: 2rem 1.25rem; }
  /* ISO badges stay three-up on mobile: icon above label */
  .ge-badges { gap: 0.75rem; }
  .ge-badge:not(.ge-badge--wide) { flex-direction: column; justify-content: center; text-align: center; gap: 0.5rem; padding: 1rem 0.5rem; }
  .ge-badge:not(.ge-badge--wide) .ge-badge__text { font-size: 0.8125rem; }
}
@media (max-width: 480px) {
  .ge-hero-sub { gap: 0.5rem; }
  .ge-hero-sub .ge-grad-text { font-size: 1.125rem; }
  .ge-arrow-nudge { width: 20px; height: 20px; }
}
@media (max-width: 500px) {
  .ge-see-grid { grid-template-columns: 1fr; }
}