@font-face {
  font-family: "Sora";
  src: url("/assets/Sora-Variable.ttf") format("truetype");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Sora", system-ui, sans-serif;
  color: #f4fff6;
  background: #061b16;
  --forest: #061b16;
  --leaf: #7cff8a;
  --sun: #ffd86b;
  --water: #66e5ff;
  --ember: #ff7b58;
  --paper: #f5f7f4;
  --ink: #17251e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; background: var(--forest); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; border-radius: 4px; }

.discover-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  width: min(100% - 48px, 1240px);
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.discover-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 760;
  text-decoration: none;
}

.discover-brand img { width: 40px; height: 40px; border-radius: 7px; }
.discover-header nav, .discover-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.discover-header nav a { color: #dcebe1; font-size: 14px; font-weight: 650; text-decoration: none; }
.discover-header nav a:hover { color: var(--sun); }

.hero {
  position: relative;
  min-height: min(920px, 100svh);
  padding: clamp(140px, 18vh, 190px) max(24px, calc((100vw - 1240px) / 2)) 82px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  background:
    linear-gradient(180deg, rgba(6, 27, 22, .28) 0%, rgba(6, 27, 22, .62) 58%, #061b16 100%),
    url("/assets/forest-background.png") center 28% / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(180deg, rgba(6, 27, 22, 0), var(--forest));
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 2; width: min(760px, 100%); margin: 0 auto; text-align: center; }
.hero-kicker { margin: 0 0 14px; color: var(--sun); font-size: 14px; font-weight: 720; }
h1, h2 { text-wrap: balance; letter-spacing: 0; }
h1 { margin: 0; font-size: clamp(3.3rem, 8vw, 6rem); line-height: .98; font-weight: 790; }
.hero-lede { margin: 24px auto 0; max-width: 650px; color: #e4f2e8; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.6; text-wrap: pretty; }

.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.store-action, .quiet-action {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 720;
  text-decoration: none;
  transition: transform 120ms ease-out, background-color 120ms ease-out, color 120ms ease-out;
}
.store-action { background: var(--leaf); color: #092017; }
.store-action:hover { background: #a0ffa9; }
.quiet-action { border: 1px solid rgba(244, 255, 246, .5); color: #f4fff6; }
.quiet-action:hover { border-color: #f4fff6; background: rgba(244, 255, 246, .1); }
.store-action:active, .quiet-action:active { transform: scale(.975); }

.hero-product {
  position: relative;
  z-index: 1;
  width: min(330px, 72vw);
  margin: 48px auto -360px;
  animation: settle 700ms cubic-bezier(.16, 1, .3, 1) both;
}
.hero-product img { width: 100%; }
.hero-next {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  color: #dcebe1;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.worlds {
  position: relative;
  z-index: 2;
  padding: clamp(88px, 11vw, 150px) max(24px, calc((100vw - 1120px) / 2));
  background: var(--paper);
  color: var(--ink);
}
.worlds-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: clamp(32px, 8vw, 110px); align-items: end; }
.worlds h2, .product-story h2, .reward-story h2, .closing h2 { margin: 0; font-size: clamp(2.2rem, 4.8vw, 4.6rem); line-height: 1.06; }
.worlds-heading p, .story-copy > p:last-child, .reward-copy > p { margin: 0; max-width: 65ch; font-size: 17px; line-height: 1.75; text-wrap: pretty; }
.world-ribbon { margin-top: 74px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-block: 1px solid #b7c7bd; }
.world-ribbon span { min-height: 94px; padding: 18px 12px; display: flex; align-items: center; justify-content: center; border-right: 1px solid #b7c7bd; text-align: center; font-size: 13px; font-weight: 720; }
.world-ribbon span:last-child { border-right: 0; }
.world-ribbon span:nth-child(1) { color: #17623f; }
.world-ribbon span:nth-child(2) { color: #007580; }
.world-ribbon span:nth-child(3) { color: #b23820; }
.world-ribbon span:nth-child(4) { color: #405cae; }
.world-ribbon span:nth-child(5) { color: #9a4f20; }
.world-ribbon span:nth-child(6) { color: #7042a8; }

.product-story, .reward-story {
  min-height: 760px;
  padding: clamp(82px, 10vw, 140px) max(24px, calc((100vw - 1120px) / 2));
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  gap: clamp(46px, 8vw, 120px);
  align-items: center;
  overflow: hidden;
}
.product-story { background: #071b2d; color: #effaff; }
.reward-story { background: #35150f; color: #fff6ef; }
.story-label { margin: 0 0 14px; color: var(--water); font-size: 14px; font-weight: 720; }
.reward-story .story-label { color: #ffd281; }
.story-copy > p:last-child, .reward-copy > p { margin-top: 24px; color: #cfe2e9; }
.reward-copy > p { color: #f4dcd1; }
.story-visual, .reward-visual { width: min(420px, 90%); margin: 0 auto -210px; }
.story-visual img, .reward-visual img { width: 100%; }
.reward-story { grid-template-columns: minmax(280px, 1.05fr) minmax(0, .95fr); }
.reward-visual { order: -1; }
.reward-copy ul { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 246, 239, .28); }
.reward-copy li { padding: 13px 0; border-bottom: 1px solid rgba(255, 246, 239, .2); color: #ffe9df; line-height: 1.5; }

.closing { padding: clamp(90px, 12vw, 170px) 24px; text-align: center; background: #0b3426; }
.closing p { margin: 20px 0 30px; color: #cfe3d6; font-size: 18px; }

.discover-footer {
  width: min(100% - 48px, 1120px);
  min-height: 100px;
  margin: 0 auto;
  padding: 28px 0 max(28px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #bfd2c5;
  font-size: 13px;
}
.discover-footer p { margin: 0; }
.discover-footer a { color: #dcebe1; }

@keyframes settle {
  from { transform: translateY(20px); }
  to { transform: translateY(0); }
}

@media (max-width: 820px) {
  .discover-header { width: min(100% - 32px, 1240px); min-height: 78px; }
  .discover-header nav { gap: 14px; }
  .discover-header nav a:nth-child(2) { display: none; }
  .hero { min-height: 850px; padding-top: 126px; }
  .hero-product { margin-top: 42px; margin-bottom: -300px; }
  .worlds-heading, .product-story, .reward-story { grid-template-columns: 1fr; }
  .worlds-heading { align-items: start; }
  .world-ribbon { grid-template-columns: repeat(3, 1fr); }
  .world-ribbon span:nth-child(3) { border-right: 0; }
  .world-ribbon span:nth-child(-n + 3) { border-bottom: 1px solid #b7c7bd; }
  .product-story, .reward-story { padding-bottom: 0; text-align: center; }
  .story-copy > p:last-child, .reward-copy > p { margin-inline: auto; }
  .story-visual, .reward-visual { order: 1; margin-bottom: -220px; }
  .reward-copy ul { text-align: left; }
}

@media (max-width: 520px) {
  .discover-header { align-items: flex-start; padding-top: 17px; }
  .discover-header nav { padding-top: 9px; }
  .discover-header nav a:first-child { display: none; }
  .discover-brand { font-size: 15px; }
  .discover-brand img { width: 36px; height: 36px; }
  .hero { min-height: 790px; padding-inline: 18px; }
  h1 { font-size: clamp(3rem, 16vw, 4.8rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-product { width: min(290px, 82vw); margin-bottom: -245px; }
  .hero-next { width: 100%; padding-inline: 16px; text-align: center; }
  .worlds, .product-story, .reward-story { padding-inline: 20px; }
  .world-ribbon { grid-template-columns: 1fr 1fr; }
  .world-ribbon span { min-height: 76px; }
  .world-ribbon span:nth-child(2n) { border-right: 0; }
  .world-ribbon span:nth-child(3) { border-right: 1px solid #b7c7bd; }
  .world-ribbon span:nth-child(-n + 4) { border-bottom: 1px solid #b7c7bd; }
  .story-visual, .reward-visual { width: min(340px, 94%); margin-bottom: -170px; }
  .discover-footer { width: min(100% - 32px, 1120px); align-items: flex-start; flex-direction: column; }
  .discover-footer nav { gap: 12px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
