/**
 * Keep it Growing — Design System
 * Mirrors the Rousseau Plant Care Shapes theme tokens.
 */

/* ─── Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,700&display=swap');

/* ─── Design Tokens ─────────────────────────────────────────────────── */
:root {
  /* Color Scheme 1 — Primary (cream / blue / gold) */
  --color-bg: 254, 244, 224;            /* #FEF4E0 */
  --color-text: 55, 84, 132;            /* #375484 */
  --color-text-contrast: 254, 244, 224;  /* cream on dark */
  --color-accent-1: 250, 242, 109;      /* #FAF26D golden yellow */
  --color-accent-1-contrast: 1, 25, 96; /* #011960 navy on yellow */
  --color-accent-2: 255, 218, 34;       /* #FFDA22 warm gold */
  --color-gradient: linear-gradient(0deg, rgba(232, 157, 77, 1) 28%, rgba(254, 244, 224, 1) 100%);

  /* Color Scheme 3 — Accent cards (blue / amber) */
  --color-card-bg: 66, 92, 134;         /* #425C86 */
  --color-card-text: 251, 189, 89;      /* #FBBD59 */
  --color-card-accent: 254, 234, 115;   /* #FEEA73 */

  /* Neutrals */
  --color-border: 55, 84, 132;
  --color-border-light: 200, 210, 225;
  --color-muted: 120, 140, 170;

  /* Typography */
  --font-body: 'Instrument Sans', sans-serif;
  --font-heading: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
  --font-weight-body: 500;
  --font-weight-heading: 400;
  --font-weight-bold: 700;
  --base-font-size: 112.5%;  /* 18px */
  --line-height: 1.55;
  --heading-line-height: 1.1;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --section-padding-x: 1.25rem;
  --content-max-width: 640px;
  --site-max-width: 1080px;

  /* Shapes */
  --radius-button: 0.5rem;
  --radius-card: 0.375rem;
  --radius-input: 0.5rem;
  --border-width: 2px;

  /* Shadows (Shapes theme signature) */
  --shadow-button: 0px 5px 0px rgb(var(--color-text));
  --shadow-button-hover: 0px 3px 0px rgb(var(--color-text));
  --shadow-card: 0px 12px 0px;
  --shadow-media: 0px 16px 0px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

@media (min-width: 990px) {
  :root {
    --section-padding-x: 2.5rem;
  }
}

/* ─── Reset & Base ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--base-font-size);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: var(--font-weight-body);
  line-height: var(--line-height);
  color: rgb(var(--color-text));
  background-color: rgb(var(--color-bg));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

::selection {
  background-color: rgb(var(--color-accent-1));
  color: rgb(var(--color-accent-1-contrast));
}

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

a {
  color: rgb(var(--color-text));
  text-decoration-thickness: var(--border-width);
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

a:hover {
  color: rgb(var(--color-accent-1-contrast));
}

/* ─── Typography ────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  line-height: var(--heading-line-height);
  color: rgb(var(--color-text));
}

h1 {
  font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw + 0.5rem, 2.25rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.15rem, 2vw + 0.25rem, 1.5rem);
}

.heading-effects {
  -webkit-text-stroke: var(--border-width) rgb(var(--color-text));
  text-shadow:
    0.01em 0.01em 0 rgb(var(--color-accent-1)),
    0.02em 0.02em 0 rgb(var(--color-accent-1)),
    0.03em 0.03em 0 rgb(var(--color-accent-1)),
    0.04em 0.04em 0 rgb(var(--color-accent-1)),
    0.05em 0.05em 0 rgb(var(--color-accent-1)),
    0.06em 0.06em 0 rgb(var(--color-accent-1));
}

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

.text-muted {
  color: rgb(var(--color-muted));
  font-size: 0.889rem;
}

.text-center {
  text-align: center;
}

.text-mono {
  font-family: var(--font-mono);
  font-size: 0.889rem;
  letter-spacing: 0.05em;
}

/* ─── Layout ────────────────────────────────────────────────────────── */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: var(--space-xl) var(--section-padding-x);
  width: 100%;
}

.content--wide {
  max-width: var(--site-max-width);
}

.section {
  padding: var(--space-3xl) 0;
}

.section + .section {
  border-top: 1px solid rgba(var(--color-border), 0.15);
}

.section__title {
  margin-bottom: var(--space-lg);
}

/* ─── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-weight: var(--font-weight-bold);
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: var(--border-width) solid transparent;
  border-radius: var(--radius-button);
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 48px; /* thumb-friendly */
}

.btn:focus-visible {
  outline: 3px solid rgb(var(--color-accent-2));
  outline-offset: 2px;
}

