/* ==========================================================================
   SMASH Landing — page-specific styles
   ========================================================================== */

html, body {
  margin: 0;
  padding: 0;
  background: var(--off-white);
  scroll-behavior: smooth;
  overflow-x: hidden;
  /* Better Russian rendering on Windows/Linux — prefer Inter for
     consistent Cyrillic shapes; SF Pro stays first for Apple devices. */
  font-feature-settings: 'ss01' 0, 'ss02' 0, 'cv11' 1;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }

/* Global guard: prevent long Russian words from overflowing on mobile. */
h1, h2, h3, h4, p, li, a, span {
  overflow-wrap: break-word;
  word-break: normal;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* ── Tiny utility label (uppercase mini-label, brandbook Label spec) ────── */
.mini-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.mini-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.mini-label.on-dark   { color: var(--ball-yellow); }
.mini-label.on-yellow { color: var(--yellow-ink); }

/* ── Display heading (Bebas Neue — brandbook Display tier) ──────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 700; /* brandbook exception: Display XL renders at 700 */
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--deep-ink);
  text-wrap: balance;
}
.display.xl  { font-size: clamp(72px, 11vw, 160px);  letter-spacing: -0.035em; line-height: 0.95; }
.display.l   { font-size: clamp(48px, 6.5vw, 92px);  letter-spacing: -0.03em;  line-height: 1.0;  }
.display.m   { font-size: clamp(40px, 5vw, 72px);    letter-spacing: -0.025em; line-height: 1.05; }
.display.on-dark   { color: var(--off-white); }
.display.on-yellow { color: var(--yellow-ink); }
.display .accent { color: var(--ball-yellow); }
.display .accent-green { color: var(--court-green); }

/* ── Sub-heading body text ──────────────────────────────────────────────── */
.subhead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--slate);
  max-width: 560px;
  letter-spacing: 0;
}
.subhead.on-dark   { color: var(--green-200); }
.subhead.on-yellow { color: var(--yellow-ink); opacity: 0.85; }

/* ── Site nav ───────────────────────────────────────────────────────────── */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Extra top padding so the SMASH yellow dot (-0.32em above the H)
     never gets clipped by the section edge. */
  padding: 36px 40px 18px;
}
.nav .smash-logo {
  color: var(--off-white);
  font-size: 38px;
  /* The wordmark's ::after dot sits above the box — give it room. */
  overflow: visible;
  cursor: pointer;
}
.nav .smash-logo::after { background: var(--ball-yellow); }
.nav-right {
  display: flex; align-items: center; gap: 24px;
  font-family: var(--font-body); font-size: 13px; font-weight: 400;
  color: rgba(250,250,247,0.7);
  letter-spacing: 0;
}
.nav-right .ghost {
  padding: 8px 14px;
  border: 1px solid rgba(250,250,247,0.18);
  border-radius: 9999px;
  color: rgba(250,250,247,0.85);
  cursor: not-allowed;
  font-size: 12px;
  font-weight: 500;
}
@media (max-width: 640px) {
  .nav { padding: 20px; }
  .nav .nav-right span:not(.ghost) { display: none; }
}

/* ── Sections ───────────────────────────────────────────────────────────── */
section {
  padding: 120px 0;
  position: relative;
}
@media (max-width: 768px) {
  section { padding: 80px 0; }
}

section.dark   { background: var(--court-green); color: var(--off-white); }
section.light  { background: var(--off-white);   color: var(--deep-ink); }
section.yellow { background: var(--ball-yellow); color: var(--yellow-ink); }
section.ink    { background: var(--deep-ink);    color: var(--off-white); padding: 64px 0 48px; }

