/* Competitor comparison pages: /alternatives/ and /alternatives/<slug>/.

   Written against the tokens in static/css/bootstrap-overrides.css (--text,
   --text-muted, --bg, --bg-light, --primary, --secondary, --success, --warning),
   which already switch for dark mode, so nothing here needs a dark override
   except the CTA button. Moat score colours come from --moat-band, set by the
   .moat-band-* classes in companies/css/moat_map.css (loaded alongside).

   Layout: a tonal hero band (copy left, the verdict panel right), then a sticky
   "On this page" rail beside a reading column capped near 70ch. Tables stack
   into labelled blocks below 768px. No side-stripe accents: the StatsAlpha
   column and cards are marked by a tint, not a coloured left border. */

.alt-page {
  --alt-line: var(--bs-border-color);
  --alt-us: color-mix(in oklch, var(--primary) 7%, transparent);
  --alt-us-line: color-mix(in oklch, var(--primary) 32%, transparent);
  --alt-surface: linear-gradient(170deg, var(--bg-light) 0%, color-mix(in oklch, var(--bg) 55%, var(--bg-light)) 100%);
  --alt-ease: cubic-bezier(0.22, 1, 0.36, 1);
  padding-bottom: clamp(3rem, 8vw, 5rem);
  color: var(--text);
}

.alt-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.alt-page section[id], .alt-page footer[id] { scroll-margin-top: 5.5rem; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.alt-hero {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--alt-line);
  padding-block: clamp(1.5rem, 4vw, 3rem) clamp(2rem, 5vw, 3.5rem);
}
.alt-hero-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
}
@media (min-width: 992px) {
  .alt-hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
}

.alt-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.alt-breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.6; }
.alt-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.alt-breadcrumb a:hover { color: var(--primary); text-decoration: underline; }

.alt-matchup {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.alt-matchup-us { color: var(--primary); }
.alt-matchup-them { color: var(--text); }
.alt-matchup-vs {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 1px solid var(--alt-line);
  background: var(--bg-light);
  color: var(--text-muted);
  font-size: 0.6875rem;
  text-transform: lowercase;
  letter-spacing: 0;
}

.alt-hero h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 1rem;
  max-width: 22ch;
  text-wrap: balance;
}
.alt-hero--hub h1 { max-width: 26ch; }
.alt-lede {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 64ch;
  margin-bottom: 1.25rem;
}
.alt-checked {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.alt-checked i { color: var(--secondary); }

.alt-verdict {
  position: relative;
  background: var(--alt-surface);
  border: 1px solid var(--alt-line);
  border-radius: 1rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: 0 1px 3px rgb(15 23 42 / 0.06), 0 8px 24px -12px rgb(15 23 42 / 0.12);
}
.alt-kicker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}
.alt-kicker::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
}
.alt-verdict p { margin: 0 0 1rem; font-size: 1.0625rem; line-height: 1.6; color: var(--text); }
.alt-verdict-link { font-size: 0.875rem; font-weight: 600; text-decoration: none; color: var(--primary); }
.alt-verdict-link:hover { text-decoration: underline; }

/* ── Body: rail + reading column ─────────────────────────────────── */
.alt-body { padding-top: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 992px) {
  .alt-body {
    display: grid;
    grid-template-columns: 13rem minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }
}
.alt-content { min-width: 0; max-width: 54rem; }

.alt-toc { display: none; }
@media (min-width: 992px) {
  .alt-toc { display: block; position: sticky; top: 5.5rem; }
}
.alt-toc-title {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.alt-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.125rem; }
.alt-toc a {
  display: block;
  padding: 0.35rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--text-muted);
  text-decoration: none;
  transition: background-color 0.2s var(--alt-ease), color 0.2s var(--alt-ease);
}
.alt-toc a:hover { color: var(--text); background: color-mix(in oklch, var(--text) 5%, transparent); }
.alt-toc a[aria-current="true"] { color: var(--primary); background: var(--alt-us); font-weight: 600; }

/* ── Sections ─────────────────────────────────────────────────────── */
.alt-section { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.alt-section > h2, .alt-section-head h2, .alt-hub-body .alt-section > h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
.alt-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.25rem;
}
.alt-section-head h2 { margin: 0; }
.alt-section-lede { color: var(--text-muted); max-width: 68ch; line-height: 1.65; margin-bottom: 1.25rem; }
.alt-prose p { font-size: 1.0625rem; line-height: 1.75; color: var(--text); max-width: 68ch; }
.alt-prose p:last-child { margin-bottom: 0; }

