/* Light editorial article system — clean white prose with structured callouts */

:root {
  --ed-navy: #0b192e;
  --ed-ink: #142033;
  --ed-body: #3d4a5c;
  --ed-muted: #6b7789;
  --ed-faint: #94a0b0;
  --ed-line: #e6ebf1;
  --ed-line-strong: #d5dde8;
  --ed-surface: #f4f6f9;
  --ed-white: #ffffff;
  --ed-blue: #4a9ed4;
  --ed-blue-soft: #e8f4fb;
  --ed-blue-border: #c5e3f4;
  --ed-green: #2f9e5b;
  --ed-green-bar: #3cb371;
  --ed-green-soft: #e8f7ee;
  --ed-green-border: #b7e4c7;
  --ed-red: #e05252;
  --ed-red-bar: #e85d5d;
  --ed-red-soft: #fdeeee;
  --ed-red-border: #f5c4c4;
  --ed-amber: #c48a1a;
  --ed-amber-soft: #fbf5e6;
  --ed-amber-border: #edd9a8;
  --ed-accent-btn: #7ec8f0;
  --ed-radius: 10px;
  --ed-radius-sm: 8px;
  --ed-prose: min(720px, 100%);
  --ed-font: Inter, "DM Sans", system-ui, sans-serif;
}

body.editorial-light-body {
  margin: 0;
  min-height: 100vh;
  background: var(--ed-white);
  color: var(--ed-body);
  font-family: var(--ed-font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.editorial-light-body .site-footer {
  background: var(--ed-surface);
  border-top: 1px solid var(--ed-line);
  color: var(--ed-muted);
}

body.editorial-light-body .site-footer a {
  color: var(--ed-ink);
}

/* ── Hero — same full-bleed story hero as live editorials ────────────────── */
.ed-page {
  width: 100%;
  padding-bottom: 64px;
}

body.editorial-light-body .story-article-hero {
  --story-article-width: min(1040px, calc(100% - 48px));
  --story-heading-color: rgba(240, 246, 252, 0.94);
  --story-prose-color: rgba(240, 246, 252, 0.78);
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(8, 16, 28, 0.82) 0%, rgba(8, 18, 32, 0.48) 42%, rgba(8, 18, 32, 0.18) 68%, rgba(8, 18, 32, 0.06) 100%),
    url("/hero-bg.jpg") right 32% center / cover no-repeat;
  color: #f0f6fc;
}

body.editorial-light-body .story-article-hero::before {
  display: none;
}

body.editorial-light-body .story-article-hero__inner {
  position: relative;
  z-index: 1;
  width: var(--story-article-width);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) 0 clamp(40px, 6vw, 64px);
  text-align: center;
}

body.editorial-light-body .story-article-hero__inner .about-page-breadcrumb {
  margin: 0 0 8px;
  font-size: 13px;
  color: rgba(240, 246, 252, 0.52);
  letter-spacing: 0.02em;
  text-align: inherit;
}

body.editorial-light-body .story-article-hero__inner .about-page-breadcrumb a {
  color: rgba(240, 246, 252, 0.52);
  text-decoration: none;
}

body.editorial-light-body .story-article-hero__inner .about-page-breadcrumb a:hover {
  color: var(--ed-blue);
  text-decoration: underline;
}

body.editorial-light-body .story-article-hero__inner .about-page-eyebrow {
  margin: 0 0 10px;
  color: #2b6de9;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}

body.editorial-light-body .story-article-hero__title {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--story-heading-color);
  text-wrap: balance;
}

body.editorial-light-body .story-article-hero__meta {
  margin: 16px 0 0;
  font-size: 13px;
  color: rgba(240, 246, 252, 0.52);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.editorial-light-body .story-article-hero__dek {
  margin: 22px auto 0;
  max-width: none;
  font-family: var(--ed-font);
  font-size: 1.1875rem;
  line-height: 1.7;
  font-weight: 400;
  color: var(--story-prose-color);
  text-wrap: pretty;
}

/* ── Article shell ───────────────────────────────────────────────────────── */
.ed-article {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) 0 80px;
}

.ed-article__body {
  margin-top: 0;
}

.ed-article__body > * + * {
  margin-top: 1.35em;
}

.ed-article__body h2 {
  margin: 2.4em 0 0.7em;
  font-family: var(--ed-font);
  font-size: clamp(1.35rem, 2.6vw, 1.65rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ed-ink);
}

