:root {
  --r5-ink: #102842;
  --r5-ink-soft: #29445f;
  --r5-blue: #1e63ad;
  --r5-blue-dark: #174e88;
  --r5-teal: #147d78;
  --r5-teal-soft: #e8f4f2;
  --r5-amber: #b7791f;
  --r5-amber-soft: #fff6e8;
  --r5-surface: #ffffff;
  --r5-soft: #f4f8fb;
  --r5-soft-warm: #f7f8f5;
  --r5-line: #d7e2ea;
  --r5-muted: #586b7d;
  --r5-radius: 8px;
  --r5-reading: 72ch;
  --r5-shell: 1200px;
  --r5-header-height: 72px;
  --r5-shadow: 0 16px 40px rgba(16, 40, 66, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--r5-surface);
  color: var(--r5-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--r5-blue);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--r5-blue-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(30, 99, 173, 0.34);
  outline-offset: 3px;
}

.r5-skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border: 1px solid var(--r5-blue);
  border-radius: 4px;
  background: var(--r5-surface);
  color: var(--r5-ink);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.r5-skip-link:focus {
  transform: translateY(0);
}

.r5-site-header,
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--r5-header-height);
  border-bottom: 1px solid var(--r5-line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 28px rgba(16, 40, 66, 0.05);
  backdrop-filter: blur(14px);
}

