/* untrod.app/blog (MKT-43). Transcribed from Ru's Claude Design files Blog, Blog Post, Blog Post
   List, Blog Author and Blog CTA (project 6776d608). Header and footer: web/sitenav.py. Also loaded
   by the CMS for its preview (.post.preview). */
html, body { margin: 0; background: var(--surface-base); -webkit-text-size-adjust: 100%; }
* { box-sizing: border-box; }
.blog-page { color: var(--text-primary); font-family: var(--font-body); }
.blog-wrap a, .post a { color: var(--text-accent); text-decoration: none; }
.blog-wrap a:hover, .post a:hover { color: var(--accent-pressed); text-decoration: underline; }
.blog-page .sfoot { margin-top: clamp(64px, 9vw, 112px); }

.blog-wrap { max-width: 960px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }
.kicker { display: inline-flex; align-items: center; gap: 6px; font: 700 12px/16px var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--text-accent); }
.sep { width: 4px; height: 4px; border-radius: 999px; background: var(--line-strong); flex: none; }
.ds { position: absolute; inset: 0; }

/* ── Index ── */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 64px; padding: clamp(28px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); }
.hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.hero h1 { margin: 0; font: 600 clamp(36px, 6.4vw, 58px)/1.04 var(--font-display); letter-spacing: -.02em; text-wrap: balance; }
.hero p { margin: 0; font-size: clamp(17px, 2vw, 20px); line-height: 1.5; color: var(--text-secondary); text-wrap: pretty; max-width: 30em; }
.blog-page .rss { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding-top: 4px; font: 600 14px/1 var(--font-display); color: var(--text-secondary); }
.hero-art { flex: 1 1 300px; max-width: 440px; min-width: 0; position: relative; height: clamp(180px, 22vw, 250px); border-radius: var(--radius-l); overflow: hidden; background: var(--map-land); box-shadow: var(--shadow-card); }
.legend { position: absolute; left: 14px; bottom: 14px; z-index: 1; height: 40px; padding: 0 14px 0 6px; border-radius: 999px; display: flex; align-items: center; gap: 8px; background: var(--surface-raised); box-shadow: var(--shadow-float); font: italic 600 13px/16px var(--font-body); color: var(--text-secondary); }
.legend .pin { width: 28px; height: 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--orange-500, var(--accent)); color: #fff; }
.all { display: flex; flex-direction: column; gap: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 20px; }
.blog-page .chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; margin-bottom: 3px; border-radius: 999px; white-space: nowrap; font: 800 15px/1 var(--font-display); letter-spacing: -.01em; background: var(--surface-raised); color: var(--text-primary); box-shadow: inset 0 0 0 1.5px var(--line-subtle), 0 3px 0 var(--line-subtle); transition: all var(--dur-fast) var(--ease-out); }
.blog-page .chip:hover { color: var(--text-primary); text-decoration: none; }
.blog-page .chip.on { background: var(--accent-wash); color: var(--text-accent); box-shadow: inset 0 0 0 2px var(--accent), 0 3px 0 color-mix(in oklch, var(--accent) 45%, transparent); }
.chip span { font-weight: 600; font-size: 13px; opacity: .55; }
.list-head { margin: 0; padding-bottom: 8px; font: 700 12px/16px var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); }
.empty { margin: 0; padding: 28px 0; border-top: 1px solid var(--line-hairline); font-size: 17px; color: var(--text-secondary); }

