/* ──────────────────────────────────────────────────────────
   Ticker — Client Proposal Microsite
   Shared styles for every /proposals/<client-slug>/ page.
   Format mirrors the Investor Summit proposal microsite;
   tokens mirror index.html / brand.json (light-mode pages,
   black cover).
   ────────────────────────────────────────────────────────── */

:root {
  /* Brand primaries */
  --black: #000000;
  --carbon: #1A1A1A;
  --yellow: #FCE300;
  --yellow-hover: #CAAA00;
  --sapphire: #002663;
  --green: #00BE4A;
  --periwinkle: #B6CDFF;
  --ecru: #F5F2EB;
  --white: #FFFFFF;

  /* Light-mode ink & rules (content pages) */
  --ink-1: #000000;
  --ink-2: #434343;
  --ink-3: #575757;
  --rule: #D6D6D6;
  --rule-subtle: #E6E6E6;
  --link: #002663;

  /* Light-mode accent text (contrast-safe on white/ecru) */
  --accent-yellow: #826209;
  --accent-green: #006828;
  --accent-sapphire: #002663;

  /* Type roles — four-font system */
  --font-display: 'Lexend', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-editorial: 'Urbanist', system-ui, -apple-system, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'SF Mono', monospace;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--ink-2);
  background: var(--ecru);
  line-height: 1.6;
}

:focus-visible {
  outline: 2px solid var(--sapphire);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(182, 205, 255, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== COVER PAGE ===== */
.cover {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 4rem 3rem 3rem;
}

/* Faint oversized T mark — the notched crossbar is the distinctive
   brand element, used here as an intentional cover signature. */
.cover::after {
  content: '';
  position: absolute;
  right: 48px;
  bottom: -260px;
  width: 540px;
  height: 665px;
  background: url('assets/icon-t-white.svg') no-repeat top / contain;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

.cover > * {
  position: relative;
  z-index: 1;
}

.cover-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.cover-mark img {
  height: 28px;
  width: auto;
  display: block;
}

.cover-issue {
  text-align: right;
  font-family: var(--font-editorial);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  line-height: 1.4;
}

.cover-issue .top {
  color: var(--yellow);
  margin-bottom: 6px;
}

.cover-issue .bot {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.cover-hero {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
  padding: 3rem 0 4rem;
}

.cover-eyebrow {
  font-family: var(--font-editorial);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--yellow);
  font-weight: 600;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cover-eyebrow::before {
  content: '';
  width: 36px;
  height: 2px;
  background: var(--yellow);
}

.cover-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 1.75rem;
  color: var(--white);
  max-width: 22ch;
}

.cover-title em {
  font-style: normal;
  color: var(--yellow);
  font-weight: 600;
}

.cover-tagline {
  font-size: 1.1rem;
  line-height: 1.55;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
}

.cover-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 1.75rem;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.cover-meta {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.cover-meta-item .label {
  display: block;
  font-family: var(--font-editorial);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.cover-meta-item .value {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}

.cover-confidential {
  font-family: var(--font-editorial);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  white-space: nowrap;
}

/* ===== MAIN CONTENT ===== */
.page {
  max-width: 880px;
  margin: 0 auto;
  padding: 5rem 2.5rem 4rem;
}

/* ===== INTRO ===== */
.intro {
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 3.5rem;
}

.intro-eyebrow {
  font-family: var(--font-editorial);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-sapphire);
  margin-bottom: 0.75rem;
}

.intro h2 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-1);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.intro p {
  color: var(--ink-2);
  font-size: 1rem;
  max-width: 660px;
}

.intro p + p {
  margin-top: 1rem;
}

.intro p strong {
  color: var(--ink-1);
  font-weight: 600;
}

/* ===== SECTIONS ===== */
.section {
  margin-bottom: 4rem;
}

.section-eyebrow {
  font-family: var(--font-editorial);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-sapphire);
  margin-bottom: 0.75rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink-1);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section > p {
  color: var(--ink-2);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  max-width: 640px;
}

/* ===== STATS GRID ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.stat-card .value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-1);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-card .value--yellow { color: var(--accent-yellow); }
.stat-card .value--green { color: var(--accent-green); }
.stat-card .value--sapphire { color: var(--accent-sapphire); }

.stat-card .label {
  font-family: var(--font-editorial);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-1);
  margin-bottom: 0.3rem;
}

.stat-card .sub {
  font-size: 0.6875rem;
  color: var(--ink-3);
  line-height: 1.3;
}

@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== WHY THIS FITS — bullet list ===== */
.fit-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.fit-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.55;
}

.fit-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  border: 1px solid var(--accent-yellow);
}

