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

:root {
  --color-bg: #0f172a;
  --color-bg-light: #1e293b;
  --color-text: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-accent: #C800DE;
  --color-accent-hover: #a000b2;
  --max-width: 720px;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

/* Nav */
.site-nav {
  border-bottom: 1px solid var(--color-bg-light);
  padding: 1rem 1.5rem;
}

.site-nav .nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.site-nav .nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.site-nav .nav-links a {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.site-nav .nav-links a:hover,
.site-nav .nav-links a.active {
  color: var(--color-text);
  text-decoration: none;
}

/* Main content */
.site-main {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.site-main h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.site-main h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.site-main h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.site-main p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.site-main ul,
.site-main ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: var(--color-text-muted);
}

.site-main li {
  margin-bottom: 0.35rem;
}

.site-main strong {
  color: var(--color-text);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-bg-light);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Hero (landing page) */
.hero {
  text-align: center;
  padding: 2rem 0 1rem;
}

.hero svg {
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.hero .tagline {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto 2rem;
}

/* About section (landing page) */
.about {
  text-align: left;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-bg-light);
}

/* Responsive */
@media (max-width: 480px) {
  .site-nav .nav-inner {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }
}
