:root {
  --cachexia-ink: #1f2933;
  --cachexia-muted: #637083;
  --cachexia-line: #d8dee8;
  --cachexia-panel: #f6f8fb;
  --cachexia-accent: #9b3d4f;
  --cachexia-accent-2: #176a73;
  --cachexia-warm: #b36b2c;
}

body {
  color: var(--cachexia-ink);
}

h1, h2, h3 {
  letter-spacing: 0;
}

.navbar {
  border-bottom: 1px solid var(--cachexia-line);
}

.callout {
  border-radius: 6px;
}

.hero-strip {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(320px, 1.4fr);
  gap: 1.25rem;
  align-items: stretch;
  margin: 0.5rem 0 1.5rem;
}

.talk-card {
  border: 1px solid var(--cachexia-line);
  border-left: 5px solid var(--cachexia-accent);
  border-radius: 6px;
  padding: 1rem;
  background: #fff;
}

.route-map {
  border: 1px solid var(--cachexia-line);
  border-radius: 6px;
  padding: 1rem;
  background: var(--cachexia-panel);
}

.route-map a {
  display: inline-block;
  margin: 0.2rem 0.25rem 0.2rem 0;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--cachexia-line);
  border-radius: 999px;
  background: #fff;
  color: var(--cachexia-ink);
  text-decoration: none;
  font-size: 0.92rem;
}

.route-map a:hover {
  border-color: var(--cachexia-accent-2);
  color: var(--cachexia-accent-2);
}

.question-bank {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
}

.question-bank > div {
  border: 1px solid var(--cachexia-line);
  border-radius: 6px;
  padding: 0.85rem;
  background: #fff;
}

.figure-slot {
  border: 1px dashed #aeb8c6;
  border-radius: 6px;
  padding: 1rem;
  background: #fbfcfe;
  color: var(--cachexia-muted);
}

.figure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
  align-items: start;
}

.figure-card {
  border: 1px solid var(--cachexia-line);
  border-radius: 6px;
  padding: 0.75rem;
  background: #fff;
}

.figure-card p {
  margin-bottom: 0.5rem;
}

.figure-card img {
  width: 100%;
  height: auto;
  border: 1px solid #eef1f5;
}

.figure-card strong {
  color: var(--cachexia-accent);
}

.keyline {
  border-top: 1px solid var(--cachexia-line);
  margin: 1.5rem 0;
}

details {
  border: 1px solid var(--cachexia-line);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  background: #fff;
  margin: 0.75rem 0;
}

details summary {
  cursor: pointer;
  color: var(--cachexia-accent-2);
  font-weight: 600;
}

.small-note {
  color: var(--cachexia-muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .hero-strip {
    grid-template-columns: 1fr;
  }
}