.fit-list strong {
  color: var(--ink-1);
  font-weight: 600;
}

/* ===== SEE-MORE CALLOUT ===== */
/* Compact "see more" callout pairing a short label with an outline
   button. Full card border — no accent edges. */
.callout {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.callout-text { flex: 1; min-width: 240px; }
.callout-text strong {
  display: block;
  color: var(--ink-1);
  font-size: 1rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}
.callout-text span {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.45;
}

/* ===== RECOMMENDED PACKAGE ===== */
.package-card {
  background: var(--black);
  color: var(--white);
  border-radius: 12px;
  padding: 2.25rem 2.5rem;
  margin-bottom: 1.5rem;
  border: 2px solid var(--yellow);
  position: relative;
  overflow: hidden;
}

.package-card > * { position: relative; }

.package-badge {
  display: inline-block;
  font-family: var(--font-editorial);
  background: var(--yellow);
  color: var(--black);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.package-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.package-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--white);
  line-height: 1.2;
}

.package-name span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 0.3rem;
  letter-spacing: 0;
  text-transform: none;
}

.package-price {
  text-align: right;
  flex-shrink: 0;
}

.package-price .amount {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 2rem;
  font-weight: 500;
  color: var(--yellow);
  letter-spacing: -0.02em;
  line-height: 1;
}

.package-price .vat {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.3rem;
}

.package-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.package-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.25rem;
}

.package-features li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.package-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--yellow);
  font-weight: 700;
}

@media (max-width: 720px) {
  .package-features { grid-template-columns: 1fr; }
  .package-header { flex-direction: column; }
  .package-price { text-align: left; }
}

/* ===== MOCKUP GALLERY (screenshots / visuals) ===== */
.mockup-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.mockup-item {
  aspect-ratio: 4 / 3;
  background: var(--white);
  border: 2px dashed var(--rule);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  overflow: hidden;
}

.mockup-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.mockup-item .icon {
  font-size: 1.6rem;
  color: var(--ink-3);
  margin-bottom: 0.35rem;
}

.mockup-item .label {
  font-family: var(--font-editorial);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.mockup-item .note {
  font-size: 0.72rem;
  color: var(--ink-3);
  margin-top: 0.2rem;
  line-height: 1.35;
}

.mockup-caption {
  font-family: var(--font-editorial);
  font-size: 0.78rem;
  color: var(--ink-3);
  font-style: italic;
  margin-top: 0.75rem;
}

.mockup-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media (max-width: 720px) {
  .mockup-gallery { grid-template-columns: 1fr; }
}

/* ===== ALTERNATIVE PACKAGES ===== */
.alt-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.alt-package {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}

.alt-package .name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-1);
  margin-bottom: 0.4rem;
}

.alt-package .price {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink-1);
  margin-bottom: 0.4rem;
}

.alt-package .note {
  font-size: 0.78rem;
  color: var(--ink-3);
  line-height: 1.45;
}

@media (max-width: 720px) {
  .alt-packages { grid-template-columns: 1fr; }
}

/* ===== PRICING SUMMARY ===== */
.pricing {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--rule-subtle);
  font-size: 0.95rem;
}

.pricing-row:last-child { border-bottom: none; }
.pricing-row:has(+ .pricing-row.total) { border-bottom: none; }

.pricing-row.total {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 2px solid var(--ink-1);
  font-size: 1.1rem;
}

.pricing-label { color: var(--ink-2); }
.pricing-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: var(--ink-1);
}

