/* Inner pages of the site (store, a game, prices, set-up guide): layout only.
   Colours, type and components come from /design/; bands, plans and the footer from home.css. */
.inner {
  position: relative;
  z-index: 1; /* above the wash of colour the page background paints at the top */
}
.inner-head {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(20px, 5vh, 56px) var(--gutter) clamp(18px, 3vh, 32px);
}
.inner-head.center {
  text-align: center;
}
.inner-head h1 {
  margin-top: 14px;
  font-size: var(--size-hero);
  font-weight: var(--weight-heading);
  line-height: 1.05;
  letter-spacing: var(--track-display);
}
.inner-head .sub {
  max-width: 60ch;
  margin-top: 12px;
}
.inner-head.center .sub {
  margin-inline: auto;
}

/* ----- the store: a shelf of game cards ----- */
.store {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.game-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.game-card:not(.game-soon):hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift);
}
.game-shot {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--violet-tint);
}
.game-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}
.game-shot-empty {
  display: grid;
  place-items: center;
  background: var(--surface);
}
.game-shot-empty span {
  color: var(--line-strong);
  font-size: 64px;
  font-weight: var(--weight-heading);
}
.game-body {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px 22px 22px;
}
.game-kind {
  color: var(--violet-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.game-body h2 {
  font-size: 22px;
  font-weight: var(--weight-heading);
  letter-spacing: var(--track-heading);
}
.game-body h2 a {
  color: inherit;
  text-decoration: none;
}
.game-body > p:not([class]) {
  color: var(--muted);
  font-size: 15px;
}
.game-price {
  margin-top: 4px;
  color: var(--muted);
}
.game-price b {
  color: var(--ink);
  font-size: 24px;
  font-weight: var(--weight-heading);
  letter-spacing: var(--track-heading);
}
.game-body .cta {
  margin-top: 6px;
}
.game-soon {
  box-shadow: inset 0 0 0 1.5px var(--line);
  background: transparent;
}
.game-soon .soon {
  margin-top: 4px;
}

/* ----- every game under one membership ----- */
.bundle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  max-width: calc(var(--wide) - 2 * var(--gutter));
  margin: clamp(28px, 5vh, 56px) auto;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 28px;
  background: var(--grad-brand);
  color: var(--paper);
}
.bundle > div:first-child {
  flex: 1 1 340px;
}
.bundle-flag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 700;
}
.bundle h2 {
  margin: 12px 0 6px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: var(--weight-heading);
  line-height: 1.1;
  letter-spacing: var(--track-heading);
}
.bundle p {
  opacity: 0.92;
}
.bundle-buy {
  display: grid;
  gap: 12px;
  justify-items: start;
}
.bundle-price b {
  font-size: 34px;
  font-weight: var(--weight-heading);
  letter-spacing: var(--track-heading);
}

/* ----- one game ----- */
.crumbs {
  display: flex;
  gap: 10px;
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(12px, 3vh, 28px) var(--gutter) 0;
  color: var(--muted);
  font-size: 15px;
}
.crumbs a {
  color: var(--violet-deep);
  font-weight: 600;
}
.crumbs span::before {
  content: '/';
  margin-right: 10px;
  color: var(--line-strong);
}
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(16px, 3vh, 32px) var(--gutter) clamp(32px, 6vh, 64px);
}
.product-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.product-shots img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow-float);
}
.product-shots .product-main {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
  object-position: 50% 62%;
}
.product-info h1 {
  margin: 8px 0 12px;
  font-size: var(--size-hero);
  font-weight: var(--weight-heading);
  line-height: 1.05;
  letter-spacing: var(--track-display);
}
.product-lead {
  color: var(--ink-soft);
  font-size: 18px;
}
.buy-box {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--violet), var(--shadow-lift);
}
.buy-box .btn {
  justify-content: center;
  text-align: center;
}
.buy-box .facts {
  margin: 4px 0 0;
}
.buy-alt {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
.buy-alt b {
  color: var(--ink);
}
.buy-alt a {
  color: var(--violet-deep);
  font-weight: 700;
}
.why dd a {
  color: var(--violet-deep);
  font-weight: 600;
}

/* ----- prices ----- */
.price-block {
  padding-top: 0;
}

/* ----- the set-up guide ----- */
.guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.guide article {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.guide h3 {
  font-size: 22px;
  font-weight: var(--weight-heading);
  letter-spacing: var(--track-heading);
}
.guide-for {
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
}
.guide ol {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  counter-reset: guide;
}
.guide li {
  position: relative;
  padding-left: 40px;
  counter-increment: guide;
}
.guide li::before {
  content: counter(guide);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--violet-tint);
  color: var(--violet-deep);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 860px) {
  .product {
    grid-template-columns: minmax(0, 1fr);
  }
  .guide {
    grid-template-columns: minmax(0, 1fr);
  }
  .bundle {
    margin-inline: var(--gutter);
  }
  .bundle-buy {
    width: 100%;
  }
  .bundle-buy .btn {
    width: 100%;
    justify-content: center;
  }
}
