/* ============================================================
   pages.css — subpage + shared-component styles.
   Agents: APPEND your page's block under a clear header comment.
   Tokens live in site.css :root — no new colors, no new fonts.
   ============================================================ */

/* ---------- shared: subpage layout ---------- */
.sub-main { padding-top: 5.5rem; }
.subpage .panel { margin: 2.2rem auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- shared: calculator teaser (homepage) ---------- */
.runit-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.runit-inner h2 {
  font-family: var(--disp); font-weight: 400; letter-spacing: 0.02em;
  font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0.7rem 0 0.3rem;
}
.runit-inner .hook { max-width: 34rem; margin-bottom: 0; }
.runit-inner .btn { flex-shrink: 0; }

/* ---------- shared: newsletter ---------- */
.newsletter { max-width: 720px; text-align: center; }
.newsletter .panel-head { justify-content: center; }
.news-copy { color: var(--dim); font-size: 0.95rem; max-width: 34rem; margin: 0 auto 1.2rem; }
.news-form { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.news-form input[type="email"] {
  flex: 1 1 260px; max-width: 340px; padding: 0.7rem 1rem;
  font: 600 0.95rem var(--body); color: var(--paper);
  background: rgba(7, 12, 22, 0.65); border: 1px solid var(--line); border-radius: 8px;
}
.news-form input[type="email"]:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.news-status, .form-status { font-family: var(--mono); font-size: 0.82rem; color: var(--amber); margin-top: 0.8rem; min-height: 1.2em; }

/* ============================================================
   watch/quantization-8bit-to-1bit — episode article
   (classes namespaced qz- to avoid clashing with sibling
   episode blocks; uses only :root tokens — no new colors/fonts)
   ============================================================ */
.qz-hero { max-width: 900px; }
.qz-hero h1 {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  line-height: 1.04; letter-spacing: 0.01em;
  margin: 0.3rem 0 0.9rem;
}
.qz-hero .hook { margin: 0 0 1.5rem; max-width: 42rem; }
.qz-hero .player-wrap { margin: 0; }
.qz-hero .receipt-line { margin-top: 1rem; }

.qz-body { max-width: 760px; }
.qz-body h2 {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  line-height: 1.15; letter-spacing: 0.01em;
  margin: 2.1rem 0 0.7rem;
}
.qz-body h2:first-of-type { margin-top: 0.3rem; }
.qz-body p {
  color: var(--paper); font-size: 1.02rem; line-height: 1.7;
  margin: 0 0 1rem; opacity: 0.92;
}

.qz-receipts { max-width: 760px; }
.qz-receipts-list { list-style: none; margin: 0; padding: 0; }
.qz-receipts-list li {
  font-family: var(--mono); font-size: 0.86rem; line-height: 1.55;
  color: var(--dim); padding: 0.7rem 0; border-top: 1px solid var(--line);
}
.qz-receipts-list li:first-child { border-top: 0; padding-top: 0; }
.qz-receipts-list b { color: var(--amber); font-weight: 400; }

.qz-cta { max-width: 760px; text-align: center; }
.qz-cta .panel-head { justify-content: center; }
.qz-cta .onair-actions { justify-content: center; margin-bottom: 1rem; }
.qz-runit { color: var(--dim); font-size: 0.95rem; margin: 0; }
.qz-runit a { font-weight: 700; }

@media (max-width: 640px) {
  .qz-body p { font-size: 1rem; }
}

/* ============================================================
   watch/deepseek-can-you-run-it.html — episode companion article
   (classes namespaced ds- to avoid clashing with sibling
   episode blocks; uses only :root tokens — no new colors/fonts)
   ============================================================ */
.ds-hero { max-width: 900px; }
.ds-hero h1 {
  font-family: var(--disp); font-weight: 400; letter-spacing: 0.015em;
  font-size: clamp(1.9rem, 5.2vw, 3.1rem); line-height: 1.05;
  margin: 0.9rem 0 0.7rem;
}
.ds-lede {
  color: var(--paper); font-size: clamp(1.02rem, 2vw, 1.18rem);
  max-width: 42rem; margin-bottom: 1.7rem;
}
.ds-hero .player-wrap { margin-top: 0.4rem; }
.ds-hero .receipt-line { margin-top: 1rem; }

.ds-body { max-width: 760px; }
.ds-body h2 {
  font-family: var(--disp); font-weight: 400; letter-spacing: 0.02em;
  font-size: clamp(1.35rem, 3.2vw, 1.9rem); line-height: 1.12;
  margin: 2rem 0 0.7rem;
}
.ds-body h2:first-child { margin-top: 0; }
.ds-body p { margin-bottom: 1.1rem; color: var(--paper); }

.ds-receipts-list { list-style: none; display: grid; gap: 0.75rem; }
.ds-receipts-list li {
  font-family: var(--mono); font-size: 0.9rem; line-height: 1.5; color: var(--dim);
  padding-left: 1.35rem; position: relative;
}
.ds-receipts-list li::before { content: "\25B8"; position: absolute; left: 0; color: var(--amber); }
.ds-receipts-list .r-k { color: var(--amber); }

.ds-cta { max-width: 720px; text-align: center; }
.ds-cta .panel-head { justify-content: center; }
.ds-cta .hook { max-width: 40rem; margin: 0 auto 1.4rem; }
.ds-cta .onair-actions { justify-content: center; }
.ds-runit { margin-top: 1.4rem; font-family: var(--mono); font-size: 0.9rem; color: var(--dim); }
.ds-runit a { color: var(--amber-hot); text-decoration: none; }
.ds-runit a:hover { text-decoration: underline; }

/* ---------- watch/qwen-3-6-review — episode article (namespaced w36- to avoid clashes) ---------- */
.w36-head .tape { margin-bottom: 1.1rem; }
.w36-title {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(1.9rem, 6vw, 3.3rem); line-height: 1.03;
  letter-spacing: 0.015em; margin: 0.2rem 0 1.6rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.w36-embed { max-width: 820px; margin: 0 auto; }
.w36-embed .player { aspect-ratio: 16 / 9; border-radius: 12px; }
.w36-embed .receipt-line { margin-top: 1rem; text-align: center; }

.w36-body { max-width: 68ch; margin: 0 auto; }
.w36-body h2 {
  font-family: var(--disp); font-weight: 400; letter-spacing: 0.02em;
  font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.12;
  margin: 2.2rem 0 0.7rem; color: var(--paper);
}
.w36-body h2:first-child { margin-top: 0; }
.w36-body p { margin-bottom: 1.05rem; font-size: 1.02rem; color: var(--paper); }
.w36-body p:last-child { margin-bottom: 0; }
.w36-lede { font-size: 1.14rem; }

.w36-receipts { list-style: none; max-width: 68ch; margin: 0 auto; }
.w36-receipts li {
  position: relative; padding: 0.75rem 0 0.75rem 1.5rem;
  font-family: var(--mono); font-size: 0.9rem; line-height: 1.5;
  color: var(--paper); border-bottom: 1px solid var(--line);
}
.w36-receipts li::before { content: "\2192"; position: absolute; left: 0; color: var(--amber); }
.w36-receipts li:last-child { border-bottom: 0; }

.w36-cta { text-align: center; }
.w36-cta .w36-cta-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin: 0.4rem 0 1.2rem; }
.w36-cta .w36-cta-note { color: var(--dim); font-size: 0.93rem; max-width: 40rem; margin: 0 auto; }
.w36-cta .w36-cta-note a { color: var(--amber-hot); font-weight: 700; }

/* ---------- watch/ : episode companion articles (shared across all watch pages) ---------- */
.watch-lede { max-width: 900px; }
.watch-lede h1 {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(2rem, 5.6vw, 3.4rem); line-height: 1.02;
  letter-spacing: 0.01em; margin: 0.9rem 0 1.4rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.watch-player { margin: 0 0 1rem; }
.watch-player .player { width: 100%; }
.watch-lede .receipt-line { margin-top: 1rem; }

.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(1.4rem, 3.2vw, 2.05rem); line-height: 1.1;
  letter-spacing: 0.015em; color: var(--paper);
  margin: 2.2rem 0 0.7rem;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p { color: var(--paper); font-size: 1.03rem; margin: 0 0 1.15rem; }
.article-body p:last-child { margin-bottom: 0; }

.receipts { list-style: none; display: grid; gap: 0.75rem; margin: 0; }
.receipts li {
  position: relative; padding-left: 1.35rem; line-height: 1.5;
  font-family: var(--mono); font-size: 0.86rem; color: var(--dim);
}
.receipts li::before { content: "\2192"; position: absolute; left: 0; color: var(--amber); }
.receipts a { word-break: break-word; }

.watch-cta { text-align: center; max-width: 720px; }
.watch-cta .panel-head { justify-content: center; }
.watch-cta .cta-copy { color: var(--dim); font-size: 0.97rem; max-width: 38rem; margin: 0 auto 1.4rem; }
.watch-cta .cta-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- watch/llama-named-local-ai — episode article ---------- */
.episode-head { max-width: 900px; }
.episode-head .tape { margin-bottom: 1.1rem; }
.episode-title {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(1.9rem, 5.4vw, 3.2rem);
  line-height: 1.05; letter-spacing: 0.01em; margin: 0.2rem 0 1.2rem;
}
.episode-standfirst {
  color: var(--paper); font-size: clamp(1rem, 2vw, 1.14rem);
  max-width: 44rem; margin-bottom: 1.6rem;
}
.episode-player { max-width: 840px; margin: 0 0 0.9rem; }
.episode-head .receipt-line { margin-top: 0; }

.article { max-width: 760px; }
.article h2 {
  font-family: var(--disp); font-weight: 400; letter-spacing: 0.01em;
  font-size: clamp(1.35rem, 3.2vw, 1.95rem); line-height: 1.12;
  margin: 2.1rem 0 0.7rem; color: var(--paper);
}
.article h2:first-of-type { margin-top: 0; }
.article p { color: var(--paper); font-size: 1.02rem; margin-bottom: 1rem; }
.article p:last-child { margin-bottom: 0; }

.receipts-list { list-style: none; display: grid; gap: 0.85rem; }
.receipts-list li {
  font-family: var(--mono); font-size: 0.86rem; line-height: 1.55;
  color: var(--paper); padding-left: 1.5rem; position: relative;
}
.receipts-list li::before {
  content: "→"; position: absolute; left: 0; top: 0; color: var(--amber);
}
.receipts-note { color: var(--dim); font-size: 0.86rem; margin-top: 1.3rem; }

.episode-cta { text-align: center; max-width: 720px; }
.episode-cta .cta-actions {
  display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap;
  margin: 1.3rem 0 1.1rem;
}
.episode-cta .cta-note { color: var(--dim); font-size: 0.93rem; }
.episode-cta .cta-note a { font-weight: 700; }

/* ============================================================
   PARKED — styles for the business/services page (not shipped;
   page lives in ../parked/). Kept so it drops back in cleanly.
   ============================================================ */
.svc-lead { max-width: 900px; }
.svc-lead .tape { margin-bottom: 1.4rem; }
.svc-title {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(2.2rem, 6.5vw, 4rem); line-height: 1.02; letter-spacing: 0.015em;
  margin-bottom: 1.1rem;
}
.svc-sub { max-width: 40rem; font-size: clamp(1rem, 2vw, 1.15rem); color: var(--paper); }
.svc-lead .receipt-line { margin-top: 1.6rem; }

/* what we set up — numbered list */
.svc-steps { list-style: none; display: grid; gap: 1.1rem; }
.svc-step {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.1rem 1.3rem; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(7, 12, 22, 0.5);
}
.svc-step-n {
  font-family: var(--disp); font-size: 1.5rem; color: var(--amber);
  line-height: 1; flex-shrink: 0; min-width: 2.2rem;
}
.svc-step h3 {
  font-family: var(--disp); font-weight: 400; font-size: 1.25rem;
  letter-spacing: 0.02em; margin-bottom: 0.3rem;
}
.svc-step p { color: var(--dim); font-size: 0.94rem; }

/* honest note */
.svc-honest { max-width: 760px; }
.svc-honest .tape { margin-bottom: 1.2rem; }
.svc-honest-copy { font-size: clamp(1.05rem, 2.2vw, 1.3rem); line-height: 1.5; color: var(--paper); }

/* contact */
.svc-contact { max-width: 760px; }
.svc-contact-title {
  font-family: var(--disp); font-weight: 400; font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  letter-spacing: 0.015em; margin-bottom: 0.6rem;
}
.svc-contact-sub { color: var(--dim); font-size: 0.98rem; max-width: 38rem; margin-bottom: 1.6rem; }
.contact-form { display: grid; gap: 0.9rem; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 0.75rem 1rem;
  font: 500 0.95rem var(--body); color: var(--paper);
  background: rgba(7, 12, 22, 0.65); border: 1px solid var(--line); border-radius: 8px;
}
.contact-form textarea { resize: vertical; min-height: 7rem; line-height: 1.5; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--dim); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.contact-form button { justify-self: start; }

@media (max-width: 540px) {
  .cf-row { grid-template-columns: 1fr; }
  .contact-form button { justify-self: stretch; text-align: center; }
}

/* ============================================================
   watch/what-can-your-gpu-run.html — GPU buyer's guide article
   ============================================================ */
.wr-lead { max-width: 1000px; }
.wr-lead .tape { margin-bottom: 1.3rem; }
.wr-title {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 3.6rem); line-height: 1.04; letter-spacing: 0.015em;
  margin-bottom: 1.1rem;
}
.wr-dek { max-width: 42rem; font-size: clamp(1rem, 2vw, 1.15rem); color: var(--paper); margin-bottom: 1.6rem; }
.wr-embed { margin: 0 0 1rem; }          /* the .player itself comes from site.css */
.wr-lead .receipt-line { margin-top: 0.5rem; }

/* article prose */
.wr-article { max-width: 760px; }
.wr-article h2 {
  font-family: var(--disp); font-weight: 400; letter-spacing: 0.015em;
  font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.12;
  margin: 2rem 0 0.7rem;
}
.wr-article h2:first-child { margin-top: 0; }
.wr-article p { color: var(--paper); font-size: 1.02rem; margin-bottom: 1rem; }
.wr-article p:last-child { margin-bottom: 0; }

/* receipts list */
.wr-receipts { max-width: 900px; }
.wr-receipts ul { list-style: none; display: grid; gap: 0.8rem; }
.wr-receipts li {
  font-family: var(--mono); font-size: 0.86rem; line-height: 1.5; color: var(--paper);
  padding: 0.75rem 1rem 0.75rem 1.4rem; border-left: 2px solid var(--amber);
  background: rgba(7, 12, 22, 0.5); border-radius: 0 8px 8px 0;
}
.wr-receipts li b { color: var(--amber); font-weight: 700; }

/* end cta */
.wr-cta { max-width: 760px; text-align: center; }
.wr-cta .tape { margin-bottom: 1.1rem; }
.wr-cta-copy { color: var(--paper); font-size: 1.05rem; max-width: 40rem; margin: 0 auto 1.4rem; }
.wr-cta-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.2rem; }
.wr-cta-runit { font-family: var(--mono); font-size: 0.86rem; color: var(--dim); }
.wr-cta-runit a { color: var(--amber-hot); }

/* ============================================================
   can-i-run-it.html — the "Can I Run It?" calculator
   (classes namespaced cir- ; only :root tokens — no new colors/fonts.
   Cards are built in js/fit.js and collapse to one column at 390px.)
   ============================================================ */
.cir-lead { max-width: 1000px; }
.cir-lead .tape { margin-bottom: 1.2rem; }
.cir-title {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(2.4rem, 8vw, 5rem); line-height: 0.98; letter-spacing: 0.015em;
  margin: 0.4rem 0 1rem;
}
.cir-dek { max-width: 44rem; font-size: clamp(1rem, 2vw, 1.15rem); color: var(--paper); }

/* picker */
.cir-picker { margin-top: 1.8rem; max-width: 640px; }
.cir-label {
  display: block; font-family: var(--mono); font-size: 0.8rem;
  letter-spacing: 0.04em; color: var(--dim); margin-bottom: 0.4rem;
}
.cir-select, .cir-num {
  width: 100%; padding: 0.75rem 1rem;
  font: 600 0.98rem var(--body); color: var(--paper);
  background: rgba(7, 12, 22, 0.7); border: 1px solid var(--line); border-radius: 8px;
}
.cir-select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23f5a623' stroke-width='1.6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.cir-select:focus, .cir-num:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.cir-select optgroup { color: var(--dim); background: var(--ink); }
.cir-select option { color: var(--paper); background: var(--ink); }

.cir-custom {
  margin-top: 1rem; padding: 1rem; border: 1px dashed var(--line); border-radius: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem;
}
.cir-custom[hidden] { display: none; }
.cir-custom-note { grid-column: 1 / -1; margin: 0; font-size: 0.82rem; color: var(--dim); }
.cir-rig-line { margin-top: 1.2rem; }

/* results panel */
.cir-results .panel-note { color: var(--dim); }
.cir-cards, .cir-debunk-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.1rem;
}
.cir-empty { color: var(--dim); font-size: 0.95rem; }

