/* The one shared stylesheet for the static pages: how.html, privacy.html and
   everything under /notes/. Pulled out of the per-page inline copies on
   2026-11-15, when the notes posts became the fourth surface — the threshold
   CLAUDE.md set. index.html keeps its CSS inline (it is the app, and its
   styles are its own), and share.py renders stay self-contained because an
   unfurler fetches one document and nothing else.

   Tokens are Quiet Utility, from examples/style_guide.html. That file is the
   source of truth; this is the served copy. */

:root{
  --paper:#FBFCFD; --card:#FFFFFF; --wash:#F5F7FA; --rule:#E9EDF2;
  --faint:#64717F; --mute:#5C6A7A; --ink-2:#2B3542; --ink:#17202B;
  --blue:#2F6FDC;
  --home:oklch(.55 .13 255); --draw:oklch(.55 .13 95); --away:oklch(.55 .13 35);
  --display:"Hanken Grotesk",system-ui,-apple-system,sans-serif;
  --sans:"Hanken Grotesk",system-ui,-apple-system,sans-serif;
  --mono:"Hanken Grotesk",system-ui,-apple-system,sans-serif;
  --r-chip:6px; --r-card:8px; --col:560px;
}
*{box-sizing:border-box}
body{background:var(--paper);font-family:var(--sans);color:var(--ink);margin:0;
     padding:22px 20px 40px;font-size:14px;line-height:1.6}
.wrap{max-width:var(--col);margin:0 auto}

/* The lockup, same geometry as index.html and examples/brand.html: home,
   draw, away, gap 38% of a dot's diameter. */
.mark{padding:2px 0 22px;text-align:center}
.mark a{display:inline-flex;align-items:center;gap:11px;color:inherit;text-decoration:none}
.mark .dots{display:inline-flex;align-items:center;--d:9px;gap:calc(var(--d) * .38)}
.mark .dots i{width:var(--d);height:var(--d);border-radius:50%;display:block}
.mark .dots .h{background:var(--home)}
.mark .dots .d{background:var(--draw)}
.mark .dots .a{background:var(--away)}
.mark .name{font-weight:600;font-size:17px;letter-spacing:-.01em;line-height:1;color:var(--ink)}

.ticket{background:var(--card);border:1px solid var(--rule);border-radius:var(--r-card);
        margin-bottom:14px}
.body{padding:20px 24px 24px}
h1{font-weight:600;letter-spacing:-.02em;font-size:26px;line-height:1.1;margin:6px 0 6px}
h2{font-family:var(--mono);font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;
   color:var(--faint);font-weight:400;margin:26px 0 8px}
.date{font-family:var(--mono);font-size:11px;color:var(--faint);letter-spacing:.08em;
      padding-bottom:14px;border-bottom:1px solid var(--rule)}
.lede{font-size:18px;font-weight:500;line-height:1.4;color:var(--ink);
      margin:16px 0 4px}
p{margin:0 0 11px;color:var(--ink-2)}
ul{margin:0 0 11px;padding-left:19px;color:var(--ink-2)}
li{margin-bottom:7px}
a{color:var(--blue)}
a:focus-visible{outline:none;box-shadow:0 0 0 2px var(--card),0 0 0 4px var(--blue)}
code{font-family:var(--mono);font-size:12.5px;background:var(--paper);
     border:1px solid var(--rule);border-radius:3px;padding:1px 4px}
.legal{color:var(--faint);font-size:11px;line-height:1.6;text-align:center;
       padding:10px 4px 0}
.legal a{color:var(--faint)}

/* Notes-only, below here. */

/* The index: one row per post, title + one-line standfirst + date. */
.post-list{list-style:none;margin:0;padding:0}
.post-list li{margin:0;padding:14px 0;border-bottom:1px solid var(--rule)}
.post-list li:last-child{border-bottom:none}
.post-list a{font-weight:600;font-size:15.5px;color:var(--ink);text-decoration:none}
.post-list a:hover{color:var(--blue)}
.post-list .standfirst{color:var(--mute);margin:3px 0 0;font-size:13.5px}
.post-list .when{font-family:var(--mono);font-size:11px;color:var(--faint);
                 letter-spacing:.08em;margin-top:4px}

/* Figures in a post. Numbers are tabular so columns hold still; a chart is
   inline SVG drawn at writing time — no script runs on these pages. */
figure{margin:18px 0;padding:16px 16px 12px;background:var(--wash);
       border:1px solid var(--rule);border-radius:var(--r-card)}
figure svg{display:block;width:100%;height:auto}
figcaption{font-size:12px;color:var(--mute);line-height:1.55;margin-top:10px}
.fig-num{font-variant-numeric:tabular-nums}

/* A small data table, for when the figure is better said as rows. */
table.data{border-collapse:collapse;width:100%;margin:14px 0;
           font-variant-numeric:tabular-nums;font-size:13px}
table.data th{font-family:var(--mono);font-size:10.5px;letter-spacing:.08em;
              text-transform:uppercase;color:var(--faint);font-weight:400;
              text-align:left;padding:6px 10px 6px 0;border-bottom:1px solid var(--rule)}
table.data td{padding:7px 10px 7px 0;border-bottom:1px solid var(--rule);color:var(--ink-2)}
table.data tr:last-child td{border-bottom:none}
table.data td.num,table.data th.num{text-align:right}
/* Phones. The persistence post's six-column table wants 321px against the
   318px a 360px viewport leaves, and pushed the page 5px sideways — the one
   thing a page must never do. Tightening the column gap buys 20px and the
   table fits, with all six columns visible: better than a scroll container,
   which a reader cannot tell is scrollable and which makes this worse, not
   better — `display:block` stops the label column wrapping and takes the
   table from 321px to 393px of min-content. Tried and rejected 2026-11-17.
   A genuinely wider future table (eight columns, long labels) will need a
   wrapper div with overflow-x on it, not a rule here. Added 2026-11-17, the
   first time a notes page used table.data. */
@media (max-width:460px){
  table.data{font-size:12.5px}
  table.data th{padding-right:6px}
  table.data td{padding-right:6px}
}
