/* ═══ COLOR FLOW MAP (from design-spec.theme_context_map) ═══
 * DARK-TOP pages: index.html, solutions/readmission-prevention.html, security.html, blog/index.html
 *   nav        → transparent-on-dark (scroll>40: solid #0A3D62)  | logo: logo-light.svg | links: #EFF6FB
 *   hero       → DARK  (#0A3D62)  | text: #EFF6FB
 *
 * LIGHT-TOP pages: all others (platform, solutions/*, how-it-works, integrations, pricing,
 *                  about, contact, all blog articles, login/*, demo, legal/*)
 *   nav        → solid #0A3D62 always  | logo: logo-light.svg | links: #EFF6FB
 *   hero       → LIGHT (#F0F7FF)  | text: #0A3D62
 *
 * Shared section sequence (varies per page):
 *   dark (#0A3D62)      | text: #EFF6FB (primary), #A8CCDE (secondary)
 *   dark_alt (#0D4A74)  | text: same as dark
 *   light (#F0F7FF)     | text: #0A3D62 (primary), #3D607A (secondary)
 *   light_alt (#E2EDF6) | text: #0A3D62 (primary), #3D607A (secondary)
 *   white (#FFFFFF)     | text: #0A3D62 (primary), #3D607A (secondary)
 *   brand (#003D38)     | text: #EFF6FB (primary), #00D4C8 (accent)
 *
 * Nav: ALL pages use solid #0A3D62 for nav bg (dark-top transparent becomes solid on scroll;
 *       light-top pages use solid #0A3D62 always to ensure visibility)
 *       → nav links ALWAYS #EFF6FB (white-ish on dark nav bg)
 *       → logo ALWAYS logo-light.svg (white wordmark on dark nav)
 *
 * Adjacent same-polarity sections use border-top: 1px solid rgba(0,0,0,0.06) as separator
 * ═══════════════════════════════════════════════════════════════════════════════════════ */

/* ── RESET & BASE ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #0A3D62;
  background: #FFFFFF;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── CSS CUSTOM PROPERTIES ──────────────────────────────────────── */
:root {
  /* Brand colors */
  --rpl-navy:          #0A3D62;
  --rpl-navy-alt:      #0D4A74;
  --rpl-teal:          #00B4A6;
  --rpl-teal-aa-light: #007A72;
  --rpl-teal-aa-dark:  #00D4C8;
  --rpl-brand-dark:    #003D38;

  /* Background tones */
  --rpl-bg-light:      #F0F7FF;
  --rpl-bg-white:      #FFFFFF;
  --rpl-bg-light-alt:  #E2EDF6;
  --rpl-bg-dark:       #0A3D62;
  --rpl-bg-dark-alt:   #0D4A74;
  --rpl-bg-brand:      #003D38;
  --rpl-dashboard-bg:  #1B2F3F;

  /* Foreground on light */
  --rpl-fg-light-primary:   #0A3D62;
  --rpl-fg-light-secondary: #3D607A;
  --rpl-fg-light-muted:     #5C7E94;

  /* Foreground on dark */
  --rpl-fg-dark-primary:    #EFF6FB;
  --rpl-fg-dark-secondary:  #A8CCDE;
  --rpl-fg-dark-muted:      #7AAFC7;

  /* Status */
  --rpl-status-red:    #C0392B;
  --rpl-status-amber:  #D4860B;
  --rpl-status-green:  #1E7E4B;

  /* Spacing */
  --rpl-section-pad-desktop: 96px;
  --rpl-section-pad-mobile:  64px;
  --rpl-container-max:       1200px;
  --rpl-grid-gap:            32px;

  /* Nav */
  --rpl-nav-height: 68px;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: 3rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.25; }
h3 { font-size: 1.375rem; line-height: 1.35; font-weight: 600; }
h4 { font-size: 1.125rem; line-height: 1.4; font-weight: 600; }

p { line-height: 1.75; }
.rpl-lead { font-size: 1.125rem; line-height: 1.7; }
.rpl-sm { font-size: 0.875rem; line-height: 1.6; }
.rpl-xs { font-size: 0.75rem; line-height: 1.5; }

/* ── CONTAINER ──────────────────────────────────────────────────── */
.rpl-container {
  max-width: var(--rpl-container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTION BACKGROUNDS ────────────────────────────────────────── */
.rpl-section { padding: var(--rpl-section-pad-desktop) 0; }
.rpl-section--dark      { background: var(--rpl-bg-dark); }
.rpl-section--dark-alt  { background: var(--rpl-bg-dark-alt); }
.rpl-section--light     { background: var(--rpl-bg-light); }
.rpl-section--light-alt { background: var(--rpl-bg-light-alt); border-top: 1px solid rgba(10,61,98,0.08); }
.rpl-section--white     { background: var(--rpl-bg-white); }
.rpl-section--brand     { background: var(--rpl-bg-brand); }

/* ── EYEBROW / LABEL ─────────────────────────────────────────────── */
.rpl-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.rpl-section--dark .rpl-eyebrow,
.rpl-section--dark-alt .rpl-eyebrow,
.rpl-section--brand .rpl-eyebrow { color: var(--rpl-teal-aa-dark); }
.rpl-section--light .rpl-eyebrow,
.rpl-section--light-alt .rpl-eyebrow,
.rpl-section--white .rpl-eyebrow { color: var(--rpl-teal-aa-light); }

/* ── SECTION HEADINGS AND TEXT ON DARK ──────────────────────────── */
.rpl-section--dark h1,
.rpl-section--dark h2,
.rpl-section--dark h3,
.rpl-section--dark h4,
.rpl-section--dark-alt h1,
.rpl-section--dark-alt h2,
.rpl-section--dark-alt h3,
.rpl-section--dark-alt h4,
.rpl-section--brand h1,
.rpl-section--brand h2,
.rpl-section--brand h3,
.rpl-section--brand h4 { color: var(--rpl-fg-dark-primary); }

.rpl-section--dark p,
.rpl-section--dark-alt p,
.rpl-section--brand p { color: var(--rpl-fg-dark-secondary); }

.rpl-section--dark li,
.rpl-section--dark-alt li,
.rpl-section--brand li { color: var(--rpl-fg-dark-secondary); }

/* Headings and text on light sections */
.rpl-section--light h1,
.rpl-section--light h2,
.rpl-section--light h3,
.rpl-section--light h4,
.rpl-section--light-alt h1,
.rpl-section--light-alt h2,
.rpl-section--light-alt h3,
.rpl-section--light-alt h4,
.rpl-section--white h1,
.rpl-section--white h2,
.rpl-section--white h3,
.rpl-section--white h4 { color: var(--rpl-fg-light-primary); }

.rpl-section--light p,
.rpl-section--light-alt p,
.rpl-section--white p { color: var(--rpl-fg-light-secondary); }

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.rpl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
  white-space: nowrap;
  text-decoration: none;
}
.rpl-btn:hover { transform: translateY(-1px); }
.rpl-btn:active { transform: translateY(0); }

/* Primary — navy bg, white text — works on any bg */
.rpl-btn--primary {
  background: var(--rpl-navy);
  color: var(--rpl-fg-dark-primary);
  border-color: var(--rpl-navy);
}
.rpl-btn--primary:hover { background: var(--rpl-navy-alt); border-color: var(--rpl-navy-alt); color: var(--rpl-fg-dark-primary); }

/* Teal primary — for CTA on dark sections */
.rpl-btn--teal {
  background: var(--rpl-teal-aa-light);
  color: #ffffff;
  border-color: var(--rpl-teal-aa-light);
}
.rpl-btn--teal:hover { background: #005f58; border-color: #005f58; color: #ffffff; }

/* Outline on dark */
.rpl-btn--outline-dark {
  background: transparent;
  color: var(--rpl-fg-dark-primary);
  border-color: rgba(239, 246, 251, 0.5);
}
.rpl-btn--outline-dark:hover { background: rgba(239, 246, 251, 0.08); border-color: var(--rpl-fg-dark-primary); color: var(--rpl-fg-dark-primary); }

/* Outline on light */
.rpl-btn--outline-light {
  background: transparent;
  color: var(--rpl-navy);
  border-color: var(--rpl-navy);
}
.rpl-btn--outline-light:hover { background: var(--rpl-navy); color: var(--rpl-fg-dark-primary); }

/* Ghost on dark — text link style */
.rpl-btn--ghost-dark {
  background: transparent;
  color: var(--rpl-teal-aa-dark);
  border-color: transparent;
  padding-left: 0; padding-right: 0;
}
.rpl-btn--ghost-dark:hover { color: var(--rpl-fg-dark-primary); transform: none; text-decoration: underline; }

/* ── NAVIGATION ──────────────────────────────────────────────────── */
.rpl-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--rpl-nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}

/* Dark-top pages: start transparent, solid on scroll */
body.rpl-page--dark-top .rpl-nav { background: transparent; }
body.rpl-page--dark-top .rpl-nav.rpl-nav--scrolled {
  background: var(--rpl-bg-dark);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

/* Light-top pages: always solid navy */
body.rpl-page--light-top .rpl-nav {
  background: var(--rpl-bg-dark);
  box-shadow: 0 1px 8px rgba(0,0,0,0.15);
}

/* Body bg for dark-top pages (so transparent nav shows dark) */
body.rpl-page--dark-top { background: var(--rpl-bg-dark); }

.rpl-nav__inner {
  width: 100%;
  max-width: var(--rpl-container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 0;
}

.rpl-nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-right: 40px;
}
.rpl-nav__logo img {
  height: 36px;
  width: auto;
  max-width: 180px;
}

.rpl-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.rpl-nav__link {
  color: var(--rpl-fg-dark-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: color 0.2s, background 0.15s;
  white-space: nowrap;
}
.rpl-nav__link:hover { color: var(--rpl-fg-dark-primary); background: rgba(255,255,255,0.08); }

/* Dropdown */
.rpl-nav__dropdown { position: relative; }
.rpl-nav__dropdown-toggle {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--rpl-fg-dark-secondary);
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, background 0.15s;
}
.rpl-nav__dropdown-toggle:hover { color: var(--rpl-fg-dark-primary); background: rgba(255,255,255,0.08); }
.rpl-nav__dropdown-toggle svg { transition: transform 0.2s; }
.rpl-nav__dropdown:hover .rpl-nav__dropdown-toggle svg { transform: rotate(180deg); }

.rpl-nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--rpl-bg-dark-alt);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.rpl-nav__dropdown:hover .rpl-nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.rpl-nav__dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--rpl-fg-dark-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
}
.rpl-nav__dropdown-menu a:hover { background: rgba(255,255,255,0.08); color: var(--rpl-fg-dark-primary); }

