/* ==========================================================================
   GCX Cannabis Whales — Theme Stylesheet
   Vanilla CSS, mobile-first, BEM-ish class naming with `gcx-` prefix.
   Sections: Tokens, Reset/Base, Layout, Buttons, Header, Hero, Trust,
             Video, Stats, Testimonials, Demo + Form, FAQ, Footer,
             Legal, Utilities, Animations, Responsive, Reduced Motion.
   ========================================================================== */


/* === TOKENS ============================================================== */
:root {
  /* Brand */
  --gcx-blue-light: #3391AF;
  --gcx-blue-mid: #277395;
  --gcx-blue-dark: #254C75;

  /* Surfaces */
  --gcx-dark: #0f1419;
  --gcx-dark-navy: #1a1a1a;
  --gcx-bg: #f8f9fa;
  --gcx-fg: #1a1a1a;
  --gcx-card: #ffffff;
  --gcx-muted-fg: #666666;
  --gcx-muted-bg: #f1f5f9;
  --gcx-border: #e2e8f0;
  --gcx-input-border: #e2e8f0;
  --gcx-destructive: #ef4444;

  /* Radii */
  --gcx-radius-sm: 0.375rem;
  --gcx-radius: 0.5rem;
  --gcx-radius-lg: 1rem;
  --gcx-radius-xl: 1.5rem;
  --gcx-radius-full: 9999px;

  /* Gradients */
  --gcx-grad-blue: linear-gradient(to right, #3391AF, #277395, #254C75);

  /* Shadows */
  --gcx-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --gcx-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.05);
  --gcx-shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --gcx-shadow-blue-glow: 0 10px 25px -5px rgba(51, 145, 175, 0.3);

  /* Motion */
  --gcx-transition: 0.3s ease;

  /* Type */
  --gcx-font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --gcx-font-display: 'DM Sans', 'Inter', system-ui, sans-serif;

  /* Sizing */
  --gcx-container-max: 80rem; /* 1280px */
  --gcx-header-h: 4rem;
}

@media (min-width: 1024px) {
  :root {
    --gcx-header-h: 5rem;
  }
}


/* === RESET / BASE ======================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--gcx-font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--gcx-fg);
  background-color: var(--gcx-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--gcx-font-display);
  margin: 0;
  line-height: 1.2;
  color: var(--gcx-fg);
}

p {
  margin: 0;
}

/* Scroll anchor offset so fixed header doesn't cover targets */
[id] {
  scroll-margin-top: 6rem;
}

/* Selection */
::selection {
  background: rgba(51, 145, 175, 0.25);
  color: var(--gcx-fg);
}

/* Skip link helper if present */
.gcx-skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gcx-blue-dark);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
  transition: top var(--gcx-transition);
}
.gcx-skip-link:focus {
  top: 0;
}


/* === LAYOUT ============================================================== */
.gcx-container {
  width: 100%;
  max-width: var(--gcx-container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 1024px) {
  .gcx-container {
    padding-inline: 2rem;
  }
}

.gcx-section {
  padding-block: 4rem;
}

@media (min-width: 1024px) {
  .gcx-section {
    padding-block: 6rem;
  }
}

.gcx-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .gcx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gcx-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gcx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .gcx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gcx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}


/* === BUTTONS ============================================================= */
.gcx-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--gcx-radius);
  cursor: pointer;
  overflow: hidden;
  transition: background-color var(--gcx-transition),
              border-color var(--gcx-transition),
              color var(--gcx-transition),
              box-shadow var(--gcx-transition),
              transform var(--gcx-transition);
  min-height: 44px;
}

.gcx-btn:focus-visible {
  outline: 2px solid var(--gcx-blue-light);
  outline-offset: 2px;
}

.gcx-btn--pill {
  border-radius: var(--gcx-radius-full);
}

.gcx-btn--primary {
  background: var(--gcx-grad-blue);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: var(--gcx-radius-full);
}

.gcx-btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0);
  transition: background-color var(--gcx-transition);
  pointer-events: none;
}

.gcx-btn--primary:hover {
  box-shadow: var(--gcx-shadow-blue-glow);
}

.gcx-btn--primary:hover::before {
  background-color: rgba(255, 255, 255, 0.1);
}

.gcx-btn--secondary {
  background: transparent;
  color: var(--gcx-blue-dark);
  border-color: var(--gcx-blue-dark);
  padding: 0.625rem 1.25rem;
  border-radius: var(--gcx-radius-full);
  font-size: 0.875rem;
}

