:root {
  --ink: #10132c;
  --ink-2: #242c4e;
  --muted: #697392;
  --paper: #fff7e6;
  --surface: #ffffff;
  --surface-2: #f5fbff;
  --line: #e5ddcd;
  --sun: #ffc247;
  --coral: #ff5f73;
  --aqua: #16b5ae;
  --mint: #5fe0a8;
  --violet: #7461e8;
  --blue: #2088ff;
  --shadow: 0 18px 44px rgb(16 19 44 / 18%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgb(16 19 44 / 4%) 1px, transparent 1px),
    linear-gradient(0deg, rgb(16 19 44 / 4%) 1px, transparent 1px),
    var(--paper);
  background-size: 30px 30px;
}

body.is-staging {
  padding-top: 38px;
}

.staging-banner {
  display: none;
}

body.is-staging .staging-banner {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  color: white;
  background: linear-gradient(90deg, var(--coral), var(--violet), var(--aqua));
  border-bottom: 1px solid rgb(255 255 255 / 24%);
  box-shadow: 0 8px 24px rgb(16 19 44 / 22%);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 5vw, 72px);
  color: white;
  background: rgb(16 19 44 / 94%);
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  backdrop-filter: blur(18px);
}

body.is-staging .site-header {
  top: 38px;
}

.brand,
.site-nav,
.hero-actions,
.store-actions,
.site-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(135deg, var(--sun), var(--mint));
  box-shadow: inset 0 -4px 0 rgb(16 19 44 / 20%), 0 6px 0 rgb(255 95 115 / 52%);
}

.brand-name {
  font-size: 1.32rem;
}

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

.site-nav {
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
  font-weight: 800;
  color: rgb(255 255 255 / 84%);
}

.site-nav a {
  padding: 9px 11px;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: white;
  background: rgb(255 255 255 / 12%);
}

.hero {
  min-height: 88svh;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  overflow: hidden;
  color: white;
  padding: 126px clamp(20px, 7vw, 96px) 76px;
}

.hero-bg,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 0;
  transform: scale(1.04);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgb(16 19 44 / 96%) 0%, rgb(16 19 44 / 86%) 45%, rgb(16 19 44 / 62%) 100%),
    linear-gradient(0deg, rgb(16 19 44 / 84%) 0%, rgb(16 19 44 / 20%) 52%, rgb(16 19 44 / 52%) 100%);
}

.hero-content,
.hero-device {
  position: relative;
  z-index: 1;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1,
.section h2,
.legal-hero h1 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.96;
}

.hero h1 {
  max-width: 880px;
  font-size: clamp(4.2rem, 12vw, 10.6rem);
}

.hero-copy {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1.12rem, 2.1vw, 1.42rem);
  line-height: 1.5;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.primary-link,
