/* Thumbrot microsite. The app's palette (Palette.swift: coral, mustard, teal, paper, ink), its ink-outlined cartoon
   look, and Nunito Black, the face of its App Store captions (SF Pro Rounded in the app is Apple-only). */
@font-face {
  font-family: Nunito;
  src: url(/assets/rooms/micro/nunito.woff2) format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --page: #fbf8f1; /* the onboarding art's paper, so the drawings sit on the page without a box */
  --paper: #faf5e6;
  --ink: #242129;
  --coral: #ff7a66;
  --mustard: #e8b530;
  --teal: #2bb3a3;
  --green: #34c759;
  --red: #ff3b30;
  --muted: #5d5864;
  --wrap: min(1120px, 100% - 32px);
  --round: Nunito, ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--page);
  color: var(--ink);
  font: 600 17px/1.55 var(--round);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--paper);
}
h1,
h2,
h3 {
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}
h2 {
  font-size: clamp(34px, 5vw, 56px);
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: 12px;
}
.skip:focus {
  left: 8px;
}
.tr-kicker {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tr-section-head {
  width: var(--wrap);
  margin: 0 auto 36px;
  max-width: 980px;
  margin-left: max(16px, (100% - 1120px) / 2);
}
.tr-section-head p:not(.tr-kicker) {
  font-size: 19px;
  margin: 14px 0 0;
}
section {
  padding: 88px 0;
}

/* Buttons: a chunky sticker with a hard ink shadow that presses in. */
.tr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  font-weight: 900;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--ink);
  transition: transform 120ms, box-shadow 120ms;
}
.tr-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--ink);
}
.tr-button:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--ink);
}
.tr-button.ghost {
  background: var(--paper);
}
.tr-button:disabled {
  opacity: 0.6;
  cursor: default;
}
.tr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* The coin, drawn as in FeedView's CoinIcon: mustard with an ink rim and a faint inner ring. */
.coin {
  display: inline-block;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  background: var(--mustard);
  border: 0.1em solid var(--ink);
  box-shadow: inset 0 0 0 0.12em var(--mustard), inset 0 0 0 0.2em rgba(36, 33, 41, 0.35);
  vertical-align: -0.12em;
}
.coin.big {
  font-size: 46px;
}

/* Header */
.tr-head {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px max(16px, (100% - 1120px) / 2);
  background: var(--page);
  border-bottom: 3px solid var(--ink);
}
.tr-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 24px;
}
.tr-logo img {
  border-radius: 11px;
  border: 2px solid var(--ink);
}
.tr-head nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-weight: 800;
}
.tr-head nav a {
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
}
.tr-head nav a:hover {
  border-color: var(--coral);
}
.tr-cta {
  padding: 8px 18px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--teal);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 3px 0 var(--ink);
  white-space: nowrap;
}

