/* Public site: landing (home/index), /the-games, game pages, pricing, FAQ, hosted and in person,
   and the "Book a session" form. Builds on 01_tokens and 04_components. */

/* ---------- Shared marketing type and sections ---------- */

.gtf-mk-head {
  margin: 0 0 14px;
}

.gtf-mk-head--lg {
  margin: 0 0 32px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
}

.gtf-mk-lede {
  margin: 0 0 32px;
  max-width: 34em;
  font-size: 18px;
  line-height: 1.5;
  color: var(--gtf-text-2);
}

.gtf-mk-lede--wide {
  margin-bottom: 40px;
}

.gtf-mk-lede--ink {
  margin-bottom: 36px;
  color: var(--gtf-ink);
}

.gtf-mk-section {
  padding: 24px 0 var(--gtf-section-gap);
}

.gtf-mk-section--faq {
  padding: 40px 0 72px;
}

.gtf-mk-page {
  padding: 32px 0 var(--gtf-section-gap);
}

/* ---------- Landing hero ---------- */

.gtf-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 48px;
  align-items: center;
  padding: 16px 0 72px;
}

.gtf-hero__text {
  min-width: 0;
}

.gtf-hero__heading {
  margin: 0 0 22px;
}

.gtf-hero__lede {
  margin: 0 0 32px;
  max-width: 30em;
  font-size: 19px;
  line-height: 1.55;
  color: var(--gtf-text-2);
}

/* ---------- Game reel ---------- */

.gtf-reel-wrap {
  position: relative;
  min-width: 0;
}

.gtf-reel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(20px, 3vw, 32px);
  border: 3px solid var(--gtf-yellow);
  border-radius: var(--gtf-radius-card);
  background: var(--gtf-reel);
  box-shadow: var(--gtf-sticker);
  transition: border-color 0.3s;

  &.is-landed {
    border-color: oklch(0.78 0.16 var(--hue, 95));
  }
}

.gtf-reel__heading {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--gtf-cream);
}

.gtf-reel__window {
  position: relative;
  height: 168px;
}

.gtf-reel__mask {
  height: 168px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent);
}

.gtf-reel__strip {
  will-change: transform;
}

.gtf-reel.is-spinning .gtf-reel__strip {
  filter: blur(1.5px);
}

.gtf-reel__item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  height: 56px;
}

.gtf-reel__dot {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--game);
}

.gtf-reel__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--game);
}

.gtf-reel__frame {
  position: absolute;
  left: 0;
  right: 0;
  top: 56px;
  height: 56px;
  border-top: 3px solid var(--gtf-yellow);
  border-bottom: 3px solid var(--gtf-yellow);
  pointer-events: none;
}

.gtf-reel__pointer {
  position: absolute;
  right: -2px;
  top: 70px;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-right: 18px solid var(--gtf-yellow);
  pointer-events: none;
}

.gtf-reel__desc {
  min-height: 81px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--gtf-text-2);
}

.gtf-reel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;

  & [hidden] {
    display: none;
  }
}

.gtf-reel__spin {
  font-size: 16px;
}

.gtf-reel.is-spinning .gtf-reel__spin {
  cursor: wait;
}

.gtf-reel__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.gtf-join-chip {
  position: absolute;
  top: -18px;
  right: -6px;
  padding: 9px 14px;
  border: 0;
  border-radius: var(--gtf-radius-input);
  background: var(--gtf-yellow);
  color: var(--gtf-ink);
  font-family: var(--gtf-mono);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transform: rotate(6deg);
}

/* ---------- Three ways to play ---------- */

.gtf-ways {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.gtf-ways__item {
  min-width: 0;
}

.gtf-ways__heading {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
  color: var(--gtf-ink);
}

.gtf-ways__body {
  font-size: 16px;
  line-height: 1.55;
}

.gtf-ways__item--lead {
  & .gtf-ways__heading {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.02em;
  }

  & .gtf-ways__body {
    font-size: 17px;
  }
}

@media (max-width: 820px) {
  .gtf-ways {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- Game rows ---------- */

.gtf-rows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  column-gap: 16px;
  margin: 0 -20px;
}

.gtf-row {
  position: relative;
  display: block;
  padding: 22px 20px 26px;
  border-radius: var(--gtf-radius-card);
  box-shadow: inset 0 2px 0 var(--gtf-surface-3);
  transition: transform 0.2s ease-out, background 0.2s ease-out, box-shadow 0.2s;

  body.gtf & {
    color: var(--gtf-cream);
  }

  &:hover,
  &:focus-visible {
    box-shadow: inset 0 0 0 3px var(--game);
    background: var(--game-dark);
    transform: scale(1.025) rotate(-0.6deg);
  }
}

.gtf-row__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 8px;
  padding-right: 4px;
}

.gtf-row__dot {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--game);
}