/* ── Hero section ───────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--court-green);
  color: var(--off-white);
  position: relative;
  overflow: hidden;
  padding: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 100px; padding-bottom: 80px; }
}
.hero-copy { max-width: 640px; }
.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(80px, 13vw, 180px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  color: var(--off-white);
  margin: 20px 0 28px;
  overflow: visible;
}
.hero-headline .accent { color: var(--ball-yellow); white-space: nowrap; }

.hero-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--green-200);
  max-width: 480px;
  margin: 0 0 40px;
  letter-spacing: 0;
}
.hero-sub strong { color: var(--ball-yellow); font-weight: 500; }

/* Hero — 3-step ordered list (replaces the prose subhead).
   Body L type per brandbook scale; mono digit in the yellow chip per the
   "Numbers & Data" rule. */
.hero-steps {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
}
.hero-steps li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--off-white);
  letter-spacing: 0;
}
.hero-steps li .n {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ball-yellow);
  color: var(--yellow-ink);
  font-family: var(--font-mono);
  font-feature-settings: 'tnum' 1;
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  letter-spacing: -0.02em;
}
@media (max-width: 640px) {
  .hero-steps li { font-size: 15px; gap: 12px; }
  .hero-steps li .n { width: 28px; height: 28px; font-size: 13px; }
}

/* ── Floating yellow ball (decorative) — minimized per design feedback ──── */
.ball, .ball.b1, .ball.b2, .ball.b3 { display: none; }

@keyframes floatBall {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(60px, -40px); }
  50%      { transform: translate(120px, 20px); }
  75%      { transform: translate(40px, 60px); }
}

/* Hero court line decoration in BG (very subtle) */
.hero-court-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
}

/* ── Email form ─────────────────────────────────────────────────────────── */
.email-form {
  display: flex;
  gap: 8px;
  /* Opaque, vibrant card that sits ABOVE the court line decorations */
  background: var(--off-white);
  border: 1px solid var(--off-white);
  border-radius: 16px;
  padding: 8px;
  max-width: 520px;
  position: relative;
  z-index: 4;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 20px 50px -12px rgba(0,0,0,0.45),
    0 0 0 6px rgba(217,243,120,0.12);
  transition: transform 220ms var(--ease-out-smooth),
              box-shadow 220ms var(--ease-out-smooth);
}
.email-form:focus-within {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 24px 60px -10px rgba(0,0,0,0.5),
    0 0 0 8px rgba(217,243,120,0.22);
}
.email-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--deep-ink);
  font-weight: 400;
}
.email-form input::placeholder { color: var(--stone); font-weight: 400; }
.email-form button {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0;
  padding: 14px 24px;
  background: var(--ball-yellow);
  color: var(--yellow-ink);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 180ms var(--ease-out-smooth),
              background 180ms var(--ease-standard),
              box-shadow 180ms var(--ease-out-smooth);
  white-space: nowrap;
  box-shadow: 0 6px 16px -4px rgba(217,243,120,0.55);
}
.email-form button:hover {
  background: var(--yellow-700);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -4px rgba(217,243,120,0.7);
}
.email-form.success {
  border-color: var(--ball-yellow);
  background: rgba(217, 243, 120, 0.08);
}

/* Form variants */
.email-form.light {
  background: var(--off-white);
  border: 1px solid var(--mist);
}
.email-form.light input { color: var(--deep-ink); }
.email-form.light input::placeholder { color: var(--stone); }
.email-form.light button {
  background: var(--court-green);
  color: var(--ball-yellow);
}
.email-form.light button:hover { background: var(--green-400); }

.form-note {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(250,250,247,0.6);
  letter-spacing: 0;
}
.form-note.on-yellow { color: var(--yellow-ink); opacity: 0.7; }

/* Optional inline fields appearing below main form */
.form-extras {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-width: 480px;
}
.form-extras select,
.form-extras input {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15,76,58,0.15);
  background: var(--off-white);
  color: var(--deep-ink);
  outline: none;
}
.form-extras.light select,
.form-extras.light input {
  border-color: var(--mist);
  background: var(--off-white);
  color: var(--deep-ink);
}
.form-extras select option { background: var(--court-green); color: var(--off-white); }
.form-extras.light select option { background: var(--off-white); color: var(--deep-ink); }