/* Hero */
.tr-hero {
  width: var(--wrap);
  margin: 0 auto;
  padding: 56px 0 72px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: center;
}
.tr-hero h1 {
  font-size: clamp(48px, 7.4vw, 92px);
  line-height: 0.98;
}
.hl-coral,
.hl-teal {
  background: linear-gradient(transparent 58%, var(--coral) 58%, var(--coral) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hl-teal {
  background-image: linear-gradient(transparent 58%, var(--teal) 58%, var(--teal) 92%, transparent 92%);
}
.tr-lede {
  font-size: 21px;
  max-width: 34ch;
  margin: 22px 0 28px;
}
.tr-hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 260px;
  align-items: end;
  gap: 0;
}
.tr-mascot {
  border: 0;
  background: none;
  padding: 0;
  margin-right: -40px;
  position: relative;
  z-index: 1;
  border-radius: 24px;
  transform-origin: 50% 90%;
}
.tr-mascot img {
  mix-blend-mode: darken;
}
.tr-mascot.hop {
  animation: hop 520ms cubic-bezier(0.3, 1.6, 0.5, 1);
}
@keyframes hop {
  0% {
    transform: none;
  }
  30% {
    transform: translateY(-26px) rotate(-4deg) scale(1.03);
  }
  60% {
    transform: translateY(0) scaleY(0.94);
  }
  100% {
    transform: none;
  }
}
.tr-mini {
  position: relative;
  z-index: 2;
  padding: 10px 10px 12px;
  background: var(--ink);
  border-radius: 38px;
  box-shadow: 8px 8px 0 var(--teal);
  animation: bob 3.2s ease-in-out infinite;
}
@keyframes bob {
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}
.tr-mini-hud {
  display: flex;
  justify-content: space-between;
  padding: 8px 14px;
  background: var(--paper);
  border-radius: 28px 28px 0 0;
  font-weight: 900;
}
.hearts {
  color: var(--coral);
  letter-spacing: 2px;
  font-size: 20px;
  line-height: 1;
}
.tr-coin-n {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
}
.tr-mini-screen {
  position: relative;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  background: var(--paper);
}
.tr-mini-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 393 / 590;
  cursor: crosshair;
  touch-action: manipulation;
}
.tr-plus {
  position: absolute;
  left: 50%;
  top: 40%;
  translate: -50% 0;
  font-size: 40px;
  font-weight: 900;
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
}
.tr-plus.pop {
  animation: plus 700ms ease-out;
}
@keyframes plus {
  0% {
    opacity: 1;
    transform: translateY(0) scale(0.6);
  }
  30% {
    transform: translateY(-14px) scale(1.15);
  }
  100% {
    opacity: 0;
    transform: translateY(-50px);
  }
}
.tr-hint {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  text-align: right;
  font-size: 15px;
  color: var(--muted);
}

/* The instruction banner, as InstructionBanner: white rounded black type on 85% ink. */
.tr-banner {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: max-content;
  max-width: 84%;
  margin: 0;
  padding: 14px 22px;
  border-radius: 22px;
  background: rgba(36, 33, 41, 0.85);
  color: #fff;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  pointer-events: none;
  animation: banner 250ms cubic-bezier(0.3, 1.4, 0.5, 1);
}
.tr-banner.small {
  font-size: 26px;
  padding: 12px 18px;
}
@keyframes banner {
  from {
    opacity: 0;
    transform: scale(1.4);
  }
}

/* Numbers strip */
.tr-numbers {
  background: var(--ink);
  color: var(--paper);
  padding: 30px 0;
}
.tr-numbers dl {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.tr-numbers div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
}
.tr-numbers dd {
  margin: 0;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 900;
  line-height: 1;
}
.tr-numbers div:nth-child(1) dd {
  color: var(--coral);
}
.tr-numbers div:nth-child(2) dd {
  color: var(--mustard);
}
.tr-numbers div:nth-child(3) dd {
  color: var(--teal);
}
.tr-numbers div:nth-child(4) dd {
  color: var(--coral);
}
.tr-numbers dt {
  font-size: 15px;
  opacity: 0.85;
}

