@font-face {
  font-family: "Rex Rowdies";
  src: url("media/fonts/rowdies-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Rex Nunito";
  src: url("media/fonts/nunito-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --canopy: #17352a;
  --canopy-deep: #10281f;
  --fern: #315f43;
  --fern-dark: #214331;
  --cream: #fff9ea;
  --cream-muted: #e6ddc7;
  --paper: #f7edcf;
  --paper-deep: #ead9aa;
  --ink: #2f241b;
  --ember: #ad4f2f;
  --gold: #d39b36;
  --sun: #e8b865;
  --line-light: rgba(255, 241, 201, 0.18);
  --line-dark: rgba(59, 45, 27, 0.18);
  --shadow: 0 28px 80px rgba(6, 23, 17, 0.36);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--canopy-deep);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--cream);
  font:
    16px/1.65 "Rex Nunito",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(70, 122, 82, 0.2), transparent 28rem),
    var(--canopy-deep);
}

body::selection {
  color: var(--canopy-deep);
  background: var(--sun);
}

a {
  color: inherit;
}

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

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--canopy-deep);
  background: var(--cream);
  font-weight: 900;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line-light);
  background: rgba(16, 40, 31, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--cream);
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(3, 19, 13, 0.34);
}

.brand span {
  display: grid;
  line-height: 1;
}

.brand strong {
  font-family: "Rex Rowdies", sans-serif;
  font-size: 1.05rem;
}

.brand small {
  margin-top: 5px;
  color: var(--sun);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--cream-muted);
  font-size: 0.9rem;
  font-weight: 850;
}

.nav a {
  text-decoration: none;
}

