/* Blog (listing + posts). Tokens, header, footer and buttons come from /site.css. */
.skip { position: absolute; left: 16px; top: -48px; z-index: 60; padding: 10px 14px; border-radius: var(--r-md); background: var(--ink); color: var(--page); text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }
.blog { padding: 40px 0 0; }
.blog .wrap { width: min(760px, 100% - 32px); }
.blog + .foot { margin-top: 120px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted-fg); }
.crumbs a { color: var(--muted-fg); text-decoration: none; } .crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: var(--ink-tertiary); }
.crumbs [aria-current] { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.eyebrow { margin: 40px 0 0; font: 500 12px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--primary); }

/* Listing */
.bloghero h1 { margin-top: 14px; font-size: clamp(36px, 5.4vw, 56px); line-height: 1.02; }
.bloghero__lede { margin: 18px 0 0; font-size: 18px; color: var(--muted-fg); max-width: 36em; }
.postgrid { margin-top: 48px; border-top: 1px solid var(--border); }
.postcard { display: grid; gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; }
.postcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; color: var(--muted-fg); }
.postcard .tag { font: 600 11.5px/1 var(--sans); letter-spacing: 0.02em; padding: 5px 8px; border-radius: var(--r-sm); background: color-mix(in oklch, var(--primary) 12%, transparent); color: var(--primary); text-transform: none; }
.postcard__title { font: 700 24px/1.2 var(--display); letter-spacing: -0.025em; color: var(--ink); }
.postcard__dek { color: var(--muted-fg); max-width: 40em; }
.postcard__read { font-size: 14px; font-weight: 500; color: var(--primary); }
a.postcard:hover .postcard__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--mark); }
.postcard--soon { opacity: 0.6; }
.soonbadge { font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: var(--r-sm); border: 1px dashed var(--border-strong); color: var(--muted-fg); }

/* Covers (og/<slug>.png, made by scripts/render-covers.mjs) */
.cover { display: block; width: 100%; height: auto; margin: 28px 0 0; border-radius: var(--r-lg); border: 1px solid var(--border); }
.postcard.has-cover { grid-template-columns: 240px minmax(0, 1fr); column-gap: 24px; align-items: start; }
.postcard.has-cover > :not(.postcard__cover) { grid-column: 2; }
.postcard__cover { grid-row: 1 / span 4; width: 100%; height: auto; border-radius: var(--r-md); border: 1px solid var(--border); }
@media (max-width: 620px) { .postcard.has-cover { grid-template-columns: minmax(0, 1fr); } .postcard.has-cover > :not(.postcard__cover) { grid-column: 1; } .postcard__cover { grid-row: auto; } }

/* Post */
.article__head { margin-top: 0; }
.article__title { margin-top: 14px; font-size: clamp(34px, 5vw, 52px); line-height: 1.04; }
.article__dek { margin: 18px 0 0; font-size: 19px; line-height: 1.5; color: var(--muted-fg); }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted-fg); }
.article__meta strong { color: var(--ink); font-weight: 600; }
.article__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border-strong); }
.prose { margin-top: 44px; font-size: 17px; line-height: 1.75; color: var(--ink-muted); }
.prose h2 { margin: 52px 0 0; font-size: clamp(26px, 3.2vw, 32px); line-height: 1.15; color: var(--ink); }
.prose h3 { margin: 32px 0 0; font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); }
.prose p { margin: 18px 0 0; }
.prose h2 + p, .prose h3 + p { margin-top: 12px; }
.prose ul, .prose ol { margin: 18px 0 0; padding-left: 1.3em; display: grid; gap: 8px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--primary); text-underline-offset: 3px; }
.prose a:hover { color: var(--primary-hover); }
.prose code { font: 0.88em var(--mono); padding: 2px 5px; border-radius: 4px; background: var(--surface-3); }
.tablewrap { margin: 28px 0 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow-x: auto; background: var(--card); }
.comptable { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; min-width: 30rem; }
.comptable th, .comptable td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.comptable thead th { font: 500 11.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-fg); background: var(--surface-2); }
.comptable tbody tr:last-child th, .comptable tbody tr:last-child td { border-bottom: 0; }
.comptable tbody th { font-weight: 500; color: var(--ink); }
.comptable td.yes { color: var(--primary); font-weight: 600; }
.comptable td.no { color: var(--ink-tertiary); }
.comptable tr.row-hl th, .comptable tr.row-hl td { background: color-mix(in oklch, var(--primary) 8%, transparent); }
.pullcta { margin: 48px 0 0; padding: 32px 28px; border-radius: var(--r-lg); background: var(--panel); color: var(--panel-ink); text-align: center; border: 1px solid var(--panel-border); }
.pullcta p { margin: 0 auto 18px; max-width: 34em; color: var(--panel-ink); font-size: 17px; }
.pullcta .btn-primary { background: #3ecf8e; color: #06140d; text-decoration: none; } .pullcta .btn-primary:hover { background: #5fdba3; color: #06140d; }
.faqgroup { margin-top: 18px; border-top: 1px solid var(--border); }
.faqitem { padding: 18px 0; border-bottom: 1px solid var(--border); }
.faqitem__q { margin: 0; font-weight: 600; color: var(--ink); }
.faqitem__a { margin: 8px 0 0; }
.sources { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.6; color: var(--muted-fg); }
.nextpost { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); }
.nextpost a { color: var(--primary); font-weight: 500; text-decoration: none; } .nextpost a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 620px) { .blog { padding-top: 28px; } .prose { font-size: 16px; } .pullcta { padding: 26px 18px; } }