.r5-nav-shell {
  width: min(100% - 40px, var(--r5-shell));
  min-height: var(--r5-header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.r5-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--r5-ink);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.r5-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.r5-nav-panel {
  min-width: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.r5-primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.r5-primary-nav a {
  min-height: 40px;
  padding: 9px 10px;
  border-bottom: 2px solid transparent;
  color: var(--r5-muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.r5-primary-nav a:hover,
.r5-primary-nav a[aria-current="page"] {
  border-bottom-color: var(--r5-teal);
  color: var(--r5-ink);
}

.r5-nav-cta {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--r5-blue);
  border-radius: 6px;
  background: var(--r5-blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.r5-nav-cta:hover {
  background: var(--r5-blue-dark);
  color: #ffffff;
}

.r5-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 10px;
  border: 1px solid var(--r5-line);
  border-radius: 6px;
  background: var(--r5-surface);
  color: var(--r5-ink);
  cursor: pointer;
}

.r5-nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-header[data-nav-open="true"] .r5-nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header[data-nav-open="true"] .r5-nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header[data-nav-open="true"] .r5-nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

#main-content {
  scroll-margin-top: 92px;
}

.container,
.site-footer .inner,
.footer .container {
  width: min(100% - 40px, var(--r5-shell));
  max-width: var(--r5-shell);
  margin-inline: auto;
  padding-inline: 0;
}

.section,
.r5-band {
  margin: 0;
  padding: 78px 0;
  border-top: 1px solid var(--r5-line);
  background: var(--r5-surface);
}

.section:nth-of-type(even),
.r5-band--soft {
  background: var(--r5-soft);
}

.r5-band--warm {
  background: var(--r5-soft-warm);
}

.eyebrow,
.r5-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--r5-teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow::before,
.r5-eyebrow::before {
  width: 24px;
  height: 2px;
  background: var(--r5-amber);
  content: "";
}

h1,
h2,
h3,
h4 {
  color: var(--r5-ink);
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  font-size: 54px;
  line-height: 1.08;
}

h2,
.section h2 {
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 1.22;
}

h3,
.card h3 {
  font-size: 20px;
  line-height: 1.35;
}

p,
.card p,
.section-lead,
.lead {
  color: var(--r5-muted);
}

.section-lead,
.lead {
  max-width: 760px;
  margin: 0 0 28px;
  font-size: 18px;
}

.hero,
.page-title {
  margin: 0;
  padding: 72px 0 52px;
  border-bottom: 1px solid var(--r5-line);
  background: var(--r5-soft);
  background-image: none;
}

.hero h1,
.page-title h1 {
  max-width: 18ch;
  margin: 0 0 18px;
  color: var(--r5-ink);
  font-size: 54px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p,
.page-title p {
  max-width: 800px;
  color: var(--r5-muted);
  font-size: 18px;
}

.grid,
.grid-2,
.grid-3,
.grid-4,
.two,
.source-grid,
.metric-grid,
.article-list,
.process {
  align-items: stretch;
  gap: 18px;
}

.grid-2,
.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid,
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.r5-card,
.card,
.case-card,
.source-card,
.step,
.point,
.summary {
  border: 1px solid var(--r5-line);
  border-radius: var(--r5-radius);
  background: var(--r5-surface);
  box-shadow: none;
}

.r5-card,
.card,
.source-card,
.step,
.point {
  padding: 22px;
}

.r5-card:hover,
a.card:hover,
.source-card:hover {
  border-color: #a9c2d6;
  box-shadow: var(--r5-shadow);
  transform: none;
}

.r5-card--evidence {
  border-top: 3px solid var(--r5-teal);
}

.r5-card--warning {
  border-top: 3px solid var(--r5-amber);
}

.metric strong {
  color: var(--r5-teal);
  font-size: 28px;
}

.tag,
.pill,
.case-label {
  border: 1px solid var(--r5-line);
  border-radius: 4px;
  background: var(--r5-soft);
  color: var(--r5-ink-soft);
}

.btn,
.r5-button {
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid #b8c8d5;
  border-radius: 6px;
  background: var(--r5-surface);
  color: var(--r5-ink);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn:hover,
.r5-button:hover {
  border-color: var(--r5-blue);
  color: var(--r5-blue-dark);
  transform: none;
}

.btn.primary,
.r5-button--primary {
  border-color: var(--r5-blue);
  background: var(--r5-blue);
  color: #ffffff;
}

.btn.primary:hover,
.r5-button--primary:hover {
  border-color: var(--r5-blue-dark);
  background: var(--r5-blue-dark);
  color: #ffffff;
}

.note,
.r5-note {
  padding: 16px 18px;
  border: 1px solid #ead6b5;
  border-left: 4px solid var(--r5-amber);
  border-radius: 0 var(--r5-radius) var(--r5-radius) 0;
  background: var(--r5-amber-soft);
  color: #664c20;
}

.r5-answer-unit {
  padding: 24px 26px;
  border-top: 3px solid var(--r5-teal);
  border-bottom: 1px solid var(--r5-line);
  background: var(--r5-teal-soft);
}

.r5-answer-unit h2 {
  margin-bottom: 10px;
  font-size: 26px;
}

.r5-answer-unit p:last-child {
  margin-bottom: 0;
  color: var(--r5-ink-soft);
  font-size: 18px;
}

.r5-article-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--r5-teal);
  font-size: 12px;
  font-weight: 800;
}

.r5-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--r5-line);
  color: var(--r5-muted);
  font-size: 13px;
}

.r5-article-meta strong {
  color: var(--r5-ink);
}

.r5-checklist,
.r5-source-list,
.r5-link-list {
  margin: 16px 0 0;
  padding-left: 22px;
}

.r5-checklist li,
.r5-source-list li,
.r5-link-list li {
  margin: 9px 0;
}

.r5-code-sample {
  margin: 18px 0;
  padding: 16px 18px;
  overflow-x: auto;
  border: 1px solid var(--r5-line);
  border-radius: 6px;
  background: #0c2237;
  color: #e5eef5;
  font: 14px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre;
}

.r5-boundary {
  padding-left: 18px;
  border-left: 4px solid var(--r5-amber);
}

.r5-callout {
  padding: 18px 20px;
  border: 1px solid var(--r5-line);
  border-left: 4px solid var(--r5-blue);
  background: var(--r5-soft);
}

.main {
  padding: 52px 0 86px;
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, var(--r5-reading)) 210px;
  justify-content: center;
  align-items: start;
  gap: 48px;
}

.page-content {
  width: 100%;
  max-width: var(--r5-reading);
  min-width: 0;
}