.nav a:not(.nav-cta):hover,
.nav a:not(.nav-cta):focus-visible {
  color: var(--cream);
}

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 9px 15px;
  border: 1px solid rgba(255, 246, 214, 0.72);
  border-radius: 12px;
  color: var(--canopy-deep);
  background: var(--sun);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 118px) 0 34px;
  background:
    radial-gradient(circle at 82% 24%, rgba(232, 184, 101, 0.15), transparent 31rem),
    linear-gradient(180deg, #183b2e 0%, var(--canopy-deep) 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    radial-gradient(circle at center, transparent 0 23px, var(--sun) 24px 25px, transparent 26px),
    radial-gradient(circle at center, var(--sun) 0 3px, transparent 4px);
  background-position:
    0 0,
    25px 25px;
  background-size: 50px 50px;
  mask-image: linear-gradient(to right, black, transparent 64%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  gap: clamp(40px, 6vw, 78px);
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Rex Rowdies", sans-serif;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 5.45rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
}

h1 span {
  color: var(--sun);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.04;
}

.hero-lead {
  max-width: 610px;
  margin: 0;
  color: var(--cream-muted);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.55;
}

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

.play-badge-link {
  display: inline-block;
  width: 210px;
  max-width: 100%;
  border-radius: 10px;
  filter: drop-shadow(0 16px 24px rgba(3, 18, 13, 0.28));
  text-decoration: none;
  transition: transform 180ms ease;
}

.play-badge-link img {
  width: 100%;
}

.play-badge-link:hover,
.play-badge-link:focus-visible {
  transform: translateY(-2px);
}

.text-link {
  color: var(--cream);
  font-weight: 900;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.store-note {
  margin: 17px 0 0;
  color: #c9c0ad;
  font-size: 0.86rem;
}

.hero-poster {
  position: relative;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(232, 184, 101, 0.55);
  border-radius: 30px 18px 30px 18px;
  background: rgba(255, 249, 234, 0.07);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.hero-poster::before,
.hero-poster::after {
  position: absolute;
  z-index: -1;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(232, 184, 101, 0.28);
  border-radius: 50%;
  content: "";
}

.hero-poster::before {
  top: -34px;
  right: -30px;
}

.hero-poster::after {
  bottom: -40px;
  left: -28px;
}

.hero-poster img {
  width: 100%;
  border-radius: 20px 10px 20px 10px;
}

.hero-poster figcaption {
  padding: 13px 8px 4px;
  color: var(--cream-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
}

.stat-strip {
  position: relative;
  display: grid;
  margin-top: clamp(64px, 8vw, 102px);
  border-block: 1px solid var(--line-light);
  grid-template-columns: repeat(5, 1fr);
}

.stat-strip > div {
  display: grid;
  min-height: 108px;
  align-content: center;
  padding: 16px 20px;
  border-right: 1px solid var(--line-light);
  text-align: center;
}

.stat-strip > div:last-child {
  border-right: 0;
}

.stat-strip strong {
  color: var(--sun);
  font-family: "Rex Rowdies", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1;
}

.stat-strip span {
  margin-top: 7px;
  color: var(--cream-muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.worlds-section {
  padding: clamp(82px, 10vw, 136px) 0;
  background:
    radial-gradient(circle at 92% 16%, rgba(173, 79, 47, 0.13), transparent 28rem),
    var(--canopy-deep);
}

.section-heading {
  display: grid;
  max-width: 860px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 0 auto;
  color: var(--cream-muted);
  font-size: 1.06rem;
}

.section-heading--compact {
  margin-bottom: 34px;
}

.world-grid {
  display: grid;
  margin: 0;
  padding: 0;
  gap: clamp(14px, 2vw, 24px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.world-grid > li {
  min-width: 0;
}

.world-card {
  position: relative;
  display: flex;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(232, 184, 101, 0.28);
  border-radius: 24px 12px 24px 12px;
  background: #1c3c2f;
  box-shadow: 0 20px 50px rgba(4, 21, 15, 0.28);
}

.world-card::after {
  position: absolute;
  inset: auto 18px 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--gold);
  content: "";
  opacity: 0.65;
}

.world-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.7;
  background: #11281f;
}

.world-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(to bottom, transparent, #1c3c2f);
  content: "";
  pointer-events: none;
}

.world-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.world-number {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 249, 234, 0.42);
  border-radius: 8px;
  color: var(--cream);
  background: rgba(16, 40, 31, 0.88);
  font-size: 0.67rem;
  font-weight: 1000;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.world-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  margin-top: -12px;
  padding: 0 20px 25px;
  flex-direction: column;
}

.world-verb {
  margin: 0 0 4px;
  color: var(--sun);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.world-copy h3 {
  color: var(--cream);
}

.world-copy > p:not(.world-verb) {
  margin: 0;
  color: var(--cream-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.world-copy > span {
  display: block;
  margin-top: auto;
  padding-top: 16px;
  color: var(--sun);
  font-size: 0.7rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sanctuary-section {
  padding: clamp(84px, 10vw, 138px) 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 48%, rgba(49, 95, 67, 0.13), transparent 22rem),
    linear-gradient(135deg, var(--paper) 0%, #fff7df 58%, var(--paper-deep) 100%);
}

.sanctuary-grid {
  display: grid;
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
}

.sanctuary-mark {
  position: relative;
  display: grid;
  min-height: 390px;
  place-items: center;
}

.sanctuary-mark::before {
  position: absolute;
  width: min(76%, 310px);
  aspect-ratio: 1;
  border-radius: 44% 56% 49% 51%;
  background: var(--fern-dark);
  box-shadow:
    inset 0 0 0 10px rgba(255, 249, 234, 0.08),
    0 32px 70px rgba(50, 64, 42, 0.25);
  content: "";
  transform: rotate(-7deg);
}

.sanctuary-mark img {
  position: relative;
  z-index: 2;
  width: min(54%, 220px);
  border: 5px solid rgba(255, 249, 234, 0.76);
  border-radius: 28%;
  box-shadow: 0 20px 45px rgba(47, 36, 27, 0.32);
}

.orbit {
  position: absolute;
  z-index: 1;
  border: 2px dashed rgba(173, 79, 47, 0.32);
  border-radius: 50%;
}

.orbit-one {
  width: 86%;
  aspect-ratio: 1;
  transform: rotate(14deg) scaleY(0.66);
}

.orbit-two {
  width: 64%;
  aspect-ratio: 1;
  border-color: rgba(49, 95, 67, 0.42);
  transform: rotate(-18deg) scaleY(1.18);
}

.sanctuary-copy .eyebrow,
.facts-section .eyebrow {
  color: var(--ember);
}

.sanctuary-copy h2,
.facts-section h2 {
  color: var(--fern-dark);
}

.sanctuary-copy > p:not(.eyebrow) {
  max-width: 720px;
  color: #574838;
  font-size: 1.08rem;
}

.sanctuary-list {
  display: grid;
  margin: 34px 0 0;
  padding: 0;
  gap: 18px;
  list-style: none;
}

.sanctuary-list li {
  position: relative;
  display: grid;
  padding-left: 35px;
}

.sanctuary-list li::before {
  position: absolute;
  top: 6px;
  left: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ember);
  border-radius: 50% 46% 54% 48%;
  content: "";
  box-shadow: inset 0 0 0 4px var(--paper);
  background: var(--gold);
}

.sanctuary-list strong {
  color: var(--fern-dark);
  font-family: "Rex Rowdies", sans-serif;
  font-size: 1.05rem;
}

.sanctuary-list span {
  color: #685847;
}

.promise-section,
.faq-section {
  padding: clamp(80px, 9vw, 118px) 0;
  background: var(--canopy);
}

.promise-grid {
  display: grid;
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--line-light);
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.promise-grid li {
  min-height: 260px;
  padding: 34px 26px;
  border-right: 1px solid var(--line-light);
}

.promise-grid li:last-child {
  border-right: 0;
}

.promise-grid span {
  color: var(--gold);
  font-family: "Rex Rowdies", sans-serif;
  font-size: 2rem;
}

.promise-grid strong {
  display: block;
  margin-top: 36px;
  font-family: "Rex Rowdies", sans-serif;
  font-size: 1.25rem;
}

.promise-grid p {
  margin-bottom: 0;
  color: var(--cream-muted);
  font-size: 0.92rem;
}

.facts-section {
  padding: clamp(82px, 10vw, 132px) 0;
  color: var(--ink);
  background: var(--cream);
}

.facts-grid {
  display: grid;
  align-items: start;
  gap: clamp(46px, 8vw, 110px);
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
}

.facts-grid > div > p:last-child {
  color: #6c5c4a;
}

.facts-list {
  margin: 0;
  border-top: 1px solid var(--line-dark);
}

.facts-list > div {
  display: grid;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-dark);
  gap: 20px;
  grid-template-columns: 150px 1fr;
}

.facts-list dt {
  color: var(--ember);
  font-size: 0.74rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts-list dd {
  margin: 0;
  color: var(--fern-dark);
  font-weight: 850;
}

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

.faq-grid article {
  padding: 26px 0;
  border-top: 1px solid var(--line-light);
}

.faq-grid article:last-child {
  grid-column: 1 / -1;
}

.faq-grid article:last-child p {
  max-width: 680px;
}

.faq-grid h3 {
  font-size: 1.25rem;
}

.faq-grid p {
  margin-bottom: 0;
  color: var(--cream-muted);
}

.faq-grid a {
  color: var(--sun);
  font-weight: 900;
  text-underline-offset: 3px;
}

.final-cta {
  padding: clamp(72px, 8vw, 106px) 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 28%, rgba(173, 79, 47, 0.24), transparent 20rem),
    var(--sun);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-cta .eyebrow {
  color: var(--canopy-deep);
}

.final-cta h2 {
  max-width: 700px;
  margin-bottom: 12px;
  color: var(--fern-dark);
}

.final-cta p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--canopy-deep);
  font-size: 1.05rem;
}

footer {
  padding: 34px 0;
  border-top: 1px solid var(--line-light);
  color: #c6bcaa;
  background: #0b2018;
}

.footer-inner {
  display: grid;
  align-items: center;
  gap: 24px;
  grid-template-columns: 1fr auto;
}

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

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

.footer-brand div {
  display: grid;
}

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

.footer-brand span {
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 850;
}

.footer-links a {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  text-underline-offset: 3px;
}

.copyright,
.store-trademark {
  grid-column: 1 / -1;
  font-size: 0.76rem;
}

.store-trademark {
  margin-top: -18px;
  color: #a89f90;
}

.nav-cta {
  transition:
    transform 180ms ease,
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
}

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

  .hero-copy {
    max-width: 820px;
  }

  .hero-poster {
    max-width: 760px;
  }

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

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

  .promise-grid li:nth-child(2) {
    border-right: 0;
  }

  .promise-grid li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-light);
  }
}

@media (max-width: 820px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

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

  .stat-strip > div {
    border-bottom: 1px solid var(--line-light);
  }

  .stat-strip > div:nth-child(even) {
    border-right: 0;
  }

  .stat-strip > div:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .sanctuary-grid,
  .facts-grid {
    grid-template-columns: 1fr;
  }

  .sanctuary-mark {
    min-height: 330px;
  }

  .facts-grid {
    gap: 28px;
  }

  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .nav-cta {
    padding: 8px 12px;
  }

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

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

  .hero-poster {
    padding: 8px;
    border-radius: 21px 12px 21px 12px;
  }

  .hero-poster figcaption {
    font-size: 0.62rem;
    letter-spacing: 0.07em;
  }

  .world-grid {
    gap: 18px;
    grid-template-columns: 1fr;
  }

  .world-card {
    border-radius: 18px 9px 18px 9px;
  }

  .world-copy {
    padding: 0 18px 24px;
  }

  .world-number {
    right: 8px;
    bottom: 8px;
    padding: 4px 6px;
    font-size: 0.56rem;
  }

  .world-copy h3 {
    font-size: clamp(1.06rem, 5vw, 1.35rem);
  }

  .world-copy > p:not(.world-verb) {
    font-size: 0.9rem;
  }

  .world-copy > span {
    font-size: 0.65rem;
  }

  .sanctuary-mark {
    min-height: 280px;
  }

  .promise-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid article:last-child {
    grid-column: auto;
  }

  .promise-grid li {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .promise-grid li:nth-child(3) {
    border-bottom: 1px solid var(--line-light);
  }

  .promise-grid li:last-child {
    border-bottom: 0;
  }

  .promise-grid strong {
    margin-top: 18px;
  }

  .facts-list > div {
    gap: 6px;
    grid-template-columns: 1fr;
  }
}

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

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

@media print {
  .site-header,
  .hero-actions,
  .final-cta,
  footer {
    display: none;
  }

  body,
  .worlds-section,
  .promise-section,
  .faq-section {
    color: #111;
    background: #fff;
  }
}
