/* Chord Lens — content sections below the hero. */

.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section__head { max-width: 62ch; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.section__head h2 { margin-top: 0.7rem; }
.section__head .lede { margin-top: 1rem; }

/* ---- Feature grid ----------------------------------------------------- */

.features {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}

.feature {
  padding: 1.15rem 1.2rem 1.2rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--ink-700), var(--ink-800));
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.feature:hover { border-color: var(--line); transform: translateY(-3px); }

.feature__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-hot);
  margin-bottom: 0.7rem;
}

.feature__icon svg { width: 17px; height: 17px; }

.feature h3 { margin-bottom: 0.35rem; }
.feature h3 .pill, .shot__body h3 .pill { margin-left: 0.45rem; vertical-align: middle; }
.feature p { color: var(--text-dim); font-size: 0.9rem; }

.feature--wide { grid-column: span 2; }
@media (max-width: 700px) { .feature--wide { grid-column: auto; } }

/* ---- One chord, four instruments ------------------------------------- */

/* The same G, drawn by the hero's own renderer for each instrument, lit the
   way the playing chord is lit in the panel. */
.section__head h2 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent-hot), #ffb02e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.instruments {
  display: grid;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.instrument { text-align: center; }

.instrument__card {
  --dia: 116px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  padding: 1.5rem 1rem 1.25rem;
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-lg);
  background: var(--panel-raised);
}

.instrument__chord {
  margin-top: 0.4rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.instrument__rail {
  width: 70%;
  height: 4px;
  margin-top: 1rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--panel-red) 62%, var(--panel-rail) 62%);
}

.instrument figcaption { display: grid; gap: 0.2rem; margin-top: 0.85rem; }

.instrument__name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 700;
}

.instrument__glyph { width: 16px; height: 16px; }

.instrument__tuning {
  color: var(--text-faint);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
}

.instrument-notes {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  padding: 0;
  list-style: none;
}

.instrument-notes li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--ink-800);
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.4;
}

.instrument-notes .feature__icon { flex: none; margin: 0; }
.instrument-notes b { display: block; color: var(--text); font-size: 0.92rem; }

/* ---- Steps ------------------------------------------------------------ */

.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--ink-800);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--text-dim); font-size: 0.93rem; }

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

.faq { display: grid; gap: 0.6rem; }

.doc .faq { margin-block: 2.5rem; }

.faq details {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--ink-800);
  overflow: hidden;
}

.faq summary {
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  margin-left: auto;
  color: var(--accent-hot);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  transition: rotate 0.25s var(--ease);
}

.faq details[open] summary::after { rotate: 45deg; }
.faq details[open] { border-color: var(--line); }

.faq p {
  padding: 0 1.2rem 1.15rem;
  color: var(--text-dim);
  font-size: 0.94rem;
  max-width: 68ch;
}

/* ---- Closing call to action ------------------------------------------- */

.cta {
  position: relative;
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 4vw, 3rem);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(224, 20, 50, 0.2), transparent 62%),
    var(--ink-800);
}

.cta h2 { max-width: 20ch; margin-inline: auto; }
.cta .lede { margin: 1rem auto 0; }

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 2rem;
}