.secondary-link,
.store-badge {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.primary-link {
  color: var(--ink);
  background: var(--sun);
  border: 2px solid rgb(255 255 255 / 30%);
  box-shadow: 0 10px 0 rgb(255 95 115 / 56%), 0 20px 34px rgb(0 0 0 / 22%);
}

.secondary-link {
  color: white;
  background: rgb(255 255 255 / 12%);
  border: 1px solid rgb(255 255 255 / 28%);
}

.availability-note {
  max-width: 590px;
  margin: 22px 0 0;
  color: rgb(255 255 255 / 72%);
  line-height: 1.55;
}

.hero-device {
  justify-self: end;
  width: min(390px, 100%);
}

.phone-shell {
  min-height: 560px;
  padding: 18px;
  border: 10px solid #090b1f;
  border-radius: 28px;
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, rgb(16 19 44 / 5%) 27px 28px),
    linear-gradient(180deg, #f9fffd, #edf9ff);
  box-shadow: 0 34px 80px rgb(0 0 0 / 38%);
  transform: rotate(2deg);
}

.phone-top,
.mission-banner,
.game-card,
.proof-strip article,
.feature-grid article,
.safety-list article,
.store-badge,
.contact-section,
.legal-stack article {
  border-radius: 8px;
}

.phone-top {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  color: white;
  background: var(--ink);
}

.phone-top strong {
  color: var(--sun);
}

.mission-banner {
  margin-top: 14px;
  padding: 14px;
  color: white;
  background: linear-gradient(135deg, #26315c, #166a80);
  border: 1px solid rgb(255 255 255 / 16%);
}

.mission-banner small,
.mission-banner span {
  display: block;
  color: rgb(255 255 255 / 72%);
}

.mission-banner strong {
  display: block;
  margin: 3px 0;
  font-size: 1.32rem;
}

.card-stack {
  position: relative;
  min-height: 372px;
  margin-top: 24px;
}

.game-card {
  position: absolute;
  width: 210px;
  min-height: 260px;
  padding: 18px;
  display: grid;
  align-content: end;
  color: var(--ink);
  border: 3px solid rgb(16 19 44 / 12%);
  box-shadow: 0 16px 30px rgb(16 19 44 / 18%);
}

.game-card span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 9px;
  border-radius: 8px;
  color: white;
  background: var(--violet);
  font-size: 0.8rem;
  font-weight: 900;
}

.game-card strong,
.game-card small {
  display: block;
}

.game-card strong {
  font-size: 1.2rem;
}

.game-card small {
  margin-top: 8px;
  color: #8c5c00;
  font-weight: 900;
}

.card-one {
  left: 18px;
  top: 4px;
  z-index: 3;
  background: linear-gradient(155deg, #fff4b8, #ff9aaa);
  transform: rotate(-8deg);
}

.card-two {
  right: 10px;
  top: 58px;
  z-index: 2;
  background: linear-gradient(155deg, #d7fff4, #9bc7ff);
  transform: rotate(7deg);
}

.card-three {
  left: 78px;
  top: 128px;
  z-index: 4;
  background: linear-gradient(155deg, #ffffff, #cfc8ff);
  transform: rotate(-1deg);
}

.proof-strip {
  width: min(1120px, calc(100% - 32px));
  margin: -38px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.proof-strip article,
.feature-grid article,
.safety-list article,
.store-badge,
.contact-section,
.legal-stack article {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.proof-strip article {
  min-height: 116px;
  padding: 22px;
}

.proof-strip strong,
.proof-strip span,
.feature-grid span,
.safety-list strong,
.safety-list span,
.store-badge span,
.store-badge strong {
  display: block;
}

.proof-strip strong {
  font-size: 1.18rem;
}

.proof-strip span,
.feature-grid p,
.safety-section p,
.section p,
.legal-hero p,
.legal-stack p {
  color: var(--muted);
  line-height: 1.62;
}

.section,
.legal-main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 94px 0 0;
}

.section-heading {
  max-width: 790px;
}

.section h2,
.legal-hero h1 {
  font-size: clamp(2.2rem, 5.8vw, 5rem);
}

.feature-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article {
  min-height: 250px;
  padding: 22px;
}

.feature-grid span {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--ink);
  background: #e6fff6;
  font-weight: 900;
}

.feature-grid h3,
.safety-list strong,
.legal-stack h2 {
  margin: 16px 0 8px;
  font-size: 1.34rem;
}

.phone-gallery {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.phone-gallery figure {
  margin: 0;
}

.phone-gallery img {
  width: 100%;
  aspect-ratio: 1290 / 2796;
  object-fit: cover;
  object-position: top;
  border: 10px solid #10132c;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.phone-gallery figcaption {
  margin-top: 10px;
  color: var(--ink-2);
  font-weight: 850;
  text-align: center;
}

.safety-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}

.safety-list {
  display: grid;
  gap: 12px;
}

.safety-list article {
  padding: 20px;
}

.safety-list span {
  margin-top: 5px;
}

.stores-section {
  padding-bottom: 0;
}

.store-actions {
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.store-badge {
  min-width: 210px;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 18px;
  color: var(--ink);
}

.store-badge span {
  color: var(--muted);
  font-size: 0.8rem;
}

.store-badge strong {
  margin-top: 3px;
  font-size: 1.28rem;
}

.store-badge:not(.is-disabled) {
  background: linear-gradient(135deg, #fff1a8, #ffffff);
  border-color: rgb(255 194 71 / 72%);
}

.store-badge.is-disabled {
  opacity: 0.74;
  background: var(--surface-2);
}

.contact-section {
  margin-top: 96px;
  margin-bottom: 96px;
  padding: 34px;
  background: linear-gradient(135deg, #ffffff, #eafcff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-section h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.contact-section .primary-link {
  justify-self: end;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: rgb(255 255 255 / 76%);
  background: var(--ink);
}

.site-footer nav {
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.legal-main {
  padding: 92px 0 96px;
}

.legal-hero {
  max-width: 840px;
}

.legal-hero a,
.legal-stack a {
  color: #007b8b;
  font-weight: 850;
}

.legal-stack {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.legal-stack article {
  padding: 26px;
}

@media (prefers-reduced-motion: no-preference) {
  .card-one {
    animation: cardFloatOne 4.8s ease-in-out infinite;
  }

  .card-two {
    animation: cardFloatTwo 5.3s ease-in-out infinite;
  }

  .card-three {
    animation: cardFloatThree 4.2s ease-in-out infinite;
  }
}

@keyframes cardFloatOne {
  50% {
    transform: translateY(-10px) rotate(-7deg);
  }
}

@keyframes cardFloatTwo {
  50% {
    transform: translateY(9px) rotate(8deg);
  }
}

@keyframes cardFloatThree {
  50% {
    transform: translateY(-7px) rotate(1deg);
  }
}

@media (max-width: 980px) {
  .hero,
  .safety-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-device {
    justify-self: start;
  }

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

  .contact-section .primary-link {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 118px;
  }

  .proof-strip,
  .feature-grid,
  .phone-gallery,
  .legal-stack {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    margin-top: -24px;
  }

  .phone-gallery {
    width: min(330px, 100%);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 10px;
    padding: 12px 16px;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    padding: 8px 9px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 86svh;
    padding: 112px 18px 56px;
  }

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

  .phone-shell {
    min-height: 500px;
    border-width: 8px;
    transform: none;
  }

  .game-card {
    width: 180px;
    min-height: 230px;
  }

  .card-two {
    right: 0;
  }

  .card-three {
    left: 48px;
  }

  .section {
    padding-top: 72px;
  }

  .contact-section {
    padding: 24px;
  }
}
