:root {
  --cream: #FBF7F0;
  --ink: #1A1A1A;
  --orange: #FF8A3D;
  --teal: #3DB8A8;
  --yellow: #FFC93C;
  --surface: #FFFFFF;
  --warm-gray: #8A8278;
  --border-light: #E3E3E6;
  --common: #9CA3AF;
  --uncommon: #4ADE80;
  --rare: #3B82F6;
  --epic: #A855F7;
  --legendary: #F59E0B;
  --radius: 16px;
  --shadow: 7px 7px 0 var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

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

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 3px solid var(--ink);
  background: var(--cream);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 4px 4px 0 var(--ink);
}

.brand strong {
  color: var(--orange);
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

nav a {
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
  padding: 8px 12px;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 900;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  background: var(--yellow);
}

main {
  overflow: hidden;
}

.hero,
.split,
.roadmap,
.legal-page {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 450px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  min-height: calc(100svh - 86px);
  padding: 54px 0 42px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 14px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--teal);
  padding: 7px 12px;
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 1000;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5.8vw, 4.8rem);
  line-height: .96;
  font-weight: 1000;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 3.7vw, 3rem);
  line-height: 1.02;
  font-weight: 1000;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  line-height: 1.05;
  font-weight: 1000;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  color: #36312b;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 650;
}

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

.neo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 13px 18px;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-weight: 1000;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}

.neo-button:hover {
  transform: translate(3px, 3px);
  box-shadow: 4px 4px 0 var(--ink);
}

.neo-button.primary {
  background: var(--orange);
}

.neo-button.secondary {
  background: var(--surface);
}

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

.hero-shot {
  width: min(100%, 420px);
  border: 4px solid var(--ink);
  border-radius: 34px;
  background: var(--orange);
  box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(2deg);
}

.phone-frame {
  border: 4px solid var(--ink);
  border-radius: 34px;
  background: var(--teal);
  padding: 18px;
  box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(2deg);
}

.phone-top,
.phone-actions,
.card-top,
.trait-row,
.stat-grid,
.tag-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-top,
.phone-actions {
  justify-content: space-between;
  color: var(--ink);
  font-weight: 1000;
}

.pill,
.camera-dot,
.rarity,
.pet-icon,
.trait-row span,
.tag-list li {
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--surface);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 1000;
}

.camera-dot {
  background: var(--orange);
}

.card-preview {
  margin: 16px 0;
  border: 4px solid var(--ink);
  border-radius: 22px;
  background: var(--surface);
  padding: 15px;
  box-shadow: 6px 6px 0 var(--ink);
}

.card-preview.legendary {
  background: var(--yellow);
}

.card-top {
  justify-content: space-between;
}

.rarity {
  background: var(--legendary);
}

.pet-icon {
  background: var(--surface);
}

.card-preview img {
  width: 82%;
  margin: 14px auto 4px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--cream);
}

.card-preview h2 {
  margin: 10px 0 8px;
  font-size: 1.75rem;
}

.trait-row {
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.trait-row span:first-child {
  background: var(--teal);
}

.trait-row span:last-child {
  background: var(--orange);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stat-grid span {
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--surface);
  padding: 8px;
  font-size: .86rem;
  font-weight: 900;
}

.band {
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--surface);
  padding: 64px clamp(18px, 4vw, 56px);
}

.screens-showcase {
  border-top: 3px solid var(--ink);
  background: var(--yellow);
  padding: 60px clamp(18px, 4vw, 56px);
}

.section-heading {
  width: min(1180px, 100%);
  margin: 0 auto 28px;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(210px, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.screen-grid img {
  width: 100%;
  border: 4px solid var(--ink);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.screen-grid img:nth-child(2n) {
  transform: translateY(22px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.neo-card,
.wide-card,
.promise-item,
.timeline article,
.legal-content {
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.neo-card {
  min-height: 290px;
  padding: 22px;
}

.neo-card.teal {
  background: #d9f5f1;
}

.neo-card.yellow {
  background: #fff0aa;
}

.neo-card.orange {
  background: #ffe0cc;
}

.number {
  display: inline-flex;
  margin-bottom: 28px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--orange);
  padding: 6px 10px;
  font-weight: 1000;
}

.neo-card p,
.wide-card p,
.promise-item span,
.timeline span,
.legal-content p,
.legal-content li {
  color: #36312b;
  font-weight: 620;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(22px, 5vw, 56px);
  align-items: start;
  padding: 70px 0;
}

.promise-list {
  display: grid;
  gap: 16px;
}

.promise-item {
  padding: 20px;
}

.promise-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.14rem;
  font-weight: 1000;
}

.social-band {
  background: var(--yellow);
}

.wide-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 24px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 26px;
}

.tag-list {
  flex-wrap: wrap;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li:nth-child(2n) {
  background: var(--teal);
}

.tag-list li:nth-child(3n) {
  background: var(--orange);
}

.roadmap {
  padding: 70px 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.timeline article {
  padding: 22px;
}

.timeline strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.5rem;
  font-weight: 1000;
}

.legal-page {
  padding: 54px 0 70px;
}

.legal-hero {
  margin-bottom: 30px;
}

.legal-hero h1 {
  max-width: 900px;
}

.legal-content {
  padding: clamp(22px, 4vw, 42px);
}

.legal-content h2 {
  margin-top: 34px;
  margin-bottom: 8px;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content ul {
  padding-left: 24px;
}

.legal-content li + li {
  margin-top: 8px;
}

.site-footer {
  align-items: flex-start;
  border-top: 3px solid var(--ink);
  border-bottom: 0;
}

.site-footer p {
  margin: 6px 0 0;
  color: #36312b;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header,
  .site-footer,
  .hero,
  .split,
  .wide-card {
    grid-template-columns: 1fr;
  }

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

  nav,
  .footer-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

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

  .feature-grid,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .feature-grid,
  .timeline,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.25rem);
  }

  .hero-shot {
    transform: none;
    box-shadow: 8px 8px 0 var(--ink);
  }

  .phone-frame {
    transform: none;
    box-shadow: 8px 8px 0 var(--ink);
  }

  .screen-grid {
    display: flex;
    gap: 14px;
    margin-inline: -18px;
    overflow-x: auto;
    padding: 0 18px 10px;
    scroll-snap-type: x mandatory;
  }

  .screen-grid img {
    flex: 0 0 min(78vw, 320px);
    scroll-snap-align: start;
  }

  .screen-grid img:nth-child(2n) {
    transform: none;
  }

  .site-header {
    position: static;
  }
}
