:root {
  --bg: #07130e;
  --bg-alt: #0b1913;
  --panel: #10201a;
  --text: #f4fff8;
  --text-soft: #c9ddd3;
  --muted: #8fb3a2;
  --green: #3ddc84;
  --green-solid: #2e9e62;
  --green-edge: #145236;
  --gold: #ffc83d;
  --gold-edge: #b8851a;
  --gold-ink: #3a2600;
  --red: #ff6b5e;
  --purple: #b48cff;
  --line: rgba(255, 255, 255, 0.07);
  --display: 'Lilita One', 'Arial Black', sans-serif;
  --body: 'Nunito', 'Segoe UI', sans-serif;
  --radius: 24px;
  --gutter: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 600;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  color: #7cf0b0;
}

/* Links inside sentences and lists need more than colour to stand out. */
p a,
li a,
dd a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 900;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.narrow {
  max-width: 780px;
}

/* Text */
.eyebrow,
.label {
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.label,
.eyebrow-muted {
  color: var(--muted);
}

.h1,
.h2,
.h3 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
  color: #fff;
  line-height: 1.05;
}

.h1 {
  font-size: clamp(40px, 7vw, 72px);
}

.h2 {
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1;
}

.h2-large {
  font-size: clamp(34px, 5.4vw, 64px);
}

.h3 {
  font-size: clamp(22px, 2.6vw, 28px);
}

.h3-large {
  font-size: clamp(24px, 3vw, 34px);
}

.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-soft);
}

.lead-large {
  font-size: clamp(18px, 1.9vw, 22px);
  color: #e6f2ec;
  max-width: 540px;
}

.muted {
  color: var(--muted);
}

.small,
.small-print {
  font-size: 14px;
}

.small-print {
  font-weight: 800;
  color: var(--muted);
}

.text-green {
  color: var(--green);
}

.text-gold {
  color: var(--gold);
}

.text-red {
  color: var(--red);
}

.text-purple {
  color: var(--purple);
}

.text-muted {
  color: var(--muted);
}

.text-dark {
  color: var(--gold-ink);
}

.text-dark-muted {
  color: #5a3e00;
  font-weight: 700;
}

.text-link {
  font-weight: 900;
}

.text-link::after {
  content: ' →';
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: none;
  cursor: pointer;
  border-radius: 16px;
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: 0.03em;
  padding: 12px 24px;
  transition: transform 0.08s;
}

