/* SWIPE Blog: index + post. Pairs with landing chrome; row styles live in landing-redesign.css. */
.journal-shell { max-width: 1360px; margin: 0 auto; padding: clamp(2rem, 6vw, 5rem) var(--gutter) 4rem; min-width: 0; }
.journal-title { font-weight: 800; letter-spacing: -0.06em; line-height: .85; font-size: clamp(3.4rem, 13vw, 11rem); margin-left: -0.04em; overflow-wrap: break-word; }
.post-header > .journal-dek { display: block; margin-top: 1.25rem; color: var(--text-secondary); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 60ch; }

/* Category chips */
.blog-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.blog-chip { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .4rem 1.1rem; border-radius: 99px; border: 1px solid var(--border-default); color: var(--text-secondary); text-decoration: none; font-family: var(--font-mono); font-weight: 500; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; transition: color .2s, border-color .2s; }
.blog-chip:hover { color: #fff; border-color: #fff; }
.blog-chip[aria-current] { color: #fff; border-color: #fff; background: #161616; }

/* Featured slot */
.blog-feature { display: block; margin-top: clamp(1.5rem, 4vw, 3rem); padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--border-default); border-radius: 24px; background: var(--surface-card); color: #fff; text-decoration: none; transition: border-color .3s; }
.blog-feature:hover, .blog-feature:focus-visible { border-color: rgba(255,255,255,.35); }
.blog-feature-title { display: block; margin-top: .9rem; font-weight: 800; letter-spacing: -0.045em; line-height: .95; font-size: clamp(2rem, 5.4vw, 4.6rem); max-width: 18ch; overflow-wrap: break-word; }
.blog-feature .journal-dek { display: block; margin-top: 1rem; color: var(--text-secondary); font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 60ch; }
.blog-feature-go { display: inline-flex; margin-top: 1.5rem; font-weight: 600; text-decoration: underline; text-decoration-color: #fff; text-decoration-thickness: 2px; text-underline-offset: 6px; }

.blog-pager { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.5rem; font-weight: 500; }
.blog-pager a { color: #fff; min-height: 2.75rem; display: inline-flex; align-items: center; text-underline-offset: 5px; text-decoration-color: #fff; }
.blog-pager-count { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; color: var(--text-secondary); }
.blog-empty { margin-top: 2.5rem; padding: 2.5rem 0; border-top: 1px solid var(--border-default); color: var(--text-secondary); }
.blog-empty a { color: #fff; display: inline-flex; margin-top: .75rem; text-underline-offset: 5px; text-decoration-color: #fff; }

/* Breadcrumbs: quiet, never default blue */
.blog-crumbs { padding-bottom: 0; }
.blog-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .6rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.blog-crumbs li + li::before { content: "/"; margin-right: .6rem; color: var(--text-muted); }
.blog-crumbs a { color: var(--text-secondary); text-decoration: none; display: inline-flex; min-height: 2.75rem; align-items: center; }
.blog-crumbs a:hover { color: #fff; }

/* Post */
.post-header { padding-top: clamp(1rem, 3vw, 2rem); padding-bottom: 0; }
.post-header h1 { margin-top: 1rem; font-weight: 800; letter-spacing: -0.045em; line-height: .95; font-size: clamp(2.2rem, 6vw, 5rem); max-width: 20ch; overflow-wrap: break-word; }
.post-layout { max-width: 1200px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 64rem) { .post-layout { grid-template-columns: 14rem minmax(0, 68ch); justify-content: space-between; } .post-layout.no-toc { grid-template-columns: minmax(0, 68ch); } }
.post-toc { min-width: 0; font-size: .9rem; }
.post-toc h2 { font-family: var(--font-mono); font-weight: 500; font-size: .72rem; letter-spacing: .12em; color: var(--text-secondary); margin-bottom: .75rem; }
.post-toc ol { list-style: none; border-left: 1px solid var(--border-default); }
.post-toc a { display: block; padding: .45rem 0 .45rem 1rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--text-secondary); text-decoration: none; }
.post-toc a:hover, .post-toc a:focus-visible, .post-toc a[aria-current] { color: #fff; border-left-color: #fff; }
@media (min-width: 64rem) { .post-toc { position: sticky; top: 2rem; align-self: start; max-height: calc(100dvh - 4rem); overflow: auto; padding-right: 1rem; } }
@media (max-width: 63.99rem) { .post-toc { border: 1px solid var(--border-default); border-radius: 14px; padding: 1rem; } }
.post-article { min-width: 0; }
.post-body { max-width: 68ch; font-size: 19px; line-height: 1.68; color: #e6e6e6; overflow-wrap: break-word; }
.post-body > * + * { margin-top: 1.2em; }
.post-body h2 { font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: #fff; margin-top: 2.4em; scroll-margin-top: 1.5rem; }
.post-body h3 { font-weight: 700; font-size: 1.3rem; color: #fff; margin-top: 1.8em; scroll-margin-top: 1.5rem; }
.post-body a { color: #fff; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.45); }
.post-body a:hover { text-decoration-color: #fff; }
.post-body ul { padding-left: 1.2em; }
.post-body li + li { margin-top: .4em; }
.post-body blockquote { border-left: 3px solid #fff; padding: .2em 0 .2em 1.25em; font-weight: 700; font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.2; letter-spacing: -0.03em; color: #fff; }
.post-body ol { list-style: none; counter-reset: step; padding: 0; }
.post-body ol > li { counter-increment: step; position: relative; padding: 1rem 0 1rem 3.5rem; border-top: 1px solid var(--border-default); }
.post-body ol > li::before { content: counter(step); position: absolute; left: 0; top: .6rem; font-weight: 800; font-size: 2.2rem; line-height: 1; letter-spacing: -0.05em; color: var(--text-secondary); }
.post-body img { display: block; max-width: 100%; height: auto; border-radius: 14px; }
.post-body code { font-family: var(--font-mono); font-size: .88em; }
.post-body table { width: 100%; border-collapse: collapse; font-size: .85em; }
.post-body th, .post-body td { min-width: 10rem; padding: 1rem; text-align: left; vertical-align: top; border: 1px solid var(--border-default); }
.post-table { overflow-x: auto; max-width: 100%; margin-block: 2rem; }

/* Mini deck, sharing the hero deck JS + controls */
.post-try { max-width: 68rem; margin: 2rem auto 4rem; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--border-default); border-radius: 24px; background: #000; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; overflow: hidden; }
.post-try h2 { font-weight: 800; letter-spacing: -0.04em; line-height: .95; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.post-try > p { color: var(--text-secondary); max-width: 44ch; }
.post-try .hero-deck { width: min(100%, 28rem); margin: 1rem auto 0; gap: 2.25rem; }
.post-try .mini-deck { width: min(72vw, 16rem); height: auto; aspect-ratio: 4 / 5; }
.mini-deck > .swipe-card.pos-1 { transform: translate(8px, 10px) rotate(5deg); }
.mini-deck > .swipe-card.pos-2 { transform: translate(-10px, 15px) rotate(-7deg); }
.post-try .distribution-cta .unified-cta-card { display: flex; flex-direction: row; width: auto; padding: .9rem 1.5rem; border-radius: 99px; }

.related-posts { max-width: 1200px; border-top: 1px solid var(--border-default); }
.related-posts h2, .blog-index .post-header .journal-title { font-family: var(--font-mono); font-weight: 500; letter-spacing: .12em; line-height: 1.4; font-size: .85rem; }
.post-figure { margin: 2rem 0; }
.post-figure img { display: block; width: 100%; height: auto; border-radius: 12px; }
.post-faq { border-top: 1px solid var(--border, #333); }
.post-faq summary { cursor: pointer; padding: 1.2rem 0; font-weight: 600; }
.post-faq summary:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.post-faq-answer { padding-bottom: 1rem; }
.post-neighbors { gap: 1.5rem; }
.post-neighbors a { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.post-toc .toc-l3 a { padding-left: 1.75rem; font-size: .85rem; }
.blog-rss { margin-left: auto; }
.mini-deck[hidden], .mini-done[hidden] { display: none !important; }
.deck-bar.is-done .deck-btn { visibility: hidden; }
.post-body p br, .post-try p br { content: ""; }

/* Longform body (blog). Legal & support share these values in legal-pages.cjs. */
.post-body { font-family: var(--font-stack); font-weight: 400; font-size: 17px; line-height: 1.65; color: #D6D6D6; max-width: 64ch; }
@media (min-width: 48rem) { .post-body { font-size: 18px; } }
.post-body > * + * { margin-top: 1.1em; }
.post-body a { color: #fff; text-decoration: underline; text-decoration-color: var(--accent-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-body a:hover { text-decoration-color: var(--accent-bright); }
.post-body ul { list-style: none; padding-left: 1.4em; }
.post-body ul > li { position: relative; }
.post-body ul > li::before { content: "-"; position: absolute; left: -1.4em; font-family: var(--font-mono); color: #9A9A9A; }
.post-body ol > li::before { font-family: var(--font-mono); font-weight: 400; font-size: 1rem; top: 1.05rem; letter-spacing: 0; color: #9A9A9A; }
.post-body blockquote { border-left: 2px solid var(--accent-primary); }
.post-faq-answer, .post-body li { overflow-wrap: break-word; }
