:root {
  --bg: #000000;
  --surface: #0a0a0a;
  --border: #1a1a1a;
  --gold: #fbbf24;
  --gold-wash: rgba(251, 191, 36, 0.08);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #52525b;
  --max-width: 680px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto,
    Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  border-bottom: 1px solid var(--border);
  padding: 24px 0 16px;
  background: var(--bg);
}

.brand {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.brand-sub {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

nav {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

nav a:hover,
nav a[aria-current='page'] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Main */
main {
  flex: 1;
  padding: 32px 0 48px;
}

article h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
}

.last-updated {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 32px;
  font-weight: 500;
}

article p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 16px;
}

article h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 36px;
  margin-bottom: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

article h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

article ul {
  margin: 0 0 16px 0;
  padding: 0;
  list-style: none;
}

article ul li {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

article ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

article a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}

article a:hover {
  border-bottom-color: var(--gold);
}

/* Hub cards */
.hub-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.hub-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.hub-card:hover {
  border-color: var(--gold);
  background: var(--gold-wash);
}

.hub-card-title {
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.hub-card-body {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.hub-card-arrow {
  color: var(--gold);
  font-size: 14px;
  margin-top: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 32px;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px dotted var(--text-muted);
}

footer a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Responsive */
@media (min-width: 768px) {
  article h1 {
    font-size: 32px;
  }
  article h2 {
    font-size: 20px;
  }
  main {
    padding: 48px 0 64px;
  }
}