.gtf-row__name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--game);
}

.gtf-row__tagline {
  display: block;
  max-width: 32em;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gtf-text-2);
}

/* Coming soon: same row, quieter colours */
.gtf-row--soon {
  & .gtf-row__dot {
    background: transparent;
    box-shadow: inset 0 0 0 3px var(--game);
  }

  & .gtf-row__name {
    color: color-mix(in oklch, var(--game) 70%, var(--gtf-text-3));
  }

  & .gtf-row__tagline {
    color: var(--gtf-text-3);
  }

  &:hover,
  &:focus-visible {
    background: color-mix(in oklch, var(--game-dark) 60%, var(--gtf-surface-1));
    box-shadow: inset 0 0 0 3px color-mix(in oklch, var(--game) 60%, transparent);
  }
}

/* ---------- Row "stage" animations (from the design's <style> block) ----------
   They play on row hover, and all the time inside .gtf-live (the game page hero). */

.gtf-stage {
  position: absolute;
  right: 20px;
  top: 18px;
  width: 130px;
  height: 34px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.gtf-row:hover .gtf-stage,
.gtf-row:focus-visible .gtf-stage {
  opacity: 1;
}

.gtf-stage i,
.gtf-stage b,
.gtf-stage u {
  position: absolute;
  display: block;
  font-style: normal;
  text-decoration: none;
}

.gtf-row:hover .gtf-stage *,
.gtf-live .gtf-stage * {
  animation-iteration-count: infinite;
}

@media (max-width: 520px) {
  .gtf-row .gtf-stage {
    display: none;
  }
}

/* Race: three runners */
.s-race i { left: 0; height: 8px; width: 16px; border-radius: 4px; }
.s-race .a { top: 3px; background: var(--gtf-yellow); animation-duration: 0.8s; }
.s-race .b { top: 13px; background: var(--gtf-pink); animation-duration: 1s; }
.s-race .c { top: 23px; background: var(--gtf-teal); animation-duration: 1.25s; }
.gtf-row:hover .s-race i,
.gtf-live .s-race i { animation-name: gtf-go; animation-timing-function: linear; }

/* Snake: a wiggling line of dots */
.s-snake i {
  top: 13px;
  left: calc(var(--i, 0) * 15px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: oklch(0.78 0.16 150);
  animation-delay: calc(var(--i, 0) * -0.11s);
}
.gtf-row:hover .s-snake i,
.gtf-live .s-snake i { animation-name: gtf-wig; animation-duration: 0.9s; animation-timing-function: ease-in-out; }

/* Ship: bobbing hull and a splash ring */
.s-ship .hull { left: 36px; top: 16px; width: 48px; height: 12px; background: oklch(0.78 0.16 250); border-radius: 2px 2px 14px 14px; }
.s-ship .mast { left: 56px; top: 5px; width: 6px; height: 11px; background: oklch(0.78 0.16 250); }
.s-ship .ring { left: 94px; top: 12px; width: 20px; height: 20px; border: 3px solid oklch(0.78 0.16 250); border-radius: 50%; opacity: 0; }
.gtf-row:hover .s-ship .hull,
.gtf-row:hover .s-ship .mast,
.gtf-live .s-ship .hull,
.gtf-live .s-ship .mast { animation-name: gtf-bob; animation-duration: 1.2s; animation-timing-function: ease-in-out; }
.gtf-row:hover .s-ship .ring,
.gtf-live .s-ship .ring { animation-name: gtf-ring; animation-duration: 1.2s; }

/* Bingo: numbered balls popping in turn (numbers from the catalogue's ball_numbers) */
.s-bingo b {
  top: 4px;
  left: calc(var(--i, 0) * 33px);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: oklch(0.78 0.16 330);
  color: var(--gtf-ink);
  font-weight: 900;
  font-size: 14px;
  line-height: 26px;
  text-align: center;
  transform: scale(0);
  animation-delay: calc(var(--i, 0) * 0.3s);
}
.gtf-row:hover .s-bingo b,
.gtf-live .s-bingo b { animation-name: gtf-pop; animation-duration: 2.4s; animation-timing-function: ease-out; }

/* Roulette: wheel one way, ball the other */
.s-roul .wheel { left: 50px; top: 2px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid oklch(0.78 0.16 95); background: repeating-conic-gradient(oklch(0.78 0.16 95) 0 30deg, var(--gtf-ink) 30deg 60deg); }
.s-roul .orb { left: 50px; top: 2px; width: 30px; height: 30px; }
.s-roul .orb::after { content: ""; position: absolute; left: 12px; top: -2px; width: 7px; height: 7px; border-radius: 50%; background: var(--gtf-cream); }
.gtf-row:hover .s-roul .wheel,
.gtf-live .s-roul .wheel { animation-name: gtf-spin; animation-duration: 1.4s; animation-timing-function: linear; }
.gtf-row:hover .s-roul .orb,
.gtf-live .s-roul .orb { animation-name: gtf-spin; animation-duration: 0.9s; animation-timing-function: linear; animation-direction: reverse; }

/* Roll a Race: a rolling ball */
.s-derby i { left: 0; top: 5px; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(90deg, oklch(0.78 0.16 200) 50%, var(--gtf-cream) 50%); }
.gtf-row:hover .s-derby i,
.gtf-live .s-derby i { animation-name: gtf-roll; animation-duration: 1.1s; animation-timing-function: linear; }

/* Colourful Language: tiles cycling colour */
.s-col i {
  top: 8px;
  left: calc(30px + var(--i, 0) * 26px);
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: oklch(0.78 0.16 285);
  animation-delay: calc(var(--i, 0) * -0.5s);
}
.gtf-row:hover .s-col i,
.gtf-live .s-col i { animation-name: gtf-hue; animation-duration: 1.6s; animation-timing-function: linear; }

/* Ball Drop: a ball bouncing down the pegs */
.s-peg i { width: 5px; height: 5px; border-radius: 50%; background: var(--gtf-line); }
.s-peg i:nth-of-type(1) { left: 40px; top: 12px; }
.s-peg i:nth-of-type(2) { left: 70px; top: 12px; }
.s-peg i:nth-of-type(3) { left: 55px; top: 24px; }
.s-peg i:nth-of-type(4) { left: 85px; top: 24px; }
.s-peg i:nth-of-type(5) { left: 25px; top: 24px; }
.s-peg b { left: 60px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: oklch(0.78 0.16 120); }
.gtf-row:hover .s-peg b,
.gtf-live .s-peg b { animation-name: gtf-drop; animation-duration: 1.6s; animation-timing-function: ease-in; }

/* Higher or Lower: a flipping card and up/down arrows */
.s-hl b { left: 40px; top: 3px; width: 22px; height: 28px; border-radius: 4px; background: var(--gtf-cream); }
.s-hl .up { left: 82px; top: 4px; width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 12px solid oklch(0.78 0.16 70); }
.s-hl .dn { left: 82px; top: 20px; width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 12px solid oklch(0.78 0.16 70); }
.gtf-row:hover .s-hl b,
.gtf-live .s-hl b { animation-name: gtf-flip; animation-duration: 1.2s; animation-timing-function: ease-in-out; }
.gtf-row:hover .s-hl .up,
.gtf-live .s-hl .up { animation-name: gtf-up; animation-duration: 0.6s; animation-timing-function: ease-in-out; animation-direction: alternate; }
.gtf-row:hover .s-hl .dn,
.gtf-live .s-hl .dn { animation-name: gtf-dn; animation-duration: 0.6s; animation-timing-function: ease-in-out; animation-direction: alternate; animation-delay: 0.3s; }

/* Hexagon (new): six segments of a ring lighting up in sequence */
.s-hex i {
  left: 59px;
  top: 15px;
  width: 12px;
  height: 4px;
  border-radius: 2px;
  background: oklch(0.78 0.16 175);
  opacity: 0.22;
  transform: rotate(calc(var(--i, 0) * 60deg)) translateY(-12px);
  animation-delay: calc(var(--i, 0) * 0.2s);
}
.gtf-row:hover .s-hex i,
.gtf-live .s-hex i { animation-name: gtf-lit; animation-duration: 1.2s; animation-timing-function: ease-out; }

/* Heist (new): three banks, the police light flashing on one in turn */
.s-heist i {
  top: 22px;
  width: 22px;
  height: 18px;
  border-radius: 2px;
  background: oklch(0.82 0.15 85);
  opacity: 0.3;
  left: calc(20px + var(--i, 0) * 32px);
  animation-delay: calc(var(--i, 0) * 0.4s);
}
.gtf-row:hover .s-heist i,
.gtf-live .s-heist i { animation-name: gtf-lit; animation-duration: 1.2s; animation-timing-function: ease-out; }

@keyframes gtf-go { from { transform: translateX(-18px); } to { transform: translateX(132px); } }
@keyframes gtf-wig { 0%, 100% { transform: translateY(-9px); } 50% { transform: translateY(9px); } }
@keyframes gtf-bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(4px) rotate(4deg); } }
@keyframes gtf-ring { 0% { transform: scale(0.2); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
@keyframes gtf-pop { 0%, 10% { transform: scale(0); } 25%, 70% { transform: scale(1); } 85%, 100% { transform: scale(0); } }
@keyframes gtf-spin { to { transform: rotate(360deg); } }
@keyframes gtf-roll { from { transform: translateX(-26px) rotate(0deg); } to { transform: translateX(132px) rotate(720deg); } }
@keyframes gtf-hue { to { filter: hue-rotate(360deg); } }
@keyframes gtf-drop { 0% { transform: translate(0, -12px); } 20% { transform: translate(-14px, 6px); } 40% { transform: translate(8px, 14px); } 60% { transform: translate(-8px, 24px); } 80% { transform: translate(10px, 34px); } 100% { transform: translate(10px, 44px); } }
@keyframes gtf-flip { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(0.1); } }
@keyframes gtf-up { to { transform: translateY(-3px); } }
@keyframes gtf-dn { to { transform: translateY(3px); } }
@keyframes gtf-lit { 0%, 12% { opacity: 1; filter: brightness(1.25); } 45%, 100% { opacity: 0.22; filter: none; } }

/* ---------- Your fun sticks around ---------- */

.gtf-progress {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 48px;
}

.gtf-progress__intro,
.gtf-progress__list {
  min-width: 0;
}

.gtf-progress__heading {
  margin: 0 0 16px;
}

.gtf-progress__lede {
  margin: 0 0 28px;
  max-width: 26em;
  font-size: 18px;
  line-height: 1.5;
}

.gtf-progress__item {
  padding: 18px 0 22px;
  border-top: 3px solid var(--gtf-ink);

  & .gtf-h3 {
    margin: 0 0 6px;
  }
}

.gtf-progress__body {
  font-size: 17px;
  line-height: 1.5;
}

/* ---------- Pricing cards ---------- */

.gtf-price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 18px;
  align-items: stretch;
}

