:root {
  --ge-bg:            #0a1628;
  --ge-bg-2:          #0d1a2d;
  --ge-purple:        #8b5cf6;
  --ge-purple-ac:     #a78bfa;   /* accessible purple for small body text */
  --ge-blue:          #00adff;
  --ge-mint:          #00d9c0;
  --ge-body:          #d1d5db;
  --ge-body-lead:     #e5e7eb;   /* brighter gray-200 for lead/hero body text */
  --ge-muted:         #9ca3af;
  --hf:               'Space Grotesk', system-ui, sans-serif;
  --bf:               'Inter', system-ui, sans-serif;

  /* HubSpot dark-theme overrides (penetrate Shadow DOM on Enterprise plans) */
  --hsf-font-family:              'Inter', system-ui, sans-serif;
  --hsf-label-color:              #d1d5db;
  --hsf-field-label-color:        #d1d5db;
  --hsf-input-color:              #ffffff;
  --hsf-input-background-color:   rgba(255,255,255,0.08);
  --hsf-input-border-color:       rgba(255,255,255,0.18);
  --hsf-input-focus-border-color: #00adff;
  --hsf-input-placeholder-color:  #9ca3af;
  --hsf-input-padding:            0.625rem 0.875rem;   /* tighter — keeps input at ~44px instead of ~90px default */
  --hsf-input-border-radius:      8px;
  --hsf-input-font-size:          0.95rem;
  --hsf-field-margin-bottom:      1rem;               /* tighter vertical rhythm between fields */
  --hsf-form-padding:             0;                  /* no padding on the form itself — parent signup-inner already pads */
  --hsf-form-background-color:    transparent;        /* kill the redundant dark card around the form */
  --hsf-submit-color:             #ffffff;
  --hsf-submit-background-color:  #8b5cf6;
  --hsf-submit-hover-background-color: #7c3aed;
  --hsf-submit-padding:           0.75rem 1.5rem;
  --hsf-submit-border-radius:     8px;
  --hsf-submit-font-size:         0.875rem;
  --hsf-submit-font-weight:       500;
  --hsf-submit-alignment:         left;               /* stop Register sliding to the right edge */
  --hsf-legal-consent-color:      #9ca3af;
  --hsf-link-color:               #00adff;
  --hsf-error-color:              #ff6b6b;
}

/* ===================================================================
   RESET & BASE
   =================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  background: linear-gradient(135deg, #0a1628 0%, #0d1a2d 50%, #0a1628 100%);
  font-family: var(--bf);
  color: #ffffff;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ge-purple);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* ===================================================================
   NEURAL BACKGROUND CANVAS
   =================================================================== */
.ge-neural-canvas {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

/* Skip link (WCAG 2.4.1 — visible on keyboard focus only) */
.ge-skip-link {
  position: absolute;
  top: -40px;
  left: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--ge-purple);
  color: #fff;
  font-family: var(--bf);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  z-index: 1000;
  transition: top 0.2s;
}
.ge-skip-link:focus {
  top: 0;
  outline: 2px solid var(--ge-blue);
  outline-offset: 2px;
}

/* Ambient radial gradients sitting behind content */
.ge-ambient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}
.ge-ambient-1 { background: radial-gradient(ellipse 80% 50% at 70% 20%, rgba(139,92,246,0.06) 0%, transparent 50%); }
.ge-ambient-2 { background: radial-gradient(ellipse 60% 40% at 30% 70%, rgba(139,92,246,0.04) 0%, transparent 50%); }

/* ===================================================================
   LAYOUT
   =================================================================== */
.ge-section {
  position: relative;
  z-index: 10;
  padding: 80px 0;
}
.ge-hero {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;       /* column so the chevron can sit below the wrap as a separate flex child */
}
.ge-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}
.ge-hero-wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 120px 1.5rem 80px 1.5rem;
  width: 100%;
  flex-grow: 1;                 /* takes all remaining vertical space, centring its contents via align-items on ge-hero-grid */
  display: flex;
  align-items: center;
}

