/* The blog's index and its posts. The nav and the footer come from /chrome.js; the colours and
   type are the other pages' (lassos, 404), with a narrower column for reading. */
body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:#0B0A0C;color:#FFFFFF;font-family:InterVariable,Inter,system-ui,sans-serif;font-feature-settings:"ss01","cv11";-webkit-font-smoothing:antialiased}
a{color:#FFAE3A;text-decoration:none}a:hover{color:#FFD36B}
main{flex:1;max-width:1200px;width:100%;margin:0 auto;padding:144px 28px 96px;box-sizing:border-box}
.mono{margin:0;font:500 13px ui-monospace,'SF Mono',monospace;letter-spacing:.08em;color:#FFAE3A}
h1{margin:14px 0 0;font:600 clamp(38px,5.6vw,64px)/1.02 InterDisplay,InterVariable,Inter,sans-serif;letter-spacing:-.045em;max-width:820px;text-wrap:balance}
.lede,.empty{margin:20px 0 0;font-size:18px;line-height:1.6;color:rgba(235,235,245,.7);max-width:640px;text-wrap:pretty}
.byline{margin:16px 0 0;font-size:14px;color:rgba(235,235,245,.55)}
code{font:.9em ui-monospace,'SF Mono',monospace;background:rgba(255,255,255,.07);border-radius:6px;padding:.1em .35em}

/* The index: one post per row, newest first. */
.posts{list-style:none;margin:48px 0 0;padding:0;max-width:820px}
.entry{padding:28px 0;box-shadow:inset 0 -.5px 0 rgba(255,255,255,.12)}
.posts li:first-child .entry{box-shadow:inset 0 .5px 0 rgba(255,255,255,.12),inset 0 -.5px 0 rgba(255,255,255,.12)}
.entry h2{margin:10px 0 0;font:600 clamp(24px,3vw,30px)/1.15 InterDisplay,InterVariable,Inter,sans-serif;letter-spacing:-.03em;text-wrap:balance}
.entry h2 a{color:#FFFFFF}.entry h2 a:hover{color:#FFD36B}
.entry > p:not(.mono):not(.byline){margin:10px 0 0;font-size:17px;line-height:1.55;color:rgba(235,235,245,.7);text-wrap:pretty}
.entry .byline{margin-top:12px}

/* A post: a reading column, with the takeaway and (on narrow screens) the contents as cards above the body. */
.post article{max-width:720px}
.crumbs{margin:0 0 28px;font-size:14px;color:rgba(235,235,245,.5)}
.crumbs a{color:rgba(235,235,245,.72)}.crumbs a:hover{color:#FFFFFF}
.crumbs [aria-current]{color:rgba(235,235,245,.5)}
.draft{display:inline-block;margin:0 0 16px;border-radius:999px;padding:4px 10px;font:500 12px ui-monospace,'SF Mono',monospace;color:#141417;background:#FFAE3A}
.takeaway,.toc{margin:40px 0 0;border-radius:20px;padding:22px 24px;background:rgba(255,255,255,.035);box-shadow:inset 0 0 0 .5px rgba(255,255,255,.12)}
.toc{margin-top:14px}
.takeaway h2{margin:0}
.takeaway ul{margin:12px 0 0;padding-left:20px;font-size:16px;line-height:1.6;color:rgba(235,235,245,.78)}
.takeaway li+li{margin-top:6px}
.takeaway strong{color:#FFFFFF}
.toc h2{margin:0;font-size:15px;font-weight:600;color:#FFFFFF}
.toc ol{list-style:none;margin:10px 0 0;padding:0;font-size:15px;line-height:1.45}
.toc li+li{margin-top:12px}
.toc a{color:rgba(235,235,245,.65)}.toc a:hover{color:#FFFFFF}
/* On a wide screen the top of the post (breadcrumb, title, takeaway) runs the full width, as on
   rea.tools; below it the article splits into two columns, and the contents come into view to the
   left of the body as you scroll down to it, then stay there. */
@media (min-width:1100px){
  .post article{max-width:none;display:grid;grid-template-columns:200px minmax(0,760px);column-gap:72px}
  .post article > *{grid-column:2}
  .post article > .post-head,.post article > .takeaway{grid-column:1 / -1;max-width:960px}
  .post article > .toc{grid-column:1;grid-row:3 / span 50;align-self:start;position:sticky;top:112px;margin:64px 0 0;padding:0;background:none;box-shadow:none}
  .post .more{margin-left:272px}
}
.body,.sources{font-size:18px;line-height:1.7;color:rgba(235,235,245,.82)}
.body h2,.sources h2{margin:56px 0 0;font:600 clamp(24px,3vw,30px)/1.2 InterDisplay,InterVariable,Inter,sans-serif;letter-spacing:-.03em;color:#FFFFFF;text-wrap:balance;scroll-margin-top:88px}
.body h3{margin:36px 0 0;font-size:20px;letter-spacing:-.015em;color:#FFFFFF;scroll-margin-top:88px}
.body p,.body ul,.body ol,.body blockquote,.body pre,.body figure,.sources ul{margin:18px 0 0;text-wrap:pretty}
.body li+li,.sources li+li{margin-top:6px}
.body strong{color:#FFFFFF}
.body a{text-decoration:underline;text-decoration-color:rgba(255,174,58,.4);text-underline-offset:3px}
.body blockquote{padding:2px 0 2px 20px;box-shadow:inset 2px 0 0 #FFAE3A;color:rgba(235,235,245,.72)}
.body blockquote.feature{margin:40px 0 22px;padding:26px 0 4px;box-shadow:inset 0 3px 0 #FFAE3A;font-size:clamp(22px,2.4vw,28px);line-height:1.38;font-weight:500;letter-spacing:-.01em;color:#fff;text-wrap:balance}
.body blockquote.feature p{margin:0}
.body pre{overflow-x:auto;border-radius:14px;padding:16px 18px;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 .5px rgba(255,255,255,.12);font-size:14px;line-height:1.6}
.body pre code{background:none;padding:0}
.body figure img,.body figure video{display:block;max-width:100%;height:auto;border-radius:14px}
.body figcaption{margin-top:10px;font-size:14px;color:rgba(235,235,245,.55)}
.sources{font-size:15px}
.sources h2{font-size:20px}
.more{margin:56px 0 0;font-size:16px}
@media (max-width:639px){main{padding:112px 20px 72px}.takeaway,.toc{padding:18px 18px}.body,.sources{font-size:17px}}