.gtf-price-card {
  --accent: var(--gtf-teal);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 2px solid var(--gtf-surface-3);
  border-radius: var(--gtf-radius-card);
  background: var(--gtf-surface-1);
  transition: transform 0.2s ease-out, border-color 0.2s;

  &:hover,
  &:focus-within {
    transform: translateY(-6px);
    border-color: var(--accent);
  }
}

.gtf-price-card--teal { --accent: var(--gtf-teal); }
.gtf-price-card--green { --accent: var(--gtf-success); }
.gtf-price-card--pink { --accent: var(--gtf-pink); }

.gtf-price-card__label {
  font-family: var(--gtf-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gtf-text-2);
}

.gtf-price-card__price {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--accent);
}

.gtf-price-card__body {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gtf-text-2);
}

.gtf-price-card__cta {
  margin-top: auto;
  padding: 14px 18px;
  border-radius: var(--gtf-radius-btn);
  font-weight: 800;
  font-size: 16px;
  text-align: center;

  body.gtf & {
    background: var(--accent);
    color: var(--gtf-ink);
  }

  body.gtf &:hover {
    filter: brightness(1.12);
    color: var(--gtf-ink);
  }
}

.gtf-price-card--featured {
  --accent: var(--gtf-ink);
  background: var(--gtf-yellow);
  border-color: var(--gtf-yellow);
  color: var(--gtf-ink);

  & .gtf-price-card__label,
  & .gtf-price-card__body {
    color: var(--gtf-ink);
  }

  body.gtf & .gtf-price-card__cta,
  body.gtf & .gtf-price-card__cta:hover {
    color: var(--gtf-cream);
  }
}