.pricing-row.total .pricing-value { font-size: 1.35rem; }

.pricing-note {
  font-family: var(--font-editorial);
  font-size: 0.8rem;
  color: var(--ink-3);
  margin-top: 1rem;
  font-style: italic;
}

/* ===== NEXT STEPS ===== */
.next-steps {
  background: var(--white);
  border: 1px solid var(--accent-yellow);
  box-shadow: 0 0 0 1px var(--accent-yellow);
  border-radius: 10px;
  padding: 2rem 2.5rem;
  margin-top: 3rem;
}

.next-steps h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink-1);
  margin-bottom: 0.75rem;
}

.next-steps p {
  font-size: 0.95rem;
  color: var(--ink-2);
  margin-bottom: 0.75rem;
}

.next-steps ul {
  list-style: none;
  margin: 1rem 0;
}

.next-steps li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.5rem;
  font-size: 0.95rem;
  color: var(--ink-2);
}

.next-steps li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  border: 1px solid var(--accent-yellow);
}

.next-steps .cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  min-height: 44px;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.btn-primary:hover { background: var(--yellow-hover); border-color: var(--yellow-hover); }

.btn-secondary {
  background: transparent;
  color: var(--ink-1);
  border-color: var(--ink-1);
}

.btn-secondary:hover { background: var(--ink-1); color: var(--white); }

/* ===== FOOTER ===== */
.doc-footer {
  text-align: center;
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
}

.doc-footer .brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-1);
  margin-bottom: 0.4rem;
}

.doc-footer p {
  font-size: 0.78rem;
  color: var(--ink-3);
  margin-bottom: 0.25rem;
}

.doc-footer a {
  color: var(--link);
  text-decoration: none;
}

.doc-footer a:hover { text-decoration: underline; }

/* ===== PRINT BUTTON ===== */
.print-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: background 0.2s;
  z-index: 100;
}

.print-btn:hover { background: var(--carbon); }

