:root {
  --cream: #fff6d4;
  --orange: #ff8b24;
  --yellow: #ffd84f;
  --ink: #24170f;
  --brown: #584132;
  --green: #74b957;
  --blue: #4e9fd7;
  --red: #c4473f;
  --white: #fff;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle, rgb(255 139 36 / 10%) 3px, transparent 3.5px)
      0 0 / 42px 42px,
    var(--cream);
  color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 12px 18px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--yellow);
  font-weight: 900;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 2px solid rgb(36 23 15 / 9%);
  background: rgb(255 246 212 / 94%);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  width: min(calc(100% - 40px), var(--content));
  min-height: 78px;
  margin: 0 auto;
  gap: 13px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  margin-right: auto;
  text-decoration: none;
}

.brand-icon {
  width: 49px;
  height: 49px;
  margin-right: 13px;
  border: 2px solid var(--ink);
  border-radius: 13px;
  object-fit: cover;
}

.brand-title {
  color: var(--white);
  font-family: "Luckiest Guy", fantasy;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: 0.02em;
  line-height: 1;
  text-shadow:
    -2px -2px 0 var(--ink),
    2px -2px 0 var(--ink),
    -2px 2px 0 var(--ink),
    2px 2px 0 var(--ink),
    0 3px 0 var(--ink);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--orange);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 20px;
  border: 3px solid var(--ink);
  border-radius: 15px;
  background: var(--orange);
  box-shadow: 0 5px 0 var(--ink);
  color: var(--ink);
  font-weight: 1000;
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-decoration: none;
  transition:
    translate 140ms ease,
    box-shadow 140ms ease;
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 8px 0 var(--ink);
  translate: 0 -3px;
}

.button:active {
  box-shadow: 0 2px 0 var(--ink);
  translate: 0 3px;
}

.button-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.button-white {
  background: var(--white);
  color: var(--ink);
}