/* result card */
.cir-card {
  display: flex; flex-direction: column; gap: 0.6rem;
  padding: 1.2rem 1.3rem; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(7, 12, 22, 0.5);
}
.cir-card.cir-fully { border-color: rgba(245, 166, 35, 0.45); }
.cir-card.cir-offload { border-color: rgba(245, 166, 35, 0.28); }
.cir-card.cir-nofit { opacity: 0.74; }
.cir-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.8rem; }
.cir-model {
  font-family: var(--disp); font-weight: 400; font-size: 1.25rem;
  letter-spacing: 0.01em; line-height: 1.1;
}
.cir-verdict {
  flex-shrink: 0; font-family: var(--disp); font-weight: 400; font-size: 0.72rem;
  letter-spacing: 0.08em; padding: 0.24rem 0.6rem; border-radius: 5px; white-space: nowrap;
}
.cir-verdict-fully { background: var(--amber); color: var(--ink); box-shadow: 2px 2px 0 rgba(0,0,0,0.3); }
.cir-verdict-tight { color: var(--ink); background: var(--paper); box-shadow: 2px 2px 0 rgba(0,0,0,0.3); }
.cir-verdict-offload { color: var(--amber); border: 1px solid var(--amber); }
.cir-verdict-nofit { color: var(--dim); border: 1px solid var(--line); }
.cir-verdict-distill-only { color: var(--ink); background: var(--bust, #E5484D); box-shadow: 2px 2px 0 rgba(0,0,0,0.3); }
.cir-distill-note { font-family: var(--mono); font-size: 0.82rem; line-height: 1.5; color: var(--paper);
  background: rgba(229,72,77,0.10); border-left: 3px solid var(--bust, #E5484D);
  padding: 0.6rem 0.8rem; margin: 0.2rem 0 0.4rem; border-radius: 0 6px 6px 0; }

.cir-params { font-family: var(--mono); font-size: 0.76rem; color: var(--dim); line-height: 1.5; }
.cir-quant { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.1rem; }
.cir-quant-label { font-weight: 700; font-size: 0.95rem; color: var(--paper); }
.cir-quant-size { font-family: var(--mono); font-size: 0.82rem; color: var(--amber); }
.cir-fitnote { font-size: 0.9rem; color: var(--paper); opacity: 0.9; line-height: 1.5; margin: 0; }
.cir-hint { font-size: 0.82rem; color: var(--amber); line-height: 1.5; margin: 0; }

/* speeds */
.cir-speeds { border-top: 1px dashed var(--line); padding-top: 0.75rem; margin-top: 0.2rem; }
.cir-speeds-head {
  font-family: var(--disp); font-weight: 400; font-size: 0.8rem;
  letter-spacing: 0.08em; color: var(--dim); margin-bottom: 0.5rem;
}
.cir-speed-list { list-style: none; display: grid; gap: 0.6rem; margin: 0; padding: 0; }
.cir-speed { display: flex; flex-direction: column; gap: 0.12rem; }
.cir-speed-toks { font-size: 0.86rem; color: var(--paper); line-height: 1.45; }
.cir-speed-meta { font-family: var(--mono); font-size: 0.74rem; color: var(--dim); }
.cir-noguess { font-family: var(--mono); font-size: 0.8rem; color: var(--dim); margin: 0; }

/* hype / reality stamped pair */
.cir-stamps { display: grid; gap: 0.6rem; margin-top: 0.4rem; }
.cir-stamp {
  display: flex; gap: 0.7rem; align-items: flex-start;
  padding: 0.7rem 0.85rem; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(7, 12, 22, 0.5);
}
.cir-stamp-k {
  flex-shrink: 0; font-family: var(--disp); font-weight: 400; font-size: 0.7rem;
  letter-spacing: 0.12em; padding: 0.22rem 0.5rem; transform: rotate(-2.5deg);
}
.cir-stamp-hype .cir-stamp-k { color: var(--amber); border: 1px dashed var(--amber); background: transparent; }
.cir-stamp-real .cir-stamp-k { color: var(--ink); background: var(--amber); box-shadow: 2px 2px 0 rgba(0,0,0,0.35); }
.cir-stamp-t { margin: 0; font-size: 0.86rem; line-height: 1.45; }
.cir-stamp-hype .cir-stamp-t { color: var(--dim); font-style: italic; }
.cir-stamp-real .cir-stamp-t { color: var(--paper); }

.cir-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.cir-watch { align-self: flex-start; margin-top: 0.2rem; font-weight: 700; font-size: 0.9rem; color: var(--amber-hot); text-decoration: none; }
.cir-watch:hover { text-decoration: underline; }

/* debunk strip */
.cir-debunk-card {
  display: flex; flex-direction: column; gap: 0.6rem;
  padding: 1.2rem 1.3rem; border-radius: 12px;
  border: 1px solid var(--line); border-left: 3px solid var(--amber);
  background: rgba(7, 12, 22, 0.55);
}
.cir-flag {
  flex-shrink: 0; font-family: var(--disp); font-weight: 400; font-size: 0.68rem;
  letter-spacing: 0.1em; color: var(--ink); background: var(--amber);
  padding: 0.22rem 0.5rem; border-radius: 4px; transform: rotate(-2deg); white-space: nowrap;
}
.cir-debunk-verdict { font-weight: 700; font-size: 0.95rem; color: var(--paper); line-height: 1.45; margin: 0; }

/* methodology */
.cir-method { max-width: 820px; }
.cir-method-body p { color: var(--paper); font-size: 0.98rem; line-height: 1.65; margin: 0 0 0.9rem; }
.cir-method-list { list-style: none; display: grid; gap: 0.7rem; margin: 0.4rem 0 1.2rem; padding: 0; }
.cir-method-list li {
  position: relative; padding-left: 1.4rem; line-height: 1.55;
  font-size: 0.9rem; color: var(--dim);
}
.cir-method-list li::before { content: "\2192"; position: absolute; left: 0; color: var(--amber); }
.cir-method-list b { color: var(--paper); font-weight: 700; }
.cir-method .receipt-line { margin-top: 0.4rem; }

@media (max-width: 540px) {
  .cir-custom { grid-template-columns: 1fr; }
  .cir-cards, .cir-debunk-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   cheapest-box.html — "What's the cheapest box that runs it?"
   The inverse of Can I Run It? (classes namespaced cb- ; only
   :root tokens — no new colors/fonts. Cards are built in
   js/cheapest.js and collapse to one column at 540px.)
   ============================================================ */
.cb-lead { max-width: 1000px; }
.cb-lead .tape { margin-bottom: 1.2rem; }
.cb-title {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(2rem, 6.4vw, 4.2rem); line-height: 0.98; letter-spacing: 0.015em;
  margin: 0.4rem 0 1rem;
}
.cb-dek { max-width: 46rem; font-size: clamp(1rem, 2vw, 1.15rem); color: var(--paper); }

/* picker */
.cb-picker { margin-top: 1.8rem; max-width: 640px; }
.cb-label {
  display: block; font-family: var(--mono); font-size: 0.8rem;
  letter-spacing: 0.04em; color: var(--dim); margin-bottom: 0.4rem;
}
.cb-select {
  width: 100%; padding: 0.75rem 1rem;
  font: 600 0.98rem var(--body); color: var(--paper);
  background: rgba(7, 12, 22, 0.7); border: 1px solid var(--line); border-radius: 8px;
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23f5a623' stroke-width='1.6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.cb-select:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.cb-select optgroup { color: var(--dim); background: var(--ink); }
.cb-select option { color: var(--paper); background: var(--ink); }
.cb-needs { margin-top: 1.1rem; }

.cb-links { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 1rem; }
.cb-crosslink { font-weight: 700; font-size: 0.9rem; color: var(--amber-hot); text-decoration: none; }
.cb-crosslink:hover { text-decoration: underline; }

/* the price-freshness honesty rail — prominent */
.cb-freshness {
  margin-top: 1.6rem; padding: 0.7rem 1rem;
  border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 0 8px 8px 0;
  background: rgba(7, 12, 22, 0.55); color: var(--amber);
}

/* chips — the short answer */
.cb-chips-panel .panel-head { margin-bottom: 0.4rem; }
.cb-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.cb-chip {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 1rem 1.1rem; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(7, 12, 22, 0.5);
}
.cb-chip-fully { border-color: rgba(245, 166, 35, 0.45); }
.cb-chip-k {
  font-family: var(--disp); font-weight: 400; font-size: 0.78rem;
  letter-spacing: 0.08em; color: var(--dim);
}
.cb-chip-fully .cb-chip-k { color: var(--amber); }
.cb-chip-body { display: flex; align-items: baseline; justify-content: space-between; gap: 0.8rem; flex-wrap: wrap; }
.cb-chip-dev { font-family: var(--disp); font-weight: 400; font-size: 1.1rem; line-height: 1.1; letter-spacing: 0.01em; }
.cb-chip-price { font-family: var(--mono); font-size: 0.95rem; color: var(--amber); white-space: nowrap; }
.cb-chip-none { font-family: var(--mono); font-size: 0.86rem; color: var(--dim); }

/* results */
.cb-results .panel-note { color: var(--dim); }
.cb-cards, .cb-nofit-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.1rem;
}
.cb-empty { color: var(--dim); font-size: 0.95rem; }

.cb-card {
  display: flex; flex-direction: column; gap: 0.55rem;
  padding: 1.2rem 1.3rem; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(7, 12, 22, 0.5);
}
.cb-card.cb-fully { border-color: rgba(245, 166, 35, 0.45); }
.cb-card.cb-offload { border-color: rgba(245, 166, 35, 0.28); }
.cb-nofit-card { opacity: 0.6; }
.cb-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.8rem; }
.cb-dev {
  font-family: var(--disp); font-weight: 400; font-size: 1.2rem;
  letter-spacing: 0.01em; line-height: 1.1;
}
.cb-verdict {
  flex-shrink: 0; font-family: var(--disp); font-weight: 400; font-size: 0.7rem;
  letter-spacing: 0.08em; padding: 0.24rem 0.6rem; border-radius: 5px; white-space: nowrap;
}
.cb-verdict-fully { background: var(--amber); color: var(--ink); box-shadow: 2px 2px 0 rgba(0,0,0,0.3); }
.cb-verdict-tight { color: var(--ink); background: var(--paper); box-shadow: 2px 2px 0 rgba(0,0,0,0.3); }
.cb-verdict-distill-only { color: var(--ink); background: var(--bust, #E5484D); box-shadow: 2px 2px 0 rgba(0,0,0,0.3); }
.cb-verdict-offload { color: var(--amber); border: 1px solid var(--amber); }
.cb-verdict-nofit { color: var(--dim); border: 1px solid var(--line); }

.cb-meta { margin: 0; }
.cb-price { color: var(--amber); font-weight: 700; }
.cb-quant { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.1rem; }
.cb-quant-label { font-weight: 700; font-size: 0.95rem; color: var(--paper); }
.cb-quant-size { font-family: var(--mono); font-size: 0.82rem; color: var(--amber); }
.cb-fitnote { font-size: 0.9rem; color: var(--paper); opacity: 0.9; line-height: 1.5; margin: 0; }
.cb-reason { font-size: 0.88rem; color: var(--paper); line-height: 1.5; margin: 0; }

/* methodology */
.cb-method { max-width: 820px; }
.cb-method-body p { color: var(--paper); font-size: 0.98rem; line-height: 1.65; margin: 0 0 0.9rem; }
.cb-method-body a { color: var(--amber-hot); font-weight: 700; }
.cb-method-list { list-style: none; display: grid; gap: 0.7rem; margin: 0.4rem 0 1.2rem; padding: 0; }
.cb-method-list li {
  position: relative; padding-left: 1.4rem; line-height: 1.55;
  font-size: 0.9rem; color: var(--dim);
}
.cb-method-list li::before { content: "\2192"; position: absolute; left: 0; color: var(--amber); }
.cb-method-list b { color: var(--paper); font-weight: 700; }
.cb-method .receipt-line { margin-top: 0.4rem; }

@media (max-width: 540px) {
  .cb-cards, .cb-nofit-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   hype-check.html — THE HYPE SCOREBOARD
   (classes namespaced hc- ; built client-side in js/hype-check.js.
   Uses :root tokens + the two authorised verdict colours below —
   no other new colours, no new fonts. Cards stack to one column.)
   ============================================================ */
:root {
  --check: #4CC38A;   /* verdict: checks out */
  --bust: #E5484D;    /* verdict: busted */
}

/* lead + filter */
.hc-lead { max-width: 1000px; }
.hc-lead .tape { margin-bottom: 1.2rem; }
.hc-title {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(2.2rem, 7vw, 4.6rem); line-height: 0.98; letter-spacing: 0.015em;
  margin: 0.4rem 0 1rem;
}
.hc-dek { max-width: 46rem; font-size: clamp(1rem, 2vw, 1.15rem); color: var(--paper); }
.hc-tally { margin-top: 1.4rem; }

.hc-search-wrap { margin-top: 1.6rem; max-width: 520px; }
.hc-search {
  width: 100%; padding: 0.75rem 1rem;
  font: 600 0.98rem var(--body); color: var(--paper);
  background: rgba(7, 12, 22, 0.7); border: 1px solid var(--line); border-radius: 8px;
}
.hc-search::placeholder { color: var(--dim); }
.hc-search:focus { outline: 2px solid var(--amber); outline-offset: 1px; }

/* the board */
.hc-board .panel-note { color: var(--dim); font-family: var(--mono); font-size: 0.86rem; }
.hc-list { display: grid; gap: 1.1rem; }
.hc-empty { color: var(--dim); font-size: 0.95rem; margin-top: 0.4rem; }

/* one row per claim */
.hc-card {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: 1.3rem 1.4rem; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(7, 12, 22, 0.5);
}
.hc-card.hc-bust  { border-left: 3px solid var(--bust); }
.hc-card.hc-check { border-left: 3px solid var(--check); }
.hc-card.hc-mixed { border-left: 3px solid var(--amber); }

.hc-card-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1rem; flex-wrap: wrap;
}
.hc-claim {
  font-family: var(--body); font-weight: 700;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem); line-height: 1.22;
  letter-spacing: 0; color: var(--paper); margin: 0; min-width: 12rem; flex: 1 1 16rem;
}

/* stamped verdict chip — rubber-stamp look, same family as .cir-stamp-k / .cir-flag */
.hc-stamp {
  flex-shrink: 0; align-self: flex-start;
  font-family: var(--disp); font-weight: 400; font-size: 0.82rem;
  letter-spacing: 0.14em; line-height: 1;
  padding: 0.34rem 0.7rem; border-radius: 4px;
  transform: rotate(-3deg); background: transparent;
}
.hc-stamp-bust  { color: var(--bust);  border: 2px solid var(--bust); }
.hc-stamp-check { color: var(--check); border: 2px solid var(--check); }
.hc-stamp-mixed { color: var(--amber); border: 2px solid var(--amber); }

.hc-verdict-line { color: var(--paper); font-size: 1rem; line-height: 1.55; margin: 0; opacity: 0.95; }

/* collapsible receipts */
.hc-receipts { border-top: 1px dashed var(--line); padding-top: 0.65rem; }
.hc-receipts-sum {
  display: flex; align-items: center; gap: 0.55rem; cursor: pointer;
  list-style: none; color: var(--dim);
}
.hc-receipts-sum::-webkit-details-marker { display: none; }
.hc-receipts-sum::before {
  content: "\25B8"; color: var(--amber); font-size: 0.8rem;
  transition: transform 0.18s ease;
}
.hc-receipts[open] .hc-receipts-sum::before { transform: rotate(90deg); }
.hc-receipts-sum:hover { color: var(--paper); }
.hc-receipts-sum:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.hc-receipts-label {
  font-family: var(--disp); font-weight: 400; font-size: 0.85rem; letter-spacing: 0.12em;
  color: var(--paper);
}
.hc-receipts-n { font-family: var(--mono); font-size: 0.78rem; color: var(--dim); }
.hc-receipts-list { list-style: none; margin: 0.7rem 0 0; padding: 0; }
.hc-receipts-list li {
  font-family: var(--mono); font-size: 0.83rem; line-height: 1.55; color: var(--dim);
  padding: 0.6rem 0; border-top: 1px solid var(--line); word-break: break-word;
}
.hc-receipts-list li:first-child { border-top: 0; padding-top: 0; }

/* footer row: watch link + episode meta */
.hc-foot {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 0.8rem 1.2rem; flex-wrap: wrap; margin-top: 0.15rem;
}
.hc-watch { font-weight: 700; font-size: 0.92rem; color: var(--amber-hot); text-decoration: none; white-space: nowrap; }
.hc-watch:hover { text-decoration: underline; }
.hc-ep { font-family: var(--mono); font-size: 0.76rem; color: var(--dim); }

@media (max-width: 540px) {
  .hc-card-head { flex-wrap: wrap; }
  .hc-claim { flex-basis: 100%; }
}

/* ============================================================
   glossary.html + learn/<slug>.html — the Local AI Glossary
   Index wall is built client-side in js/glossary.js from
   js/glossary-data.js; the learn/ explainer pages are static,
   generated by build/build_glossary_pages.py. Classes namespaced
   gl- ; only :root tokens — no new colors/fonts. The learn prose
   reuses .article-body from the watch/ block above.
   ============================================================ */

/* ---- index: lead ---- */
.gl-lead { max-width: 1000px; }
.gl-lead .tape { margin-bottom: 1.2rem; }
.gl-title {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(2.2rem, 7vw, 4.6rem); line-height: 0.98; letter-spacing: 0.015em;
  margin: 0.3rem 0 1rem;
}
.gl-dek { max-width: 42rem; font-size: clamp(1rem, 2vw, 1.15rem); color: var(--paper); }
.gl-lead .receipt-line { margin-top: 1.5rem; }

/* ---- index: A–Z wall ---- */
.gl-wall { display: grid; gap: 1.6rem; }
.gl-group {
  display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.8rem 1rem;
  align-items: start; padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.gl-group:first-child { padding-top: 0; border-top: 0; }
.gl-letter {
  font-family: var(--disp); font-weight: 400; font-size: 1.7rem;
  color: var(--amber); line-height: 1; padding-top: 0.3rem;
}
.gl-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.gl-chip {
  display: inline-flex; flex-direction: column; gap: 0.1rem;
  padding: 0.5rem 0.9rem; border-radius: 9px; text-decoration: none;
  border: 1px solid var(--line); background: rgba(7, 12, 22, 0.5);
  font-weight: 700; font-size: 0.92rem; line-height: 1.25;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
a.gl-chip { color: var(--paper); }
a.gl-chip:hover {
  transform: translateY(-2px); border-color: rgba(245, 166, 35, 0.55);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.gl-chip.gl-coming { color: #b9c2d1; cursor: default; }
.gl-drop {
  font-family: var(--mono); font-weight: 400; font-size: 0.68rem;
  letter-spacing: 0.02em; color: var(--dim);
}
.gl-empty { color: var(--dim); font-size: 0.95rem; }

@media (max-width: 540px) {
  .gl-group { grid-template-columns: 1.7rem 1fr; }
}

/* ---- learn/<slug>: explainer page ---- */
.gl-ex-head { max-width: 900px; text-align: center; }
.gl-ex-head .tape { margin-bottom: 1.2rem; }
.gl-ex-title {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(2.2rem, 7vw, 4rem); line-height: 1.02; letter-spacing: 0.015em;
  margin: 0.3rem 0 1.4rem;
}
.gl-vert {
  aspect-ratio: 9 / 16; width: 100%; max-width: 300px; margin: 0 auto;
  border-radius: 14px;
}
.gl-ex-head .receipt-line { margin-top: 1.2rem; }
.gl-ex-actions {
  display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem;
}

/* prose reuses .article-body from the watch/ block above */
.gl-ex-body { max-width: 680px; }

/* ---- learn/<slug>: prev/next + back nav ---- */
.gl-nav { max-width: 760px; }
.gl-nav-links { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.gl-nav-links a { text-decoration: none; font-weight: 700; color: var(--amber-hot); font-size: 0.95rem; }
.gl-nav-links a:hover { text-decoration: underline; }
.gl-nav-prev::before { content: "\2190\00a0"; }
.gl-nav-next::after { content: "\00a0\2192"; }
.gl-back {
  text-align: center; margin-top: 1.5rem; padding-top: 1.3rem;
  border-top: 1px dashed var(--line);
}
.gl-back a { font-weight: 700; }
.gl-runit {
  text-align: center; color: var(--dim); font-family: var(--mono);
  font-size: 0.86rem; margin-top: 1rem;
}
.gl-runit a { color: var(--amber-hot); }

/* ============================================================
   privacy.html + terms.html — legal pages
   ============================================================ */
.legal { max-width: 760px; }
.legal-title { font-family: var(--disp); font-weight: 400; font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.04; letter-spacing: 0.01em; margin: 0.3rem 0 0.5rem; }
.legal-meta { font-family: var(--mono); font-size: 0.82rem; color: var(--dim); margin-bottom: 1.6rem; }
.legal-lede { font-size: 1.1rem; color: var(--paper); margin-bottom: 1.8rem; }
.legal h2 { font-family: var(--disp); font-weight: 400; font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  letter-spacing: 0.01em; margin: 2rem 0 0.6rem; color: var(--paper); }
.legal p { color: var(--paper); opacity: 0.92; line-height: 1.7; margin: 0 0 1rem; }
.legal a { color: var(--amber-hot); }
.legal-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.legal-list li { position: relative; padding: 0.6rem 0 0.6rem 1.4rem; line-height: 1.6;
  color: var(--paper); opacity: 0.92; border-top: 1px solid var(--line); }
.legal-list li:first-child { border-top: 0; }
.legal-list li::before { content: "▸"; position: absolute; left: 0; color: var(--amber); }
.legal-list b, .legal p b { color: var(--paper); opacity: 1; font-weight: 700; }
.legal-contact { margin-top: 2rem; padding-top: 1.3rem; border-top: 1px dashed var(--line);
  font-family: var(--mono); font-size: 0.9rem; }

/* newsletter consent line */
.news-consent { font-size: 0.8rem; color: var(--dim); margin-top: 0.7rem; }
.news-consent a { color: var(--amber-hot); }

/* a11y fixes from live audit: distinguish links by more than colour; mobile nav scroll cue */
.legal a, .legal-list a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) {
  /* fade the right edge so it's clear the nav scrolls to more links */
  .nav-links {
    -webkit-mask-image: linear-gradient(to right, #000 82%, transparent 100%);
    mask-image: linear-gradient(to right, #000 82%, transparent 100%);
  }
}