.rpl-nav__ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.rpl-nav__signin {
  color: var(--rpl-fg-dark-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: color 0.2s;
}
.rpl-nav__signin:hover { color: var(--rpl-fg-dark-primary); }

.rpl-nav__demo {
  background: var(--rpl-teal-aa-light);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.rpl-nav__demo:hover { background: #005f58; color: #ffffff; }

/* Hamburger */
.rpl-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
}
.rpl-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--rpl-fg-dark-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s;
}
.rpl-nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rpl-nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.rpl-nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.rpl-nav__mobile {
  display: none;
  position: fixed;
  top: var(--rpl-nav-height);
  left: 0; right: 0;
  background: var(--rpl-bg-dark);
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 999;
}
.rpl-nav__mobile.is-open { display: block; }
.rpl-nav__mobile a {
  display: block;
  color: var(--rpl-fg-dark-secondary);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
.rpl-nav__mobile a:hover { color: var(--rpl-fg-dark-primary); }
.rpl-nav__mobile .rpl-nav__mobile-cta {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rpl-nav__mobile .rpl-btn {
  width: 100%;
  justify-content: center;
}

/* ── HERO (dark-top pages) ─────────────────────────────────────── */
.rpl-hero {
  padding-top: calc(var(--rpl-nav-height) + 80px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}
.rpl-hero--dark {
  background: var(--rpl-bg-dark);
  min-height: 580px;
}
.rpl-hero--light {
  background: var(--rpl-bg-light);
  padding-top: calc(var(--rpl-nav-height) + 64px);
  min-height: 420px;
}

.rpl-hero__inner {
  max-width: var(--rpl-container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.rpl-hero__inner--single {
  max-width: var(--rpl-container-max);
  margin: 0 auto;
  padding: 0 24px;
  max-width: 780px;
}

.rpl-hero__content { max-width: 560px; }

.rpl-hero--dark .rpl-hero__title { color: var(--rpl-fg-dark-primary); font-size: 3rem; }
.rpl-hero--dark .rpl-hero__sub { color: var(--rpl-fg-dark-secondary); font-size: 1.125rem; margin: 20px 0 36px; }
.rpl-hero--light .rpl-hero__title { color: var(--rpl-fg-light-primary); font-size: 2.625rem; }
.rpl-hero--light .rpl-hero__sub { color: var(--rpl-fg-light-secondary); font-size: 1.125rem; margin: 20px 0 36px; }

.rpl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.rpl-hero__visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.rpl-hero__visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Sub-page hero (light) */
.rpl-subhero {
  background: var(--rpl-bg-light);
  padding: calc(var(--rpl-nav-height) + 64px) 0 64px;
}
.rpl-subhero__inner {
  max-width: var(--rpl-container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.rpl-subhero__inner--centered {
  max-width: var(--rpl-container-max);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  max-width: 720px;
}
.rpl-subhero .rpl-hero__title { color: var(--rpl-fg-light-primary); font-size: 2.5rem; }
.rpl-subhero .rpl-hero__sub { color: var(--rpl-fg-light-secondary); font-size: 1.125rem; margin: 18px 0 32px; }
.rpl-subhero__visual img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ── TRUST / STATS BAR ───────────────────────────────────────────── */
.rpl-stats {
  background: var(--rpl-bg-dark-alt);
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rpl-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--rpl-container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.rpl-stats__item { text-align: center; padding: 20px; }
.rpl-stats__num {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--rpl-teal-aa-dark);
  line-height: 1.1;
}
.rpl-stats__label {
  font-size: 0.875rem;
  color: var(--rpl-fg-dark-secondary);
  margin-top: 8px;
  line-height: 1.5;
}

/* ── SECTION HEADER ─────────────────────────────────────────────── */
.rpl-section-hdr {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.rpl-section-hdr h2 { margin-bottom: 16px; }
.rpl-section-hdr p { font-size: 1.0625rem; }

.rpl-section-hdr--left { text-align: left; margin-left: 0; }

/* ── CARDS ──────────────────────────────────────────────────────── */
.rpl-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rpl-grid-gap);
}
.rpl-card-grid--2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--rpl-grid-gap);
}

.rpl-card {
  background: var(--rpl-bg-white);
  border: 1px solid rgba(10,61,98,0.1);
  border-radius: 12px;
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.rpl-card:hover { box-shadow: 0 8px 32px rgba(10,61,98,0.1); transform: translateY(-2px); }

.rpl-card h3 { color: var(--rpl-fg-light-primary); margin-bottom: 12px; }
.rpl-card p  { color: var(--rpl-fg-light-secondary); font-size: 0.9375rem; }
.rpl-card ul li { color: var(--rpl-fg-light-secondary); font-size: 0.9375rem; padding-left: 20px; position: relative; }
.rpl-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--rpl-teal-aa-light); font-weight: 700; }

.rpl-card__icon {
  width: 48px;
  height: 48px;
  background: var(--rpl-bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--rpl-teal-aa-light);
  font-size: 1.25rem;
}

/* Card on dark section */
.rpl-section--dark .rpl-card,
.rpl-section--dark-alt .rpl-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
.rpl-section--dark .rpl-card:hover,
.rpl-section--dark-alt .rpl-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  background: rgba(255,255,255,0.08);
}
.rpl-section--dark .rpl-card h3,
.rpl-section--dark-alt .rpl-card h3 { color: var(--rpl-fg-dark-primary); }
.rpl-section--dark .rpl-card p,
.rpl-section--dark-alt .rpl-card p  { color: var(--rpl-fg-dark-secondary); }
.rpl-section--dark .rpl-card ul li,
.rpl-section--dark-alt .rpl-card ul li { color: var(--rpl-fg-dark-secondary); }
.rpl-section--dark .rpl-card__icon,
.rpl-section--dark-alt .rpl-card__icon {
  background: rgba(0,180,166,0.12);
  color: var(--rpl-teal-aa-dark);
}

/* Card highlighted (pricing) */
.rpl-card--highlighted {
  border-color: var(--rpl-teal-aa-light);
  background: var(--rpl-navy);
  position: relative;
}
.rpl-card--highlighted h3 { color: var(--rpl-fg-dark-primary); }
.rpl-card--highlighted p  { color: var(--rpl-fg-dark-secondary); }
.rpl-card--highlighted ul li { color: var(--rpl-fg-dark-secondary); }
.rpl-card--highlighted ul li::before { color: var(--rpl-teal-aa-dark); }
.rpl-card--highlighted .rpl-card__icon { background: rgba(0,212,200,0.15); color: var(--rpl-teal-aa-dark); }
.rpl-card--highlighted .rpl-pricing__price { color: var(--rpl-fg-dark-primary); }
.rpl-card--highlighted .rpl-pricing__period { color: var(--rpl-fg-dark-secondary); }
.rpl-card--highlighted .rpl-pricing__tagline { color: var(--rpl-fg-dark-secondary); }
.rpl-card--highlighted-badge {
  position: absolute;
  top: -1px; right: 24px;
  background: var(--rpl-teal-aa-light);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 0 0 6px 6px;
  letter-spacing: 0.05em;
}

/* ── INLINE DASHBOARD MOCK ──────────────────────────────────────── */
.rpl-dashboard-mock {
  background: var(--rpl-dashboard-bg);
  border-radius: 12px;
  overflow: hidden;
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  border: 1px solid rgba(255,255,255,0.1);
  margin-top: 48px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.rpl-dashboard-mock__header {
  background: #0F1E2B;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rpl-dashboard-mock__chrome {
  display: flex;
  gap: 6px;
}
.rpl-dashboard-mock__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.rpl-dashboard-mock__dot--red    { background: #FF5F57; }
.rpl-dashboard-mock__dot--yellow { background: #FFBD2E; }
.rpl-dashboard-mock__dot--green  { background: #28CA41; }
.rpl-dashboard-mock__title {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', system-ui, sans-serif;
}

.rpl-dashboard-mock__body {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
}

.rpl-dm__alerts-panel {
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.06);
}
.rpl-dm__panel-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
}
.rpl-dm__alert-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.7rem;
  line-height: 1.3;
}
.rpl-dm__alert-row:last-child { border-bottom: none; }
.rpl-dm__alert-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.rpl-dm__alert-dot--red    { background: var(--rpl-status-red); box-shadow: 0 0 6px rgba(192,57,43,0.8); }
.rpl-dm__alert-dot--amber  { background: var(--rpl-status-amber); box-shadow: 0 0 6px rgba(212,134,11,0.8); }
.rpl-dm__alert-dot--green  { background: var(--rpl-status-green); }
.rpl-dm__alert-pid  { color: var(--rpl-teal-aa-dark); font-weight: 500; min-width: 52px; }
.rpl-dm__alert-msg  { color: rgba(255,255,255,0.65); flex: 1; }
.rpl-dm__alert-ts   { color: rgba(255,255,255,0.3); font-size: 0.65rem; }

.rpl-dm__vitals-panel {
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.06);
}
.rpl-dm__vitals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.rpl-dm__vital-cell {
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  padding: 10px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
}
.rpl-dm__vital-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}
.rpl-dm__vital-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--rpl-teal-aa-dark);
  line-height: 1;
}
.rpl-dm__vital-value--alert { color: var(--rpl-status-amber); }
.rpl-dm__vital-value--ok    { color: var(--rpl-status-green); }
.rpl-dm__vital-meta {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.25);
  margin-top: 2px;
}