/* ── Generic card ───────────────────────────────────────────────────────── */
.card {
  background: var(--off-white);
  border: 1px solid var(--mist);
  border-radius: 16px;
  padding: 32px;
  transition: transform 240ms var(--ease-out-smooth),
              border-color 240ms var(--ease-standard);
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--stone);
}
.card.dark {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(217,243,120,0.15);
  color: var(--off-white);
}
.card.dark:hover {
  border-color: rgba(217,243,120,0.4);
  background: rgba(255,255,255,0.05);
}

/* ── Pain section grid ──────────────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .grid-4 { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 64px;
  max-width: 760px;
}
.section-head .subhead { margin-top: 4px; }
.section-head .display { margin-top: 4px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; align-items: center; }

/* ── Pain card ──────────────────────────────────────────────────────────── */
.pain-card .icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--green-100); color: var(--court-green);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.pain-card h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0 0 12px;
  color: var(--deep-ink);
}
.pain-card p {
  margin: 0;
  color: var(--slate);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  font-size: 15px;
}

/* ── Steps section ──────────────────────────────────────────────────────── */
.step-card {
  position: relative;
  padding: 40px 32px 32px;
  overflow: hidden;
}
.step-num {
  font-family: var(--font-display);
  font-weight: 700;          /* Display XL exception */
  font-size: 140px;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--ball-yellow);
  margin-bottom: 24px;
}
.step-card h3 {
  font-family: var(--font-body);
  font-weight: 500;           /* brandbook: 500 max for body type */
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0;
  text-wrap: balance;
  color: var(--off-white);
  margin: 0 0 12px;
}
.step-card p {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: var(--green-200);
}

/* ── Phone scaler (used in How It Works mini + Product screens) ──────────── */
.phone-scaler {
  /* Wraps an IOSDevice (390×812) and scales it down responsively */
  transform-origin: top center;
  display: inline-block;
  position: relative;
}

/* ── Hero phone — animated float + hover tilt ───────────────────────────── */
.hero-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1400px;
  /* Drop the device down so it sits clear of the headline + step list. */
  margin-top: 80px;
}
@media (max-width: 960px) {
  .hero-phone-wrap { margin-top: 24px; }
}

/* Outer wrapper handles the gentle ambient floating loop (translate + base rotate).
   Inner wrapper handles 3D mouse-driven tilt — they stack so neither fights
   the other for the transform property. */
.hero-phone-float {
  --float-y: 0px;
  --float-rot: 0deg;
  animation: phoneFloat 7s ease-in-out infinite;
  will-change: transform;
}
.hero-phone-tilt {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --tilt-base-z: -6deg;     /* default subtle rotate-Z */
  --tilt-scale: 1;
  transform-style: preserve-3d;
  transform:
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y))
    rotateZ(var(--tilt-base-z))
    scale(var(--tilt-scale));
  transition: transform 480ms cubic-bezier(0.16, 1, 0.3, 1),
              filter 480ms cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 60px 80px rgba(0,0,0,0.45));
}
.hero-phone-tilt.is-hovering {
  filter: drop-shadow(0 80px 100px rgba(0,0,0,0.55))
          drop-shadow(0 0 60px rgba(217,243,120,0.18));
  /* Snap to mouse — the transition kicks in on un-hover for the recoil */
  transition: transform 120ms linear,
              filter 480ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes phoneFloat {
  0%   { transform: translateY(0)    rotate(0deg); }
  50%  { transform: translateY(-18px) rotate(1.2deg); }
  100% { transform: translateY(0)    rotate(0deg); }
}

/* Spec on the floating yellow ball orbiting the phone */
.phone-orbit-ball {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ball-yellow);
  box-shadow: 0 0 32px rgba(217,243,120,0.6);
  pointer-events: none;
  animation: orbitBall 8s linear infinite;
  top: 50%;
  left: 50%;
  margin: -11px 0 0 -11px;
  z-index: 2;
}
@keyframes orbitBall {
  0%   { transform: rotate(0deg)   translateX(180px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(180px) rotate(-360deg); }
}

/* ── Product screens row ────────────────────────────────────────────────── */
.screens-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: end;
}
@media (max-width: 1000px) {
  .screens-row { grid-template-columns: 1fr; gap: 80px; justify-items: center; }
}
.screen-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.screen-col .caption {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--slate);
  max-width: 280px;
  text-align: center;
  line-height: 1.5;
}
.screen-col .caption strong {
  display: block;
  font-weight: 500;
  color: var(--deep-ink);
  margin-bottom: 4px;
  font-size: 16px;
  letter-spacing: 0;
}