/* Primary: golden yellow with drop shadow */
.btn--primary {
  background-color: rgb(var(--color-accent-1));
  color: rgb(var(--color-accent-1-contrast));
  border-color: rgb(var(--color-text));
  box-shadow: var(--shadow-button);
}

.btn--primary:hover {
  transform: translateY(2px);
  box-shadow: var(--shadow-button-hover);
}

.btn--primary:active {
  transform: translateY(5px);
  box-shadow: none;
}

/* Secondary: blue background */
.btn--secondary {
  background-color: rgb(var(--color-card-bg));
  color: rgb(var(--color-text-contrast));
  border-color: rgb(var(--color-card-bg));
  box-shadow: 0px 5px 0px rgba(var(--color-text), 0.3);
}

.btn--secondary:hover {
  transform: translateY(2px);
  box-shadow: 0px 3px 0px rgba(var(--color-text), 0.3);
}

.btn--secondary:active {
  transform: translateY(5px);
  box-shadow: none;
}

/* Ghost: transparent, underlined */
.btn--ghost {
  background: transparent;
  color: rgb(var(--color-text));
  border-color: transparent;
  text-decoration: underline;
  text-decoration-thickness: var(--border-width);
  text-underline-offset: 3px;
  padding: 0.5rem 1rem;
}

.btn--ghost:hover {
  color: rgb(var(--color-accent-1-contrast));
  background: rgba(var(--color-accent-1), 0.15);
}

/* Small variant */
.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.889rem;
  min-height: 40px;
}

/* ─── Cards ─────────────────────────────────────────────────────────── */
.card {
  display: flex;
  flex-direction: column;
  border: var(--border-width) solid rgb(var(--color-border));
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  position: relative;
  background: rgb(var(--color-bg));
  color: rgb(var(--color-text));
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 4px 4px 0px rgb(var(--color-border));
}

.card--shadow {
  box-shadow: 6px 6px 0px rgb(var(--color-border));
}

/* Primary card — cream background, thicker border, solid offset shadow */
.card--primary {
  background: rgb(var(--color-bg));
  color: rgb(var(--color-text));
  border: 3px solid rgb(var(--color-border));
  box-shadow: 6px 6px 0px rgb(var(--color-border));
}

.card--primary h3,
.card--primary .card__title {
  color: rgb(var(--color-text));
}

.card--primary .btn--primary {
  background-color: rgb(var(--color-accent-1));
  color: rgb(var(--color-accent-1-contrast));
  border-color: rgb(var(--color-border));
}

/* Secondary card — cream background, standard border, transparent-offset shadow */
.card--secondary {
  background: rgb(var(--color-bg));
  color: rgb(var(--color-text));
  border: 2px solid rgb(var(--color-border));
  box-shadow: 4px 4px 0px rgba(var(--color-border), 0.5);
}

/* Tertiary card — cream background, dashed border */
.card--tertiary {
  background: rgb(var(--color-bg));
  color: rgb(var(--color-text));
  border: 2px dashed rgb(var(--color-border));
  box-shadow: 3px 3px 0px rgba(var(--color-border), 0.3);
}

/* Card Badge */
.card__badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background-color: rgb(var(--color-accent-1));
  color: rgb(var(--color-accent-1-contrast));
  border: 2px solid rgb(var(--color-border));
  padding: 0.15rem 0.6rem;
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  box-shadow: 2px 2px 0px rgb(var(--color-border));
}

.card__title {
  font-family: var(--font-body);
  font-weight: var(--font-weight-bold);
  font-size: 1.1rem;
  line-height: 1.35;
  margin-bottom: var(--space-sm);
  color: rgb(var(--color-text));
}

.card__price {
  font-size: 1.75rem;
  font-weight: var(--font-weight-bold);
  color: rgb(var(--color-text));
  margin-bottom: var(--space-xs);
}

.container-narrow {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.card .btn {
  width: 100%;
  white-space: nowrap;
  margin-top: auto;
}

.card__includes {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) 0 var(--space-md);
  flex-grow: 1;
}

.card__includes li {
  padding: var(--space-xs) 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.889rem;
}

.card__includes li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: inherit;
  opacity: 0.6;
}

/* ─── Tier Cards Stack ──────────────────────────────────────────────── */
.tier-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.tier-section-title {
  font-family: var(--font-body);
  font-weight: var(--font-weight-bold);
  font-size: 1.25rem;
  margin: var(--space-xl) 0 var(--space-md);
  text-align: center;
  color: rgb(var(--color-text));
  position: relative;
}

.tier-section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: rgba(var(--color-border), 0.3);
  margin: var(--space-sm) auto 0;
}

.featured-tier-container {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

.tier-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 600px) {
  .tier-grid {
    gap: var(--space-lg);
  }
}

.tier-grid--2col {
  grid-template-columns: 1fr;
}