/* Which to choose */
.alt-pick-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .alt-pick-grid { grid-template-columns: 1fr 1fr; } }
.alt-pick {
  border: 1px solid var(--alt-line);
  border-radius: 1rem;
  padding: 1.25rem 1.4rem 1.4rem;
  background: var(--alt-surface);
}
.alt-pick--us { background: var(--alt-us); border-color: var(--alt-us-line); }
.alt-pick h3 { font-size: 1.0625rem; font-weight: 700; color: var(--text); margin: 0 0 0.85rem; }
.alt-pick--us h3 { color: var(--primary); }
.alt-pick ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.alt-pick li { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.4rem; line-height: 1.55; color: var(--text); }
.alt-pick li i { font-size: 1.1rem; line-height: 1.4; color: var(--text-muted); }
.alt-pick--us li i { color: var(--primary); }

/* ── Tables (matrix + pricing) ───────────────────────────────────── */
.alt-legend { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; font-size: 0.8125rem; color: var(--text-muted); }
.alt-legend span { display: inline-flex; align-items: center; gap: 0.35rem; }

.alt-table-wrap {
  border: 1px solid var(--alt-line);
  border-radius: 1rem;
  background: var(--bg-light);
  overflow-x: auto;
}
.alt-page .table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--text);
  --bs-table-border-color: var(--alt-line);
  margin: 0;
}
.alt-page .table > :not(caption) > * > * { padding: 0.85rem 1rem; }
.alt-page .table thead th {
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.alt-page .table tbody tr:last-child > * { border-bottom-width: 0; }
.alt-page .table tbody + tbody { border-top: 1px solid var(--alt-line); }

.alt-matrix { font-size: 0.9375rem; }
.alt-matrix th[scope="row"] { font-weight: 600; color: var(--text); width: 27%; vertical-align: top; }
.alt-matrix td { vertical-align: top; }
.alt-matrix thead th.alt-col-us { color: var(--primary); }
.alt-matrix-section th {
  background: color-mix(in oklch, var(--bg) 60%, transparent);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 700;
}
.alt-matrix-note { display: block; margin-top: 0.2rem; font-weight: 400; font-size: 0.8125rem; line-height: 1.45; color: var(--text-muted); }
.alt-col-us { background: var(--alt-us); }
.alt-cell-inner { display: grid; grid-template-columns: 1.15rem 1fr; gap: 0.45rem; line-height: 1.5; }
.alt-cell--info .alt-cell-inner { grid-template-columns: 1fr; }
.alt-cell i { line-height: 1.5; }
.alt-cell--yes i { color: var(--success); }
.alt-cell--partial i { color: var(--warning); }
.alt-cell--no i { color: var(--text-muted); }
.alt-cell--no span { color: var(--text-muted); }

.alt-pricing { font-size: 0.9375rem; }
.alt-pricing th[scope="row"] { font-weight: 700; white-space: nowrap; }
.alt-pricing-us > tr > * { background: var(--alt-us); }
.alt-pricing-us th[scope="row"] { color: var(--primary); }
.alt-price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.alt-promo { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--success); white-space: normal; }
.alt-footnote { margin-top: 0.85rem; font-size: 0.8125rem; line-height: 1.6; color: var(--text-muted); max-width: 80ch; }

/* Stacked tables on narrow screens: each row becomes a labelled block. */
@media (max-width: 767.98px) {
  .alt-table-wrap { overflow: visible; }
  .alt-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .alt-stack, .alt-stack tbody, .alt-stack tr, .alt-stack th, .alt-stack td { display: block; width: 100%; }
  .alt-page .alt-stack > :not(caption) > * > * { border-bottom: 0; padding: 0.3rem 1rem; }
  .alt-stack tbody tr { padding: 0.75rem 0; border-bottom: 1px solid var(--alt-line); }
  .alt-stack tbody tr:last-child { border-bottom: 0; }
  .alt-stack th[scope="row"] { width: auto; padding-bottom: 0.5rem; font-size: 1rem; }
  .alt-stack td { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.75rem; }
  .alt-stack td::before {
    content: attr(data-label);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    padding-top: 0.15rem;
  }
  .alt-stack .alt-matrix-section th { padding: 0.55rem 1rem; }
  .alt-matrix .alt-col-us { background: transparent; }
  .alt-matrix td.alt-col-us::before { color: var(--primary); }
  .alt-price { white-space: normal; }
}

