/* Crawlable content surface for /savings-calculator (t_3308916c).
 *
 * WHY THIS FILE EXISTS. The route is the canonical URL for the two calculator
 * keywords (scratch/seo/keyword-url-map-2026-08-18.md Tier 1 item 1), and it
 * shipped with 58 body words: correct metadata, nothing to rank on. This styles
 * the prose that sits BELOW the engine.
 *
 * WHY BELOW, not above: scripts/qa/gate3-browser.js asserts the first quiz
 * action is visible and useful WITHIN the initial viewport at 390x844
 * ('savings-initial-action'). Any content above #quiz-shell pushes the first
 * question off the fold on mobile and fails that gate. The engine keeps the
 * fold; the prose earns the crawl.
 *
 * NO ANIMATION AND NO TRANSITION over 0.15s anywhere in this file: the same
 * gate re-loads the route under reducedMotion:'reduce' and fails on any
 * animation past 0.05s or transition past 0.15s ('3.13').
 *
 * Tokens only, from /tokens.css. No new scale values.
 */

.sc-seo {
  padding: var(--space-2xl) var(--spacing-page-x);
  background: var(--color-surface);
}

.sc-seo__inner {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
}

.sc-seo__block + .sc-seo__block {
  margin-block-start: var(--space-xl);
}

.sc-seo h2 {
  margin: 0 0 var(--space-sm);
  color: var(--color-ink);
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-heading);
  letter-spacing: -0.014em;
}

.sc-seo p {
  margin: 0 0 var(--space-sm);
  color: var(--color-ink-muted);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

.sc-seo p:last-child {
  margin-block-end: 0;
}

/* The rate ladder. A definition list rather than a table: the route contract in
   tests/savings-calculator-contract.test.js forbids <table> on this page, and
   the labeled run/keep pair is the shipped pattern from Fees.astro's triad
   (docs/site-pack/copy-rules.md 3.2) rather than a new component. */
.sc-seo__ladder {
  display: grid;
  gap: var(--space-2xs);
  margin: 0 0 var(--space-sm);
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface-soft);
}

.sc-seo__ladder-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2xs) var(--space-sm);
}

.sc-seo__ladder dt {
  min-width: 7.5rem;
  color: var(--color-ink-subtle);
  font-size: var(--text-small);
  font-weight: var(--font-weight-semibold);
}

.sc-seo__ladder dd {
  margin: 0;
  color: var(--color-ink);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

/* Money green marks the payoff row only, the same rule the cards and the proof
   rail follow: the treatment marks a figure, never ordinary prose. */
.sc-seo__ladder dd.sc-seo__payoff {
  color: var(--color-money);
  font-weight: var(--font-weight-semibold);
}

.sc-seo__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sc-seo__links li + li {
  margin-block-start: var(--space-2xs);
}

.sc-seo__links a,
.sc-seo p a {
  color: var(--color-accent-700);
  font-weight: var(--font-weight-medium);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sc-seo__links a:hover,
.sc-seo p a:hover {
  color: var(--color-accent-800);
}

.sc-seo__links a:focus-visible,
.sc-seo p a:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
