/* =============================================================
   HOME HERO — the "system stage"
   Everything here is scoped to .gs-hero / .gs. Nothing in this file touches
   the site tokens in style.css; the --gs-* variables live on the .gs wrapper
   only. hero.js re-skins them per industry.

   The markup in index.html is the FINISHED frame (fields filled, toast in,
   email landed). That is what no-JS and prefers-reduced-motion visitors see.
   hero.js rewinds it and plays it; CSS only handles which card is in front.
   ============================================================= */

/* ---------- hero layout ---------- */
.highlight.main.gs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  justify-items: center;
  row-gap: 40px;
  /* phones: the nav pill is fixed to the TOP below 768px */
  padding: 112px 0 56px;
}
.gs-hero .gs-swap {
  display: block;
  white-space: nowrap;
}
/* --accent itself is too pale to read as headline text on the page grey */
.gs-hero .gs-blue {
  color: var(--accent-deep);
}
@media (max-width: 400px) {
  /* "premium businesses" has to fit one line or the swap shifts the page */
  .gs-hero .highlight-content h1 {
    font-size: 8.6vw;
  }
}
@media (min-width: 768px) {
  /* nav pill is fixed to the BOTTOM from here up: 24px gap + ~58px pill */
  .highlight.main.gs-hero {
    padding: 72px 0 128px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  /* tablets: tightened so the whole stack sits above the nav pill on a
     1024px-tall screen without scrolling */
  .highlight.main.gs-hero {
    row-gap: 24px;
    padding-top: 32px;
  }
  .gs-hero .highlight-content h1 {
    max-width: 11em; /* keeps "systems for" together, not "for" on its own */
    margin: 0 auto;
  }
  .gs-hero .hero-sub {
    margin-top: 20px;
  }
  .gs-hero .hero-cta-group {
    margin-top: 28px;
  }
}
@media (min-width: 1024px) {
  .highlight.main.gs-hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(28px, 3.5vw, 64px);
    --gs-gutter: max(clamp(32px, 5vw, 84px), calc((100vw - 1560px) / 2));
    padding: 40px var(--gs-gutter) 128px;
    text-align: left;
  }
  .gs-hero .highlight-content {
    justify-self: start;
    max-width: none;
    padding: 0;
  }
  .gs-hero .highlight-content h1 {
    font-size: clamp(34px, 3.45vw, 54px);
    letter-spacing: -0.04em;
  }
  .gs-hero .hero-sub {
    margin-left: 0;
    max-width: 440px;
  }
  .gs-hero .hero-cta-group {
    justify-content: flex-start;
  }
}

/* ---------- stage wrapper + default (food) skin ---------- */
.gs,
.gs * {
  box-sizing: border-box;
}
.gs {
  /* keep in step with INDUSTRIES[0] in hero.js — this is the no-JS skin */
  --gs-accent: #b5432e;
  --gs-on: #ffffff;
  --gs-ink: #7c2a1b;
  --gs-soft: #f6e6dc;
  --gs-display: Georgia, "Times New Roman", serif;
  --gs-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gs-case: none;
  --gs-track: -0.01em;
  --gs-weight: 700;

  --gs-card: #fffaf3;
  --gs-text: #2a1a14;
  --gs-mute: #8a7468;
  --gs-line: rgba(60, 30, 20, 0.16);
  --gs-edge: 1px solid rgba(60, 30, 20, 0.22);
  --gs-r: 20px;
  --gs-rs: 999px;

  --gs-skel: color-mix(in srgb, var(--gs-text) 12%, transparent);

  width: 100%;
  max-width: 520px;
  padding: 0 16px;
  text-align: left;
  color: var(--text);
  font-family: var(--gs-body);
}
.gs:not(.gs-ready) .gs-steps {
  visibility: hidden; /* inert without JS; space stays reserved */
}

.gs-seg:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 2px;
}