/* ── PROBLEM SECTION ─────────────────────────────────────────────── */
.rpl-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.rpl-two-col--reverse { direction: rtl; }
.rpl-two-col--reverse > * { direction: ltr; }

/* ── SVG DIAGRAM (inline) ───────────────────────────────────────── */
.rpl-svg-diagram {
  width: 100%;
  max-width: 480px;
}

/* ── HOW IT WORKS STEPS ─────────────────────────────────────────── */
.rpl-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}
.rpl-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--rpl-teal-aa-light), var(--rpl-teal));
  z-index: 0;
}
.rpl-step { text-align: center; position: relative; z-index: 1; }
.rpl-step__num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--rpl-navy);
  color: var(--rpl-fg-dark-primary);
  font-size: 1.375rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border: 3px solid var(--rpl-teal);
  position: relative;
}
.rpl-step h3 { color: var(--rpl-fg-light-primary); margin-bottom: 12px; }
.rpl-step p  { color: var(--rpl-fg-light-secondary); font-size: 0.9375rem; }

/* ── USE CASE CARDS ─────────────────────────────────────────────── */
.rpl-condition-card {
  background: var(--rpl-bg-white);
  border: 1px solid rgba(10,61,98,0.1);
  border-radius: 12px;
  padding: 32px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.rpl-condition-card:hover { box-shadow: 0 8px 32px rgba(10,61,98,0.1); border-color: var(--rpl-teal-aa-light); }
.rpl-condition-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.rpl-condition-card h3 { color: var(--rpl-fg-light-primary); margin-bottom: 8px; }
.rpl-condition-card__signal {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rpl-teal-aa-light);
  background: rgba(0,122,114,0.08);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.rpl-condition-card p { color: var(--rpl-fg-light-secondary); font-size: 0.9375rem; }
.rpl-condition-card__cpt {
  font-size: 0.75rem;
  color: var(--rpl-fg-light-muted);
  margin-top: 14px;
  font-weight: 500;
}

/* ── REIMBURSEMENT / BRAND SECTION ──────────────────────────────── */
.rpl-section--brand .rpl-cpt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.rpl-cpt-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,212,200,0.2);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  transition: background 0.2s;
}
.rpl-cpt-card:hover { background: rgba(255,255,255,0.1); }
.rpl-cpt-card__code {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--rpl-teal-aa-dark);
  font-family: 'JetBrains Mono', Consolas, monospace;
  display: block;
  margin-bottom: 8px;
}
.rpl-cpt-card__desc {
  font-size: 0.8125rem;
  color: var(--rpl-fg-dark-secondary);
  line-height: 1.5;
}