.gcx-btn--secondary:hover {
  background-color: var(--gcx-blue-dark);
  color: #fff;
}

.gcx-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  padding: 1rem 1.5rem;
  border-radius: var(--gcx-radius-full);
}

.gcx-btn--ghost:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.gcx-btn--block {
  width: 100%;
}

.gcx-btn[disabled],
.gcx-btn.gcx-is-loading {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Arrow shift on hover (group behavior) */
.gcx-btn .gcx-btn__icon,
.gcx-btn svg {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform var(--gcx-transition);
  flex-shrink: 0;
}

.gcx-btn:hover .gcx-btn__icon,
.gcx-btn:hover svg:not(.gcx-spinner) {
  transform: translateX(0.25rem);
}

/* Inline spinner inside .gcx-btn when loading */
.gcx-btn .gcx-spinner {
  width: 1.125rem;
  height: 1.125rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  transform: none !important;
}


/* === HEADER ============================================================== */
.gcx-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

/* Mobile: no sticky bar and no (empty) hamburger — header is just the logo,
   scrolling normally above the hero. */
@media (max-width: 767px) {
  .gcx-header {
    position: static;
  }
}

.gcx-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--gcx-header-h);
  width: 100%;
  max-width: var(--gcx-container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 1024px) {
  .gcx-header__inner {
    padding-inline: 2rem;
  }
}

.gcx-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--gcx-font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--gcx-fg);
}

.gcx-header__logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .gcx-header__logo-img {
    height: 44px;
  }
}

.gcx-header__nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .gcx-header__nav {
    display: flex;
  }
}

.gcx-header__nav-link {
  font-size: 0.875rem;
  color: var(--gcx-muted-fg);
  transition: color var(--gcx-transition);
}

.gcx-header__nav-link:hover,
.gcx-header__nav-link:focus-visible {
  color: var(--gcx-fg);
}

.gcx-header__cta {
  display: none;
}

@media (min-width: 768px) {
  .gcx-header__cta {
    display: inline-flex;
  }
}

/* Mobile menu toggle */
.gcx-header__menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--gcx-radius);
  color: var(--gcx-fg);
  transition: background-color var(--gcx-transition);
}

.gcx-header__menu-toggle:hover {
  background-color: var(--gcx-muted-bg);
}

.gcx-header__menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform var(--gcx-transition), background var(--gcx-transition);
}

.gcx-header__menu-toggle span::before,
.gcx-header__menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform var(--gcx-transition), top var(--gcx-transition);
}

.gcx-header__menu-toggle span::before { top: -7px; }
.gcx-header__menu-toggle span::after  { top:  7px; }

@media (min-width: 768px) {
  .gcx-header__menu-toggle {
    display: none;
  }
}

/* Mobile drawer state */
.gcx-header__nav.gcx-is-open {
  display: flex;
  position: fixed;
  inset: var(--gcx-header-h) 0 0 0;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: 1.5rem;
  background: #fff;
  border-top: 1px solid var(--gcx-border);
  overflow-y: auto;
  z-index: 49;
}

.gcx-header__nav.gcx-is-open .gcx-header__nav-link {
  display: block;
  padding: 1rem 0;
  font-size: 1.125rem;
  color: var(--gcx-fg);
  border-bottom: 1px solid var(--gcx-border);
  min-height: 48px;
}

.gcx-header__nav.gcx-is-open .gcx-header__cta {
  display: inline-flex;
  margin-top: 1.5rem;
  align-self: flex-start;
}


/* === HERO ================================================================ */
.gcx-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--gcx-dark);
  isolation: isolate;
}

.gcx-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.gcx-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 20, 25, 0.95),
    rgba(15, 20, 25, 0.8),
    rgba(15, 20, 25, 0.6)
  );
  z-index: -1;
}

/* Decorative blurred blobs */
.gcx-hero::before,
.gcx-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.gcx-hero::before {
  top: 5rem;
  right: 2.5rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(51, 145, 175, 0.18), transparent 70%);
}

.gcx-hero::after {
  bottom: 5rem;
  left: 2.5rem;
  width: 12rem;
  height: 12rem;
  background: radial-gradient(circle, rgba(39, 115, 149, 0.16), transparent 70%);
}

.gcx-hero__content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--gcx-container-max);
  margin-inline: auto;
  padding: 8rem 1.5rem;
}

@media (min-width: 1024px) {
  .gcx-hero__content {
    padding-inline: 2rem;
  }
}

.gcx-hero__inner {
  max-width: 48rem;
}

