/* demo4 — incubating book landing (extends site.css) */

.pill-incubating {
  background: color-mix(in srgb, #2dd4bf 18%, transparent);
  color: #7ee0d2;
  border: 1px solid color-mix(in srgb, #2dd4bf 35%, transparent);
}

.book-card {
  max-width: 42rem;
}

.book-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.book-asof {
  font-size: 0.8rem;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 1rem;
}

.stat-strip div {
  border-top: 1px solid color-mix(in srgb, #c4d0cb 18%, transparent);
  padding-top: 0.55rem;
}

.stat-strip dt {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8fa09a;
  margin: 0;
}

.stat-strip dd {
  margin: 0.2rem 0 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 1.05rem;
  font-weight: 500;
}

@media (max-width: 640px) {
  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}

.process-steps li {
  border-top: 1px solid color-mix(in srgb, #c4d0cb 18%, transparent);
  padding-top: 0.85rem;
  counter-increment: step;
}

.process-steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.process-steps h3::before {
  content: counter(step) ". ";
  color: #8fa09a;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.85em;
}

.process-steps p {
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

.modal-section-label {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8fa09a;
  font-weight: 600;
}

.gate-list,
.sleeve-list,
.modal-disclaimers {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gate-list li,
.sleeve-list li {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 0.65rem 0.85rem;
  align-items: start;
  padding: 0.55rem 0;
  border-bottom: 1px solid color-mix(in srgb, #c4d0cb 12%, transparent);
  font-size: 0.92rem;
}

.gate-list .gate-body strong,
.sleeve-list strong {
  display: block;
  font-weight: 600;
}

.gate-list .gate-body span,
.sleeve-list span {
  color: #8fa09a;
  font-size: 0.86rem;
}

.modal-disclaimers {
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in srgb, #c4d0cb 14%, transparent);
}

.modal-disclaimers li {
  margin: 0.35rem 0;
  padding-left: 0.9rem;
  position: relative;
  font-size: 0.82rem;
  line-height: 1.45;
}

.modal-disclaimers li::before {
  content: "·";
  position: absolute;
  left: 0.15rem;
}

.chip {
  appearance: none;
  border: 1px solid color-mix(in srgb, #c4d0cb 25%, transparent);
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.chip.is-active {
  background: color-mix(in srgb, #2dd4bf 16%, transparent);
  border-color: color-mix(in srgb, #2dd4bf 40%, transparent);
}

.chart-controls {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0 0.5rem;
}
