/* xchk.io — the umbrella site: verified people + accountable agents. House style = maclawran.ca one-sheet tokens. */
:root {
  --ink: #1f2823; --ink-soft: #48544d; --muted: #67746c; --line: #d5dcd5;
  --surface: #f2f4f0; --surface-2: #eaeeea; --paper: #ffffff;
  --accent: #1c7a52; --accent-soft: #e2efe8; --logo-box: #3a4844;
  --max: 1080px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Avenir Next', Seravek, 'Helvetica Neue', Helvetica, Arial, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; font-size: 16px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand-box { display: inline-flex; align-items: center; background: var(--logo-box); border-radius: 6px; padding: 7px 12px; }
.brand-box img { height: 22px; width: auto; display: block; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; font-size: 14.5px; }
.nav a { color: var(--ink-soft); }
.nav a:hover { color: var(--ink); text-decoration: none; }
.btn { white-space: nowrap; display: inline-block; padding: 10px 18px; border-radius: 8px; font-weight: 600; font-size: 14.5px; border: 1px solid var(--accent); color: var(--accent); background: var(--paper); }
.btn.primary { background: var(--accent); color: #fff; }
.btn:hover { text-decoration: none; filter: brightness(1.05); }

/* hero */
.hero { background: linear-gradient(180deg, var(--surface) 0, var(--paper) 100%); padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.kicker { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 14px; }
h1 { font-family: Charter, Georgia, 'Times New Roman', serif; font-weight: 500; font-size: clamp(34px, 5vw, 50px); line-height: 1.12; letter-spacing: -.01em; max-width: 18ch; }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 62ch; margin: 22px 0 30px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* sections */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-family: Charter, Georgia, serif; font-weight: 500; font-size: 30px; line-height: 1.2; margin-bottom: 10px; }
h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.sub { color: var(--ink-soft); max-width: 66ch; margin-bottom: 28px; }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.card p { color: var(--ink-soft); font-size: 15px; }
.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { position: relative; padding: 18px 18px 18px 58px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.step p { color: var(--ink-soft); font-size: 15px; }
.stats { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; }
.stat b { display: block; font-size: 26px; font-family: Charter, Georgia, serif; font-weight: 500; }
.stat span { color: var(--muted); font-size: 14px; }
.quote { font-family: Charter, Georgia, serif; font-size: 22px; line-height: 1.4; color: var(--ink); max-width: 46ch; border-left: 3px solid var(--accent); padding-left: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }

/* prose pages */
.prose { max-width: 74ch; padding: 48px 0 64px; }
.prose h1 { font-size: 36px; margin-bottom: 8px; }
.prose .meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.prose h2 { font-size: 24px; margin: 34px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 12px; }
.prose ul { padding-left: 22px; }
.prose .callout { background: var(--accent-soft); border: 1px solid #bcd8c9; border-radius: 10px; padding: 16px 18px; margin: 18px 0; color: var(--ink); }
.prose .sample { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin: 10px 0 16px; color: var(--ink); white-space: pre-wrap; }
.prose .optin { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; background: var(--paper); margin: 12px 0 18px; }
.prose .optin label { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.prose .optin input { margin-top: 4px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0 18px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface); }

/* footer */
footer { border-top: 1px solid var(--line); background: var(--surface); padding: 34px 0; font-size: 13.5px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: center; }
footer .fnav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
footer a { color: var(--ink-soft); }

@media (max-width: 720px) {
  .nav .hide-m { display: none; }
  .hero { padding: 48px 0 40px; }
  .top .wrap { gap: 14px; }
}

/* xchk.io additions: the two doors */
.doors { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.door { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); padding: 28px 26px 24px; border-top: 4px solid var(--accent); color: var(--ink); }
.door:hover { text-decoration: none; box-shadow: 0 6px 22px rgba(31,40,35,.08); }
.door .kicker { margin-bottom: 8px; }
.door h3 { font-family: Charter, Georgia, serif; font-weight: 500; font-size: 25px; line-height: 1.2; margin-bottom: 12px; }
.door p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 14px; }
.door ul { list-style: none; margin: 0 0 18px; }
.door li { color: var(--ink-soft); font-size: 15px; padding: 7px 0 7px 22px; border-top: 1px solid var(--surface-2); position: relative; }
.door li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.door .go { margin-top: auto; font-weight: 600; color: var(--accent); }
.door.people { border-top-color: #2f5f8a; }
.door.people .kicker, .door.people .go, .door.people li::before { color: #2f5f8a; }
section.alt { background: var(--surface); }
.pair { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
.use { padding: 22px 0; border-top: 1px solid var(--line); }
.use:first-of-type { border-top: 0; }
.use h3 { font-family: Charter, Georgia, serif; font-weight: 500; font-size: 22px; }
.use .who { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.use p { color: var(--ink-soft); margin-bottom: 8px; max-width: 70ch; }
.ticks { list-style: none; }
.ticks li { color: var(--ink-soft); font-size: 15px; padding: 6px 0 6px 22px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.ticks b { color: var(--ink); }
.cta { text-align: center; }
.cta .actions { justify-content: center; }
.cta .sub { margin-left: auto; margin-right: auto; }

/* TVP mark beside the logo */
.tvp { font-size: 13px; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.tvp b { color: var(--ink); letter-spacing: .12em; }
@media (max-width: 960px) { .tvp-words { display: none; } }

/* Track 2: the licence, the plate, the glossary, the answer */
.hero-split { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; } }
.lic-stack { display: grid; gap: 18px; justify-items: center; }
.plate-img { width: 100%; max-width: 340px; height: auto; display: block; }
.lic { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1.586; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #f7fbf8 0%, #e3f0e8 55%, #cfe6d8 100%); border: 1px solid #b9d4c4;
  box-shadow: 0 10px 28px rgba(31,40,35,.14); color: var(--ink); font-size: 12px; display: flex; flex-direction: column; }
.lic-top { background: var(--accent); color: #fff; display: flex; justify-content: space-between; align-items: baseline; padding: 8px 14px; }
.lic-top b { font-size: 13px; letter-spacing: .16em; }
.lic-top span { font-size: 10.5px; opacity: .9; letter-spacing: .04em; }
.lic-body { display: grid; grid-template-columns: 86px 1fr; gap: 12px; padding: 12px 14px 10px; flex: 1; }
.lic-photo { border-radius: 8px; background: var(--paper); border: 1px solid #b9d4c4; display: grid; place-items: center; text-align: center; font-size: 9.5px; color: var(--muted); padding: 6px; line-height: 1.25; }
.lic-photo .seal { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; color: var(--accent); font-weight: 800; font-size: 16px; margin: 0 auto 4px; }
.lic-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 12px; align-content: start; }
.lic-f { line-height: 1.2; }
.lic-f i { display: block; font-style: normal; font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lic-f b { font-size: 12px; font-weight: 700; }
.lic-f.wide { grid-column: 1 / -1; }
.lic-f.plate b { font-family: 'Penitentiary Gothic Fill', Impact, 'Arial Black', sans-serif; font-weight: 400; font-size: 20px; letter-spacing: .06em; color: #016a27; }
.lic-f.restrict b { color: #8a3b12; }
.lic-foot { display: flex; justify-content: space-between; padding: 6px 14px 9px; font-size: 9.5px; color: var(--muted); border-top: 1px dashed #b9d4c4; }
.lic-sample { position: absolute; right: -36px; bottom: 30px; transform: rotate(-35deg); background: rgba(138,59,18,.85); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .2em; padding: 3px 40px; }
.lic-caption { font-size: 12.5px; color: var(--muted); text-align: center; max-width: 44ch; }
@media (max-width: 480px) { .lic { font-size: 11px; } .lic-body { grid-template-columns: 64px 1fr; } .lic-f b { font-size: 11px; } .lic-f.plate b { font-size: 17px; } }

.gloss { width: 100%; border-collapse: collapse; font-size: 15px; }
.gloss th, .gloss td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.gloss th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.gloss td:first-child { font-weight: 700; white-space: nowrap; width: 22%; }
.gloss td:nth-child(2) { font-weight: 700; color: var(--accent); white-space: nowrap; width: 18%; }
.gloss td:last-child { color: var(--ink-soft); }
@media (max-width: 720px) { .gloss td:first-child, .gloss td:nth-child(2) { white-space: normal; } .gloss { font-size: 14px; } .gloss th, .gloss td { padding: 10px 8px; } }

.answer { max-width: 380px; margin: 0 auto; border-radius: 22px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 32px rgba(31,40,35,.12); padding: 20px 20px 18px; font-size: 14.5px; }
.answer .who { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.answer .who img { width: 74px; height: auto; }
.answer .who span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.answer .ask { font-family: Charter, Georgia, serif; font-size: 20px; line-height: 1.3; margin-bottom: 10px; }
.answer dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 13px; margin: 0 0 12px; }
.answer dt { color: var(--muted); }
.answer dd { margin: 0; color: var(--ink); }
.answer .why { background: #fbeee6; color: #8a3b12; border-radius: 8px; padding: 8px 10px; font-size: 12.5px; margin-bottom: 14px; }
.answer .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.answer .btns span { text-align: center; padding: 11px; border-radius: 10px; font-weight: 700; }
.answer .yes { background: var(--accent); color: #fff; }
.answer .no { border: 1px solid var(--line); color: var(--ink); }
.answer .pk { text-align: center; font-size: 12px; color: var(--muted); margin-top: 10px; }
.hitl { display: grid; gap: 40px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; }
@media (max-width: 900px) { .hitl { grid-template-columns: 1fr; } }
.hitl ol { counter-reset: h; list-style: none; }
.hitl ol li { counter-increment: h; position: relative; padding: 0 0 16px 44px; color: var(--ink-soft); }
.hitl ol li::before { content: counter(h); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.hitl ol li b { color: var(--ink); display: block; }
@font-face { font-family: 'Penitentiary Gothic Fill'; src: url('/fonts/PenitentiaryGothicFill.woff') format('woff'); font-display: swap; }
@media (max-width: 480px) {
  .top .wrap { gap: 10px; padding: 0 16px; }
  .nav { gap: 12px; font-size: 14px; }
  .nav .btn { padding: 8px 12px; }
  .brand-box { padding: 6px 9px; }
  .brand-box img { height: 19px; }
}
.tvp .tvp-bar { color: var(--line); margin: 0 2px; }

/* real screenshots, shown as evidence */
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(31,40,35,.10); background: var(--paper); }
.shot.phone img { max-width: 300px; margin: 0 auto; border-radius: 22px; }
.shot figcaption { font-size: 12.5px; color: var(--muted); margin-top: 10px; line-height: 1.45; }
.shot.phone figcaption { text-align: center; max-width: 320px; margin-left: auto; margin-right: auto; }
.shots { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; margin-top: 28px; }
.realtag { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 2px 8px; margin-right: 6px; vertical-align: 1px; }
.receipt { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--ink-soft); line-height: 1.6; overflow-wrap: anywhere; }
.receipt b { color: var(--ink); font-family: inherit; }

/* Track 2: the history */
.timeline { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 3px solid var(--accent); margin: 26px 0 8px; }
.tl { padding: 16px 16px 4px 0; position: relative; }
.tl::before { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 3px solid var(--accent); }
.tl b { display: block; font-family: Charter, Georgia, serif; font-weight: 500; font-size: 24px; color: var(--accent); margin: 4px 0 4px; }
.tl p { font-size: 14.5px; color: var(--ink-soft); }
.tl.late::before { border-color: var(--muted); }
.tl.late b { color: var(--muted); }
.pull { font-family: Charter, Georgia, serif; font-size: 21px; line-height: 1.45; color: var(--ink); max-width: 60ch; border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; margin: 26px 0 8px; }
.lessons { display: grid; gap: 22px 32px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 22px; }
.lesson h3 { font-family: Charter, Georgia, serif; font-weight: 500; font-size: 20px; margin-bottom: 6px; }
.lesson p { color: var(--ink-soft); font-size: 15px; }
.lesson .now { display: block; margin-top: 6px; font-size: 14px; color: var(--accent); font-weight: 600; }
h3.subhead { font-family: Charter, Georgia, serif; font-weight: 500; font-size: 23px; margin: 38px 0 8px; }

.chain { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 4px; font-size: 13.5px; }
.chain span { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; color: var(--ink); }
.chain em { color: var(--muted); font-style: normal; }

/* Track 2: complaints and enforcement */
.rep { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 16px 18px; box-shadow: 0 6px 18px rgba(31,40,35,.08); }
.rep .band { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 3px 10px; margin-left: 8px; }
.rep h3 { font-family: Charter, Georgia, serif; font-weight: 500; font-size: 20px; margin-bottom: 8px; }
.rep ul { list-style: none; margin: 0; }
.rep li { font-size: 14.5px; color: var(--ink-soft); padding: 5px 0 5px 18px; position: relative; border-top: 1px solid var(--surface-2); }
.rep li::before { content: "•"; position: absolute; left: 4px; color: var(--accent); }
/* 19 Oct 2026: the front page's "Works with" list — the .rep idiom, with room before its buttons */
.works { list-style: none; margin: 0 0 24px; padding: 0; max-width: 78ch; }
.works li { font-size: 15px; color: var(--ink-soft); padding: 8px 0 8px 18px; position: relative; border-top: 1px solid var(--surface-2); line-height: 1.5; }
.works li:last-child { border-bottom: 1px solid var(--surface-2); }
.works li::before { content: "•"; position: absolute; left: 4px; color: var(--accent); }
.works li b { color: var(--ink); }
.rep .src { font-size: 12px; color: var(--muted); margin-top: 10px; overflow-wrap: anywhere; }
.steps3 { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 8px; }

/* benchmarks.html: the scorecard one-pager, restyled for the web (content from tools/build-benchmarks.py) */
.sc { --partial: #8a610f; --partial-soft: #f4ecda; --owned: #44538a; --owned-soft: #e6e9f4; --red: #a5322b; font-size: 15px; }
.sc .sc-head { border-bottom: 3px solid var(--ink); padding-bottom: 14px; margin-bottom: 18px; }
.sc .brandline { margin-bottom: 8px; }
.sc .eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.sc h1 { font-family: Charter, Georgia, serif; font-weight: 500; font-size: clamp(24px, 3.4vw, 32px); max-width: none; }
.sc .subtitle { font-family: Charter, Georgia, serif; font-size: 17px; color: var(--ink-soft); margin-top: 8px; }
.sc h2 { font-family: inherit; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 800; margin: 34px 0 10px; padding-top: 14px; border-top: 1px solid var(--line); line-height: 1.4; }
.sc .thesis { font-family: Charter, Georgia, serif; font-size: 17px; line-height: 1.5; background: var(--surface); border-left: 4px solid var(--accent); padding: 14px 18px; margin-bottom: 18px; }
.sc .thesis strong { color: var(--accent); font-family: 'Avenir Next', Seravek, sans-serif; font-size: 14px; letter-spacing: .06em; }
.sc .stat-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 8px; }
.sc .stat { border: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 14px 14px 12px; }
.sc .stat .n { font-family: Charter, Georgia, serif; font-size: 34px; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.sc .stat .n span { font-size: 20px !important; }
.sc .stat .n.red { color: var(--red); }
.sc .stat .lbl { font-size: 14px; font-weight: 800; margin: 10px 0 4px; line-height: 1.25; }
.sc .stat p { font-size: 13px; color: var(--ink-soft); line-height: 1.4; }
.sc .sc-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 10px; }
.sc table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 14px; }
.sc thead th { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; text-align: left; color: var(--muted); font-weight: 700; padding: 10px 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
.sc tbody td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); line-height: 1.45; }
.sc tbody tr:last-child td { border-bottom: 0; }
.sc td.cap { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.sc td.serif { font-family: Charter, Georgia, serif; font-size: 15px; }
.sc .chip { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; white-space: nowrap; margin: 0; }
.sc .chip.strong { background: var(--accent-soft); color: var(--accent); }
.sc .chip.partial { background: var(--partial-soft); color: var(--partial); }
.sc .chip.owned { background: var(--owned-soft); color: var(--owned); }
.sc .num { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--ink); }
.sc .callout { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-top: 22px; font-family: Charter, Georgia, serif; font-size: 16px; line-height: 1.5; }
.sc .callout .tag { font-family: 'Avenir Next', Seravek, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 6px; }
.sc ul.tight { list-style: none; margin-top: 8px; }
.sc ul.tight li { font-family: Charter, Georgia, serif; font-size: 16px; padding-left: 20px; position: relative; margin-bottom: 8px; line-height: 1.5; }
.sc ul.tight li::before { content: "—"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.sc p.body { font-family: Charter, Georgia, serif; font-size: 16px; margin-bottom: 10px; }
.sc .spacer { display: none; }
.sc .foot-inline { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.sc .foot-inline strong { color: var(--ink-soft); }
.sc .sc-foot { border-top: 1px solid var(--line); padding-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 18px; }

/* papers + where-this-fits */
.papers { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 8px; }
.paper { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 20px 22px; }
.paper .venue { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 800; }
.paper h3 { font-family: Charter, Georgia, serif; font-weight: 500; font-size: 21px; line-height: 1.3; margin: 8px 0 8px; }
.paper .by { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.paper p { color: var(--ink-soft); font-size: 15px; margin-bottom: 12px; }
.paper .links { display: flex; gap: 10px; flex-wrap: wrap; }
.fits td:first-child { white-space: normal; width: 24%; }
.fits td:nth-child(2) { color: var(--ink-soft); font-weight: 400; white-space: normal; width: 30%; }
.fits td:last-child { color: var(--ink); }

/* identity facets */
.facets { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin: 8px 0 6px; }
.facet { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); padding: 12px 14px; }
.facet b { display: block; font-size: 15px; margin-bottom: 3px; }
.facet span { font-size: 13.5px; color: var(--ink-soft); line-height: 1.4; display: block; }
.facet i { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 6px; letter-spacing: .02em; }
.claim { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; color: var(--ink); white-space: pre; overflow-x: auto; line-height: 1.55; }

/* ---- narrow screens (28 Sep 2026, Sean: "not handling less wide screens well at all") ---- */
/* header: a real menu instead of silently dropping links */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 9px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: " ▾"; color: var(--muted); }
.menu[open] summary::after { content: " ▴"; }
.menu-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(31,40,35,.14); padding: 8px; display: grid; z-index: 20; }
.menu-list a { padding: 10px 12px; border-radius: 8px; color: var(--ink); font-size: 15px; }
.menu-list a:hover { background: var(--surface); text-decoration: none; }
@media (max-width: 960px) {
  .nav > a:not(.btn) { display: none; }
  .menu { display: block; }
}
/* the timeline: a vertical list until there is room for five columns */
.timeline { grid-template-columns: 1fr; border-top: 0; border-left: 3px solid var(--accent); margin-left: 8px; }
.tl { padding: 4px 0 18px 22px; }
.tl::before { top: 8px; left: -9px; }
@media (min-width: 1000px) {
  .timeline { grid-template-columns: repeat(7, 1fr); border-left: 0; border-top: 3px solid var(--accent); margin-left: 0; }
  .tl { padding: 16px 16px 4px 0; }
  .tl::before { top: -9px; left: 0; }
}
/* the three-column tables become stacked cards on small screens */
@media (max-width: 760px) {
  .gloss, .gloss tbody, .gloss tr, .gloss td { display: block; width: auto !important; }
  .gloss tr:first-child { display: none; }
  .gloss tr { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; background: var(--paper); }
  .gloss td { border: 0; padding: 2px 0; white-space: normal !important; }
  .gloss td:first-child { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
  .gloss td:nth-child(2) { font-size: 18px; margin-bottom: 4px; }
  .fits td:nth-child(2) { font-size: 15px; font-style: italic; color: var(--ink-soft); }
  .hero .actions .btn { flex: 1 1 auto; text-align: center; }
}