/* ── TESTIMONIALS ───────────────────────────────────────────────── */
.rpl-testimonial {
  background: var(--rpl-bg-white);
  border: 1px solid rgba(10,61,98,0.1);
  border-radius: 12px;
  padding: 40px;
}
.rpl-testimonial__quote {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--rpl-fg-light-primary);
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
}
.rpl-testimonial__quote::before {
  content: '"';
  font-size: 3rem;
  color: var(--rpl-teal);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.rpl-testimonial__author { font-weight: 600; color: var(--rpl-fg-light-primary); font-size: 0.9375rem; }
.rpl-testimonial__role   { font-size: 0.8125rem; color: var(--rpl-fg-light-secondary); margin-top: 4px; }

/* ── INTEGRATION BADGES ─────────────────────────────────────────── */
.rpl-fhir-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}
.rpl-fhir-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--rpl-bg-white);
  border: 2px solid rgba(10,61,98,0.12);
  border-radius: 8px;
  padding: 14px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rpl-fg-light-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.rpl-fhir-badge:hover { border-color: var(--rpl-teal-aa-light); box-shadow: 0 4px 16px rgba(0,122,114,0.12); }
.rpl-fhir-badge svg { color: var(--rpl-teal-aa-light); }

/* ── BLOG CARDS ─────────────────────────────────────────────────── */
.rpl-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.rpl-blog-card {
  background: var(--rpl-bg-white);
  border: 1px solid rgba(10,61,98,0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.rpl-blog-card:hover { box-shadow: 0 8px 32px rgba(10,61,98,0.12); transform: translateY(-3px); }
.rpl-blog-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  height: auto;
  display: block;
}
.rpl-blog-card__body { padding: 24px; }
.rpl-blog-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rpl-teal-aa-light);
  background: rgba(0,122,114,0.08);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.rpl-blog-card h3 { color: var(--rpl-fg-light-primary); font-size: 1.0625rem; line-height: 1.4; margin-bottom: 10px; font-weight: 600; }
.rpl-blog-card p  { color: var(--rpl-fg-light-secondary); font-size: 0.875rem; }
.rpl-blog-card__date { font-size: 0.75rem; color: var(--rpl-fg-light-muted); margin-top: 16px; }
.rpl-blog-card__read-more {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--rpl-teal-aa-light);
  margin-top: 12px;
  display: inline-block;
}

/* ── BLOG ARTICLE ───────────────────────────────────────────────── */
.rpl-article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
}
.rpl-blog-article__cover {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 40px;
  display: block;
}
.rpl-article-body h2 { color: var(--rpl-fg-light-primary); font-size: 1.625rem; margin: 36px 0 14px; }
.rpl-article-body h3 { color: var(--rpl-fg-light-primary); font-size: 1.25rem; margin: 28px 0 10px; }
.rpl-article-body p  { color: var(--rpl-fg-light-secondary); margin-bottom: 18px; }
.rpl-article-body ul,
.rpl-article-body ol { margin-bottom: 18px; padding-left: 24px; }
.rpl-article-body ul { list-style: disc; }
.rpl-article-body ol { list-style: decimal; }
.rpl-article-body li { color: var(--rpl-fg-light-secondary); margin-bottom: 8px; }
.rpl-article-body a  { color: var(--rpl-teal-aa-light); text-decoration: underline; }
.rpl-article-body a.rpl-btn { color: #ffffff; text-decoration: none; }
.rpl-article-body code {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 0.875rem;
  background: var(--rpl-bg-light-alt);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--rpl-navy);
}
.rpl-article-body blockquote {
  border-left: 4px solid var(--rpl-teal-aa-light);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--rpl-fg-light-secondary);
}
.rpl-article-sidebar { padding-top: 4px; }
.rpl-article-sidebar__card {
  background: var(--rpl-bg-light);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 24px;
}
.rpl-article-sidebar__card h4 { color: var(--rpl-fg-light-primary); margin-bottom: 14px; font-size: 1rem; }
.rpl-article-sidebar__card a { display: block; color: var(--rpl-teal-aa-light); font-size: 0.875rem; padding: 6px 0; border-bottom: 1px solid rgba(10,61,98,0.08); }
.rpl-article-sidebar__card a:hover { color: var(--rpl-navy); }
.rpl-article-meta {
  font-size: 0.8125rem;
  color: var(--rpl-fg-light-muted);
  margin-bottom: 32px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.rpl-article-meta span { display: flex; align-items: center; gap: 5px; }

/* ── CTA BANNER ─────────────────────────────────────────────────── */
.rpl-cta-banner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.rpl-cta-banner h2 { color: var(--rpl-fg-dark-primary); margin-bottom: 16px; }
.rpl-cta-banner p  { color: var(--rpl-fg-dark-secondary); font-size: 1.0625rem; margin-bottom: 36px; }
.rpl-cta-banner .rpl-hero__actions { justify-content: center; }

/* ── FOOTER ──────────────────────────────────────────────────────── */
.rpl-footer {
  background: var(--rpl-bg-dark);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.rpl-footer__inner {
  max-width: var(--rpl-container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.rpl-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rpl-footer__brand-col {}
.rpl-footer__logo { height: 36px; width: auto; margin-bottom: 16px; }
.rpl-footer__tagline { font-size: 0.875rem; color: var(--rpl-fg-dark-secondary); line-height: 1.6; max-width: 280px; }
.rpl-footer__trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--rpl-fg-dark-muted);
  margin-top: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 20px;
}
.rpl-footer__trust svg { color: var(--rpl-teal-aa-dark); flex-shrink: 0; }

.rpl-footer__col-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rpl-fg-dark-primary);
  margin-bottom: 20px;
}
.rpl-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.rpl-footer__col a {
  font-size: 0.875rem;
  color: var(--rpl-fg-dark-secondary);
  transition: color 0.15s;
}
.rpl-footer__col a:hover { color: var(--rpl-fg-dark-primary); }

.rpl-footer__bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.rpl-footer__copy { font-size: 0.8125rem; color: var(--rpl-fg-dark-muted); }
.rpl-footer__legal-links { display: flex; gap: 24px; }
.rpl-footer__legal-links a { font-size: 0.8125rem; color: var(--rpl-fg-dark-muted); transition: color 0.15s; }
.rpl-footer__legal-links a:hover { color: var(--rpl-fg-dark-primary); }
.rpl-footer__cookie-pref {
  background: none; border: none; cursor: pointer;
  font-size: 0.8125rem; color: var(--rpl-fg-dark-muted);
  font-family: inherit;
  transition: color 0.15s; padding: 0;
}
.rpl-footer__cookie-pref:hover { color: var(--rpl-fg-dark-primary); }

/* ── PRICING ─────────────────────────────────────────────────────── */
.rpl-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
.rpl-pricing__tier { padding: 4px 12px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--rpl-teal-aa-light); margin-bottom: 8px; display: block; }
.rpl-card--highlighted .rpl-pricing__tier { color: var(--rpl-teal-aa-dark); }
.rpl-pricing__price {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--rpl-fg-light-primary);
  line-height: 1.1;
}
.rpl-pricing__period { font-size: 0.875rem; color: var(--rpl-fg-light-muted); margin-left: 4px; }
.rpl-pricing__cap { font-size: 0.8125rem; color: var(--rpl-fg-light-secondary); margin-top: 6px; margin-bottom: 20px; }
.rpl-card--highlighted .rpl-pricing__cap { color: var(--rpl-fg-dark-secondary); }
.rpl-pricing__tagline { font-size: 0.875rem; color: var(--rpl-fg-light-secondary); margin-bottom: 24px; }
.rpl-pricing__features { margin-bottom: 28px; display: flex; flex-direction: column; gap: 8px; }
.rpl-pricing__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--rpl-fg-light-secondary);
  padding-left: 0;
}
.rpl-pricing__features li::before { display: none; }
.rpl-pricing__features li svg { color: var(--rpl-teal-aa-light); flex-shrink: 0; margin-top: 2px; }
.rpl-card--highlighted .rpl-pricing__features li { color: var(--rpl-fg-dark-secondary); }
.rpl-card--highlighted .rpl-pricing__features li svg { color: var(--rpl-teal-aa-dark); }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.rpl-faq { max-width: 760px; margin: 0 auto; }
.rpl-faq__item {
  border-bottom: 1px solid rgba(10,61,98,0.1);
}
.rpl-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--rpl-fg-light-primary);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  gap: 16px;
}
.rpl-faq__question:hover { color: var(--rpl-teal-aa-light); }
.rpl-faq__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--rpl-teal-aa-light);
}
.rpl-faq__item.is-open .rpl-faq__icon { transform: rotate(45deg); }
.rpl-faq__answer {
  display: none;
  padding: 0 0 20px;
  color: var(--rpl-fg-light-secondary);
  font-size: 0.9375rem;
  line-height: 1.75;
}
.rpl-faq__item.is-open .rpl-faq__answer { display: block; }