.page-content > section {
  margin: 0 0 48px;
  scroll-margin-top: 100px;
}

.page-content > section + section {
  padding-top: 8px;
}

.page-content p,
.page-content li {
  color: var(--r5-muted);
}

.page-content table {
  font-size: 15px;
}

.progress-nav {
  position: sticky;
  top: 98px;
  width: auto;
  padding: 2px 0 2px 16px;
  border: 0;
  border-left: 2px solid var(--r5-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--r5-muted);
}

.progress-nav strong {
  display: block;
  margin-bottom: 8px;
  color: var(--r5-ink);
  font-size: 13px;
}

.progress-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  color: var(--r5-muted);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.progress-nav a.is-active,
.progress-nav a[aria-current="location"] {
  color: var(--r5-blue-dark);
  font-weight: 750;
}

.progress-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a9bbc8;
}

.progress-nav a.is-active .progress-dot {
  background: var(--r5-teal);
}

table,
.result-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--r5-line);
  background: var(--r5-surface);
}

th,
td,
.result-table th,
.result-table td {
  padding: 12px 14px;
  border: 1px solid var(--r5-line);
  text-align: left;
  vertical-align: top;
}

th,
.result-table th {
  background: #edf3f7;
  color: var(--r5-ink);
  font-weight: 750;
}

.cta-band {
  padding: 32px;
  border-radius: var(--r5-radius);
  background: var(--r5-ink);
  color: #ffffff;
}

.site-footer,
.footer {
  padding: 46px 0;
  border-top: 1px solid #29455f;
  background: #0c2237;
  color: #dbe6ee;
}

.site-footer p,
.footer p,
.site-footer a,
.footer a,
.site-footer li,
.footer li {
  color: #b9cad7;
}

.site-footer strong,
.footer h3,
.footer h4 {
  color: #ffffff;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
}