.btn:active {
  transform: translateY(3px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.btn-small {
  font-size: 16px;
  min-height: 42px;
  padding: 8px 18px;
}

.btn-gold {
  background: var(--gold);
  color: var(--gold-ink);
  box-shadow: 0 5px 0 var(--gold-edge);
}

.btn-gold:hover {
  background: #ffd461;
  color: var(--gold-ink);
}

/* Darker than the brand green so white text stays readable. */
.btn-green {
  background: #1f7a4a;
  color: #fff;
  box-shadow: 0 5px 0 #0f3d26;
}

.btn-green:hover {
  background: #23864f;
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-dark {
  background: var(--gold-ink);
  color: var(--gold);
  box-shadow: 0 5px 0 #1f1400;
}

.btn-dark:hover {
  color: #ffd461;
}

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

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.chip-green {
  background: rgba(61, 220, 132, 0.14);
  color: var(--green);
}

.chip-gold {
  background: rgba(255, 200, 61, 0.14);
  color: var(--gold);
}

.chip-red {
  background: rgba(255, 107, 94, 0.16);
  color: var(--red);
}

.chip-purple {
  background: rgba(180, 140, 255, 0.16);
  color: var(--purple);
}

.chip-muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

.chip-tiny {
  padding: 3px 8px;
  font-size: 10px;
}

.chip-live {
  align-self: flex-start;
  border: 1px solid rgba(61, 220, 132, 0.3);
}

.chip-live::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

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

/* Cards */
.card {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow:
    0 8px 0 rgba(0, 0, 0, 0.35),
    0 24px 50px -16px rgba(0, 0, 0, 0.6);
  color: var(--text-soft);
}

.card-pad {
  padding: clamp(20px, 3vw, 28px);
}

.card-pad-sm {
  padding: 20px;
}

.card-pad-lg {
  padding: clamp(24px, 4vw, 48px);
}

.card-link {
  color: var(--text-soft);
  transition:
    transform 0.12s,
    border-color 0.12s;
}

.card-link:hover {
  color: var(--text-soft);
  border-color: rgba(61, 220, 132, 0.45);
  transform: translateY(-2px);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.card-title {
  margin: 0;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
}

.card-feature {
  background: linear-gradient(135deg, #123826, #0e2219);
}

.card-gold {
  background: linear-gradient(135deg, var(--gold), #f2b33d);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow:
    0 8px 0 var(--gold-edge),
    0 24px 50px -16px rgba(0, 0, 0, 0.6);
}

.card-quiet {
  background: #0e1915;
}

.card-newsletter {
  background: radial-gradient(circle at 100% 0%, #1f6b4a 0%, var(--panel) 60%);
}

.code {
  font-family: var(--display);
  font-size: 44px;
  line-height: 1;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  font-size: 14px;
}

.tile b {
  color: var(--green);
  font-size: 15px;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 24px;
  color: #fff;
}

.step-green {
  background: var(--green-solid);
  box-shadow: 0 4px 0 var(--green-edge);
}

.step-gold {
  background: var(--gold);
  color: var(--gold-ink);
  box-shadow: 0 4px 0 var(--gold-edge);
}

.step-red {
  background: var(--red);
  box-shadow: 0 4px 0 #a62a21;
}

/* Layout */
.section {
  padding-block: clamp(48px, 7vw, 80px);
}

.section-intro {
  padding-bottom: 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.section-glow {
  background: radial-gradient(ellipse at 20% 100%, rgba(31, 107, 74, 0.45) 0%, var(--bg-alt) 60%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}

.stack,
.stack-sm,
.stack-lg {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stack {
  gap: 14px;
}

.stack-sm {
  gap: 4px;
}

.stack-lg {
  gap: 28px;
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  justify-content: space-between;
}

.split > * {
  flex: 1 1 320px;
  min-width: 0;
}

.split-top {
  align-items: flex-start;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.grid-tiles {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 12px;
}

.grid-tiles-wide {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 14px;
}

.grid-tiles-small {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 14px;
}

.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 19, 14, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.brand:hover {
  color: #fff;
}

.brand-name {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.01em;
}

.brand-name span {
  color: var(--gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
}

.nav-link {
  color: var(--text-soft);
  font-weight: 800;
  font-size: 15px;
}

.nav-link:hover,
.nav-link[aria-current='page'] {
  color: #fff;
}

.nav-link[aria-current='page'] {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 6px;
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.15s;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

.menu-open .menu-icon {
  background: transparent;
}

.menu-open .menu-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 860px) {
  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }

  .menu-open .site-nav {
    display: flex;
  }

  .nav-link {
    padding: 12px 4px;
    font-size: 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .btn {
    margin-top: 12px;
  }
}

/* Page heading */
.page-head {
  padding-block: clamp(48px, 8vw, 88px) clamp(8px, 2vw, 16px);
  background: radial-gradient(ellipse at 70% 0%, #1f6b4a 0%, #0b2219 45%, var(--bg) 80%);
}

.page-head .wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-head .lead {
  max-width: 680px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 0%, #1f6b4a 0%, #0b2219 45%, var(--bg) 80%);
  padding-block: clamp(40px, 8vw, 100px) 190px;
}

.hero-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  margin: 0;
  line-height: 0;
}

.hero-wordmark {
  width: min(100%, 520px);
  height: auto;
}

.hero-art {
  flex: 1 1 400px;
  min-width: 0;
  max-width: 560px;
}

.game-window {
  overflow: hidden;
  transform: rotate(1.5deg);
  background: var(--bg-alt);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #16231d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red {
  background: var(--red);
}

.dot-gold {
  background: var(--gold);
}

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

.window-url {
  margin-left: 10px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.window-body {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #1c3a2b;
  overflow: hidden;
}

.window-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hud {
  position: absolute;
  background: rgba(10, 24, 18, 0.92);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.hud-day {
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
}

.hud-badge {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--green-solid);
  box-shadow: 0 3px 0 var(--green-edge);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  color: #fff;
}

.hud-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.hud-text b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 14px;
  color: #fff;
}

.hud-text small {
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
}

.hud-meters {
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  background: none;
  border: none;
}

.hud-pill {
  background: rgba(10, 24, 18, 0.92);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 5px 10px;
  font-family: var(--display);
  font-size: 14px;
  color: #fff;
}

.hud-pill-small {
  font-family: var(--body);
  font-weight: 900;
  font-size: 11px;
}

.hud-file {
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hud-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.hud-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 48px;
  width: 100%;
  max-width: none;
  height: 200px;
  pointer-events: none;
}

.road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background: var(--bg);
  border-top: 5px solid var(--green-edge);
}

.road::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 20px;
  height: 3px;
  background: repeating-linear-gradient(90deg, #1f6b4a 0 40px, transparent 40px 70px);
}

.plane-fly {
  position: absolute;
  left: 0;
  top: 14%;
  animation: fly 14s linear infinite;
  pointer-events: none;
}

.danfo {
  position: absolute;
  left: 0;
  bottom: 14px;
  animation: drive 16s linear infinite;
  pointer-events: none;
}

@keyframes fly {
  from {
    transform: translate(-20vw, 10vh) rotate(-10deg);
  }
  to {
    transform: translate(120vw, -4vh) rotate(-10deg);
  }
}

@keyframes drive {
  from {
    transform: translateX(-140px);
  }
  to {
    transform: translateX(calc(100vw + 140px));
  }
}

/* Cities */
.city-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.city-card p {
  padding: 18px 22px 22px;
}

.city-art {
  position: relative;
  height: 120px;
}

.city-lagos {
  background: linear-gradient(180deg, #2a6fa8 0%, #1c3a2b 100%);
}

.city-abuja {
  background: linear-gradient(180deg, #5b7368 0%, #1c3a2b 100%);
}

.city-name {
  position: absolute;
  right: 20px;
  bottom: 14px;
  font-family: var(--display);
  font-size: 44px;
  color: #fff;
}

/* Guide pages */
.included-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #e6f2ec;
  font-weight: 800;
}

.tick {
  color: var(--green);
  font-weight: 900;
  font-size: 20px;
}

.achievement {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.medal {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--gold-edge);
  box-shadow: 0 3px 0 var(--gold-edge);
  font-size: 20px;
}

.notice {
  padding: 14px 18px;
  border-radius: 16px;
  border: 2px solid rgba(255, 200, 61, 0.3);
  background: rgba(255, 200, 61, 0.08);
  color: #f6e3b0;
}

.notice-quiet {
  border-color: rgba(143, 179, 162, 0.3);
  background: rgba(143, 179, 162, 0.08);
  color: var(--text-soft);
}

.tip-list,
.link-list {
  margin: 0;
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.link-list a {
  font-weight: 800;
  overflow-wrap: anywhere;
}

.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.term-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.term {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--panel);
}

.term dt {
  font-family: var(--display);
  color: var(--gold);
  min-width: 64px;
}

.term dd {
  margin: 0;
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  list-style-position: inside;
}

.faq-item p {
  padding: 0 22px 20px;
}

.legal p {
  color: var(--text-soft);
  font-size: 17px;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.newsletter-form[hidden] {
  display: none;
}

.newsletter-form input {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 16px;
}

.newsletter-form input::placeholder {
  color: #7c9a8c;
}

.form-status:empty {
  display: none;
}

.form-status {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(61, 220, 132, 0.12);
  border: 2px solid rgba(61, 220, 132, 0.3);
  color: var(--green);
  font-weight: 900;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-block: 40px 28px;
  background: #050d09;
  font-size: 14px;
}

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

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
  color: var(--muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr));
  gap: 24px clamp(24px, 5vw, 56px);
  flex: 1 1 480px;
  min-width: 0;
  max-width: 640px;
}

.footer-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-title {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fb3a2;
}

.footer-group a {
  color: var(--text-soft);
  font-weight: 700;
}

.footer-group a:hover {
  color: #fff;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 520px) {
  .hero {
    padding-bottom: 150px;
  }

  .button-row .btn {
    flex: 1 1 100%;
  }

  .game-window {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.split > .btn {
  flex: 0 0 auto;
}
