/* Home page additions since launch. A separate file so site.css, which
   browsers keep for up to 7 days, didn't have to change. Renamed from
   home.css when 1.3's sections were added, for the same reason. */

/* The keyboard section: a crop of the keyboard, not a whole phone, so the
   letters are big enough to read. */
.keyboard-shot { margin: 0; }
.keyboard-shot img {
  width: 100%; border-radius: 18px;
  border: 1px solid var(--rule); box-shadow: var(--shadow);
}
.keyboard-shot figcaption { font-size: 0.95rem; color: var(--muted); margin-top: 1rem; }

/* Two phones where three would be too many. Same width per phone as the
   three-up rows, centred. */
.screens.two {
  grid-template-columns: repeat(2, 1fr);
  max-width: calc((100% - 2 * clamp(1rem, 3vw, 2rem)) * 2 / 3 + clamp(1rem, 3vw, 2rem));
  margin-inline: auto;
  margin-top: clamp(2rem, 5vw, 3rem);
}

/* What Practice Coach gives you, beside its video. */
.gets { list-style: none; padding: 0 !important; margin: 0 0 1em; }
.gets li { margin-bottom: 1rem !important; }
.gets strong { display: block; }
.gets span { color: var(--muted); }

.feature + .screens { margin-top: clamp(2.5rem, 6vw, 4rem); }

@media (max-width: 640px) {
  .screens.two { grid-template-columns: 1fr; max-width: 300px; }
}