.ed-article__body h2:first-child {
  margin-top: 0;
}

.ed-article__body p {
  margin: 0;
  color: var(--ed-body);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.ed-article__body p + p {
  margin-top: 1.15em;
}

.ed-article__body a {
  color: var(--ed-blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(74, 158, 212, 0.35);
  text-underline-offset: 3px;
}

.ed-article__body a:hover {
  text-decoration-color: var(--ed-blue);
}

.ed-article__body strong {
  color: var(--ed-ink);
  font-weight: 700;
}

.ed-article__body ul {
  margin: 0;
  padding-left: 1.25em;
  color: var(--ed-body);
}

.ed-article__body li + li {
  margin-top: 0.4em;
}

.ed-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ed-ink);
  font-weight: 600;
}

.ed-disclaimer {
  margin-top: 2.5em;
  padding-top: 1.25em;
  border-top: 1px solid var(--ed-line);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ed-faint);
}

/* ── Status alert ────────────────────────────────────────────────────────── */
.ed-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--ed-amber-border);
  border-radius: var(--ed-radius);
  background: var(--ed-amber-soft);
  color: var(--ed-body);
  font-size: 0.975rem;
  line-height: 1.55;
}

.ed-alert__icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--ed-amber);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}

.ed-alert p {
  margin: 0;
}

.ed-alert strong {
  color: var(--ed-ink);
}

/* ── Quick Answer ────────────────────────────────────────────────────────── */
.ed-quick {
  margin: 1.75em 0;
  border-radius: var(--ed-radius);
  overflow: hidden;
  background: var(--ed-surface);
}

.ed-quick__head {
  padding: 14px 20px;
  background: var(--ed-navy);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ed-quick__body {
  padding: 20px 22px 22px;
}

.ed-quick__summary {
  margin: 0 0 1.1em;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ed-ink);
  line-height: 1.45;
}

.ed-quick__label {
  margin: 1em 0 0.55em;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ed-ink);
}

.ed-quick__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ed-quick__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 0.35em 0;
  font-size: 0.975rem;
  line-height: 1.45;
  color: var(--ed-body);
}

.ed-mark {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.ed-mark--yes {
  background: var(--ed-green);
}

.ed-mark--no {
  background: var(--ed-red);
}

/* ── Data / structure table ──────────────────────────────────────────────── */
.ed-table {
  margin: 1.5em 0;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  overflow: hidden;
  background: var(--ed-white);
}

.ed-table__caption {
  margin: 0;
  padding: 11px 16px;
  background: var(--ed-surface);
  border-bottom: 1px solid var(--ed-line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ed-muted);
}

.ed-table__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 13px 16px;
  border-bottom: 1px solid var(--ed-line);
  font-size: 0.975rem;
}

.ed-table__row:last-child {
  border-bottom: none;
}

.ed-table__label {
  color: var(--ed-body);
}

.ed-table__value {
  color: var(--ed-ink);
  font-weight: 700;
  text-align: right;
}

/* ── Soft callouts (guarantee / tip / note) ──────────────────────────────── */
.ed-callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 1.5em 0;
  padding: 16px 18px;
  border: 1px solid var(--ed-blue-border);
  border-radius: var(--ed-radius);
  background: var(--ed-blue-soft);
  font-size: 0.975rem;
  line-height: 1.55;
  color: var(--ed-body);
}

.ed-callout--note {
  background: var(--ed-white);
}

.ed-callout__icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--ed-blue);
  font-size: 18px;
  line-height: 22px;
  text-align: center;
}

.ed-callout p {
  margin: 0;
}

.ed-callout strong {
  color: var(--ed-ink);
}

/* ── Pricing cards ───────────────────────────────────────────────────────── */
.ed-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 1.5em 0;
}

.ed-price-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 22px 14px 18px;
  border: 1.5px solid var(--ed-ink);
  border-radius: var(--ed-radius);
  background: var(--ed-white);
  text-align: center;
}

.ed-price-card--featured {
  border-color: var(--ed-navy);
  background: var(--ed-navy);
  color: #fff;
}

.ed-price-card__tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ed-blue);
}

.ed-price-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ed-ink);
}

.ed-price-card--featured .ed-price-card__name {
  color: var(--ed-accent-btn);
}

.ed-price-card__amount {
  margin: 4px 0 2px;
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ed-ink);
  line-height: 1;
}

