/* blog.css: index and post pages.

   Tokens and type scale are the product's (app/web/src/system.css): the grey
   ramp, text tiers, 40/32/24/20 heading steps at regular weight, 16/1.5
   body, 12px legend, the grey-50 chip, and the app's own face, ABC Diatype.
   One container, one left edge: every block, wide or narrow, starts at the
   same x. */
:root {
  --white:#FFFFFF; --grey-10:#F7F6F5; --grey-50:#F0EFEE; --grey-100:#E7E6E5;
  --grey-200:#DBDBD9; --grey-300:#B1B1B0; --grey-400:#616060; --grey-500:#353534; --grey-600:#111111;
  --text:var(--grey-600); --text-secondary:var(--grey-400); --text-faint:var(--grey-300);
  --border:var(--grey-100); --border-soft:var(--grey-50);
  --accent:#0E5B3A; --accent-hover:#0A472D; --link:var(--grey-600);
  --font-display:'ABC Diatype','Helvetica Neue',Helvetica,Arial,sans-serif;
  --font-mono:'ABC Diatype Mono',ui-monospace,'SF Mono',Consolas,monospace;
  --measure:1160px; --gutter:28px;
  /* One reading measure in px, not ch: ch scales with each element's own
     size, so a 40px title would have run to twice the body's width. */
  --body-col:680px;
  --radius-card:16px; --radius-pill:999px;
  --space-inline:8px; --space-stack:12px; --space-row:16px; --space-block:24px; --space-section:48px; --space-page:72px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--white);color:var(--text);font-family:var(--font-display);
  font-size:16px;line-height:1.5;letter-spacing:-0.16px;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none}
.post p a,.post li a,.post-sum a{text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--grey-300)}
.post p a:hover,.post li a:hover{text-decoration-color:var(--text)}
a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* The site's base heading weight (landing.css --heading-weight: 560) at
   the nearest cut Diatype ships, Medium. */
h1,h2,h3{margin:0;font-weight:500;color:var(--text)}
.wrap{max-width:var(--measure);margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}

/* nav: the landing's, without a Blog item */
.nav{border-bottom:1px solid var(--border)}
.nav-row{display:flex;align-items:center;gap:26px;height:64px}
.wordmark{font-weight:600;letter-spacing:-0.03em;font-size:19px;color:var(--text)}
.nav-link{font-size:14px;color:var(--text-secondary)}
.nav-link:hover,.nav-link-current{color:var(--text)}
.nav-spacer{flex:1}
.nav-signin{font-size:14px;color:var(--text);margin-right:4px}
/* the landing's button, verbatim, so the header is the same header */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:36px;padding:0 16px;
  border:1px solid transparent;border-radius:2px;background:var(--accent);color:var(--white);
  font-family:var(--font-display);font-size:13.5px;font-weight:500;white-space:nowrap;cursor:pointer}
.btn:hover{background:var(--accent-hover)}

/* index */
.blog-head{padding:var(--space-page) 0 var(--space-section);max-width:var(--body-col)}
.blog-head h1{font-size:40px;line-height:1.2;letter-spacing:-1.2px}
.blog-head p{font-size:20px;line-height:1.6;letter-spacing:-0.2px;color:var(--text-secondary);margin:var(--space-row) 0 0}
.post-list{list-style:none;margin:0 0 var(--space-page);padding:0;border-top:1px solid var(--border)}
.post-list li{padding:var(--space-block) 0;border-bottom:1px solid var(--border);
  display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:var(--space-section);align-items:start}
.post-thumb{margin:0;border-radius:var(--radius-card);overflow:hidden;background:var(--grey-10)}
.post-thumb img{display:block;width:100%;height:auto}
.post-body{min-width:0}
.post-meta{margin:0 0 var(--space-inline);font-size:14px;line-height:1.4;letter-spacing:-0.14px;color:var(--text-secondary)}
.post-list h2{font-size:24px;line-height:1.35;letter-spacing:-0.48px;margin:0 0 var(--space-inline)}
.post-list h2 a:hover{color:var(--text-secondary)}
.post-sum{margin:0;color:var(--text-secondary);font-size:16px;line-height:1.5}

/* post */
/* The article is one centred reading column; the hero sits in it too, so
   the picture is the width of the words beneath it. */
.post{max-width:var(--body-col);margin:0 auto;padding:var(--space-section) 0 var(--space-page)}
.hero{margin:0 0 var(--space-section);border-radius:var(--radius-card);overflow:hidden;background:var(--grey-10)}
.hero img{display:block;width:100%;height:auto}
.post h1{font-size:40px;line-height:1.2;letter-spacing:-1.2px;margin:0 0 var(--space-block)}
.post .lede{font-size:20px;line-height:1.6;letter-spacing:-0.2px;color:var(--text-secondary);margin:0 0 var(--space-block)}
.post h2{font-size:24px;line-height:1.35;letter-spacing:-0.48px;margin:var(--space-section) 0 var(--space-row)}
.post h3{font-size:20px;line-height:1.6;letter-spacing:-0.4px;margin:var(--space-block) 0 var(--space-inline)}
.post p,.post li{margin:0 0 var(--space-row);color:var(--text)}
.post ul{padding-left:1.2em;margin:0 0 var(--space-row)}
.post strong{font-weight:500}
.post figure{margin:var(--space-block) 0 var(--space-section)}
.post figcaption{font-size:12px;line-height:1.3;color:var(--text-secondary);margin-top:var(--space-stack)}
.note{background:var(--grey-50);border-radius:10px;padding:var(--space-stack) var(--space-row);
  margin:var(--space-block) 0;font-size:14px;line-height:1.4;letter-spacing:-0.14px;color:var(--text)}
