:root {
  color-scheme: dark;
  --bg-top: #2b1709;
  --bg-bottom: #52280c;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.64);
  --line: rgba(255, 255, 255, 0.14);
  --surface: rgba(255, 255, 255, 0.07);
  --mint: #3fd391;
  --pink: #f0507f;
  --sun: #ffcc2e;
  --sky: #4aa8f5;
  --orange: #fa8521;
  --grape: #9a6cf0;
  --danger: #ff5950;
  --rounded: ui-rounded, "SF Pro Rounded", "Nunito", "Avenir Next Rounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  font-family: var(--rounded);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg-top);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom)) fixed;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

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

a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
  border-radius: 10px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: min(100% - 40px, 1080px);
  margin: 0 auto;
}

/* Floating cheese-hole backdrop */
.bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 220, 120, 0.5), rgba(250, 133, 33, 0.28));
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.12);
  animation: bob 5s ease-in-out infinite;
}



@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}

/* Hero */
.hero-wrap {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.03) 0 36px, transparent 36px 72px),
    radial-gradient(800px 500px at 15% 10%, rgba(250, 133, 33, 0.28), transparent 70%),
    radial-gradient(700px 500px at 90% 80%, rgba(63, 211, 145, 0.2), transparent 70%);
}

.hero {
  position: relative;
  width: min(100% - 40px, 1080px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 120px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.nav {
  position: absolute;
  inset: 28px 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  font-weight: 800;
}

.brand img,
.footer-brand img {
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--line);
}

.nav-link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin-bottom: 14px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  padding-right: 0.1em;
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.88;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  transform: rotate(-3deg);
  transform-origin: left center;
}