/* Post list: full rows and compact cards */
.rows { display: flex; flex-direction: column; }
.blog-page .row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; padding: 28px 0; border-top: 1px solid var(--line-hairline); color: var(--text-primary); text-decoration: none; }
.blog-page .row:hover { text-decoration: none; color: var(--text-primary); }
.row-art, .card-art { position: relative; overflow: hidden; background: var(--map-land); }
.row-art { flex: 1 1 240px; height: 176px; border-radius: var(--radius-m); box-shadow: var(--shadow-card); }
.row-art img, .card-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.row-text { flex: 3 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.row-text h2 { margin: 0; font: 600 clamp(22px, 2.4vw, 27px)/1.2 var(--font-display); letter-spacing: -.01em; color: var(--text-primary); text-wrap: balance; }
.row:hover h2 { color: var(--text-accent); }
.row-text p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--text-secondary); text-wrap: pretty; max-width: 36em; }
.row-text .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-top: 4px; font-size: 14px; line-height: 18px; color: var(--text-secondary); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.blog-page .card { display: flex; flex-direction: column; border-radius: var(--radius-m); background: var(--surface-card); box-shadow: var(--shadow-card); overflow: hidden; color: var(--text-primary); text-decoration: none; }
.blog-page .card:hover { text-decoration: none; color: var(--text-primary); }
.card-art { height: 128px; }
.card-text { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.card-text .kicker { font-size: 11px; }
.card-text h3 { margin: 0; font: 600 19px/1.25 var(--font-display); color: var(--text-primary); text-wrap: balance; }
.card-text .meta { font-size: 14px; line-height: 18px; color: var(--text-secondary); }

/* ── Post ── */
.post-cols { display: flex; justify-content: center; gap: 40px; padding-top: clamp(20px, 4vw, 40px); }
.toc { flex: 0 0 176px; align-self: flex-start; position: sticky; top: 88px; margin-top: 188px; display: flex; flex-direction: column; gap: 14px; }
.toc > span { font: 700 12px/16px var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); }
.toc nav { display: flex; flex-direction: column; gap: 2px; }
.blog-page .toc a { display: flex; align-items: center; gap: 10px; padding: 7px 0; font: 600 14px/1.3 var(--font-display); color: var(--text-secondary); text-decoration: none; }
.toc a i { flex: none; width: 10px; height: 10px; border-radius: 999px; border: 2px dashed var(--line-strong); }
.blog-page .toc a.on { color: var(--text-primary); }
.toc a.on i { border: 2.5px solid var(--accent); background: var(--accent); }
@media (max-width: 999px) { .toc { display: none; } }

