:root {
  --bg: #0b1320;
  --panel: #121c2f;
  --panel-2: #1a2740;
  --text: #f3f7fb;
  --muted: #9ca9bf;
  --accent: #f4b942;
  --border: #263754;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #162543 0%, var(--bg) 55%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
}

.shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.document {
  width: min(860px, calc(100% - 32px));
}

.hero {
  margin-bottom: 28px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  margin: 10px 0 14px;
  line-height: 1.05;
}

h2 {
  margin-top: 0;
}

.lede,
.meta,
.prose p,
.prose li {
  color: var(--muted);
  line-height: 1.7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.button,
.backlink {
  display: inline-block;
  text-decoration: none;
}

.button {
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--accent);
  color: #111827;
  border-radius: 999px;
  font-weight: 700;
}

.backlink {
  color: var(--accent);
  margin-bottom: 12px;
}

.prose h2 {
  margin-top: 28px;
  margin-bottom: 10px;
}

.prose ul {
  padding-left: 20px;
}

a {
  color: var(--accent);
}