/* ---------- step segments ---------- */
.gs-body {
  position: relative;
}
.gs-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 6px;
}
.gs-seg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--text);
  font: 600 11px/1 Sora, sans-serif;
  text-align: left;
  cursor: inherit;
}
.gs-seg-bar {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: rgba(28, 28, 28, 0.16);
  overflow: hidden;
}
.gs-seg-bar i {
  display: block;
  height: 100%;
  background: var(--text);
  transform-origin: 0 50%;
}
.gs:not(.gs-live) .gs-seg-bar i {
  display: none;
}
.gs:not(.gs-live) .gs-seg.is-on .gs-seg-bar {
  background: var(--text);
}
.gs-seg-lbl {
  display: none;
  opacity: 0.45;
}
.gs-seg.is-on .gs-seg-lbl {
  opacity: 1;
}

/* ---------- stage: phone = card stack ---------- */
.gs-stage {
  --step: 0;
  position: relative;
  height: 444px; /* 24 peek + 372 card + 48 counter */
}
.gs-wire {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  visibility: hidden; /* phones: the lead rides the segments instead */
}
.gs-wire path {
  fill: none;
  stroke: var(--text);
  stroke-opacity: 0.3;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 1 7;
}
.gs-lead {
  position: absolute;
  left: -7px;
  top: -7px;
  z-index: 20;
  width: 14px;
  height: 14px;
  border: 2.5px solid #fff;
  border-radius: 50%;
  background: var(--gs-accent);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
}
.gs-live .gs-lead {
  opacity: 1;
}

.gs-card {
  /* --d: how many steps away this card is. 0 = front, 1-2 = peeking behind,
     negative = already done, slid off to the left. */
  --d: calc(var(--i) - var(--step));
  --p: clamp(0, var(--d), 2);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 372px;
  color: var(--gs-text);
  z-index: calc(10 - var(--d));
  opacity: clamp(0, calc(var(--d) + 1), 1);
  transform-origin: 50% 0;
  transform: translateX(calc(min(var(--d), 0) * 118%))
    translateY(calc((2 - var(--p)) * 12px))
    rotate(calc(min(var(--d), 0) * 5deg)) scale(calc(1 - var(--p) * 0.06));
  transition:
    transform 0.7s cubic-bezier(0.3, 1.3, 0.5, 1),
    opacity 0.35s ease;
}
.gs-card-in {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  border: var(--gs-edge);
  border-radius: var(--gs-r);
  background: var(--gs-card);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.04),
    0 22px 44px -22px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.gs-veil {
  position: absolute;
  inset: 0;
  border-radius: var(--gs-r);
  background: var(--bg);
  opacity: calc(var(--p) * 0.3);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* ---------- shared bits ---------- */
.gs-ava {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gs-accent);
  color: var(--gs-on);
  font: var(--gs-weight) 12px/1 var(--gs-display);
}
.gs-d {
  font-family: var(--gs-display);
  font-weight: var(--gs-weight);
  text-transform: var(--gs-case);
  letter-spacing: var(--gs-track);
}
.gs svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 1. post ---------- */
.gs-post-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
}
.gs-post-who {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.gs-post-who b {
  overflow: hidden;
  font: 600 11px/1.1 var(--gs-body);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gs-post-who small {
  color: var(--gs-mute);
  font-size: 9.5px;
  line-height: 1;
}
.gs-more {
  display: flex;
  gap: 2.5px;
}
.gs-more i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gs-text);
}
/* the link bar that sits directly under the picture */
.gs-post-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: var(--gs-soft);
  color: var(--gs-ink);
  font: 700 10.5px/1 var(--gs-body);
}
.gs-post-cta svg {
  width: 11px;
  height: 11px;
  stroke-width: 2.4;
}
.gs-ripple {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  margin: -36px;
  border-radius: 50%;
  background: var(--gs-accent);
  opacity: 0;
  pointer-events: none;
}
.gs-post-acts {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px 0;
}
.gs-post-acts svg {
  width: 17px;
  height: 17px;
}
.gs-post-acts svg:last-child {
  margin-left: auto;
}
.gs-post-likes {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px 0;
  color: var(--gs-mute);
  font-size: 10px;
  line-height: 1;
}
.gs-post-likes b {
  color: var(--gs-text);
  font-weight: 600;
}
.gs-faces {
  display: flex;
}
.gs-faces i {
  width: 13px;
  height: 13px;
  margin-left: -4px;
  border: 1.5px solid var(--gs-card);
  border-radius: 50%;
  background: var(--gs-accent);
}
.gs-faces i:first-child {
  margin-left: 0;
  background: var(--gs-ink);
}
.gs-faces i:last-child {
  background: color-mix(in srgb, var(--gs-text) 35%, var(--gs-card));
}
.gs-post-cap {
  display: block;
  padding: 6px 12px 12px;
  font-size: 11px;
  line-height: 1.42;
}
.gs-post-cap em {
  color: var(--gs-ink);
  font-style: normal;
}

