:root {
  --bg: #111827;        /* Deep Charcoal */
  --blue: #2563EB;      /* Noteology Blue */
  --amber: #F59E0B;     /* Stage Amber */
  --text: #FFFFFF;      /* White */
  --muted: #E5E7EB;     /* Light Gray */
  --soft: #6B7280;      /* Cool Gray */
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
h1, h2, h3 {
  font-family: Poppins, sans-serif;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.brand {
  font-family: Poppins, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text);
}
.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.5rem;
}
.hero .sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.hero .tagline {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--blue);
  margin-bottom: 0.25rem;
}
.hero .clarifier {
  font-size: 0.9rem;
  color: var(--soft);
  margin-bottom: 1.5rem;
}
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--blue);
}
.btn:hover {
  background: #1d4ed8;
  text-decoration: none;
}
.btn.secondary {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
  margin-left: 8px;
}
.btn.secondary:hover {
  background: rgba(37, 99, 235, 0.08);
  text-decoration: none;
}

/* Sections */
.section {
  padding: 60px 0;
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  text-align: center;
  margin-bottom: 1rem;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 20px;
}
.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

/* Shop */
.shop {
  background: linear-gradient(180deg, rgba(37,99,235,0.08), rgba(17,24,39,0));
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.shop-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.shop p {
  max-width: 700px;
  color: var(--muted);
  margin: 0;
}

/* Community */
.community .links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.group-link {
  display: block;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--text);
  text-decoration: none;
}
.group-link:hover {
  background: rgba(255,255,255,0.06);
  text-decoration: none;
}
.group-link strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}
.group-link span {
  font-size: 0.85rem;
  color: var(--soft);
}

/* About */
.about {
  text-align: center;
}
.about p {
  max-width: 720px;
  margin: 0 auto 0.75rem;
  color: var(--muted);
}
.about .tagline {
  color: var(--blue);
  font-weight: 500;
}
.about .clarifier {
  color: var(--soft);
  font-size: 0.9rem;
}

/* Footer */
footer {
  padding: 40px 0 60px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  color: var(--soft);
  font-size: 0.9rem;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  .btn.secondary { margin-left: 0; margin-top: 8px; display: inline-block; }
}
