/* ════════════════════════════════════════════════════════════════════
   C-opus55 — STRAIGHT ANSWERS (FAQ) · top of the #cell-convo ink band.
   Authored by Opy (Graveyard: Opy-i1), Oct 10 2026.
   The client's own FAQ, verbatim. Native <details> — works with no JS.
   Material language matches the convo band: stamped-steel rows, hairline
   seams, ONE red (the number + the open state), mono labels, display caps.
   Rhythm: title left / list right, the same L→R read as the convo block
   below it, closed by a machined hairline before "Start the Conversation".
   ════════════════════════════════════════════════════════════════════ */

#cell-convo .answers {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
}
/* machined seam between the answers and the ask — fades to 0 at both ends */
#cell-convo .answers::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(to right,
    rgba(183,188,193,0) 0%,
    rgba(183,188,193,0.22) 12%,
    rgba(183,188,193,0.22) 88%,
    rgba(183,188,193,0) 100%);
}

/* ── head ── */
/* no sticky head on purpose — sticky titles riding over content is a class
   David has called out repeatedly (R20/R89c) */
#cell-convo .answers__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--support);
  margin-bottom: var(--space-s);
}
#cell-convo .answers__eyebrow-rule {
  display: block;
  width: 2.6rem;
  height: 1px;
  background: var(--support);
  opacity: 0.6;
}
#cell-convo .answers__title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: var(--step-section);
  line-height: 0.95;
  letter-spacing: 0.006em;
  color: var(--breath);
}
#cell-convo .answers__title-accent { color: var(--accent-text); }

/* ── the list: stamped rows ── */
#cell-convo .answers__list {
  border-top: 1px solid var(--ink-700);
}
#cell-convo .answers__item {
  border-bottom: 1px solid var(--ink-700);
}
#cell-convo .answers__q {
  list-style: none;
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) 1.25rem;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0.25rem;
  cursor: pointer;
  color: var(--breath);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1.35;
  transition: color 160ms ease;
}
#cell-convo .answers__q::-webkit-details-marker { display: none; }
#cell-convo .answers__q::marker { content: ""; }
#cell-convo .answers__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--slate-500);
  transition: color 160ms ease;
}
/* plus → minus, two 2px bars (the second rotates away when open) */
#cell-convo .answers__toggle {
  position: relative;
  width: 0.9rem;
  height: 0.9rem;
  justify-self: end;
}
#cell-convo .answers__toggle::before,
#cell-convo .answers__toggle::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: var(--support);
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), background 160ms ease;
}
#cell-convo .answers__toggle::after { transform: rotate(90deg); }
#cell-convo .answers__item[open] .answers__toggle::after { transform: rotate(0deg); }
#cell-convo .answers__item[open] .answers__toggle::before,
#cell-convo .answers__item[open] .answers__toggle::after { background: var(--accent); }
#cell-convo .answers__item[open] .answers__num { color: var(--accent-text); }

@media (hover: hover) {
  #cell-convo .answers__q:hover { color: #fff; }
  #cell-convo .answers__q:hover .answers__num { color: var(--support); }
  #cell-convo .answers__item[open] .answers__q:hover .answers__num { color: var(--accent-text); }
}
#cell-convo .answers__q:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── the answer ── */
#cell-convo .answers__a {
  padding: 0 0.25rem 1.6rem calc(2.4rem + 1rem + 0.25rem);
  color: var(--slate-300);
  font-size: var(--step-0);
  line-height: var(--leading-body);
  max-width: 46rem;
}
#cell-convo .answers__a > * + * { margin-top: 0.9rem; }
#cell-convo .answers__a ol {
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
}
#cell-convo .answers__a ol li::marker {
  font-family: var(--font-mono);
  color: var(--accent-text);
}
#cell-convo .answers__defs {
  display: grid;
  gap: 0.9rem;
}
#cell-convo .answers__defs > div {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(183,188,193,0.12);
}
#cell-convo .answers__defs > div:first-child { padding-top: 0; border-top: 0; }
#cell-convo .answers__defs--classes > div { grid-template-columns: 13rem minmax(0, 1fr); }
#cell-convo .answers__defs dt {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--breath);
}
#cell-convo .answers__defs dd { margin: 0; }
#cell-convo .answers__pull {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.2;
  color: var(--breath);
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
}
#cell-convo .answers__note {
  font-size: var(--step--1);
  color: var(--support);
}
#cell-convo .answers__note strong { color: var(--breath); font-weight: 600; }
#cell-convo .answers__more a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-text);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
#cell-convo .answers__more a::after { content: " \2192"; }
@media (hover: hover) {
  #cell-convo .answers__more a:hover { color: var(--breath); }
}

/* open/close glide where the engine supports animating to auto
   (progressive enhancement — instant elsewhere, never broken) */
@supports (interpolate-size: allow-keywords) {
  #cell-convo .answers { interpolate-size: allow-keywords; }
  #cell-convo .answers__item::details-content {
    height: 0;
    overflow: clip;
    transition: height 300ms cubic-bezier(.2,.7,.2,1), content-visibility 300ms allow-discrete;
  }
  #cell-convo .answers__item[open]::details-content { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  #cell-convo .answers__item::details-content { transition: none; }
  #cell-convo .answers__toggle::before,
  #cell-convo .answers__toggle::after { transition: none; }
}

/* ── narrow ── */
@media (max-width: 900px) {
  #cell-convo .answers { grid-template-columns: 1fr; gap: var(--space-m); }
}
@media (max-width: 620px) {
  #cell-convo .answers__q { grid-template-columns: 1.9rem minmax(0, 1fr) 1rem; gap: 0.7rem; padding: 1rem 0; }
  #cell-convo .answers__a { padding: 0 0 1.4rem 0; }
  #cell-convo .answers__defs > div,
  #cell-convo .answers__defs--classes > div { grid-template-columns: 1fr; gap: 0.3rem; }
}
