/* One rhythm for the home page's sections (22 November 2026).

   From the lindy.ai review: every section header is one short sentence at
   one size, light rather than bold, with one sentence under it at 19px in a
   narrow column. Before this the five section headers were 44, 31, 50, 30
   and 34px, so the page had no beat. The hero is left exactly as it was.

   Loaded after flow.css so these win without !important. */

:root {
  --sx-h: clamp(34px, 2.6vw + 20px, 60px);
}

/* The header and the sentence under it, everywhere on the page. */
.sx-h {
  margin: 0;
  font-family: 'Inter Tight', Inter, system-ui, sans-serif;
  font-weight: 500;
  font-size: var(--sx-h);
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.sx-nw { white-space: nowrap; }
.sx-p {
  margin: 18px 0 0;
  max-width: 30em;
  font-size: 19px;
  line-height: 1.55;
  text-wrap: pretty;
}
@media (max-width: 620px) {
  .sx-p { font-size: 17px; margin-top: 14px; }
}

/* ── The three chapters ───────────────────────────────────────────── */

.ta--ch { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.ch {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(48px, 7vw, 104px) 0;
}
.ch--flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.ch--flip .ch__txt { order: 2; }
.ch__txt .sx-h { color: var(--fx-ink); }
.ch__txt .sx-p { color: var(--fx-ink-2); }
.ch__vis { min-width: 0; }
@media (max-width: 1079px) {
  .ch, .ch--flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ch--flip .ch__txt { order: 0; }
  .ch__vis .fx { max-width: 640px; margin: 0 auto; }
}

/* ── Licences: the comparison's header joins the scale ──────────── */

.cxhow .h2.sx-h { font-size: var(--sx-h); line-height: 1.04; color: var(--fx-ink); }
.cxhow .section--how .lede.sx-p { max-width: 30em; margin: 18px auto 0; font-size: 19px; color: var(--fx-ink-2); }
@media (max-width: 620px) {
  .cxhow .section--how .lede.sx-p { font-size: 17px; }
}

/* ── The dark band ──────────────────────────────────────────────── */

.tb__h.sx-h { color: #FFFFFF; }
.tb__p.sx-p { max-width: 30em; margin: 18px auto 0; color: #CFDAE7; }

/* ── Trust: three promises on white cards ───────────────────────── */

.tr { background: var(--fx-ground); padding: clamp(72px, 9vw, 128px) clamp(16px, 3.4vw, 48px); }
.tr__in { max-width: 1240px; margin: 0 auto; }
.tr .sx-h { color: var(--fx-ink); }
.tr .sx-p { color: var(--fx-ink-2); }
.tr__list {
  list-style: none; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.tr__c {
  background: #FFFFFF; border: 1px solid var(--fx-line); border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16,18,20,.04);
  padding: 28px 28px 32px;
}
.tr__i {
  display: block; width: 16px; height: 16px; margin-bottom: 20px;
  fill: none; stroke: var(--fx-navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.tr__c h3 {
  margin: 0; font-family: 'Inter Tight', Inter, system-ui, sans-serif; font-weight: 500;
  font-size: 20px; line-height: 1.25; letter-spacing: -.015em; color: var(--fx-ink); text-wrap: balance;
}
.tr__c p { margin: 10px 0 0; font-size: 15.5px; line-height: 24px; color: #4A4F57; text-wrap: pretty; }
@media (max-width: 900px) {
  .tr__list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tr__c { padding: 24px; }
}

/* ── The closing line over the hallway photo ───────────────────── */

.rq__title { font-weight: 500; line-height: 1.02; letter-spacing: -.03em; }
/* Centred sentences balance, so no word sits alone on the last line. */
.cxhow .section--how .lede.sx-p, .tb__p.sx-p { text-wrap: balance; }
