@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* shared site header — identical to homepage .top/.brand/.btn/.price-chip */
.top{position:sticky;top:0;z-index:40;background:rgba(251,250,248,.9);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid transparent;transition:border-color .2s;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;-webkit-font-smoothing:antialiased}
.top.on{border-color:var(--soft)}
.top .w{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;position:relative;height:64px;gap:16px;max-width:1160px;width:100%;margin:0 auto;padding:0 22px;box-sizing:border-box}
.top .brand{justify-self:start}
.top nav{display:flex;align-items:center;justify-content:center;gap:22px;grid-column:2;justify-self:center}
.top .w>div{justify-self:end;min-width:0}
.top nav a{text-decoration:none;font-weight:700;font-size:16px;line-height:1.55;color:inherit}
.top nav a:hover{color:var(--red)}
.top nav a.active,.top nav a[aria-current="page"]{color:var(--red-d,#C9322F)}
@media (max-width:700px){
  .top .w{height:48px;min-height:48px;gap:12px;padding-top:4px;padding-bottom:4px}
  .top nav{display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;gap:12px!important;min-width:0;grid-column:2;justify-self:center}
  .top nav a{display:inline-flex;align-items:center;min-height:40px;flex:none;white-space:nowrap}
  .top .btn,.top .price-chip{display:none}
  .top .w>div:has(.btn),.top .w>div:has(.price-chip){display:none}
  .brand img{width:30px;height:30px}
  .brand .brand-text{display:none}
}
.brand{font-weight:900;letter-spacing:-.02em;text-decoration:none;font-size:17px;line-height:1.55;color:inherit}
.brand{display:flex;align-items:center;gap:10px;white-space:nowrap}
.brand img{display:block;width:38px;height:38px;border-radius:9px;flex:none}
@media (max-width:640px){.brand .brand-text{display:none}}
.top .btn{white-space:nowrap;flex:none;display:none;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:0 24px;background:var(--red);color:#fff;font-weight:900;font-size:16px;letter-spacing:-.01em;text-decoration:none;border:2px solid var(--ink);border-radius:12px;box-shadow:-3px 3px 0 var(--ink);transition:transform .15s ease,box-shadow .15s ease,background .15s,opacity .2s;opacity:0;pointer-events:none;font-family:inherit}
.top .btn:hover{background:var(--red-d,#C9322F);transform:translate(-2px,2px);box-shadow:-2px 2px 0 var(--ink)}
.top .btn:focus-visible{outline:3px solid var(--red);outline-offset:4px}
.top .price-chip{display:none;font-weight:700;font-size:15px;color:var(--mut);margin-right:14px;opacity:0;transition:opacity .2s;line-height:1.55}
@media (min-width:760px){
 .top .btn,.top .price-chip{display:inline-flex}
 .top .price-chip{opacity:0;transition:opacity .2s}
 .top.on .price-chip{opacity:1;align-items:center;height:44px}
 .top .btn{opacity:0;pointer-events:none;transition:opacity .2s}
 .top.on .btn{opacity:1;pointer-events:auto}
}
/* Desktop <1160: keep the price chip/CTA at its natural size; center tabs in the leftover space */
@media (min-width:760px) and (max-width:1159px){
  .top .w{grid-template-columns:auto 1fr auto}
}
/* At the 1160 cap, true-center the tabs in the bar; CTA stays right at natural width */
@media (min-width:1160px){
  .top .w{display:flex;justify-content:space-between;gap:0}
  .top nav{position:absolute;left:50%;transform:translateX(-50%);grid-column:auto}
  .top .w>div{display:flex;align-items:center;flex:none;min-width:max-content;gap:0}
  .top .price-chip{margin-right:0}
}
.skip{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}.skip:focus{position:fixed;left:16px;top:16px;z-index:100;width:auto;height:auto;padding:10px 14px;background:#1E120A;color:#fff;font-weight:800;text-decoration:none;border-radius:8px}

/* article tables: same look as the newer posts' inline table styles (those still take precedence) */
:where(article) table{width:100%;border-collapse:collapse;background:#fff;font-size:16px;line-height:1.45;margin:var(--s4,29px) 0}
:where(article) th,:where(article) td{border:1px solid var(--soft,#ECE6DC);padding:12px;text-align:left;vertical-align:top}
:where(article) th{background:var(--soft,#ECE6DC);font-weight:800}
/* mobile: let wide article tables and code blocks scroll inside the column instead of widening the page */
@media (max-width:700px){
  :where(article) :not(.table-scroll) > table,:where(article) > table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  :where(article) table th,:where(article) table td{min-width:120px}
  :where(article) pre{max-width:100%;overflow-x:auto}
}