/* ── Points: numbered arguments, not a card grid ─────────────────── */
.alt-points { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.alt-point {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--alt-line);
}
.alt-point:last-child { border-bottom: 1px solid var(--alt-line); }
.alt-point-num {
  font-size: 0.875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding-top: 0.15rem;
}
.alt-points--us .alt-point-num { color: var(--primary); }
.alt-point h3 { font-size: 1.0625rem; font-weight: 700; line-height: 1.35; color: var(--text); margin: 0 0 0.35rem; }
.alt-point p { margin: 0; color: var(--text-muted); line-height: 1.65; max-width: 66ch; }

/* ── Live examples: score rings ──────────────────────────────────── */
.alt-examples { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 1rem; }
.alt-example {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--alt-line);
  border-radius: 1rem;
  background: var(--alt-surface);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.25s var(--alt-ease), box-shadow 0.25s var(--alt-ease), border-color 0.25s var(--alt-ease);
}
.alt-example:hover {
  color: var(--text);
  border-color: color-mix(in oklch, var(--moat-band, var(--primary)) 55%, transparent);
  box-shadow: 0 4px 12px rgb(15 23 42 / 0.08), 0 2px 6px rgb(15 23 42 / 0.05);
  transform: translateY(-2px);
}
.alt-example:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.alt-example-ring {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: conic-gradient(
    var(--moat-band, var(--primary)) calc(var(--score, 0) * 1%),
    color-mix(in oklch, var(--moat-band, var(--primary)) 16%, transparent) 0
  );
}
.alt-example-ring span {
  display: grid;
  place-items: center;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border-radius: 50%;
  background: var(--bg-light);
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--moat-band, var(--text));
}
.alt-example-body { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.alt-example-ticker { font-weight: 700; font-size: 1.0625rem; letter-spacing: 0.01em; }
.alt-example-name { font-size: 0.875rem; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alt-example-score { font-size: 0.8125rem; color: var(--text-muted); }
.alt-example-score strong { font-weight: 700; color: var(--moat-band, var(--text)); }
.alt-example-link { margin-top: 0.45rem; font-size: 0.8125rem; font-weight: 600; color: var(--primary); }
.alt-example-link i { display: inline-block; transition: transform 0.25s var(--alt-ease); }
.alt-example:hover .alt-example-link i { transform: translateX(3px); }

/* ── CTA ──────────────────────────────────────────────────────────── */
.alt-cta {
  display: grid;
  gap: 1.25rem 2rem;
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: 1.25rem;
  border: 1px solid var(--alt-us-line);
  background:
    radial-gradient(120% 140% at 100% 0%, color-mix(in oklch, var(--secondary) 12%, transparent) 0%, transparent 55%),
    color-mix(in oklch, var(--primary) 6%, var(--bg-light));
}
@media (min-width: 768px) { .alt-cta { grid-template-columns: minmax(0, 1fr) auto; } }
.alt-cta h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; color: var(--text); margin: 0 0 0.5rem; }
.alt-cta p { margin: 0; color: var(--text-muted); line-height: 1.6; max-width: 56ch; }
.alt-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
@media (min-width: 768px) { .alt-cta-actions { flex-direction: column; align-items: stretch; } }
.alt-cta-pricing { text-align: center; font-size: 0.875rem; font-weight: 600; color: var(--primary); }

.alt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s var(--alt-ease), box-shadow 0.18s var(--alt-ease), background-color 0.18s var(--alt-ease);
}
.alt-btn:active { transform: translateY(1px); }
.alt-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--bg-light), 0 0 0 6px color-mix(in oklch, var(--primary) 45%, transparent); }
.alt-btn--primary {
  color: oklch(0.99 0.005 260);
  background: linear-gradient(135deg, #10b981 0%, #2563eb 100%);
  border-color: #0a6f78;
  box-shadow: 0 8px 18px rgb(37 99 235 / 0.18), 0 3px 8px rgb(16 185 129 / 0.16), inset 0 1px 0 rgb(255 255 255 / 0.3);
}
.alt-btn--primary:hover {
  color: oklch(0.99 0.005 260);
  background: linear-gradient(135deg, #0f9f72 0%, #1d4ed8 100%);
  transform: translateY(-1px);
}
.alt-btn--secondary {
  color: var(--text);
  background: var(--bg-light);
  border-color: var(--alt-line);
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.06);
}
.alt-btn--secondary:hover { color: var(--text); border-color: var(--alt-us-line); transform: translateY(-1px); }
[data-bs-theme="dark"] .alt-btn--primary {
  background: linear-gradient(135deg, rgb(16 185 129 / 0.75) 0%, rgb(37 99 235 / 0.7) 100%);
  border-color: rgb(8 145 178 / 0.45);
}

/* ── FAQ ──────────────────────────────────────────────────────────── */
.alt-faq-item { border-top: 1px solid var(--alt-line); }
.alt-faq-item:last-of-type { border-bottom: 1px solid var(--alt-line); }
.alt-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
}
.alt-faq-item summary::-webkit-details-marker { display: none; }
.alt-faq-item summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 0.25rem; }
.alt-faq-item h3 { margin: 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.4; color: var(--text); }
.alt-faq-item summary:hover h3 { color: var(--primary); }
.alt-faq-item summary i { flex: none; color: var(--text-muted); transition: transform 0.25s var(--alt-ease); }
.alt-faq-item[open] summary i { transform: rotate(180deg); }
.alt-faq-item p { margin: 0 0 1.25rem; color: var(--text-muted); line-height: 1.7; max-width: 68ch; }