/* ---------- Book a session ---------- */

.gtf-book {
  padding: 40px 0 72px;
  scroll-margin-top: 16px;
}

.gtf-book__panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 40px;
  padding: clamp(24px, 4vw, 44px);
  border: 2px solid var(--gtf-surface-3);
  border-radius: var(--gtf-radius-card);
  background: var(--gtf-surface-1);
}

.gtf-book__intro {
  min-width: 0;
}

.gtf-book__heading {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.4vw, 40px);
}

.gtf-book__lede {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--gtf-text-2);
}

.gtf-book__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;

  & li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
  }

  & li::before {
    content: "";
    flex: none;
    width: 9px;
    height: 9px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--gtf-yellow);
  }
}

.gtf-enquiry {
  min-width: 0;
}

.gtf-enquiry__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gtf-enquiry__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 14px;
}

.gtf-enquiry__set {
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  min-width: 0;

  & > legend {
    padding: 0 0 10px;
  }
}

.gtf-enquiry__chip {
  padding: 9px 14px;
  font-size: 14px;
}

.gtf-enquiry__soon {
  font-family: var(--gtf-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gtf-pink);
}

.gtf-enquiry__submit {
  margin-top: 8px;
}

.gtf-enquiry__set.gtf-field--error > legend {
  color: var(--gtf-orange-hi);
}

