/* The Elliot page: what Elliot answers, what it does with your approval, where it opens, the data and the limits. */

/* a small part of the App on its mat, whole, at its own width */
.mat[style*="--shot-w"] > .shotwin { max-width: var(--shot-w); margin-inline: auto; }

/* What you can ask: the words beside Elliot's start panel */
.ask { align-items: center; }

/* a label beside its text, in ruled rows */
.pairs > div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: var(--s-1) var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.pairs > div:first-child { border-top: 1px solid var(--line); }
.pairs dt { color: var(--muted); }
.pairs dd { margin: 0; }

/* Elliot asks before it acts: the approval panel beside the two lists */
.approve { align-items: start; }
.approve h3 { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; }
.marks { display: grid; gap: var(--s-3); }
.marks li { display: flex; gap: var(--s-3); align-items: flex-start; }
.marks li > .i { flex: none; margin-top: 2px; }
.marks--no li > .i { color: var(--muted); }

/* the data and the limits: ruled rows */
.terms > div { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-2) var(--gutter); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.terms > div:first-child { border-top: 1px solid var(--line-strong); }
.terms dt { grid-column: span 4; font: 500 var(--t-lead)/1.4 var(--font-text); }
.terms dd { grid-column: span 8; max-width: 62ch; margin: 0; }

@media (max-width: 1023px) {
  .ask > .mat { margin-top: var(--s-6); }
  /* the words lead, the approval panel follows */
  .approve > .stack-6 { order: -1; }
  .approve > .mat { margin-top: var(--s-6); }
}
@media (max-width: 639px) {
  .terms dt, .terms dd { grid-column: 1 / -1; }
}
/* the answers in two columns under their heading; a line stays under 75 characters */
.faq--two > .faq__item > p { max-width: 34em; }
@media (min-width: 1024px) {
  .faq--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-7); }
  .faq--two > .faq__item { align-content: start; }
  .faq--two > .faq__item:nth-child(2) { padding-top: 0; }
}
