:root {
  color-scheme: dark;
  --bg: #1a1f18;
  --panel: rgb(239 223 201 / 0.06);
  --panel-strong: rgb(239 223 201 / 0.1);
  --line: rgb(239 223 201 / 0.12);
  --text: #efdfc9;
  --muted: #b9ab98;
  --mustard: #d09c5d;
  --flashlight: #f6e3a1;
  --terracotta: #a8574a;
  --sage: #737c59;
  --ink: #2a221d;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at top right, rgb(246 227 161 / 0.12), transparent 34%),
    radial-gradient(ellipse at bottom left, rgb(115 124 89 / 0.22), transparent 40%),
    linear-gradient(180deg, #222a1f 0%, #1a1f18 100%);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }

.topbar, main { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.brand img { width: 32px; height: auto; }

.nav-links { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }

h1, h2, h3 { font-family: "Fredoka", "Space Grotesk", sans-serif; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--mustard);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ─── Hero ─── */
.hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: center;
  padding: 32px 0 88px;
}

.hero-title-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }

.hero-title-row img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 14px 28px rgb(0 0 0 / 0.35);
}

.hero-title-row .eyebrow { margin: 0; }

.hero-copy h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 600;
  line-height: 0.95;
}

.hero-copy > p {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

.primary-button,
.secondary-button,
.soon-pill {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 700;
}

.primary-button,
.soon-pill {
  background: linear-gradient(135deg, var(--flashlight) 0%, var(--mustard) 100%);
  color: var(--ink);
}

.secondary-button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
}

.hero-art {
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 36px;
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.4);
  aspect-ratio: 720 / 1000;
}

.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* ─── Sections ─── */
.section { padding: 72px 0; border-top: 1px solid var(--line); }

.section-heading { max-width: 640px; margin-bottom: 36px; }

.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.05;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}

.card h3 { margin: 0; font-size: 22px; font-weight: 600; }

.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.card-kicker { color: var(--mustard); font-size: 13px; font-weight: 700; }

/* ─── Fetch the ball ─── */
.split {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: center;
}

.split .hero-art { aspect-ratio: 720 / 900; }

.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }

.steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--mustard);
  color: var(--ink);
  font-weight: 700;
}

.steps strong { display: block; margin-bottom: 4px; font-size: 17px; }
.steps span { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ─── Characters ─── */
.dog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.sprite {
  display: block;
  width: 112px;
  height: 112px;
  margin-bottom: 6px;
  border-radius: 24px;
  background: rgb(171 157 146 / 0.22);
  object-fit: contain;
}

.dog-card .card-kicker { text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; }

.unlock {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--flashlight) !important;
  font-weight: 600;
}

/* ─── Rewards ─── */
.paw-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }

.paw-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.paw-list li::before { content: "🐾"; }

.rewards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ─── CTA ─── */
.cta {
  margin: 24px 0 96px;
  padding: 64px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgb(246 227 161 / 0.22), transparent 40%),
    linear-gradient(135deg, #2f3a29 0%, #4a5638 100%);
  text-align: center;
}

.cta h2 { margin: 0; font-size: clamp(34px, 5vw, 52px); font-weight: 600; }

.cta > p:not(.eyebrow) { margin: 14px auto 0; max-width: 520px; color: var(--muted); line-height: 1.7; }

.cta .actions { justify-content: center; }

.footnote { margin: -64px 0 64px; color: var(--muted); font-size: 13px; text-align: center; }

@media (max-width: 960px) {
  .hero,
  .split { grid-template-columns: 1fr; }

  .hero-art { max-width: 380px; }

  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .dog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topbar, main { width: calc(100% - 32px); }

  .nav-links { display: none; }

  .card-grid,
  .rewards-grid { grid-template-columns: 1fr; }

  .cta { padding: 44px 24px; }

  .actions > * { width: 100%; }
}
