/* Content pages: blog, legal, about. */
.nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr; }
.nav-end { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.nav-end .btn.small { white-space: nowrap; }
.nav-pill { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.nav-pill a { padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--ink); text-decoration: none; opacity: 0.8; }
.nav-pill a:hover { background: rgba(0, 0, 0, 0.05); opacity: 1; }
@media (max-width: 1000px) { .nav-pill { display: none; } .nav .wrap { grid-template-columns: 1fr auto; } }
@media (max-width: 420px) { .nav-end .btn.small { padding: 0 12px; font-size: 13px; } .nav-end { gap: 6px; } }

.page { padding: 48px 0 40px; min-height: 60vh; }
.prose-wrap { max-width: 760px; }
.page-head { display: grid; gap: 12px; margin-bottom: 32px; }
.page-head h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
.meta { color: var(--muted); font-size: 12.5px; margin: 0; }
.draft { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); font-size: 14px; }
.back { display: inline-block; margin-bottom: 20px; font-size: 14px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--ink); }

.toc { margin: 0 0 36px; padding: 18px 22px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.toc b { display: block; margin-bottom: 8px; font-size: 13px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.toc li { margin: 3px 0; break-inside: avoid; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--accent-strong); }
@media (max-width: 640px) { .toc ol { columns: 1; } }

.prose { font-size: 17.5px; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2em; font-size: 1.55rem; color: var(--ink); scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.6em; font-size: 1.2rem; color: var(--ink); }
.prose p, .prose ul, .prose ol, .prose blockquote { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.35em; }
.prose a { color: var(--accent-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); color: var(--ink); font-style: italic; }

.blog-head { display: grid; gap: 14px; max-width: 860px; margin-bottom: 36px; }
.blog-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.blog-head.nf { min-height: 40vh; align-content: center; }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.post-list.more { margin-top: 56px; }
.post-card { display: grid; gap: 10px; align-content: start; padding: 26px; text-decoration: none; color: inherit; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.post-card:hover { transform: translateY(-2px); }
.post-card h2 { font-size: 1.3rem; line-height: 1.2; }
.post-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.post-cta { margin-top: 56px; padding: 32px; display: grid; gap: 12px; }
.post-cta h2 { font-size: 1.6rem; }
.post-cta p { margin: 0; color: var(--muted); }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* Reference style */
.nav-pill { background: var(--surface); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav-pill a:hover { background: #fff; }
.draft { color: var(--ink); }
.toc { box-shadow: none; }
.toc a:hover, .prose a { color: var(--ink); }
.prose a { text-decoration-color: var(--accent-line); text-decoration-thickness: 2px; }
.prose h1, .prose h2, .page-head h1 { font-weight: 500; letter-spacing: -0.035em; }
.post-card { box-shadow: none; }
.post-card:hover { background: var(--lime); }

/* Landing look: a greige header card, list dots in lime, and the dark closing band */
.page-head.card { padding: clamp(26px, 4vw, 44px); border-radius: var(--radius); background: var(--surface); justify-items: start; }
.page-head .lede { margin: 0; max-width: 60ch; font-size: clamp(1.02rem, 1.6vw, 1.15rem); line-height: 1.6; color: var(--ink-2); }
.page-head .draft { background: var(--lime); }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 22px; }
.prose ul > li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1px rgba(22, 22, 22, 0.25); }
.prose h2 { padding-top: 0.4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); background: var(--surface); }
.cta-band { margin-top: 72px; }
.cta-band .band { border-radius: var(--radius); background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 72px) 24px; display: grid; justify-items: center; gap: 18px; text-align: center; }
.cta-band .eyebrow { background: rgba(255, 255, 255, 0.1); color: #fff; }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.02; }
.cta-band h2 .soft { color: var(--lime); }
.cta-band p { margin: 0; max-width: 56ch; color: rgba(255, 255, 255, 0.72); }
.cta-band .hero-cta { justify-content: center; }
.cta-band .btn.ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); background: transparent; }
.cta-band .btn.ghost:hover { background: rgba(255, 255, 255, 0.08); }
@media (max-width: 640px) { .cta-band { margin-top: 48px; } .cta-band .band { padding: 40px 20px; } }