.gcx-hero__headline {
  font-family: var(--gcx-font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.gcx-hero__subheading {
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  max-width: 42rem;
}

@media (min-width: 768px) {
  .gcx-hero__subheading {
    font-size: 1.25rem;
  }
}

.gcx-hero__value-props {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.gcx-hero__value-prop {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.gcx-hero__value-prop::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--gcx-blue-light);
  flex-shrink: 0;
}

.gcx-hero__cta-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

@media (min-width: 640px) {
  .gcx-hero__cta-group {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* Bottom fade-out into next section */
.gcx-hero__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--gcx-bg), transparent);
  z-index: 1;
  pointer-events: none;
}


/* === TRUST BAR =========================================================== */
.gcx-trust {
  background-color: var(--gcx-bg);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  padding-block: 3rem;
}

.gcx-trust__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .gcx-trust__inner { gap: 3rem; }
}

@media (min-width: 1024px) {
  .gcx-trust__inner { gap: 4rem; }
}

.gcx-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gcx-muted-fg);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--gcx-transition);
}

.gcx-trust__item:hover {
  color: var(--gcx-fg);
}

.gcx-trust__item svg,
.gcx-trust__item img {
  width: 1.25rem;
  height: 1.25rem;
}


/* === SECTION HEADER (shared) ============================================= */
.gcx-section-header {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto 4rem;
}

.gcx-section-header__eyebrow {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: var(--gcx-radius-full);
  border: 1px solid var(--gcx-border);
  font-size: 0.8125rem;
  color: var(--gcx-muted-fg);
  margin-bottom: 1rem;
}

.gcx-section-header__title {
  font-family: var(--gcx-font-display);
  font-weight: 700;
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--gcx-fg);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.gcx-section-header__lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--gcx-muted-fg);
  max-width: 48rem;
  margin: 0 auto 1rem;
}

.gcx-section-header__sub {
  font-size: 0.875rem;
  color: var(--gcx-muted-fg);
}


/* === VIDEO =============================================================== */
.gcx-video {
  background-color: var(--gcx-bg);
}

.gcx-video__eyebrow {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: var(--gcx-radius-full);
  border: 1px solid var(--gcx-border);
  font-size: 0.8125rem;
  color: var(--gcx-muted-fg);
  margin-bottom: 1rem;
}

.gcx-video__player {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background-color: var(--gcx-dark);
  border-radius: var(--gcx-radius-xl);
  overflow: hidden;
  box-shadow: var(--gcx-shadow-lg);
  transition: box-shadow 0.5s ease;
}

.gcx-video__player.gcx-is-playing {
  box-shadow: var(--gcx-shadow-lg), 0 0 0 1px rgba(51, 145, 175, 0.2),
              0 20px 60px -10px rgba(51, 145, 175, 0.25);
}

.gcx-video__thumb {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.gcx-video__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(15, 20, 25, 0.4);
}

.gcx-video__play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.gcx-video__play-btn-inner {
  position: relative;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--gcx-grad-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--gcx-shadow-blue-glow);
  transition: transform var(--gcx-transition);
  animation: breathe 2.5s ease-in-out infinite;
}

.gcx-video__play-btn:hover .gcx-video__play-btn-inner {
  transform: scale(1.1);
}

.gcx-video__play-btn-inner svg {
  width: 2rem;
  height: 2rem;
  color: #fff;
  fill: #fff;
  margin-left: 4px;
}

/* Pulse rings */
.gcx-video__play-btn-inner::before,
.gcx-video__play-btn-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(51, 145, 175, 0.3);
  animation: pulse-ring 2s ease-out infinite;
  pointer-events: none;
}

.gcx-video__play-btn-inner::after {
  background: rgba(51, 145, 175, 0.2);
  animation-delay: 0.5s;
}

.gcx-video__corner-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--gcx-radius-full);
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--gcx-blue-dark);
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 2;
}

.gcx-video__player iframe,
.gcx-video__player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* Hide thumb/play/label once playing */
.gcx-video__player.gcx-is-playing .gcx-video__thumb,
.gcx-video__player.gcx-is-playing .gcx-video__play-btn,
.gcx-video__player.gcx-is-playing .gcx-video__corner-label {
  display: none;
}

.gcx-video__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: -2.5rem;
  margin-bottom: 4rem;
}

.gcx-video__tag {
  padding: 0.25rem 0.75rem;
  border-radius: var(--gcx-radius-full);
  background-color: var(--gcx-bg);
  color: var(--gcx-muted-fg);
  font-size: 0.875rem;
  border: 1px solid var(--gcx-border);
}


