/* Future Foundry blog: article and list pages. Built by tools/build_blog.py. */
.post-wrap{max-width:760px}
.post-head{padding:140px 0 36px;background:radial-gradient(120% 80% at 70% 0%,var(--bg-2) 0%,var(--bg) 70%)}
.post-head h1{font-size:clamp(32px,4.6vw,48px);letter-spacing:-.03em;line-height:1.1;margin-top:14px;text-wrap:balance}
.post-back{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--hl-1)}
.post-back::before{content:"\2190"}
.post-meta{display:block;margin-top:16px;color:var(--dim);font-size:14px}
.post-body{padding-top:8px;padding-bottom:72px;font-size:18px;line-height:1.75;color:var(--text)}
.post-body p{margin-top:20px}
.post-body h2{font-size:clamp(24px,3vw,30px);margin-top:52px;line-height:1.2;text-wrap:balance}
.post-body h3{font-size:21px;margin-top:36px}
.post-body ol,.post-body ul{margin-top:20px;padding-left:1.4em}
.post-body li{margin-top:10px;padding-left:4px}
.post-body li::marker{color:var(--hl-1);font-weight:700}
.post-body a{color:var(--hl-1);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.post-body a:hover{text-decoration-thickness:2px}
.post-body strong{font-weight:700}
.post-cta{margin-top:56px;padding:32px;border-radius:24px;background:var(--surface);border:1px solid var(--blue-line);box-shadow:var(--shadow)}
.post-cta h2{margin-top:0}
.post-cta p:first-of-type{margin-top:14px}
.post-list{display:grid;gap:18px;padding-top:8px;padding-bottom:80px}
.post-card{display:block;padding:28px;border-radius:24px;background:var(--surface);border:1px solid var(--line);transition:border-color .2s,box-shadow .2s}
.post-card:hover{border-color:var(--blue-line);box-shadow:var(--shadow)}
.post-card .post-meta{margin-top:0}
.post-card h2{font-size:clamp(22px,2.6vw,26px);margin-top:10px;line-height:1.22;text-wrap:balance}
.post-card p{color:var(--muted);margin-top:10px}
.post-read{display:inline-flex;align-items:center;gap:8px;margin-top:16px;font-weight:700;color:var(--hl-1)}
.post-read svg{width:16px;height:16px}
@media (max-width:640px){
  .post-head{padding:112px 0 24px}
  .post-body{font-size:17px}
  .post-cta{padding:24px}
}
.post-lede{color:var(--muted);font-size:18px;margin-top:16px;max-width:620px}
.post-body blockquote{margin-top:22px;padding:20px 24px;border-left:3px solid var(--hl-1);background:var(--surface);border-radius:0 16px 16px 0}
.post-body blockquote p{margin-top:8px}
.post-body blockquote p:first-child{margin-top:0}
.post-table{margin-top:24px;overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.post-table table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.5}
.post-table th,.post-table td{text-align:left;vertical-align:top;padding:12px 16px;border-bottom:1px solid var(--line)}
.post-table th{font-family:"Plus Jakarta Sans",Manrope,sans-serif;font-weight:600;background:var(--surface-2)}
.post-table tr:last-child td{border-bottom:0}
@media (max-width:640px){.post-table thead{display:none}.post-table table,.post-table tbody,.post-table tr,.post-table td{display:block;width:100%}.post-table tr{padding:14px 16px;border-bottom:1px solid var(--line)}.post-table tr:last-child{border-bottom:0}.post-table td{padding:4px 0;border:0;font-size:15px}.post-table td::before{content:attr(data-label);display:block;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--hl-1);margin-top:6px}}
/* ---- template v2: hero, byline, short answer, figures, FAQ, related ---- */
.post-head-in{max-width:760px}
.post-head.has-hero .post-head-in{max-width:1200px;display:grid;gap:28px;align-items:center}
@media (min-width:980px){.post-head.has-hero .post-head-in{grid-template-columns:minmax(0,1fr) 520px;gap:56px}}
.post-crumbs{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--dim)}
.post-crumbs a{color:var(--hl-1);display:inline-block;padding:10px 0;margin:-10px 0}
.post-hero{margin:0;border-radius:24px;overflow:hidden;background:var(--surface-3);box-shadow:var(--shadow)}
.post-hero img,.post-fig img{width:100%;height:auto;display:block}
.post-byline{display:flex;align-items:center;gap:12px;margin-top:22px}
.post-byline .post-meta{margin-top:2px}
.post-face{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:none}
.post-face-blank{display:grid;place-items:center;background:var(--blue-soft);color:var(--hl-1);font-weight:700}
.post-name{display:block;font-weight:700;font-size:15px}
.post-role{display:block;font-size:13px;color:var(--muted)}
.post-answer{margin-top:8px;padding:22px 24px;border-radius:20px;background:var(--blue-soft);border:1px solid var(--blue-line)}
.post-answer-label{display:block;font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--hl-1)}
.post-answer p{margin-top:8px;font-size:19px;line-height:1.6;font-weight:600}
.post-fig{margin:32px 0 0}
.post-fig img{border-radius:18px;background:var(--surface-3)}
.post-fig figcaption{margin-top:10px;font-size:14px;color:var(--muted);line-height:1.5}
.post-faq{margin-top:56px}
.post-faq details{margin-top:12px;border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:0 20px}
.post-faq summary{display:flex;justify-content:space-between;gap:16px;align-items:center;cursor:pointer;padding:18px 0;font-weight:700;list-style:none}
.post-faq summary::-webkit-details-marker{display:none}
.post-faq summary svg{width:20px;height:20px;flex:none;transition:transform .2s}
.post-faq details[open] summary svg{transform:rotate(180deg)}
.post-faq details p{margin:0 0 18px}
.post-related{margin-top:56px}
.post-related-grid{display:grid;gap:16px;margin-top:20px}
@media (min-width:700px){.post-related-grid{grid-template-columns:1fr 1fr}}
.post-card.has-pic{display:grid;gap:16px;padding:16px}
.post-card-pic{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:16px;background:var(--surface-3)}
@media (min-width:700px){.post-list .post-card.has-pic{grid-template-columns:260px 1fr;align-items:center;padding:16px 28px 16px 16px}}
.post-related .post-card h3{font-size:19px;margin-top:8px;line-height:1.3}
@media (max-width:640px){.post-answer p{font-size:17px}}
.post-body a.post-card{text-decoration:none;color:inherit}
.post-body a.post-card .post-read{color:var(--hl-1)}
.post-checked{margin-top:6px;font-size:13px;font-weight:700;color:var(--ok)}
/* Grok Bot call to action: the closing block in the Grok Bot page's style (white page, living bots, app window) */
.post-body .gbc{position:relative;margin-top:64px;padding:40px 36px;border-radius:32px;background:radial-gradient(120% 90% at 85% 0%,#EEF3FE 0%,#FFFFFF 60%);border:1px solid var(--blue-line);box-shadow:0 30px 70px -40px rgba(19,80,232,.45);display:grid;grid-template-columns:1fr;gap:32px;overflow:hidden}
.gbc .gbot{display:inline-block;flex:none}
.gbc .gbot svg,.gbc-mini .gbot svg{display:block;width:100%;height:100%;overflow:visible}
.gbc-text{position:relative;z-index:1}
.post-body .gbc h2{margin-top:0;font-size:clamp(26px,3.4vw,34px);max-width:18ch}
.post-body .gbc p{color:var(--muted);font-size:17px;line-height:1.65;margin-top:14px;max-width:560px}
.post-body a.gbc-btn{margin-top:26px;color:#fff;text-decoration:none;height:52px;padding:0 26px;font-size:16px}
.gbc-btn svg{width:16px;height:16px}
.gbc-float{position:absolute;inset:0;pointer-events:none}
.gbc-float .gbot{position:absolute;animation:gbcFloat 6s ease-in-out infinite}
.gbc-float .gbot:nth-child(1){width:46px;height:46px;right:6%;top:26px}
.gbc-float .gbot:nth-child(2){width:34px;height:34px;right:20%;top:12px;animation-delay:-2s}
.gbc-float .gbot:nth-child(3){width:30px;height:30px;right:2%;top:96px;animation-delay:-4s}
@keyframes gbcFloat{50%{transform:translateY(-8px)}}
@media (prefers-reduced-motion:reduce){.gbc-float .gbot{animation:none}}
/* the app window: drawn, no words */
.gbc-app{position:relative;z-index:1;border-radius:20px;background:#0A0A0A;color:#fff;overflow:hidden;box-shadow:0 30px 70px -36px rgba(19,80,232,.6);font-family:Manrope,sans-serif}
.gbc-bar{display:flex;align-items:center;gap:7px;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.08)}
.gbc-bar>i{width:10px;height:10px;border-radius:50%;background:#3A3A3A}
.gbc-bar span{margin:0 auto;display:inline-flex;align-items:center;gap:7px;font-weight:600;font-size:13px;color:#D9D9D9;transform:translateX(-20px)}
.gbc-body{display:grid;grid-template-columns:150px 1fr;min-height:250px}
.gbc-side{border-right:1px solid rgba(255,255,255,.08);padding:14px 10px;display:flex;flex-direction:column;gap:6px}
.gbc-side-bot{display:flex;align-items:center;gap:10px;padding:8px;border-radius:12px}
.gbc-side-bot.on{background:#1B1B1B}
.gbc-side-bot .gbot{width:30px;height:30px}
.gbc-side-bot>i{flex:1;height:8px;border-radius:99px;background:#2A2A2A}
.gbc-side-bot.on>i{background:#3A3A3A}
.gbc-chat{padding:18px 20px 16px;display:flex;flex-direction:column;gap:14px}
.gbc-you{align-self:flex-end;width:62%;background:#1350E8;border-radius:16px;border-bottom-right-radius:5px;padding:12px 14px;display:grid;gap:7px}
.gbc-you i{height:7px;border-radius:99px;background:rgba(255,255,255,.55)}
.gbc-you i:last-child{width:60%}
.gbc-bot{display:flex;gap:10px;align-items:flex-start}
.gbc-bot .gbot{width:28px;height:28px;margin-top:2px}
.gbc-bot ul{list-style:none;margin:0;padding:10px;flex:1;max-width:84%;display:grid;gap:5px;background:#1B1B1B;border-radius:16px;border-top-left-radius:5px}
.gbc-bot li{display:grid;grid-template-columns:52px 1fr;gap:10px;align-items:center;background:#232323;border-radius:8px;padding:7px 10px}
.gbc-bot li i{height:7px;border-radius:99px;background:#3A3A3A}
.gbc-bot li i.k0{background:#FF9A6B}.gbc-bot li i.k1{background:#7FB6FF}.gbc-bot li i.k2{background:#6EE7A0}.gbc-bot li i.k3{background:#FF8FC5}.gbc-bot li i.k4{background:#FFC86B}
.gbc-input{margin-top:auto;border-radius:999px;background:#1B1B1B;padding:9px 10px 9px 16px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.gbc-input i{width:40%;height:7px;border-radius:99px;background:#333}
.gbc-input b{width:24px;height:24px;border-radius:50%;background:#fff;color:#0A0A0A;display:grid;place-items:center;font-size:13px}
@media (min-width:900px){
  .post-body .gbc{width:min(1040px,calc(100vw - 48px));margin-left:50%;transform:translateX(-50%);grid-template-columns:1fr 1.05fr;align-items:center;padding:52px 48px}
}
@media (max-width:640px){
  .post-body .gbc{padding:30px 20px 22px;border-radius:24px;gap:26px}
  .gbc-body{grid-template-columns:1fr;min-height:0}
  .gbc-side{display:none}
  .gbc-chat{padding:16px 14px 14px}
  .gbc-float .gbot:nth-child(2){display:none}
}
/* small version: the article's mid-article link line, in the writer's words */
.post-body .gbc-mini{display:flex;align-items:center;gap:18px;margin-top:30px;padding:18px 22px;border-radius:20px;background:linear-gradient(120deg,#EEF3FE,#FFFFFF 75%);border:1px solid var(--blue-line)}
.gbc-mini-bots{display:flex;flex:none}
.gbc-mini-bots .gbot{display:inline-block;width:34px;height:34px;margin-left:-8px}
.gbc-mini-bots .gbot:first-child{margin-left:0}
.post-body .gbc-mini p{margin:0;font-size:17px;line-height:1.55;color:var(--text)}
.post-body .gbc-mini a{font-weight:700;text-decoration:none;border-bottom:1.5px solid var(--blue-line)}
.post-body .gbc-mini a:hover{border-bottom-color:currentColor}
@media (max-width:480px){.post-body .gbc-mini{flex-direction:column;align-items:flex-start;gap:12px;padding:16px 18px}}

/* about the author (19 Nov 2026) */
.post-about{display:flex;gap:16px;align-items:flex-start;margin:40px 0 0;padding:20px;border:1px solid var(--line, #e3e8f2);border-radius:16px;background:#fff}
.post-about-face{width:72px;height:72px;border-radius:50%;object-fit:cover;flex:none}
.post-about-label{display:block;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.post-about-name{font-weight:700;margin:2px 0 4px}
.post-about p{margin:0}
.post-about p+p{margin-top:4px;font-size:15px;line-height:1.55;color:var(--muted)}
@media (max-width:480px){.post-about{padding:16px;gap:12px}.post-about-face{width:56px;height:56px}}
/* ---- redesign, 20 Nov 2026: list page (featured + filtered grid), wider hero, related row ---- */
.post-index-wrap{max-width:1160px}
.post-index{padding-top:40px;padding-bottom:88px}
.post-feature{display:grid;gap:0;border-radius:28px;overflow:hidden;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);transition:border-color .2s,transform .2s}
.post-feature:hover{border-color:var(--blue-line)}
.post-feature-pic{display:block;background:var(--surface-3);aspect-ratio:3/2;overflow:hidden}
.post-feature-pic img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.post-feature:hover .post-feature-pic img{transform:scale(1.03)}
.post-feature-text{display:flex;flex-direction:column;justify-content:center;padding:28px}
.post-feature h2{font-size:clamp(26px,3.2vw,38px);line-height:1.12;letter-spacing:-.025em;margin-top:12px;text-wrap:balance}
.post-feature p{color:var(--muted);margin-top:14px;font-size:17px;line-height:1.6}
@media (min-width:860px){.post-feature{grid-template-columns:1.15fr 1fr}.post-feature-pic{aspect-ratio:auto;min-height:380px}.post-feature-text{padding:44px 48px}}
.post-topic{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--hl-1)}
.post-chips{display:none;flex-wrap:wrap;gap:10px;margin:44px 0 22px}
.has-chips .post-chips{display:flex}
.post-chip{font:inherit;font-size:14.5px;font-weight:600;padding:10px 18px;min-height:44px;border-radius:999px;border:1px solid var(--line-2,var(--line));background:var(--surface);color:var(--text);cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.post-chip:hover{border-color:var(--blue-line)}
.post-chip[aria-pressed="true"]{background:var(--hl-1);border-color:var(--hl-1);color:#fff}
.post-grid{display:grid;gap:20px;margin-top:20px}
.has-chips .post-grid{margin-top:0}
@media (min-width:640px){.post-grid{grid-template-columns:1fr 1fr}}
@media (min-width:1000px){.post-grid{grid-template-columns:repeat(3,1fr)}}
.post-grid .post-card,.post-related .post-card{display:flex;flex-direction:column;padding:0;overflow:hidden;border-radius:22px}
.post-grid .post-card-pic,.post-related .post-card-pic{border-radius:0;aspect-ratio:3/2}
.post-grid .post-card-text,.post-related .post-card-text{display:flex;flex-direction:column;flex:1;padding:20px 22px 22px}
.post-grid .post-card h2{font-size:20px;line-height:1.28;margin-top:8px}
.post-grid .post-card p{font-size:15px;line-height:1.55;margin-top:8px}
.post-grid .post-card .post-meta,.post-related .post-card .post-meta{margin-top:auto;padding-top:14px;font-size:13px}
.post-card[hidden],.post-feature[hidden]{display:none}
/* article: hero sits under the title, wide */
.post-head.has-hero .post-head-in{max-width:1088px;display:block}
.post-head.has-hero .post-head-text{max-width:820px}
.post-head.has-hero .post-hero{margin-top:36px}
@media (min-width:980px){.post-head.has-hero .post-head-in{grid-template-columns:none}}
/* related: full-width row of three after the article */
.post-related{margin-top:0;padding:64px 0 88px;background:var(--bg-2);border-top:1px solid var(--line)}
.post-related .wrap{max-width:1160px}
.post-related h2{font-size:clamp(24px,3vw,30px)}
.post-related-grid{margin-top:22px}
@media (min-width:700px){.post-related-grid{grid-template-columns:repeat(3,1fr)}}
.post-related .post-card h3{font-size:18px;line-height:1.3;margin-top:8px}
.post-body{padding-bottom:80px}
/* Designer look-check, 20 Nov 2026 */
.post-head.has-hero .post-hero{aspect-ratio:1040/420}
.post-head.has-hero .post-hero picture{display:block;height:100%}
.post-head.has-hero .post-hero img{height:100%;object-fit:cover;object-position:50% 15%}
.post-meta,.post-card .post-meta{color:#4A5A7C}
.post-head .eyebrow{color:#4A5A7C}
/* ---- article layout draft, 20 Nov 2026: wide two-column article with a side rail ---- */
.post-head.post-head-wide .post-head-in{max-width:1160px}
.post-head.post-head-wide .post-hero{max-width:none}
.post-layout{max-width:1160px;padding-top:12px;padding-bottom:72px}
.post-layout .post-body{padding:0;max-width:760px;margin:0 auto}
.post-layout .post-body>p,.post-layout .post-body>h2,.post-layout .post-body>h3,.post-layout .post-body>ol,.post-layout .post-body>ul,.post-layout .post-body>blockquote{max-width:680px}
.post-layout .post-body h2{scroll-margin-top:96px}
.post-rail{display:none}
.post-toc-mini{margin:4px 0 24px;border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:0 18px}
.post-toc-mini summary{display:flex;justify-content:space-between;align-items:center;min-height:52px;cursor:pointer;font-weight:700;font-size:15px;list-style:none}
.post-toc-mini summary::-webkit-details-marker{display:none}
.post-toc-mini summary svg{width:18px;height:18px;transition:transform .2s}
.post-toc-mini[open] summary svg{transform:rotate(180deg)}
.post-toc{list-style:none;margin:0;padding:0 0 14px;counter-reset:t}
.post-toc li{margin:0;padding:0}
.post-toc a{display:block;padding:8px 0;font-size:14.5px;line-height:1.4;color:var(--muted);text-decoration:none;border-left:2px solid transparent}
.post-toc a:hover{color:var(--hl-1)}
.post-gbc-wrap{max-width:1160px}
.post-gbc-wrap .post-gbc{max-width:760px;margin:0 auto;padding:0 0 72px}
.post-gbc-wrap .post-gbc .gbc{margin-top:0}
@media (min-width:1024px){
  .post-layout{display:grid;grid-template-columns:minmax(0,760px) 280px;justify-content:space-between;gap:64px;align-items:start}
  .post-layout .post-body{margin:0}
  .post-toc-mini{display:none}
  .post-rail{display:block;position:sticky;top:96px}
  .post-rail-in{padding:4px 0}
  .post-rail-label{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#4A5A7C;margin:0 0 6px}
  .post-rail .post-toc{border-left:1px solid var(--line);padding:0}
  .post-rail .post-toc a{padding:7px 0 7px 16px;margin-left:-1px}
  .post-rail .post-toc a.on{color:var(--hl-1);border-left-color:var(--hl-1);font-weight:600}
  .post-rail-meta{margin:16px 0 0;font-size:13.5px;color:#4A5A7C}
  .post-rail-gb{display:flex;flex-direction:column;gap:6px;margin-top:24px;padding:20px;border-radius:20px;background:var(--surface);border:1px solid var(--blue-line);box-shadow:var(--shadow);text-decoration:none;color:var(--text);transition:transform .2s,box-shadow .2s}
  .post-rail-gb:hover{transform:translateY(-2px)}
  .post-rail-gb b{font-family:"Plus Jakarta Sans",sans-serif;font-size:18px}
  .post-rail-gb>span:not(.post-rail-bots):not(.post-rail-go){font-size:14.5px;color:var(--muted);line-height:1.5}
  .post-rail-bots{display:flex;gap:6px;margin-bottom:4px}
  .post-rail-bots .gbot{width:30px;height:30px}
  .post-rail-go{display:inline-flex;align-items:center;gap:6px;margin-top:6px;font-weight:700;color:var(--hl-1);font-size:14.5px}
  .post-rail-go svg{width:15px;height:15px}
}
/* article layout draft v2 (Designer): photo in the main column, rail from the same top edge */
.post-head.post-head-wide{padding-bottom:28px}
.post-hero-col{margin:0 0 28px;border-radius:24px;overflow:hidden;background:var(--surface-3);box-shadow:var(--shadow);aspect-ratio:760/400}
.post-hero-col picture{display:block;height:100%}
.post-hero-col img{width:100%;height:100%;object-fit:cover;object-position:50% 15%;display:block}
@media (max-width:640px){.post-hero-col{aspect-ratio:16/10}}