/* on dark sections */
.rpl-section--light-alt .rpl-faq__item { border-color: rgba(10,61,98,0.1); }
.rpl-section--light-alt .rpl-faq__question { color: var(--rpl-fg-light-primary); }

/* ── AUTH PAGES ──────────────────────────────────────────────────── */
.rpl-auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--rpl-nav-height);
}
.rpl-auth-panel {
  background: var(--rpl-bg-white);
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rpl-auth-panel__title { color: var(--rpl-fg-light-primary); font-size: 1.75rem; margin-bottom: 8px; }
.rpl-auth-panel__sub   { color: var(--rpl-fg-light-secondary); font-size: 0.9375rem; margin-bottom: 36px; }
.rpl-auth-side {
  background: var(--rpl-bg-dark);
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rpl-auth-side h2  { color: var(--rpl-fg-dark-primary); font-size: 1.875rem; margin-bottom: 20px; }
.rpl-auth-side p   { color: var(--rpl-fg-dark-secondary); font-size: 1.0625rem; line-height: 1.7; }
.rpl-auth-side ul li { color: var(--rpl-fg-dark-secondary); padding: 8px 0; padding-left: 24px; position: relative; }
.rpl-auth-side ul li::before { content: '✓'; position: absolute; left: 0; color: var(--rpl-teal-aa-dark); font-weight: 700; }

/* ── FORM ELEMENTS ───────────────────────────────────────────────── */
.rpl-form-group { margin-bottom: 20px; }
.rpl-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rpl-fg-light-primary);
  margin-bottom: 6px;
}
.rpl-form-input,
.rpl-form-select {
  width: 100%;
  max-width: 480px;
  padding: 11px 14px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9375rem;
  color: var(--rpl-fg-light-primary);
  background: var(--rpl-bg-white);
  border: 1.5px solid rgba(10,61,98,0.2);
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}
.rpl-form-input:focus,
.rpl-form-select:focus {
  border-color: var(--rpl-teal-aa-light);
  box-shadow: 0 0 0 3px rgba(0,122,114,0.12);
}
.rpl-form-textarea {
  min-height: 120px;
  resize: vertical;
  width: 100%;
  max-width: 480px;
  padding: 11px 14px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9375rem;
  color: var(--rpl-fg-light-primary);
  background: var(--rpl-bg-white);
  border: 1.5px solid rgba(10,61,98,0.2);
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.rpl-form-textarea:focus {
  border-color: var(--rpl-teal-aa-light);
  box-shadow: 0 0 0 3px rgba(0,122,114,0.12);
}
.rpl-form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230A3D62' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.rpl-form-input--full,
.rpl-form-textarea--full,
.rpl-form-select--full { max-width: 100%; }

/* ── CONTACT FORM ────────────────────────────────────────────────── */
.rpl-contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
}

/* ── TEAM ────────────────────────────────────────────────────────── */
.rpl-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.rpl-team-card {
  background: var(--rpl-bg-white);
  border: 1px solid rgba(10,61,98,0.1);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.2s;
}
.rpl-team-card:hover { box-shadow: 0 8px 32px rgba(10,61,98,0.1); }
.rpl-team-card__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  height: auto;
  display: block;
}
.rpl-team-card__letter {
  width: 100%;
  padding-top: 100%;
  position: relative;
  background: var(--rpl-bg-light-alt);
}
.rpl-team-card__letter-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: var(--rpl-navy);
}
.rpl-team-card__body { padding: 24px 20px; }
.rpl-team-card__name { font-size: 1.0625rem; font-weight: 700; color: var(--rpl-fg-light-primary); }
.rpl-team-card__role { font-size: 0.8125rem; color: var(--rpl-fg-light-secondary); margin-top: 4px; }

/* ── SECURITY PAGE ───────────────────────────────────────────────── */
.rpl-security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.rpl-security-card {
  background: var(--rpl-bg-white);
  border: 1px solid rgba(10,61,98,0.1);
  border-radius: 12px;
  padding: 32px;
}
.rpl-security-card__icon {
  width: 48px;
  height: 48px;
  background: var(--rpl-bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--rpl-teal-aa-light);
  font-size: 1.25rem;
}
.rpl-security-card h3 { color: var(--rpl-fg-light-primary); margin-bottom: 10px; }
.rpl-security-card p  { color: var(--rpl-fg-light-secondary); font-size: 0.9375rem; }

/* ── CPT TABLE ───────────────────────────────────────────────────── */
.rpl-cpt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.rpl-cpt-table thead { background: var(--rpl-bg-dark); }
.rpl-cpt-table thead th { color: var(--rpl-fg-dark-primary); padding: 14px 20px; text-align: left; font-weight: 600; font-size: 0.875rem; }
.rpl-cpt-table tbody tr { border-bottom: 1px solid rgba(10,61,98,0.08); }
.rpl-cpt-table tbody tr:hover { background: rgba(10,61,98,0.03); }
.rpl-cpt-table td { padding: 16px 20px; color: var(--rpl-fg-light-secondary); vertical-align: top; }
.rpl-cpt-table td:first-child { font-family: 'JetBrains Mono', Consolas, monospace; font-weight: 600; color: var(--rpl-navy); }

/* ── ROI CALCULATOR ─────────────────────────────────────────────── */
.rpl-roi-calculator {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
}
.rpl-roi-calculator h3 { color: var(--rpl-fg-dark-primary); margin-bottom: 24px; }
.rpl-roi-result {
  margin-top: 24px;
  background: rgba(0,212,200,0.1);
  border: 1px solid rgba(0,212,200,0.2);
  border-radius: 8px;
  padding: 20px 24px;
  display: none;
}
.rpl-roi-result.is-visible { display: block; }
.rpl-roi-result__amount { font-size: 2rem; font-weight: 700; color: var(--rpl-teal-aa-dark); }
.rpl-roi-result__label  { font-size: 0.875rem; color: var(--rpl-fg-dark-secondary); margin-top: 4px; }