/* === STATS =============================================================== */
.gcx-stats {
  background-color: #fff;
}

.gcx-stat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem;
  background: var(--gcx-card);
  border: 1px solid var(--gcx-border);
  border-radius: var(--gcx-radius-lg);
  transition: transform var(--gcx-transition),
              box-shadow var(--gcx-transition),
              border-color var(--gcx-transition);
}

.gcx-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gcx-shadow-lg);
  border-color: rgba(51, 145, 175, 0.3);
}

.gcx-stat-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--gcx-radius);
  background: var(--gcx-grad-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.gcx-stat-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #fff;
}

.gcx-stat-card__value {
  font-family: var(--gcx-font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--gcx-fg);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.gcx-stat-card__label {
  font-size: 0.875rem;
  color: var(--gcx-muted-fg);
  font-weight: 500;
}


/* === TESTIMONIALS ======================================================== */
.gcx-testimonials {
  background-color: rgba(241, 245, 249, 0.5);
}

.gcx-testimonial-card {
  position: relative;
  background: var(--gcx-card);
  border-radius: var(--gcx-radius-xl);
  padding: 2rem;
  box-shadow: var(--gcx-shadow-sm);
  border: 1px solid var(--gcx-border);
  transition: transform var(--gcx-transition),
              box-shadow var(--gcx-transition),
              border-color var(--gcx-transition);
  display: flex;
  flex-direction: column;
}

.gcx-testimonial-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--gcx-shadow-lg);
  border-color: rgba(51, 145, 175, 0.2);
}

.gcx-testimonial-card__quote-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(51, 145, 175, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.gcx-testimonial-card__quote-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gcx-blue-light);
}

.gcx-testimonial-card__quote {
  font-style: italic;
  color: var(--gcx-fg);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.gcx-testimonial-card__attribution {
  padding-top: 1.5rem;
  border-top: 1px solid var(--gcx-border);
  font-size: 0.875rem;
}

.gcx-testimonial-card__company {
  font-weight: 500;
  color: var(--gcx-fg);
  margin-bottom: 0.25rem;
}

.gcx-testimonial-card__since {
  color: var(--gcx-muted-fg);
}


/* === DEMO + FORM ========================================================= */
.gcx-demo {
  background-color: #fff;
}

.gcx-demo__grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .gcx-demo__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5rem;
  }
}

.gcx-demo__left {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .gcx-demo__left {
    padding-right: 2rem;
  }
}

.gcx-demo__title {
  font-family: var(--gcx-font-display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--gcx-fg);
  margin-bottom: 1rem;
  text-wrap: balance;
}

.gcx-demo__lead {
  font-size: 1.125rem;
  color: var(--gcx-muted-fg);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.gcx-demo__benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.gcx-demo__benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.0625rem;
  color: var(--gcx-fg);
}

.gcx-demo__benefit-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(51, 145, 175, 0.1);
  color: var(--gcx-blue-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gcx-demo__benefit-icon svg {
  width: 1rem;
  height: 1rem;
}

.gcx-demo__stats {
  display: grid;
  gap: 1.5rem;
}

.gcx-demo__stat-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--gcx-radius-xl);
  background-color: rgba(241, 245, 249, 0.5);
  border: 1px solid var(--gcx-border);
  transition: transform var(--gcx-transition),
              box-shadow var(--gcx-transition),
              border-color var(--gcx-transition);
}

.gcx-demo__stat-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--gcx-shadow-lg);
  border-color: rgba(51, 145, 175, 0.3);
}

.gcx-demo__stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--gcx-radius);
  background: var(--gcx-grad-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gcx-demo__stat-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.gcx-demo__stat-value {
  font-family: var(--gcx-font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--gcx-fg);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.gcx-demo__stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gcx-fg);
  margin-bottom: 0.25rem;
}

.gcx-demo__stat-context {
  font-size: 0.75rem;
  color: var(--gcx-muted-fg);
}

.gcx-demo__form-card {
  background: var(--gcx-card);
  border-radius: var(--gcx-radius-xl);
  padding: 2rem;
  box-shadow: var(--gcx-shadow-lg);
  border: 1px solid var(--gcx-border);
}

@media (min-width: 1024px) {
  .gcx-demo__form-card {
    padding: 2.5rem;
  }
}

.gcx-demo__form-title {
  font-family: var(--gcx-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gcx-fg);
  margin-bottom: 0.5rem;
}

