/* The About page: the hero, then three beats, then the shared close (css/pages/data/close.css).
   Sizes are design px at 1440 (--u) and scale with the window; type keeps the site's steps
   (tokens.css). The hero's headline is the product pages' hero size, so its full stop is
   the hero's full stop. */

/* ---------------------------------------------------------------- the hero */
.ab-hero { max-width: 1440px; margin: 0 auto; padding: calc(72 * var(--u)) var(--m) calc(132 * var(--u)); }
.ab-label { margin-bottom: calc(18 * var(--u)); color: var(--plum); }
.ab-h { font-size: calc(150 * var(--u)); line-height: 0.95; font-weight: 800; letter-spacing: -0.045em; color: var(--ink); }
.ab-h .line { display: block; white-space: nowrap; }
.ab-h .station { margin-left: 0.08em; }
.ab-lede { margin-top: calc(40 * var(--u)); max-width: calc(680 * var(--u)); font-size: max(19px, calc(30 * var(--u))); line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-wrap: pretty; }
.ab-cta { margin-top: calc(30 * var(--u)); }
.ab-cta .btn { height: max(44px, calc(58 * var(--u))); padding: 0 max(22px, calc(32 * var(--u))); font-size: max(15px, calc(18 * var(--u))); }

/* ---------------------------------------------------------------- a beat */
/* The headline on the left, on an ink ground line that runs off both edges; its line and
   its small print on the right, under the same ground. */
.ab-beat { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: calc(96 * var(--u)); max-width: 1440px; margin: 0 auto; padding: 0 var(--m) calc(112 * var(--u)); }
.ab-beat-h { grid-column: 1; grid-row: 1; align-self: end; max-width: 11em; padding-bottom: calc(30 * var(--u)); text-wrap: balance; }
.ab-ground { grid-column: 1 / -1; grid-row: 2; position: relative; height: 2px; }
.ab-ground::before { content: ""; position: absolute; left: -100vw; right: -100vw; top: 0; height: 2px; background: var(--ink); }
.ab-beat-copy { grid-column: 2; grid-row: 3; padding-top: calc(28 * var(--u)); }
.ab-mid { font-size: var(--fs-how); line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); text-wrap: pretty; }
.ab-small { margin-top: 16px; font-size: var(--fs-body); line-height: 1.55; color: var(--plum); text-wrap: pretty; }
/* The close's dome sits under the last beat. */
.ab-beat:last-of-type { padding-bottom: calc(40 * var(--u)); }
/* Beats and the hero clip the ground's run at the window's sides. */
main:has(.ab-hero) { overflow-x: clip; }

/* ---------------------------------------------------------------- the phone */
@media (max-width: 1023.98px) {
  .ab-hero { padding: 40px var(--m) 64px; }
  .ab-label { margin-bottom: 12px; }
  .ab-h { font-size: calc(64 * min(1.25px, 100vw / 390)); }
  .ab-lede { margin-top: 20px; max-width: 34rem; font-size: calc(21 * min(1.25px, 100vw / 390)); line-height: 1.3; }
  .ab-cta { margin-top: 22px; }
  .ab-cta .btn { width: 100%; max-width: 420px; }
  .ab-beat { display: block; padding: 0 var(--m) 56px; }
  .ab-beat-h { max-width: none; padding-bottom: 18px; }
  .ab-beat-copy { padding-top: 18px; }
  .ab-beat:last-of-type { padding-bottom: 16px; }
}

/* ---------------------------------------------------------------- motion
   The hero's copy rises in as the page opens. The final frame (no motion) is all of it in place. */
.ab-h .line.lift { display: block; }
.motion .ab-hero .lift { animation: ab-rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d) both; }
@keyframes ab-rise { from { opacity: 0; translate: 0 18px; } }
