/* The blog's posts (content/blog/*.md → i18n/blogmd.py). The values are the
   ones the posts carried inline before November 2026's move to Markdown, so
   the pages look as they did. Linked with ?v=<hash>, so a change reaches
   readers at once despite the CDN's cache. */

.post-main{position:relative;overflow:hidden}
.post-glow{position:absolute;top:-200px;left:50%;transform:translateX(-50%);width:740px;height:520px;max-width:120vw;background:radial-gradient(50% 50% at 50% 50%, rgba(255,106,61,0.22), rgba(255,106,61,0) 70%);filter:blur(16px);pointer-events:none;z-index:0}
.post{position:relative;z-index:1;max-width:720px;margin:0 auto;padding:64px 24px 24px}
.post a{color:#FF6A3D}
.post a.post-back{font-size:14px;color:#8A8A8A;transition:color .15s ease}
.post strong{color:#E6E6E6;font-weight:600}
.post-kicker{font-family:ui-monospace,Menlo,monospace;font-size:12px;letter-spacing:0.18em;text-transform:uppercase;color:#FF6A3D;margin:28px 0 0}
.post h1{font-family:Unbounded,'Arial Black',sans-serif;font-weight:700;font-size:clamp(32px,4.6vw,48px);line-height:1.06;letter-spacing:-0.025em;margin:16px 0 0}

/* the text */
.post>p{font-size:16.5px;line-height:1.72;color:#B0B0B0;margin:14px 0 0}
.post>.b-lead{font-family:Unbounded,'Arial Black',sans-serif;font-weight:600;font-size:clamp(19px,2.4vw,24px);line-height:1.3;color:#fff;margin:28px 0 0;letter-spacing:-0.01em}
.post>.b-lead+p{margin-top:24px}
.post>.b-small{font-size:14px;line-height:1.6;color:#7E7E7E;margin:14px 0 0}
.post>.b-small+.b-small{margin-top:8px}
.b-muted{color:#8A8A8A}
.post>h2{font-family:Unbounded,'Arial Black',sans-serif;font-weight:600;font-size:21px;margin:40px 0 0;letter-spacing:-0.01em}
.post>h2[id]{scroll-margin-top:84px}
.post>ul,.post>ol{font-size:16.5px;line-height:1.72;color:#B0B0B0;margin:14px 0 0;padding-left:22px}
.post>ul>li,.post>ol>li{margin:6px 0 0}

/* ```stats */
.b-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:22px 0 0}
.b-stat{background:#101010;border:1px solid #262626;border-radius:14px;padding:18px 18px 16px}
.b-stat-v{font-family:Unbounded,'Arial Black',sans-serif;font-weight:700;font-size:30px;letter-spacing:-0.02em;color:#fff}
.b-stat-l{font-size:14px;line-height:1.5;color:#9A9A9A;margin:6px 0 0}
.post>.b-stats+p,.post>.b-cards+p,.post>.b-rows+p,.post>.b-values+p{margin-top:22px}

/* ```cards */
.b-cards{display:flex;flex-direction:column;gap:12px;margin:22px 0 0}
.b-card{background:#101010;border:1px solid #262626;border-left:3px solid var(--tone);border-radius:14px;padding:20px 22px}
.b-card-label{font-family:ui-monospace,Menlo,monospace;font-size:12px;letter-spacing:0.14em;text-transform:uppercase;color:var(--tone)}
.b-card-main{font-size:16px;line-height:1.6;color:#E6E6E6;margin:10px 0 0}
.b-card-note{font-size:15px;line-height:1.6;color:#9A9A9A;margin:8px 0 0}
.t-green{--tone:#4ADE80}.t-yellow{--tone:#FFD60A}.t-red{--tone:#FF5A5F}.t-accent{--tone:#FF6A3D}.t-grey{--tone:#9A9A9A}.t-silver{--tone:#A8A8A8}

/* ```table */
.b-tbl{margin:22px 0 0;border:1px solid #262626;border-radius:14px;overflow:hidden;background:#101010}
.b-tbl table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14.5px;line-height:1.55}
.b-tbl th,.b-tbl td{padding:12px clamp(8px,2.4vw,14px);border-top:1px solid #262626;vertical-align:top;text-align:left;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto}
.b-tbl thead th,.b-tbl thead td{border-top:0}
.b-tbl thead th{font-family:Unbounded,'Arial Black',sans-serif;font-weight:600;font-size:13.5px;color:#fff}
.b-tbl td.b-corner{width:28%}
.b-tbl tbody th{font-weight:600;color:#E6E6E6}
.b-tbl tbody td{color:#B0B0B0}

/* ```sources */
.b-sources{margin:44px 0 0;padding:22px 0 0;border-top:1px solid #1E1E1E}
.b-sources-h{font-family:ui-monospace,Menlo,monospace;font-size:12px;letter-spacing:0.14em;text-transform:uppercase;color:#7E7E7E}
.b-sources ul{font-size:14px;line-height:1.6;color:#8A8A8A;margin:10px 0 0;padding-left:20px}
.b-sources li{margin:6px 0 0}
.b-sources-note{font-size:13.5px;line-height:1.6;color:#6E6E6E;margin:14px 0 0}

/* ```cta */
.b-cta{margin:44px 0 0;background:#101010;border:1px solid #262626;border-radius:16px;padding:30px;box-shadow:0 0 50px rgba(255,106,61,0.12)}
.b-cta h2{font-family:Unbounded,'Arial Black',sans-serif;font-weight:600;font-size:21px;margin:0;letter-spacing:-0.01em}
.b-cta p{font-size:16px;line-height:1.7;color:#B0B0B0;margin:12px 0 22px}
.b-cta .appstore-badge{display:inline-flex;align-items:center}
.b-cta .appstore-badge img{display:block;height:44px;width:auto}

/* ```formula */
.b-formula{margin:18px 0 0;background:#101010;border:1px solid #262626;border-radius:14px;padding:20px 22px;font-family:ui-monospace,Menlo,monospace;font-size:15px;line-height:1.7;color:#E6E6E6}

/* ```rows */
.b-rows{margin:18px 0 0;border-bottom:1px solid #1E1E1E}
.b-row{display:grid;grid-template-columns:118px 1fr;gap:16px;padding:14px 0;border-top:1px solid #1E1E1E}
.b-row-l{font-family:ui-monospace,Menlo,monospace;font-size:12.5px;letter-spacing:0.06em;color:#FF6A3D;padding-top:3px}
.b-row-t{font-size:16px;line-height:1.62;color:#B0B0B0}

/* ```values */
.b-values{margin:18px 0 0;border-bottom:1px solid #1E1E1E}
.b-value{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:baseline;padding:13px 0;border-top:1px solid #1E1E1E}
.b-value-l{font-size:16px;line-height:1.5;color:#E6E6E6}
.b-value-v{font-family:ui-monospace,Menlo,monospace;font-size:14px;color:var(--tone);white-space:nowrap}
@media (max-width:480px){.b-value{grid-template-columns:1fr;gap:2px}.b-value-v{white-space:normal}}

/* ```bars */
.b-bars{display:flex;flex-direction:column;gap:9px;margin:22px 0 0}
.b-bar{display:grid;grid-template-columns:minmax(92px,32%) 1fr 44px;align-items:center;gap:12px}
.b-bar-l{font-size:15px;line-height:1.35;color:#E6E6E6}
.b-bar-track{height:10px;border-radius:5px;background:#1E1E1E}
.b-bar-fill{height:100%;border-radius:5px;background:#FF6A3D}
.b-bar-n{font-family:ui-monospace,Menlo,monospace;font-size:13px;color:#9A9A9A;text-align:right}

/* ```terms */
.post>.b-terms{font-size:16.5px;line-height:1.72;color:#B0B0B0;margin:6px 0 0;padding-left:0;list-style:none}
.post>.b-terms>li{margin:14px 0 0;scroll-margin-top:84px}

/* ```entries (the cards themselves are site.css's .sc) */
.b-entries{margin:14px 0 0;border-bottom:1px solid #1E1E1E}

/* ```warn */
.b-warn{margin:40px 0 0;background:#140A0B;border:1px solid #4A1F22;border-radius:16px;padding:26px 26px 24px}
.b-warn>h2{font-family:Unbounded,'Arial Black',sans-serif;font-weight:600;font-size:21px;margin:0;letter-spacing:-0.01em;color:#FF5A5F}
.b-warn>p{font-size:16.5px;line-height:1.72;color:#C8C8C8;margin:14px 0 0}
.b-warn>.b-stats{margin:20px 0 0}
.b-warn>.b-stats+p{margin-top:20px}
.b-warn .b-stat{background:#0B0B0B;border-color:#3A1C1E}
.b-warn a{color:#FF8A8D}
.b-warn strong{color:#fff}

/* ```pairs */
.b-pairs{margin:22px 0 0;display:grid;gap:22px}
.b-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.b-pair figure{margin:0}
.b-pair img{display:block;width:100%;height:auto;border-radius:12px;background:#fff}
.b-pair figcaption{font-size:13.5px;line-height:1.45;color:#8A8A8A;margin:8px 0 0}

/* ```youtube, ```vimeo, ```cover */
.yt{position:relative;margin:24px 0 0;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#111}
.yt a,.yt iframe{position:absolute;inset:0;display:block;width:100%;height:100%;border:0}
.yt img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease,filter .25s ease;filter:brightness(.82)}
.yt img.fit{object-fit:contain;filter:none}
.yt a:hover img{transform:scale(1.02);filter:brightness(.92)}
.yt a:hover img.fit{filter:none}
.yt a:focus-visible{outline:2px solid #FF6A3D;outline-offset:-2px}
.yt-play{position:absolute;left:50%;top:50%;width:76px;height:76px;margin:-38px 0 0 -38px;border-radius:50%;background:#FF6A3D;box-shadow:0 6px 24px rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center}
.yt-play svg{width:30px;height:30px;margin-left:5px;fill:#fff}
.yt-play.corner{left:auto;top:auto;right:22px;bottom:22px;margin:0}
.yt-tag{position:absolute;right:14px;bottom:14px;padding:8px 13px;border-radius:999px;background:rgba(12,12,12,.82);border:1px solid rgba(255,255,255,.18);color:#fff;font-size:13px;font-weight:600;line-height:1.2}
@media (max-width:600px){.yt-play{width:60px;height:60px;margin:-30px 0 0 -30px}.yt-play svg{width:24px;height:24px}.yt-play.corner{right:14px;bottom:14px;margin:0}.yt-tag{right:10px;bottom:10px;font-size:12px}}

/* ```gallery */
.glb-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:26px 0 0}
.glb-item{display:block;aspect-ratio:1;border-radius:10px;overflow:hidden;background:#161616}
.glb-item img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 30%;transition:transform .2s ease}
.glb-item:hover img{transform:scale(1.04)}
.glb-item:focus-visible{outline:2px solid #FF6A3D;outline-offset:2px}
.glb{position:fixed;inset:0;z-index:1000;background:rgba(0,0,0,.97);display:flex;align-items:center;justify-content:center;padding:64px 70px 72px;touch-action:pan-y}
.glb[hidden]{display:none}
.glb-fig{margin:0;display:flex;flex-direction:column;align-items:center;max-width:100%;max-height:100%}
.glb-img{display:block;max-width:100%;max-height:calc(100vh - 190px);object-fit:contain;border-radius:8px}
.glb-cap{color:#B0B0B0;font-size:14px;line-height:1.45;margin:12px 0 0;text-align:center;max-width:720px}
.glb button{position:absolute;display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#fff;font-size:26px;line-height:1;cursor:pointer}
.glb button:hover{background:rgba(255,255,255,.16)}
.glb-close{top:14px;right:14px}
.glb-prev{left:12px;top:50%;transform:translateY(-50%)}
.glb-next{right:12px;top:50%;transform:translateY(-50%)}
.glb-count{position:absolute;top:28px;left:20px;color:#8A8A8A;font:12px ui-monospace,Menlo,monospace;letter-spacing:.14em}
@media (max-width:600px){.glb-grid{grid-template-columns:repeat(2,1fr)}.glb{padding:60px 12px 84px}.glb-img{max-height:calc(100vh - 210px)}.glb-prev,.glb-next{top:auto;bottom:18px;transform:none}.glb-prev{left:calc(50% - 58px)}.glb-next{right:calc(50% - 58px)}}

/* the list, blog/index.html (the cards' frame is site.css's .post-card) */
.blog-list{position:relative;z-index:1;max-width:720px;margin:0 auto;padding:80px 24px 24px}
.blog-kicker{font-family:ui-monospace,Menlo,monospace;font-size:12px;letter-spacing:0.18em;text-transform:uppercase;color:#FF6A3D}
.blog-list h1{font-family:Unbounded,'Arial Black',sans-serif;font-weight:700;font-size:clamp(34px,5vw,52px);line-height:1.04;letter-spacing:-0.025em;margin:16px 0 0}
.blog-intro{font-size:16.5px;line-height:1.72;color:#B0B0B0;margin:24px 0 0}
#posts{display:flex;flex-direction:column;gap:16px;margin:44px 0 0}
.post-card time{font-family:ui-monospace,Menlo,monospace;font-size:12px;letter-spacing:0.14em;text-transform:uppercase;color:#8A8A8A}
.post-card h2{font-family:Unbounded,'Arial Black',sans-serif;font-weight:600;font-size:24px;line-height:1.2;letter-spacing:-0.015em;margin:12px 0 0;color:#fff}
.post-card p{font-size:15.5px;line-height:1.65;color:#A8A8A8;margin:10px 0 0}
.post-card-more{display:inline-block;margin:16px 0 0;font-size:14.5px;font-weight:600;color:#FF6A3D}
/* ```figure: one picture across the column, its caption under it */
.b-figure{margin:26px 0 0}
.b-figure img{display:block;width:100%;height:auto;border-radius:16px;background:#111}
.b-figure figcaption{font-size:14px;line-height:1.5;color:#8A8A8A;margin:10px 2px 0}