.eyebrow {
  display: inline-block;
  margin: 0;
  padding: 6px 14px;
  border: 2px solid var(--ink);
  border-radius: 100px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 1000;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.display {
  margin: 0;
  color: var(--white);
  font-family: "Luckiest Guy", fantasy;
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 0.98;
  text-shadow:
    -2px -2px 0 var(--ink),
    2px -2px 0 var(--ink),
    -2px 2px 0 var(--ink),
    2px 2px 0 var(--ink),
    0 4px 0 var(--ink);
}

.section {
  padding: 84px 24px;
}

.section-inner {
  width: min(100%, var(--content));
  margin: 0 auto;
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2 {
  margin-top: 16px;
  font-size: clamp(2.35rem, 5vw, 3.4rem);
}

.section-heading p {
  max-width: 740px;
  margin: 18px auto 0;
  color: var(--brown);
  font-size: 1.12rem;
  font-weight: 800;
}

.hero {
  padding-top: 64px;
  padding-bottom: 86px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: 60px;
}

.hero h1 {
  margin: 20px 0 24px;
  font-size: clamp(4.25rem, 8vw, 5.4rem);
}

.hero h1 .product-name {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 0.22em;
  font-weight: 1000;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.hero-copy {
  max-width: 600px;
  margin: 0 0 28px;
  color: var(--brown);
  font-size: clamp(1.1rem, 2vw, 1.27rem);
  font-weight: 800;
}

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

.coming-soon {
  color: var(--brown);
  font-weight: 900;
}

.microcopy {
  margin: 22px 0 0;
  color: #806957;
  font-size: 0.75rem;
  font-weight: 1000;
  letter-spacing: 0.11em;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 500px;
}

.cat-disc {
  position: relative;
  display: grid;
  width: min(100%, 430px);
  aspect-ratio: 1;
  place-items: center;
  border: 5px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 10px 12px 0 var(--ink);
  padding: 0;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  user-select: none;
}

.cat-disc img {
  position: absolute;
  width: 93%;
  height: auto;
  transition: scale 90ms ease;
}

.cat-disc .cat-open {
  display: none;
}

.cat-disc.is-popping .cat-closed {
  display: none;
}

.cat-disc.is-popping .cat-open {
  display: block;
  scale: 1.07;
}

.tap-badge,
.score-badge {
  position: absolute;
  z-index: 2;
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: 4px 5px 0 var(--ink);
  font-family: "Luckiest Guy", fantasy;
}

.tap-badge {
  top: 12px;
  right: -18px;
  padding: 9px 14px;
  border-radius: 12px;
  background: var(--red);
  color: var(--white);
  rotate: 8deg;
}

.score-badge {
  bottom: 1px;
  left: -18px;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 1.2rem;
}

.dark-section {
  background: var(--ink);
  color: var(--white);
}

.dark-section .section-heading p {
  color: #e8d8c7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  min-height: 260px;
  padding: 25px;
  border: 3px solid #000;
  border-radius: 23px;
  background: var(--cream);
  box-shadow: 8px 9px 0 var(--accent);
  color: var(--ink);
}

.feature-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 1.7rem;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.feature-card p {
  margin: 0;
  color: var(--brown);
  font-weight: 750;
}

.journey-list {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: center;
  gap: 20px;
  padding: 0;
  list-style: none;
}

.journey-list li {
  text-align: center;
}

.journey-icon {
  width: 92px;
  height: 92px;
  padding: 7px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 4px 5px 0 var(--ink);
  object-fit: contain;
}

.journey-list li:last-child .journey-icon {
  width: 110px;
  height: 110px;
  background: var(--yellow);
}

.journey-label {
  display: block;
  margin-top: 10px;
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
}

.collection {
  background: #ffd65a;
}

.collection-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: 72px;
}

.card-fan {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 20px;
}

.card-fan img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(48%, 220px);
  height: auto;
  filter: drop-shadow(5px 13px 10px rgb(0 0 0 / 28%));
  transform-origin: center bottom;
}

.card-fan img:nth-child(1) {
  transform: translate(-110%, -50%) rotate(-13deg);
}

.card-fan img:nth-child(2) {
  transform: translate(-75%, -57%) rotate(-4deg);
}

.card-fan img:nth-child(3) {
  transform: translate(-25%, -57%) rotate(5deg);
}

.card-fan img:nth-child(4) {
  transform: translate(10%, -48%) rotate(14deg);
}

.collection-copy h2 {
  margin: 18px 0;
  font-size: clamp(2.7rem, 5vw, 3.7rem);
}

.collection-copy > p {
  color: #493629;
  font-size: 1.12rem;
  font-weight: 800;
}

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

.chip {
  padding: 6px 13px;
  border: 2px solid var(--ink);
  border-radius: 100px;
  background: var(--chip);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 1000;
}

.chip.on-red,
.rank-card.on-red small {
  color: var(--white);
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rank-card {
  padding: 8px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: #dcd4c6;
  box-shadow: 7px 8px 0 var(--ink);
}

.rank-card-inner {
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 11px;
  background: var(--rank);
  color: var(--ink);
  text-align: center;
}

.rank-card h3 {
  margin: 0;
  font-size: 1.65rem;
}

.rank-card hr {
  border: 0;
  border-top: 2px solid var(--ink);
}

.rank-card small {
  color: var(--ink);
  font-weight: 1000;
}

.rank-card strong {
  display: block;
  margin-top: 5px;
  font-family: "Luckiest Guy", fantasy;
  font-size: 1.8rem;
}

.cta-section {
  background: var(--orange);
  color: var(--ink);
  text-align: center;
}

.cta-section img {
  width: 88px;
  margin: 0 auto 18px;
}

.cta-section h2 {
  max-width: 800px;
  margin: 0 auto 18px;
  font-size: clamp(2.7rem, 6vw, 3.5rem);
}

.cta-section p {
  margin-bottom: 28px;
  font-size: 1.18rem;
  font-weight: 850;
}

.site-footer {
  padding: 42px 24px;
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  display: grid;
  width: min(100%, var(--content));
  margin: 0 auto;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.footer-brand strong {
  font-family: "Luckiest Guy", fantasy;
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px 18px;
}

.footer-links a {
  color: var(--yellow);
  font-weight: 900;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: #cdbfae;
  font-size: 0.9rem;
}

.document-hero {
  padding: 72px 24px 34px;
  text-align: center;
}

.document-hero h1 {
  max-width: 920px;
  margin: 18px auto;
  font-size: clamp(3rem, 7vw, 4.8rem);
}

.document-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--brown);
  font-size: 1.15rem;
  font-weight: 750;
}

.document-main {
  width: min(calc(100% - 40px), 860px);
  margin: 0 auto;
  padding: 20px 0 80px;
}

.content-panel {
  margin: 22px 0;
  padding: clamp(22px, 5vw, 34px);
  border: 3px solid var(--ink);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 8px 9px 0 var(--orange);
}

.content-panel h2 {
  margin: 0 0 16px;
  font-family: "Luckiest Guy", fantasy;
  font-size: 1.75rem;
  line-height: 1.1;
}

.content-panel h3 {
  margin: 24px 0 8px;
  font-size: 1.1rem;
  font-weight: 1000;
}

.content-panel p:last-child,
.content-panel ul:last-child {
  margin-bottom: 0;
}

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

.guide-link {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border: 3px solid var(--ink);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 6px 7px 0 var(--orange);
  text-decoration: none;
}

.guide-link:hover,
.guide-link:focus-visible {
  background: var(--yellow);
}

.guide-link strong {
  font-family: "Luckiest Guy", fantasy;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.guide-link span {
  margin-top: 8px;
  color: var(--brown);
  font-weight: 750;
}

.page-meta {
  color: var(--brown);
  font-size: 0.9rem;
  font-weight: 800;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 0;
  list-style: none;
}

.related-links a {
  color: #7d3700;
  font-weight: 900;
}

.answer {
  font-size: 1.04rem;
  font-weight: 750;
}

.step-list {
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.step-list li {
  position: relative;
  min-height: 44px;
  margin: 16px 0;
  padding-left: 56px;
  counter-increment: steps;
}

.step-list li::before {
  position: absolute;
  left: 0;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  content: counter(steps);
  font-family: "Luckiest Guy", fantasy;
}

.warning {
  border-color: #8c3029;
  background: #ffddd6;
  box-shadow: 8px 9px 0 var(--red);
}

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

.contact-card .button {
  margin-top: 8px;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.not-found h1 {
  font-size: 3rem;
}

@media (max-width: 980px) {
  .main-nav a:not(.button) {
    display: none;
  }

  .hero-grid,
  .collection-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions,
  .chips {
    justify-content: center;
  }

  .hero-art {
    min-height: 440px;
  }

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

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

  .collection-grid {
    gap: 22px;
  }

  .collection-copy {
    grid-row: 1;
  }

  .card-fan {
    min-height: 400px;
  }
}

@media (max-width: 650px) {
  .header-inner {
    width: min(calc(100% - 24px), var(--content));
  }

  .brand-icon {
    width: 43px;
    height: 43px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .main-nav .button {
    min-height: 45px;
    padding: 9px 14px;
    font-size: 0.8rem;
  }

  .section {
    padding: 65px 20px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 18vw, 4.5rem);
  }

  .hero-art {
    min-height: 350px;
  }

  .cat-disc {
    width: min(88vw, 340px);
  }

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

  .feature-card {
    min-height: 0;
  }

  .journey-list {
    gap: 15px 9px;
  }

  .journey-icon {
    width: 72px;
    height: 72px;
  }

  .journey-list li:last-child .journey-icon {
    width: 86px;
    height: 86px;
  }

  .card-fan {
    min-height: 315px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand,
  .footer-links {
    justify-content: center;
  }

  .copyright {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