/* ── ALERT TIMELINE MOCK ─────────────────────────────────────────── */
.rpl-timeline-mock {
  background: var(--rpl-bg-white);
  border: 1px solid rgba(10,61,98,0.1);
  border-radius: 12px;
  overflow: hidden;
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 0.8125rem;
}
.rpl-timeline-mock__header {
  background: var(--rpl-bg-dark);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rpl-timeline-mock__header-text {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--rpl-fg-dark-primary);
}
.rpl-timeline-mock__header-badge {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(192,57,43,0.2);
  color: #F1948A;
  letter-spacing: 0.05em;
}
.rpl-timeline-row {
  display: grid;
  grid-template-columns: 120px 80px 80px 80px 1fr;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(10,61,98,0.06);
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}
.rpl-timeline-row--header {
  background: var(--rpl-bg-light-alt);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rpl-fg-light-muted);
  padding: 10px 20px;
}
.rpl-timeline-row:last-child { border-bottom: none; }
.rpl-timeline-row .ts { color: var(--rpl-fg-light-muted); font-size: 0.75rem; }
.rpl-timeline-row .pid { color: var(--rpl-teal-aa-light); font-weight: 500; }
.rpl-timeline-row .val { font-weight: 600; }
.rpl-timeline-row .val--alert { color: var(--rpl-status-red); }
.rpl-timeline-row .val--warn  { color: var(--rpl-status-amber); }
.rpl-timeline-row .val--ok    { color: var(--rpl-status-green); }
.rpl-timeline-row .status-badge {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.rpl-timeline-row .status-badge--alert { background: rgba(192,57,43,0.12); color: #C0392B; }
.rpl-timeline-row .status-badge--warn  { background: rgba(212,134,11,0.12); color: #D4860B; }
.rpl-timeline-row .status-badge--ok    { background: rgba(30,126,75,0.12);  color: #1E7E4B; }

/* ── LEGAL PAGES ─────────────────────────────────────────────────── */
.rpl-legal-page { padding-top: var(--rpl-nav-height); }
.rpl-legal-inner {
  max-width: var(--rpl-container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.rpl-legal-body { padding: 64px 0 96px; }
.rpl-legal-body .legal-article { max-width: 760px; }
.rpl-legal-body .legal-header { margin-bottom: 48px; border-bottom: 2px solid var(--rpl-teal-aa-light); padding-bottom: 24px; }
.rpl-legal-body .legal-header h1 { font-size: 2.25rem; color: var(--rpl-fg-light-primary); }
.rpl-legal-body .legal-meta { font-size: 0.875rem; color: var(--rpl-fg-light-secondary); margin-top: 8px; }
.rpl-legal-body section { margin-bottom: 36px; }
.rpl-legal-body h2 { font-size: 1.375rem; color: var(--rpl-fg-light-primary); margin-bottom: 12px; }
.rpl-legal-body h3 { font-size: 1.0625rem; color: var(--rpl-fg-light-primary); margin: 20px 0 8px; }
.rpl-legal-body p  { color: var(--rpl-fg-light-secondary); margin-bottom: 14px; line-height: 1.75; }
.rpl-legal-body ul,
.rpl-legal-body ol { padding-left: 24px; margin-bottom: 14px; }
.rpl-legal-body ul { list-style: disc; }
.rpl-legal-body ol { list-style: decimal; }
.rpl-legal-body li { color: var(--rpl-fg-light-secondary); margin-bottom: 6px; line-height: 1.7; }
.rpl-legal-body a  { color: var(--rpl-teal-aa-light); text-decoration: underline; }
.rpl-legal-body address { font-style: normal; line-height: 1.9; color: var(--rpl-fg-light-secondary); }
.rpl-legal-body .legal-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.875rem; }
.rpl-legal-body .legal-table th { background: var(--rpl-bg-light); color: var(--rpl-fg-light-primary); padding: 10px 14px; text-align: left; font-weight: 600; }
.rpl-legal-body .legal-table td { padding: 10px 14px; color: var(--rpl-fg-light-secondary); border-bottom: 1px solid rgba(10,61,98,0.08); }
.rpl-legal-body strong { color: var(--rpl-fg-light-primary); }

/* ── COOKIE BANNER ───────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--rpl-bg-dark);
  border-top: 2px solid var(--rpl-teal-aa-dark);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.cookie-banner__inner {
  max-width: var(--rpl-container-max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.cookie-banner__text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--rpl-fg-dark-secondary);
  line-height: 1.6;
}
.cookie-banner__text a { color: var(--rpl-teal-aa-dark); text-decoration: underline; }
.cookie-banner__actions { flex-shrink: 0; }
.cookie-banner__btn {
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.2s;
}
.cookie-banner__btn--primary {
  background: var(--rpl-teal-aa-light);
  color: #ffffff;
}
.cookie-banner__btn--primary:hover { background: #005f58; }

/* ── DEMO PAGE ───────────────────────────────────────────────────── */
.rpl-demo-form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.rpl-what-to-expect {
  background: var(--rpl-bg-light-alt);
  border-radius: 12px;
  padding: 36px;
}
.rpl-what-to-expect h3 { color: var(--rpl-fg-light-primary); margin-bottom: 20px; }
.rpl-what-to-expect ul { display: flex; flex-direction: column; gap: 14px; }
.rpl-what-to-expect li { display: flex; align-items: flex-start; gap: 12px; color: var(--rpl-fg-light-secondary); font-size: 0.9375rem; }
.rpl-what-to-expect li svg { color: var(--rpl-teal-aa-light); flex-shrink: 0; margin-top: 3px; }

/* ── FADE IN ANIMATION ───────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Failsafe: ensure visible after 1.2s even if JS fails */
@keyframes rpl-reveal {
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: rpl-reveal 0s 1.2s forwards; }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .rpl-card-grid { grid-template-columns: repeat(2, 1fr); }
  .rpl-stats__grid { grid-template-columns: 1fr; gap: 16px; }
  .rpl-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .rpl-section--brand .rpl-cpt-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.625rem; }
  .rpl-hero__inner,
  .rpl-subhero__inner,
  .rpl-two-col,
  .rpl-contact-grid,
  .rpl-demo-form-layout { grid-template-columns: 1fr; gap: 40px; }
  .rpl-hero__content { max-width: 100%; }
  .rpl-article-layout { grid-template-columns: 1fr; }
  .rpl-auth-layout { grid-template-columns: 1fr; }
  .rpl-auth-side { display: none; }
  .rpl-pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .rpl-team-grid { grid-template-columns: repeat(2, 1fr); }
  .rpl-security-grid { grid-template-columns: 1fr; }
  .rpl-steps { grid-template-columns: 1fr; gap: 32px; }
  .rpl-steps::before { display: none; }
  .rpl-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .rpl-timeline-row { grid-template-columns: 1fr 1fr; }
  .rpl-timeline-row--header { display: none; }
}

@media (max-width: 768px) {
  .rpl-nav__links,
  .rpl-nav__ctas { display: none; }
  .rpl-nav__hamburger { display: flex; }
  .rpl-section { padding: var(--rpl-section-pad-mobile) 0; }
  .rpl-hero { padding-top: calc(var(--rpl-nav-height) + 48px); padding-bottom: 56px; }
  .rpl-card-grid { grid-template-columns: 1fr; }
  .rpl-blog-grid { grid-template-columns: 1fr; }
  .rpl-stats__grid { grid-template-columns: 1fr; }
  .rpl-team-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .rpl-footer__top { grid-template-columns: 1fr; }
  .rpl-footer__bottom { flex-direction: column; align-items: flex-start; }
  .rpl-dashboard-mock__body { grid-template-columns: 1fr; }
  .rpl-dm__vitals-grid { grid-template-columns: repeat(2, 1fr); }
  .cookie-banner__inner { flex-direction: column; gap: 14px; align-items: flex-start; }
  .rpl-two-col--reverse { direction: ltr; }
  .rpl-auth-panel { padding: 48px 28px; }
  .rpl-auth-aside { display: none; }
  .rpl-auth-main { padding: 48px 28px; }
  .rpl-cta-banner h2 { font-size: 1.625rem; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   SUPPLEMENTAL RULES — HTML class aliases for auth, article, blog, legal pages
   These map the HTML class names generated for those pages to their visual rules.
   Auth: rpl-auth-aside / rpl-auth-main / rpl-auth-form-wrap etc.
   Article: rpl-article / rpl-article-header / rpl-article-cover etc.
   Legal: rpl-legal-hero / rpl-legal-container
   Blog: rpl-blog-card__meta / rpl-blog-card__title / rpl-blog-card__excerpt etc.
   ────────────────────────────────────────────────────────────────────────── */

/* ── AUTH aside/main/form aliases ─────────────────────────────────── */
/* rpl-auth-page overrides body to remove default margin */
.rpl-auth-page { margin: 0; }

/* rpl-auth-layout already defined above (grid 1fr 1fr); add centered variant */
.rpl-auth-layout--centered {
  grid-template-columns: 1fr;
  justify-items: center;
}

/* rpl-auth-aside = dark left panel (same as rpl-auth-side) */
.rpl-auth-aside {
  background: var(--rpl-bg-dark);
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
}
.rpl-auth-aside__logo { display: block; margin-bottom: 48px; }
.rpl-auth-aside__content { flex: 1; }
.rpl-auth-aside__content h2 {
  color: var(--rpl-fg-dark-primary);
  font-size: 1.625rem;
  margin-bottom: 16px;
  line-height: 1.3;
}
.rpl-auth-aside__content p {
  color: var(--rpl-fg-dark-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.rpl-auth-aside__checklist { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.rpl-auth-aside__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--rpl-fg-dark-secondary);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.rpl-auth-aside__check i { color: var(--rpl-teal-aa-dark); flex-shrink: 0; margin-top: 3px; }
.rpl-auth-aside__stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.rpl-auth-aside__stat { display: flex; flex-direction: column; gap: 4px; }
.rpl-auth-aside__stat .val {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rpl-fg-dark-primary);
}
.rpl-auth-aside__stat .lbl {
  font-size: 0.75rem;
  color: var(--rpl-fg-dark-secondary);
  line-height: 1.4;
}
.rpl-auth-aside__trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--rpl-teal-aa-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  margin-top: auto;
}

/* rpl-auth-main = light right panel (same as rpl-auth-panel) */
.rpl-auth-main {
  background: var(--rpl-bg-white);
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rpl-auth-main--solo {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  padding: 80px 40px;
}

/* rpl-auth-form-wrap = inner centered wrapper */
.rpl-auth-form-wrap { max-width: 420px; width: 100%; }
.rpl-auth-form-wrap__logo { display: block; margin-bottom: 40px; }
.rpl-auth-form-wrap__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--rpl-fg-light-primary);
  margin-bottom: 8px;
}
.rpl-auth-form-wrap__sub {
  font-size: 0.9375rem;
  color: var(--rpl-fg-light-secondary);
  margin-bottom: 36px;
}
.rpl-auth-form-wrap__sub a { color: var(--rpl-teal-aa-light); }
.rpl-auth-form-wrap__demo {
  margin-top: 32px;
  font-size: 0.875rem;
  color: var(--rpl-fg-light-muted);
  text-align: center;
}
.rpl-auth-form-wrap__demo a { color: var(--rpl-teal-aa-light); }
.rpl-auth-form { display: flex; flex-direction: column; }
.rpl-auth-form__forgot {
  font-size: 0.8125rem;
  color: var(--rpl-teal-aa-light);
  float: right;
  font-weight: 400;
}
/* rpl-form-row = two-column row inside auth forms */
.rpl-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── CONTACT FORM ─────────────────────────────────────────────────── */
.rpl-contact-form { display: flex; flex-direction: column; gap: 0; }
.rpl-contact-form__submit { margin-top: 8px; align-self: flex-start; }

/* ── BLOG CARD extended aliases ───────────────────────────────────── */
.rpl-blog-card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--rpl-fg-light-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}
.rpl-blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--rpl-fg-light-secondary);
  line-height: 1.6;
}
.rpl-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.rpl-blog-card__img-link { display: block; }
.rpl-blog-card__img-link img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px 8px 0 0;
}

