:root {
  --bg: #1A1420;
  --surface: #261C2E;
  --ink: #F6F1E8;
  --accent: #E07A5F;
  --muted: #A898A8;
  --sky: #140E18;
  --far: #32243C;
  --mid: #4C3858;
  --ground: #E6D9C8;
  --hero: #FFF9F3;
  --hazard: #D4524A;
  --collectible: #F2C14E;
  --weather: #E7DDE8;
  --shadow: #0C0810;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover,
a:focus {
  color: var(--collectible);
  text-decoration: underline;
}

.site-header {
  background-color: var(--sky);
  border-bottom: 1px solid var(--mid);
  padding: 1.25rem 1.5rem;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--hero);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-spark {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: var(--collectible);
  box-shadow: 0 0 10px var(--accent);
  display: inline-block;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--weather);
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--collectible);
}

main {
  flex: 1;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.hero {
  background-color: var(--surface);
  border: 1px solid var(--mid);
  border-radius: 18px;
  padding: 2.75rem 2.25rem;
  box-shadow: 0 16px 36px var(--shadow);
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--collectible);
  background-color: var(--far);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  color: var(--hero);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--weather);
  max-width: 68ch;
  margin-bottom: 1.5rem;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.stat-pill {
  background-color: var(--far);
  border: 1px solid var(--mid);
  border-radius: 12px;
  padding: 1rem 1.15rem;
}

.stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: block;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--hero);
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.card {
  background-color: var(--surface);
  border: 1px solid var(--mid);
  border-radius: 14px;
  padding: 1.6rem;
  box-shadow: 0 10px 24px var(--shadow);
}

.card h2,
.section-box h2 {
  font-size: 1.3rem;
  color: var(--hero);
  margin-bottom: 0.65rem;
}

.card p,
.section-box p {
  color: var(--weather);
  margin-bottom: 0.85rem;
}

.card p:last-child,
.section-box p:last-child {
  margin-bottom: 0;
}

.section-box {
  background-color: var(--surface);
  border: 1px solid var(--mid);
  border-radius: 14px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 24px var(--shadow);
}

.section-box h3 {
  font-size: 1.1rem;
  color: var(--ground);
  margin-top: 1.25rem;
  margin-bottom: 0.45rem;
}

.feature-list {
  list-style: none;
  margin-top: 0.75rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.6rem;
  color: var(--weather);
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0.2rem;
  color: var(--collectible);
  font-weight: 700;
}

.callout {
  background-color: var(--far);
  border-left: 4px solid var(--accent);
  padding: 1.1rem 1.35rem;
  border-radius: 8px;
  margin-top: 1.25rem;
  color: var(--ground);
}

.site-footer {
  background-color: var(--sky);
  border-top: 1px solid var(--mid);
  padding: 2rem 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

@media (max-width: 640px) {
  h1 {
    font-size: 1.85rem;
  }
  .hero {
    padding: 1.75rem 1.35rem;
  }
}
