:root {
  --bg: #0c0c0e;
  --bg2: #141418;
  --card: #1a1a20;
  --line: #2c2c36;
  --text: #e8e8ec;
  --muted: #9a9aa8;
  --blue: #5da2f2;
  --blue2: #8bbef7;
  --amber: #f39c12;
  --max: 46rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Garamond, Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
a { color: var(--blue2); }
a:hover { color: #fff; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 1.25rem; }
.wrap-wide { max-width: 56rem; margin: 0 auto; padding: 1.25rem; }
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(12,12,14,.94);
  position: sticky; top: 0; backdrop-filter: blur(10px); z-index: 10;
}
.site-header .wrap-wide {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
}
.brand {
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--text); font-size: .78rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.brand span { color: var(--blue); }
nav {
  display: flex; flex-wrap: wrap; gap: .85rem; font-size: .84rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--blue2); }
.hero {
  padding: 3.75rem 0 2.75rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(93,162,242,.18), transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(243,156,18,.08), transparent 40%),
    linear-gradient(180deg, #121218, var(--bg));
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1.12; margin: .5rem 0 .85rem;
  color: var(--blue); text-transform: uppercase; letter-spacing: .04em;
  font-weight: 600;
}
.author {
  color: var(--amber); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .04em; margin: 0 0 .5rem;
}
.eyebrow {
  color: var(--muted); font-style: italic; font-size: 1.02rem;
}
.lead { color: var(--muted); font-size: 1.08rem; max-width: 38rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.btn {
  display: inline-block; background: var(--blue); color: #0c0c0e !important;
  text-decoration: none !important; font-weight: 700; padding: .7rem 1.1rem;
  border-radius: 6px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: .88rem;
}
.btn.secondary {
  background: transparent; color: var(--text) !important;
  border: 1px solid var(--line);
}
section { padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
h2 {
  color: var(--blue); font-size: 1.45rem; margin: 0 0 1rem;
  border-left: 4px solid var(--amber); padding-left: .75rem;
}
h3 { color: #c5c5ce; font-size: 1.05rem; font-style: italic; margin: 1.25rem 0 .4rem; }
p { color: #d1d1d8; }
.stage-list { list-style: none; padding: 0; margin: 0; }
.stage-item {
  margin-bottom: .85rem; padding: 1rem 1.1rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
}
.stage-title {
  display: block; color: var(--amber); font-weight: 700;
  margin-bottom: .35rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-style: normal; font-size: .95rem;
}
.math-box {
  background: var(--bg2); border: 1px solid var(--line);
  border-radius: 10px; padding: 1.25rem; margin: 1.25rem 0; text-align: center;
}
.math {
  font-family: "Times New Roman", Times, serif;
  font-style: italic; font-weight: 700; font-size: 1.35rem; color: var(--blue);
}
.formula-desc {
  font-size: .82rem; color: var(--muted); margin-top: .75rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.quote-box {
  font-style: italic; border-left: 3px solid var(--blue);
  padding: 1rem 1.25rem; margin: 1.5rem 0; color: #c5c5ce;
  background: rgba(93,162,242,.06); border-radius: 0 8px 8px 0;
}
.note {
  color: var(--muted); font-size: .88rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.site-footer {
  padding: 2rem 0 3rem; color: var(--muted); font-size: .85rem;
  text-align: center;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.meta {
  color: var(--muted); font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; margin: 2rem 0 .5rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.blog-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.blog-list li {
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--card); padding: 1.1rem 1.2rem; margin-bottom: .85rem;
  text-align: left;
}
.blog-list a {
  text-decoration: none; color: var(--text); font-weight: 700;
  font-size: 1.05rem; display: block; margin-bottom: .35rem;
}
.blog-list a:hover { color: var(--blue2); }
.blog-list .meta { margin: 0 0 .4rem; }
.prose { max-width: 42rem; }
.prose h2 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.prose ul { color: #d1d1d8; padding-left: 1.2rem; }
.sister {
  margin-top: 1rem; font-size: .9rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