/* ── ARTICLE page structure aliases ──────────────────────────────── */
/* rpl-article = article element with max-width layout */
.rpl-article { width: 100%; }

/* rpl-article-header = article hero with meta + title + cover */
.rpl-article-header {
  background: var(--rpl-bg-white);
  padding-top: calc(var(--rpl-nav-height) + 40px);
  padding-bottom: 0;
}
.rpl-article-header__inner {
  max-width: var(--rpl-container-max);
  margin: 0 auto;
  padding: 0 24px 40px;
}
.rpl-article-header__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--rpl-fg-light-muted);
}
.rpl-article-header__back {
  color: var(--rpl-teal-aa-light);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.rpl-article-header__back:hover { text-decoration: underline; }
.rpl-article-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--rpl-fg-light-primary);
  line-height: 1.25;
  margin-bottom: 20px;
  max-width: 760px;
}
.rpl-article-header__lede {
  font-size: 1.125rem;
  color: var(--rpl-fg-light-secondary);
  line-height: 1.7;
  max-width: 680px;
}

/* rpl-article-cover = full-width cover image */
.rpl-article-cover {
  margin: 0;
  padding: 0;
}
.rpl-article-cover img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 480px;
  object-fit: cover;
}

/* rpl-article-body = two-column grid: main content + sidebar */
.rpl-article-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  max-width: var(--rpl-container-max);
  margin: 0 auto;
  padding: 48px 24px 96px;
}

/* rpl-article-content = main text area */
.rpl-article-content { min-width: 0; }
.rpl-article-content h2 { color: var(--rpl-fg-light-primary); font-size: 1.625rem; margin: 36px 0 14px; }
.rpl-article-content h3 { color: var(--rpl-fg-light-primary); font-size: 1.25rem; margin: 28px 0 10px; }
.rpl-article-content p  { color: var(--rpl-fg-light-secondary); margin-bottom: 18px; line-height: 1.75; }
.rpl-article-content ul, .rpl-article-content ol { margin-bottom: 18px; padding-left: 24px; }
.rpl-article-content ul { list-style: disc; }
.rpl-article-content ol { list-style: decimal; }
.rpl-article-content li { color: var(--rpl-fg-light-secondary); margin-bottom: 8px; line-height: 1.7; }
.rpl-article-content a  { color: var(--rpl-teal-aa-light); text-decoration: underline; }
.rpl-article-content code {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 0.875rem;
  background: var(--rpl-bg-light-alt);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--rpl-navy);
}
.rpl-article-content blockquote {
  border-left: 4px solid var(--rpl-teal-aa-light);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--rpl-fg-light-secondary);
}

/* rpl-article-sidebar widgets */
.rpl-article-sidebar__widget {
  background: var(--rpl-bg-light);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 24px;
}
.rpl-article-sidebar__widget h3 { color: var(--rpl-fg-light-primary); font-size: 1rem; margin-bottom: 14px; font-weight: 600; }
.rpl-article-sidebar__widget ul { list-style: none; padding: 0; margin: 0; }
.rpl-article-sidebar__widget ul li { border-bottom: 1px solid rgba(10,61,98,0.08); }
.rpl-article-sidebar__widget ul li:last-child { border-bottom: none; }
.rpl-article-sidebar__widget ul li a {
  display: block;
  color: var(--rpl-teal-aa-light);
  font-size: 0.875rem;
  padding: 8px 0;
}
.rpl-article-sidebar__widget ul li a:hover { color: var(--rpl-navy); text-decoration: underline; }