.tier-grid--3col,
.tier-grid--4col {
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .tier-grid--2col {
    grid-template-columns: repeat(2, 1fr);
  }
  .tier-grid--3col {
    grid-template-columns: repeat(3, 1fr);
  }
  .tier-grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── Forms / Inputs ────────────────────────────────────────────────── */
.input {
  display: block;
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-weight: var(--font-weight-body);
  font-size: 1rem;
  color: rgb(var(--color-text));
  background: rgb(var(--color-bg));
  border: var(--border-width) solid rgba(var(--color-border), 0.4);
  border-radius: var(--radius-input);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 48px;
}

.input:focus {
  outline: none;
  border-color: rgb(var(--color-accent-2));
  box-shadow: 0 0 0 3px rgba(var(--color-accent-2), 0.2);
}

.input::placeholder {
  color: rgba(var(--color-text), 0.4);
}

.input-group {
  display: flex;
  gap: var(--space-sm);
  align-items: stretch;
}

.input-group .input {
  flex: 1;
  min-width: 0;
}

.input-group .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ─── Code Block (discount code) ────────────────────────────────────── */
.code-block {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(var(--color-text), 0.05);
  border: 1px dashed rgba(var(--color-border), 0.3);
  border-radius: var(--radius-card);
  font-family: var(--font-mono);
  font-size: 0.889rem;
  letter-spacing: 0.08em;
  color: rgb(var(--color-text));
  user-select: all;
}

.code-block__copy {
  background: transparent;
  border: 1px solid rgba(var(--color-border), 0.3);
  border-radius: 4px;
  padding: 4px 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgb(var(--color-text));
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.code-block__copy:hover {
  background: rgba(var(--color-accent-1), 0.3);
}

.code-block__copy--copied {
  background: rgba(var(--color-accent-1), 0.5);
}

/* ─── Modal ─────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  padding: var(--space-lg);
}

.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: rgb(var(--color-bg));
  border: var(--border-width) solid rgb(var(--color-border));
  border-radius: var(--radius-card);
  box-shadow: 0px 16px 0px rgba(var(--color-text), 0.1);
  padding: var(--space-xl);
  max-width: 420px;
  width: 100%;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.is-active .modal {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: 1.5rem;
  color: rgb(var(--color-text));
  cursor: pointer;
  line-height: 1;
  padding: var(--space-xs);
}

/* ─── FAQ Accordion ─────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(var(--color-border), 0.15);
}

.faq-item:first-child {
  border-top: 1px solid rgba(var(--color-border), 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: var(--font-weight-bold);
  font-size: 1rem;
  color: rgb(var(--color-text));
  cursor: pointer;
  text-align: left;
  gap: var(--space-md);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: rgb(var(--color-accent-1-contrast));
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: var(--font-weight-heading);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-item.is-open .faq-question::after {
  content: '\2212'; /* minus */
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer__inner {
  padding: 0 0 var(--space-lg) 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(var(--color-text), 0.85);
}

/* ─── Header (content pages) ────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--section-padding-x);
  max-width: var(--site-max-width);
  margin: 0 auto;
  width: 100%;
}

.site-header__logo {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  font-size: 1.15rem;
  text-decoration: none;
  color: rgb(var(--color-text));
  letter-spacing: -0.01em;
}

.site-header__nav {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.site-header__nav a {
  font-size: 0.889rem;
  text-decoration: none;
  color: rgba(var(--color-text), 0.7);
  transition: color var(--transition-fast);
}

.site-header__nav a:hover,
.site-header__nav a.is-active {
  color: rgb(var(--color-text));
}

/* ─── Footer ────────────────────────────────────────────────────────── */
.site-footer {
  padding: var(--space-2xl) var(--section-padding-x);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(var(--color-text), 0.5);
  margin-top: auto;
}

.site-footer a {
  color: rgba(var(--color-text), 0.5);
  text-decoration: none;
}

.site-footer a:hover {
  color: rgb(var(--color-text));
}

.site-footer__links {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
}

/* ─── Title Screen ──────────────────────────────────────────────────── */
.title-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--space-2xl) var(--section-padding-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.title-screen__bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none'%3E%3Cpath d='M200 350c-80-20-150-100-130-200S200 20 200 20s80 30 130 130-50 180-130 200z' stroke='%23375484' stroke-width='2' fill='none'/%3E%3Cpath d='M200 350c-40-60-30-140 10-200s100-90 100-90' stroke='%23375484' stroke-width='1.5' fill='none'/%3E%3Cpath d='M180 280c-30-40-25-100 5-150s70-70 70-70' stroke='%23375484' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-size: 300px;
  background-position: top right;
  background-repeat: no-repeat;
}

.title-screen__logo-container {
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.title-logo-img {
  max-width: 400px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0px 8px 16px rgba(55, 84, 132, 0.08));
}

.title-screen__logo-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 2.2vw, 0.82rem);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgb(var(--color-text));
  opacity: 0.85;
  margin-top: 0.6rem;
  text-align: center;
}

