:root {
  color-scheme: dark;
  --bg: #101511;
  --panel: #181f19;
  --raised: #1d2720;
  --line: #334037;
  --ink: #f3f6ef;
  --muted: #aebbb0;
  --accent: #d2fb76;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.045em; }
h1 { font-size: clamp(3rem, 7.6vw, 6.8rem); font-weight: 850; }
h1 em { color: var(--accent); font-style: normal; }
h2 { font-size: clamp(1.6rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p, li { color: var(--muted); }
button, input { font: inherit; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; padding: .5rem 1rem; background: var(--bg); z-index: 1; transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 76px; }
.logo { color: var(--ink); text-decoration: none; font-size: 2rem; line-height: 1; font-weight: 900; letter-spacing: -.08em; }
.logo span, .edition h3 span { color: var(--accent); }
nav { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 2rem); }
nav a { font-size: .9rem; font-weight: 650; text-decoration: none; }
.nav-action { color: var(--accent); border: 1px solid #586c40; padding: .5rem .85rem; border-radius: .45rem; white-space: nowrap; }
.nav-action:hover { background: var(--raised); }
.hero { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(3rem, 7vw, 6rem); }
.eyebrow { margin-bottom: .95rem; color: var(--accent); font: 600 .72rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.lede { margin-block: 1.25rem 1.65rem; max-width: 36rem; font-size: clamp(1rem, 2vw, 1.19rem); }
.actions { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .75rem; padding: .7rem 1.05rem; min-height: 46px; background: var(--accent); border: 1px solid var(--accent); border-radius: .45rem; color: #172007; font-weight: 750; font-size: .9rem; text-decoration: none; cursor: pointer; }
.button:hover { background: #e4ffa8; color: #172007; }
.button.secondary { background: transparent; color: var(--ink); border-color: #68756c; }
.button.secondary:hover { background: var(--raised); color: var(--accent); }
.text-link { color: var(--ink); font-size: .9rem; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.tactics { border: 1px solid #405446; border-radius: 1.1rem; padding: 1rem; background: #1d2a20; box-shadow: 0 24px 48px #0005; }
.tactics-bar { display: flex; justify-content: space-between; padding: .2rem .15rem .85rem; color: #b9cbbd; font: 650 .73rem/1.3 var(--mono); letter-spacing: .13em; }
.tactics-bar span:last-child { color: var(--accent); }
.pitch { position: relative; isolation: isolate; min-height: 245px; aspect-ratio: 1.21; overflow: hidden; border: 1px solid #679275; border-radius: .35rem; background: repeating-linear-gradient(90deg, #2a4d35 0 12.5%, #2e5439 12.5% 25%); }
.halfway, .circle, .box { position: absolute; border: 1px solid #799e7e; }
.halfway { top: 50%; width: 100%; border-width: 1px 0 0; }
.circle { width: 22%; aspect-ratio: 1; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.box { width: 48%; height: 19%; left: 26%; }
.box-top { top: -1px; }
.box-bottom { bottom: -1px; }
.formation { position: absolute; inset: 7% 7% 4%; display: grid; grid-template-rows: repeat(4, 1fr); }
.formation > div { display: flex; justify-content: space-evenly; align-items: center; }
.formation i { display: grid; place-items: center; border-radius: 50%; width: clamp(29px, 4vw, 43px); aspect-ratio: 1; font: 750 .65rem/1 var(--mono); background: #162a1c; color: #eff8ef; border: 1px solid #91b89c; box-shadow: 0 3px 7px #152e1e70; }
.formation > div:first-child i, .formation > div:last-child i { background: var(--accent); color: #172007; border-color: var(--accent); }
.section { margin-bottom: clamp(3rem, 7vw, 6rem); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1.4rem; }
.version-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.edition, .panel, .screen { border: 1px solid var(--line); background: var(--panel); border-radius: .8rem; }
.edition { padding: clamp(.9rem, 2.15vw, 1.5rem); }
.edition-game { color: var(--muted); font: 600 .72rem/1.3 var(--mono); text-transform: uppercase; }
.edition h3 { margin-block: .55rem 1.35rem; font-size: clamp(2rem, 4.7vw, 3.7rem); }
.edition-links { display: grid; gap: .45rem; border-top: 1px solid var(--line); padding-top: .8rem; }
.edition-links a { display: flex; justify-content: space-between; gap: .3rem; font-size: .87rem; font-weight: 650; text-decoration: none; }
.edition-links a:first-child { color: var(--accent); }
.edition-links a:hover { text-decoration: underline; text-underline-offset: .2em; }
.feature-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.feature-strip p, .panel p { margin-top: .65rem; }
.page-intro { padding-block: clamp(2.4rem, 6vw, 5.5rem) clamp(1.6rem, 4vw, 3rem); }
.page-intro h1 { font-size: clamp(2.65rem, 6.6vw, 5.5rem); }
.page-intro > .text-link { display: inline-block; margin-bottom: .65rem; color: var(--muted); }
.two-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.panel { padding: clamp(1.1rem, 3vw, 2rem); }
.panel h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.panel ul, .panel ol { padding-left: 1.3rem; }
.panel li + li { margin-top: .36rem; }
.panel .button { margin-top: .45rem; }
.panel .checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.25rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.premium { border-color: #687f46; background: var(--raised); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; font-size: 1.7rem; font-weight: 800; color: var(--accent); }
.price span { color: var(--muted); font-size: .82rem; font-weight: 500; }
.checkout { display: grid; gap: .7rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.checkout label { font-size: .88rem; font-weight: 650; }
.checkout input[type=email] { min-width: 0; border: 1px solid #65776a; border-radius: .4rem; background: var(--bg); color: var(--ink); padding: .6rem .65rem; }
.terms-check { display: flex; gap: .55rem; align-items: center; font-size: .88rem; }
.terms-check input { width: 1.05rem; height: 1.05rem; margin: 0; accent-color: var(--accent); }
.terms-check a { color: var(--accent); }
.checkout .button { justify-self: start; }
.checkout .error { color: #ffb5a7; margin-top: 0; }
#terms { margin-top: 1rem; }
.license { display: inline-block; margin-block: 1rem; padding: .8rem 1rem; border: 1px solid #687f46; border-radius: .45rem; background: var(--panel); color: var(--accent); overflow-wrap: anywhere; font-size: clamp(1rem, 2.5vw, 1.3rem); }
.page-intro form .button { margin-top: .65rem; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.screen { display: block; overflow: hidden; text-decoration: none; }
.screen:hover { border-color: var(--accent); }
.screen img { width: 100%; aspect-ratio: 16/10; object-fit: contain; background: #0c120e; }
.screen > span { display: flex; justify-content: space-between; gap: .5rem; padding: .8rem; font-size: .92rem; font-weight: 650; }
.site-footer { border-top: 1px solid var(--line); margin-top: 2rem; padding-block: 2rem; }
.footer-inner { align-items: flex-start; }
.footer-inner nav { flex-wrap: wrap; }
.site-footer p { margin-top: .5rem; font-size: .88rem; }
@media (max-width: 850px) {
  .version-grid, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 32px); }
  .hero, .two-columns, .feature-strip { grid-template-columns: 1fr; }
  .hero { padding-top: 2.6rem; }
  .header-inner { min-height: 60px; }
  .footer-inner { flex-direction: column; }
  .tactics { max-width: 440px; width: 100%; }
}
@media (max-width: 380px) {
  .gallery { grid-template-columns: 1fr; }
  .edition-game { overflow-wrap: anywhere; }
}