/* 1200px padding breakpoint (cross-page consistency) */
@media (min-width: 1200px) {
  .ge-container,
  .ge-hero-wrap { padding-left: 2.5rem; padding-right: 2.5rem; }
}

/* ===================================================================
   TYPOGRAPHY
   =================================================================== */
.ge-h1 {
  font-family: var(--hf);
  font-size: clamp(2.5rem, 8vw, 3.75rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
  color: #fff;
}
.ge-h2 {
  font-family: var(--hf);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.2;
}
.ge-h3 {
  font-family: var(--hf);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
}
.ge-h4 {
  font-family: var(--hf);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
}
.ge-lead {
  color: var(--ge-body-lead);    /* brighter gray-200 — matches Sustainability page spec */
  font-size: 1.125rem;           /* 18px — matches Tailwind text-lg on other pages */
  font-weight: 400;
  line-height: 1.7;              /* matches cross-page hero/lead paragraph spec */
  margin: 0 0 2rem;
}
.ge-body {
  color: var(--ge-body);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

/* Gradient text */
.ge-grad-text {
  background: linear-gradient(90deg, #8b5cf6, #00adff, #00d9c0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.ge-grad-subhead {
  font-family: var(--hf);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  background: linear-gradient(135deg, #8b5cf6 0%, #8b5cf6 20%, #00adff 50%, #00d9c0 80%, #00d9c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(139,92,246,0.4));
  margin: 0;
}
.ge-section-head {
  text-align: center;
  margin-bottom: 3rem;
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.ge-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Primary — liquid fill hover */
.ge-btn-primary {
  position: relative;
  overflow: hidden;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139,92,246,0.8);
  color: #fff;
  border: 0;                 /* no border — match secondary for symmetrical pair */
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  /* inset shadow keeps the 1px purple outline effect without changing box size */
  box-shadow: inset 0 0 0 1px rgba(139,92,246,0.5), 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  font-family: var(--bf);
  text-decoration: none;
  cursor: pointer;
}
.ge-btn-primary::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, #8b5cf6, #00adff);
  transform: translateX(-100%);
  transition: transform 0.5s;
  z-index: 0;
}
.ge-btn-primary > span,
.ge-btn-primary > .ge-btn-arrow {
  position: relative;
  z-index: 1;
}
.ge-btn-primary .ge-btn-arrow {
  transition: transform 0.3s;
  display: inline-block;
}
.ge-btn-primary:hover,
.ge-btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(139,92,246,0.5), 0 8px 32px rgba(139,92,246,0.3);
}
.ge-btn-primary:hover::before,
.ge-btn-primary:focus-visible::before { transform: translateX(0); }
.ge-btn-primary:hover .ge-btn-arrow,
.ge-btn-primary:focus-visible .ge-btn-arrow { transform: translateX(4px); }

/* Secondary — SVG gradient border draw-on (self-contained; overflow:visible) */
.ge-btn-secondary {
  position: relative;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  /* gap removed — with 3 absolute-positioned decorative children, flex gap
     accumulates phantom space between them, pushing text off-centre. The
     arrow gets its spacing via margin-left below instead. */
  background: rgba(255,255,255,0.05);
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: visible;   /* CRITICAL - do not clip the SVG border */
  transition: background 0.3s, transform 0.3s;
  font-family: var(--bf);
  text-decoration: none;
  cursor: pointer;
  border: 0;           /* matches primary — both buttons have identical box dimensions */
}
.ge-btn-secondary::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: opacity 0.3s;
  pointer-events: none;
  opacity: 1;
}
.ge-btn-secondary::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(139,92,246,0.3);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.ge-btn-secondary__svg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;   /* CRITICAL */
  pointer-events: none;
}
.ge-btn-secondary__svg rect {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 0.6s ease-out;
}
.ge-btn-secondary > span,
.ge-btn-secondary > .ge-btn-arrow {
  position: relative;
  z-index: 1;
}
.ge-btn-secondary .ge-btn-arrow {
  transition: transform 0.3s;
  display: inline-block;
  margin-left: 0.5rem;  /* replaces the removed flex gap — keeps 8px text-arrow spacing */
}
.ge-btn-secondary:hover,
.ge-btn-secondary:focus-visible {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.ge-btn-secondary:hover::before,
.ge-btn-secondary:focus-visible::before { opacity: 0; }
.ge-btn-secondary:hover .ge-btn-secondary__svg rect,
.ge-btn-secondary:focus-visible .ge-btn-secondary__svg rect { stroke-dashoffset: 0; }
.ge-btn-secondary:hover::after,
.ge-btn-secondary:focus-visible::after { opacity: 1; }
.ge-btn-secondary:hover .ge-btn-arrow,
.ge-btn-secondary:focus-visible .ge-btn-arrow { transform: translateX(4px); }

/* ===================================================================
   AI FEATURE ROW — alternating image/text row layout
   Used on the "AI Designed for the Brain" section. Each row is a 2-col
   grid; the --reverse modifier swaps image and text to alternate sides.
   =================================================================== */
.ge-ai-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.ge-ai-row:last-of-type { margin-bottom: 0; }
.ge-ai-row__image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ge-ai-row__image img {
  display: block;
  max-width: 100%;
  max-height: 480px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.ge-ai-row__text { max-width: 34em; }
.ge-ai-row__icon { margin-bottom: 1.25rem; }
.ge-ai-row__eyebrow {
  display: inline-block;
  font-family: var(--bf);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a78bfa;
  margin-bottom: 0.75rem;
}
.ge-ai-row__title {
  font-family: var(--hf);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.2;
}
.ge-ai-row__desc {
  color: var(--ge-body);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}
/* Reverse: text on left, image on right */
.ge-ai-row--reverse .ge-ai-row__image { order: 2; }
.ge-ai-row--reverse .ge-ai-row__text { order: 1; }

@media (max-width: 900px) {
  .ge-ai-row, .ge-ai-row--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
  }
  /* On mobile, image always comes first for consistent reading order */
  .ge-ai-row--reverse .ge-ai-row__image { order: 0; }
  .ge-ai-row--reverse .ge-ai-row__text { order: 0; }
  .ge-ai-row__image img { max-height: 360px; }
}

/* ===================================================================
   ICON MASK UTILITY
   Renders an external SVG icon with the brand gradient via CSS mask.
   Usage: <span class="ge-icon-mask" style="--icon-url:url('...')"></span>
   =================================================================== */
   .ge-blog-card__img-wrap img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}