/* ── Why SMASH? — brand-meaning section with trivia ─────────────────────── */
.why-smash {
  background: var(--deep-ink);
  color: var(--off-white);
  position: relative;
  overflow: hidden;
}
.why-court-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.why-smash .ball {
  filter: drop-shadow(0 0 24px rgba(217,243,120,0.35));
}
.why-smash .ball.b1 { top: 18%; left: 6%; }
.why-smash .ball.b2 { top: 72%; left: 88%; width: 10px; height: 10px; }

.why-smash-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 88px;
  position: relative;
  z-index: 2;
}
@media (max-width: 1100px) {
  .why-smash-grid { gap: 48px; }
}
@media (max-width: 960px) {
  .why-smash-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    margin-bottom: 64px;
  }
}

.why-smash-copy h2 {
  margin: 18px 0 24px;
  /* Clamp the headline so it never overflows the column at wider viewports */
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  hyphens: auto;
  word-break: normal;
  overflow-wrap: break-word;
}
.why-smash-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.6;
  color: rgba(250,250,247,0.72);
  max-width: 480px;
  margin: 0;
  letter-spacing: 0;
}

/* The hero stat — big yellow mono number */
.why-smash-stat {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 40px 36px;
  border: 1px solid rgba(217,243,120,0.18);
  border-radius: 24px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(217,243,120,0.10) 0%, rgba(217,243,120,0) 60%),
    rgba(255,255,255,0.02);
  position: relative;
  overflow: hidden;
  min-width: 0; /* allow it to shrink in the grid track */
}
.why-smash-stat::before {
  /* subtle yellow glow line at top */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,243,120,0.6), transparent);
}
.big-stat {
  display: flex;
  align-items: baseline;
}
.big-num {
  font-family: var(--font-mono);
  font-feature-settings: 'tnum' 1;
  font-weight: 500;
  font-size: clamp(96px, 13vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--ball-yellow);
  display: inline-flex;
  align-items: baseline;
}
.big-num .pct {
  font-size: 0.45em;
  margin-left: 0.04em;
  letter-spacing: -0.04em;
  color: var(--ball-yellow);
  opacity: 0.85;
}
.big-stat-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.55;
  color: rgba(250,250,247,0.85);
  letter-spacing: 0;
  max-width: 480px;
}
.big-stat-src {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: rgba(217,243,120,0.55);
  text-transform: uppercase;
}

/* Trivia row — 3 supporting facts */
.trivia-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(250,250,247,0.08);
  padding-top: 56px;
}
@media (max-width: 900px) {
  .trivia-row { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; }
}

.trivia {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.trivia-num {
  font-family: var(--font-mono);
  font-feature-settings: 'tnum' 1;
  font-weight: 500;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--off-white);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.trivia-unit {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(217,243,120,0.7);
  line-height: 1;
}
.trivia-cap {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(250,250,247,0.65);
  max-width: 320px;
  letter-spacing: 0;
}
.trivia-src {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: rgba(250,250,247,0.32);
  text-transform: uppercase;
  margin-top: 4px;
}
.stat .num {
  font-family: var(--font-mono);
  font-feature-settings: 'tnum' 1;
  font-weight: 500;
  font-size: clamp(56px, 7vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--court-green);
  margin: 0 0 14px;
}
.stat .lbl {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--slate);
  line-height: 1.3;
}
.stats-divider {
  height: 1px;
  background: var(--mist);
  margin: 64px 0;
}