.icp {
  width: min(100% - 40px, var(--r5-shell));
  margin: 22px auto 0;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .r5-nav-shell {
    width: min(100% - 32px, var(--r5-shell));
    gap: 14px;
  }

  .r5-primary-nav a {
    padding-inline: 7px;
    font-size: 13px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --r5-header-height: 64px;
  }

  h1,
  .hero h1,
  .page-title h1 {
    font-size: 44px;
  }

  h2,
  .section h2 {
    font-size: 30px;
  }

  .r5-nav-shell {
    position: relative;
    min-height: var(--r5-header-height);
  }

  .r5-nav-toggle {
    display: block;
  }

  .r5-nav-panel {
    width: 100%;
    margin: 0;
    padding: 10px 0 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  html.r5-js .r5-nav-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 12px;
    border: 1px solid var(--r5-line);
    border-radius: var(--r5-radius);
    background: var(--r5-surface);
    box-shadow: var(--r5-shadow);
  }

  html.r5-js .site-header[data-nav-open="true"] .r5-nav-panel {
    display: flex;
  }

  .r5-primary-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .r5-primary-nav a {
    border: 0;
    border-radius: 4px;
    background: var(--r5-soft);
    font-size: 14px;
  }

  .r5-primary-nav a[aria-current="page"] {
    background: var(--r5-teal-soft);
  }

  .r5-nav-cta {
    text-align: center;
  }

  .page-shell {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .page-content {
    order: 2;
    max-width: 100%;
  }

  .progress-nav {
    position: static;
    order: 1;
    width: 100%;
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 10px 0;
    border: 0;
    border-top: 2px solid var(--r5-line);
    scrollbar-width: thin;
  }

  .progress-nav strong {
    flex: 0 0 auto;
    padding: 8px 0;
  }

  .progress-nav a {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid var(--r5-line);
    border-radius: 4px;
    background: var(--r5-surface);
    white-space: nowrap;
  }

  .grid,
  .grid-3,
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container,
  .site-footer .inner,
  .footer .container,
  .icp {
    width: min(100% - 32px, var(--r5-shell));
  }

  .section,
  .r5-band {
    padding: 54px 0;
  }

  .hero,
  .page-title {
    padding: 48px 0 38px;
  }

  h1,
  .hero h1,
  .page-title h1 {
    font-size: 36px;
  }

  h2,
  .section h2 {
    font-size: 27px;
  }

  .section-lead,
  .lead,
  .hero p,
  .page-title p {
    font-size: 16px;
  }

  .grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .two,
  .source-grid,
  .metric-grid,
  .article-list,
  .process,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .r5-card,
  .card,
  .source-card,
  .step,
  .point {
    padding: 18px;
  }

  .r5-primary-nav {
    grid-template-columns: 1fr;
  }

  table,
  .result-table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Legacy pages keep their progress navigation as a direct body child. */
body > .progress-nav {
  position: fixed;
  top: calc(var(--r5-header-height) + 28px);
  right: max(16px, calc((100vw - 1600px) / 2 + 10px));
  left: auto;
  z-index: 40;
  display: block;
  width: 190px;
  max-height: calc(100vh - var(--r5-header-height) - 56px);
  margin: 0;
  padding: 14px;
  overflow-y: auto;
  border: 1px solid var(--r5-line);
  border-radius: var(--r5-radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--r5-shadow);
  color: var(--r5-muted);
}

@media (max-width: 1599px) {
  body > .progress-nav {
    display: none;
  }
}

/* GEO industry insights: editorial hub and source-led analysis pages. */
.r5-insights-hero {
  padding: 76px 0 62px;
  border-bottom: 1px solid var(--r5-line);
  background: var(--r5-soft);
}

.r5-insights-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 64px;
  align-items: end;
}

.r5-insights-hero h1 {
  max-width: 13ch;
  margin: 0 0 18px;
  font-size: 54px;
  line-height: 1.08;
}

.r5-insights-hero-copy {
  max-width: 760px;
  margin: 0;
  color: var(--r5-muted);
  font-size: 18px;
}

.r5-insights-brief {
  margin: 0;
  border-top: 3px solid var(--r5-teal);
  background: var(--r5-surface);
}

.r5-insights-brief div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--r5-line);
  border-top: 0;
}

.r5-insights-brief dt {
  color: var(--r5-muted);
  font-size: 13px;
}

.r5-insights-brief dd {
  margin: 0;
  color: var(--r5-ink);
  font-size: 14px;
  font-weight: 700;
}

.r5-insights-index {
  padding: 72px 0 84px;
}

.r5-insights-index-head {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: end;
  margin-bottom: 28px;
}

.r5-insights-index-head p {
  max-width: 620px;
  margin: 0;
}

.r5-insights-story {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 220px;
  gap: 28px;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid var(--r5-line);
}

.r5-insights-story:last-child {
  border-bottom: 1px solid var(--r5-line);
}

.r5-insights-story time,
.r5-insights-story-category {
  display: block;
  color: var(--r5-muted);
  font-size: 13px;
}

.r5-insights-story-category {
  margin-top: 5px;
  color: var(--r5-teal);
  font-weight: 800;
}

.r5-insights-story h2 {
  margin: 0 0 10px;
  font-size: 27px;
}

.r5-insights-story h2 a {
  color: var(--r5-ink);
  text-decoration: none;
}

.r5-insights-story h2 a:hover {
  color: var(--r5-blue);
}

.r5-insights-story p {
  margin: 0;
}

.r5-insights-story-decision {
  padding-left: 18px;
  border-left: 2px solid var(--r5-line);
  color: var(--r5-ink-soft);
  font-size: 14px;
}

.r5-insights-story-decision strong {
  display: block;
  margin-bottom: 6px;
  color: var(--r5-ink);
}

.r5-insights-policy {
  padding: 68px 0;
  border-top: 1px solid var(--r5-line);
  background: var(--r5-soft-warm);
}

.r5-home-insights {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--r5-line);
}

.r5-home-insights-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 18px;
}

.r5-home-insights-head h3 {
  margin: 0;
  font-size: 25px;
}