/* ---------- post / landing artwork: CSS shapes only ---------- */
.gs-art {
  position: relative;
  flex: 1;
  min-height: 0;
  background: var(--gs-soft);
  overflow: hidden;
}
.gs-art > i {
  position: absolute;
}
/* overlays on the post picture; an empty one is simply not shown */
.gs-tag {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 8px;
  border-radius: var(--gs-rs);
  background: var(--gs-card);
  color: var(--gs-text);
  font: 700 9px/1 var(--gs-body);
  letter-spacing: 0.3px;
}
.gs-lab {
  position: absolute;
  left: 10px;
  bottom: 9px;
  padding: 4px 7px;
  border-radius: var(--gs-rs);
  background: var(--gs-accent);
  color: var(--gs-on);
  font: 700 8.5px/1 var(--gs-body);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.gs-lab + .gs-lab {
  left: auto;
  right: 10px;
}
.gs-poster {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.gs-poster b {
  font-size: 32px;
  line-height: 0.92;
}
.gs-poster small {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
}
.gs-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  display: none;
  gap: 4px;
  translate: -50% 0;
}
.gs-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.55;
}
.gs-dots i:first-child {
  opacity: 1;
}
.gs-tag,
.gs-lab,
.gs-poster {
  z-index: 2; /* above the shapes and the builder's ground strip */
}
.gs-tag:empty,
.gs-lab:empty,
.gs-poster b:empty,
.gs-poster small:empty {
  display: none;
}

