/* Interior pages (help, about, and the rest to come). Composition only —
   every colour, size and space comes from system.css. */

.nav {
  display: flex; align-items: center; gap: var(--s3) var(--s4);
  flex-wrap: wrap; padding-block: var(--s4);
}
.nav__mark {
  font-family: var(--text); font-weight: 300; font-size: 1.125rem;
  text-transform: uppercase; letter-spacing: var(--mark-tracking);
  text-decoration: none; white-space: nowrap;
}
.nav__links { display: flex; gap: var(--s4); margin-left: auto; }
.nav__links a { font-size: var(--step-small); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--link); }
@media (max-width: 640px) {
  .nav__mark { flex: 0 0 auto; }
  .profile-pill { margin-left: auto; }
  .nav__links { order: 3; flex-basis: 100%; margin-left: 0; gap: var(--s4); }
}

/* Page head: one large line, one sentence. Nothing else competes. */
.page-head { padding-block: var(--s5) var(--s5); }
.page-head h1 { max-width: 16ch; }
.page-head p { margin-top: var(--s4); max-width: 62ch; }
.page-head p:first-of-type { font-size: var(--step-lead); line-height: 1.3; max-width: 40ch; }

/* Long-form body on a narrow measure, headings hung on the same left edge. */
.prose { padding-block: var(--s6); }
.prose h2 { margin-bottom: var(--s4); max-width: 18ch; }
.prose h3 { margin-bottom: var(--s2); font-family: var(--text); font-size: var(--step-body); font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.prose p { max-width: 62ch; }
.prose + .prose { padding-top: 0; }

/* Two columns where the content genuinely pairs; one on a phone. */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s5) var(--s6); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: var(--s4); } }

/* Help: a searchable list. No accordions, nothing hidden behind a click. */
.qsearch { margin-block: var(--s4) var(--s4); }
.qlist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.qlist li { max-width: 62ch; }
.qlist li[hidden] { display: none; }
.qgroup { padding-block: var(--s5); }
.qgroup h2 { margin-bottom: var(--s4); }
.qnone { max-width: 46ch; }

/* A field of colour for the closing block, as on the home page. */
.band { background: var(--field); color: var(--field-ink); padding-block: var(--s7); }
.band a { color: var(--field-ink); }
.band .btn { background: var(--field-ink); color: var(--field); }

/* Company details read as a real record, so they keep a table's conventions. */
.record { width: 100%; max-width: 44rem; border-collapse: collapse; }
.record th { text-align: left; font-weight: 400; color: var(--muted); padding: var(--s2) var(--s4) var(--s2) 0; vertical-align: top; white-space: nowrap; }
.record td { padding: var(--s2) 0; font-weight: 600; }

.foot { padding-block: var(--s7) var(--s5); }
.foot__name {
  font-family: var(--text); font-weight: 300;
  font-size: clamp(2.5rem, 1rem + 10vw, 11rem);
  text-transform: uppercase; letter-spacing: var(--mark-tracking);
  line-height: 1; margin: 0 0 var(--s5); max-width: none;
}
.foot__nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); margin-bottom: var(--s5); }
.foot__nav a { font-size: var(--step-small); font-weight: 600; text-decoration: none; }
.foot__nav a:hover { color: var(--link); }
.foot__credits { max-width: 56ch; }

/* A run of four pictures at one crop, so they read as one strip. */
.help__strip { margin: var(--s4) 0 var(--s5); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.help__strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.help__strip figcaption { grid-column: 1 / -1; padding-top: var(--s3); }
@media (max-width: 640px) { .help__strip { grid-template-columns: repeat(2, 1fr); } }

/* Where to find Choyce elsewhere. Plain words, no icons. */
.foot__social { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); margin-bottom: var(--s5); }
.foot__social a { font-size: var(--step-small); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.foot__social a:hover { color: var(--link); }