.gcx-demo__form-lead {
  font-size: 0.875rem;
  color: var(--gcx-muted-fg);
  margin-bottom: 2rem;
}

.gcx-demo__form-footnote {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gcx-muted-fg);
  margin-top: 1rem;
}


/* === FORM ================================================================ */
.gcx-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gcx-form__row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .gcx-form__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gcx-form__field {
  display: flex;
  flex-direction: column;
}

.gcx-form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gcx-fg);
  margin-bottom: 0.5rem;
}

.gcx-form__required {
  color: var(--gcx-destructive);
  margin-left: 0.125rem;
}

.gcx-form__input,
.gcx-form__select,
.gcx-form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--gcx-fg);
  background-color: #fff;
  border: 1px solid var(--gcx-input-border);
  border-radius: var(--gcx-radius);
  transition: border-color var(--gcx-transition),
              box-shadow var(--gcx-transition);
  min-height: 48px;
  appearance: none;
  -webkit-appearance: none;
}

.gcx-form__textarea {
  min-height: 8rem;
  resize: vertical;
  line-height: 1.5;
}

.gcx-form__input::placeholder,
.gcx-form__textarea::placeholder {
  color: var(--gcx-muted-fg);
  opacity: 0.7;
}

.gcx-form__input:focus,
.gcx-form__select:focus,
.gcx-form__textarea:focus {
  outline: none;
  border-color: var(--gcx-blue-light);
  box-shadow: 0 0 0 1px var(--gcx-blue-light);
}

/* Native select chevron */
.gcx-form__select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.gcx-form__checkbox-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .gcx-form__checkbox-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gcx-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  color: var(--gcx-muted-fg);
  transition: color var(--gcx-transition);
  min-height: 44px;
  padding: 0.25rem 0;
}

.gcx-form__checkbox:hover {
  color: var(--gcx-fg);
}

.gcx-form__checkbox input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  accent-color: var(--gcx-blue-light);
  cursor: pointer;
  flex-shrink: 0;
}

.gcx-form__checkbox-label {
  font-size: 0.875rem;
  line-height: 1.4;
}

.gcx-form__error {
  display: block;
  font-size: 0.75rem;
  color: var(--gcx-destructive);
  margin-top: 0.25rem;
}

.gcx-form__notice {
  display: block;
  padding: 1rem;
  border-radius: var(--gcx-radius);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  border: 1px solid transparent;
}

.gcx-form__notice--success {
  background-color: rgba(51, 145, 175, 0.1);
  border-color: rgba(51, 145, 175, 0.3);
  color: var(--gcx-blue-dark);
}

.gcx-form__notice--error {
  background-color: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--gcx-destructive);
}

.gcx-form__submit {
  position: relative;
  width: 100%;
  padding: 1rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: var(--gcx-grad-blue);
  border: 0;
  border-radius: var(--gcx-radius);
  cursor: pointer;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: box-shadow var(--gcx-transition);
  min-height: 56px;
}

.gcx-form__submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0);
  transition: background-color var(--gcx-transition);
  pointer-events: none;
}

.gcx-form__submit:hover {
  box-shadow: var(--gcx-shadow-blue-glow);
}

.gcx-form__submit:hover::before {
  background-color: rgba(255, 255, 255, 0.1);
}

.gcx-form__submit:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.gcx-form__submit svg {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform var(--gcx-transition);
  position: relative;
}

.gcx-form__submit:hover svg:not(.gcx-spinner) {
  transform: translateX(0.25rem);
}

.gcx-form__submit[disabled],
.gcx-form__submit.gcx-is-loading {
  opacity: 0.7;
  cursor: not-allowed;
}

.gcx-form__submit.gcx-is-loading .gcx-form__submit-label,
.gcx-form__submit.gcx-is-loading .gcx-form__submit-icon {
  visibility: hidden;
}

.gcx-form__submit.gcx-is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.25rem;
  height: 1.25rem;
  margin: -0.625rem 0 0 -0.625rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}


/* === FAQ ================================================================= */
.gcx-faq {
  background-color: rgba(241, 245, 249, 0.5);
}

.gcx-faq__list {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gcx-faq-item {
  background: var(--gcx-card);
  border: 1px solid var(--gcx-border);
  border-radius: var(--gcx-radius-xl);
  overflow: hidden;
  transition: border-color var(--gcx-transition),
              background-color var(--gcx-transition);
}

.gcx-faq-item:hover {
  border-color: rgba(51, 145, 175, 0.2);
}

.gcx-faq-item.gcx-is-open {
  border-color: rgba(51, 145, 175, 0.3);
  background-color: rgba(51, 145, 175, 0.03);
}

.gcx-faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  text-align: left;
  font-family: var(--gcx-font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--gcx-fg);
  background: transparent;
  border: 0;
  cursor: pointer;
  min-height: 56px;
}

