/*
 * Page hero — the headline block at the top of public/standalone pages
 * (error pages, static content). Calm: eyebrow + title + lead, no imagery.
 */

.c-page-hero {
  padding-block: var(--space-2xl) var(--space-lg);
}

.c-page-hero__title {
  font-size: var(--fs-display);
  font-weight: var(--fw-black);
  letter-spacing: var(--tracking-tight);
  margin-block-start: var(--space-xs);
}

/* The lead sits on the bare canvas, so it takes the light ink, not --ink. */
.c-page-hero__lead {
  margin-block-start: var(--space-sm);
  max-width: 52ch;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--on-canvas);
}

/* The reset strips anchors bare; every accent is too dark on a white lead. */
.c-page-hero__lead a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: from-font;
}

/* Centred hero (/success) — the 52ch measure has to centre with the text. */
.c-page-hero.u-center .c-page-hero__lead { margin-inline: auto; }

.c-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-block-start: var(--space-lg);
}

/* Large confirmation figure (e.g. the new application number on /success). */
.c-success-no {
  font-size: var(--fs-display);
  font-weight: var(--fw-black);
  letter-spacing: 0.04em;
  color: var(--teal);
}