/* food: a carousel photo — plate, side bowl and the recipe book itself */
[data-industry="food"] .gs-art {
  background: repeating-linear-gradient(
    90deg,
    var(--gs-soft) 0 14px,
    #efd6c7 14px 28px
  );
}
[data-industry="food"] .gs-dots {
  display: flex;
}
[data-industry="food"] .gs-art > i:nth-child(1) {
  left: 40%;
  top: 54%;
  height: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  translate: -50% -50%;
  background:
    radial-gradient(circle at 42% 40%, #5f8f4a 0 5%, transparent 5.5%),
    radial-gradient(circle at 60% 56%, #5f8f4a 0 4%, transparent 4.5%),
    radial-gradient(circle at 54% 36%, #f2c14e 0 6%, transparent 6.5%),
    radial-gradient(
      circle,
      var(--gs-accent) 0 37%,
      #fff 38% 60%,
      #e9e2da 61% 63%,
      #fff 64%
    );
  box-shadow: 0 6px 0 -2px rgba(0, 0, 0, 0.12);
}
[data-industry="food"] .gs-art > i:nth-child(2) {
  left: 6%;
  top: 24%;
  width: 4px;
  height: 58%;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
[data-industry="food"] .gs-art > i:nth-child(3) {
  right: -7%;
  top: -12%;
  height: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #f2c14e 0 44%, #fff 46%);
  box-shadow: 0 5px 0 -2px rgba(0, 0, 0, 0.12);
}
[data-industry="food"] .gs-art > i:nth-child(4) {
  right: 5%;
  bottom: 7%;
  height: 54%;
  aspect-ratio: 0.74;
  border-radius: 3px;
  rotate: 8deg;
  background:
    linear-gradient(var(--gs-card), var(--gs-card)) 60% 24% / 60% 28% no-repeat,
    linear-gradient(var(--gs-card), var(--gs-card)) 60% 66% / 36% 3% no-repeat,
    linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0 8%, transparent 8%),
    var(--gs-ink);
  box-shadow: 0 6px 0 -2px rgba(0, 0, 0, 0.18);
}
[data-industry="food"] .gs-art > i:nth-child(5) {
  left: 20%;
  bottom: 7%;
  height: 9%;
  aspect-ratio: 2.2;
  border-radius: 50%;
  rotate: -28deg;
  background: #5f8f4a;
}

/* builder: before / after, split down the middle */
[data-industry="builder"] .gs-art {
  background: linear-gradient(90deg, #d7d3ca 0 50%, var(--gs-soft) 50%);
}
[data-industry="builder"] .gs-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 16%;
  background: var(--gs-text);
}
[data-industry="builder"] .gs-art > i:nth-child(1) {
  left: 50%;
  bottom: 16%;
  height: 40%;
  aspect-ratio: 1.25;
  translate: -92% 0;
  background:
    linear-gradient(var(--gs-text), var(--gs-text)) 22% 100% / 18% 62% no-repeat,
    linear-gradient(var(--gs-accent), var(--gs-accent)) 74% 34% / 24% 30%
      no-repeat,
    #fff;
  box-shadow: 0 0 0 1.5px var(--gs-text);
}
[data-industry="builder"] .gs-art > i:nth-child(2) {
  left: 50%;
  bottom: 56%;
  height: 25%;
  aspect-ratio: 2.3;
  translate: -87% 0;
  background: var(--gs-text);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
[data-industry="builder"] .gs-art > i:nth-child(3) {
  left: 50%;
  bottom: 16%;
  height: 29%;
  aspect-ratio: 1.5;
  translate: 12% 0;
  background:
    linear-gradient(#fff, #fff) 50% 45% / 66% 48% no-repeat,
    var(--gs-accent);
  box-shadow: 0 0 0 1.5px var(--gs-text);
}
[data-industry="builder"] .gs-art > i:nth-child(4) {
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.07) 0 2px, transparent 2px 8px),
    rgba(120, 120, 120, 0.3);
}
[data-industry="builder"] .gs-art > i:nth-child(5) {
  left: 50%;
  top: 0;
  z-index: 1;
  width: 20px;
  height: 100%;
  margin-left: -10px;
  background:
    radial-gradient(circle, #fff 0 8px, transparent 8.5px),
    linear-gradient(#fff, #fff) 50% 0 / 2px 100% no-repeat;
}

/* dental: a clean graphic card with bookable slots */
[data-industry="dental"] .gs-art {
  background:
    radial-gradient(
      circle at 88% 112%,
      color-mix(in srgb, var(--gs-accent) 24%, transparent) 0 46%,
      transparent 46.5%
    ),
    var(--gs-soft);
}
[data-industry="dental"] .gs-poster {
  top: 38px;
  right: 30%; /* keeps the headline clear of the sparkle */
  bottom: auto;
  color: var(--gs-ink);
}
[data-industry="dental"] .gs-poster b {
  font-size: 19px;
  line-height: 1.08;
}
[data-industry="dental"] .gs-lab {
  border: 1px solid var(--gs-line);
  background: var(--gs-card);
  color: var(--gs-ink);
  letter-spacing: 0;
  text-transform: none;
}
[data-industry="dental"] .gs-art > i:nth-child(1) {
  left: 50%;
  top: 56%;
  height: 22%;
  aspect-ratio: 2;
  border: 4px solid var(--gs-accent);
  border-top-width: 0;
  border-radius: 0 0 999px 999px;
  translate: -50% 0;
  background: repeating-linear-gradient(90deg, #fff 0 15%, var(--gs-soft) 15% 16.6%);
}
[data-industry="dental"] .gs-art > i:nth-child(2),
[data-industry="dental"] .gs-art > i:nth-child(3) {
  right: 10%;
  top: 10%;
  height: 20%;
  aspect-ratio: 1;
  background: var(--gs-accent);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
[data-industry="dental"] .gs-art > i:nth-child(3) {
  right: 30%;
  top: 34%;
  height: 10%;
  background: var(--gs-ink);
}
[data-industry="dental"] .gs-art > i:nth-child(4) {
  left: -9%;
  bottom: -16%;
  height: 46%;
  aspect-ratio: 1;
  border: 2px solid color-mix(in srgb, var(--gs-accent) 45%, transparent);
  border-radius: 50%;
}

/* football: a matchday poster */
[data-industry="football"] .gs-art {
  background: repeating-linear-gradient(115deg, #1a2440 0 22px, #131a2b 22px 44px);
}
[data-industry="football"] .gs-poster {
  color: #fff;
}
[data-industry="football"] .gs-art > i:nth-child(1) {
  right: -22%;
  top: -20%;
  height: 140%;
  aspect-ratio: 0.5;
  rotate: 18deg;
  background: var(--gs-accent);
}
[data-industry="football"] .gs-art > i:nth-child(2) {
  right: 11%;
  top: 13%;
  height: 40%;
  aspect-ratio: 0.82;
  background:
    linear-gradient(#131a2b, #131a2b) 50% 0 / 26% 100% no-repeat,
    #fff;
  clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%);
}
[data-industry="football"] .gs-art > i:nth-child(3) {
  left: 50%;
  bottom: -34%;
  height: 62%;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  translate: -50% 0;
}
[data-industry="football"] .gs-art > i:nth-child(4) {
  left: 12%;
  top: 40%;
  height: 11%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #131a2b 0 30%, #fff 32%);
}

/* ---------- 2. landing page in a browser ---------- */
.gs-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--gs-line);
  background: color-mix(in srgb, var(--gs-text) 6%, var(--gs-card));
}
.gs-bar > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gs-skel);
}
.gs-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 20px;
  margin-left: 8px;
  padding: 0 9px;
  border: 1px solid var(--gs-line);
  border-radius: 999px;
  background: var(--gs-card);
  color: var(--gs-mute);
  font: 500 9.5px/1 ui-monospace, Menlo, Consolas, monospace;
}
.gs-url svg {
  width: 9px;
  height: 9px;
}
.gs-view {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.gs-page {
  will-change: transform;
}
.gs-pg-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--gs-line);
  font-size: 11px;
}
.gs-pg-nav b {
  margin-right: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gs-pg-nav i {
  flex: none;
  width: 20px;
  height: 4px;
  border-radius: 2px;
  background: var(--gs-skel);
}
.gs-pg-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 12px;
  align-items: center;
  padding: 16px;
}
.gs-pg-h {
  display: block;
  font-size: 19px;
  line-height: 1.08;
}
.gs-pg-sub {
  display: block;
  margin-top: 7px;
  color: var(--gs-mute);
  font-size: 10px;
  line-height: 1.4;
}
.gs-pg-hero .gs-art {
  height: 84px;
  border-radius: 10px;
}
.gs-pg-proof {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: var(--gs-soft);
}
.gs-pg-proof span {
  flex: 1;
  color: var(--gs-ink);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.gs-pg-offer {
  display: grid;
  gap: 7px;
  margin: 14px 16px 16px;
  padding: 14px;
  border: 1px solid var(--gs-line);
  border-radius: min(var(--gs-r), 12px);
}
.gs-pg-tag {
  color: var(--gs-ink);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}
.gs-pg-offer-t {
  font-size: 15px;
  line-height: 1.15;
}
.gs-pg-offer-s {
  color: var(--gs-mute);
  font-size: 10px;
  line-height: 1.4;
}
.gs-pg-li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.gs-pg-li svg {
  width: 10px;
  height: 10px;
  color: var(--gs-accent);
  stroke-width: 2.6;
}
.gs-pg-li i {
  height: 5px;
  border-radius: 3px;
  background: var(--gs-skel);
}
.gs-pg-btn {
  margin-top: 5px;
  padding: 10px;
  border-radius: var(--gs-rs);
  background: var(--gs-accent);
  color: var(--gs-on);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
.gs-a {
  /* where the page's button ends up once it has scrolled into view */
  position: absolute;
  left: 50%;
  bottom: 46px;
  width: 0;
  height: 0;
}

/* ---------- 3. conversion ---------- */
.gs-conv .gs-card-in {
  gap: 9px;
  padding: 16px 14px 14px;
}
.gs-conv-top {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 2px;
}
.gs-conv-top small {
  overflow: hidden;
  color: var(--gs-ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.gs-conv-top b {
  font-size: 16px;
  line-height: 1.1;
}
.gs-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gs-field-l {
  color: var(--gs-mute);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1;
  text-transform: uppercase;
}
.gs-val {
  position: relative;
  display: flex;
  align-items: center;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--gs-line);
  border-radius: min(var(--gs-rs), 8px);
  overflow: hidden;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.gs-cover {
  position: absolute;
  inset: 0;
  background: var(--gs-card);
  opacity: 0;
}
.gs-submit {
  display: grid;
  place-items: center;
  height: 36px;
  margin-top: auto;
  border-radius: var(--gs-rs);
  background: var(--gs-accent);
  color: var(--gs-on);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.gs-submit > * {
  grid-area: 1 / 1;
}
.gs-submit-lbl {
  opacity: 0;
}
.gs-submit-ok {
  display: flex;
  align-items: center;
  gap: 7px;
}
.gs-check {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gs-on);
  color: var(--gs-accent);
  overflow: hidden;
}
.gs-check-w {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.gs-check svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.6;
}
.gs-toast {
  position: absolute;
  top: -12px;
  right: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: min(var(--gs-r), 12px);
  background: var(--text);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}
.gs-toast-ic {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--gs-accent);
  color: var(--gs-on);
}
.gs-toast-ic svg {
  width: 13px;
  height: 13px;
}
.gs-toast-tx {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.gs-toast-tx b {
  font: 700 11px/1 Sora, sans-serif;
}
.gs-toast-tx small {
  font-size: 9.5px;
  line-height: 1;
  opacity: 0.7;
}

/* the follow-up, folded into the conversion card: it appears once the
   order or booking is confirmed */
.gs-sent {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--gs-mute);
}
.gs-sent svg {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--gs-ink);
}
.gs-sent > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.gs-sent b {
  color: var(--gs-text);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.gs-sent small {
  overflow: hidden;
  font-size: 9.5px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- "+1 client" ---------- */
.gs-count {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  height: 38px;
  margin: auto;
  padding: 0 15px 0 6px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font: 700 12.5px/1 Sora, sans-serif;
}
.gs-count-ic {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gs-accent);
  color: var(--gs-on);
}
.gs-count-ic svg {
  width: 13px;
  height: 13px;
}
.gs-roll {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  vertical-align: top;
}
.gs-roll-in {
  display: flex;
  flex-direction: column;
}
.gs-roll-in i {
  height: 1em;
  font-style: normal;
}

/* ---------- conversion: the thing being chosen ---------- */
.gs-pick {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gs-opts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.gs-opt {
  position: relative;
  display: grid;
  place-items: center;
  height: 30px;
  border: 1px solid var(--gs-line);
  border-radius: min(var(--gs-rs), 8px);
  overflow: hidden;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.gs-opt i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: color-mix(in srgb, var(--gs-accent) 22%, transparent);
  box-shadow: inset 0 0 0 1.5px var(--gs-accent);
  opacity: 0;
}
.gs-opt.is-pick i {
  opacity: 1;
}
.gs-opt span {
  position: relative;
}

/* ---------- per-industry shape: same parts, different build ---------- */
/* builder: square, heavy rules, picture first */
[data-industry="builder"] .gs-pg-nav {
  border-bottom: 2px solid var(--gs-text);
}
[data-industry="builder"] .gs-pg-hero {
  grid-template-columns: 104px minmax(0, 1fr);
}
[data-industry="builder"] .gs-pg-hero .gs-art {
  order: -1;
  border-radius: 0;
  box-shadow: 0 0 0 1.5px var(--gs-text);
}
[data-industry="builder"] .gs-pg-proof {
  background: var(--gs-text);
}
[data-industry="builder"] .gs-pg-proof span {
  color: var(--gs-accent);
  font-size: 8.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
[data-industry="builder"] .gs-pg-offer {
  border: 1.5px solid var(--gs-text);
  border-left-width: 6px;
}
[data-industry="builder"] .gs-opt,
[data-industry="builder"] .gs-val {
  border: 1.5px solid var(--gs-text);
}
/* dental: centred, soft, lots of air */
[data-industry="dental"] .gs-pg-hero {
  grid-template-columns: minmax(0, 1fr);
  text-align: center;
}
[data-industry="dental"] .gs-pg-hero .gs-art {
  height: 62px;
  border-radius: 999px;
}
[data-industry="dental"] .gs-pg-proof {
  padding-top: 0;
  background: none;
}
[data-industry="dental"] .gs-pg-proof span {
  padding: 6px 4px;
  border: 1px solid var(--gs-line);
  border-radius: 999px;
}
[data-industry="dental"] .gs-pg-offer {
  border: 0;
  background: var(--gs-soft);
  text-align: center;
}
[data-industry="dental"] .gs-pg-li {
  display: none;
}
[data-industry="dental"] .gs-opt {
  border-radius: 999px;
}
/* football: dark, loud, a banner and a scoreboard */
[data-industry="football"] .gs-pg-hero {
  grid-template-columns: minmax(0, 1fr) 70px;
  background: var(--gs-accent);
  color: var(--gs-on);
}
[data-industry="football"] .gs-pg-h {
  font-size: 24px;
}
[data-industry="football"] .gs-pg-sub {
  color: inherit;
  opacity: 0.85;
}
[data-industry="football"] .gs-pg-proof {
  gap: 0;
  padding: 0;
  border-bottom: 1px solid var(--gs-line);
  background: none;
}
[data-industry="football"] .gs-pg-proof span {
  padding: 10px 4px;
  border-right: 1px solid var(--gs-line);
  color: var(--gs-text);
  text-transform: uppercase;
}
[data-industry="football"] .gs-pg-offer {
  border-style: dashed;
}
[data-industry="football"] .gs-opt {
  border-style: dashed;
  font-family: var(--gs-display);
  font-size: 12px;
  font-weight: var(--gs-weight);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ---------- desktop: all three at once, staggered ---------- */
@media (min-width: 1024px) {
  .gs {
    justify-self: start;
    max-width: 820px;
    padding: 0;
  }
  .gs-steps {
    max-width: 400px;
    gap: 10px;
    margin-bottom: 14px;
    margin-left: max(0px, calc(100% - 646px)); /* lines up with the post */
  }
  .gs-seg-lbl {
    display: block;
  }
  .gs-stage {
    height: clamp(470px, calc(100vh - 290px), 580px);
  }
  .gs-wire {
    visibility: visible;
  }
  .gs:not(.gs-live) .gs-wire {
    visibility: hidden;
  }
  .gs-card {
    left: auto;
    top: auto;
    z-index: calc(1 + var(--i));
    opacity: 1;
    transform: none;
    transform-origin: 50% 50%;
    transition: transform 0.6s cubic-bezier(0.3, 1.45, 0.5, 1);
  }
  .gs-live .gs-card {
    transform: scale(0.97);
  }
  .gs-live .gs-card.is-active {
    z-index: 8;
    transform: translateY(-8px) scale(1.02);
  }
  .gs-veil {
    opacity: 0;
  }
  .gs-live .gs-card:not(.is-active) .gs-veil {
    opacity: 0.5;
  }
  /* a grey veil turns dark cards to mud at full strength */
  .gs-live[data-industry="football"] .gs-card:not(.is-active) .gs-veil {
    opacity: 0.3;
  }
  .gs-post {
    /* sits 24px left of the browser (400 + 222 + 24 = 646) whenever the
       stage is wide enough, which opens up space beside the headline */
    left: max(0px, calc(100% - 646px));
    top: 20px;
    width: 222px;
    height: 404px;
  }
  .gs-browser {
    right: 0;
    top: 0;
    width: 400px;
    height: 268px;
  }
  .gs-conv {
    right: 4%;
    bottom: 0;
    width: 256px;
    height: 312px;
  }
  .gs-toast {
    top: -18px;
    right: -16px;
  }
  .gs-count {
    left: calc(max(0px, 100% - 646px) + 14px); /* stays under the post */
    right: auto;
    margin: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gs-card,
  .gs-veil {
    transition: none;
  }
}