@media (min-width: 768px) {
  .gcx-faq-item__question {
    font-size: 1.125rem;
  }
}

.gcx-faq-item__question:focus-visible {
  outline: 2px solid var(--gcx-blue-light);
  outline-offset: -2px;
}

.gcx-faq-item__toggle {
  position: relative;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--gcx-muted-bg);
  color: var(--gcx-blue-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--gcx-transition),
              color var(--gcx-transition),
              transform var(--gcx-transition);
}

.gcx-faq-item__toggle::before,
.gcx-faq-item__toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--gcx-transition);
}

.gcx-faq-item__toggle::before {
  width: 0.75rem;
  height: 2px;
  transform: translate(-50%, -50%);
}

.gcx-faq-item__toggle::after {
  width: 2px;
  height: 0.75rem;
  transform: translate(-50%, -50%);
}

.gcx-faq-item.gcx-is-open .gcx-faq-item__toggle {
  background-color: var(--gcx-blue-light);
  color: #fff;
}

.gcx-faq-item.gcx-is-open .gcx-faq-item__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.gcx-faq-item__answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-in-out;
}

.gcx-faq-item.gcx-is-open .gcx-faq-item__answer-wrap {
  grid-template-rows: 1fr;
}

.gcx-faq-item__answer-inner {
  overflow: hidden;
}

.gcx-faq-item__answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--gcx-muted-fg);
  line-height: 1.65;
}


/* === FOOTER ============================================================== */
.gcx-footer {
  background-color: var(--gcx-dark);
  color: #fff;
  padding-block: 4rem;
}

.gcx-footer__grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .gcx-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gcx-footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gcx-footer__brand {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .gcx-footer__brand {
    grid-column: span 2;
  }
}

.gcx-footer__brand-link {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.gcx-footer__logo {
  display: block;
  height: 40px;
  width: auto;
  /* Logo SVG is dark navy + gradients; render it solid white for the dark footer. */
  filter: brightness(0) invert(1);
}

.gcx-footer__brand-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-family: var(--gcx-font-display);
  font-size: 1.0625rem;
  font-weight: 600;
}

.gcx-footer__brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gcx-grad-blue);
  font-size: 0.75rem;
  font-weight: 700;
}

.gcx-footer__tagline {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.gcx-footer__description {
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.gcx-footer__compliance {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

.gcx-footer__heading {
  font-family: var(--gcx-font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.gcx-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gcx-footer__links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--gcx-transition);
  font-size: 0.9375rem;
}

.gcx-footer__links a:hover,
.gcx-footer__links a:focus-visible {
  color: #fff;
}

.gcx-footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .gcx-footer__bottom {
    flex-direction: row;
  }
}

.gcx-footer__copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

.gcx-footer__legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.gcx-footer__legal-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--gcx-transition);
}

.gcx-footer__legal-links a:hover {
  color: #fff;
}

.gcx-footer__socials {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.gcx-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  transition: background-color var(--gcx-transition),
              color var(--gcx-transition);
}

.gcx-footer__socials a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.gcx-footer__socials svg {
  width: 1.25rem;
  height: 1.25rem;
}


/* === LEGAL =============================================================== */
.gcx-legal {
  padding-top: 10rem;
  padding-bottom: 6rem;
  background-color: #fff;
}

.gcx-legal__body {
  max-width: 48rem;
  margin: 0 auto;
  padding-inline: 1.5rem;
  line-height: 1.7;
  color: var(--gcx-fg);
}

.gcx-legal h1 {
  font-family: var(--gcx-font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--gcx-fg);
}

.gcx-legal h2 {
  font-family: var(--gcx-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--gcx-fg);
}