/* ===== PRINT STYLES ===== */
@media print {
  html { font-size: 10.5pt; }
  body { background: white; }
  .print-btn { display: none !important; }

  @page { size: A4; margin: 2cm; }
  @page :first { margin: 0; }

  .cover {
    min-height: 297mm;
    page-break-after: always;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .cover::after {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .page { padding: 0; max-width: 100%; }

  /* Tighten section spacing so content flows more naturally */
  .intro { padding-bottom: 0.85rem; margin-bottom: 1.25rem; }
  .intro p + p { margin-top: 0.4rem; }
  .section { margin-bottom: 1.1rem; }
  .section > p { margin-bottom: 0.7rem; }
  .section h2 { margin-bottom: 0.4rem; }
  .next-steps { margin-top: 1rem; padding: 1.5rem 1.75rem; }
  .doc-footer { padding: 1.5rem 0 0.5rem; margin-top: 1.5rem; }

  /* Keep logical blocks together on one page.
     Note: .section is intentionally excluded — a tall section (e.g. Pricing
     with two tables) would otherwise get bumped to the next page whenever it
     doesn't fit in the remaining space, leaving a large empty gap behind.
     .fit-list is also excluded — it's allowed to break across pages so that
     long lists don't bump the whole list to a new page. */
  .package-card,
  .next-steps,
  .stat-card,
  .alt-package,
  .pricing,
  .stats-grid {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  /* In print, switch fit-lists from grid to block layout — Chrome's print
     engine treats grid containers as atomic and refuses to break them across
     pages, leaving large gaps. Block flow with margin-bottom on each <li>
     reproduces the gap visually while letting the list break naturally.
     Each <li> stays atomic so a single bullet doesn't split mid-sentence. */
  .fit-list {
    display: block;
    break-inside: auto;
    page-break-inside: auto;
  }
  .fit-list li {
    margin-bottom: 0.75rem;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .fit-list li:last-child { margin-bottom: 0; }

  /* Keep the first package card / pricing table / fit-list stuck to the
     section heading + intro that introduces it, so we don't orphan the
     heading on its own page. */
  .section > p + .package-card,
  .section > p + .pricing,
  .section > p + .fit-list {
    break-before: avoid;
    page-break-before: avoid;
  }
  .section > p:has(+ .package-card),
  .section > p:has(+ .pricing),
  .section > p:has(+ .fit-list) {
    break-after: avoid;
    page-break-after: avoid;
  }

  /* Keep headings with their following content */
  h2, h3,
  .section-eyebrow,
  .intro-eyebrow {
    break-after: avoid;
    page-break-after: avoid;
  }

  /* Tighten the see-more callout in print so it doesn't push the next
     section's heading off the page. */
  .callout {
    margin-top: 0.85rem;
    padding: 0.7rem 1rem;
    gap: 1rem;
  }
  .callout-text strong { font-size: 0.85rem; margin-bottom: 0.1rem; }
  .callout-text span { font-size: 0.78rem; line-height: 1.4; }
  .callout .btn {
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
    min-height: 0;
  }

  /* Compact the pricing table in print so it fits with its heading */
  .pricing {
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
  }
  .pricing-row {
    padding: 0.45rem 0;
    font-size: 0.85rem;
  }
  .pricing-row.total {
    padding-top: 0.7rem;
    margin-top: 0.35rem;
    font-size: 1rem;
  }
  .pricing-row.total .pricing-value { font-size: 1.2rem; }
  .pricing-note { font-size: 0.72rem; margin-top: 0.6rem; }

  /* Compact the package cards in print so the first one fits with its heading */
  .package-card {
    padding: 1.5rem 1.75rem;
    margin-bottom: 1rem;
  }
  .package-badge { margin-bottom: 0.75rem; }
  .package-header {
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
  }
  .package-name { font-size: 1.35rem; }
  .package-name span { font-size: 0.72rem; margin-top: 0.2rem; }
  .package-price .amount { font-size: 1.7rem; }
  .package-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.9rem;
  }
  .package-features { gap: 0.4rem 1rem; }
  .package-features li {
    font-size: 0.8rem;
    line-height: 1.4;
    padding-left: 1.2rem;
  }

  /* Preserve background colours for brand elements */
  .package-card,
  .next-steps,
  .stat-card,
  .pricing,
  .alt-package,
  .cover {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Compress the closing pages so Next steps + footer fit on the page above */
  .next-steps {
    margin-top: 1rem;
    padding: 1.25rem 1.5rem;
    break-before: avoid;
    page-break-before: avoid;
  }
  .next-steps h2 { font-size: 1.2rem; margin-bottom: 0.4rem; }
  .next-steps p {
    font-size: 0.85rem;
    line-height: 1.45;
    margin-bottom: 0.5rem;
  }
  .next-steps ul { margin: 0.5rem 0 0.6rem; }
  .next-steps li {
    font-size: 0.82rem;
    padding: 0.18rem 0 0.18rem 1.2rem;
  }
  .next-steps li::before { top: 0.55rem; width: 6px; height: 6px; }

  /* Buttons → inline links in print to save vertical space */
  .next-steps .cta-row {
    margin-top: 0.75rem;
    gap: 0.85rem;
    align-items: baseline;
  }
  .next-steps .btn {
    padding: 0;
    min-height: 0;
    border: none;
    background: transparent !important;
    color: var(--accent-yellow) !important;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .next-steps .btn-secondary { color: var(--link) !important; }

  /* Compact horizontal doc-footer; drop the strapline that's already on the cover */
  .doc-footer {
    margin-top: 1rem;
    padding: 0.65rem 0 0.25rem;
    text-align: center;
    line-height: 1.55;
    break-before: avoid;
    page-break-before: avoid;
  }
  .doc-footer .brand {
    font-size: 0.82rem;
    margin-bottom: 0.15rem;
  }
  .doc-footer p:nth-of-type(2) { display: none; }
  .doc-footer p:nth-of-type(3),
  .doc-footer p:nth-of-type(4) {
    display: inline;
    font-size: 0.7rem;
    margin: 0 !important;
  }
  .doc-footer p:nth-of-type(4)::before {
    content: ' · ';
    color: var(--ink-3);
  }
}