.ed-price-card--featured .ed-price-card__amount {
  color: #fff;
}

.ed-price-card__note {
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--ed-muted);
}

.ed-price-card--featured .ed-price-card__note {
  color: rgba(255, 255, 255, 0.7);
}

/* ── Breakeven tracker ───────────────────────────────────────────────────── */
.ed-tracker {
  margin: 1.5em 0;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  overflow: hidden;
}

.ed-tracker__head {
  padding: 11px 16px;
  background: var(--ed-surface);
  border-bottom: 1px solid var(--ed-line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ed-muted);
}

.ed-tracker__row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid var(--ed-line);
  background: var(--ed-white);
}

.ed-tracker__row:nth-child(even) {
  background: #fafbfc;
}

.ed-tracker__row:last-child {
  border-bottom: none;
}

.ed-tracker__num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ed-navy);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
}

.ed-tracker__label {
  font-weight: 700;
  color: var(--ed-ink);
  font-size: 0.95rem;
}

.ed-tracker__value {
  font-weight: 700;
  color: var(--ed-ink);
  font-size: 0.95rem;
}

.ed-tracker__status {
  font-size: 0.8125rem;
  color: var(--ed-muted);
  text-align: right;
  min-width: 8.5rem;
}

.ed-tracker__status--done {
  color: var(--ed-green);
  font-weight: 600;
}

/* ── Insight grid ────────────────────────────────────────────────────────── */
.ed-insights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 1.5em 0;
}

.ed-insight {
  padding: 16px 18px;
  border: 1px solid var(--ed-line-strong);
  border-radius: var(--ed-radius);
  background: var(--ed-white);
}

.ed-insight__context {
  margin: 0 0 6px;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ed-muted);
}

.ed-insight__result {
  margin: 0;
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ed-ink);
}

.ed-insight__result::before {
  content: "→ ";
  color: var(--ed-blue);
  font-weight: 800;
}

/* ── Pros / cons comparison ──────────────────────────────────────────────── */
.ed-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 1.5em 0;
}

.ed-compare-col {
  border-radius: var(--ed-radius);
  overflow: hidden;
  background: var(--ed-white);
}

.ed-compare-col--works {
  border: 1px solid var(--ed-green-border);
}

.ed-compare-col--watch {
  border: 1px solid var(--ed-red-border);
}

.ed-compare-col__head {
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}

.ed-compare-col--works .ed-compare-col__head {
  background: var(--ed-green-bar);
}

.ed-compare-col--watch .ed-compare-col__head {
  background: var(--ed-red-bar);
}

.ed-compare-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ed-compare-col__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid var(--ed-line);
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--ed-body);
}

.ed-compare-col__list li:last-child {
  border-bottom: none;
}

/* ── Verdict card ────────────────────────────────────────────────────────── */
.ed-verdict {
  margin: 2em 0 0;
  padding: 28px 28px 26px;
  border-radius: 14px;
  background: var(--ed-navy);
  color: #fff;
}

.ed-verdict__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ed-accent-btn);
}

.ed-verdict__kicker svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.ed-verdict__title {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff !important;
}

.ed-article__body .ed-verdict__title,
.ed-article__body h2.ed-verdict__title,
.story-body .ed-verdict__title,
body.editorial-light-body .ed-verdict__title,
body.editorial-light-body h2.ed-verdict__title {
  margin: 0;
  color: #ffffff !important;
}

.ed-verdict__text {
  margin: 12px 0 0;
  font-size: 0.975rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88) !important;
}

.ed-article__body .ed-verdict__text,
.story-body .ed-verdict__text,
body.editorial-light-body .ed-verdict__text,
body.editorial-light-body .ed-article__body .ed-verdict p {
  color: rgba(255, 255, 255, 0.88) !important;
}

.ed-verdict__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7ec8f0 !important;
}

.ed-verdict__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.ed-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  border-radius: 999px;
  font-family: var(--ed-font);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.ed-btn--primary {
  background: var(--ed-accent-btn);
  color: #0b192e;
}

.ed-verdict .ed-btn--primary {
  background: #7ec8f0;
  color: #0b192e;
}

.ed-btn--primary:hover {
  background: #9ad6f5;
  color: #0b192e;
}

.ed-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.ed-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

