:root {
  --navy: #161e33;
  --navy-line: #3a4260;
  --cream: #f6f2ef;
  --yellow: #ffd54f;
  --wood: #71482c;
  --ink: #2a2622;
  --mist: #c9cedd;
  --rule: #e2dad2;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; }

h1, h2, h3, p { margin: 0; }

h1, h2, .slab { font-family: "Roboto Slab", serif; font-weight: 700; line-height: 1.2; }

.pixel { font-family: "Pixelify Sans", monospace; font-weight: 700; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 72px 32px; }

.stack { display: flex; flex-direction: column; gap: 40px; }

.row { display: flex; flex-wrap: wrap; gap: 32px; }

.col { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }

.cream { background: var(--cream); }
.white { background: #ffffff; }
.yellow { background: var(--yellow); color: var(--navy); }
.navy { background: var(--navy); color: #ffffff; }

.nav { background: var(--navy); border-bottom: 4px solid var(--yellow); }
.nav .wrap { padding: 12px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.brand { display: flex; align-items: center; gap: 12px; color: #ffffff; text-decoration: none; font-family: "Roboto Slab", serif; font-weight: 700; font-size: 20px; min-height: 44px; }
.brand img { width: 40px; height: 40px; object-fit: cover; image-rendering: pixelated; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-weight: 600; font-size: 15px; }
.links a { color: #ffffff; text-decoration: none; min-height: 44px; display: flex; align-items: center; border-bottom: 3px solid transparent; }
.links a:hover, .links a.here { color: var(--yellow); border-bottom-color: var(--yellow); }

.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.hero-logo { width: 300px; height: auto; image-rendering: pixelated; flex: 0 0 auto; }
.hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.eyebrow { font-size: 20px; letter-spacing: 2px; color: var(--yellow); }
.hero h1 { font-size: clamp(40px, 6vw, 60px); line-height: 1.1; }
.lead { font-size: 22px; line-height: 1.45; max-width: 560px; }
.facts { font-size: 15px; font-weight: 600; color: var(--mist); }
.small { font-size: 14px; color: var(--mist); }

.buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 16px; padding: 14px 28px; border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn:hover { filter: brightness(0.92); }
.btn.solid { background: var(--navy); color: #ffffff; }
.btn.gold { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.btn.ghost { border-color: #ffffff; color: #ffffff; }

h2 { font-size: 36px; color: var(--navy); }
.navy h2 { color: #ffffff; }
h3 { font-size: 22px; color: var(--navy); }
.col h3 { font-family: "Roboto Slab", serif; }
.sub { font-size: 17px; max-width: 760px; }
.head { display: flex; flex-direction: column; gap: 8px; }
.icon { width: 40px; height: 40px; stroke: var(--wood); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.note { padding-top: 28px; border-top: 2px solid var(--rule); max-width: 820px; }
.step { font-size: 56px; line-height: 1; }

.tiles { display: flex; flex-wrap: wrap; gap: 16px; }
.tile { flex: 1 1 300px; min-width: 0; background: #ffffff; padding: 20px 24px; display: flex; align-items: center; gap: 20px; font-weight: 700; color: var(--navy); }
.tile .pixel { font-size: 40px; line-height: 1; color: var(--wood); min-width: 56px; }

.team { display: flex; flex-wrap: wrap; gap: 40px 32px; }
.member { flex: 1 1 300px; min-width: 0; display: flex; gap: 16px; }
.member img { flex: 0 0 64px; width: 64px; height: 64px; image-rendering: pixelated; }
.member h3 { font-family: "Roboto Slab", serif; font-size: 19px; overflow-wrap: anywhere; }
.role { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--wood); margin: 4px 0 8px; }
.member p { font-size: 15px; }

.contact .wrap { padding: 64px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 32px 64px; }
.contact .col { flex: 1 1 340px; }
.contact p { color: var(--mist); }
.contact a { color: var(--yellow); font-weight: 700; min-height: 44px; display: flex; align-items: center; overflow-wrap: anywhere; }

.foot { border-top: 1px solid var(--navy-line); color: var(--mist); font-size: 13px; }
.foot .wrap { padding: 28px 32px 48px; display: flex; flex-direction: column; gap: 6px; }

.banner-wrap { background: var(--navy); border-bottom: 4px solid var(--yellow); }
.banner { display: block; margin: 0 auto; width: auto; max-width: 100%; height: auto; max-height: 440px; image-rendering: pixelated; }
.page-head .wrap { padding: 48px 32px; display: flex; flex-direction: column; gap: 28px; }
.page-head h1 { font-size: clamp(36px, 6vw, 52px); line-height: 1.1; }
.page-head .lead { font-size: 19px; max-width: 720px; }
.stats { display: flex; flex-wrap: wrap; gap: 16px; }
.stat { flex: 1 1 200px; min-width: 0; border: 2px solid var(--navy-line); padding: 16px 20px; }
.stat .pixel { font-size: 36px; line-height: 1.1; color: var(--yellow); }
.stat div + div { font-size: 14px; font-weight: 600; color: var(--mist); }

.strip .wrap { padding: 24px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.strip p { font-weight: 600; flex: 1 1 420px; min-width: 0; }

.groups { columns: 420px 2; column-gap: 24px; }
details { break-inside: avoid; margin: 0 0 12px; background: #ffffff; }
summary { list-style: none; cursor: pointer; min-height: 56px; padding: 12px 20px; display: flex; align-items: center; gap: 16px; font-size: 17px; font-weight: 700; color: var(--navy); }
summary::-webkit-details-marker { display: none; }
summary span:first-child { flex: 1 1 auto; min-width: 0; }
summary .count { font-family: "Pixelify Sans", monospace; font-size: 20px; color: var(--wood); }
summary::after { content: "+"; font-family: "Pixelify Sans", monospace; font-size: 24px; line-height: 1; width: 20px; text-align: center; }
details[open] summary::after { content: "-"; }
summary:hover { background: #fbf8f5; }
details ul { margin: 0; padding: 12px 20px 20px 40px; border-top: 2px solid var(--cream); font-size: 15px; line-height: 1.5; }
li { margin: 0 0 6px; overflow-wrap: anywhere; }

.lists .col h3 { font-family: "Open Sans", system-ui, sans-serif; font-size: 17px; padding-bottom: 8px; border-bottom: 3px solid var(--yellow); }
.lists ul { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.5; }
.lists p { font-size: 15px; line-height: 1.5; }

.cta .wrap { padding: 56px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta .head { flex: 1 1 420px; min-width: 0; }
.cta h2 { font-size: 30px; }
.navy.cta p { color: var(--mist); }

.rules { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px 16px; }
.rules li { flex: 1 1 440px; min-width: 0; margin: 0; background: #ffffff; padding: 18px 20px; display: flex; gap: 16px; }
.rules .pixel { flex: 0 0 40px; font-size: 30px; line-height: 1; color: var(--wood); }
.rules h3 { font-size: 17px; margin-bottom: 4px; }
.rules p { font-size: 15px; line-height: 1.5; }
.penalty { background: var(--navy); color: #ffffff; padding: 18px 20px; font-weight: 600; }

@media (max-width: 600px) {
  .wrap { padding: 48px 20px; }
  .hero-logo { width: 220px; margin: 0 auto; }
  h2 { font-size: 30px; }
}
