/* Standard Healthcare (a parody). One stylesheet, no external resources, no tracking. Mobile first. */

:root {
  --cream: #fff8ec;
  --paper: #ffffff;
  --ink: #23262b;
  --muted: #555b63;
  --tomato: #c8321a;
  --tomato-dark: #9c2410;
  --mustard: #f7c548;
  --mustard-dark: #e0a91c;
  --leaf: #2f6f4f;
  --line: #eadbbd;
  --field: #8a7a5a;
  --bronze: #f6e0cb;
  --silver: #e8ebf0;
  --gold: #fbe7a1;
  --radius: 16px;
  --shadow: 0 2px 0 rgba(35, 38, 43, 0.08), 0 8px 20px rgba(35, 38, 43, 0.06);
  --gutter: 16px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6em; }
h1 { font-size: clamp(1.8rem, 5vw + 0.8rem, 2.8rem); color: var(--tomato-dark); }
h2 { font-size: clamp(1.4rem, 2.4vw + 0.9rem, 1.9rem); margin-top: 1.6em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

a { color: var(--tomato-dark); text-underline-offset: 3px; }
a:hover { color: var(--tomato); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: 62rem; margin-inline: auto; padding-inline: var(--gutter); }

.mt-lg { margin-top: 32px; }
.flush { margin-top: 0; }
.err { font-weight: 700; color: var(--tomato-dark); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

[hidden] { display: none !important; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 10;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

/* ---------- header and navigation ---------- */

.site-header { background: var(--tomato); color: #fff; }
.site-header :focus-visible { outline-color: var(--mustard); }

.header-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 16px; padding-block: 12px;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: #fff; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: 0.01em;
}
.brand:hover { color: #fff; }
.logo { flex: none; }

.menu-toggle {
  display: none; align-items: center; min-height: 44px; padding: 0 16px;
  background: var(--cream); color: var(--ink); border: 0; border-radius: 999px;
  font: inherit; font-weight: 700; cursor: pointer;
}

.site-nav { flex-basis: 100%; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: #fff; text-decoration: none; font-weight: 600; border-radius: 999px;
}
.site-nav a:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.site-nav a[aria-current="page"] { background: var(--cream); color: var(--ink); }

.js .menu-toggle { display: inline-flex; }
.js .site-nav { display: none; }
.js .site-nav.open { display: block; }
.js .site-nav ul { flex-direction: column; }
.js .site-nav a { display: flex; }

@media (min-width: 48em) {
  .js .menu-toggle { display: none; }
  .js .site-nav { display: block; }
  .js .site-nav ul { flex-direction: row; }
  .js .site-nav a { display: inline-flex; }
}

/* ---------- layout blocks ---------- */

main { display: block; padding-bottom: 8px; }
.page { padding-block: 28px 8px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }

.hero {
  display: grid; gap: 20px; align-items: center; padding-block: 28px 12px;
}
.hero h1 { color: var(--ink); font-size: clamp(1.15rem, 2.2vw + 0.8rem, 1.5rem); font-weight: 600; line-height: 1.3; }
.h1-big { display: block; margin-bottom: 0.3em; color: var(--tomato-dark); font-size: clamp(2.1rem, 6.5vw + 0.8rem, 3.5rem); font-weight: 800; line-height: 1.05; }
.hero-art { justify-self: center; width: min(320px, 80%); }
@media (min-width: 48em) {
  .hero { grid-template-columns: 1.35fr 1fr; gap: 32px; }
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  background: var(--tomato); color: #fff; border: 0; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  box-shadow: 0 3px 0 var(--tomato-dark);
}
.btn:hover { background: var(--tomato-dark); color: #fff; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--tomato-dark); }
.btn-alt { background: var(--mustard); color: var(--ink); box-shadow: 0 3px 0 var(--mustard-dark); }
.btn-alt:hover { background: var(--mustard-dark); color: var(--ink); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }

.card {
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}

/* ---------- plan tiles and plan cards ---------- */

.tiles, .plans { display: grid; gap: 16px; }
@media (min-width: 40em) { .tiles, .plans { grid-template-columns: repeat(3, 1fr); } }

.tile, .plan {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  border-radius: var(--radius); padding: 20px; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
}
.tile p, .plan p { margin-bottom: 0.8em; }
.tile .btn, .plan .btn { margin-top: auto; }
.tile-bronze, .plan-bronze { background: var(--bronze); }
.tile-silver, .plan-silver { background: var(--silver); }
.tile-gold, .plan-gold { background: var(--gold); }
.tile img, .plan img { width: 96px; height: 80px; }
.plan h2 { margin-top: 0.2em; }
.plan dl { margin: 0 0 1em; width: 100%; }
.plan dt { font-weight: 800; margin-top: 0.8em; }
.plan dd { margin: 0; }
.card-msg { margin: 0; font-weight: 600; }
.card-msg:not(:empty) { margin-top: 12px; padding: 12px; background: var(--paper); border: 2px dashed var(--ink); border-radius: 10px; }

.glance { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 40em) { .glance { grid-template-columns: repeat(3, 1fr); } }
.glance li { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.glance strong { display: block; font-size: 1.15rem; color: var(--tomato-dark); margin-bottom: 4px; }

.thanks {
  margin-top: 36px; padding: 28px 20px; text-align: center;
  background: var(--mustard); border-radius: var(--radius); border: 2px solid var(--ink);
}
.thanks p { margin: 0; font-size: clamp(1.3rem, 3vw + 0.8rem, 1.8rem); font-weight: 800; }

/* ---------- how it works ---------- */

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li {
  counter-increment: step; position: relative; background: var(--paper);
  border: 2px solid var(--line); border-radius: var(--radius); padding: 16px 16px 16px 64px;
}
.steps li::before {
  content: counter(step); position: absolute; left: 14px; top: 14px; width: 36px; height: 36px;
  display: grid; place-items: center; border-radius: 50%; background: var(--tomato); color: #fff; font-weight: 800;
}
.steps h3 { margin-bottom: 0.2em; }
.steps p { margin: 0; }

.table-wrap { overflow-x: auto; }
table.plain { width: 100%; border-collapse: collapse; background: var(--paper); border: 2px solid var(--line); }
table.plain caption { text-align: left; font-weight: 700; padding: 8px 0; }
table.plain th, table.plain td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plain thead th { background: var(--gold); }

.demo fieldset { border: 2px solid var(--line); border-radius: 12px; margin: 12px 0; padding: 8px 14px 12px; }
.demo legend { font-weight: 700; padding-inline: 6px; }
.demo label { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.demo input[type="radio"], .form input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--tomato); }
.demo .hint { color: var(--muted); font-size: 0.95rem; margin: 0 0 6px; }

/* ---------- forms and results ---------- */

.form { max-width: 36rem; }
.form-wide { max-width: none; }
.field { display: grid; gap: 6px; margin-block: 16px; }
.field label, .field .label { font-weight: 700; }
.field .hint { color: var(--muted); font-size: 0.95rem; }
.form input[type="text"], .form input[type="number"], .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--ink);
  background: #fff; border: 2px solid var(--field); border-radius: 10px;
}
.form textarea { min-height: 7.5rem; resize: vertical; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; }
.noscript-note { padding: 12px; background: var(--gold); border: 2px solid var(--ink); border-radius: 10px; }
html:not(.js) .needs-js { display: none; }

.result {
  margin-top: 24px; padding: 18px; background: var(--paper);
  border: 2px dashed var(--ink); border-radius: 12px; max-width: 36rem;
}
.result:focus-visible { outline-style: solid; }
.result h2, .result h3 { margin-top: 0; }
.result p:last-child { margin-bottom: 0; }
.verdict { font-size: 1.35rem; }
.bar {
  height: 14px; border-radius: 7px; border: 2px solid var(--ink); margin: 14px 0;
  background-image: linear-gradient(45deg, var(--mustard) 25%, #fff0c2 25%, #fff0c2 50%, var(--mustard) 50%, var(--mustard) 75%, #fff0c2 75%);
  background-size: 28px 28px;
}
@media (prefers-reduced-motion: no-preference) {
  .bar { animation: crawl 3s linear infinite; }
  @keyframes crawl { to { background-position: 28px 0; } }
  .btn { transition: background-color 0.15s ease, transform 0.1s ease; }
  .pin { transition: transform 0.12s ease; }
  .pin:hover { transform: rotate(-45deg) scale(1.12); }
}

.price-line { font-size: 1.1rem; }

/* ---------- Explanation of Groceries ---------- */

.receipt {
  max-width: 36rem; padding: 18px; background: #fffef9; color: var(--ink);
  border: 2px solid var(--ink); border-radius: 6px; box-shadow: 6px 6px 0 var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 0.95rem;
}
.receipt h2 { margin: 0.4em 0 0.6em; font-size: 1.3rem; text-align: center; }
.receipt h3 { margin: 0 0 0.3em; font-size: 1.05rem; }
.not-a-bill {
  margin: 0; padding: 6px; text-align: center; font-weight: 800; letter-spacing: 0.08em;
  border: 2px solid var(--ink); background: var(--gold);
}
.receipt dl { margin: 0; }
.receipt .row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.receipt dt { flex: 1; }
.receipt dd { margin: 0; text-align: right; white-space: nowrap; }
.receipt .rline { margin-top: 14px; padding-top: 12px; border-top: 2px dashed var(--ink); }
.receipt .owe dt, .receipt .owe dd { font-weight: 800; }
.receipt .totals { margin-top: 16px; padding-top: 12px; border-top: 4px double var(--ink); }
.receipt .fine { margin: 14px 0 0; font-size: 0.85rem; color: var(--muted); }

/* ---------- find a store ---------- */

.map {
  position: relative; list-style: none; margin: 16px 0; padding: 0; width: 100%; aspect-ratio: 1 / 1;
  border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden;
  background-color: #eaf1d9;
  background-image:
    linear-gradient(90deg, transparent 0 28%, #fff 28% 31%, transparent 31% 63%, #fff 63% 66%, transparent 66%),
    linear-gradient(0deg, transparent 0 30%, #fff 30% 33%, transparent 33% 64%, #fff 64% 67%, transparent 67%),
    linear-gradient(115deg, transparent 0 55%, #bcd9ea 55% 61%, transparent 61%);
}
@media (min-width: 40em) { .map { aspect-ratio: 4 / 3; } }
.map li { position: absolute; width: 0; height: 0; }

.pin {
  position: absolute; left: 0; top: 0; margin: -22px 0 0 -22px; transform: rotate(-45deg);
  width: 44px; height: 44px; padding: 0; display: grid; place-items: center;
  border-radius: 50% 50% 50% 8px;
  background: var(--tomato); color: #fff; border: 3px solid var(--ink);
  font: inherit; font-size: 0.8rem; font-weight: 800; cursor: pointer;
}
.pin .num { display: block; transform: rotate(45deg); }
.pin[data-state="open"] { background: var(--leaf); }
.pin[data-state="missing"] { background: #fff; color: var(--ink); border-style: dashed; }
.pin[data-state="missing"] .num { text-decoration: line-through; }

.map-status { position: sticky; top: 0; z-index: 5; padding: 8px 0 4px; background: var(--cream); }
.store-detail, .tally, .zip-msg { max-width: 36rem; }
.store-detail { min-height: 6.5rem; padding: 10px 14px; background: var(--paper); border: 2px solid var(--line); border-radius: 12px; }
.store-detail h2 { margin: 0 0 0.2em; font-size: 1.15rem; }
.store-detail p { margin: 0 0 0.3em; font-size: 0.98rem; line-height: 1.4; }
.tally { margin: 6px 0 0; font-weight: 700; font-size: 0.98rem; }
.zip-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.zip-row .field { margin-block: 0; flex: 1 1 10rem; }
.zip-msg { margin: 10px 0 0; font-weight: 600; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px;
  padding: 10px 16px; font-weight: 700; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--tomato-dark); }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] { border-color: var(--ink); }
.faq .answer { padding: 0 16px 14px; }
.faq .answer p { margin: 0; }

/* ---------- footer ---------- */

.site-footer { margin-top: 48px; background: var(--ink); color: #fff; padding-block: 24px 28px; }
.site-footer p { margin: 0 0 0.7em; font-size: 1rem; }
.site-footer p:last-child { margin-bottom: 0; }
.site-footer a { color: var(--mustard); }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: var(--mustard); }
.site-footer .tic-link { margin-top: 1.4em; font-size: 0.75rem; color: #8a8f96; }
.site-footer .tic-link a { color: #8a8f96; }

/* ---------- Transparency in Coverage: the file portal, all under .tic ---------- */
.tic .tic-bar { background: var(--paper); border-bottom: 1px solid var(--line); }
.tic .tic-bar .wrap { display: flex; align-items: center; gap: 10px; min-height: 52px; }
.tic .tic-bar h1 { margin: 0; font-size: 1.05rem; color: var(--ink); }
.tic .tic-note { position: relative; margin: 0 0 20px; padding: 12px 44px 12px 16px; background: #eef4fb; border: 1px solid #c9d9ec; border-radius: 6px; font-size: 0.9rem; }
.tic .tic-note p:last-child { margin-bottom: 0; }
.tic .tic-close { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1.3rem; cursor: pointer; }
.tic .tic-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.tic .tic-row input[type="text"] { flex: 1 1 14rem; min-height: 44px; padding: 8px 10px; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--field); border-radius: 6px; }
.tic .tic-row input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--tomato); }
.tic .tic-files { height: 70vh; overflow-y: auto; margin: 16px 0 0; padding: 8px 8px 8px 4.5em; background: var(--paper); border: 1px solid var(--line); font-size: 0.9rem; overflow-wrap: anywhere; }
.tic .tic-files li { padding: 2px 0; }
.tic .tic-legal { margin: 16px 0 0; font-size: 0.85rem; color: var(--muted); }

/* ---------- the crash page: the only page with its own look, all under .crash ---------- */
.crash { margin: 0; min-height: 100vh; background: #2457a8; color: #fff; }
.crash main, .crash .crash-parody { max-width: 52rem; padding: 12vh 8vw 0; }
.crash h1 { color: #fff; font-size: clamp(1.3rem, 2.2vw + 0.8rem, 1.9rem); font-weight: 400; line-height: 1.35; margin-bottom: 1em; }
.crash p { font-size: 1.15rem; }
.crash .crash-face { margin: 0 0 0.3em; font-size: clamp(6rem, 18vw, 10rem); line-height: 1; }
.crash .crash-code { margin-top: 2em; font-size: 0.95rem; overflow-wrap: anywhere; }
.crash .crash-parody { padding-top: 3em; padding-bottom: 6vh; }
.crash .crash-parody p { margin: 0; font-size: 0.8rem; }
.crash a { color: #fff; }
.crash :focus-visible { outline-color: #fff; }

@media print {
  .site-header, .skip, .cta-row, .menu-toggle { display: none; }
  body { background: #fff; }
}

/* ---------- generated: the 24 pin positions (kept in CSS so the page needs no inline styles) ---------- */
.map li:nth-child(1) { left: 9.0%; top: 12.3%; }
.map li:nth-child(2) { left: 25.8%; top: 11.8%; }
.map li:nth-child(3) { left: 42.0%; top: 14.8%; }
.map li:nth-child(4) { left: 59.1%; top: 13.0%; }
.map li:nth-child(5) { left: 75.1%; top: 11.0%; }
.map li:nth-child(6) { left: 90.8%; top: 11.2%; }
.map li:nth-child(7) { left: 9.0%; top: 36.8%; }
.map li:nth-child(8) { left: 25.6%; top: 39.0%; }
.map li:nth-child(9) { left: 42.5%; top: 37.1%; }
.map li:nth-child(10) { left: 58.7%; top: 39.8%; }
.map li:nth-child(11) { left: 74.7%; top: 36.4%; }
.map li:nth-child(12) { left: 91.0%; top: 35.6%; }
.map li:nth-child(13) { left: 9.2%; top: 61.2%; }
.map li:nth-child(14) { left: 24.6%; top: 60.2%; }
.map li:nth-child(15) { left: 42.1%; top: 62.1%; }
.map li:nth-child(16) { left: 57.5%; top: 62.0%; }
.map li:nth-child(17) { left: 75.4%; top: 60.0%; }
.map li:nth-child(18) { left: 90.7%; top: 61.8%; }
.map li:nth-child(19) { left: 9.0%; top: 86.8%; }
.map li:nth-child(20) { left: 25.0%; top: 85.2%; }
.map li:nth-child(21) { left: 42.1%; top: 85.1%; }
.map li:nth-child(22) { left: 57.7%; top: 88.6%; }
.map li:nth-child(23) { left: 74.5%; top: 85.5%; }
.map li:nth-child(24) { left: 92.1%; top: 89.1%; }

/* ---------- Penny, the virtual assistant: the launcher and the panel, all under .chat-* ---------- */
.chat-launch {
  position: fixed; right: 16px; bottom: 16px; z-index: 20;
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px 0 16px;
  background: var(--tomato); color: #fff; border: 2px solid var(--ink); border-radius: 999px;
  font: inherit; font-weight: 800; cursor: pointer; box-shadow: 3px 3px 0 var(--ink);
}
.chat-launch:hover { background: var(--tomato-dark); }
.chat-launch svg { flex: none; }
.chat-badge {
  position: absolute; top: -8px; right: -6px; min-width: 24px; height: 24px; padding: 0 6px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--mustard); color: var(--ink); border: 2px solid var(--ink); font-size: 0.8rem; font-weight: 800;
}
.chat {
  position: fixed; z-index: 21; left: 0; right: 0; bottom: 0; height: min(80vh, 36rem);
  display: flex; flex-direction: column; background: var(--paper);
  border: 2px solid var(--ink); border-radius: var(--radius) var(--radius) 0 0; box-shadow: var(--shadow);
}
@media (min-width: 40em) { .chat { left: auto; right: 16px; bottom: 84px; width: 23rem; border-radius: var(--radius); } }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 8px 6px 8px 16px; background: var(--tomato); color: #fff; border-radius: 13px 13px 0 0; }
.chat-head p { margin: 0; line-height: 1.25; }
.chat-name { font-weight: 800; }
.chat-sub { font-size: 0.85rem; }
.chat-head :focus-visible { outline-color: var(--mustard); }
.chat-close { margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #fff; font: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.chat-close:hover { background: rgba(255, 255, 255, 0.2); }
.chat-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; background: var(--cream); }
.chat-msg { max-width: 85%; margin: 0; padding: 8px 12px; border-radius: 14px; font-size: 0.98rem; line-height: 1.4; }
.chat-bot { background: var(--paper); border: 2px solid var(--line); border-bottom-left-radius: 4px; }
.chat-you { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; overflow-wrap: anywhere; }
.chat-typing { display: inline-flex; gap: 4px; padding-block: 12px; }
.chat-typing .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-chip {
  min-height: 44px; padding: 0 14px; background: var(--paper); color: var(--tomato-dark);
  border: 2px solid var(--tomato); border-radius: 999px; font: inherit; font-size: 0.92rem; font-weight: 700; cursor: pointer;
}
.chat-chip:hover { background: var(--tomato); color: #fff; }
.chat-note { align-self: center; margin: 4px 0; font-size: 0.88rem; font-weight: 700; color: var(--muted); text-align: center; }
.chat-again { align-self: center; }
.chat-form { display: flex; gap: 8px; padding: 10px 10px 4px; border-top: 2px solid var(--line); }
.chat-form input {
  flex: 1; min-width: 0; min-height: 44px; padding: 8px 14px; font: inherit; color: var(--ink);
  background: #fff; border: 2px solid var(--field); border-radius: 999px;
}
.chat-form input:disabled, .chat-form .btn:disabled { opacity: 0.55; cursor: not-allowed; }
.chat-hint { margin: 0; padding: 2px 16px 10px; font-size: 0.8rem; color: var(--muted); }
.has-chat .site-footer { padding-bottom: 96px; }
@media (prefers-reduced-motion: no-preference) {
  .chat-typing .dot { animation: chat-blink 1.2s ease-in-out infinite both; }
  .chat-typing .dot:nth-child(3) { animation-delay: 0.2s; }
  .chat-typing .dot:nth-child(4) { animation-delay: 0.4s; }
  @keyframes chat-blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
}
@media print { .chat, .chat-launch { display: none; } }

/* ---------- Our commercials: the home strip, the hub and a commercial's page (the real answer above the joke) ---------- */
.tv-strip { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tv-strip a { display: block; color: var(--ink); text-decoration: none; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.tv-strip a:hover { color: var(--tomato-dark); }
.tv-strip img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #0a2a8a; }
.tv-strip span { display: block; padding: 10px 14px 12px; font-weight: 700; }
.commercial .kicker { margin: 0 0 6px; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.real-answer { margin: 0 0 24px; padding: 18px 20px 6px; background: var(--paper); border: 3px solid var(--leaf); border-radius: var(--radius); box-shadow: var(--shadow); }
.real-answer-k { margin: 0 0 8px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--leaf); }
.real-answer a { font-weight: 700; }
.ad-figure { margin: 0 0 20px; }
.ad-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #0a2a8a; }
.ad-figure figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--muted); }
.frame { font-weight: 700; color: var(--tomato-dark); }
.screen-words { margin: 0 0 1em; padding-left: 0; list-style: none; }
.screen-words li { padding: 6px 0; border-top: 1px solid var(--line); }
.screen-words b { display: inline-block; min-width: 7rem; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.transcript { margin: 0 0 1em; display: grid; grid-template-columns: 8rem 1fr; gap: 6px 12px; }
.transcript dt { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tomato-dark); padding-top: 3px; }
.transcript dd { margin: 0; }
.crawl-text { font-size: 0.82rem; line-height: 1.5; color: var(--muted); border-left: 4px solid var(--line); padding-left: 12px; }
.lower-third { padding: 12px 16px; background: #061a5a; color: #fff; border-radius: 10px; border-top: 4px solid var(--mustard); }
.lower-third b { color: var(--mustard); margin-right: 10px; }
.see-also { margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--line); }
.commercial-list { padding-left: 1.2em; }
.commercial-list li { margin: 6px 0; }
.muted { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 600px) { .transcript { grid-template-columns: 1fr; gap: 2px 0; } .transcript dd { margin-bottom: 8px; } }

/* ---------- the stock photographs (typed slots until the free-use set arrives), the confession, the spine ---------- */
.photo-slot { margin: 0 0 20px; }
.photo-slot img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-slot figcaption { margin-top: 6px; font-size: 0.85rem; color: var(--muted); }
.photo-slot-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 180px; padding: 20px;
  text-align: center; border: 3px dashed var(--field); border-radius: var(--radius); background: var(--silver); color: var(--ink); }
.photo-slot-box .k { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.photo-slot-box .n { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; }
.photo-slot-box .a { font-size: 0.95rem; color: var(--muted); }
.confession p { font-size: 1.1rem; line-height: 1.6; }
.confession p:first-child::first-letter { font-size: 1.6em; font-weight: 700; color: var(--tomato-dark); }
.advice { margin: 0 0 12px; padding: 10px 12px; background: var(--cream); border-left: 4px solid var(--mustard-dark); border-radius: 8px; font-size: 0.95rem; }
.spine { padding-left: 1.2em; }
.spine li { margin: 10px 0; }
.spine b { display: inline-block; min-width: 7.5rem; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.spine .photo-slot { margin-top: 8px; }
.relief { display: inline-block; padding: 6px 14px; background: var(--paper); border: 3px solid var(--ink); border-radius: 12px; font-weight: 800; font-size: 1.3rem; transform: rotate(-3deg); }
.closer { display: inline-block; padding: 8px 16px; background: #061a5a; color: var(--mustard); border-radius: 10px; font-weight: 800; text-decoration: none; border-top: 4px solid var(--mustard); }
.closer:hover { color: #fff; }
.frame.tpa { color: var(--muted); font-weight: 600; }
.members { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.members li { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 0 16px; overflow: hidden; }
.members .photo-slot { margin: 0; }
.members .photo-slot img { border-radius: 0; box-shadow: none; }
.members .photo-slot figcaption { padding: 0 14px; }
.members h3 { margin: 10px 14px 4px; }
.members p { margin: 0 14px; }
.signoff { margin: 12px 0 0; font-weight: 800; font-size: 1.15rem; color: var(--tomato-dark); }
.coming { margin: 0 0 4px; font-weight: 800; font-size: clamp(1.6rem, 3vw + 1rem, 2.4rem); color: var(--tomato-dark); }
.fine { font-size: 0.85rem; color: var(--muted); }
table.credits { width: 100%; border-collapse: collapse; margin: 16px 0 24px; }
.credits th, .credits td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.credits th { font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