.rpl-article-sidebar__cta {
  background: var(--rpl-bg-dark);
  border-radius: 10px;
  padding: 24px;
}
.rpl-article-sidebar__cta h3 { color: var(--rpl-fg-dark-primary); font-size: 1rem; margin-bottom: 10px; font-weight: 600; }
.rpl-article-sidebar__cta p  { color: var(--rpl-fg-dark-secondary); font-size: 0.875rem; margin-bottom: 16px; line-height: 1.6; }
/* Override article body link color rules for buttons inside dark sidebar CTA */
.rpl-article-sidebar__cta a.rpl-btn,
.rpl-article-sidebar__cta a.rpl-btn--teal { color: #ffffff; text-decoration: none; }
.rpl-article-sidebar__cta a.rpl-btn:hover,
.rpl-article-sidebar__cta a.rpl-btn--teal:hover { color: #ffffff; }

/* ── LEGAL HERO ───────────────────────────────────────────────────── */
.rpl-legal-hero {
  background: var(--rpl-bg-light-alt);
  padding: calc(var(--rpl-nav-height) + 48px) 0 48px;
  border-bottom: 1px solid rgba(10,61,98,0.08);
}
.rpl-legal-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--rpl-fg-light-primary);
  margin-bottom: 12px;
}
.rpl-legal-hero__sub {
  font-size: 1.0625rem;
  color: var(--rpl-fg-light-secondary);
}
/* rpl-legal-container = max-width content wrapper inside legal pages */
.rpl-legal-container {
  max-width: 760px;
  padding: 56px 24px 96px;
}
.rpl-legal-container .legal-header { margin-bottom: 48px; border-bottom: 2px solid var(--rpl-teal-aa-light); padding-bottom: 24px; }
.rpl-legal-container .legal-header h1 { font-size: 2.25rem; color: var(--rpl-fg-light-primary); }
.rpl-legal-container .legal-meta { font-size: 0.875rem; color: var(--rpl-fg-light-secondary); margin-top: 8px; }
.rpl-legal-container section { margin-bottom: 36px; }
.rpl-legal-container h2 { font-size: 1.375rem; color: var(--rpl-fg-light-primary); margin-bottom: 12px; }
.rpl-legal-container h3 { font-size: 1.0625rem; color: var(--rpl-fg-light-primary); margin: 20px 0 8px; }
.rpl-legal-container p  { color: var(--rpl-fg-light-secondary); margin-bottom: 14px; line-height: 1.75; }
.rpl-legal-container ul, .rpl-legal-container ol { padding-left: 24px; margin-bottom: 14px; }
.rpl-legal-container ul { list-style: disc; }
.rpl-legal-container ol { list-style: decimal; }
.rpl-legal-container li { color: var(--rpl-fg-light-secondary); margin-bottom: 6px; line-height: 1.7; }
.rpl-legal-container a  { color: var(--rpl-teal-aa-light); text-decoration: underline; }
.rpl-legal-container address { font-style: normal; line-height: 1.9; color: var(--rpl-fg-light-secondary); }
.rpl-legal-container strong { color: var(--rpl-fg-light-primary); }
.rpl-legal-container .legal-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.875rem; }
.rpl-legal-container .legal-table th { background: var(--rpl-bg-light); color: var(--rpl-fg-light-primary); padding: 10px 14px; text-align: left; font-weight: 600; }
.rpl-legal-container .legal-table td { padding: 10px 14px; color: var(--rpl-fg-light-secondary); border-bottom: 1px solid rgba(10,61,98,0.08); }

/* ── HERO VARIANTS ────────────────────────────────────────────────── */
/* rpl-hero--compact = shorter hero for sub-pages */
.rpl-hero--compact {
  min-height: 280px;
  padding-top: calc(var(--rpl-nav-height) + 48px);
  padding-bottom: 56px;
}
/* rpl-hero__inner--centered = centered text layout (no image right side) */
.rpl-hero__inner--centered {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  justify-items: center;
}

/* ── BLOG INDEX compact hero ─────────────────────────────────────── */
/* already covered by rpl-hero--compact */

/* ── CARD DARK VARIANT ─────────────────────────────────────────────── */
.rpl-card--dark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--rpl-fg-dark-primary);
}
.rpl-card--dark h3, .rpl-card--dark h4 { color: var(--rpl-fg-dark-primary); }
.rpl-card--dark p { color: var(--rpl-fg-dark-secondary); }
.rpl-card__icon--dark { color: var(--rpl-teal-aa-dark); }

/* ── PRICING CARDS ────────────────────────────────────────────────── */
.rpl-pricing-card {
  background: var(--rpl-bg-white);
  border-radius: 12px;
  padding: 40px 32px;
  border: 1.5px solid rgba(10,61,98,0.12);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow 0.2s;
}
.rpl-pricing-card:hover { box-shadow: 0 8px 32px rgba(10,61,98,0.1); }
.rpl-pricing-card--highlighted {
  background: var(--rpl-navy);
  border-color: var(--rpl-teal-aa-dark);
  box-shadow: 0 12px 48px rgba(10,61,98,0.3);
}
.rpl-pricing-card--highlighted:hover { box-shadow: 0 16px 64px rgba(10,61,98,0.4); }
.rpl-pricing-card__tier {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rpl-fg-light-secondary);
  margin-bottom: 12px;
}
.rpl-pricing-card--highlighted .rpl-pricing-card__tier { color: var(--rpl-teal-aa-dark); }
.rpl-pricing-card__badge {
  display: inline-block;
  background: var(--rpl-teal-aa-dark);
  color: var(--rpl-navy);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 10px;
  margin-bottom: 16px;
}
.rpl-pricing-card__price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--rpl-fg-light-primary);
  margin-bottom: 4px;
}
.rpl-pricing-card--highlighted .rpl-pricing-card__price { color: var(--rpl-fg-dark-primary); }
.rpl-pricing-card__cadence {
  font-size: 0.875rem;
  color: var(--rpl-fg-light-muted);
  margin-bottom: 28px;
}
.rpl-pricing-card--highlighted .rpl-pricing-card__cadence { color: var(--rpl-fg-dark-secondary); }
.rpl-pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rpl-pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--rpl-fg-light-secondary);
  line-height: 1.5;
}
.rpl-pricing-card--highlighted .rpl-pricing-card__features li { color: var(--rpl-fg-dark-secondary); }
.rpl-pricing-card__features li i { color: var(--rpl-teal-aa-light); flex-shrink: 0; margin-top: 3px; }
.rpl-pricing-card--highlighted .rpl-pricing-card__features li i { color: var(--rpl-teal-aa-dark); }
.rpl-pricing-card__cta { display: block; text-align: center; }

/* ── TEAM CARD BIO ────────────────────────────────────────────────── */
.rpl-team-card__bio {
  font-size: 0.875rem;
  color: var(--rpl-fg-light-secondary);
  line-height: 1.6;
  margin-top: 8px;
}

/* ── PLATFORM MOCK (inline dashboard) ───────────────────────────── */
/* rpl-platform-mock is a section-level wrapper for dashboard mock content */
.rpl-platform-mock {
  background: var(--rpl-bg-dark);
  border-radius: 12px;
  overflow: hidden;
}

/* ── RESPONSIVE overrides for new components ────────────────────── */
@media (max-width: 900px) {
  .rpl-article-body { grid-template-columns: 1fr; }
  .rpl-auth-aside { display: none; }
  .rpl-auth-main { padding: 48px 28px; }
  .rpl-form-row { grid-template-columns: 1fr; gap: 0; }
  .rpl-auth-aside__stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .rpl-article-header h1 { font-size: 1.75rem; }
  .rpl-legal-hero h1 { font-size: 1.75rem; }
  .rpl-auth-main--solo { padding: 48px 24px; }
  .rpl-auth-form-wrap { max-width: 100%; }
  .rpl-pricing-card { padding: 32px 24px; }
}
