/* Shared by every page except the home page, which keeps its own inline copy. Tokens and base rules match index.html. */
html{scroll-behavior:smooth}body{margin:0}
:root{
  color-scheme:light;
  --yellow:#FF5A1F; --yellow-ink:#3B1203; --ink:#17140F; --white:#fff; --paper:#FAF6EE; --grey:#F1EADD; --line:#E2D9C8; --muted:#5F584B; --on-ink-soft:#CFC8BA;
  --ok:#11734A; --ok-bg:#DDF4E7; --warn:#7A5200; --warn-bg:#FFEEBF; --bad:#B8261C; --bad-bg:#FFE2DD;
  --display:"Jost","Futura","Century Gothic",system-ui,sans-serif;
  --body:"Hanken Grotesk",-apple-system,"Segoe UI",system-ui,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --shadow:0 14px 34px -18px rgba(0,0,0,.4);
}
*{box-sizing:border-box}
body{background:var(--paper);color:var(--ink);font-family:var(--body);font-size:17px;line-height:1.5;-webkit-font-smoothing:antialiased}
h1,h2,h3{margin:0;font-family:var(--display);font-weight:700;letter-spacing:-.022em;line-height:1.04;text-wrap:balance}
h1{font-size:clamp(2.7rem,5vw,4.4rem);line-height:1;letter-spacing:-.03em}
h2{font-size:clamp(2.1rem,4.2vw,3.5rem)}
h3{font-size:clamp(1.3rem,2vw,1.6rem);font-weight:600;line-height:1.15;letter-spacing:-.012em}
p{margin:0;text-wrap:pretty} ul,ol{list-style:none;margin:0;padding:0}
a{color:inherit}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px;border-radius:8px}
.on-ink :focus-visible{outline-color:var(--yellow)}
.wrap{max-width:1220px;margin-inline:auto;padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}
.sec{padding-block:clamp(72px,9vw,128px)}
.head{display:grid;gap:18px;margin-bottom:clamp(36px,5vw,60px);max-width:880px}
.lede{font-size:clamp(1.08rem,1.5vw,1.25rem);color:var(--muted);max-width:60ch}
.grey{background:var(--grey)}
.on-ink{background:var(--ink);color:var(--white)} .on-ink .lede{color:var(--on-ink-soft)}
.btn{display:inline-block;text-decoration:none;font:600 1.02rem var(--body);padding:14px 24px;border-radius:999px;background:var(--yellow);color:var(--ink);transition:transform .15s;border:0;cursor:pointer}
.btn:hover{transform:translateY(-1px)} .btn.sm{padding:9px 16px;font-size:.92rem}
.mark{display:block;flex:none}
.o{display:inline-block;width:16px;height:16px;border-radius:50%;border:3.5px solid currentColor;flex:none}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.eyebrow{display:inline-block;background:var(--ink);color:var(--white);font-weight:600;font-size:.9rem;border-radius:999px;padding:5px 16px;margin-bottom:22px}
.on-ink .eyebrow{background:var(--yellow);color:var(--ink)}

/* header */
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:20px}
.logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font:700 1.55rem var(--display);letter-spacing:-.01em}
.logo .mark{width:34px;height:34px}
.nav nav{display:flex;gap:28px;align-items:center;font-size:.96rem;font-weight:500}
.nav nav a:not(.btn){text-decoration:none} .nav nav a:not(.btn):hover,.nav nav a[aria-current="page"]{text-decoration:underline;text-underline-offset:4px}
@media (max-width:860px){.nav nav a:not(.btn){display:none}}
.lockup{display:flex;align-items:center;gap:14px;min-width:0}
.by{display:inline-flex;align-items:center;gap:8px;font-size:.9rem;color:var(--muted);padding-left:14px;border-left:1px solid var(--line);white-space:nowrap}
.by img{border-radius:7px;display:block}
.by b{color:var(--ink);font-weight:600}
@media (max-width:640px){.by b{display:none}}

/* footer */
footer{background:var(--yellow);border-top:1px solid rgba(20,20,20,.18);padding-block:28px 24px;font-size:.88rem;color:var(--yellow-ink)}
footer .wrap{display:grid;gap:14px}
.f-row{display:flex;flex-wrap:wrap;gap:8px 28px;justify-content:space-between}
.f-links{display:flex;flex-wrap:wrap;gap:4px 22px;font-weight:600}
.f-links a{text-decoration:none;display:inline-block;padding-block:12px} .f-links a:hover{text-decoration:underline;text-underline-offset:3px}

/* conversation pieces, as on the home page */
.bubble{background:var(--white);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);min-width:0;overflow:hidden;color:var(--ink)}
.thread{display:flex;flex-direction:column;gap:18px;padding:20px}
.msg{display:grid;grid-template-columns:32px minmax(0,1fr);gap:11px}
.av{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-size:.7rem;font-weight:700;background:var(--grey);color:var(--ink)}
svg.av{background:none;border-radius:0}
.who{font-size:.82rem;color:var(--muted);margin-bottom:3px}
.who b{color:var(--ink);font-weight:600;margin-right:6px}
.txt{font-size:1rem;line-height:1.5} .txt p+p{margin-top:9px}
.in{animation:rise .45s cubic-bezier(.16,1,.3,1) both}
@keyframes rise{from{opacity:0;transform:translateY(8px)}}
.dots{display:inline-flex;gap:4px;padding:10px 0}
.dots i{width:6px;height:6px;border-radius:50%;background:var(--ink);animation:blink 1s infinite}
.dots i:nth-child(2){animation-delay:.15s}.dots i:nth-child(3){animation-delay:.3s}
@keyframes blink{0%,80%,100%{opacity:.2}40%{opacity:1}}
.card{margin-top:11px;border:1px solid var(--line);border-radius:12px;background:var(--grey);font-size:.9rem;overflow:hidden;color:var(--ink)}
.card-h{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 10px;padding:8px 14px;border-bottom:1px solid var(--line);font-size:.8rem;font-weight:600}
.card-h span:last-child{font-weight:400;color:var(--muted)}
.card-b{padding:12px 14px;display:grid;gap:8px}
.kv{display:flex;justify-content:space-between;gap:14px;align-items:baseline}
.kv span:first-child{color:var(--muted);min-width:0;overflow-wrap:anywhere}
.kv span:last-child{font-variant-numeric:tabular-nums;text-align:right;font-weight:600}
.badge{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;font-weight:600;padding:2px 10px;border-radius:999px;white-space:nowrap}
.badge::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.badge.bad{color:var(--bad);background:var(--bad-bg)} .badge.ok{color:var(--ok);background:var(--ok-bg)} .badge.warn{color:var(--warn);background:var(--warn-bg)} .badge.plain{color:var(--muted);background:var(--white)}
.acts{display:flex;gap:8px;flex-wrap:wrap;padding:0 14px 14px}
.act{font:600 .84rem var(--body);padding:6px 14px;border-radius:999px;border:1px solid var(--line);background:var(--white);color:var(--ink)}
.act.yes{background:var(--ink);color:var(--white);border-color:var(--ink)}
.mono{font-family:var(--mono);font-size:.88em}
.said{background:var(--white);border:1px solid var(--line);border-radius:6px 18px 18px 18px;padding:12px 16px;font-size:1rem}

@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.in,.dots i{animation:none}.btn{transition:none}}