/* ── Related + sources ───────────────────────────────────────────── */
.alt-related { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
@media (min-width: 768px) { .alt-related { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); } }
.alt-related a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 1rem;
  height: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid var(--alt-line);
  border-radius: 0.75rem;
  background: var(--alt-surface);
  text-decoration: none;
  transition: border-color 0.2s var(--alt-ease);
}
.alt-related a:hover { border-color: var(--alt-us-line); }
.alt-related-name { font-weight: 700; color: var(--text); }
.alt-related-summary { grid-column: 1; font-size: 0.875rem; line-height: 1.5; color: var(--text-muted); }
.alt-related a i { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--primary); transition: transform 0.2s var(--alt-ease); }
.alt-related a:hover i { transform: translateX(3px); }
.alt-all-link { margin: 1rem 0 0; font-weight: 600; }
.alt-all-link a { text-decoration: none; }
.alt-all-link a:hover { text-decoration: underline; }

.alt-sources {
  border-top: 1px solid var(--alt-line);
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.alt-sources h2 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.alt-sources ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.alt-sources ul a i { margin-left: 0.3rem; font-size: 0.7rem; }
.alt-sources p { max-width: 80ch; margin: 0; }

/* ── Hub ──────────────────────────────────────────────────────────── */
.alt-hub-body { padding-top: clamp(2rem, 5vw, 3rem); }
.alt-hub-body > * { max-width: 62rem; }
.alt-hub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.875rem; }
.alt-hub-card {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem 1.25rem;
  align-items: center;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--alt-line);
  border-radius: 1rem;
  background: var(--alt-surface);
  transition: border-color 0.25s var(--alt-ease), box-shadow 0.25s var(--alt-ease), transform 0.25s var(--alt-ease);
}
@media (min-width: 768px) {
  .alt-hub-card { grid-template-columns: 3rem minmax(0, 1fr) 12rem 1.25rem; padding: 1.4rem 1.6rem; }
}
.alt-hub-card:hover {
  border-color: var(--alt-us-line);
  box-shadow: 0 4px 12px rgb(15 23 42 / 0.08), 0 2px 6px rgb(15 23 42 / 0.05);
  transform: translateY(-1px);
}
.alt-hub-card:focus-within { border-color: var(--primary); }
.alt-hub-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--alt-us);
  border: 1px solid var(--alt-us-line);
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
}
.alt-hub-main h2 { margin: 0 0 0.3rem; font-size: 1.1875rem; font-weight: 700; line-height: 1.3; }
.alt-hub-main h2 a { color: var(--text); text-decoration: none; }
.alt-hub-main h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.alt-hub-main h2 a:focus-visible { outline: none; }
.alt-hub-card:hover h2 a { color: var(--primary); }
.alt-hub-main p { margin: 0; color: var(--text-muted); line-height: 1.55; font-size: 0.9375rem; }
.alt-hub-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0; font-size: 0.8125rem; }
@media (min-width: 768px) { .alt-hub-meta { grid-column: auto; flex-direction: column; } }
.alt-hub-meta dt { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.alt-hub-meta dd { margin: 0; font-weight: 600; color: var(--text); }
.alt-hub-arrow { display: none; color: var(--primary); transition: transform 0.25s var(--alt-ease); }
@media (min-width: 768px) { .alt-hub-arrow { display: block; } }
.alt-hub-card:hover .alt-hub-arrow { transform: translateX(3px); }

.alt-gaps ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.6rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.alt-gaps li { display: flex; gap: 0.6rem; align-items: baseline; color: var(--text); }
.alt-gaps li i { font-size: 0.8rem; color: var(--text-muted); }
.alt-gaps p { color: var(--text-muted); margin: 0; max-width: 68ch; }

@media (prefers-reduced-motion: reduce) {
  .alt-page *, .alt-page *::before, .alt-page *::after { transition: none !important; }
  .alt-example:hover, .alt-hub-card:hover, .alt-btn:hover { transform: none; }
}
