/* Trace G, the website: what the build adds to site.css (server/web/README.md, "The look").
   site.css is the Trace G Web design system's components/bundle.css as it is; this file holds the classes the
   design's boards wrote as style attributes (which the site's CSP refuses) and the pieces added since the design:
   the shots beside their readouts and the manifesto (PRD section 14, fix 6). Tokens only: no colour of its own. */

/* ---------------------------------------------------------------- home */
.hero__media figcaption { margin-top: var(--space-3); }

/* The range's video beside its readout; on a phone, the video above it */
.pairs { display: grid; gap: var(--space-8); }
.pair { display: grid; gap: var(--space-5); align-items: center; }
.pair__shot { width: min(100%, 18rem); justify-self: center; }
.pair__shot video { background: var(--panel); }
.pair__caption { margin-top: var(--space-3); }
@media (min-width: 64rem) {
  .pair { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: var(--space-8); }
  .pair__shot { width: 100%; }
}

/* The net filmed two ways, each video above its readout: side by side from a tablet up */
.duo { display: grid; gap: var(--space-7) var(--space-6); align-items: start; }
.duo__col { display: grid; gap: var(--space-4); }
.duo__shot { width: min(100%, 18rem); justify-self: center; }
.duo__shot video { background: var(--panel); }
.duo__club { margin-top: calc(-1 * var(--space-1)); }
.duo__caption { color: var(--text-mid); max-width: var(--measure); }
@media (min-width: 48rem) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } .duo__caption { grid-column: 1 / -1; } }
.tiles--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flight svg { margin-top: var(--space-2); }
.section__more { margin-top: var(--space-6); }
.section--short { padding-block: var(--space-7); }
.callout__text { margin-top: var(--space-1); }

/* The manifesto's four lines, in the steps' cards: two by two from a tablet up */
@media (min-width: 40rem) { .steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The sign-up: the error stays hidden until the address is wrong */
.signup .section__head { margin-bottom: 0; }
.field__error[hidden] { display: none; }

/* ------------------------------------------------------- the long pages */
.page-section + .page-section { margin-top: var(--space-9); }
.page-section .section__intro { margin-top: var(--space-3); max-width: var(--measure); }
.page-section > .marks,
.page-section > .facts,
.page-section > .table-scroll { margin-top: var(--space-5); }
.page-section > .table-scroll { max-width: 48rem; }
.page-section > .timeline { margin-top: var(--space-6); }

/* The guide's and support's figure: its two places named under it */
.figure__keys { list-style: none; padding: 0; margin-top: var(--space-2); display: grid; gap: var(--space-2); color: var(--text-mid); }
.figure__keys strong { color: var(--text-high); }

/* Support: the address and the figure side by side, the questions under them */
.support { display: flex; flex-wrap: wrap; gap: var(--space-7); padding-top: var(--space-7); }
.support__contact { flex: 1 1 18rem; min-width: 0; display: grid; gap: var(--space-4); align-content: start; }
.support__where { flex: 999 1 34rem; min-width: 0; display: grid; gap: var(--space-4); align-content: start; }
.contact__note { color: var(--text-mid); font-size: var(--fs-note); }
.questions { padding-block: var(--space-8) var(--space-9); }
.questions .section__title { margin-bottom: var(--space-2); }

/* Licences and /why: one column of text */
.single { padding-block: var(--space-7) var(--space-9); }
.single > * + * { margin-top: var(--space-6); }

/* The sign-up's answers (/joined, /confirmed, /left) and 404: the design's notice, its button to the left */
.notice__card .btn { justify-self: start; margin-top: var(--space-2); }
.notice__note { color: var(--text-mid); font-size: var(--fs-note); }
.notice__card + .notice__card { margin-top: var(--space-8); }

/* /account/delete: the two sign-ins in a card above what deleting removes (B5) */
.delete-start, .invite-link { padding: var(--space-5); display: grid; gap: var(--space-4); max-width: 44rem; }
.delete-start .section__title, .invite-link .section__title { margin: 0; }
.delete-start__buttons { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.delete-start__note { color: var(--text-mid); font-size: var(--fs-note); }

/* /u/<code>: the invite's link, to copy into the app when it does not open by itself */
.invite-link__code { font: 800 var(--fs-h3)/1.3 var(--font-heading); overflow-wrap: anywhere; user-select: all; }
