/* DTAA product article pages (/software/{slug}, resources/views/frontsite/software-product.blade.php).
   Screenshots keep their own ratio (--ratio on the .frame, whose ::before holds the height), so a UI is never
   cropped; splits keep their picture on the right; the wide sections put their list in two columns over the picture. */
.product-shot { border: 1px solid var(--line); background: var(--surface); }
.product-shot > .frame__img { object-fit: contain; }
.product-shot--phone { border-radius: 28px; }
.product-facts { margin: var(--s-7) 0 0; padding-top: 0; }
.product-facts dd b { color: var(--logo-light, var(--accent)); font-size: var(--t-h2, 40px); }
.product-cols { columns: 2; column-gap: var(--gutter); margin-bottom: var(--s-6); }
.product-cols > li { break-inside: avoid; }
#shop .btn { margin-top: var(--s-2); }
#phone .btn-row { margin-top: var(--s-5); }
@media (max-width: 1023px) {
  .product-shot { grid-column: 1 / -1; }
  /* the phone shot stays beside its words on a tablet */
  #phone .wrap.grid > .span-6 { grid-column: 1 / span 4; }
  .product-shot--phone { grid-column: 5 / -1; }
}
@media (max-width: 639px) {
  .product-cols { columns: 1; }
  #phone .wrap.grid > .span-6, .product-shot--phone { grid-column: 1 / -1; }
}

/* The software page (/software, resources/views/frontsite/software.blade.php) reuses the screenshot frame above.
   Its product cards show each product's real screen at the homepage showcase's panel heights; a product without a
   screenshot shows its features as a finished checklist, not struck through. */
#apps .panel { --p-h: 300px; }
#apps .ui-check__label::after { content: none; }
#sales .btn-row, #learn .btn-row { margin-top: var(--s-5); }
#faq .faq__side .btn { margin-top: var(--s-5); justify-self: start; align-self: flex-start; width: auto; }
/* the games: three cards a row, each game's own 16:9 screen; the status badge sits on the name's line */
#games .panel { --p-h: 220px; }
#games h3 .badge { margin-left: var(--s-2); }
/* three cards in a row: every summary takes three lines, so the links and the screens start level */
@media (min-width: 1024px) { #games .card > p { min-height: 3lh; } }
/* AmazingStudy: its world map over one of its questions, the pair as tall as the list beside it */
.learn-shots { display: grid; gap: var(--s-5); align-content: start; }
@media (max-width: 1023px) { .learn-shots { grid-column: 1 / -1; } }
@media (min-width: 1024px) and (max-width: 1279px) { #apps .panel { --p-h: 216px; } #games .panel { --p-h: 168px; } }
@media (min-width: 640px) and (max-width: 1023px) { #apps .panel, #games .panel { --p-h: 280px; } }
@media (max-width: 639px) { #apps .panel, #games .panel { --p-h: 148px; } }