/* ── Final CTA (yellow) ─────────────────────────────────────────────────── */
.cta-yellow {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-yellow .display {
  font-size: clamp(64px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--yellow-ink);
  margin: 28px 0;
}
.cta-yellow .subhead {
  margin: 0 auto 40px;
  color: var(--yellow-ink);
  opacity: 0.78;
  text-align: center;
  max-width: 520px;
}
.cta-yellow .email-form { margin-left: auto; margin-right: auto; }
.cta-yellow .form-extras { margin-left: auto; margin-right: auto; }
.cta-yellow .form-note { margin: 16px auto 0; }

/* Subtle floating ball on yellow section */
.cta-yellow .ball {
  filter: none;
  background: var(--court-green);
  opacity: 0.5;
}
.cta-yellow .ball.b1 { top: 18%; left: 12%; }
.cta-yellow .ball.b2 { top: 70%; left: 80%; width: 10px; height: 10px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer.ink {
  background: var(--deep-ink);
  color: var(--off-white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  /* Extra top padding so the SMASH yellow dot (-0.32em above caps)
     isn't clipped by the section edge. */
  padding: 36px 0 40px;
  overflow: visible;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.footer-grid .smash-logo {
  font-size: 56px;
  color: var(--ball-yellow);
  line-height: 0.9;
  overflow: visible;
  display: inline-block;
}
  line-height: 0.9;
}
.footer-tagline {
  font-family: var(--font-display);
  font-weight: 700;          /* Display tier — exception applies */
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--off-white);
  margin-top: 16px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(250,250,247,0.45);
  margin: 0 0 18px;
}
.footer-col a, .footer-col .row {
  display: block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--off-white);
  text-decoration: none;
  margin-bottom: 10px;
  letter-spacing: 0;
}
.footer-col a:hover { color: var(--ball-yellow); }

.footer-bottom {
  border-top: 1px solid rgba(250,250,247,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: rgba(250,250,247,0.45);
  letter-spacing: 0;
}
.footer-bottom a { color: rgba(250,250,247,0.55); text-decoration: none; margin-left: 20px; }
.footer-bottom a:hover { color: var(--ball-yellow); }
@media (max-width: 600px) {
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .footer-bottom .right a { margin-left: 0; margin-right: 16px; }
}

/* ── Scroll-fade in ─────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease-out-smooth),
              transform 700ms var(--ease-out-smooth);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }

/* ── Success state on form ──────────────────────────────────────────────── */
.success-msg {
  background: rgba(217,243,120,0.08);
  border: 1px solid rgba(217,243,120,0.3);
  border-radius: 16px;
  padding: 22px 26px;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--off-white);
}
.success-msg .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--ball-yellow);
  color: var(--yellow-ink);
  margin-right: 8px;
  vertical-align: -6px;
}
.success-msg strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  color: var(--ball-yellow);
}
.success-msg.on-yellow {
  background: rgba(15,76,58,0.06);
  border-color: rgba(15,76,58,0.2);
  color: var(--yellow-ink);
}
.success-msg.on-yellow strong { color: var(--court-green); }
.success-msg.on-yellow .check { background: var(--court-green); color: var(--ball-yellow); }
.success-msg.light {
  background: var(--off-white);
  border-color: var(--mist);
  color: var(--deep-ink);
}
.success-msg.light strong { color: var(--court-green); }
.success-msg.light .check { background: var(--court-green); color: var(--ball-yellow); }

/* ── Transition line under pain cards ───────────────────────────────────── */
.transition-line {
  margin-top: 56px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--slate);
  letter-spacing: 0;
}
.transition-line .accent {
  color: var(--court-green);
  font-weight: 500;
}