/* Play */
.tr-play {
  background: var(--mustard);
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
  padding-left: max(16px, (100% - 1120px) / 2);
  padding-right: max(16px, (100% - 1120px) / 2);
}
.tr-play-copy p:not(.tr-kicker) {
  font-size: 19px;
}
.tr-rules {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 10px;
  counter-reset: r;
}
.tr-rules li {
  counter-increment: r;
  position: relative;
  padding: 12px 16px 12px 58px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 18px;
}
.tr-rules li::before {
  content: counter(r);
  position: absolute;
  left: 12px;
  top: 50%;
  translate: 0 -50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-weight: 900;
}
.tr-deck {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tr-deck li {
  padding: 6px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 800;
  font-size: 15px;
}
.tr-deck small {
  font-weight: 700;
  color: var(--muted);
  margin-left: 4px;
}

.tr-phone {
  width: 100%;
  /* Fits the whole card under the sticky header on a phone (HUD, timer and caption take about 200 px). */
  max-width: min(380px, calc((100svh - 200px) * 393 / 700));
  min-width: 250px;
  justify-self: center;
  padding: 12px 12px 14px;
  background: var(--ink);
  border-radius: 46px;
  box-shadow: 10px 10px 0 rgba(36, 33, 41, 0.35);
}
.tr-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: var(--paper);
  border-radius: 34px 34px 0 0;
  font-weight: 900;
  font-size: 20px;
}
.tr-hud .hearts {
  font-size: 24px;
}
.tr-streak {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tr-streak svg {
  width: 18px;
  height: 22px;
  fill: var(--mustard);
}
.tr-timer {
  height: 18px;
  padding: 0 18px 8px;
  background: var(--paper);
}
.tr-timer i {
  display: block;
  height: 10px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--teal);
  transform-origin: left;
  transform: scaleX(1);
  opacity: 0;
}
.tr-timer i.low {
  background: var(--coral);
}
[data-phase="play"] .tr-timer i {
  opacity: 1;
}
.tr-screen {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 34px 34px;
  background: var(--paper);
}
.tr-screen.enter {
  animation: enter 320ms cubic-bezier(0.2, 0.9, 0.3, 1);
}
@keyframes enter {
  from {
    transform: translateY(45%);
    opacity: 0.2;
  }
}
.tr-screen.shake {
  animation: shake 400ms linear;
}
@keyframes shake {
  20%,
  60% {
    transform: translateX(14px);
  }
  40%,
  80% {
    transform: translateX(-14px);
  }
}
.tr-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 393 / 700;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
.is-playing .tr-canvas {
  touch-action: none;
}
.tr-flash {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.tr-flash.is-win {
  background: rgba(52, 199, 89, 0.55);
}
.tr-flash.is-lose {
  background: rgba(255, 59, 48, 0.55);
}
.tr-flash svg {
  width: 110px;
  grid-area: 1 / 1;
}
.tr-flash svg circle {
  stroke: none;
}
.tr-flash .win circle {
  fill: var(--green);
}
.tr-flash .lose circle {
  fill: var(--red);
}
.tr-flash path {
  fill: none;
  stroke: #fff;
  stroke-width: 11;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tr-flash.is-win .lose,
.tr-flash.is-lose .win {
  display: none;
}
.tr-toast {
  position: absolute;
  top: 18px;
  left: 50%;
  translate: -50% 0;
  margin: 0;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 900;
  font-size: 20px;
  animation: banner 250ms cubic-bezier(0.3, 1.4, 0.5, 1);
}
.tr-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  background: rgba(250, 245, 230, 0.97);
}
.tr-overlay p {
  margin: 0;
}
.tr-overlay img {
  width: 62%;
  max-height: 32%;
  object-fit: contain;
  mix-blend-mode: darken;
}
.tr-overlay .big {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.05;
}
.tr-overlay .keys {
  font-size: 14px;
  color: var(--muted);
}
.tr-overlay .best {
  font-size: 15px;
  font-weight: 800;
}
.coarse {
  display: none;
}
@media (pointer: coarse) {
  .fine {
    display: none;
  }
  .coarse {
    display: inline;
  }
}
.tr-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 8px 0;
  width: 100%;
}
.tr-results div {
  display: flex;
  flex-direction: column-reverse;
  padding: 10px 4px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 16px;
}
.tr-results dd {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}
.tr-results dt {
  font-size: 13px;
}
.tr-now {
  margin: 10px 8px 0;
  color: var(--paper);
  font-size: 14px;
  text-align: center;
  min-height: 1.5em;
}

/* How it works */
.tr-onboard {
  list-style: none;
  width: var(--wrap);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tr-onboard li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tr-onboard img {
  mix-blend-mode: darken;
  height: 280px;
  width: auto;
  align-self: center;
  object-fit: contain;
}
.tr-onboard b {
  font-size: 24px;
  font-weight: 900;
}
.tr-curve {
  width: var(--wrap);
  margin: 56px auto 0;
  padding: 24px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 28px;
  box-shadow: 6px 6px 0 var(--ink);
}
.tr-curve figcaption {
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 16px;
}
.tr-curve ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: end;
  height: 220px;
}
.tr-curve li {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: calc(var(--s) / 5 * 100%);
  padding-top: 10px;
  background: var(--teal);
  border: 3px solid var(--ink);
  border-radius: 16px 16px 6px 6px;
}
.tr-curve li:nth-child(n + 4) {
  background: var(--coral);
}
.tr-curve b {
  font-size: 22px;
  font-weight: 900;
}
.tr-curve span {
  font-size: 14px;
}

