/* Blog pages: same tokens as the home page, set for long-form reading. */
:root {
  --bg: #fbfcfb; --surface: #ffffff; --tint: #f1f5f2; --ink: #101512; --ink-2: #5b655f; --ink-3: #8e9792; --line: #e4e9e5;
  --green: #17603a; --green-2: #1f7a45; --green-soft: #e3f1e8;
  --font: "Geist", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --logo-filter: none;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0b0e0c; --surface: #131815; --tint: #161d19; --ink: #eef3ef; --ink-2: #a3ada7; --ink-3: #75807a; --line: #232b26;
  --green: #3fae6e; --green-2: #5fd08e; --green-soft: #173323; --logo-filter: invert(1); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0b0e0c; --surface: #131815; --tint: #161d19; --ink: #eef3ef; --ink-2: #a3ada7; --ink-3: #75807a; --line: #232b26;
  --green: #3fae6e; --green-2: #5fd08e; --green-soft: #173323; --logo-filter: invert(1); color-scheme: dark; }

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 24px; }
.read { max-width: 680px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 520px) { .wrap, .read { padding-inline: 18px; } }

.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.logo { height: 22px; width: auto; display: block; filter: var(--logo-filter); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: 999px; font: 600 15px var(--font); text-decoration: none; white-space: nowrap; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-green { background: var(--green); color: #fff; }

h1, h2, h3 { letter-spacing: -0.03em; text-wrap: balance; margin: 0; }
.kicker { font: 600 13px var(--font); color: var(--green-2); letter-spacing: .02em; text-decoration: none; }
header.post { padding: 64px 0 8px; }
header.post h1 { margin-top: 12px; font-size: clamp(32px, 5vw, 48px); line-height: 1.08; font-weight: 700; }
header.post .dek { margin-top: 18px; font-size: 20px; color: var(--ink-2); }
header.post .meta { margin-top: 18px; font-size: 14px; color: var(--ink-3); }

article { padding-bottom: 24px; }
article h2 { margin-top: 48px; font-size: 26px; line-height: 1.2; font-weight: 700; }
article h3 { margin-top: 30px; font-size: 20px; line-height: 1.3; font-weight: 650; }
article p, article ul, article ol { margin: 16px 0 0; color: color-mix(in srgb, var(--ink) 86%, var(--bg)); }
article ul, article ol { padding-left: 22px; }
article li + li { margin-top: 8px; }
article strong { color: var(--ink); }
.note { margin-top: 28px; padding: 20px 22px; border-radius: 18px; background: var(--tint); font-size: 16.5px; }
.note p:first-child { margin-top: 0; }

.cta { margin: 56px 0 0; padding: 32px; border-radius: 26px; background: var(--ink); color: var(--bg); }
.cta h2 { margin: 0; font-size: 26px; line-height: 1.2; color: var(--bg); }
.cta p { margin: 10px 0 22px; color: color-mix(in srgb, var(--bg) 72%, var(--ink)); }

.list { padding-block: 64px 40px; }
.list h1 { font-size: clamp(34px, 5vw, 50px); line-height: 1.05; font-weight: 700; }
.list > p { margin-top: 14px; color: var(--ink-2); font-size: 19px; }
.cards { margin-top: 36px; display: grid; gap: 16px; }
.card { display: block; padding: 26px; border-radius: 22px; background: var(--tint); text-decoration: none; }
.card h2 { font-size: 22px; line-height: 1.25; }
.card p { margin: 10px 0 0; color: var(--ink-2); font-size: 16.5px; }
.card span { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--green-2); }

footer { padding: 56px 0 64px; font-size: 14px; color: var(--ink-3); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { text-decoration: none; color: var(--ink-2); }