/* ── Test field (preview / interactive probe) ────────────────────────────── */
.ed-test-field {
  margin: 1.75em 0;
  padding: 20px 22px;
  border: 1px solid var(--ed-line-strong);
  border-radius: var(--ed-radius);
  background: var(--ed-surface);
}

.ed-test-field__label {
  display: block;
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ed-muted);
}

.ed-test-field__hint {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--ed-body);
  line-height: 1.45;
}

.ed-test-field__row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.ed-test-field__input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1.5px solid var(--ed-line-strong);
  border-radius: var(--ed-radius-sm);
  background: var(--ed-white);
  font-family: var(--ed-font);
  font-size: 1rem;
  color: var(--ed-ink);
  outline: none;
}

.ed-test-field__input::placeholder {
  color: var(--ed-faint);
}

.ed-test-field__input:focus {
  border-color: var(--ed-blue);
  box-shadow: 0 0 0 3px rgba(74, 158, 212, 0.18);
}

.ed-test-field__submit {
  flex: 0 0 auto;
  padding: 0 18px;
  border: none;
  border-radius: var(--ed-radius-sm);
  background: var(--ed-navy);
  color: #fff;
  font-family: var(--ed-font);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.ed-test-field__submit:hover {
  background: #152844;
}

.ed-test-field__result {
  margin: 12px 0 0;
  min-height: 1.4em;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ed-ink);
}

.ed-preview-banner {
  width: min(760px, calc(100% - 40px));
  margin: 16px auto 0;
  padding: 10px 14px;
  border-radius: var(--ed-radius-sm);
  background: #eef6fc;
  border: 1px solid var(--ed-blue-border);
  color: var(--ed-ink);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.ed-preview-banner strong {
  color: var(--ed-navy);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  body.editorial-light-body .story-article-hero__inner {
    width: calc(100% - 32px);
    padding-left: 0;
    padding-right: 0;
  }

  .ed-article {
    width: calc(100% - 32px);
  }

  .ed-pricing {
    grid-template-columns: 1fr;
  }

  .ed-insights,
  .ed-compare {
    grid-template-columns: 1fr;
  }

  .ed-tracker__row {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "num label"
      "num value"
      "num status";
  }

  .ed-tracker__num { grid-area: num; align-self: start; }
  .ed-tracker__label { grid-area: label; }
  .ed-tracker__value { grid-area: value; }
  .ed-tracker__status {
    grid-area: status;
    text-align: left;
    min-width: 0;
  }

  .ed-table__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ed-table__value {
    text-align: left;
  }

  .ed-verdict {
    padding: 22px 20px;
  }

  .ed-verdict__actions {
    flex-direction: column;
  }

  .ed-btn {
    justify-content: center;
  }

  .ed-test-field__row {
    flex-direction: column;
  }

  .ed-test-field__submit {
    padding: 12px 18px;
  }

  .story-stat-strip__inner {
    grid-template-columns: 1fr;
  }

  .story-stat {
    border-right: none;
    border-bottom: 1px solid var(--ed-line);
  }

  .story-stat:last-child {
    border-bottom: none;
  }

  .story-article-cta {
    width: calc(100% - 32px);
    flex-direction: column;
  }

  .editorial-related,
  .editorial-trust,
  .stories-index-intro,
  .stories-grid {
    width: calc(100% - 32px);
  }
}

/* ── Shared article page (legacy story-* classes on light shell) ─────────── */
body.editorial-light-body .story-article-page {
  width: 100%;
  padding-bottom: 64px;
  font-family: var(--ed-font);
}

body.editorial-light-body .story-article-band {
  width: 100%;
  margin: 0;
  padding: clamp(36px, 5vw, 56px) 20px clamp(48px, 7vw, 72px);
  background: var(--ed-white);
  border-bottom: none;
}

body.editorial-light-body .story-article-body {
  width: min(760px, 100%);
  margin: 0 auto;
}

body.editorial-light-body .story-body,
body.editorial-light-body .story-body p {
  font-family: var(--ed-font);
  color: var(--ed-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: none;
  text-align: left;
}

body.editorial-light-body .story-body p {
  margin-bottom: 1.25em;
}

body.editorial-light-body .story-body p:last-child {
  margin-bottom: 0;
}

body.editorial-light-body .story-body h2,
body.editorial-light-body .story-article-page .story-body h2 {
  margin: 2.25em 0 0.7em;
  font-family: var(--ed-font);
  font-size: clamp(1.35rem, 2.6vw, 1.65rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ed-ink);
}

body.editorial-light-body .story-article-page .story-body h2:first-child {
  margin-top: 0;
}

body.editorial-light-body .story-body h3 {
  margin: 1.5em 0 0.5em;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ed-ink);
}

body.editorial-light-body .story-body ul {
  margin: 0 0 1.35em;
  padding-left: 1.25em;
  color: var(--ed-body);
  font-size: 1.0625rem;
  line-height: 1.7;
}

body.editorial-light-body .story-body li {
  margin-bottom: 0.4em;
}

body.editorial-light-body .story-body strong {
  color: var(--ed-ink);
  font-weight: 700;
}

body.editorial-light-body .story-body a {
  color: var(--ed-blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(74, 158, 212, 0.35);
  text-underline-offset: 3px;
}

body.editorial-light-body .story-body a:hover {
  text-decoration-color: var(--ed-blue);
}

body.editorial-light-body .story-body blockquote:not(.story-pullquote) {
  margin: 1.5em 0;
  padding: 16px 18px;
  border: 1px solid var(--ed-amber-border);
  border-radius: var(--ed-radius);
  background: var(--ed-amber-soft);
}

body.editorial-light-body .story-body blockquote:not(.story-pullquote) p {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.55;
  color: var(--ed-body);
}

body.editorial-light-body .story-pullquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border: none;
  border-left: 3px solid var(--ed-blue);
  border-radius: 0 var(--ed-radius-sm) var(--ed-radius-sm) 0;
  background: var(--ed-blue-soft);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--ed-ink);
}

