:root {
  color-scheme: dark;
  --bg: #07100e;
  --panel: #101917;
  --text: #f5f8f2;
  --muted: #aebcb4;
  --green: #28c17b;
  --blue: #4d8dff;
  --gold: #f1ad42;
  --line: rgba(255, 255, 255, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #07100e 0%, #111917 48%, #10251c 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 64px;
}

.hero {
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 44px;
  align-items: center;
}

.hero-screens {
  position: relative;
  min-height: 620px;
}

.hero-screens img {
  position: absolute;
  width: min(270px, 46vw);
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46);
  border: 1px solid var(--line);
}

.hero-screens img:nth-child(1) {
  left: 0;
  top: 34px;
  z-index: 3;
}

.hero-screens img:nth-child(2) {
  left: 150px;
  top: 0;
  z-index: 2;
  opacity: 0.92;
}

.hero-screens img:nth-child(3) {
  left: 86px;
  top: 216px;
  z-index: 4;
  opacity: 0.96;
}

.hero-copy {
  padding: 36px 0;
}

.mark {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #ec971c;
  color: #111;
  font-weight: 950;
  letter-spacing: 0;
}

.eyebrow {
  margin: 22px 0 8px;
  color: var(--green);
  text-transform: uppercase;
  font-size: 0.84rem;
  font-weight: 850;
}

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 5vw, 5rem);
  line-height: 0.9;
  max-width: 100%;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 4vw, 3.2rem);
  line-height: 1;
}

.lede {
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.55;
  max-width: 620px;
}

.actions,
.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button,
.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 16px;
  border: 1px solid var(--line);
  font-weight: 850;
}

.button {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.07);
}

.button.primary {
  background: var(--green);
  color: #07100e;
}

.store-badge {
  min-width: 190px;
  min-height: 62px;
  padding: 10px 16px;
  background: #050706;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  flex-direction: column;
  align-items: flex-start;
}

.store-badge span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.74);
}

.store-badge strong {
  font-size: 1.18rem;
}

.store-badge.play {
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 10px;
  align-content: center;
}

.store-badge.play svg {
  grid-row: 1 / span 2;
  width: 32px;
  height: 32px;
  fill: var(--green);
  align-self: center;
}

.grid,
.screenshots,
.trade-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.grid article,
.collector-story,
.trade-story,
.terms-preview,
.document section,
.trade-steps article,
.screenshots figure {
  background: rgba(16, 25, 23, 0.78);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.grid article,
.trade-steps article {
  padding: 24px;
}

.grid span,
.trade-steps span {
  color: var(--gold);
  font-weight: 900;
}

.grid p,
.collector-story p,
.trade-story p,
.trade-steps p,
.terms-preview dd,
.checks,
.document p,
.document li {
  color: var(--muted);
  line-height: 1.55;
}

.collector-story {
  margin: 18px 0;
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 28px;
}

.checks {
  margin: 0;
  padding-left: 20px;
}

.checks li + li {
  margin-top: 10px;
}

.trade-story {
  margin: 18px 0;
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.trade-copy .actions {
  margin-top: 18px;
}

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

.trade-steps h3 {
  margin: 8px 0 8px;
  font-size: 1.05rem;
}

.trade-steps p {
  margin: 0;
}

.terms-preview {
  margin: 18px 0;
  padding: 30px;
}

.terms-preview dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 0;
}

.terms-preview div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.terms-preview dt {
  font-weight: 900;
  color: var(--text);
  margin-bottom: 6px;
}

.terms-preview dd {
  margin: 0;
}

.screenshots {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.screenshots figure {
  margin: 0;
  padding: 12px;
}

.screenshots img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--line);
}

figcaption {
  padding: 10px 4px 4px;
  color: var(--muted);
  font-weight: 750;
}

.document {
  max-width: 860px;
}

.document section {
  padding: 34px;
}

.document h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  margin-bottom: 18px;
}

.document h2 {
  margin-top: 28px;
  font-size: 1.55rem;
}

.document h3 {
  margin: 20px 0 8px;
}

.topline {
  margin-bottom: 18px;
}

.topline a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 850;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-screens {
    min-height: 440px;
    order: 2;
  }

  .hero-screens img {
    width: min(230px, 56vw);
  }

  .hero-screens img:nth-child(1) {
    left: 4vw;
  }

  .hero-screens img:nth-child(2) {
    left: 32vw;
  }

  .hero-screens img:nth-child(3) {
    left: 18vw;
    top: 150px;
  }

  .grid,
  .collector-story,
  .trade-story,
  .trade-steps,
  .terms-preview dl,
  .screenshots {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .page {
    width: min(100% - 22px, 1120px);
    padding-top: 24px;
  }

  .hero-copy {
    padding-top: 12px;
  }

  h1 {
    font-size: clamp(2.65rem, 11.5vw, 3.1rem);
  }

  .actions,
  .store-actions {
    flex-direction: column;
  }

  .button,
  .store-badge {
    width: 100%;
  }
}