.r5-home-insights-head .r5-eyebrow {
  margin-bottom: 7px;
}

.r5-home-insights-head > a {
  flex: 0 0 auto;
  font-weight: 750;
}

.r5-home-insights-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.r5-home-insights-list a {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--r5-line);
  border-radius: var(--r5-radius);
  background: var(--r5-surface);
  color: var(--r5-muted);
  font-size: 14px;
  text-decoration: none;
}

.r5-home-insights-list a:hover {
  border-color: #9fbcd1;
  box-shadow: var(--r5-shadow);
}

.r5-home-insights-list time {
  color: var(--r5-teal);
  font-size: 13px;
  font-weight: 800;
}

.r5-home-insights-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--r5-ink);
  font-size: 15px;
}

.r5-insights-policy-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
}

.r5-insights-policy-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--r5-line);
}

.r5-insights-policy-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--r5-line);
}

.r5-insights-policy-list b {
  color: var(--r5-amber);
}

.r5-insights-article-hero {
  padding: 62px 0 46px;
  border-bottom: 1px solid var(--r5-line);
  background: var(--r5-soft);
}

.r5-insights-article-hero h1 {
  max-width: 19ch;
  margin: 0 0 18px;
  font-size: 48px;
  line-height: 1.12;
}

.r5-insights-article-deck {
  max-width: 820px;
  margin: 0 0 26px;
  color: var(--r5-muted);
  font-size: 18px;
}

.r5-insights-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--r5-line);
  color: var(--r5-muted);
  font-size: 13px;
}

.r5-insights-article-meta strong {
  color: var(--r5-ink);
}

.r5-insights-article-main {
  padding: 54px 0 90px;
}

.r5-insights-article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--r5-reading)) 220px;
  justify-content: center;
  gap: 56px;
  align-items: start;
}

.r5-insights-article-body {
  min-width: 0;
  max-width: var(--r5-reading);
}

.r5-insights-article-body > section {
  margin: 0 0 48px;
  scroll-margin-top: 100px;
}

.r5-insights-article-body p,
.r5-insights-article-body li,
.r5-insights-article-body td {
  color: var(--r5-muted);
}

.r5-insights-article-body h2 {
  margin-bottom: 16px;
  font-size: 30px;
}

.r5-insights-article-body h3 {
  margin: 26px 0 10px;
}

.r5-insights-direct-answer {
  padding: 26px 28px;
  border-top: 3px solid var(--r5-teal);
  border-bottom: 1px solid var(--r5-line);
  background: var(--r5-teal-soft);
}

.r5-insights-direct-answer h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.r5-insights-direct-answer p {
  margin: 0;
  color: var(--r5-ink-soft);
  font-size: 18px;
}

.r5-insights-fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0 0;
  border: 1px solid var(--r5-line);
  background: var(--r5-surface);
}

.r5-insights-fact-strip div {
  padding: 16px;
  border-left: 1px solid var(--r5-line);
}

.r5-insights-fact-strip div:first-child {
  border-left: 0;
}

.r5-insights-fact-strip span {
  display: block;
  color: var(--r5-muted);
  font-size: 12px;
}

.r5-insights-fact-strip strong {
  display: block;
  margin-top: 4px;
  color: var(--r5-ink);
  font-size: 15px;
}

.r5-insights-decision-table th {
  width: 29%;
  background: var(--r5-soft);
  color: var(--r5-ink);
  text-align: left;
}

.r5-insights-decision-table th,
.r5-insights-decision-table td {
  padding: 14px 16px;
  border: 1px solid var(--r5-line);
  vertical-align: top;
}

.r5-insights-checklist {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: insight-check;
}

.r5-insights-checklist li {
  position: relative;
  min-height: 42px;
  padding: 11px 0 11px 48px;
  border-bottom: 1px solid var(--r5-line);
  counter-increment: insight-check;
}