body.editorial-light-body .story-pullquote p {
  margin: 0;
  color: var(--ed-ink);
}

body.editorial-light-body .story-quick-table-wrap {
  margin: 1.25rem 0 1.75rem;
  overflow-x: auto;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  background: var(--ed-white);
}

body.editorial-light-body .story-quick-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: 0.975rem;
  line-height: 1.45;
}

body.editorial-light-body .story-quick-table th,
body.editorial-light-body .story-quick-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--ed-line);
}

body.editorial-light-body .story-quick-table th {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ed-muted);
  background: var(--ed-surface);
}

body.editorial-light-body .story-quick-table tr:last-child td {
  border-bottom: none;
}

body.editorial-light-body .story-quick-table a {
  color: var(--ed-blue);
  font-weight: 700;
}

/* Stat strip */
body.editorial-light-body .story-stat-strip {
  width: 100%;
  margin: 0;
  border-bottom: 1px solid var(--ed-line);
  background: var(--ed-surface);
}

body.editorial-light-body .story-stat-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
}

body.editorial-light-body .story-stat {
  padding: 22px 24px;
  text-align: center;
  border-right: 1px solid var(--ed-line);
}

body.editorial-light-body .story-stat:last-child {
  border-right: none;
}

body.editorial-light-body .story-stat__value {
  display: block;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ed-ink);
  line-height: 1.1;
}

body.editorial-light-body .story-stat__label {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ed-muted);
}

body.editorial-light-body .story-outro {
  width: min(760px, calc(100% - 40px));
  margin: clamp(28px, 4vw, 40px) auto 0;
  padding: 0 0 0 22px;
  border-left: 3px solid var(--ed-blue);
}

body.editorial-light-body .story-outro__text {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.2rem, 2.4vw, 1.4rem);
  line-height: 1.55;
  font-weight: 600;
  font-style: italic;
  color: var(--ed-ink);
}

/* CTA + buttons */
body.editorial-light-body .story-article-cta {
  width: min(760px, calc(100% - 40px));
  margin: clamp(28px, 4vw, 40px) auto 0;
  padding: 24px 28px;
  border: 1px solid var(--ed-line-strong);
  border-radius: var(--ed-radius);
  background: var(--ed-surface);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

body.editorial-light-body .story-article-cta p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ed-muted);
}

body.editorial-light-body .story-article-cta strong {
  color: var(--ed-ink);
}

body.editorial-light-body .about-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--ed-font);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

body.editorial-light-body .about-page-btn--primary {
  background: var(--ed-navy);
  color: #fff;
}

body.editorial-light-body .about-page-btn--primary:hover {
  background: #152844;
}

body.editorial-light-body .about-page-btn--ghost {
  background: var(--ed-white);
  color: var(--ed-ink);
  border-color: var(--ed-line-strong);
}