.gcx-legal h3 {
  font-family: var(--gcx-font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.gcx-legal p,
.gcx-legal ul,
.gcx-legal ol {
  margin-bottom: 1.25rem;
  color: var(--gcx-fg);
}

.gcx-legal ul,
.gcx-legal ol {
  padding-left: 1.5rem;
  list-style-position: outside;
}

.gcx-legal ul { list-style: disc; }
.gcx-legal ol { list-style: decimal; }

.gcx-legal li {
  margin-bottom: 0.5rem;
}

.gcx-legal a {
  color: var(--gcx-blue-mid);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color var(--gcx-transition);
}

.gcx-legal a:hover {
  color: var(--gcx-blue-dark);
}


/* === UTILITIES =========================================================== */
.gcx-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gcx-text-center { text-align: center; }
.gcx-text-balance { text-wrap: balance; }

.lift-on-hover {
  transition: transform var(--gcx-transition), box-shadow var(--gcx-transition);
}
.lift-on-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--gcx-shadow-lg);
}

.glow-on-hover {
  transition: box-shadow var(--gcx-transition);
}
.glow-on-hover:hover {
  box-shadow: var(--gcx-shadow-blue-glow);
}

.icon-rotate {
  transition: transform var(--gcx-transition);
}
.icon-rotate--45  { transform: rotate(45deg); }
.icon-rotate--90  { transform: rotate(90deg); }
.icon-rotate--180 { transform: rotate(180deg); }


/* === ANIMATIONS ========================================================== */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 0.4; }
  100% { transform: scale(1.8); opacity: 0; }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

@keyframes success-pop {
  0%   { transform: scale(0);   opacity: 0; }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1);   opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes count-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Apply-able utility classes */
.gcx-fade-in-up {
  animation: fade-in-up 0.6s ease-out forwards;
}

.gcx-animate-pulse-ring {
  animation: pulse-ring 2s ease-out infinite;
}

.gcx-animate-breathe {
  animation: breathe 2.5s ease-in-out infinite;
}

.gcx-animate-success-pop {
  animation: success-pop 0.5s ease-out forwards;
}

.gcx-animate-spin {
  animation: spin 0.7s linear infinite;
}

/* Reveal-on-scroll initial state — element is hidden until .gcx-fade-in-up
   is added by the IntersectionObserver in main.js */
[data-animate="fade-in-up"]:not(.gcx-fade-in-up) {
  opacity: 0;
  transform: translateY(16px);
  will-change: opacity, transform;
}


/* === REDUCED MOTION ====================================================== */
@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;
  }

  [data-animate="fade-in-up"]:not(.gcx-fade-in-up) {
    opacity: 1;
    transform: none;
  }
}


/* === PRINT (minimal, hide non-essential) ================================ */
@media print {
  .gcx-header,
  .gcx-footer,
  .gcx-video__play-btn,
  .gcx-hero::before,
  .gcx-hero::after {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}

/* ============================================================
   CROSS-STREAM ALIASES (template ↔ CSS contract reconciliation)
   ============================================================ */

/* Section header: template emits __heading / __subheading;
   styled rules originally targeted __title / __lead / __sub. */
.gcx-section-header__heading {
  font-family: var(--gcx-font-display);
  font-weight: 700;
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--gcx-fg);
  margin: 0 0 1.5rem;
  text-wrap: balance;
}
.gcx-section-header__subheading {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gcx-muted-fg);
  max-width: 48rem;
  margin: 0 auto;
}
.gcx-section-header.gcx-section-header--left {
  text-align: left;
}
.gcx-section-header.gcx-section-header--left .gcx-section-header__subheading {
  margin-left: 0;
}

/* Submit button: template emits .gcx-form__submit-text and
   .gcx-form__submit-loading (sibling spans). Hide loading by default. */
.gcx-form__submit-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.gcx-form__submit-loading {
  display: none;
  align-items: center;
  gap: 0.5rem;
}
.gcx-form__submit.gcx-is-loading .gcx-form__submit-text { display: none; }
.gcx-form__submit.gcx-is-loading .gcx-form__submit-loading { display: inline-flex; }
.gcx-form__submit-loading svg {
  animation: spin 0.8s linear infinite;
}

/* FAQ accordion: the template emits TWO inline SVG icons (plus + minus)
   inside .gcx-faq-item__toggle. The toggle's CSS pseudo-elements already
   draw the +/- visuals — hide the inline SVGs to avoid duplication. */
.gcx-faq-item__toggle > svg {
  display: none;
}

/* Standard WordPress accessibility class — used on the skip link
   and any visually-hidden labels. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #fff;
  clip: auto !important;
  clip-path: none;
  color: var(--gcx-fg);
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 1rem;
  line-height: normal;
  padding: 0.75rem 1rem;
  text-decoration: none;
  top: 1rem;
  width: auto;
  z-index: 100000;
}

/* Hero: template inlines background-image: url(...) directly on .gcx-hero
   (overlay div handles the gradient via CSS). The unused .gcx-hero__bg
   child element is no longer emitted — its rule remains harmless. */

