/* ==========================================================
   More drawn explanation in the sections of a software page (task #252). Linked only by the pages listed in ART_SECTIONS (includes/art-sections.php), after art.css.
   Every rule starts with ".art" (the class of <main> on those pages) and names a class that only the switched-on page prints (fam, fam-scene, faq-ic, art-scene--hub...).
   The drawings are the icons and the movement of art.css / art.js (a drawing draws once when it scrolls into view); the only movement added here is the beam of a scanner.
   ========================================================== */

/* ---------- "What you can do with it": the lines in families, each with a little scene beside it (no heading: the pictures do the grouping) ---------- */
.art .fam { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 40px; align-items: start; }
.art .fam + .fam { margin-top: 34px; }
.art .fam-scene { max-width: 200px; }
.art .fam .check-list { margin-bottom: 0; }
@media (min-width: 761px) {
  .art .fam { grid-template-columns: 240px minmax(0, 1fr); }
  .art .fam-scene { max-width: 240px; padding-top: 6px; }
}
.art[data-art-level="calm"] .fam { display: block; }
.art[data-art-level="calm"] .fam-scene { display: none; }

/* the scanner's beam sweeps down and back once, when its drawing is seen */
@keyframes fam-beam { 0% { translate: 0 -14px; } 50% { translate: 0 14px; } }
@media (prefers-reduced-motion: no-preference) {
  .art [data-art].art-go .beam { animation: fam-beam calc(900ms * var(--k)) var(--ease-out) calc(var(--art-stage) * 2) backwards; }
}

/* ---------- "What we can create for you": what is built around the software, in the corner of the section head (not on a phone: no room, as for the tag and the bubbles) ---------- */
.art #create > .container { position: relative; }
.art .art-scene--hub { position: absolute; top: -6px; right: 0; width: 132px; }
@media (min-width: 760px) { .art #create .section-head { min-height: 96px; } }                                  /* the drawing is 90 px tall: room for it, so it never sits on the list */
@media (min-width: 760px) and (max-width: 899px) { .art #create .section-head { padding-right: 150px; } }   /* and beside the heading on a narrow window */
@media (max-width: 759px) { .art .art-scene--hub { display: none; } }

/* ---------- "Questions buyers ask": a small picture in front of each question ---------- */
.art .faq summary { display: flex; align-items: center; gap: 14px; }
.art .faq summary .faq-ic { margin: -2px 0; }
