:root {
  --bg: #08060f;
  --bg-soft: #110d20;
  --ivory: #f5f0e1;
  --ivory-dim: rgba(245, 240, 225, 0.74);
  --muted: rgba(245, 240, 225, 0.5);
  --violet: #b0a8d2;
  --border: rgba(255, 255, 255, 0.08);
  --max: 720px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ivory-dim);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(176, 168, 210, 0.08), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(80, 70, 140, 0.10), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 28px 120px;
}

header.site {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

header.site a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 22px;
  transition: color 180ms ease;
}

header.site a:hover { color: var(--ivory); }

header.site .brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--ivory);
  text-transform: none;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--ivory);
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 8px;
}

h1 + .eyebrow,
.eyebrow {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 48px;
}

h2 {
  font-size: 26px;
  margin: 56px 0 14px;
  line-height: 1.25;
}

h3 {
  font-size: 18px;
  margin: 32px 0 8px;
  color: var(--ivory);
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

p, ul { margin: 0 0 16px; }

ul { padding-left: 22px; }

li { margin-bottom: 8px; }

strong { color: var(--ivory); font-weight: 600; }

a {
  color: var(--violet);
  text-decoration: none;
  border-bottom: 1px solid rgba(176, 168, 210, 0.32);
  transition: border-color 180ms ease, color 180ms ease;
}

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

.callout {
  background: rgba(176, 168, 210, 0.06);
  border: 1px solid var(--border);
  border-left: 2px solid var(--violet);
  padding: 18px 22px;
  border-radius: 8px;
  margin: 24px 0;
  font-size: 15px;
}

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 60px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer a {
  color: var(--muted);
  border-bottom: none;
  margin-right: 18px;
}

footer a:hover { color: var(--ivory); }

@media (max-width: 520px) {
  main { padding: 56px 22px 88px; }
  h1 { font-size: 34px; }
  h2 { font-size: 22px; }
  header.site { flex-direction: column; gap: 14px; align-items: flex-start; }
  header.site nav a:first-child { margin-left: 0; }
}