/* Looking-for client-side error inserted by JS appears inside the wrapper.
   Make it visually distinct as a row-level error rather than per-field. */
.gcx-form__checkbox-grid + .gcx-form__error[data-client-error="looking-for"] {
  margin-top: 0.5rem;
}

/* Hamburger: template emits three .gcx-header__menu-toggle-bar spans, not
   the single-span+pseudo-element pattern. Neutralize the pseudo-elements
   and style the three bars as a vertical stack. */
.gcx-header__menu-toggle {
  flex-direction: column;
  gap: 5px;
}
.gcx-header__menu-toggle span::before,
.gcx-header__menu-toggle span::after {
  content: none;
}
.gcx-header__menu-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--gcx-transition), opacity var(--gcx-transition);
}
.gcx-header__menu-toggle[aria-expanded="true"] .gcx-header__menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.gcx-header__menu-toggle[aria-expanded="true"] .gcx-header__menu-toggle-bar:nth-child(2) {
  opacity: 0;
}
.gcx-header__menu-toggle[aria-expanded="true"] .gcx-header__menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Form notice sub-elements (template emits __notice-icon, __notice-heading,
   __notice-text inside .gcx-form__notice--success). */
.gcx-form__notice {
  text-align: center;
}
.gcx-form__notice--success {
  padding: 2.5rem 2rem;
}
.gcx-form__notice-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--gcx-grad-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  animation: success-pop 0.5s ease-out both;
}
.gcx-form__notice-heading {
  font-family: var(--gcx-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--gcx-fg);
  margin: 0 0 0.75rem;
}
.gcx-form__notice-text {
  color: var(--gcx-muted-fg);
  font-size: 1.0625rem;
  line-height: 1.6;
  margin: 0;
}

/* Demo form description (template emits __form-description; original CSS
   only had __form-lead). */
.gcx-demo__form-description {
  color: var(--gcx-muted-fg);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0 0 2rem;
}

/* Benefit text — template wraps the label in a span; was unstyled. */
.gcx-demo__benefit-text {
  flex: 1;
  line-height: 1.4;
}

/* Field-level error state on the wrapper (template adds
   gcx-form__field--has-error when gcx_form_error() returns a message). */
.gcx-form__field--has-error .gcx-form__input,
.gcx-form__field--has-error .gcx-form__select,
.gcx-form__field--has-error .gcx-form__textarea {
  border-color: var(--gcx-destructive);
  box-shadow: 0 0 0 1px var(--gcx-destructive);
}

/* ============================================================
   FORM TIGHTENING PASS — scoped to .gcx-demo__form-card so the
   rest of the design system is unaffected.
   ============================================================ */
.gcx-demo__form-card {
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .gcx-demo__form-card {
    padding: 1.75rem;
  }
}

.gcx-demo__form-card .gcx-demo__form-title {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.gcx-demo__form-card .gcx-demo__form-description {
  font-size: 0.8125rem;
  margin-bottom: 1.25rem;
}

.gcx-demo__form-card .gcx-form {
  gap: 0.875rem;
}
.gcx-demo__form-card .gcx-form__row {
  gap: 0.75rem;
}

.gcx-demo__form-card .gcx-form__label {
  font-size: 0.8125rem;
  margin-bottom: 0.3125rem;
}

.gcx-demo__form-card .gcx-form__input,
.gcx-demo__form-card .gcx-form__select,
.gcx-demo__form-card .gcx-form__textarea {
  padding: 0.5625rem 0.8125rem;
  font-size: 0.9375rem;
  border-radius: var(--gcx-radius-sm);
}
.gcx-demo__form-card .gcx-form__select {
  padding-right: 2.25rem;
  background-position: right 0.75rem center;
}
.gcx-demo__form-card .gcx-form__textarea {
  min-height: 5.5rem;
}

.gcx-demo__form-card .gcx-form__checkbox-grid {
  gap: 0.5rem 1rem;
}
.gcx-demo__form-card .gcx-form__checkbox {
  gap: 0.5rem;
  font-size: 0.8125rem;
}
.gcx-demo__form-card .gcx-form__checkbox input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.1875rem;
}

.gcx-demo__form-card .gcx-form__submit {
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  border-radius: var(--gcx-radius);
}

.gcx-demo__form-card .gcx-demo__form-footnote,
.gcx-demo__form-card + * {
  font-size: 0.75rem;
}
