/* ---------- type ------------------------------------------------------
   IBM Plex is served from this domain rather than Google's CDN. A font
   request to a third party carries the visitor's IP address there before
   they have agreed to anything, which is the kind of quiet transfer this
   site exists to point out. Self-hosting also drops two DNS lookups and
   two TLS handshakes from every page load.
   IBM Plex is licensed under the SIL Open Font License 1.1; the licence
   travels with the files at /fonts/OFL.txt. */
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400;font-display:swap;
  src:url('/fonts/IBMPlexSans-Regular.woff2') format('woff2')}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:500;font-display:swap;
  src:url('/fonts/IBMPlexSans-Medium.woff2') format('woff2')}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:600;font-display:swap;
  src:url('/fonts/IBMPlexSans-SemiBold.woff2') format('woff2')}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:700;font-display:swap;
  src:url('/fonts/IBMPlexSans-Bold.woff2') format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;
  src:url('/fonts/IBMPlexMono-Regular.woff2') format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;
  src:url('/fonts/IBMPlexMono-Medium.woff2') format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:600;font-display:swap;
  src:url('/fonts/IBMPlexMono-SemiBold.woff2') format('woff2')}

/* Trufend blog: standalone article pages.
   Same v4 tokens as the site, in a file both the posts and the index share so
   the browser caches it once. Deliberately light: these are reading pages. */
:root{
  --bg:#FFFFFF; --surface:#F6F8FB; --surface-2:#EDF2F7;
  --line:#DCE4EE; --line-soft:#EAEFF5; --line-strong:#C3CFDE;
  --text:#0B1220; --text-dim:#46566B; --text-faint:#5E6C82;
  --accent:#0891C9; --accent-ink:#056F99; --accent-btn:#057AA8;
  --accent-btn-hover:#046688; --accent-soft:#E6F5FC; --accent-line:#AFDCF0;
  --pass:#12864A; --pass-soft:#E7F6ED; --pass-line:#A8DCC0;
  --fail:#C2281F; --fail-soft:#FDECEA; --fail-line:#F2B8B2;
  --warn:#9A6206; --warn-soft:#FDF3E2; --warn-line:#EFD09B;
  --shadow-sm:0 1px 2px rgba(11,18,32,.06),0 4px 12px rgba(11,18,32,.05);
  color-scheme:light;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--text);
  font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:16px;line-height:1.62;letter-spacing:-.005em;-webkit-font-smoothing:antialiased}
a{color:var(--accent-ink)}
.mono{font-family:'IBM Plex Mono','SFMono-Regular',Consolas,monospace;letter-spacing:0}
.wrap{max-width:780px;margin:0 auto;padding:0 28px}
.wrap-wide{max-width:1180px;margin:0 auto;padding:0 32px}

/* nav */
.site-nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);
  border-bottom:1px solid var(--line);backdrop-filter:blur(16px) saturate(130%)}
.nav-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand{display:flex;align-items:center;text-decoration:none;color:var(--text)}
.brand-lockup{display:block;height:50px;width:auto}
/* the mark is four pieces so it can be recoloured for a dark background,
   where the navy half of the stem would otherwise vanish */