/* Packs: data-pack re-themes the whole section with the pack cover's own background. */
.tr-packs {
  --bg: var(--teal);
  --fg: var(--ink);
  --chip: var(--paper);
  background: var(--bg);
  color: var(--fg);
  transition: background-color 300ms, color 300ms;
}
.tr-packs[data-pack="starter"] {
  --bg: var(--teal);
}
.tr-packs[data-pack="reflex"] {
  --bg: #f9614e;
}
.tr-packs[data-pack="chaos"] {
  --bg: #1da49e;
}
.tr-packs[data-pack="brain"] {
  --bg: #f7bc30;
}
.tr-packs[data-pack="playground"] {
  --bg: #f2654a;
}
.tr-packs[data-pack="kitchen"] {
  --bg: #fbc233;
}
.tr-packs[data-pack="animals"] {
  --bg: #319e99;
}
.tr-packs[data-pack="sports"] {
  --bg: #f6eee1;
  --chip: #fff;
}
.tr-packs[data-pack="winter"] {
  --bg: #f7f3e8;
  --chip: #fff;
}
.tr-packs[data-pack="sky"] {
  --bg: #102236;
  --fg: var(--paper);
  --chip: #1d3450;
  --line: rgba(250, 245, 230, 0.45);
}
.tr-packs[data-pack="street"] {
  --bg: #f6bd32;
}
.tr-packs[data-pack="workshop"] {
  --bg: #f76850;
}
.tr-packs[data-pack="numbers"] {
  --bg: #28a19a;
}
.tr-packs[data-pack="arcade"] {
  --bg: #092a4d;
  --fg: var(--paper);
  --chip: #163d68;
  --line: rgba(250, 245, 230, 0.45);
}
.tr-pack-tabs {
  width: var(--wrap);
  margin: 0 auto 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tr-pack-tabs button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 14px;
  border: 3px solid var(--line, var(--ink));
  border-radius: 16px;
  background: var(--chip);
  color: var(--fg);
  font-weight: 900;
  line-height: 1.15;
}
.tr-pack-tabs small {
  font-weight: 700;
  font-size: 12px;
  opacity: 0.75;
}
.tr-pack-tabs [aria-selected="true"] {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35);
}
.tr-pack-tabs [aria-selected="true"] small {
  color: inherit;
}
.tr-pack {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}
.tr-cover {
  aspect-ratio: 9 / 16;
  border: 10px solid var(--ink);
  border-radius: 40px;
  overflow: hidden;
  background: var(--page);
  rotate: -3deg;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.25);
}
.tr-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tr-packs[data-pack="starter"] .tr-cover img {
  object-fit: contain;
  mix-blend-mode: darken;
}
.tr-pack-copy h3 {
  font-size: clamp(32px, 4vw, 48px);
}
.tr-price {
  margin: 6px 0 20px;
  font-size: 19px;
  font-weight: 800;
}
.tr-games {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.tr-games li {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  background: var(--chip);
  border: 3px solid var(--line, var(--ink));
  border-radius: 18px;
}
.tr-games b {
  font-size: 19px;
  font-weight: 900;
}
.tr-games span {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  opacity: 0.8;
}
.tr-games .playable {
  box-shadow: 0 0 0 3px var(--mustard), 0 0 0 6px var(--ink);
}
.tr-games a {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 800;
}
.tr-pack-note {
  margin: 18px 0 0;
  font-weight: 800;
}
.tr-pack-tabs + .tr-pack:focus-visible {
  outline-color: var(--fg);
}

/* Coins */
.tr-coins {
  background: var(--coral);
}
.tr-buy {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tr-buy div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 6px 6px 0 var(--ink);
}
.tr-buy b {
  font-size: 24px;
  font-weight: 900;
  margin-top: 8px;
}
.tr-streaks {
  width: var(--wrap);
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
  padding: 24px;
  background: var(--page);
  border: 3px solid var(--ink);
  border-radius: 28px;
}
.tr-streaks img {
  mix-blend-mode: darken;
}
.tr-streaks ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
  font-size: 19px;
}