.r5-insights-checklist li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 30px;
  height: 30px;
  border: 1px solid #9dbab8;
  border-radius: 50%;
  color: var(--r5-teal);
  content: counter(insight-check);
  font-size: 13px;
  font-weight: 800;
  line-height: 28px;
  text-align: center;
}

.r5-insights-limit {
  padding: 20px 22px;
  border: 1px solid #e7d3ad;
  border-left: 4px solid var(--r5-amber);
  background: var(--r5-amber-soft);
}

.r5-insights-limit p:last-child {
  margin-bottom: 0;
}

.r5-insights-source-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.r5-insights-source-list li {
  padding: 15px 0;
  border-top: 1px solid var(--r5-line);
}

.r5-insights-source-list a {
  display: inline-block;
  font-weight: 750;
}

.r5-insights-source-list span {
  display: block;
  margin-top: 4px;
  color: var(--r5-muted);
  font-size: 13px;
}

.r5-insights-related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.r5-insights-related a {
  display: block;
  padding: 17px 18px;
  border: 1px solid var(--r5-line);
  border-radius: var(--r5-radius);
  background: var(--r5-surface);
  color: var(--r5-ink);
  font-weight: 700;
  text-decoration: none;
}

.r5-insights-related a:hover {
  border-color: #9fbcd1;
  color: var(--r5-blue);
}

.r5-insights-outline {
  position: sticky;
  top: 98px;
  padding-left: 16px;
  border-left: 2px solid var(--r5-line);
}

.r5-insights-outline strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

.r5-insights-outline a {
  display: block;
  padding: 7px 0;
  color: var(--r5-muted);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}

.r5-insights-outline a:hover {
  color: var(--r5-blue);
}

@media (max-width: 1080px) {
  .r5-insights-hero-grid,
  .r5-insights-policy-grid {
    gap: 38px;
  }

  .r5-insights-story {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .r5-insights-story-decision {
    grid-column: 2;
  }

  .r5-home-insights-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .r5-insights-hero-grid,
  .r5-insights-policy-grid,
  .r5-insights-article-layout {
    grid-template-columns: 1fr;
  }

  .r5-insights-brief {
    max-width: 560px;
  }

  .r5-insights-article-body {
    order: 2;
  }

  .r5-insights-outline {
    position: static;
    order: 1;
    display: flex;
    gap: 8px;
    width: 100%;
    padding: 10px 0;
    overflow-x: auto;
    border: 0;
    border-top: 2px solid var(--r5-line);
  }

  .r5-insights-outline strong,
  .r5-insights-outline a {
    flex: 0 0 auto;
  }

  .r5-insights-outline strong {
    padding: 7px 0;
  }

  .r5-insights-outline a {
    padding: 7px 10px;
    border: 1px solid var(--r5-line);
    border-radius: 4px;
    background: var(--r5-surface);
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .r5-insights-hero {
    padding: 52px 0 42px;
  }

  .r5-insights-hero h1,
  .r5-insights-article-hero h1 {
    font-size: 36px;
  }

  .r5-insights-index,
  .r5-insights-policy,
  .r5-insights-article-main {
    padding: 50px 0 64px;
  }

  .r5-insights-index-head {
    display: block;
  }

  .r5-home-insights-head {
    display: block;
  }

  .r5-home-insights-head > a {
    display: inline-block;
    margin-top: 12px;
  }

  .r5-insights-story {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  .r5-insights-story-decision {
    grid-column: auto;
    padding: 14px 0 0;
    border-top: 1px solid var(--r5-line);
    border-left: 0;
  }

  .r5-insights-story h2 {
    font-size: 24px;
  }

  .r5-insights-direct-answer {
    padding: 21px 20px;
  }

  .r5-insights-fact-strip,
  .r5-insights-related {
    grid-template-columns: 1fr;
  }

  .r5-insights-fact-strip div,
  .r5-insights-fact-strip div:first-child {
    border-top: 1px solid var(--r5-line);
    border-left: 0;
  }

  .r5-insights-fact-strip div:first-child {
    border-top: 0;
  }
}