body.editorial-light-body .about-page-btn--ghost:hover {
  border-color: var(--ed-blue);
  color: var(--ed-navy);
}

body.editorial-light-body .story-body .about-page-btn {
  margin: 0.5rem 0.75rem 0.5rem 0;
}

/* ── Hub + cards ─────────────────────────────────────────────────────────── */
body.editorial-light-body .about-page-shell.editorial-hub,
body.editorial-light-body .editorial-hub {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 72px;
}

body.editorial-light-body .stories-index-intro {
  width: min(1040px, calc(100% - 48px));
  margin: 28px auto 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.editorial-light-body .stories-index-intro h2 {
  margin: 0 0 8px;
  font-family: var(--ed-font);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ed-ink);
}

body.editorial-light-body .stories-index-intro p {
  margin: 0;
  color: var(--ed-muted);
  line-height: 1.6;
}

body.editorial-light-body .stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 14px;
  width: min(1040px, calc(100% - 48px));
  margin: 16px auto 0;
}

body.editorial-light-body .story-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 20px;
  border: 1px solid var(--ed-line-strong);
  border-radius: var(--ed-radius);
  background: var(--ed-white);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

body.editorial-light-body .story-card:hover {
  border-color: var(--ed-blue-border);
  box-shadow: 0 8px 24px rgba(11, 25, 46, 0.06);
  transform: translateY(-1px);
}

body.editorial-light-body .story-card__kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ed-blue);
}

body.editorial-light-body .story-card__title {
  margin: 0;
  font-family: var(--ed-font);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ed-ink);
}

body.editorial-light-body .story-card__deck {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ed-muted);
}

body.editorial-light-body .story-card__meta {
  font-size: 0.8125rem;
  color: var(--ed-faint);
}

body.editorial-light-body .story-card__read {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ed-blue);
}

body.editorial-light-body .story-card--featured {
  border-color: var(--ed-blue-border);
  background: var(--ed-blue-soft);
}

body.editorial-light-body .editorial-cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

body.editorial-light-body .editorial-cat-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--ed-line-strong);
  background: var(--ed-white);
  color: var(--ed-muted);
}

body.editorial-light-body .editorial-related {
  margin: 36px auto 0;
  width: min(1040px, calc(100% - 48px));
}

body.editorial-light-body .editorial-related .stories-grid,
body.editorial-light-body .editorial-related .stories-index-intro {
  width: 100%;
}

body.editorial-light-body .editorial-hub-cta {
  margin-top: 36px;
}

body.editorial-light-body .editorial-trust {
  margin: 20px auto 0;
  width: min(1040px, calc(100% - 48px));
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ed-faint);
}

body.editorial-light-body .stories-index-page .story-article-hero__inner {
  width: min(1120px, calc(100% - 48px));
  text-align: left;
}

body.editorial-light-body .stories-index-page .story-article-hero__inner .about-page-breadcrumb {
  text-align: left;
}

