﻿:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f6f3eb;
  background: #0b1120;
  line-height: 1.6;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; overflow-wrap: anywhere; }
.hero {
  display: grid;
  align-items: center;
  gap: 56px;
  width: min(100% - 48px, 1120px);
  margin-inline: auto;
  padding-block: clamp(56px, 10vw, 128px) 72px;
}
.hero-copy { min-width: 0; }
h1 {
  margin: 0;
  font-size: clamp(2.125rem, 5.3vw, 4.25rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.045em;
}
h1 > span { display: block; }
.heading-close {
  margin-top: 24px;
  color: #e8c36a;
  font-size: 0.55em;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.description {
  max-width: 42ch;
  margin: 24px 0 32px;
  color: #b8c4d6;
  font-size: 1.0625rem;
}
.marketplaces {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 460px;
}
.marketplace {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  min-height: 48px;
  padding: 20px;
  border: 2px solid #e2e6ec;
  border-radius: 14px;
  background: #fff;
  color: #0b1120;
  text-decoration: none;
  box-shadow: 0 8px 24px rgb(0 0 0 / 12%);
  transition: transform 160ms ease, border-color 160ms ease;
}
.logo-area { display: flex; align-items: center; min-height: 52px; }
.logo { display: block; max-width: 100%; height: auto; object-fit: contain; }
.logo--ebay { width: 125px; }
.logo--vinted { width: 116px; }
.marketplace-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 650;
}
.arrow { font-size: 1.25em; line-height: 1; }
.marketplace:hover { transform: translateY(-2px); border-color: #7889a3; }
.marketplace:hover .marketplace-caption { text-decoration: underline; text-underline-offset: 4px; }
.marketplace:active { transform: translateY(0); border-color: #0b1120; }
a:focus-visible { outline: 3px solid #e8c36a; outline-offset: 5px; }
.marketplace:focus-visible {
  /* Navy contrasts with the white panel; outer gold contrasts with the page. */
  box-shadow: inset 0 0 0 3px #0b1120;
}
.hero-art {
  position: relative;
  isolation: isolate;
  width: min(100%, 320px);
  justify-self: center;
}
.hero-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse, rgb(44 100 210 / 27%), transparent 68%);
  pointer-events: none;
}
.wizard { display: block; width: 100%; height: auto; }
.skip-link {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 24px;
  max-width: calc(100% - 48px);
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  color: #0b1120;
  font-weight: 700;
  transform: translateY(calc(-100% - 16px));
}
.skip-link:focus { transform: translateY(0); }
main:focus { outline: none; }
@media (max-width: 359px) {
  /* Keep full game-name words on a line even with 200% text sizing. */
  h1 { font-size: calc(1.25rem + 4vw); }
  .marketplaces { grid-template-columns: minmax(0, 1fr); }
  .marketplace { gap: 8px; }
}
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: 40px; }
  .hero-art { width: min(100%, 440px); }
}
@media (prefers-reduced-motion: reduce) {
  .marketplace { transition: none; }
  .marketplace:hover, .marketplace:active { transform: none; }
}
@media (forced-colors: active) {
  .marketplace { border-color: LinkText; color: LinkText; }
  /* Keep original wordmarks on their required white canvas. */
  .logo-area { forced-color-adjust: none; background: #fff; }
  .hero-art::before { display: none; }
  a:focus-visible { outline-color: Highlight; }
}