.ge-icon-mask1 {
  display: inline-block;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #8b5cf6 0%, #00adff 50%, #00d9c0 100%);
  -webkit-mask-image: var(--icon-url);
  mask-image: var(--icon-url);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  flex-shrink: 0;
}
.ge-icon-mask--sm { width: 40px; height: 40px; }

/* ===================================================================
   GLASS CARDS
   =================================================================== */
.ge-glass {
  position: relative;
  border-radius: 16px;
  padding: 1.5rem;
  background: rgba(255,255,255,0.05);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: background 0.5s cubic-bezier(0.4,0,0.2,1),
              border-color 0.5s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.5s cubic-bezier(0.4,0,0.2,1),
              transform 0.5s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.ge-glass__glow {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(139,92,246,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.ge-glass__inner { position: relative; z-index: 1; }
.ge-glass:hover {
  background: rgba(255,255,255,0.07);
  -webkit-backdrop-filter: blur(24px) saturate(1.1);
  backdrop-filter: blur(24px) saturate(1.1);
  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-glass:hover .ge-glass__glow { opacity: 1; }

/* Light Glass modifier — neutralises the heavier backdrop-filter, shadow,
   and bg tokens so the neural canvas shows through at rest. Used on stat
   cards in the "Mapped to UK Standards" section. */
.ge-glass.ge-glass--light {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}
.ge-glass.ge-glass--light:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(139,92,246,0.2);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 20px rgba(139,92,246,0.08);
}

/* Feature card — Light Glass spec (per GE Feature Card design system).
   Lighter than .ge-glass at rest (no shadow, no blur) so the neural canvas
   shows through; materialises into a glowing card on hover. */
.ge-feature-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: 12px;
  height: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.5s cubic-bezier(0.4,0,0.2,1),
              border-color 0.5s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.5s cubic-bezier(0.4,0,0.2,1),
              transform 0.5s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  --ge-card-rgb: 139,92,246;
}
.ge-feature-card--blue { --ge-card-rgb: 0,173,255; }
.ge-feature-card--mint { --ge-card-rgb: 0,217,192; }
.ge-feature-card__glow {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(var(--ge-card-rgb), 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.ge-feature-card__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.ge-feature-card__icon { margin-bottom: 1rem; }
.ge-feature-card__icon svg { display: block; }
.ge-feature-card__title {
  font-family: var(--hf);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
}
.ge-feature-card__desc {
  color: var(--ge-body);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}
/* Image wrapper — max-height cap on each image so portrait (phone) and
   landscape (dashboards) shots share a similar vertical footprint. Grid
   equalises card heights; bottom-aligned images keep the visual baseline. */
.ge-feature-card__img-wrap {
  margin-top: auto;
  padding-top: 1.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.ge-feature-card__img-wrap img {
  display: block;
  max-width: 100%;
  max-height: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.ge-feature-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(var(--ge-card-rgb), 0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 20px rgba(var(--ge-card-rgb), 0.08);
  transform: translateY(-2px);
}
.ge-feature-card:hover .ge-feature-card__glow { opacity: 1; }

/* ===================================================================
   ZAVMO HERO EMBED
   Self-contained inline hero (class prefix intentionally zavmo-, supplied
   by the Zavmo team — kept as-is so the embed stays portable). The hero
   screen HTML is inlined into a Blob URL by JS (see the script block near
   the page's closing body tag) so there are zero external file dependencies.
   =================================================================== */
.zavmo-hero-wrap {
  position: relative;
  max-width: 680px;
  width: 100%;
  animation: zavmoFadeUp 0.6s ease 0.4s both;
}
.zavmo-hero-frame {
  width: 100%;
  aspect-ratio: 14 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  background: #0d1e36;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.zavmo-hero-frame:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35),
              0 0 30px rgba(0, 217, 192, 0.06);
}
.zavmo-hero-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  pointer-events: none;
}
.zavmo-node {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #00d9c0;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 217, 192, 0.5),
              0 0 4px rgba(0, 217, 192, 0.3);
  z-index: 5;
  opacity: 0.6;
  pointer-events: none;
  animation: zavmoNodeTravel 14s linear infinite;
}
.zavmo-node-2 {
  animation-delay: -7s;
  opacity: 0.35;
  width: 4px;
  height: 4px;
}
@keyframes zavmoNodeTravel {
  0%   { top: -3px; left: -3px; }
  25%  { top: -3px; left: calc(100% - 3px); }
  50%  { top: calc(100% - 3px); left: calc(100% - 3px); }
  75%  { top: calc(100% - 3px); left: -3px; }
  100% { top: -3px; left: -3px; }
}
@keyframes zavmoFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .zavmo-node { animation: none; opacity: 0.4; top: -3px; left: -3px; }
  .zavmo-node-2 { display: none; }
  .zavmo-hero-wrap { animation: none; opacity: 1; }
}

/* ===================================================================
   PLACEHOLDERS (for assets pending delivery)
   =================================================================== */
.ge-placeholder {
  width: 100%;
  background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(0,173,255,0.2));
  border: 2px dashed rgba(139,92,246,0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  text-align: center;
}
.ge-placeholder__icon {
  color: rgba(139,92,246,0.6);
}
.ge-placeholder__label {
  color: rgba(139,92,246,0.9);
  font-family: var(--hf);
  font-size: 0.875rem;
  padding: 0 0.5rem;
}

/* ===================================================================
   HERO
   =================================================================== */
.ge-hero-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .ge-hero-grid { grid-template-columns: 1fr; }
}
.ge-hero-image {
  width: 100%;
  object-fit: contain;
}
/* Constrain body text only — copy column keeps full width so CTA row stays inline */
.ge-hero-copy .ge-lead { max-width: 26em; }

/* Scroll chevron — cross-page spec (matches Impact Suite, LMS, App feature pages) */
.ge-scroll-chevron {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  margin: 0 auto 2rem;       /* centred horizontally, 2rem from bottom of hero */
  padding: 0.5rem 1rem;
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.4s ease, color 0.3s;
  z-index: 5;
}
.ge-scroll-chevron.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.ge-scroll-chevron__label {
  font-family: var(--bf);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ge-muted);
  transition: color 0.3s;
}
.ge-scroll-chevron:hover .ge-scroll-chevron__label,
.ge-scroll-chevron:focus-visible .ge-scroll-chevron__label {
  color: var(--ge-body);
}
.ge-scroll-chevron__icon {
  width: 24px;
  height: 24px;
  animation: geChevronBounce 2s ease-in-out infinite;
}
@keyframes geChevronBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .ge-scroll-chevron__icon { animation: none; }
}

/* Glitch headline */
.ge-glitch {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.1em;
  flex-wrap: wrap;
}
.ge-glitch__word {
  position: relative;
  display: inline-block;
}
.ge-glitch__word--glitching {
  font-family: monospace !important;
  animation: geGlitchShake 0.1s infinite, geFlicker 0.15s infinite;
}
.ge-glitch__word--glitching .ge-glitch__text {
  animation: geRgbSplit 0.2s infinite;
}
.ge-glitch__text {
  background: linear-gradient(90deg, #8b5cf6, #00adff, #00d9c0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: color 0.3s;
}
.ge-glitch__bar-1 {
  position: absolute;
  top: 20%; left: -5%; right: -5%;
  height: 10%;
  background: rgba(139,92,246,0.3);
  clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%);
  animation: geFlicker 0.1s infinite;
  pointer-events: none;
}
.ge-glitch__bar-2 {
  position: absolute;
  top: 60%; left: 10%; right: 0;
  height: 8%;
  background: rgba(0,217,192,0.3);
  clip-path: polygon(2% 0, 100% 0, 100% 100%, 0 100%);
  animation: geFlicker 0.15s infinite;
  pointer-events: none;
}
.ge-glitch__real {
  background: linear-gradient(90deg, #8b5cf6, #00adff, #00d9c0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-flex;
  align-items: center;
}
.ge-glitch__real--pulse { animation: geGlowPulse 2s ease-in-out; }
.ge-glitch__cursor {
  width: 4px;
  height: 1em;
  background: linear-gradient(180deg, #8b5cf6, #00d9c0);
  margin-left: 4px;
  animation: geCursorBlink 0.6s infinite;
  display: inline-block;
}
.ge-glitch__intelligence {
  font-family: var(--hf);
  font-size: clamp(2.5rem, 8vw, 3.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.ge-glitch__replay {
  width: 44px;              /* WCAG 2.5.5 AAA touch target (44×44px minimum) */
  height: 44px;
  border-radius: 50%;
  background: rgba(139,92,246,0.2);
  border: 1px solid rgba(139,92,246,0.4);
  color: #8b5cf6;
  font-size: 1.125rem;      /* slightly larger glyph to suit the bigger button */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
  flex-shrink: 0;
  font-family: var(--bf);
  line-height: 1;
  padding: 0;
}
.ge-glitch__replay:hover,
.ge-glitch__replay:focus-visible {
  background: rgba(139,92,246,0.4);
  transform: scale(1.1);
}
.ge-scanline {
  position: fixed;
  top: 0; right: 0; left: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 100;
  height: 100vh;
}
.ge-scanline__line {
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(0,217,192,0.4), transparent);
  animation: geScanline 1.4s linear infinite;
  box-shadow: 0 0 20px rgba(0,217,192,0.3);
}

@keyframes geGlitchShake {
  0%, 100% { transform: translate(0); }
  20%      { transform: translate(-2px, 1px); }
  40%      { transform: translate(2px, -1px); }
  60%      { transform: translate(-1px, 2px); }
  80%      { transform: translate(1px, -1px); }
}
@keyframes geRgbSplit {
  0%, 100% { text-shadow: none; }
  33%      { text-shadow: -2px 0 #8b5cf6, 2px 0 #00d9c0; }
  66%      { text-shadow: 2px 0 #8b5cf6, -2px 0 #00adff; }
}
@keyframes geFlicker {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.8; }
}
@keyframes geCursorBlink {
  0%, 50%   { opacity: 1; }
  51%, 100% { opacity: 0; }
}
@keyframes geGlowPulse {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50%      { filter: drop-shadow(0 0 20px rgba(0,217,192,0.6)); }
}
@keyframes geScanline {
  0%   { top: -10%; }
  100% { top: 110%; }
}

/* ===================================================================
   GRIDS
   =================================================================== */
.ge-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.ge-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.ge-grid-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.ge-two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));  /* min() lets cells shrink below 300px on narrow viewports instead of overflowing */
  gap: 3rem;
  align-items: center;
}

/* ===================================================================
   ZAVMO INTRO SECTION
   =================================================================== */
.ge-pill {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.3);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ge-purple-ac);  /* accessible purple, not #8b5cf6 */
  margin-bottom: 1rem;
  font-family: var(--bf);
}
.ge-zavmo-intro { margin-bottom: 120px; }