/* Screenshots */
.tr-shots {
  background: var(--teal);
}
.tr-shot-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px max(16px, (100% - 1120px) / 2) 24px;
  scroll-padding-inline: max(16px, (100% - 1120px) / 2);
}
.tr-shot-strip figure {
  flex: 0 0 auto;
  width: min(260px, 70vw);
  margin: 0;
  scroll-snap-align: start;
}
.tr-shot-strip img {
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 6px 6px 0 var(--ink);
}

/* Straight answers */
.tr-fair-grid {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tr-fair-grid > div {
  padding: 24px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 24px;
}
.tr-fair-grid h3 {
  font-size: 24px;
  margin-bottom: 10px;
}
.tr-fair-grid p {
  margin: 0;
}
.tr-prices {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 6px;
}
.tr-prices b {
  white-space: nowrap;
}
.tr-prices li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 2px dashed rgba(36, 33, 41, 0.25);
}
.tr-small {
  font-size: 14px;
  color: var(--muted);
}

/* Final call */
.tr-final {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 96px 16px;
}
.tr-final h2 {
  font-size: clamp(44px, 7vw, 84px);
  margin-bottom: 24px;
}
.tr-chips {
  list-style: none;
  padding: 0;
  margin: 0 auto 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.tr-chips li {
  padding: 6px 14px;
  border: 2px solid var(--paper);
  border-radius: 999px;
  font-weight: 800;
}
.tr-final .tr-button {
  box-shadow: 0 5px 0 var(--teal);
}
.tr-legal {
  margin: 32px 0 0;
  font-size: 15px;
  opacity: 0.85;
}
.made-by {
  background: var(--ink);
  border-top: 2px solid rgba(250, 245, 230, 0.15);
  text-align: center;
  padding: 16px;
  font-size: 14px;
}
.made-by a {
  color: var(--paper);
  text-decoration: none;
}
.made-by a:hover b {
  color: var(--mustard);
}

/* Scroll reveal (added by micro.js only when motion is allowed). */
.will-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}
.will-reveal.shown {
  opacity: 1;
  transform: none;
}

/* Layout */
@media (max-width: 960px) {
  .tr-hero {
    grid-template-columns: 1fr;
  }
  .tr-play {
    grid-template-columns: 1fr;
  }
  .tr-phone {
    grid-row: 2;
  }
  .tr-pack {
    grid-template-columns: 220px 1fr;
    gap: 28px;
  }
  .tr-fair-grid,
  .tr-buy {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  section {
    padding: 64px 0;
  }
  .tr-head nav {
    display: none;
  }
  .tr-cta {
    margin-left: auto;
  }
  .tr-hero {
    padding: 32px 0 48px;
  }
  .tr-lede {
    font-size: 19px;
  }
  .tr-hero-stage {
    grid-template-columns: 1fr 200px;
  }
  .tr-mascot {
    margin-right: -24px;
  }
  .tr-banner.small {
    font-size: 20px;
  }
  .tr-numbers dl {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 18px;
  }
  .tr-onboard {
    grid-template-columns: 1fr;
  }
  .tr-onboard img {
    height: 220px;
  }
  .tr-curve ol {
    height: 180px;
    gap: 6px;
  }
  .tr-curve b {
    font-size: 16px;
  }
  .tr-curve span {
    font-size: 12px;
  }
  .tr-pack-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding: 4px 16px 10px;
    scrollbar-width: thin;
  }
  .tr-pack-tabs button {
    flex: 0 0 auto;
  }
  .tr-pack {
    grid-template-columns: 1fr;
  }
  .tr-cover {
    width: 180px;
    justify-self: center;
  }
  .tr-games {
    grid-template-columns: 1fr;
  }
  .tr-streaks {
    grid-template-columns: 1fr;
  }
  .tr-streaks img {
    width: 180px;
    justify-self: center;
  }
}
@media (max-width: 420px) {
  .tr-hero-stage {
    grid-template-columns: 1fr 190px;
  }
  .tr-hint {
    text-align: left;
  }
  .tr-phone {
    padding: 8px 8px 10px;
    border-radius: 38px;
  }
  .tr-overlay .big {
    font-size: 28px;
  }
  .tr-banner {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
