/* Blog: same ink palette and type as the homepage, set for long reading. */
:root {
  --bg: #06070d; --card: #11141c; --raised: #1a1e28;
  --line: rgba(238, 240, 245, .08); --line-strong: rgba(238, 240, 245, .14);
  --text: #eef0f5; --text-2: #a3a9b8; --muted: #7a8296;
  --hype: #ffd23f; --hype-hover: #ffdc66;
  --sans: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans);
  font-size: 18px; line-height: 30px; font-variation-settings: "wdth" 100, "opsz" 16; }
a { color: var(--text); text-decoration-color: rgba(255, 210, 63, .5); text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--hype); }
:focus-visible { outline: 2px solid var(--hype); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(1152px, 100% - 48px); margin-inline: auto; }
.top { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 18px; line-height: 1; text-decoration: none; }
.logo svg { width: 24px; height: 24px; }
.top nav { display: flex; gap: 24px; font-size: 15px; }
.top nav a { color: var(--text-2); text-decoration: none; white-space: nowrap; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); }

article, .list { max-width: 704px; margin: 64px auto 0; }
.kicker { margin: 0 0 16px; font-size: 14px; line-height: 20px; color: var(--muted); }
h1 { margin: 0 0 24px; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; font-weight: 500; letter-spacing: -0.025em;
  font-variation-settings: "wdth" 90, "opsz" 72; }
.standfirst { margin: 0 0 48px; font-size: 21px; line-height: 32px; color: var(--text-2); }
article h2 { margin: 56px 0 16px; font-size: 28px; line-height: 1.2; font-weight: 500; letter-spacing: -0.015em; font-variation-settings: "wdth" 94, "opsz" 36; }
article h3 { margin: 32px 0 8px; font-size: 20px; line-height: 28px; font-weight: 500; }
article p, article li { color: #d4d8e1; }
article p { margin: 0 0 20px; }
article ul, article ol { margin: 0 0 20px; padding-left: 24px; }
article li { margin-bottom: 8px; }
article li::marker { color: var(--muted); }
strong { color: var(--text); font-weight: 500; }
code { font-family: var(--mono); font-size: 15px; background: var(--raised); border-radius: 6px; padding: 2px 6px; }
pre { margin: 0 0 24px; padding: 16px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; scrollbar-color: #3a4152 transparent; }
pre::-webkit-scrollbar { height: 8px; }
pre::-webkit-scrollbar-track { background: transparent; }
pre::-webkit-scrollbar-thumb { background: #3a4152; border-radius: 4px; }
pre code { background: none; padding: 0; font-size: 14px; line-height: 22px; color: #d4d8e1; }
.table-scroll { overflow-x: auto; margin: 0 0 24px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 24px; }
th, td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-weight: 400; color: var(--muted); font-size: 14px; }
td { color: #d4d8e1; font-variant-numeric: tabular-nums; }
.note { margin: 0 0 24px; padding: 16px 20px; border-left: 2px solid var(--hype); background: var(--card); border-radius: 0 12px 12px 0; }
.note p:last-child { margin: 0; }
figure { margin: 32px 0; }
figure svg, figure img, figure video { display: block; width: 100%; height: auto; border-radius: 12px; }
figcaption { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--muted); }

.cta { margin: 64px 0 0; padding: 32px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.cta h2 { margin: 0 0 8px; font-size: 24px; }
.cta p { margin: 0 0 20px; color: var(--text-2); }
.button { display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border-radius: 10px;
  background: var(--hype); color: var(--bg); font-weight: 500; text-decoration: none; transition: background-color 150ms var(--ease); }
.button:hover { background: var(--hype-hover); }
.sources { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; line-height: 24px; }
.sources h2 { margin: 0 0 12px; font-size: 16px; color: var(--muted); font-weight: 400; }
.sources li, .sources p { color: var(--text-2); }

.list h1 { margin-bottom: 16px; }
.posts { list-style: none; margin: 48px 0 0; padding: 0; }
.posts li { border-top: 1px solid var(--line); }
.posts a { display: block; padding: 24px 0; text-decoration: none; }
.posts h2 { margin: 0 0 6px; font-size: 22px; line-height: 30px; font-weight: 500; }
.posts a:hover h2 { color: var(--hype); }
.posts p { margin: 0; color: var(--text-2); font-size: 16px; line-height: 26px; }

footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 96px; padding: 32px 0 48px;
  border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--muted); }
footer a { color: var(--muted); }
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .top nav { gap: 16px; font-size: 14px; }
  .top nav a:first-child { display: none; }
  body { font-size: 17px; line-height: 28px; }
  article, .list { margin-top: 40px; }
  .standfirst { font-size: 19px; line-height: 30px; }
  .cta { padding: 24px; }
}