.gtf-enquiry--sent {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 24px;
  border: 2px dashed var(--gtf-surface-4);
  border-radius: var(--gtf-radius-card);
}

.gtf-enquiry__sent {
  font-family: var(--gtf-mono);
  font-size: 16px;
  text-align: center;
  color: var(--gtf-yellow);
}

/* ---------- FAQ ---------- */

.gtf-faq__heading {
  margin: 0 0 40px;
}

.gtf-faq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 18px;
}

.gtf-faq__item {
  padding-top: 20px;
  border-top: 4px solid var(--game);
}

.gtf-faq__question {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
}

.gtf-faq__answer {
  font-size: 16px;
  line-height: 1.55;
  color: var(--gtf-text-2);
}

/* ---------- CTA band ---------- */

.gtf-cta {
  border-radius: var(--gtf-radius-card);
}

.gtf-cta__heading {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.gtf-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
}

/* Orange band, centred (landing) */
.gtf-cta--center {
  padding: clamp(32px, 5vw, 64px);
  background: var(--gtf-orange);
  color: var(--gtf-ink);
  text-align: center;

  & .gtf-cta__heading {
    margin: 0 0 18px;
    font-size: clamp(32px, 4.6vw, 56px);
    line-height: 1;
  }

  & .gtf-cta__body {
    max-width: 30em;
    margin: 0 auto 30px;
    font-size: 19px;
    line-height: 1.5;
  }

  & .gtf-cta__actions {
    justify-content: center;
  }
}

/* Orange band, heading and button on one line (hosted page) */
.gtf-cta--row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  padding: clamp(28px, 4vw, 52px);
  background: var(--gtf-orange);
  color: var(--gtf-ink);

  & .gtf-cta__text {
    flex: 1;
    min-width: min(260px, 100%);
  }

  & .gtf-cta__heading {
    font-size: clamp(28px, 3.6vw, 44px);
  }
}

body.gtf .gtf-cta__secondary {
  border-color: rgba(28, 24, 20, 0.35);
  background: transparent;
  color: var(--gtf-ink);

  &:hover {
    border-color: var(--gtf-ink);
    color: var(--gtf-ink);
  }
}