.post { flex: 0 1 680px; min-width: 0; color: var(--text-primary); font-family: var(--font-body); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 14px; line-height: 20px; color: var(--text-secondary); }
.crumbs a { font-weight: 600; }
.crumbs > span[aria-hidden] { color: var(--text-tertiary); }
.crumbs.top { padding-top: clamp(20px, 4vw, 40px); }
.post > .kicker { margin-top: 22px; }
.post h1 { margin: 10px 0 0; font: 600 clamp(34px, 5.6vw, 52px)/1.06 var(--font-display); letter-spacing: -.02em; text-wrap: balance; }
.post > nav + h1 { margin-top: 18px; }
.post h1.untitled { color: var(--text-tertiary); }
.answer { margin-top: 24px; padding: 22px 24px 24px; border-radius: var(--radius-m); background: var(--surface-card); box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 10px; }
.answer p { margin: 0; font-size: 19px; line-height: 1.6; color: var(--text-primary); text-wrap: pretty; }
.byline { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 15px; line-height: 20px; color: var(--text-secondary); }
.post .byline a { font: 600 15px/20px var(--font-display); color: var(--text-primary); }
.avatar { flex: none; border-radius: 999px; overflow: hidden; display: inline-flex; background: var(--blue-500, #4a6cf7); box-shadow: 0 0 0 2px var(--surface-card); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.body { margin-top: 44px; padding-top: 36px; border-top: 2px dashed var(--line-subtle); display: flex; flex-direction: column; gap: 22px; }
.body p { margin: 0; font-size: 19px; line-height: 1.7; text-wrap: pretty; }
.body p.hint { font: italic 600 15px/1.5 var(--font-body); color: var(--text-secondary); }
.body h2, .faq h2 { margin: 28px 0 0; font: 600 clamp(26px, 3.6vw, 32px)/1.15 var(--font-display); letter-spacing: -.015em; scroll-margin-top: 80px; text-wrap: balance; }
.body h3 { margin: 6px 0 0; font: 600 23px/1.25 var(--font-display); }
.body a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.post code { font: 500 .86em/1 var(--font-mono); padding: 3px 7px; border-radius: 7px; background: var(--surface-sunken); color: var(--text-primary); }
.stat { margin: 12px 0; padding: 28px clamp(22px, 4vw, 32px) 26px; border-radius: var(--radius-l); background: var(--surface-card); box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 10px; }
.stat-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.stat-num { font: 700 clamp(72px, 12vw, 104px)/.9 var(--font-numeral); letter-spacing: -.03em; color: var(--walked); font-variant-numeric: tabular-nums; }
.stat-label { font: 600 clamp(24px, 3.4vw, 32px)/1.1 var(--font-display); color: var(--text-primary); }
.stat-rule { border-top: 2px dashed var(--line-subtle); margin: 8px 0 4px; }
.body p.stat-note { font: italic 600 15px/1.5 var(--font-body); color: var(--text-secondary); }
.body figure { margin: 12px 0; display: flex; flex-direction: column; gap: 10px; }
.fig-map, .fig-img { position: relative; border-radius: var(--radius-m); overflow: hidden; background: var(--map-land); box-shadow: var(--shadow-card); }
.fig-map { height: clamp(240px, 40vw, 360px); }
.fig-img img { display: block; width: 100%; height: auto; }
.body figcaption, .table + figcaption { font: italic 600 14px/1.45 var(--font-body); color: var(--text-secondary); padding: 0 4px; }
.table { overflow-x: auto; border-radius: var(--radius-m); background: var(--surface-card); box-shadow: var(--shadow-card); }
.table table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 16px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.table th { text-align: left; padding: 14px 20px; font: 600 14px/1.3 var(--font-display); color: var(--text-secondary); border-bottom: 1px solid var(--line-subtle); }
.table td { padding: 13px 20px; border-bottom: 1px solid var(--line-hairline); }
.table tr:last-child td { border-bottom: 0; }
.steps, .dots { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.dots { gap: 10px; }
.steps li, .dots li { display: flex; gap: 14px; font-size: 19px; line-height: 1.6; }
.steps li > span:last-child, .dots li > span:last-child { text-wrap: pretty; }
.steps .num { flex: none; width: 30px; height: 30px; margin-top: 1px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-wash-strong); color: var(--text-accent); font: 700 15px/1 var(--font-display); }
.dots .dot { flex: none; width: 11px; height: 11px; margin-top: 10px; border-radius: 999px; border: 2.5px solid var(--accent); }
.body blockquote { margin: 14px 0; padding: 0 0 0 clamp(20px, 4vw, 36px); display: flex; flex-direction: column; gap: 10px; }
.body blockquote .q { font: 700 56px/.6 var(--font-display); color: var(--text-accent); height: 24px; }
.body blockquote p { font: 500 clamp(21px, 2.6vw, 24px)/1.45 var(--font-display); color: var(--text-primary); }
.body blockquote footer { font-size: 15px; line-height: 20px; color: var(--text-secondary); }

.faq { margin-top: 56px; display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 80px; }
.faq h2 { margin: 0; }
.faq-box { border-radius: var(--radius-m); background: var(--surface-card); box-shadow: var(--shadow-card); padding: 4px clamp(18px, 3vw, 26px); }
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--line-hairline); display: flex; flex-direction: column; gap: 8px; }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { margin: 0; font: 600 19px/1.3 var(--font-display); color: var(--text-primary); text-wrap: balance; }
.faq-item p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-secondary); text-wrap: pretty; }

.author-card { margin-top: 40px; padding: 24px; border-radius: var(--radius-m); background: var(--surface-card); box-shadow: var(--shadow-card); display: flex; flex-wrap: wrap; align-items: flex-start; gap: 18px 20px; }
.author-card > div { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.author-card .label { font: 700 12px/16px var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); }
.post .author-card .name { font: 600 22px/1.2 var(--font-display); color: var(--text-primary); }
.author-card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-secondary); text-wrap: pretty; }
.author-card .links { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 8px; }
.author-card .links a { display: inline-flex; align-items: center; gap: 6px; font: 600 14px/20px var(--font-display); }