.note p:last-child{margin-bottom:0}
.scroll-x{overflow-x:auto}
table{width:100%;border-collapse:collapse;margin:0;font-variant-numeric:tabular-nums}
table.wide-t{min-width:640px}
th{font-size:13px;line-height:1.3;font-weight:400;color:var(--text-secondary);text-align:left;
  padding:0 var(--space-row) var(--space-stack) 0;border-bottom:1px solid var(--border);white-space:nowrap}
td{font-size:14px;line-height:1.4;letter-spacing:-0.14px;color:var(--text);padding:var(--space-stack) var(--space-row) var(--space-stack) 0;border-bottom:1px solid var(--border-soft)}
th.n,td.n{text-align:right}
tr.lead td{font-weight:500}
tr:last-child td{border-bottom:0}
pre{background:var(--grey-10);border:1px solid var(--border);color:var(--text);padding:var(--space-row);border-radius:10px;
  overflow-x:auto;font-family:var(--font-mono);font-size:12px;line-height:1.6;margin:0 0 var(--space-row)}
.chart .lb{font-family:var(--font-display);font-size:13px;fill:var(--text-secondary)}
.chart .avg{stroke:var(--grey-300);stroke-width:1}
.chart .lead{stroke:var(--grey-300);stroke-width:1}
.chart .ti{font-family:var(--font-display);font-size:14px;fill:var(--text-secondary)}
.chart .hi{font-family:var(--font-display);font-size:14px;font-weight:500;fill:var(--text)}
.chart .ax{stroke:var(--grey-200);stroke-width:1}
.chart .gr{stroke:var(--grey-50);stroke-width:1}
/* Vendor marks stand in for the points: ink for the named models, faded
   for the rest, so the hierarchy the dots carried still holds. */
.chart .mk{opacity:1}
.chart .mk-muted{opacity:.4}
.model{display:inline-flex;align-items:center;gap:8px}
.model img{display:block;width:14px;height:14px;opacity:.85}

/* sign-up band: the landing's, without its waitlist form */
/* In the reading column, like the article it follows: heading, sentence,
   then the actions on their own row. */
.cta{max-width:var(--body-col);margin:0 auto var(--space-page);background:var(--accent);border-radius:8px;color:#F4F2EC;padding:40px 44px}
.cta h2{font-size:32px;line-height:1.25;letter-spacing:-0.96px;color:inherit;margin:0}
.cta-sub{font-size:16px;line-height:1.5;opacity:.8;margin:var(--space-inline) 0 0}
.cta-actions{display:flex;align-items:center;gap:var(--space-block);flex-wrap:wrap;margin-top:var(--space-block)}
.cta .btn{height:44px;padding:0 22px;font-size:15px;background:var(--grey-600);color:#F4F2EC}
.cta .btn:hover{background:#000}
.cta-call{font-size:15px;color:inherit;text-decoration:underline;text-underline-offset:3px}
@media (max-width:760px){.cta{padding:28px 24px}.cta h2{font-size:24px;letter-spacing:-0.48px}}

/* footer. The mark is dots on a grid; the footer opens with that grid,
   dissolving downward into the row, so the page ends on the brand's own
   texture rather than a rule. One row, one baseline, three type tiers:
   ink for the links, secondary for the tagline, faint for the legal set. */
.footer{margin-top:var(--space-section)}
/* The mark's own ratio: a dot is just over half its pitch (r 62 on a 111
   grid). Six rows, the mark's five plus one, dissolving downward. */
.footer-dots{height:60px;
  background-image:radial-gradient(circle,var(--grey-200) 2.6px,transparent 2.8px);
  background-size:10px 10px;background-position:0 0;
  -webkit-mask-image:linear-gradient(to bottom,#000 0,rgba(0,0,0,.55) 50%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0,rgba(0,0,0,.55) 50%,transparent 100%)}
.footer-row{display:flex;align-items:center;gap:var(--space-block);padding-top:var(--space-block);padding-bottom:var(--space-section);flex-wrap:wrap}
.footer-tag{font-size:13px;line-height:1.3;color:var(--text-secondary)}
.footer-spacer{flex:1}
.footer-link{font-size:13px;line-height:1.3;color:var(--text)}
.footer-link:hover{color:var(--text-secondary)}
.footer-legal{font-size:13px;line-height:1.3;color:var(--text-faint)}
.footer-legal:hover{color:var(--text-secondary)}
.footer-copy{font-size:12px;line-height:1.3;color:var(--text-faint);font-family:var(--font-mono)}
@media (max-width:760px){.footer-row{gap:var(--space-row) var(--space-block)}.footer-spacer{display:none}}

@media (max-width:980px){
  .post-list li{grid-template-columns:1fr;gap:var(--space-row)}
  .post-thumb{max-width:360px}
}
@media (max-width:760px){
  .nav-row{height:auto;padding-top:14px;padding-bottom:14px;flex-wrap:wrap;gap:10px 22px}
  .nav-spacer{display:none}
  .blog-head{padding-top:var(--space-section)}
  .blog-head h1,.post h1{font-size:32px;line-height:1.25;letter-spacing:-0.96px}
  .post .lede,.blog-head p{font-size:18px}
}
