:root {
  color-scheme: dark;
  --bg: #07121d;
  --bg-raise: #102330;
  --ink: #f3f7f8;
  --muted: #c5d7e2;
  --line: #7daab458;
  --accent: #69dec1;
  --accent-ink: #06242a;
  --sand: #ffe4a0;
  --max: 1040px;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background:
    radial-gradient(1200px 500px at 80% -10%, #16485a 0%, transparent 55%),
    var(--bg);
  color: var(--ink);
  font: 17px/1.55 system-ui, sans-serif;
}

a { color: var(--accent); }

a:hover { text-decoration: none; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: white;
  color: black;
  padding: 8px 12px;
  z-index: 5;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 8px;
}

.brand {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav, .foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.nav a, .foot nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover, .foot nav a:hover { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: 28px;
  align-items: center;
  padding: 28px 0 10px;
}

h1, h2, h3 { line-height: 1.2; }

h1 { font-size: clamp(36px, 6vw, 58px); margin: 0 0 12px; }

h2 { font-size: 28px; margin: 0 0 10px; }

.lede { font-size: 20px; color: var(--muted); margin: 0 0 18px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 18px; }

.button, button.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 800;
  border-radius: 12px;
  padding: 14px 22px;
  min-height: 48px;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.facts li {
  background: #071722cc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}

.facts span {
  display: block;
  color: var(--sand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.art {
  height: 280px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(#9ec9d0, #6f8f86 58%, #3e5348);
  position: relative;
  overflow: hidden;
}

.art .road {
  position: absolute;
  left: 0;
  right: 0;
  top: 168px;
  height: 28px;
  background: #4d5a56;
}

.tank {
  position: absolute;
  left: 48px;
  top: 132px;
  width: 150px;
  height: 70px;
}

.track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18px;
  border-radius: 6px;
  background: #263739;
}

.hull {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 14px;
  height: 32px;
  border-radius: 6px;
  background: #407d87;
}

.turret {
  position: absolute;
  left: 48px;
  bottom: 40px;
  width: 54px;
  height: 24px;
  border-radius: 8px;
  background: #69dec1;
}

.barrel {
  position: absolute;
  left: 96px;
  bottom: 46px;
  width: 70px;
  height: 8px;
  border-radius: 4px;
  background: #d7fff6;
}

.zone {
  position: absolute;
  right: 36px;
  top: 78px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid #e9b957;
  color: #fff4d2;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: #0003;
}

section { padding: 22px 0; }

.panel {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

table { width: 100%; border-collapse: collapse; }

th, td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th { color: var(--sand); font-size: 14px; }

.foot {
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 15px;
}

.foot p { margin: 0 0 10px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 800px) {
  .hero, .split, .facts { grid-template-columns: 1fr; }
  .art { height: 220px; }
}