/* Dark card (game pages) */
.gtf-cta--surface {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  padding: clamp(28px, 4vw, 48px);
  border: 2px solid var(--gtf-surface-3);
  background: var(--gtf-surface-1);

  & .gtf-cta__text {
    flex: 1;
    min-width: min(240px, 100%);
  }

  & .gtf-cta__heading {
    margin: 0 0 10px;
    font-size: clamp(24px, 3vw, 34px);
  }

  & .gtf-cta__body {
    font-size: 17px;
    line-height: 1.55;
    color: var(--gtf-text-2);
  }
}

/* ---------- Hosted and in person ---------- */

.gtf-hosted-intro {
  max-width: 760px;
  padding-bottom: 64px;

  & .gtf-h1 {
    margin: 0 0 22px;
  }
}

.gtf-hosted-intro__lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--gtf-text-2);
}

.gtf-hosted-offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
  padding-bottom: var(--gtf-section-gap);
}

.gtf-offer {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--gtf-radius-card);
  color: var(--gtf-ink);
}

.gtf-offer--yellow { background: var(--gtf-yellow); }
.gtf-offer--pink { background: var(--gtf-pink); }

.gtf-offer__title {
  margin: 0 0 8px;
  font-size: 34px;
}

.gtf-offer__price {
  margin: 0 0 4px;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.gtf-offer__per {
  margin: 0 0 28px;
  font-family: var(--gtf-mono);
  font-size: 14px;
}

.gtf-offer__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.4;

  & li {
    padding-top: 12px;
    border-top: 3px solid var(--gtf-ink);
  }
}

.gtf-offer__cta {
  margin-top: auto;
  align-self: flex-start;
}

.gtf-session-steps {
  max-width: 760px;
}

.gtf-session-step {
  padding: 22px 0 26px;
  border-top: 4px solid var(--game);

  & .gtf-h3 {
    margin: 0 0 8px;
  }
}

.gtf-session-step__body {
  font-size: 17px;
  line-height: 1.55;
  color: var(--gtf-text-2);
}

/* ---------- Game page ---------- */

.gtf-game-page {
  padding: 24px 0 80px;
}

.gtf-game-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  padding: 24px;
  overflow: hidden;
  border: 2px solid var(--game);
  border-radius: var(--gtf-radius-card);
  background: var(--gtf-ink);
}

.gtf-game-hero__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0.28;

  & .gtf-stage {
    position: relative;
    right: auto;
    top: auto;
    flex: none;
    opacity: 1;
    transform: scale(6.2);
  }
}

.gtf-game-hero__title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.gtf-game-hero__name {
  margin: 0;
  text-align: center;
  font-size: clamp(44px, min(calc(170vw / var(--len, 12)), calc(2040px / var(--len, 12))), 230px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 900;
  color: var(--game);
  overflow-wrap: anywhere;
}

.gtf-game-hero__banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 10px 16px;
  background: var(--gtf-pink);
  color: var(--gtf-ink);
  font-family: var(--gtf-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.gtf-game-hero--soon {
  padding-top: 64px;
}

.gtf-game-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 14px;
  padding: 26px 30px;
  border-radius: var(--gtf-radius-card);
  background: var(--game);
  color: var(--gtf-ink);
}

.gtf-game-bar__text {
  display: flex;
  flex: 1 1 320px;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.gtf-game-bar__intro {
  max-width: 28em;
  font-size: 21px;
  line-height: 1.45;
}

.gtf-game-bar__length {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.gtf-game-bar__length-label {
  margin-right: 6px;
  font-family: var(--gtf-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.gtf-game-bar__chip {
  padding: 8px 18px;
  border: 2px solid var(--gtf-ink);
  border-radius: var(--gtf-radius-btn);
  font-weight: 800;
  font-size: 16px;

  &.is-current {
    background: var(--gtf-ink);
    color: var(--gtf-cream);
  }
}

.gtf-game-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gtf-game-body {
  padding: 24px 0 var(--gtf-section-gap);
}

.gtf-game-soon-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 40px;
  padding: 16px 18px;
  border: 2px dashed var(--gtf-surface-4);
  border-radius: var(--gtf-radius-input);
  font-size: 17px;
  line-height: 1.5;
  color: var(--gtf-text-2);
}

.gtf-game-body__heading {
  margin: 0 0 20px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
}

.gtf-game-body__lede {
  max-width: 34em;
  margin: 0 0 40px;
  font-size: 20px;
  line-height: 1.55;
}

.gtf-game-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 24px;
  margin-bottom: 72px;
}

.gtf-game-steps__item {
  min-width: 0;
  padding-top: 16px;
  border-top: 4px solid var(--gtf-teal);

  &:nth-child(4n + 2) { border-top-color: var(--gtf-success); }
  &:nth-child(4n + 3) { border-top-color: var(--gtf-orange); }
  &:nth-child(4n + 4) { border-top-color: var(--gtf-pink); }
}

.gtf-game-steps__title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.gtf-game-steps__body {
  font-size: 16px;
  line-height: 1.45;
  color: var(--gtf-text-2);
}

.gtf-game-about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px 56px;
  align-items: start;
  margin: 8px 0 40px;
}

.gtf-game-about__tagline {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--game);
}

.gtf-game-about__body {
  font-size: 18px;
  line-height: 1.55;
  color: var(--gtf-text-2);
}

/* Screenshot slots */
.gtf-shots {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 72px;
}

.gtf-shots__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  margin: 0;

  & figcaption {
    font-size: 16px;
    line-height: 1.5;
    color: var(--gtf-text-2);
  }

  & strong {
    color: var(--gtf-cream);
  }
}

