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

:root {
  --bg: #0F1117;
  --surface: #181C27;
  --ember: #F25C1E;
  --flame: #F5A623;
  --glow: #FF7A3C;
  --text: #E8E8E4;
  --muted: #6E7484;
  --border: #252A38;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--ember);
  letter-spacing: -0.5px;
  text-decoration: none;
}

.nav-back {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-back:hover {
  color: var(--text);
}

/* ─── CONTENT ─────────────────────────────────────────────────── */
.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.page-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 16px;
}

.page-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 12px;
}

.page-meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.section {
  margin-bottom: 48px;
}

.section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.section p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

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

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

.section ul li {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  padding: 6px 0 6px 20px;
  position: relative;
}

.section ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--ember);
}

.section a {
  color: var(--ember);
  text-decoration: none;
  transition: color 0.2s ease;
}

.section a:hover {
  color: var(--glow);
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* ─── FOOTER ──────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 16px;
  color: var(--muted);
}

.footer-copy strong {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--ember);
}

.footer-link {
  font-size: 16px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--text);
}

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  nav {
    padding: 0 24px;
  }

  .content {
    padding: 100px 24px 64px;
  }
}

@media (max-width: 540px) {
  footer {
    padding: 24px;
    flex-direction: column;
    text-align: center;
  }

  .nav-back {
    font-size: 15px;
  }
}