.after { margin-top: 64px; }
.more { margin-top: 64px; display: flex; flex-direction: column; gap: 18px; }
.more-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.more-head h2 { margin: 0; font: 600 clamp(24px, 3vw, 28px)/1.15 var(--font-display); }
.more-head a { font: 600 15px/20px var(--font-display); }

/* ── CTA band (Blog CTA) ── */
.bcta { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--orange-600); box-shadow: 0 4px 0 var(--orange-700); padding: clamp(24px, 4vw, 40px) clamp(22px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; color: #fff; }
.bcta-lines { position: absolute; inset: 0; pointer-events: none; opacity: .12; }
.bcta-lines i { position: absolute; border-radius: 999px; background: #fff; }
.bcta-lines i:nth-child(1) { left: -5%; right: -5%; top: 38%; height: 5px; transform: rotate(-6deg); }
.bcta-lines i:nth-child(2) { left: 42%; top: -20%; bottom: -20%; width: 5px; transform: rotate(14deg); }
.bcta-lines i:nth-child(3) { left: 30%; right: -10%; top: 78%; height: 3px; transform: rotate(4deg); }
.bcta-lines i:nth-child(4) { left: 76%; top: -20%; bottom: -20%; width: 3px; transform: rotate(-10deg); }
.bcta-art { position: relative; flex: none; width: 132px; height: 132px; display: flex; align-items: flex-end; justify-content: center; }
.bcta-art .disc { position: absolute; inset: 6px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.bcta-art .mascot { position: relative; width: 84px; height: 120px; }
.bcta-art .mascot img { width: 84px; height: 120px; object-fit: contain; }
.bcta-text { position: relative; flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.bcta h2 { margin: 0; font: 600 clamp(26px, 3.4vw, 34px)/1.1 var(--font-display); letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.bcta p { margin: 0; font-size: 17px; line-height: 1.45; color: #fff; text-wrap: pretty; }
.bcta p.small { font-size: 14px; }
.blog-page .bcta-btn { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 28px; border-radius: 999px; white-space: nowrap; font: 600 17px/1 var(--font-display); letter-spacing: -.01em; background: var(--surface-raised); color: var(--text-primary); box-shadow: inset 0 0 0 1.5px var(--line-subtle), 0 4px 0 var(--line-subtle); transition: transform 90ms var(--ease-out), box-shadow 90ms var(--ease-out); }
.blog-page .bcta-btn:hover { color: var(--text-primary); text-decoration: none; }
.bcta-btn:active { transform: translateY(4px); box-shadow: inset 0 0 0 1.5px var(--line-subtle); }

/* ── Author ── */
.profile { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; padding: clamp(24px, 4vw, 40px) 0 clamp(40px, 6vw, 64px); }
.portrait { position: relative; flex: none; width: clamp(150px, 20vw, 200px); height: clamp(150px, 20vw, 200px); }
.portrait .ring { position: absolute; inset: -14px; border-radius: 999px; border: 2px dashed var(--line-subtle); }
.portrait img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 999px; box-shadow: 0 0 0 4px var(--surface-raised), 0 4px 0 4px var(--lip-neutral); }
.profile-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.profile-text h1 { margin: 0; font: 600 clamp(36px, 6vw, 56px)/1.04 var(--font-display); letter-spacing: -.02em; }
.profile-text p { margin: 0; font-size: clamp(17px, 2vw, 19px); line-height: 1.6; color: var(--text-primary); text-wrap: pretty; max-width: 34em; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.blog-page .pills a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--surface-card); box-shadow: var(--shadow-card); font: 600 14px/1 var(--font-display); color: var(--text-primary); }
.blog-page .pills a:hover { text-decoration: none; color: var(--text-accent); }
