/* ==========================================================================
   ZillOut Grow — the merchant cross-sell screens, ported to the marketing site.
   Light like the merchant dashboard (#F4F4F4 hub, white feature detail) with
   the dark green hero cards, so the page is scoped away from the black site.
   ========================================================================== */

/* The merchant's Chakra `grow` palette, verbatim from src/theme.ts. */
.grow-body {
  --g-50: #e8f7ef;
  --g-100: #c6ebd8;
  --g-400: #2fbe79;
  --g-500: #1fa463;
  --g-600: #157347;
  --g-900: #08301e;
  --g-leaf: #4caf7d;
  --g-mint: #7ee0a8;
  --g-cta: #5cbf8a;
  /* Locked bundles read amber — the design's "potential, not yet yours". */
  --g-amber-bg: #fffcf4;
  --g-amber-border: #f0d9a4;
  --g-amber-strip: #fdefc7;
  --g-amber-text: #c97a15;
  --g-potential: #e2622f;
  --g-badge: #fce9ae;
  --g-ink: #1a2433;
  --g-gray-500: #6b7280;
  --g-gray-600: #4b5563;
  --g-gray-200: #e5e7eb;
  --g-gray-100: #f3f4f6;
  background: #f4f4f4;
  color: var(--g-ink);
}

/* Feature detail is white in the merchant; the hub and bundle list are grey. */
.grow-body[data-grow-view="feature"] {
  background: #ffffff;
}

.grow-page {
  padding: clamp(7rem, 12vw, 9rem) 1rem clamp(3rem, 8vw, 5rem);
  overflow-x: hidden;
  overflow-x: clip;
}