.brand-lockup .bl-word{fill:var(--text)}
.brand-lockup .bl-bar-a{fill:#7FCDEC}
.brand-lockup .bl-bar-b{fill:#079CD7}
.brand-lockup .bl-stem-a{fill:#0880B0}
.brand-lockup .bl-stem-b{fill:#053552}
.nav-links{display:flex;align-items:center;gap:30px;font-size:15px}
.nav-links a{color:var(--text-dim);text-decoration:none;font-weight:500;padding:31px 0 29px;
  border-bottom:2px solid transparent}
.nav-links a:hover,.nav-links a.active{color:var(--text)}
.nav-links a.active{border-bottom-color:var(--accent)}
.nav-cta{display:inline-flex;align-items:center;background:var(--accent-btn);color:#fff;
  border-radius:9px;font-weight:700;font-size:14px;padding:11px 18px;text-decoration:none}
.nav-cta:hover{background:var(--accent-btn-hover)}

/* article */
.post-head{padding:64px 0 26px;background:var(--surface);border-bottom:1px solid var(--line-soft)}
.crumbs{font-size:12.5px;color:var(--text-faint);margin:0 0 16px}
.crumbs a{color:var(--text-faint);text-decoration:none}
.crumbs a:hover{color:var(--accent-ink);text-decoration:underline}
.post-head h1{font-size:clamp(32px,4.4vw,46px);line-height:1.08;letter-spacing:-.035em;
  font-weight:700;margin:0 0 16px;max-width:20ch}
.post-meta{display:flex;gap:16px;flex-wrap:wrap;font-size:12.5px;color:var(--text-faint);
  letter-spacing:.04em}
.post-standfirst{font-size:19px;line-height:1.6;color:var(--text-dim);margin:18px 0 0;max-width:62ch}

/* hero art: width/height on the img reserve the box, so nothing shifts */
.post-hero{margin:0;padding:30px 0 0}
.post-hero picture{display:block}
.post-hero img{display:block;width:100%;height:auto;border-radius:12px;
  border:1px solid var(--line-soft);background:#0B1220}

.post-body{padding:38px 0 8px}
.post-body p{font-size:17px;line-height:1.8;color:#22303F;margin:0 0 20px}
.post-body h2{font-size:27px;line-height:1.2;letter-spacing:-.028em;margin:44px 0 14px;color:var(--text)}
.post-body h3{font-size:20px;line-height:1.3;letter-spacing:-.018em;margin:32px 0 10px;color:var(--text)}
.post-body ul,.post-body ol{margin:0 0 20px;padding-left:22px;font-size:17px;line-height:1.75;color:#22303F}
.post-body li+li{margin-top:9px}
.post-body strong{color:var(--text)}
.post-body code{font-family:'IBM Plex Mono',monospace;font-size:14px;background:var(--surface-2);
  border:1px solid var(--line);border-radius:4px;padding:1px 5px;color:var(--text)}
.post-body pre{background:#0B1220;color:#E5E9F0;border-radius:10px;padding:18px 20px;overflow-x:auto;
  font-family:'IBM Plex Mono',monospace;font-size:13.5px;line-height:1.7;margin:0 0 22px}
.post-body pre code{background:none;border:0;padding:0;color:inherit;font-size:inherit}
.post-body blockquote{margin:0 0 22px;padding:16px 20px;background:var(--surface);
  border-left:3px solid var(--accent);border-radius:0 8px 8px 0;color:var(--text-dim);font-size:16px}
.post-body table{width:100%;border-collapse:collapse;margin:0 0 22px;font-size:15px}
.post-body th,.post-body td{text-align:left;padding:11px 13px;border-bottom:1px solid var(--line)}
.post-body th{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--text-faint)}

.scope-note{margin:34px 0;padding:18px 20px;background:var(--warn-soft);
  border:1px solid var(--warn-line);border-left:3px solid var(--warn);border-radius:9px;
  font-size:15px;line-height:1.7;color:#4A3C1E}
.scope-note strong{color:#3A2F14}

/* diagrams inside a post. Each SVG is drawn on a fixed viewBox and scales to
   the column, so one drawing serves a phone and a desktop. The words in them
   are real text: selectable, searchable, and reached by a screen reader
   through the title and desc each figure carries. */
.post-figure{margin:36px 0 34px}
.post-figure svg{display:block;width:100%;height:auto;border:1px solid var(--line);
  border-radius:11px;background:var(--surface);overflow:hidden}
.post-figure figcaption{margin-top:11px;font-size:14.5px;line-height:1.65;color:var(--text-faint)}
.post-figure figcaption b{color:var(--text-dim);font-weight:600}
.dg-ink{fill:var(--text)}
.dg-dim{fill:var(--text-dim)}
.dg-faint{fill:var(--text-faint)}
.dg-accent{fill:var(--accent-ink)}
.dg-white{fill:#FFFFFF}
.dg-line{stroke:var(--line-strong);fill:none}
.dg-arrow{stroke:var(--accent-btn);fill:none}
.dg-box{fill:var(--bg);stroke:var(--line-strong)}
.dg-box-soft{fill:var(--accent-soft);stroke:var(--accent-line)}
.dg-box-fill{fill:var(--accent-btn);stroke:none}
.dg-box-warn{fill:var(--warn-soft);stroke:var(--warn-line)}
.dg-box-pass{fill:var(--pass-soft);stroke:var(--pass-line)}
.dg-t{font-family:'IBM Plex Sans',system-ui,sans-serif;font-size:13px;letter-spacing:-.005em}
.dg-t-sm{font-family:'IBM Plex Sans',system-ui,sans-serif;font-size:11.5px;letter-spacing:0}
.dg-t-lg{font-family:'IBM Plex Sans',system-ui,sans-serif;font-size:15.5px;font-weight:600;
  letter-spacing:-.012em}
.dg-t-cap{font-family:'IBM Plex Sans',system-ui,sans-serif;font-size:10.5px;font-weight:600;
  letter-spacing:.08em}
.dg-b{font-weight:600}

.post-cta{margin:40px 0 0;padding:26px 28px;border-radius:13px;background:var(--surface);
  border:1px solid var(--line)}
.post-cta h3{margin:0 0 8px;font-size:19px;letter-spacing:-.02em}
.post-cta p{margin:0 0 16px;font-size:15px;color:var(--text-dim);line-height:1.65}
.post-cta a{display:inline-flex;align-items:center;background:var(--accent-btn);color:#fff;
  border-radius:9px;font-weight:700;font-size:14.5px;padding:12px 20px;text-decoration:none}
.post-cta a:hover{background:var(--accent-btn-hover)}

.related{margin:46px 0 0;padding-top:28px;border-top:1px solid var(--line)}
.related h3{font:700 12px/1.4 'IBM Plex Sans',sans-serif;letter-spacing:.12em;text-transform:uppercase;
  color:var(--text-faint);margin:0 0 16px}
.related ul{list-style:none;margin:0;padding:0}
.related li{border-bottom:1px solid var(--line-soft)}
.related li:last-child{border-bottom:0}
.related a{display:block;padding:14px 0;text-decoration:none;color:var(--text);font-weight:600;font-size:16px}
.related a:hover{color:var(--accent-ink)}
.related span{display:block;font-weight:400;font-size:14px;color:var(--text-dim);margin-top:3px;line-height:1.5}

/* index */
.blog-head{padding:64px 0 38px;background:var(--surface);border-bottom:1px solid var(--line-soft)}
.blog-head h1{font-size:clamp(34px,4.4vw,48px);line-height:1.06;letter-spacing:-.04em;margin:0 0 14px}
.blog-head p{font-size:17px;color:var(--text-dim);margin:0;max-width:58ch;line-height:1.7}
/* the section has a name of its own, so the eyebrow says whose it is */
.blog-eyebrow{display:flex;align-items:center;gap:10px;margin:0 0 12px;
  font:700 11px/1 'IBM Plex Sans',sans-serif;letter-spacing:.14em;color:var(--accent-ink)}
.blog-eyebrow span{flex:0 0 22px;height:1px;background:var(--accent-line)}
.post-list{padding:40px 0 20px;display:grid;gap:16px}
.post-card{display:grid;grid-template-columns:232px 1fr;gap:24px;align-items:center;
  padding:20px;border:1px solid var(--line);border-radius:12px;
  text-decoration:none;background:var(--bg);box-shadow:var(--shadow-sm);
  transition:border-color .18s ease,transform .18s ease}
.post-card:hover{border-color:var(--accent);transform:translateY(-2px)}
.post-card .thumb{display:block;border-radius:8px;overflow:hidden;
  border:1px solid var(--line-soft);background:#0B1220}
.post-card .thumb picture{display:block}
/* a post whose artwork has not been made yet: hold the slot, stay quiet */
.post-card .thumb-none{aspect-ratio:1200/630;background:
  linear-gradient(140deg,#0B1220 0%,#101926 100%)}
.post-card .thumb img{display:block;width:100%;height:auto}
.post-card .card-text{min-width:0}
.post-card .date{display:block;font:600 11px/1 'IBM Plex Sans',sans-serif;letter-spacing:.08em;
  color:var(--text-faint);margin-bottom:12px}
.post-card h2{font-size:21px;line-height:1.28;margin:0 0 8px;color:var(--text);letter-spacing:-.02em}
.post-card .desc{display:block;font-size:15px;line-height:1.65;color:var(--text-dim)}

/* footer */
.site-footer{background:#0B1220;color:#C0CBD8;padding:48px 0 32px;margin-top:64px}
/* same blue mark as the header, wordmark in white for the dark panel */
.site-footer .brand-lockup .bl-word{fill:#FFFFFF}
.site-footer p{font-size:14px;margin:14px 0 0;max-width:46ch;line-height:1.65}
.footer-bottom{margin-top:28px;padding-top:20px;border-top:1px solid #213044;
  font-size:12.5px;color:#8A9AAD}
.site-footer a{color:#C0CBD8}

@media (max-width:760px){
  .wrap,.wrap-wide{padding:0 20px}
  .site-nav{position:relative}
  .nav-inner{min-height:64px;flex-wrap:wrap;gap:14px;padding:12px 20px}
  .brand-lockup{height:42px}
  .nav-links{order:3;width:100%;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:4px;font-size:14px}
  .nav-links a{padding:10px 0}
  .post-head{padding:40px 0 22px}
  .post-hero{padding:22px 0 0}
  .post-body p,.post-body ul,.post-body ol{font-size:16.5px}
  .post-body h2{font-size:24px}
  .post-card{grid-template-columns:1fr;gap:16px;padding:16px}
  /* a three-column table has to give back its padding on a phone, or the
     longest unbreakable phrase in it pushes the whole page sideways */
  .post-body table{font-size:13.5px}
  .post-body th,.post-body td{padding:9px 7px;overflow-wrap:break-word}
}

@media (max-width:460px){
  /* the bar keeps its gutter now, so the row has less to play with: the mark
     and the button give back just enough to stay on one line */
  .brand-lockup{height:36px}
  .nav-cta{padding:8px 13px;font-size:12.5px}
  .nav-links{gap:10px 12px;font-size:13.5px;flex-wrap:wrap}
  .nav-links a{white-space:nowrap}
}

@media (min-width:761px) and (max-width:900px){
  .post-card{grid-template-columns:180px 1fr;gap:18px}
}

/* Free Tools nav dropdown. The trigger is a real link to /tools/ so it works
   with JavaScript disabled; the panel is progressive enhancement. */
.nav-drop{position:relative}
.nav-drop > a{display:inline-flex;align-items:center;gap:6px}
.nav-drop > a::after{content:"";width:5px;height:5px;border-right:1.6px solid currentColor;
  border-bottom:1.6px solid currentColor;transform:rotate(45deg) translateY(-2px);opacity:.75}
.nav-panel{position:absolute;top:100%;left:-14px;min-width:288px;background:var(--bg);
  border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 44px rgba(11,18,32,.14);
  padding:8px;display:none;z-index:60}
.nav-drop.open .nav-panel{display:block}
.nav-panel a{display:block;padding:10px 12px;border-radius:8px;border-bottom:0;
  font-size:14px;font-weight:600;color:var(--text);text-decoration:none}
.nav-panel a small{display:block;font-weight:400;font-size:12.5px;color:var(--text-faint);margin-top:2px;line-height:1.45}
.nav-panel a:hover,.nav-panel a:focus-visible{background:var(--surface);color:var(--accent-ink)}
@media (max-width:760px){
  .nav-drop{position:static}
  .nav-panel{position:static;min-width:0;box-shadow:none;margin:4px 0 8px;width:100%}
}

/* ---- share ------------------------------------------------------------
   Two placements. A quiet icon row beside the byline for the reader who
   already knows they want to pass it on, and a labelled row after the
   article for the one who has just decided. Plain links to each network's
   own endpoint: no third-party script, nothing watching the reader. */
.share{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.sh{display:inline-flex;align-items:center;justify-content:center;
  width:30px;height:30px;border-radius:7px;border:1px solid transparent;
  background:transparent;color:var(--text-faint);text-decoration:none;cursor:pointer;
  padding:0;position:relative;
  transition:color .14s ease,background .14s ease,border-color .14s ease}
.sh svg{width:15px;height:15px;fill:currentColor;display:block}
.sh:hover{color:var(--accent-ink);background:var(--accent-soft);border-color:var(--accent-line)}
.sh:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* beside the byline */
.share-top{margin-left:auto;gap:2px}
.share-top .sh{width:28px;height:28px}
.share-top .sh svg{width:14px;height:14px}

/* after the article */
.share-end{margin:36px 0 0;padding-top:20px;border-top:1px solid var(--line);
  justify-content:flex-start;gap:14px}
.share-end .share-label{font:700 11.5px/1 'IBM Plex Sans',sans-serif;letter-spacing:.14em;
  text-transform:uppercase;color:var(--text-faint)}
.share-end .share-links{display:flex;gap:4px;flex-wrap:wrap}
.sh-copy.copied{color:#1E7B42;background:#E9F7EF;border-color:#A9DCBE}
.sh-copy.copied::after{content:"Copied";position:absolute;bottom:calc(100% + 7px);left:50%;
  transform:translateX(-50%);font:600 11px/1 'IBM Plex Sans',sans-serif;letter-spacing:.05em;
  background:var(--text);color:#fff;padding:5px 8px;border-radius:5px;white-space:nowrap}

/* ---- index categories -------------------------------------------------
   Eighteen posts in one column is a wall. Pills give a way in, the numbered
   section heads give a sense of place, and the scroll-spy keeps the two in
   step without the reader having to look for themselves. */
.cat-jump{position:sticky;top:88px;z-index:40;background:rgba(255,255,255,.92);
  border-bottom:1px solid var(--line);backdrop-filter:blur(16px) saturate(140%)}
.cat-jump .wrap{display:flex;gap:9px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px}
.cat-jump .wrap::-webkit-scrollbar{display:none}
.pill{flex:0 0 auto;display:inline-flex;align-items:center;gap:9px;
  font-size:13.5px;font-weight:600;letter-spacing:-.008em;color:var(--text-dim);
  text-decoration:none;padding:8px 14px 8px 12px;border-radius:999px;
  border:1px solid var(--line);background:var(--bg);white-space:nowrap;
  transition:border-color .16s ease,color .16s ease,background .16s ease,box-shadow .16s ease}
.pill-dot{width:7px;height:7px;border-radius:50%;background:var(--line-strong);
  transition:background .16s ease,box-shadow .16s ease}
.pill-n{font:600 11px/1 'IBM Plex Sans',sans-serif;font-variant-numeric:tabular-nums;color:var(--text-faint);
  background:var(--surface-2);border-radius:999px;padding:4px 7px;
  transition:background .16s ease,color .16s ease}
.pill:hover{color:var(--text);border-color:var(--line-strong);box-shadow:var(--shadow-sm)}
.pill:hover .pill-dot{background:var(--accent)}
.pill.on{color:var(--accent-ink);border-color:var(--accent-line);background:var(--accent-soft)}
.pill.on .pill-dot{background:var(--accent);box-shadow:0 0 0 3px rgba(8,145,201,.18)}
.pill.on .pill-n{background:#fff;color:var(--accent-ink)}
.pill:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* scroll-margin is the no-script fallback for a pill jump; with script the
   same sum is done from the measured bar height, because the pills wrap to two
   rows on a wide screen and one fixed number cannot follow that. */
.cat{padding:52px 0 0;scroll-margin-top:210px}
.cat:first-of-type{padding-top:38px}
.cat-head{margin-bottom:22px;padding-left:16px;border-left:3px solid var(--accent)}
.cat-eyebrow{display:flex;align-items:center;gap:10px;margin:0 0 9px;
  font:700 11px/1 'IBM Plex Sans',sans-serif;letter-spacing:.14em;color:var(--accent-ink)}
.cat-eyebrow span{flex:0 0 22px;height:1px;background:var(--accent-line)}
.cat-head h2{font-size:26px;line-height:1.18;letter-spacing:-.03em;margin:0 0 8px;
  color:var(--text)}
.cat-blurb{margin:0;font-size:15.5px;color:var(--text-dim);max-width:64ch;line-height:1.6}
.post-list{padding:0 0 4px;display:grid;gap:14px}

@media (max-width:760px){
  .cat-jump{position:static}
  /* on a phone the row scrolls instead of stacking, with a fade to say so */
  .cat-jump{position:relative}
  .cat-jump::after{content:"";position:absolute;right:0;top:0;bottom:1px;width:36px;
    background:linear-gradient(to right,rgba(255,255,255,0),#fff);pointer-events:none}
  .cat-jump .wrap{flex-wrap:nowrap;overflow-x:auto;padding-top:12px;padding-bottom:12px;gap:8px;
    scrollbar-width:none;-ms-overflow-style:none}
  .cat-jump .wrap::-webkit-scrollbar{display:none}
  .cat{padding:38px 0 0;scroll-margin-top:132px}
  .cat-head{padding-left:13px}
  .cat-head h2{font-size:22px}
  .share-top{margin-left:0;width:100%;padding-top:4px}
  .share-end{gap:10px}
}

/* ---------- site search ------------------------------------------------
   The magnifier sits between the nav links and the call to action, and opens
   a panel over the page. A panel rather than a field in the bar: the nav has
   no room for one at 1100px, and results need space to show what they are. */
.nav-search{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;padding:0;border:1px solid transparent;border-radius:10px;
  background:none;color:var(--text-dim);cursor:pointer;
  transition:color .16s ease,background .16s ease,border-color .16s ease}
.nav-search svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;
  stroke-linecap:round}
.nav-search:hover{color:var(--text);background:var(--surface);border-color:var(--line)}
.nav-search:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

.s-panel[hidden]{display:none}
.s-panel{position:fixed;inset:0;z-index:120}
.s-scrim{position:absolute;inset:0;background:rgba(11,18,32,.42);
  backdrop-filter:blur(2px);animation:s-fade .14s ease-out}
.s-box{position:relative;margin:10vh auto 0;width:min(640px,calc(100% - 32px));
  background:var(--bg);border:1px solid var(--line);border-radius:16px;
  box-shadow:0 24px 70px rgba(11,18,32,.28);overflow:hidden;
  animation:s-rise .16s ease-out}
@keyframes s-fade{from{opacity:0}to{opacity:1}}
@keyframes s-rise{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .s-scrim,.s-box{animation:none}
}

.s-field{display:flex;align-items:center;gap:11px;padding:14px 14px 13px 16px;
  border-bottom:1px solid var(--line-soft)}
.s-mag{flex:0 0 auto;width:19px;height:19px;fill:none;stroke:var(--text-faint);
  stroke-width:1.9;stroke-linecap:round}
.s-field input{flex:1 1 auto;min-width:0;border:0;outline:0;background:none;
  font:500 16.5px/1.4 inherit;color:var(--text);padding:4px 0}
.s-field input::placeholder{color:var(--text-faint);font-weight:400}
.s-field input::-webkit-search-cancel-button{display:none}
.s-close{flex:0 0 auto;border:1px solid var(--line);background:var(--surface);
  color:var(--text-faint);border-radius:7px;padding:4px 8px;cursor:pointer;
  font:600 11.5px/1 'IBM Plex Sans',sans-serif;letter-spacing:.04em}
.s-close:hover{color:var(--text);border-color:var(--line-strong)}

.s-list{list-style:none;margin:0;padding:6px;max-height:min(58vh,440px);overflow-y:auto}
.s-row a{display:flex;align-items:flex-start;gap:12px;padding:10px 11px;border-radius:10px;
  text-decoration:none;color:inherit}
.s-row.on a{background:var(--accent-soft)}
.s-ico{flex:0 0 auto;display:flex;align-items:center;justify-content:center;
  width:30px;height:30px;border-radius:8px;background:var(--surface-2);
  border:1px solid var(--line-soft);margin-top:1px}
.s-ico svg{width:15px;height:15px;fill:none;stroke:var(--text-faint);stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round}
.s-row.on .s-ico{background:#fff;border-color:var(--accent-line)}
.s-row.on .s-ico svg{stroke:var(--accent-ink)}
.s-body{flex:1 1 auto;min-width:0}
.s-title{display:block;font-size:14.5px;font-weight:600;line-height:1.35;color:var(--text);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.s-desc{display:block;font-size:12.8px;line-height:1.45;color:var(--text-dim);margin-top:2px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.s-tag{flex:0 0 auto;align-self:center;font:600 10.5px/1 'IBM Plex Sans',sans-serif;
  letter-spacing:.05em;text-transform:uppercase;color:var(--text-faint);
  background:var(--surface);border:1px solid var(--line-soft);border-radius:999px;
  padding:5px 8px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.s-row.on .s-tag{color:var(--accent-ink);border-color:var(--accent-line);background:#fff}
.s-list mark{background:#FDF0C4;color:inherit;border-radius:3px;padding:0 1px}
.s-row.on mark{background:#FFE9A8}

.s-hint{padding:12px 12px 4px;font:600 11px/1 'IBM Plex Sans',sans-serif;
  letter-spacing:.14em;text-transform:uppercase;color:var(--text-faint)}
.s-suggs{display:flex;flex-wrap:wrap;gap:8px;padding:10px 11px 12px}
.s-sugg{border:1px solid var(--line);background:var(--bg);
  border-radius:999px;padding:6px 12px;font-size:13px;color:var(--text-dim);cursor:pointer}
.s-sugg:hover{color:var(--accent-ink);border-color:var(--accent-line);background:var(--accent-soft)}
.s-empty{padding:18px 14px 20px}
.s-empty strong{display:block;font-size:14.5px;margin-bottom:5px}
.s-empty span{display:block;font-size:13.5px;color:var(--text-dim);line-height:1.6}
.s-empty a{color:var(--accent-ink)}
.s-status{margin:0;padding:9px 16px;border-top:1px solid var(--line-soft);
  background:var(--surface);font-size:12px;color:var(--text-faint)}

html.s-open{overflow:hidden}

@media (max-width:760px){
  .s-box{margin-top:0;width:100%;height:100%;border:0;border-radius:0}
  .s-list{max-height:calc(100vh - 118px)}
  .s-tag{display:none}
  .s-title,.s-desc{white-space:normal}
  .s-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
}


/* the line under a scan box: the one acceptance the site asks for */
.scan-terms{margin:14px 0 0;font-size:12.5px;line-height:1.6;color:var(--text-faint);max-width:56ch}
.home-hero .scan-terms{color:#9FB3C8}
.scan-terms a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.home-hero .scan-terms a{color:#BDD3EC}

/* ---------- privacy and terms ----------------------------------------- */
.legal-head{padding:64px 0 34px;background:var(--surface);border-bottom:1px solid var(--line-soft)}
.legal-eyebrow{display:flex;align-items:center;gap:10px;margin:0 0 12px;
  font:700 11px/1 'IBM Plex Sans',sans-serif;letter-spacing:.14em;color:var(--accent-ink)}
.legal-eyebrow span{flex:0 0 22px;height:1px;background:var(--accent-line)}
.legal-head h1{font-size:clamp(32px,4.2vw,44px);line-height:1.08;letter-spacing:-.035em;margin:0 0 14px}
.legal-lede{font-size:17.5px;line-height:1.65;color:var(--text-dim);margin:0;max-width:60ch}
.legal-date{margin:18px 0 0;font:500 13px/1 'IBM Plex Sans',sans-serif;color:var(--text-faint)}

.legal-body{padding:40px 0 70px}
.legal-body h2{font-size:23px;line-height:1.22;letter-spacing:-.025em;margin:40px 0 12px;color:var(--text)}
.legal-body p{font-size:16.5px;line-height:1.78;color:#22303F;margin:0 0 18px;max-width:72ch}
.legal-body ul{margin:0 0 20px;padding-left:22px;font-size:16.5px;line-height:1.75;color:#22303F;max-width:72ch}
.legal-body li+li{margin-top:9px}
.legal-body strong{color:var(--text)}
.legal-body a{color:var(--accent-ink)}
.legal-body .mono{font-family:'IBM Plex Mono',monospace;font-size:14.5px;
  background:var(--surface-2);border:1px solid var(--line);border-radius:4px;padding:1px 5px}
.legal-summary{margin:0 0 12px;padding:22px 26px;background:var(--surface);
  border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:0 12px 12px 0}
.legal-summary h2{margin:0 0 12px;font-size:17px;letter-spacing:-.015em}
.legal-summary ul{margin:0;font-size:15.5px;line-height:1.7}

/* the row of legal links the blog and tool footers carry */
.footer-legal{margin:18px 0 0;display:flex;flex-wrap:wrap;gap:0 22px;font-size:13px}
.footer-legal a{color:var(--text-dim);text-decoration:none}
.footer-legal a:hover{color:var(--text);text-decoration:underline}
.site-footer .footer-legal a{color:#9FB3C8}
.site-footer .footer-legal a:hover{color:#F6F8FB}

/* the consent banner replaces the old notice: a real choice, two buttons of
   equal weight, and nothing loads until one of them is pressed */
.consent-bar{position:fixed;left:0;right:0;bottom:0;z-index:110;
  background:rgba(9,17,29,.96);border-top:1px solid rgba(150,180,215,.26);
  backdrop-filter:blur(12px) saturate(130%);
  transform:translateY(100%);transition:transform .26s cubic-bezier(.22,.61,.36,1)}
.consent-bar.is-in{transform:none}
.consent-bar.is-out{transform:translateY(100%)}
.consent-inner{max-width:1180px;margin:0 auto;padding:16px 32px;
  display:flex;align-items:center;gap:28px}
.consent-text{flex:1 1 auto}
.consent-text p{margin:0;font-size:13.5px;line-height:1.6;color:#C6D3E2}
.consent-text strong{color:#F2F6FB;font-weight:600}
.consent-text a{color:#8FC2FF}
.consent-sub{margin-top:4px !important;color:#9FB3C8 !important;font-size:12.5px !important}
.consent-actions{flex:0 0 auto;display:flex;gap:10px}
.consent-btn{border-radius:8px;padding:10px 20px;font-size:13.5px;font-weight:600;
  cursor:pointer;border:1px solid transparent}
.consent-no{border-color:rgba(150,180,215,.4);background:rgba(255,255,255,.07);color:#F2F6FB}
.consent-no:hover{background:rgba(255,255,255,.13);border-color:rgba(150,180,215,.6)}
.consent-yes{background:#079CD7;color:#06111F}
.consent-yes:hover{background:#38B4E6}
.consent-btn:focus-visible{outline:2px solid #5AC4EE;outline-offset:2px}
@media (prefers-reduced-motion:reduce){ .consent-bar{transition:none} }
@media (max-width:760px){
  .consent-inner{flex-direction:column;align-items:stretch;gap:14px;padding:16px 20px}
  .consent-actions{gap:10px}
  .consent-btn{flex:1 1 0}
}

/* Questions the reader can see, matching the FAQPage data in the head. */
.post-faq{max-width:760px;margin:44px auto 0;padding-top:28px;border-top:1px solid var(--line)}
.post-faq h2{font-size:23px;letter-spacing:-.025em;margin:0 0 8px}
.faq-item{border-bottom:1px solid var(--line-soft);padding:15px 0}
.faq-item summary{cursor:pointer;font-weight:600;font-size:16px;list-style:none;
  display:flex;justify-content:space-between;gap:16px;align-items:baseline}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";color:var(--accent-ink);font-weight:400;font-size:20px;line-height:1}
.faq-item[open] summary::after{content:"\2212"}
.faq-item p{margin:11px 0 2px;font-size:15.5px;line-height:1.75;color:var(--text-dim)}
