/* Layout A: the checker, then the Problem Brief opening in place below it. Adds to site.css. */
.nextband { background: var(--panel); }
body[data-state="result"] .nextband { background: var(--surface); }
body[data-state="result"] .nextband .brief { background: var(--panel); }
body[data-state="result"] .nextband .brief textarea { background: #fff; }
.next-copy { max-width: 760px; }
.next-copy .eyebrow { margin-bottom: 8px; }
.next-copy h2 { font-size: 32px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 16px; }
.next-copy p:not(.eyebrow) { font-size: 18px; line-height: 1.55; }
.briefwrap { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.briefwrap[hidden] { display: none; }
.briefwrap .brief { padding: 32px; }
.briefwrap .brief textarea { min-height: 80px; font-size: 16px; padding: 12px 16px; }
.briefwrap .fields { gap: 24px; margin-bottom: 24px; }
.briefwrap .f label, .briefwrap .lab { font-size: 16px; }
.briefwrap .grp { font-size: 22px; margin: 32px 0 24px; }
.briefwrap .quads textarea { min-height: 112px; }
.offers { display: flex; flex-direction: column; gap: 16px; min-width: 0; }   /* three or four cards are taller than a screen: the column scrolls with the page */
.briefwrap .formcol { min-width: 0; }
.briefwrap .brief-head { border-bottom: 0; border-radius: 16px 16px 0 0; padding-bottom: 20px; }
.briefwrap .brief-head .briefintro { margin-bottom: 0; }   /* the 20px sits inside the card, so no margin escapes and leaves a gap between the two halves */
.briefwrap .brief-body { border-top: 0; border-radius: 0 0 16px 16px; padding-top: 0; }
@media (max-width: 960px) {
  .briefwrap { grid-template-columns: 1fr; gap: 16px; }
  /* phone and tablet: heading and intro, then the free-guide card, then the fields, then the other cards */
  .briefwrap .formcol, .offers { display: contents; }
  .briefwrap .brief-head { order: 0; border-bottom: 1px solid var(--border); border-radius: 16px; padding-bottom: 32px; }
  .briefwrap .brief-head .briefintro { margin-bottom: 0; }
  .offers > .free { order: 1; }
  .briefwrap .brief-body { order: 2; border-top: 1px solid var(--border); border-radius: 16px; padding-top: 32px; }
  .offers > :not(.free) { order: 3; }
}
@media (max-width: 640px) {
  .next-copy h2 { font-size: 26px; } .next-copy p:not(.eyebrow) { font-size: 16px; }
  .briefwrap .brief { padding: 16px; }
  .briefwrap .brief-head { padding-bottom: 16px; } .briefwrap .brief-body { padding-top: 16px; }
}
