:root {
  color-scheme: light dark;
  --ink: #141014;
  --ink-soft: #211822;
  --cream: #f7eedc;
  --paper: #fffaf1;
  --cider: #f4c74f;
  --red: #ef4650;
  --teal: #20b8bd;
  --gold: #f6c935;
  --plum: #3a202e;
  --muted-dark: #5f5660;
  --muted-light: #d8d0c2;
  --line-dark: rgba(20, 16, 20, 0.16);
  --line-light: rgba(255, 250, 241, 0.18);
  --shadow: rgba(20, 16, 20, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  background: var(--ink);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem max(1rem, calc((100vw - 1180px) / 2));
  color: var(--paper);
  background: rgba(20, 16, 20, 0.9);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--paper);
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 10px 22px var(--shadow);
}

.site-nav,
.actions,
.storefront-badges,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

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

.site-nav a,
.button,
.storefront-badges span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 0;
}

.site-nav a {
  color: var(--paper);
  background: rgba(255, 250, 241, 0.06);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-color: transparent;
  background: var(--gold);
}

.button.primary {
  color: var(--ink);
  border-color: transparent;
  background: var(--gold);
}

.button.secondary {
  color: var(--paper);
  background: rgba(255, 250, 241, 0.1);
}

.button.dark-button {
  width: fit-content;
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.hero-home {
  background-image: url("assets/hero-gameplay.jpg");
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 16, 20, 0.96) 0%, rgba(20, 16, 20, 0.78) 38%, rgba(20, 16, 20, 0.18) 100%),
    linear-gradient(0deg, rgba(20, 16, 20, 0.88) 0%, rgba(20, 16, 20, 0) 42%);
}

.hero-content,
.content-wrap {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 6rem 0 6.5rem;
}

.page-hero {
  color: var(--paper);
  background: var(--ink);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 3rem;
  align-items: center;
  padding: 5rem 0;
}

.page-hero img {
  display: block;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.policy-intro {
  padding: 5rem 0 4.5rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #006b70;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: 5.7rem;
}

h2 {
  font-size: 3.3rem;
}

h3 {
  font-size: 1.32rem;
}

.hero-copy,
.section-copy {
  max-width: 720px;
  margin: 1.15rem 0 0;
  color: var(--muted-light);
  font-size: 1.24rem;
}

.hero-copy.narrow {
  max-width: 620px;
}

.section-copy {
  color: var(--muted-dark);
}

.actions,
.storefront-badges {
  margin-top: 1.35rem;
}

.storefront-badges span {
  min-height: 36px;
  color: var(--paper);
  border-color: rgba(255, 250, 241, 0.25);
  background: rgba(255, 250, 241, 0.1);
}

.section-band {
  padding: 5rem 0;
}

.section-band.cream {
  color: var(--ink);
  background: var(--cream);
}

.section-band.paper {
  color: var(--ink);
  background: var(--paper);
}

.section-band.ink {
  color: var(--paper);
  background: linear-gradient(180deg, #141014 0%, #201521 100%);
}

.section-band.cider {
  color: var(--ink);
  background: var(--cider);
}

.intro-grid,
.quote-band,
.help-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: 3rem;
  align-items: start;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 1.6rem;
}

.feature-grid,
.support-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.support-card,
.trust-grid article {
  min-height: 214px;
  border-radius: 8px;
  padding: 1.35rem;
  border: 1px solid var(--line-light);
  background: rgba(255, 250, 241, 0.06);
}

.feature-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card p,
.help-grid li {
  color: var(--muted-light);
}

.feature-card.red {
  border-top: 6px solid var(--red);
}

.feature-card.gold {
  border-top: 6px solid var(--gold);
}

.feature-card.teal {
  border-top: 6px solid var(--teal);
}

.device-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(460px, 1fr);
  gap: 3rem;
  align-items: center;
}

.device-showcase {
  position: relative;
  min-height: 680px;
}

.phone-shot,
.tablet-shot {
  position: absolute;
  display: block;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  box-shadow: 0 28px 70px var(--shadow);
}

.phone-shot {
  z-index: 2;
  width: 34%;
  left: 0;
  bottom: 0;
}

.tablet-shot {
  width: 76%;
  right: 0;
  top: 0;
}

.support-card,
.trust-grid article {
  color: var(--ink);
  border-color: var(--line-dark);
  background: var(--paper);
}

.support-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.support-card p,
.trust-grid p,
.policy-section p,
.two-column-copy p,
.check-list {
  color: var(--muted-dark);
}

.support-card .button {
  margin-top: auto;
}

.check-list {
  margin: 1.3rem 0 0;
  padding-left: 1.1rem;
}

.check-list.light {
  color: var(--muted-light);
  margin-top: 0;
}

.check-list li + li {
  margin-top: 0.55rem;
}

.two-column-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
}

.policy-stack {
  display: grid;
  gap: 1rem;
}

.policy-section {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 1.45rem;
  background: #ffffff;
}

.site-footer {
  color: var(--muted-light);
  background: var(--ink);
  border-top: 1px solid var(--line-light);
}

.footer-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.site-footer nav {
  margin-top: 0.55rem;
}

.site-footer a {
  color: var(--paper);
}

@media (max-width: 980px) {
  h1 {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  .hero {
    min-height: 700px;
  }

  .page-hero-grid,
  .intro-grid,
  .quote-band,
  .help-grid,
  .device-grid,
  .two-column-copy,
  .feature-grid,
  .support-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .device-showcase {
    min-height: 620px;
  }
}

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

  .site-nav,
  .actions {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav a,
  .actions .button {
    flex: 1 1 150px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(20, 16, 20, 0.94) 0%, rgba(20, 16, 20, 0.52) 100%),
      linear-gradient(90deg, rgba(20, 16, 20, 0.82) 0%, rgba(20, 16, 20, 0.22) 100%);
  }

  .hero-content {
    padding: 4rem 0 4.5rem;
  }

  .page-hero-grid,
  .policy-intro {
    padding: 3.5rem 0;
  }

  .section-band {
    padding: 3.5rem 0;
  }

  h1 {
    font-size: 3.45rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-copy,
  .section-copy {
    font-size: 1.08rem;
  }

  .device-showcase {
    min-height: 520px;
  }

  .phone-shot {
    width: 38%;
  }

  .tablet-shot {
    width: 78%;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 2.9rem;
  }

  h2 {
    font-size: 2rem;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .storefront-badges span {
    flex: 1 1 100%;
  }

  .device-showcase {
    min-height: 420px;
  }
}
