.about { gap: 32px; }
.about .lead { font-size: 20px; line-height: 1.7; color: var(--color-muted); }
.about .actions { justify-content: flex-start; flex-wrap: wrap; gap: 16px; }
.about h3 { margin: 0; font: 400 20px var(--font-heading); letter-spacing: 0.06em; color: var(--color-accent); }
.about h2.section-heading { margin-top: 24px; }

.timeline { margin: 0; padding: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 18px; }
.timeline li {
  position: relative;
  padding: 0 0 0 64px;
  counter-increment: step;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* The diamond is drawn by ::before; the number sits above it, upright, in the heading. */
.timeline li::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 3px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-accent);
  background: var(--color-deep);
  transform: rotate(45deg);
}
.timeline h3::before {
  content: counter(step);
  position: absolute;
  left: 9px;
  top: 3px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font: 400 17px var(--font-heading);
}
.timeline li::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 40px;
  bottom: -14px;
  border-left: 1px solid var(--gold-soft);
}
.timeline li:last-child::after { display: none; }

.toy { display: flex; flex-direction: column; gap: 16px; }
.gems { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.gem {
  width: 84px;
  padding: 10px 4px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: var(--color-text);
  font: 500 14px var(--font-body);
  cursor: pointer;
}
.gem__stone { width: 26px; height: 26px; margin-top: 4px; border: 1px solid var(--color-text); transform: rotate(45deg); }
.gem[aria-pressed="true"] { border-color: var(--color-accent); background: var(--color-selected); }
.staff { display: block; width: 100%; min-width: 480px; height: auto; }

.ideas { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.idea { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--gold-soft); border-top: 3px solid var(--color-accent); background: rgba(4, 26, 29, 0.55); }
.idea p { line-height: 1.6; }

.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 12px 10px; border-bottom: 1px solid var(--gold-soft); text-align: left; }
.compare thead th { font: 400 18px var(--font-heading); letter-spacing: 0.06em; color: var(--color-accent); }
.compare tbody th { font-weight: 500; }

.promise { border-left: 4px solid var(--color-accent); }
.faq { display: flex; flex-direction: column; gap: 4px; }
.faq details { padding: 4px 0; border-bottom: 1px solid var(--gold-soft); }
.faq summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 500; }
.faq p { padding: 4px 0 16px; line-height: 1.7; }

/* "Anatomy of a melody": compact, with the controls beside the drawing when there is room. */
.toy { gap: 10px; }
.toy .gems { gap: 6px; justify-content: flex-start; }
.toy .gem { width: 70px; padding: 6px 2px 5px; gap: 6px; font-size: 14px; }
.toy .gem__stone { width: 20px; height: 20px; margin-top: 3px; }
.toy .chips { gap: 6px; }
.toy .chip { min-height: 36px; padding: 0 14px; font-size: 14px; }
.toy .button { min-height: 44px; padding: 10px 22px; }
.toy > p { line-height: 1.5; }
@media (min-width: 900px) {
  .toy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 28px;
    align-items: start;
    align-content: start;
  }
  .toy > * { grid-column: 1; }
  /* The pickers span the top; below, the facts and buttons sit beside the drawing. */
  .toy > :nth-child(-n+3) { grid-column: 1 / -1; }
  .toy > .chart-scroll { grid-column: 2; grid-row: 4 / span 6; }
  .toy .staff { min-width: 0; }
}

.chart-scroll--loading { opacity: 0.55; transition: opacity 0.15s; }

.story { gap: 14px; }
.story p { font-size: 17px; line-height: 1.7; }
.story .story__close { font: 400 22px/1.4 var(--font-heading); letter-spacing: 0.06em; color: var(--color-accent); }