h1 .cheddar {
  display: block;
  background: linear-gradient(90deg, #fff7e0, #ffe9a8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 .chase {
  display: block;
  background: linear-gradient(90deg, var(--sun), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin-top: 30px;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 800;
}

.intro {
  max-width: 460px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  min-height: 52px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #3a1e0c;
  background: linear-gradient(180deg, #6fe0a8, var(--mint));
  box-shadow: 0 5px 0 #23925f, 0 14px 28px rgba(63, 211, 145, 0.25);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #23925f;
}

.btn-ghost {
  color: #fff;
  background: var(--surface);
  box-shadow: 0 0 0 2px var(--line);
}

.btn-ghost:active {
  box-shadow: 0 0 0 2px var(--line);
}

.soon-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.soon-note strong {
  color: var(--sun);
}

.hero-video {
  justify-self: center;
  width: min(100%, 340px);
}

.hero-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 1560;
  border-radius: 34px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--line);
}

.store-badge-link,
.badge-button {
  display: inline-flex;
  width: 120px;
  height: 40px;
}

.store-badge-link img,
.badge-button img {
  display: block;
  width: 120px;
  height: 40px;
}

.badge-button {
  width: 150px;
  height: 50px;
}

.badge-button img {
  width: 150px;
  height: 50px;
}

/* Stat blocks */
.counts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.count {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: clamp(28px, 5vw, 52px) 12px;
  text-align: center;
  color: #3a1e0c;
}

.count strong {
  font-size: clamp(1.5rem, 3.6vw, 2.8rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
  font-weight: 900;
}

.count span {
  font-size: clamp(0.8rem, 1.8vw, 1.1rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.count-mint { background: var(--mint); }
.count-pink { background: var(--pink); }
.count-sun { background: var(--sun); }
.count-sky { background: var(--sky); }

/* Sections */
section {
  position: relative;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.section-head {
  margin-bottom: 36px;
}

.how {
  padding: clamp(56px, 9vw, 96px) 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding: 26px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}

.steps li::before {
  content: counter(step);
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #3a1e0c;
  font-size: 1.3rem;
  font-weight: 900;
  background: var(--mint);
}

.steps li:nth-child(2)::before { background: var(--sun); }
.steps li:nth-child(3)::before { background: var(--pink); }

.steps h3 {
  font-size: 1.35rem;
  font-weight: 900;
}

.steps p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

/* Power-ups */
.powerups {
  padding: clamp(48px, 8vw, 80px) 0;
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.power-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.power-list li {
  padding: 20px 16px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: inset 0 4px 0 var(--c), 0 0 0 1px var(--line);
}

.power-list h3 {
  color: var(--c);
  font-size: 1.15rem;
  font-weight: 900;
}

.power-list p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Screenshots */
.screens {
  padding: clamp(56px, 9vw, 96px) 0 40px;
}

.screens-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.carousel-buttons {
  display: flex;
  gap: 8px;
}

.carousel-button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  color: #fff;
  font: inherit;
  font-size: 1.1rem;
  cursor: pointer;
}

.carousel-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.16);
}

.carousel-button:disabled {
  opacity: 0.3;
  cursor: default;
}

.shot-track {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0 0 12px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.shot-track::-webkit-scrollbar {
  display: none;
}

.shot-track li {
  flex: 0 0 min(300px, 72%);
  scroll-snap-align: start;
}

.shot-track img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 0 0 1px var(--line);
}

/* Promise */
.promise {
  padding: clamp(48px, 8vw, 80px) 0;
  color: #3a1e0c;
  background: var(--sun);
}

.promise .section-kicker {
  color: #3a1e0c;
}

.promise h2 {
  max-width: 13em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  background: #3a1e0c;
  font-size: 0.95rem;
  font-weight: 800;
}

.fineprint {
  margin-top: 22px;
  color: rgba(10, 18, 40, 0.7);
  font-size: 0.85rem;
  font-weight: 700;
}

/* More */
.more-apps {
  padding: 72px 0 96px;
}

.more-app-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.more-app-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}

.more-app-card:hover {
  box-shadow: 0 0 0 2px var(--mint);
}

.more-app-card img {
  border-radius: 12px;
  flex: none;
}

.more-app-card span {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.more-app-card strong {
  color: #fff;
  font-size: 1rem;
}

.footer {
  width: min(100% - 40px, 1080px);
  margin: 0 auto;
  padding: 28px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a:hover {
  color: #fff;
}

/* Policy and support pages */
.page-hero {
  position: relative;
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 140px 0 40px;
}

.page-copy h1 {
  font-size: clamp(2.6rem, 7vw, 4rem);
  transform: none;
  color: #fff;
}

.page-copy .eyebrow {
  color: var(--muted);
}

.page-copy .intro {
  max-width: none;
}

.policy-main,
.support-main {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding-bottom: 80px;
}

.policy-main section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.policy-main h2 {
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.policy-main h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
  font-weight: 800;
}

.policy-main p,
.policy-main li {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.policy-main p + p {
  margin-top: 12px;
}

.policy-main ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.policy-main a {
  color: var(--mint);
}

.support-form {
  display: grid;
  gap: 20px;
  max-width: 560px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  font-size: 0.88rem;
  font-weight: 800;
}

.field-group input,
.field-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: #fff;
  font: inherit;
}

.field-group input:focus,
.field-group textarea:focus {
  outline: 2px solid var(--mint);
  border-color: transparent;
}

.support-submit {
  width: fit-content;
  cursor: pointer;
  border: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 112px;
    min-height: 0;
  }

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

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

  .power-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .bubble.hide-sm {
    display: none;
  }
}

@media (max-width: 560px) {
  .nav {
    gap: 14px;
    inset: 20px 0 auto;
  }

  .nav .nav-link:not(.keep),
  .nav .store-badge-link {
    display: none;
  }

  .more-app-list,
  .power-list {
    grid-template-columns: 1fr;
  }

  .shot-track li {
    flex-basis: 72%;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .bubble {
    animation: none;
  }

  .btn {
    transition: none;
  }
}

/* Cheddar Chase additions */
.hero-wrap {
  background:
    repeating-linear-gradient(115deg, rgba(255, 204, 46, 0.045) 0 36px, transparent 36px 72px),
    radial-gradient(800px 500px at 15% 10%, rgba(250, 133, 33, 0.3), transparent 70%),
    radial-gradient(700px 500px at 90% 80%, rgba(255, 204, 46, 0.16), transparent 70%);
}

h1 { transform: rotate(-2deg); }

.worlds {
  padding: clamp(56px, 9vw, 96px) 0;
}

.world-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.world-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 0 0 1px var(--line), 0 30px 70px rgba(0, 0, 0, 0.4);
}

.world-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.world-list li {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: inset 5px 0 0 var(--c), 0 0 0 1px var(--line);
}

.world-list h3 { color: var(--c); font-size: 1.2rem; font-weight: 900; }
.world-list p { margin-top: 4px; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }

.modes {
  padding: clamp(48px, 8vw, 80px) 0;
}

.mode-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mode-list li {
  padding: 20px 18px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: inset 0 4px 0 var(--c), 0 0 0 1px var(--line);
}

.mode-list h3 { color: var(--c); font-size: 1.15rem; font-weight: 900; }
.mode-list p { margin-top: 6px; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

.subhead { margin: 40px 0 16px; font-size: 1.3rem; font-weight: 900; }

@media (max-width: 900px) {
  .world-grid { grid-template-columns: minmax(0, 1fr); }
  .world-grid img { max-width: 420px; margin: 0 auto; }
  .mode-list { grid-template-columns: repeat(2, 1fr); }
  .hero-video { margin-top: 12px; }
}

@media (max-width: 560px) {
  .mode-list { grid-template-columns: 1fr; }
}