.title-screen__tagline-main {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 3vw, 1.2rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
  color: rgb(var(--color-text));
  max-width: 440px;
  margin: 0 auto var(--space-sm);
  letter-spacing: 0.02em;
  text-align: center;
}

.title-screen__tagline-sub {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  font-weight: var(--font-weight-body);
  line-height: 1.5;
  color: rgba(var(--color-text), 0.75);
  max-width: 380px;
  margin: 0 auto var(--space-2xl);
  white-space: pre-line;
  text-align: center;
}

.title-screen__cta {
  margin-bottom: var(--space-xl);
}

.title-screen__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.title-screen__backer-note {
  font-size: 0.8rem;
  color: rgba(var(--color-text), 0.5);
  max-width: 340px;
}

/* ─── Game Screen ───────────────────────────────────────────────────── */
.game-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgb(var(--color-bg));
}

.game-screen__container {
  width: 100%;
  height: 100%;
}

.game-screen__container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ─── Ending Screen ─────────────────────────────────────────────────── */
.ending-screen {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgb(var(--color-bg));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ending-screen__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: var(--space-3xl) var(--section-padding-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xl);
}

.ending-screen__heading {
  font-size: clamp(1.75rem, 4vw + 0.5rem, 2.75rem);
}

.ending-screen__subheading {
  font-size: 1.1rem;
  color: rgba(var(--color-text), 0.75);
  margin-top: calc(-1 * var(--space-md));
}

.ending-screen__reward-card {
  width: 100%;
}

.ending-screen__email {
  width: 100%;
}

.ending-screen__discount {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.ending-screen__discount-label {
  font-size: 0.8rem;
  color: rgba(var(--color-text), 0.5);
}

/* ─── Delivery Table ────────────────────────────────────────────────── */
.delivery-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.delivery-table th,
.delivery-table td {
  text-align: left;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid rgba(var(--color-border), 0.15);
}

.delivery-table th {
  font-weight: var(--font-weight-bold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(var(--color-text), 0.5);
}

/* ─── Credit Table ──────────────────────────────────────────────────── */
.credit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.credit-table th,
.credit-table td {
  text-align: left;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid rgba(var(--color-border), 0.15);
}

.credit-table th {
  font-weight: var(--font-weight-bold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(var(--color-text), 0.5);
}

/* ─── Info Box (curious callout) ────────────────────────────────────── */
.info-box {
  background: rgba(var(--color-accent-1), 0.15);
  border-left: 3px solid rgb(var(--color-accent-2));
  padding: var(--space-md) var(--space-lg);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  font-size: 0.9rem;
  color: rgba(var(--color-text), 0.85);
  font-style: italic;
}

/* ─── Screen Transitions ────────────────────────────────────────────── */
.screen-enter {
  animation: screenFadeIn var(--transition-normal) forwards;
}

.screen-exit {
  animation: screenFadeOut var(--transition-normal) forwards;
}

@keyframes screenFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes screenFadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* ─── Pulse animation for CTA ───────────────────────────────────────── */
@keyframes gentlePulse {
  0%, 100% { box-shadow: var(--shadow-button); }
  50% { box-shadow: 0px 5px 0px rgb(var(--color-text)), 0 0 20px rgba(var(--color-accent-1), 0.3); }
}

.btn--pulse {
  animation: gentlePulse 3s ease-in-out infinite;
}

.btn--pulse:hover {
  animation: none;
}

/* ─── Utility Classes ───────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ─── Founding Grower display-name field (support page) ─────────────── */
.credit-name-field {
  max-width: 28rem;
  margin: 0 auto var(--space-lg);
  text-align: left;
}
.credit-name-field label {
  display: block;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-xs);
}
.credit-name-field__opt {
  font-weight: var(--font-weight-body);
  color: var(--color-muted);
}
.credit-name-field__hint {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: var(--space-xs);
}

/* ─── Founding Growers credits (ending screen) ──────────────────────── */
.ending-screen__credits {
  margin: var(--space-xl) auto 0;
  max-width: 32rem;
  text-align: center;
}
.ending-screen__credits-title {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  margin-bottom: var(--space-xs);
}
.ending-screen__credits-sub {
  color: var(--color-muted);
  font-size: 0.85rem;
  margin-bottom: var(--space-md);
}
.ending-screen__credits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs) var(--space-md);
}
.ending-screen__credits-list li {
  font-weight: var(--font-weight-bold);
}

/* ─── Print ─────────────────────────────────────────────────────────── */
@media print {
  .btn, .modal-overlay, .game-screen, .ending-screen {
    display: none !important;
  }
}
