/* beginners.html: the draft note and its question cards. Everything else comes from site.css. */

.intro {
  max-width: 40em;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.ask { align-items: stretch; }

/* Question cards: focusable so keyboard users can light their sentence in the note. */
.qcard { cursor: default; }
.qcard:focus-visible {
  outline: .25rem solid var(--accent);
  outline-offset: .1875rem;
  border-color: var(--accent);
}
.qcard .count { row-gap: .5rem; }
.qcard h3 { margin-bottom: .5rem; }

/* The note: one wide count card, number on the left, printed email on the right. */
.note { grid-column: 1 / -1; }
.note .count { align-items: start; }
.note .count__num { line-height: .9; }
.note h3 { margin-bottom: .75rem; }
.note__text { max-width: 40em; }
.note__text > * + * { margin-top: .75rem; }
.note__qs { margin: 0; padding-left: 1.5em; }
.note__qs li + li { margin-top: .375rem; }

.note__q {
  text-decoration: underline;
  text-decoration-thickness: .14em;
  text-underline-offset: .2em;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--quick) var(--ease);
}
.note__q.is-on { text-decoration-color: var(--ink); }

/* The blank line for the dancer's age: a solid ink rule beside the sentence, never across it. */
.note__blank {
  display: inline-block;
  width: min(14rem, 60%);
  height: 1.1em;
  border-bottom: var(--line) solid var(--ink);
  vertical-align: bottom;
}

.note__act { margin-top: 1.25rem; }
.note__act .btn { min-height: 3rem; }
.note__hint { margin-top: .625rem; font-size: var(--fs-small); max-width: 40em; }

/* Settle paragraph row. */
.pair { align-items: start; }
.pair .tile > p { margin-top: .75rem; }
.pair .links { margin-top: 1.25rem; }
.pair .links a { display: inline-block; min-height: 2.75rem; padding-top: .5rem; }

@media (max-width: 47.99rem) {
  .note .count { grid-template-columns: minmax(0, 1fr); }
  .note .count__num { line-height: 1; }
  .qcard .count__num { min-width: 0; }
}
