:root {
  --bg: #07111f;
  --bg-deep: #030812;
  --panel: rgba(13, 25, 45, 0.78);
  --panel-strong: rgba(16, 34, 62, 0.92);
  --line: rgba(115, 212, 255, 0.18);
  --text: #edf8ff;
  --muted: #9fb4c8;
  --cyan: #37d6ff;
  --cyan-soft: rgba(55, 214, 255, 0.16);
  --teal: #30f2d2;
  --warning: #ffd166;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 216, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 80% 0%, rgba(77, 124, 255, 0.14), transparent 30rem),
    radial-gradient(circle at 50% 100%, rgba(0, 80, 120, 0.2), transparent 36rem),
    linear-gradient(145deg, #050912, #071827 48%, #02050a);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

a {
  color: inherit;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 8, 18, 0.78);
  backdrop-filter: blur(18px);
}

.nav-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

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

.nav-links a {
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
  transition: 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  border-color: var(--line);
  background: var(--cyan-soft);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.9fr);
  gap: 32px;
  align-items: center;
  padding: 72px 0 36px;
}

.hero__content,
.brand-panel,
.resource-card,
.art-slot,
.expansion-panel,
.stats-strip article {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(13, 25, 45, 0.86), rgba(6, 13, 25, 0.74));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero__content {
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius);
}

.kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.hero__tagline {
  max-width: 720px;
  color: #cde8f8;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.6;
}

.status-pill {
  display: inline-flex;
  max-width: 100%;
  margin: 10px 0 24px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 209, 102, 0.32);
  border-radius: 999px;
  color: #ffe8a8;
  background: rgba(255, 209, 102, 0.1);
  font-size: 0.94rem;
}

.cta-row,
.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 172px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #dff7ff;
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.link-button:hover,
.link-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(55, 214, 255, 0.55);
  background: rgba(55, 214, 255, 0.14);
}

.link-button--primary,
.link-button--download {
  border-color: rgba(48, 242, 210, 0.42);
  background: linear-gradient(135deg, rgba(55, 214, 255, 0.24), rgba(48, 242, 210, 0.16));
}

.link-button--muted {
  color: var(--muted);
  border-style: dashed;
}

.brand-panel {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 32px;
  text-align: center;
}

.brand-panel::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(55, 214, 255, 0.18);
  border-radius: 26px;
  pointer-events: none;
}

.brand-panel img {
  width: min(100%, 360px);
  filter: drop-shadow(0 24px 36px rgba(55, 214, 255, 0.22));
}

.brand-panel p {
  margin: 14px auto 0;
  max-width: 320px;
  color: var(--muted);
  line-height: 1.5;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 46px;
}

.stats-strip article {
  padding: 22px;
  border-radius: 20px;
}

.stats-strip strong {
  display: block;
  color: var(--cyan);
  font-size: 2rem;
}

.stats-strip span {
  display: block;
  margin: 4px 0;
  font-weight: 800;
}

.stats-strip small {
  color: var(--muted);
}

.content-section,
.custom-art,
.expansion-panel {
  scroll-margin-top: 96px;
  margin: 0 0 60px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-heading p:not(.kicker) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

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

.resource-card,
.art-slot {
  min-height: 100%;
  padding: 24px;
  border-radius: 22px;
}

.resource-card h3,
.art-slot h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.resource-card p,
.art-slot p {
  color: var(--muted);
  line-height: 1.55;
}

.card-links {
  margin-top: 20px;
}

.card-links .link-button {
  width: 100%;
}

.art-placeholder {
  height: 120px;
  margin-bottom: 18px;
  border: 1px dashed rgba(55, 214, 255, 0.35);
  border-radius: 18px;
  background:
    linear-gradient(135deg, transparent 46%, rgba(55, 214, 255, 0.14) 47%, rgba(55, 214, 255, 0.14) 53%, transparent 54%),
    radial-gradient(circle at center, rgba(48, 242, 210, 0.13), transparent 60%);
}

.expansion-panel {
  padding: 28px;
  border-radius: var(--radius);
}

.expansion-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.is-dev-only {
  display: none;
}

.expansion-panel li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #d7eef9;
  background: rgba(255, 255, 255, 0.04);
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 54px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.error-banner {
  padding: 14px 18px;
  background: #5b1f1f;
  color: white;
  text-align: center;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 38px;
  }

  .stats-strip,
  .card-grid,
  .art-grid,
  .expansion-panel ul {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

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

  .hero {
    min-height: auto;
  }

  .stats-strip,
  .card-grid,
  .art-grid,
  .expansion-panel ul {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