body.editorial-light-body .nav-primary[aria-current="page"] {
  color: #f0f6fc;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Light remaps for about / static / pass-guide pages (not homepage/state/region)
   Pages keep component CSS; this remaps tokens + glass surfaces on white.
   ═══════════════════════════════════════════════════════════════════════════ */

body.editorial-light-body {
  --ap-text: #142033;
  --ap-text-dim: #3d4a5c;
  --ap-text-faint: #6b7789;
  --ap-border: rgba(20, 32, 51, 0.12);
  --ap-border-strong: rgba(20, 32, 51, 0.2);
  --ap-glass: #f4f6f9;
  --ap-glass-soft: #ffffff;
  --ap-shadow: 0 8px 24px rgba(11, 25, 46, 0.06);
  --ap-accent: #2b6de9;

  --pp-text: #142033;
  --pp-text-dim: #3d4a5c;
  --pp-text-faint: #6b7789;
  --pp-border: rgba(20, 32, 51, 0.12);
  --pp-border-strong: rgba(20, 32, 51, 0.2);
  --pp-glass: #ffffff;
  --pp-accent: #2b6de9;
  --pp-shadow: 0 8px 24px rgba(11, 25, 46, 0.06);

  background-color: #ffffff !important;
  background-image: none !important;
}

body.editorial-light-body.about-page-body,
body.editorial-light-body.pass-page-body,
body.editorial-light-body.stories-page-body {
  background-color: #ffffff !important;
  background-image: none !important;
  color: var(--ed-body, #3d4a5c);
}

body.editorial-light-body h1,
body.editorial-light-body h2,
body.editorial-light-body h3 {
  color: var(--ap-text);
}

/* Heroes stay dark — restore light-on-dark tokens inside hero surfaces */
body.editorial-light-body .about-page-hero,
body.editorial-light-body .story-article-hero,
body.editorial-light-body .pp-hero {
  --ap-text: #f0f6fc;
  --ap-text-dim: rgba(240, 246, 252, 0.78);
  --ap-text-faint: rgba(240, 246, 252, 0.52);
  --pp-text: #f0f6fc;
  --pp-text-dim: rgba(240, 246, 252, 0.78);
  --pp-text-faint: rgba(240, 246, 252, 0.52);
  --ap-border: rgba(142, 178, 226, 0.2);
  --ap-border-strong: rgba(94, 148, 222, 0.42);
  --pp-border: rgba(142, 178, 226, 0.2);
  --pp-border-strong: rgba(94, 148, 222, 0.42);
  color: #f0f6fc;
}

body.editorial-light-body .about-page-hero h1,
body.editorial-light-body .about-page-hero h2,
body.editorial-light-body .about-page-hero h3,
body.editorial-light-body .pp-hero h1,
body.editorial-light-body .pp-hero h2,
body.editorial-light-body .pp-hero h3,
body.editorial-light-body .story-article-hero h1,
body.editorial-light-body .story-article-hero h2,
body.editorial-light-body .story-article-hero h3,
body.editorial-light-body .nl-band h1,
body.editorial-light-body .nl-band h2,
body.editorial-light-body .nl-band h3,
body.editorial-light-body .nl-headline {
  color: #f0f6fc;
}

/* Newsletter band stays dark — keep light-on-dark type */
body.editorial-light-body .nl-band {
  color: #f0f6fc;
}

body.editorial-light-body .nl-body,
body.editorial-light-body .nl-form-label,
body.editorial-light-body .nl-fine,
body.editorial-light-body .nl-chip,
body.editorial-light-body .nl-success-head,
body.editorial-light-body .nl-success-sub {
  color: rgba(255, 255, 255, 0.55);
}

body.editorial-light-body .nl-success-head {
  color: #ffffff;
}

body.editorial-light-body .nl-email {
  color: #ffffff;
}

/* Partners pricing cards were dark glass — lighten for white pages */
body.editorial-light-body .partners-page-pricing-card {
  background: #ffffff;
  border-color: var(--ap-border-strong);
  box-shadow: none;
}

body.editorial-light-body .partners-page-pricing-card--featured {
  background: #ffffff;
  border-color: rgba(43, 109, 233, 0.35);
}

body.editorial-light-body .partners-page-badge--muted {
  color: var(--ed-muted, #6b7789);
  background: var(--ed-surface, #f4f6f9);
  border-color: var(--ed-line, #e6ebf1);
}

body.editorial-light-body .about-page-limits {
  background: var(--ed-surface, #f4f6f9);
  border-color: var(--ap-border-strong);
  color: var(--ed-body, #3d4a5c);
}

body.editorial-light-body .about-page-btn--ghost,
body.editorial-light-body .pp-btn--ghost {
  background: #ffffff;
  color: var(--ap-text);
  border-color: var(--ap-border-strong);
}

body.editorial-light-body .about-page-btn--ghost:hover,
body.editorial-light-body .pp-btn--ghost:hover {
  background: var(--ed-surface, #f4f6f9);
  border-color: var(--ed-blue, #4a9ed4);
}

body.editorial-light-body .about-page-hero .about-page-btn--ghost,
body.editorial-light-body .pp-hero .pp-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #f0f6fc;
  border-color: rgba(142, 178, 226, 0.2);
}

body.editorial-light-body .about-page-step,
body.editorial-light-body .about-page-factor,
body.editorial-light-body .about-page-callout,
body.editorial-light-body .about-page-faq__item,
body.editorial-light-body .partners-page-card,
body.editorial-light-body .pp-quick-card,
body.editorial-light-body .pp-fast-cell,
body.editorial-light-body .pp-region-card,
body.editorial-light-body .pp-lookup-item,
body.editorial-light-body .pp-faq-item,
body.editorial-light-body .content-callout,
body.editorial-light-body .content-matchup-card {
  background: #ffffff;
  border-color: var(--ap-border-strong);
  box-shadow: none;
}

/* FAQ items: inset copy from the card edge */
body.editorial-light-body .pp-faq-item {
  padding: 18px 22px;
  border-radius: 12px;
  margin-bottom: 8px;
  border: 1px solid var(--ap-border-strong);
}

body.editorial-light-body .pp-faq-item:last-child {
  margin-bottom: 0;
  border-bottom: 1px solid var(--ap-border-strong);
}

body.editorial-light-body .pp-section,
body.editorial-light-body .pp-cta-band {
  background: #ffffff;
  border-color: var(--ap-border-strong);
  box-shadow: none;
}

/* Metrics outside heroes stay light; hero metrics need dark glass + light type */
body.editorial-light-body .about-page-section .about-page-metric,
body.editorial-light-body .partners-page-card-grid .about-page-metric {
  background: #ffffff;
  border-color: var(--ap-border-strong);
}

body.editorial-light-body .about-page-hero .about-page-metric {
  background: rgba(8, 18, 32, 0.55);
  border-color: rgba(142, 178, 226, 0.35);
  backdrop-filter: blur(10px);
}

body.editorial-light-body .about-page-hero .about-page-metric__val {
  color: #f0f6fc !important;
}

body.editorial-light-body .about-page-hero .about-page-metric__label {
  color: rgba(240, 246, 252, 0.72) !important;
}

/* Pass brand colors were tuned for dark UI — darken for white cards */
body.editorial-light-body {
  --pp-epic: #1a56db;
  --pp-ikon: #b83a36;
  --pp-indy: #1f8a4c;
}

body.editorial-light-body .pp-hero {
  --pp-epic: #6eb0ff;
  --pp-ikon: #f0a4a0;
  --pp-indy: #7fd68f;
}

/* Prose fast-scan rows: keep "Ikon: …" on one line */
body.editorial-light-body .pp-fast-row--prose .pp-fast-cell strong,
body.editorial-light-body .pp-fast-cell--answer strong {
  display: inline;
  margin-bottom: 0;
  font-size: inherit;
}

/* Eyebrows / faint labels need stronger contrast on white */
body.editorial-light-body .pp-section__head .about-page-eyebrow,
body.editorial-light-body .pp-section__head > p:first-child,
body.editorial-light-body .pp-quick-card__label,
body.editorial-light-body .about-page-section__head .about-page-eyebrow {
  color: #5a6575;
}

body.editorial-light-body .pp-btn--primary,
body.editorial-light-body .about-page-btn--primary {
  background: #1a56db;
  color: #ffffff;
}

body.editorial-light-body .pp-hero .pp-btn--primary,
body.editorial-light-body .about-page-hero .about-page-btn--primary {
  background: rgba(43, 109, 233, 0.95);
  color: #ffffff;
}

body.editorial-light-body .about-page-hero__panel,
body.editorial-light-body .pp-hero__panel {
  background: rgba(8, 18, 32, 0.72);
  border-color: rgba(94, 148, 222, 0.42);
  backdrop-filter: blur(14px);
}

body.editorial-light-body .about-page-cta-band,
body.editorial-light-body .pp-indy-band {
  background: var(--ed-surface, #f4f6f9);
  border-color: var(--ap-border-strong);
}

body.editorial-light-body .pp-table-wrap {
  background: #ffffff;
  border-color: var(--ap-border-strong);
}

body.editorial-light-body .pp-table th {
  background: var(--ed-surface, #f4f6f9);
  border-color: var(--ap-border);
}

body.editorial-light-body .pp-table td,
body.editorial-light-body .pp-table th {
  border-color: var(--ap-border);
  color: var(--ap-text-dim);
}

body.editorial-light-body .pp-table td {
  background: #ffffff;
}

body.editorial-light-body .about-page-band--crowd {
  background: var(--ed-blue-soft, #e8f4fb);
  border-color: var(--ed-blue-border, #c5e3f4);
}

body.editorial-light-body .about-page-pullquote {
  border-left-color: var(--ed-blue, #4a9ed4);
  background: var(--ed-blue-soft, #e8f4fb);
  color: var(--ap-text);
}

body.editorial-light-body .site-footer {
  background: var(--ed-surface, #f4f6f9) !important;
  border-top: 1px solid var(--ed-line, #e6ebf1) !important;
  color: var(--ed-muted, #6b7789);
}

body.editorial-light-body .site-footer a {
  color: var(--ed-ink, #142033);
}

