:root {
  --ink: #121514;
  --paper: #fbfdfb;
  --panel: #ffffff;
  --muted: #5d6661;
  --line: #18251e;
  --line-soft: #b5c2b9;
  --green: #0f5f3d;
  --green-deep: #083826;
  --rose: #b3153b;
  --gold: #d7a928;
  --mist: #edf5ef;
  --shadow: 0 18px 44px rgba(18, 21, 20, 0.14);
  --soft-shadow: 0 10px 24px rgba(18, 21, 20, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 4%, rgba(15, 95, 61, 0.1), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(179, 21, 59, 0.08), transparent 26%),
    linear-gradient(180deg, #fbfdfb 0%, #f3f8f4 48%, #fbfdfb 100%);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--green);
  font-weight: 800;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--rose);
}

.skip-link {
  left: 1rem;
  position: absolute;
  top: -4rem;
  z-index: 50;
}

.skip-link:focus {
  background: var(--gold);
  border: 3px solid var(--line);
  color: var(--ink);
  padding: 0.75rem 1rem;
  top: 1rem;
}

.site-header {
  background: rgba(251, 253, 251, 0.95);
  border-bottom: 3px solid var(--line-soft);
  box-shadow: 0 12px 26px rgba(18, 21, 20, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-wrap,
.hero-inner,
.section,
.footer-inner,
.article {
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 1.25rem;
}

.nav-wrap {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-weight: 900;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--green), var(--rose));
  border: 3px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  color: #fff;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  letter-spacing: 0;
  width: 44px;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.nav-links a {
  border: 2px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.94rem;
  padding: 0.48rem 0.74rem;
  text-decoration: none;
}

.nav-links a:hover {
  background: var(--mist);
  border-color: rgba(15, 95, 61, 0.25);
}

.hero {
  padding: 3.1rem 0 2.8rem;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.96fr);
}

.eyebrow {
  align-items: center;
  background: #fff;
  border: 3px solid rgba(15, 95, 61, 0.42);
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(15, 95, 61, 0.08);
  color: var(--green-deep);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 0.36rem 0.76rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: #101714;
  letter-spacing: 0;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: 3.6rem;
  font-weight: 900;
  margin: 1rem 0 1rem;
}

h2 {
  font-size: 2.45rem;
  font-weight: 900;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.18rem;
  font-weight: 900;
  margin: 0 0 0.55rem;
}

h1::after,
h2::after {
  background: linear-gradient(90deg, var(--green), var(--rose), var(--gold));
  border-radius: 999px;
  content: "";
  display: block;
}

h1::after {
  height: 6px;
  margin-top: 0.9rem;
  width: min(210px, 38vw);
}

h2::after {
  height: 4px;
  margin-top: 0.65rem;
  width: 82px;
}

p {
  margin: 0 0 1rem;
}

.lede {
  color: #29322d;
  font-size: 1.08rem;
  margin-top: 1.15rem;
  max-width: 780px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
}

.button {
  align-items: center;
  background: var(--green-deep);
  border: 3px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.button:hover {
  background: var(--rose);
  color: #fff;
  transform: translateY(-1px);
}

.button.secondary {
  background: #fff;
  color: var(--green-deep);
}

.button.bonus {
  background: var(--gold);
  color: var(--ink);
}

.quick-facts {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.quick-facts div,
.panel,
.image-frame,
.hero-card,
.info-table,
.feature-band {
  background: var(--panel);
  border: 3px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-facts div {
  padding: 0.9rem;
}

.quick-facts span,
.info-table span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-facts strong {
  display: block;
  margin-top: 0.18rem;
}

.hero-card {
  overflow: hidden;
  position: relative;
}

.hero-card img,
.image-frame img {
  width: 100%;
}

.scoreboard {
  align-items: center;
  background: linear-gradient(135deg, #ffffff, #eef7f0);
  border-top: 3px solid var(--line);
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr auto 1fr;
  padding: 1rem;
}

.scoreboard div {
  align-items: center;
  display: flex;
  gap: 0.55rem;
  font-weight: 900;
}

.dot {
  border: 2px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  height: 16px;
  width: 16px;
}

.scotland {
  background: var(--green);
}

.england {
  background: var(--rose);
}

.section {
  padding-bottom: 3rem;
}

.two-col {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
}

.image-frame {
  margin: 0;
  overflow: hidden;
}

.image-frame figcaption {
  border-top: 3px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.85rem 1rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel {
  padding: 1.15rem;
}

.feature-band {
  align-items: center;
  background: linear-gradient(135deg, #ffffff, #eef7f0);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding: 1.35rem;
}

.article {
  padding-bottom: 3.5rem;
  padding-top: 3.5rem;
}

.article .panel {
  margin-bottom: 1rem;
}

.info-table {
  display: grid;
  margin: 1.5rem 0;
  overflow: hidden;
}

.info-table div {
  align-items: center;
  border-bottom: 2px solid var(--line-soft);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(130px, 0.4fr) 1fr;
  padding: 0.95rem 1rem;
}

.info-table div:last-child {
  border-bottom: 0;
}

.faq-list h2 {
  font-size: 1.4rem;
}

.site-footer {
  background: var(--green-deep);
  border-top: 4px solid var(--line);
  color: #fff;
  margin-top: 2rem;
  padding: 2rem 0;
}

.site-footer a {
  color: #fff;
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.bonus-link-wrap {
  margin: 1rem auto 0;
  max-width: 1120px;
  padding: 0 1.25rem;
}

.bonus-link {
  color: #f7df82;
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 1.25rem;
}

.centered {
  max-width: 680px;
  text-align: center;
}

@media (max-width: 860px) {
  .hero-inner,
  .two-col,
  .card-grid,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .feature-band {
    display: grid;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2rem;
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }

  .footer-inner,
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 1rem;
    padding-top: 1rem;
  }

  .nav-links {
    justify-content: flex-start;
  }
}

@media (max-width: 540px) {
  .hero {
    padding-top: 2.3rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  .scoreboard,
  .info-table div {
    grid-template-columns: 1fr;
  }

  .scoreboard strong {
    justify-self: start;
  }
}
