:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #14202e;
  --muted: #5b6673;
  --line: #e4e1da;
  --accent: #1f4e79;
  --accent-soft: #e8eef5;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1620;
    --surface: #152030;
    --ink: #e8ecf1;
    --muted: #9aa6b4;
    --line: #243246;
    --accent: #8fb8e0;
    --accent-soft: #1a2b40;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--serif); font-weight: 600; font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.nav ul { display: flex; gap: 28px; list-style: none; font-size: 15px; }
.nav ul a { color: var(--muted); }
.nav ul a:hover { color: var(--ink); text-decoration: none; }

/* Hero */
.hero { padding-top: 112px; padding-bottom: 96px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 6vw, 58px); line-height: 1.12; letter-spacing: -.01em; max-width: 14em; }
.hero p { margin-top: 24px; font-size: 19px; color: var(--muted); max-width: 34em; }
.btn { display: inline-block; margin-top: 36px; padding: 12px 22px; border: 1px solid var(--ink); color: var(--ink); font-weight: 500; font-size: 15px; border-radius: 2px; transition: background .15s, color .15s; }
.btn:hover { background: var(--ink); color: var(--bg); text-decoration: none; }

/* Sections */
section { padding: 88px 0; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.25; }
.section-head .label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 8px; }
.prose p + p { margin-top: 18px; }
.prose p { color: var(--ink); max-width: 38em; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
.pillar { background: var(--surface); padding: 32px 28px; }
.pillar .num { font-family: var(--serif); color: var(--accent); font-size: 15px; }
.pillar h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; margin: 10px 0 8px; }
.pillar p { color: var(--muted); font-size: 15.5px; }

.notes { list-style: none; margin-top: 8px; }
.notes li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.notes li:first-child { padding-top: 0; }
.notes time { color: var(--muted); font-size: 14px; padding-top: 3px; }
.notes h3 { font-family: var(--serif); font-weight: 600; font-size: 19px; }
.notes p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
.soon { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 2px; margin-left: 8px; vertical-align: 3px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 48px 0 56px; font-size: 13.5px; color: var(--muted); }
.disclaimer { max-width: 52em; line-height: 1.6; }
.disclaimer strong { color: var(--ink); font-weight: 600; }
.copyright { margin-top: 20px; }

@media (max-width: 760px) {
  .nav ul { gap: 18px; font-size: 14px; }
  .hero { padding-top: 72px; padding-bottom: 64px; }
  section { padding: 64px 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .pillars { grid-template-columns: 1fr; }
  .notes li { grid-template-columns: 1fr; gap: 4px; }
}

/* Inner pages */
.nav ul a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.page-head { padding-top: 96px; padding-bottom: 56px; }
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5vw, 48px); line-height: 1.15; letter-spacing: -.01em; }
.page-body { padding-bottom: 104px; }
.page-body .pillars { margin-top: 0; }
@media (max-width: 760px) {
  .page-head { padding-top: 64px; padding-bottom: 40px; }
  .page-body { padding-bottom: 72px; }
}

@media (max-width: 560px) {
  .nav { flex-direction: column; align-items: flex-start; justify-content: center; height: auto; padding-top: 14px; padding-bottom: 12px; gap: 8px; }
  .nav ul { gap: 20px; }
}