.g-shell {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.g-shell-narrow {
  max-width: 760px;
}

/* ---------- buttons ---------- */

.g-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 46px;
  padding: 0 2rem;
  border: 0;
  border-radius: 8px;
  background: var(--g-500);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.g-btn:hover {
  background: var(--g-400);
}

.g-btn:active {
  background: var(--g-600);
}

.g-btn svg {
  width: 18px;
  height: 18px;
}

.g-btn-sm {
  height: 40px;
  padding: 0 1.25rem;
  font-size: 0.9rem;
  flex-shrink: 0;
}

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

.g-btn-cta {
  background: var(--g-cta);
  padding: 0 1.5rem;
  font-size: 0.875rem;
}

.g-btn-cta:hover,
.g-btn-cta:active {
  background: var(--g-500);
}

/* ---------- back link ---------- */

.g-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  margin-bottom: 0.25rem;
  color: var(--g-gray-500);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.g-back:hover {
  color: var(--g-600);
}

.g-back svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Hub — ProgressHero
   ========================================================================== */

.g-hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 1.25rem;
  background: linear-gradient(145deg, #0e4a38 0%, #0b3b2c 40%, #072a20 100%);
}

/* Faint grid, matching the design's hero texture. */
.g-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(47, 190, 121, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 190, 121, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

.g-hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.g-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}

.g-hero-eyebrow {
  margin: 0 0 0.25rem;
  color: var(--g-400);
  font-size: 1rem;
  font-weight: 700;
}

.g-hero-title {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.g-hero-title-accent {
  color: var(--g-400);
}

/* The hero's BUSINESS score box. */
.g-score {
  border: 1px solid rgba(47, 190, 121, 0.45);
  border-radius: 10px;
  background: rgba(6, 40, 29, 0.55);
  padding: 0.5rem 0.75rem 0;
  overflow: hidden;
}

.g-score-cap {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.g-score-value {
  display: block;
  margin-bottom: 0.5rem;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
}

.g-score-track {
  display: block;
  height: 5px;
  margin-bottom: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

/* Nothing is unlocked without a venue, so the bar has nothing to fill. */
.g-score-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--g-400);
}

/* Desktop puts the CTA inside the banner; below lg it lives at the page foot. */
.g-btn-hero {
  display: none;
  width: 100%;
}

.g-hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.g-legend {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.g-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border: 1px solid;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.75rem;
  white-space: nowrap;
}

.g-legend-item i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.g-legend-on {
  border-color: #2fbe7955;
  color: var(--g-400);
}

.g-legend-off {
  border-color: #e0913a55;
  color: #e0913a;
}

/* ---------- pentagon ---------- */

.g-pentagon {
  display: block;
}

.g-edge {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1;
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
  opacity: 0;
  animation: g-edge-draw 0.5s ease-out both;
}

@keyframes g-edge-draw {
  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

.g-node-ring {
  fill: rgba(224, 145, 58, 0.1);
  stroke: #e0913a;
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  opacity: 0;
  animation: g-node-in 0.4s ease-out both;
}

@keyframes g-node-in {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.g-node-num {
  fill: #e0913a;
  font-size: 10px;
  font-weight: 700;
  text-anchor: middle;
  opacity: 0;
  animation: g-node-num-in 0.3s ease-out both;
}

@keyframes g-node-num-in {
  to {
    opacity: 1;
  }
}

/*
 * The waiting nodes blink together: five pulses, then a quiet beat before the
 * cycle restarts. 5.4s = 5 × 0.9s of pulse plus the 0.9s tail, and every stop
 * below is that track expressed as a percentage.
 */
.g-node-halo,
.g-node-pulse {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation-duration: 5.4s;
  animation-delay: 0.8s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.g-node-halo {
  animation-name: g-halo;
}

.g-node-pulse {
  fill: transparent;
  stroke: #e0913a;
  stroke-width: 1.8;
  animation-name: g-pulse;
}

@keyframes g-halo {
  0%, 16.667%, 33.333%, 50%, 66.667%, 83.333%, 100% {
    opacity: 0;
    transform: scale(1);
  }
  8.333%, 25%, 41.667%, 58.333%, 75% {
    opacity: 0.55;
    transform: scale(1.8);
  }
}

@keyframes g-pulse {
  0%, 16.667%, 33.333%, 50%, 66.667%, 83.333%, 100% {
    opacity: 0;
  }
  8.333%, 25%, 41.667%, 58.333%, 75% {
    opacity: 1;
  }
}

/* ==========================================================================
   Hub — the five bundles
   ========================================================================== */

.g-steps-heading {
  margin: 0.5rem 0 0;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Below lg the design is a list of rows; the 5-across grid is desktop only. */
.g-grid {
  display: none;
}

.g-rows {
  display: grid;
  gap: 0.75rem;
}

.g-card {
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--g-amber-border);
  border-radius: 12px;
  background: var(--g-amber-bg);
  opacity: 0;
  animation: g-card-in 0.35s ease-out both;
}

@keyframes g-card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.g-rows .g-card:nth-child(1) { animation-delay: 0.1s; }
.g-rows .g-card:nth-child(2) { animation-delay: 0.16s; }
.g-rows .g-card:nth-child(3) { animation-delay: 0.22s; }
.g-rows .g-card:nth-child(4) { animation-delay: 0.28s; }
.g-rows .g-card:nth-child(5) { animation-delay: 0.34s; }

/* ---------- row card (mobile) ---------- */

.g-card-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  transition: transform 0.15s ease;
}

.g-card-row:active {
  transform: scale(0.985);
}

.g-row-index {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  flex-shrink: 0;
  border: 1px solid var(--g-amber-border);
  border-radius: 50%;
  background: #fff;
  color: var(--g-amber-text);
  font-size: 0.875rem;
  font-weight: 700;
}

.g-row-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
}

.g-row-title {
  font-size: 0.875rem;
  font-weight: 600;
}

.g-row-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

.g-row-metric {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem;
  min-width: 0;
}

.g-row-metric b {
  color: var(--g-amber-text);
  font-size: 0.875rem;
  font-weight: 700;
}

.g-row-metric i {
  color: var(--g-gray-500);
  font-size: 10px;
  font-style: normal;
}

.g-row-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  flex-shrink: 0;
  color: var(--g-amber-text);
  font-size: 0.75rem;
  font-weight: 600;
}

.g-row-cta svg {
  width: 16px;
  height: 16px;
}

/* ---------- feature pills ---------- */

.g-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.g-pill {
  padding: 2px 0.5rem;
  border: 1px solid var(--g-amber-border);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.g-pill-lead {
  background: #fff;
  color: var(--g-amber-text);
}

.g-pill-more {
  background: transparent;
  color: var(--g-gray-500);
}

/* ---------- grid card (desktop) ---------- */

.g-card-grid {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.g-card-grid:hover {
  transform: translateY(-3px);
}

.g-card-top {
  display: block;
  padding: 1rem;
  flex-shrink: 0;
}

.g-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.g-card-potential {
  color: var(--g-potential);
  font-size: 0.875rem;
  font-weight: 700;
}

.g-card-index {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--g-badge);
  color: var(--g-amber-text);
  font-size: 0.75rem;
  font-weight: 700;
}

.g-card-metric {
  display: block;
  color: var(--g-ink);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.g-card-metric-label {
  display: block;
  margin-top: 0.125rem;
  color: var(--g-gray-500);
  font-size: 0.75rem;
}

.g-card-art {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  padding: 0 1rem;
}

.g-lock {
  color: #9ca3af;
}

.g-lock svg {
  width: 14px;
  height: 14px;
}

.g-card-foot {
  display: block;
  padding: 0 1rem 0.75rem;
}

.g-card-title {
  display: block;
  color: var(--g-amber-text);
  font-size: 0.875rem;
  font-weight: 700;
}

.g-card-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--g-amber-strip);
}

.g-card-strip-copy {
  display: block;
  min-width: 0;
}

.g-card-strip-copy b {
  display: block;
  color: var(--g-potential);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.g-card-strip-copy i {
  display: block;
  color: var(--g-gray-600);
  font-size: 10px;
  font-style: normal;
}

.g-card-strip-cta {
  color: var(--g-amber-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ---------- unlock strip + circle ---------- */

.g-unlock {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--g-gray-200);
  border-radius: 12px;
  background: #fff;
}

.g-unlock b {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.g-unlock span {
  display: block;
  margin-top: 0.125rem;
  color: var(--g-gray-600);
  font-size: 0.875rem;
}

.g-circle {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.25rem;
}

.g-circle p {
  margin: 0;
  max-width: 620px;
  color: var(--g-gray-600);
  font-size: 0.75rem;
}

.g-proof {
  margin: 0;
  padding: 0 0.5rem;
  color: var(--g-gray-600);
  font-size: 0.75rem;
  text-align: center;
}

/* ==========================================================================
   Bundle detail
   ========================================================================== */

.g-bhero {
  border-radius: 14px;
  padding: 1rem;
  background: linear-gradient(135deg, #0b1a12 0%, #071009 45%, #0a2417 100%);
  animation: g-card-in 0.4s ease-out both;
}

.g-bhero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.g-bhero-title {
  margin: 0;
  color: var(--g-leaf);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.15;
}

.g-bhero-blurb {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
}

.g-hairline {
  display: block;
  height: 1px;
  margin-top: 0.75rem;
  background: rgba(255, 255, 255, 0.14);
}

.g-hairline + .g-statrow {
  margin-top: 0;
}

.g-statrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.625rem 0;
}

.g-statrow i {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-style: normal;
}

.g-statrow b {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

.g-statrow b em {
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
}

.g-statrow.is-green i,
.g-statrow.is-green b,
.g-statrow.is-green b em {
  color: var(--g-leaf);
}

/* ---------- radial gauge ---------- */

.g-gauge {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.g-gauge svg {
  display: block;
  transform: rotate(-90deg);
}

.g-gauge-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
}

.g-gauge-arc {
  fill: none;
  stroke: var(--g-400);
  stroke-linecap: round;
  stroke-dasharray: var(--circ);
  stroke-dashoffset: var(--circ);
  animation: g-gauge-fill 1.1s ease-out both;
}

@keyframes g-gauge-fill {
  to {
    stroke-dashoffset: var(--offset);
  }
}

.g-gauge-label {
  position: absolute;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

/* ---------- feature cards ---------- */

.g-fcards {
  display: grid;
  gap: 0.75rem;
}

.g-fcard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--g-amber-border);
  border-radius: 12px;
  background: var(--g-amber-bg);
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
  text-decoration: none;
  color: inherit;
  animation: g-card-in 0.35s ease-out both;
  transition: transform 0.15s ease;
}

.g-fcard:active {
  transform: scale(0.985);
}

.g-fcards .g-fcard:nth-child(1) { animation-delay: 0s; }
.g-fcards .g-fcard:nth-child(2) { animation-delay: 0.08s; }
.g-fcards .g-fcard:nth-child(3) { animation-delay: 0.16s; }

.g-fcard-body {
  display: block;
  min-width: 0;
}

.g-fcard-title {
  display: block;
  color: #111827;
  font-size: 1rem;
  font-weight: 700;
}

.g-fcard-stat {
  display: block;
  margin-top: 0.25rem;
  color: var(--g-amber-text);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
}

.g-fcard-caption {
  display: block;
  margin-top: 0.125rem;
  color: var(--g-gray-500);
  font-size: 0.75rem;
}

.g-fcard-cta {
  display: block;
  margin-top: 0.375rem;
  color: var(--g-amber-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Feature detail
   ========================================================================== */

.g-shell-feature {
  gap: 0.5rem;
  /* Clear the CTA pinned to the foot on phones. */
  padding-bottom: 5rem;
}

.g-fsplit {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.g-fsplit-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.g-ftitle {
  margin: 0;
  color: var(--g-leaf);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.g-ftagline {
  margin: 0.25rem 0 0;
  color: var(--g-gray-500);
  font-size: 0.875rem;
}

.g-why b {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.g-why p {
  margin: 0 0 0.375rem;
  color: var(--g-gray-500);
  font-size: 0.75rem;
  line-height: 1.4;
}

.g-fcta-fixed {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.625rem 1rem calc(0.625rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--g-gray-100);
  background: #fff;
}

.g-fcta-fixed .g-btn {
  width: 100%;
}

.g-divider {
  display: block;
  height: 1px;
  margin: 0.5rem 0;
  background: var(--g-gray-200);
}

/* ---------- the dark split stat card ---------- */

.g-statcard {
  display: flex;
  align-items: stretch;
  min-height: 112px;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(100deg, #05100b 0%, #07281b 55%, #0b5233 100%);
  box-shadow: 0 6px 24px rgba(47, 190, 121, 0.18);
  animation: g-card-in 0.4s ease-out both;
}

.g-statcard-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  padding: 1.25rem 0.75rem;
}

.g-statcard-value {
  color: var(--g-mint);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.05;
  word-break: break-word;
}

/* Chain Venue's "stat" is a sentence, so it can't ride the display size. */
.g-statcard-value.is-phrase {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
}

.g-statcard-label {
  margin-top: 0.5rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.g-statcard-rule {
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.g-statcard-art {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34%;
  min-width: 0;
  padding: 1rem 0.5rem;
}

/* ---------- how it works ---------- */

.g-how h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.g-how h2 span {
  color: var(--g-leaf);
}

.g-steps-col,
.g-steps-row {
  list-style: none;
  margin: 0;
  padding: 0;
}

.g-steps-row {
  display: none;
}

.g-steps-col li {
  display: flex;
  gap: 0.75rem;
  animation: g-card-in 0.35s ease-out both;
}

.g-steps-col li:not(:last-child) .g-step-copy {
  padding-bottom: 0.5rem;
}

.g-step-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.g-step-badge {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e8eaed;
  color: #6b7280;
  font-size: 10px;
  font-weight: 700;
}

.g-step-badge.is-on {
  background: var(--g-leaf);
  color: #fff;
}

.g-steps-col .g-step-line {
  flex: 1;
  width: 1px;
  min-height: 14px;
  margin-top: 0.25rem;
  background: #cfe7da;
}

.g-step-copy {
  display: block;
  padding-top: 3px;
}

.g-step-copy b {
  display: block;
  color: #111827;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
}

.g-step-copy i {
  display: block;
  margin-top: 0.125rem;
  color: var(--g-gray-500);
  font-size: 0.75rem;
  font-style: normal;
  line-height: 1.3;
}

.g-step-copy.is-on b,
.g-step-copy.is-on i {
  color: var(--g-leaf);
}

/* ==========================================================================
   Illustrations
   ========================================================================== */

.g-art {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.g-art > * {
  transform: scale(var(--art-scale, 1));
  transform-origin: center;
}

.g-art-img,
.g-art-svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.g-art-stack {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

/* digital menu — the reader's scan line */
.g-art-scan {
  animation: g-scan 2.6s linear infinite;
}

@keyframes g-scan {
  0% { transform: translateY(0); }
  76.9% { transform: translateY(58.7px); }
  100% { transform: translateY(58.7px); }
}

/* feedback routing — the star breathes */
.g-art-star-glow {
  transform-box: fill-box;
  transform-origin: center;
  animation: g-star-glow 2.4s ease-in-out infinite;
}

@keyframes g-star-glow {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50% { opacity: 0.85; transform: scale(1.12); }
}

.g-art-star {
  transform-box: fill-box;
  transform-origin: center;
  animation: g-star 2.4s ease-in-out infinite;
}

@keyframes g-star {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* inventory — candles levitate */
.g-art-candle {
  animation-name: g-candle;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes g-candle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(var(--drift, 0)); }
}

/* pos — the record dot blinks */
.g-art-rec-halo,
.g-art-rec-dot {
  position: absolute;
  left: 13%;
  top: 49%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #e8286b;
  pointer-events: none;
}

.g-art-rec-halo {
  width: 26%;
  height: 46%;
  filter: blur(4px);
  animation: g-rec-halo 1.4s ease-in-out infinite;
}

@keyframes g-rec-halo {
  0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
  50% { opacity: 0.55; transform: translate(-50%, -50%) scale(1.35); }
}

.g-art-rec-dot {
  width: 13%;
  height: 23%;
  animation: g-rec-dot 1.4s ease-in-out infinite;
}

@keyframes g-rec-dot {
  0%, 66% { opacity: 0; }
  83% { opacity: 0.85; }
  100% { opacity: 0; }
}

/* loyalty — the icon lifts over a glow that breathes with it */
.g-art-loyalty-glow {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 10%;
  height: 26%;
  border-radius: 50%;
  background: radial-gradient(rgba(47, 190, 121, 0.5), transparent 70%);
  animation: g-loyalty-glow 2.8s ease-in-out infinite;
}

@keyframes g-loyalty-glow {
  0%, 100% { opacity: 0.45; transform: scaleX(1); }
  50% { opacity: 0.2; transform: scaleX(0.82); }
}

.g-art-float {
  position: relative;
  animation: g-float 2.8s ease-in-out infinite;
}

@keyframes g-float {
  0%, 100% { transform: translateY(0) scale(var(--art-scale, 1)); }
  50% { transform: translateY(-7px) scale(var(--art-scale, 1)); }
}

/* in-app ordering — the thumb taps and the screen wakes */
.g-art-press {
  animation: g-press 3.2s ease-out infinite;
}

@keyframes g-press {
  0% { transform: scale(1); }
  6% { transform: scale(0.965); }
  12%, 100% { transform: scale(1); }
}

.g-art-screen {
  position: absolute;
  left: 11%;
  top: 9%;
  width: 30%;
  height: 47%;
  border-radius: 14%;
  background: radial-gradient(
    rgba(94, 234, 212, 0.85),
    rgba(16, 185, 129, 0.35) 60%,
    transparent 75%
  );
  animation: g-screen 3.2s ease-in-out infinite;
}

@keyframes g-screen {
  0%, 10% { opacity: 0; }
  20%, 62% { opacity: 0.9; }
  78%, 100% { opacity: 0; }
}

/* google business — pops up with a small shake, then rests */
.g-art-pop {
  transform-origin: 50% 85%;
  animation: g-pop 3s ease-out infinite;
}

@keyframes g-pop {
  0% { transform: scale(1) rotate(0deg); }
  8% { transform: scale(1.16) rotate(-7deg); }
  14% { transform: scale(1.08) rotate(6deg); }
  20% { transform: scale(1.1) rotate(-4deg); }
  26% { transform: scale(1.04) rotate(2deg); }
  34%, 100% { transform: scale(1) rotate(0deg); }
}

/* chain venue — a soft glow breathing behind the cluster */
.g-art-chain-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(
    rgba(94, 234, 212, 0.55),
    rgba(47, 190, 121, 0.18) 55%,
    transparent 72%
  );
  animation: g-chain-glow 2.6s ease-in-out infinite;
}

@keyframes g-chain-glow {
  0%, 100% { opacity: 0.25; transform: scale(0.9); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

/* ==========================================================================
   Enquiry sheet
   ========================================================================== */

.g-sheet {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Visibility flips only after the fade-out, so the close animation plays. */
  transition:
    opacity 0.25s ease,
    visibility 0s linear 0.25s;
}

.g-sheet.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.25s ease,
    visibility 0s;
}

.g-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 15, 0.55);
  backdrop-filter: blur(2px);
}

.g-sheet-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  max-height: 92svh;
  border-radius: 16px 16px 0 0;
  background: #fff;
  transform: translateY(16px);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.g-sheet.is-open .g-sheet-panel {
  transform: none;
}

.g-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem 0.9rem;
  border-bottom: 1px solid var(--g-gray-100);
}

.g-sheet-head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.g-sheet-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: var(--g-gray-100);
  color: var(--g-gray-600);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.g-sheet-scroll {
  padding: 1.25rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Focused on open to move the reading position; it is not a control. */
.g-sheet-scroll:focus {
  outline: none;
}

.g-sheet-note {
  margin: 0 0 1rem;
  color: var(--g-gray-600);
  font-size: 0.875rem;
}

body.g-modal-open {
  overflow: hidden;
}

/* ---------- the interest picker ---------- */

.g-pick-group {
  grid-column: 1 / -1;
}

.g-picks {
  display: grid;
  gap: 0.5rem;
}

.g-pick {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #dedede;
  border-radius: 10px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.g-pick:hover {
  border-color: var(--g-400);
  background: var(--g-50);
}

.g-pick-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.g-pick-box {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1.5px solid #c9c9d4;
  border-radius: 5px;
  background: #fff;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.g-pick-box::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}

.g-pick-input:checked + .g-pick-box {
  border-color: var(--g-500);
  background: var(--g-500);
}

.g-pick-input:checked + .g-pick-box::after {
  opacity: 1;
}

.g-pick-input:focus-visible + .g-pick-box {
  outline: 2px solid var(--g-500);
  outline-offset: 2px;
}

.g-pick-text b {
  display: block;
  color: #17151f;
  font-size: 0.9rem;
  font-weight: 600;
}

.g-pick-text i {
  display: block;
  color: #6f6c82;
  font-size: 0.78rem;
  font-style: normal;
}

/* ==========================================================================
   Breakpoints — the merchant's Chakra scale: sm 480, lg 992, xl 1280
   ========================================================================== */

@media (min-width: 480px) {
  .g-hero {
    padding: 1.25rem;
  }

  .g-statcard {
    min-height: 150px;
  }

  .g-statcard-copy {
    padding: 1.25rem 1rem;
  }

  .g-statcard-value {
    font-size: 2.25rem;
  }

  .g-statcard-value.is-phrase {
    font-size: 1.25rem;
  }

  .g-step-badge {
    width: 34px;
    height: 34px;
    font-size: 0.75rem;
  }

  .g-steps-col .g-step-line {
    min-height: 26px;
  }

  .g-step-copy b {
    font-size: 1rem;
  }

  .g-step-copy i {
    font-size: 0.875rem;
  }

  .g-ftitle {
    font-size: 1.875rem;
  }

  .g-ftagline {
    font-size: 1rem;
  }

  .g-how h2 {
    font-size: 1.5rem;
  }

  .g-bhero-title {
    font-size: 1.5rem;
  }
}

@media (min-width: 992px) {
  .grow-page {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .g-shell {
    max-width: 1240px;
    gap: 1rem;
  }

  .g-shell-narrow {
    max-width: 900px;
  }

  .g-hero {
    padding: 1.75rem 2rem;
  }

  .g-hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .g-hero-eyebrow {
    font-size: 0.875rem;
  }

  .g-hero-visual {
    width: auto;
    max-width: 340px;
    flex-basis: 300px;
  }

  .g-legend {
    flex-direction: column;
  }

  .g-btn-hero {
    display: inline-flex;
  }

  /* The grid replaces the row list, and the mobile tail goes away with it. */
  .g-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    align-items: stretch;
  }

  .g-rows,
  .g-steps-heading,
  .g-proof,
  .g-btn-block,
  .g-fcta-fixed {
    display: none;
  }

  .g-grid .g-card:nth-child(1) { animation-delay: 0.1s; }
  .g-grid .g-card:nth-child(2) { animation-delay: 0.16s; }
  .g-grid .g-card:nth-child(3) { animation-delay: 0.22s; }
  .g-grid .g-card:nth-child(4) { animation-delay: 0.28s; }
  .g-grid .g-card:nth-child(5) { animation-delay: 0.34s; }

  .g-unlock,
  .g-circle {
    display: flex;
  }

  /* Feature detail: text left, stat card right, CTA back inline. */
  .g-shell-feature {
    gap: 2rem;
    padding-bottom: 0;
  }

  .g-fsplit {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    padding: 1rem 0;
  }

  .g-fsplit-copy {
    gap: 1.25rem;
  }

  .g-fsplit-art {
    flex: 1;
    min-width: 0;
  }

  .g-ftitle {
    font-size: 3rem;
  }

  .g-statcard {
    min-height: 180px;
  }

  .g-statcard-copy {
    padding: 1.25rem 1.5rem;
  }

  .g-statcard-value {
    font-size: 3.75rem;
  }

  .g-statcard-value.is-phrase {
    font-size: 1.5rem;
  }

  .g-statcard-art {
    flex-basis: 32%;
  }

  .g-how h2 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
  }

  .g-why b {
    font-size: 1rem;
  }
}

@media (min-width: 1280px) {
  .g-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  /* The row stepper needs real width; below xl it reads better stacked. */
  .g-steps-col {
    display: none;
  }

  .g-steps-row {
    display: grid;
    grid-template-columns: repeat(var(--cols, 5), 1fr);
    align-items: start;
  }

  .g-steps-row li {
    display: block;
    padding-right: 1rem;
    animation: g-card-in 0.35s ease-out both;
  }

  .g-steps-row li:last-child {
    padding-right: 0;
  }

  .g-steps-row .g-step-rail {
    flex-direction: row;
    align-items: center;
    margin-bottom: 0.75rem;
  }

  .g-steps-row .g-step-line {
    flex: 1;
    height: 1px;
    margin-left: 0.5rem;
    background: #cfe7da;
  }
}

@media (min-width: 1536px) {
  .g-shell {
    max-width: 1400px;
  }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .g-edge,
  .g-node-ring,
  .g-node-num,
  .g-node-halo,
  .g-node-pulse,
  .g-card,
  .g-fcard,
  .g-bhero,
  .g-statcard,
  .g-gauge-arc,
  .g-steps-col li,
  .g-steps-row li,
  .g-art-scan,
  .g-art-star,
  .g-art-star-glow,
  .g-art-candle,
  .g-art-rec-halo,
  .g-art-rec-dot,
  .g-art-loyalty-glow,
  .g-art-float,
  .g-art-press,
  .g-art-screen,
  .g-art-pop,
  .g-art-chain-glow {
    animation: none;
  }

  .g-edge {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  .g-node-ring {
    transform: scale(1);
    opacity: 1;
  }

  .g-node-num {
    opacity: 1;
  }

  .g-card,
  .g-fcard,
  .g-bhero,
  .g-statcard,
  .g-steps-col li,
  .g-steps-row li {
    opacity: 1;
  }

  .g-gauge-arc {
    stroke-dashoffset: var(--offset);
  }

  .g-art-screen,
  .g-art-rec-halo,
  .g-art-rec-dot {
    opacity: 0;
  }

  .g-sheet,
  .g-sheet-panel {
    transition: none;
  }
}

/* ==========================================================================
   Site chrome on a light page
   The navbar and footer in styles.css are drawn for the black site — white
   text, purple accents. Repainted here only, scoped to .grow-body, so no
   other page moves.
   ========================================================================== */

.grow-body .nav-container {
  border-color: rgba(31, 164, 99, 0.28);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
}

.grow-body .nav-link {
  color: var(--g-gray-600);
}

.grow-body .nav-link:hover {
  color: var(--g-ink);
}

.grow-body .nav-link.active {
  color: var(--g-600);
}

.grow-body .nav-link::after {
  background: var(--g-500);
}

.grow-body .nav-cta,
.grow-body .mobile-nav-cta-btn {
  background: linear-gradient(120deg, var(--g-400) 0%, var(--g-600) 100%);
}

.grow-body .hamburger-line {
  background: var(--g-ink);
}

.grow-body .mobile-menu {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(31, 164, 99, 0.28);
}

.grow-body .mobile-nav-link {
  color: var(--g-ink);
}

.grow-body .mobile-nav-link:hover,
.grow-body .mobile-nav-link.active {
  color: var(--g-600);
  background: var(--g-50);
}

/* ---------- footer ---------- */

.grow-body .footer,
.grow-body .footer-inner {
  background: #ffffff;
}

.grow-body[data-grow-view="feature"] .footer {
  background: #ffffff;
}

/* The rotating conic ring around the footer card — purple by default. */
.grow-body .footer-content::before {
  --l: rgba(31, 164, 99, 0) 100%, #1fa463 0%;
  box-shadow: 0 0 5px 0 rgba(31, 164, 99, 0.7);
}

.grow-body .footer-question h2 {
  color: var(--g-ink);
}

.grow-body .demo-button {
  background: linear-gradient(90deg, var(--g-600) 0%, var(--g-400) 100%);
}

.grow-body .social-btn {
  border-color: rgba(31, 164, 99, 0.35);
  color: var(--g-ink);
}

.grow-body .social-btn:hover {
  background: var(--g-50);
}

/* ---------- enquiry form fields ---------- */

.grow-body .form-group label {
  color: var(--g-600);
}

.grow-body .form-group input:focus,
.grow-body .form-group select:focus {
  border-color: var(--g-500);
}

.grow-body .submit-btn,
.grow-body .submit-btn:hover {
  background: var(--g-500);
  border-color: var(--g-500);
}

/* ---------- promo banner ---------- */

/* The site-wide strip is a deep purple slab — on this ground it reads as a
   foreign object. Same slab, green. */
.grow-body .promo-banner {
  background: linear-gradient(
    90deg,
    #04231a 0%,
    #06432f 32%,
    #157347 50%,
    #06432f 68%,
    #04231a 100%
  );
  border-bottom-color: rgba(47, 190, 121, 0.45);
}

.grow-body .promo-banner-arrow {
  color: var(--g-mint);
}

/* The picker's rows are <label>s inside a .form-group, so styles.css's
   `.form-group label` (uppercase, 12px, letter-spaced) lands on them. Reset it. */
.grow-body .form-group .g-pick {
  margin-bottom: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: normal;
  line-height: inherit;
  text-transform: none;
}

/* ResponsiveModal's shape, which is what the merchant's sheet uses: a bottom
   sheet on phones, a centred dialog from md up. */
@media (min-width: 768px) {
  .g-sheet {
    align-items: center;
    padding: 1.5rem;
  }

  .g-sheet-panel {
    max-height: 86vh;
    max-height: 86svh;
    border-radius: 16px;
  }
}

/* ==========================================================================
   The plan — potential uplift, the score bar, and add-to-plan
   ========================================================================== */

/* ---------- hero score bar ---------- */

.g-score-value {
  font-variant-numeric: tabular-nums;
}

.g-score-track {
  position: relative;
  height: 10px;
}

/*
 * A game upgrade bar: it grows from wherever it was to wherever the plan puts
 * it, so adding a module reads as a gain rather than a redraw.
 */
.g-score-fill {
  position: relative;
  width: 0;
  background: linear-gradient(90deg, var(--g-600), var(--g-400) 70%, var(--g-mint));
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* The leading edge, so the eye follows the growth. */
.g-score-spark {
  position: absolute;
  top: 50%;
  right: 0;
  width: 14px;
  height: 14px;
  transform: translate(45%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    var(--g-mint),
    rgba(126, 224, 168, 0.35) 45%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.g-score-fill:not(.is-empty) .g-score-spark {
  opacity: 1;
}

.g-score-fill.is-full {
  background: linear-gradient(90deg, var(--g-400), var(--g-mint));
  box-shadow: 0 0 14px rgba(126, 224, 168, 0.6);
}

.g-score-note {
  display: block;
  padding-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
  line-height: 1.35;
}

/* ---------- uplift chip ---------- */

.g-uplift {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--g-100);
  border-radius: 999px;
  background: var(--g-50);
  color: var(--g-600);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.g-uplift i {
  color: var(--g-gray-500);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- before / after ---------- */

.g-ba {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.g-ba-now,
.g-ba-then {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.g-ba i {
  color: var(--g-gray-500);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.g-ba b {
  color: var(--g-gray-600);
  font-size: 0.95rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.g-ba-then b {
  color: var(--g-600);
}

.g-ba-arrow {
  color: var(--g-100);
}

.g-ba-arrow svg {
  display: block;
  width: 16px;
  height: 16px;
}



/* ---------- add to plan ---------- */

.g-add {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--g-amber-border);
  border-radius: 999px;
  background: #fff;
  color: var(--g-amber-text);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.g-add:hover {
  border-color: var(--g-400);
  color: var(--g-600);
}

.g-add-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 0.7rem;
  line-height: 1;
}

/* Plus turns to tick — one glyph, drawn in CSS, so nothing swaps in the DOM. */
.g-add-mark::before,
.g-add-mark::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.2s ease;
}

.g-add-mark::before {
  width: 8px;
  height: 1.5px;
}

.g-add-mark::after {
  width: 1.5px;
  height: 8px;
}

.g-add[aria-pressed="true"] {
  border-color: var(--g-400);
  background: var(--g-50);
  color: var(--g-600);
}

.g-add[aria-pressed="true"] .g-add-mark {
  border-color: var(--g-500);
  background: var(--g-500);
  color: #fff;
}

.g-add[aria-pressed="true"] .g-add-mark::before {
  width: 7px;
  height: 1.5px;
  transform: rotate(-45deg) translate(-1px, 2px);
}

.g-add[aria-pressed="true"] .g-add-mark::after {
  width: 1.5px;
  height: 4px;
  transform: rotate(-45deg) translate(-3px, 0);
}

.g-add-wide {
  height: 46px;
  margin-top: 0;
  padding: 0 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
}

/* A card already in the plan reads as picked straight from the list. */
.g-fcard.is-picked {
  border-color: var(--g-400);
  background: var(--g-50);
}

.g-fcard.is-picked .g-fcard-stat {
  color: var(--g-600);
}

/* ---------- the stretched card link ---------- */

.g-fcard {
  position: relative;
}

.g-fcard-link {
  display: block;
  color: #111827;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

/* Covers the card, so the whole thing is clickable without nesting the button. */
.g-fcard-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* ---------- per-bundle progress ---------- */

.g-prog {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.g-prog-track {
  flex: 1;
  height: 4px;
  min-width: 40px;
  border-radius: 999px;
  background: rgba(26, 36, 51, 0.1);
  overflow: hidden;
}

.g-prog-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--g-400);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.g-prog-text {
  color: var(--g-gray-500);
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}

.g-prog.is-on .g-prog-text {
  color: var(--g-600);
}

/* ---------- the potential disclaimer ---------- */

.g-disclaimer {
  margin: 0;
  padding: 0 0.25rem;
  color: var(--g-gray-500);
  font-size: 0.7rem;
  line-height: 1.5;
  max-width: 70ch;
}

@media (prefers-reduced-motion: reduce) {
  .g-score-fill,
  .g-prog-fill,
  .g-add-mark::before,
  .g-add-mark::after {
    transition: none;
  }
}

/* ---------- the uplift figure, now a bundle-level thing ---------- */

.g-card-uplift {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

/* On the dark bundle hero the chip has to invert. */
.g-bhero-uplift {
  display: inline-block;
  margin-top: 0.75rem;
}

.g-bhero-uplift .g-uplift {
  border-color: rgba(47, 190, 121, 0.45);
  background: rgba(47, 190, 121, 0.14);
  color: var(--g-mint);
}

.g-bhero-uplift .g-uplift i {
  color: rgba(255, 255, 255, 0.6);
}

/* "5-7%" needs more room in the ring than "45%" did. */
.g-gauge-label {
  font-size: 0.85rem;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Calls to action
   ========================================================================== */

/* The pinned bar. Feature screens use it on phones only — desktop has the
   pair inline; bundle screens keep it at every width via .is-always. */
.g-fcta-inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

/*
 * The two controls are inline-flex, so on a text line they align on their
 * baselines and sit a couple of pixels apart. A flex row centres them instead.
 */
.g-fcta-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.g-fcta-row .g-btn,
.g-fcta-row .g-add-wide {
  height: 46px;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
}

/* On the pinned bar the pair splits roughly 30:70 and never wraps — the ask
   is the wide half, the plan toggle rides alongside it. */
.g-fcta-fixed .g-fcta-row {
  flex-wrap: nowrap;
}

.g-fcta-fixed .g-fcta-row .g-add-wide {
  flex: 0 0 28%;
  min-width: 0;
  padding: 0 0.55rem;
  gap: 0.35rem;
  font-size: 0.78rem;
}

.g-fcta-fixed .g-fcta-row .g-add-label {
  white-space: nowrap;
}

/* "Add to plan" does not fit 28% of a phone; "Add" does. Both labels are in
   the DOM so the swap is CSS, not a resize listener. */
.g-add-brief {
  display: none;
}

@media (max-width: 991px) {
  .g-fcta-fixed .g-add-full {
    display: none;
  }

  .g-fcta-fixed .g-add-brief {
    display: inline;
  }
}

.g-fcta-fixed .g-fcta-row .g-btn-cta {
  flex: 1 1 72%;
  padding: 0 0.75rem;
}

.g-fcta-fixed.is-always {
  display: block;
}

.g-fcta-fixed.is-always .g-btn {
  width: 100%;
}

/* Clear the pinned bar so it never sits on the last card. */
body[data-grow-view="bundle"] .grow-page,
body[data-grow-view="feature"] .grow-page {
  padding-bottom: 6rem;
}

@media (min-width: 992px) {
  .g-fcta-fixed.is-always .g-fcta-inner {
    max-width: 1240px;
    justify-content: flex-end;
  }

  /* Desktop has room: the pair sizes to its content on the right. */
  .g-fcta-fixed .g-fcta-row .g-add-wide,
  .g-fcta-fixed .g-fcta-row .g-btn-cta {
    flex: 0 0 auto;
    padding: 0 1.5rem;
    font-size: 0.875rem;
  }

  .g-fcta-fixed.is-always .g-btn {
    width: auto;
    min-width: 18rem;
  }
}

/* ---------- the header CTA ---------- */

/* Two different contact forms on one page is one too many: on Grow the header
   button opens the same enquiry sheet every other CTA here does. */
.grow-body .nav-cta,
.grow-body .mobile-nav-cta-btn {
  white-space: nowrap;
}

/* The circle line lost its button — it is a caption now, not a row. */
.g-circle {
  display: none;
}

@media (min-width: 992px) {
  .g-circle {
    display: block;
  }

  .g-circle p {
    max-width: none;
  }
}

/* The footer is one more "Talk To Zillout" under a screen that already pins
   one to the foot. It stays on the hub, where nothing else is asking. */
body[data-grow-view="bundle"] .footer,
body[data-grow-view="feature"] .footer {
  display: none;
}

/* ==========================================================================
   Progress feedback
   The constellation is the page's progress meter: a step blinks amber while
   it is untouched, breathes green while it is filling, and locks to a check
   when it is done. Completing one is worth a moment of its own.
   ========================================================================== */

.g-node-glow,
.g-node-check,
.g-node-burst {
  opacity: 0;
}

/* Amber blink means "waiting" — a step that has been started is not waiting. */
.g-node.is-part .g-node-halo,
.g-node.is-part .g-node-pulse,
.g-node.is-on .g-node-halo,
.g-node.is-on .g-node-pulse {
  opacity: 0;
  animation: none;
}

.g-node.is-part .g-node-ring {
  fill: rgba(47, 190, 121, 0.12);
  stroke: var(--g-400);
}

.g-node.is-part .g-node-num {
  fill: var(--g-400);
}

.g-node.is-part .g-node-glow {
  opacity: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: g-node-breathe 2.4s ease-in-out infinite;
}

@keyframes g-node-breathe {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.55);
  }
}

/* Finished: filled, checked, steadily lit. */
.g-node.is-on .g-node-ring {
  fill: var(--g-400);
  stroke: var(--g-mint);
}

.g-node.is-on .g-node-num {
  opacity: 0;
}

.g-node.is-on .g-node-check {
  opacity: 1;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.g-node.is-on .g-node-glow {
  opacity: 0.7;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(1.5);
}

/* The moment a step completes: one ring thrown outward. */
.g-node-burst {
  fill: none;
  stroke: var(--g-mint);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
}

.g-node.just-done .g-node-burst {
  animation: g-burst 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes g-burst {
  0% {
    opacity: 0.9;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(3.2);
  }
}

/* The ring closes as neighbouring steps finish. */
.g-edge.is-on {
  stroke: var(--g-400);
  stroke-width: 1.6;
}

/* ---------- the score box reacts to a gain ---------- */

.g-score.is-gain .g-score-value {
  animation: g-score-pop 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes g-score-pop {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.12);
    color: var(--g-mint);
  }
  100% {
    transform: scale(1);
  }
}

.g-score.is-gain .g-score-fill {
  animation: g-score-bloom 0.9s ease-out both;
}

@keyframes g-score-bloom {
  0% {
    box-shadow: 0 0 0 rgba(126, 224, 168, 0);
  }
  30% {
    box-shadow: 0 0 18px rgba(126, 224, 168, 0.85);
  }
  100% {
    box-shadow: 0 0 0 rgba(126, 224, 168, 0);
  }
}

.g-score-value {
  display: block;
  transform-origin: left center;
}

/* ---------- per-bundle progress bars ---------- */

.g-prog.is-done .g-prog-fill {
  background: linear-gradient(90deg, var(--g-400), var(--g-mint));
  box-shadow: 0 0 8px rgba(47, 190, 121, 0.75);
}

.g-prog.is-done .g-prog-text {
  color: var(--g-600);
  font-weight: 700;
}

/* ---------- the bundle hero ring ---------- */

.g-bhero-gauge {
  display: inline-block;
}

/*
 * The glow is a fatter, fainter copy of the arc drawn behind it. A CSS
 * drop-shadow was the obvious choice and the wrong one: filtering an element
 * inside the gradient-backed hero card promotes it to its own layer, which
 * composites as a dark rectangle over the gradient.
 */
.g-gauge-halo {
  fill: none;
  stroke: var(--g-mint);
  stroke-linecap: round;
  stroke-dasharray: var(--circ);
  stroke-dashoffset: var(--offset);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.g-bhero-gauge.is-part .g-gauge-halo {
  opacity: 0.18;
}

.g-bhero-gauge.is-on .g-gauge-halo {
  opacity: 0.32;
}

.g-bhero-gauge.is-on .g-gauge-label {
  color: var(--g-mint);
}

.g-bhero-gauge.just-done .g-gauge-halo {
  animation: g-gauge-flare 0.9s ease-out both;
}

@keyframes g-gauge-flare {
  0% {
    opacity: 0;
    stroke-width: 6;
  }
  35% {
    opacity: 0.75;
    stroke-width: 22;
  }
  100% {
    opacity: 0.32;
    stroke-width: 15;
  }
}

@media (prefers-reduced-motion: reduce) {
  .g-node.is-part .g-node-glow,
  .g-node.just-done .g-node-burst,
  .g-score.is-gain .g-score-value,
  .g-score.is-gain .g-score-fill,
  .g-bhero-gauge.just-done .g-gauge-halo {
    animation: none;
  }

  .g-node.is-part .g-node-glow {
    opacity: 0.6;
  }
}

.g-legend-item b {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