.gtf-shots__item--screen {
  flex: 2 1 340px;
}

.gtf-shots__item--phone {
  flex: 1 1 180px;
  max-width: 240px;
}

.gtf-shot {
  display: block;
  width: 100%;
  border-radius: var(--gtf-radius-card);
  object-fit: cover;
}

.gtf-shot--screen { aspect-ratio: 16 / 9; }
.gtf-shot--phone { aspect-ratio: 9 / 19.5; border-radius: 24px; }

.gtf-shot--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 2px dashed color-mix(in oklch, var(--game) 55%, transparent);
  background:
    radial-gradient(circle at 30% 20%, color-mix(in oklch, var(--game) 22%, transparent), transparent 60%),
    var(--game-dark);
}

.gtf-shot__label {
  font-family: var(--gtf-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--game);
}

/* Scoring and tips */
.gtf-game-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 48px 56px;
}

.gtf-game-list {
  min-width: 0;

  & ul {
    list-style: none;
  }

  & li {
    padding: 12px 0;
    border-top: 2px solid var(--gtf-surface-3);
    font-size: 17px;
    line-height: 1.5;
    color: var(--gtf-text-2);
  }

  & strong {
    color: var(--gtf-cream);
  }
}

.gtf-game-list__heading {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 800;
}

.gtf-game-body__note {
  margin: 40px 0 0;
  font-family: var(--gtf-mono);
  font-size: 14px;
  color: var(--gtf-text-3);
}

/* Pricing: players a pass covers, and the "Bigger groups" upgrade table */
.gtf-price-card__includes {
  margin: 0 0 12px;
  font-family: var(--gtf-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent, var(--gtf-text-2));
}

.gtf-tiers {
  margin-top: 28px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--gtf-radius-card);
  background: var(--gtf-surface-1);
}

.gtf-tiers__lede {
  max-width: 40em;
  margin: 8px 0 20px;
  color: var(--gtf-text-2);
}

.gtf-tiers__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.gtf-tiers__tier {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 2px solid var(--gtf-surface-4);
  border-radius: var(--gtf-radius-btn);
  background: var(--gtf-ink);
}

.gtf-tiers__tier--upgrade {
  border-style: dashed;
  border-color: var(--gtf-line);
}

.gtf-tiers__players {
  font-size: 17px;
  font-weight: 800;
}

.gtf-tiers__price {
  font-family: var(--gtf-mono);
  font-size: 14px;
  color: var(--gtf-text-2);
}

.gtf-tiers__tier--upgrade .gtf-tiers__price {
  color: var(--gtf-orange-hi);
}

.gtf-tiers__footnote {
  margin-top: 16px;
  font-size: 14px;
  color: var(--gtf-text-3);
}