/* ===================================================================
   STEP CARDS (4D PROCESS)
   =================================================================== */
.ge-step-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.5s cubic-bezier(0.4,0,0.2,1),
              border-color 0.5s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.5s cubic-bezier(0.4,0,0.2,1),
              transform 0.5s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.ge-step-card__glow {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(139,92,246,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.ge-step-card__inner { position: relative; z-index: 1; }
.ge-step-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.ge-step-card__num {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--hf);
  background: linear-gradient(135deg, #8b5cf6 0%, #00adff 50%, #00d9c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(139,92,246,0.4));
}
.ge-step-card__icon {
  display: block;
}
.ge-step-card__title {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  font-family: var(--hf);
  margin: 0 0 0.75rem;
}
.ge-step-card__title-initial {
  background: linear-gradient(135deg, #8b5cf6 0%, #00adff 50%, #00d9c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 6px rgba(139,92,246,0.5));
}
.ge-step-card__desc {
  color: var(--ge-body);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}
.ge-step-card: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-step-card:hover .ge-step-card__glow { opacity: 1; }

/* ===================================================================
   STATS
   =================================================================== */
.ge-stat { text-align: center; }
.ge-stat__value {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  font-family: var(--hf);
  background: linear-gradient(135deg, #8b5cf6 0%, #8b5cf6 30%, #00adff 60%, #00d9c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(139,92,246,0.6))
          drop-shadow(0 0 24px rgba(139,92,246,0.4));
  line-height: 1.1;
}
.ge-stat__label {
  color: var(--ge-body);
  font-size: 1rem;
  margin: 0.5rem 0 0;
}

/* ===================================================================
   SIGN-UP SECTION (HubSpot form wrapper)
   =================================================================== */
.ge-signup-outer {
  position: relative;
  border-radius: 17px;
  padding: 1px;
  background: linear-gradient(135deg, #8b5cf6, #00adff, #00d9c0);
}
.ge-signup-inner {
  border-radius: 16px;
  padding: 5rem 2.5rem;        /* 80px top/bottom for breathing room above title & below form; 40px sides */
  background: rgba(10,22,40,0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.ge-signup-content {
  max-width: 720px;            /* widened from 560px so title sits on one line at desktop */
  margin: 0 auto;
  text-align: center;
}
.ge-signup-content .ge-h2 { margin-bottom: 1rem; }
.ge-signup-lead {
  font-size: 1rem;
  margin: 0 auto 2rem;
  max-width: 44em;
}
/* Form block: cap width and centre horizontally so it sits balanced under
   the centred title. Inner form controls remain left-aligned for readability. */
.ge-signup-form {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}
@media (max-width: 760px) {
  .ge-signup-inner { padding: 3.5rem 1.5rem; }
  .ge-signup-form { max-width: 100%; }
}
.ge-signup-link { color: var(--ge-blue); text-decoration: underline; }

/* Kill HubSpot's default frame padding / background / border —
   the frame is in light DOM so external CSS reaches it.
   Without this, HubSpot stacks a second dark card on top of our signup-inner. */
.ge-signup-form .hs-form-frame,
.ge-signup-form form {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* Safety-net fallbacks (work for non-Enterprise plans where the --hsf-* vars
   don't penetrate the Shadow DOM, and for any styles HubSpot renders in
   light DOM rather than inside the shadow tree). */
.ge-signup-form .hs-form-frame input[type=text],
.ge-signup-form .hs-form-frame input[type=email],
.ge-signup-form .hs-form-frame input[type=tel],
.ge-signup-form .hs-form-frame textarea {
  color: #fff !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 8px !important;
  padding: 0.625rem 0.875rem !important;
  font-size: 0.95rem !important;
  height: auto !important;           /* stop the massive default height */
  min-height: 0 !important;
  line-height: 1.4 !important;
}
.ge-signup-form .hs-form-frame input::placeholder,
.ge-signup-form .hs-form-frame textarea::placeholder {
  color: var(--ge-muted) !important;
}
.ge-signup-form .hs-form-frame label,
.ge-signup-form .hs-form-frame .legal-consent-container {
  color: var(--ge-body) !important;
}
.ge-signup-form .hs-form-frame .hs-button,
.ge-signup-form .hs-form-frame input[type=submit] {
  background: #8b5cf6 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 500 !important;
  font-family: var(--bf) !important;
  font-size: 0.875rem !important;
  cursor: pointer !important;
  transition: background 0.3s !important;
}
.ge-signup-form .hs-form-frame .hs-button:hover,
.ge-signup-form .hs-form-frame input[type=submit]:hover {
  background: #7c3aed !important;
}

/* ===================================================================
   BLOG CARDS
   =================================================================== */
.ge-blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.5s cubic-bezier(0.4,0,0.2,1),
              border-color 0.5s cubic-bezier(0.4,0,0.2,1),
              transform 0.5s cubic-bezier(0.4,0,0.2,1);
  text-decoration: none;
  color: inherit;
}
.ge-blog-card:hover,
.ge-blog-card:focus-visible {
  background: rgba(255,255,255,0.07);
  border-color: rgba(139,92,246,0.2);
  transform: translateY(-4px);
}
.ge-blog-card__img-wrap { padding: 1rem 1rem 0; }
.ge-blog-card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.ge-blog-card__title {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  font-family: var(--hf);
  margin: 0 0 0.75rem;
  flex-grow: 1;
}
.ge-blog-card__cta {
  font-size: 0.875rem;
  color: var(--ge-blue);
  display: inline-flex;
  align-items: center;
}
.ge-blog-card__arrow {
  margin-left: 4px;
  display: inline-block;
  transition: transform 0.3s;
}
.ge-blog-card:hover .ge-blog-card__arrow { transform: translateX(4px); }

/* ===================================================================
   CTA FINAL
   =================================================================== */
.ge-cta-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}
.ge-cta-narrow .ge-btn-group { justify-content: center; }
@media (min-width: 1200px) {
  .ge-cta-narrow { padding-left: 2.5rem; padding-right: 2.5rem; }
}