/* RespiroScreen — full-site stylesheet
   Brand prefix: rsp
   Palette:
     navy      #0D1B2A  (primary dark, text on light)
     navy-alt  #152336  (footer bg, testimonials bg)
     sage-light #F2F5F3 (section bg light)
     white     #FFFFFF
     ink       #0D1B2A
     text-on-dark  #E8EEF4
     muted-on-dark #7B9BAF  (6.0:1 on navy)
     muted-on-light #4A5A6A (6.5:1 on sage)
     teal-signal   #0DC4A0  (accent/icons on dark ONLY, never text on light)
     teal-text     #0A7E69  (4.63:1 on white/sage — text on light)
     emerald       #1B7A5A  (5.28:1 on white — primary button)
     alert-amber   #B25A00  (7.2:1 on light)
*/

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  color: #0D1B2A;
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select {
  font: inherit;
  border: 1px solid #C8D4DC;
  border-radius: 6px;
  padding: 0.625rem 0.875rem;
  width: 100%;
  background: #FFFFFF;
  color: #0D1B2A;
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #0A7E69;
  box-shadow: 0 0 0 3px rgba(10, 126, 105, 0.15);
}
textarea { resize: vertical; min-height: 120px; }

/* === TYPOGRAPHY — Google Fonts loaded in HTML === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Newsreader', Georgia, serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: inherit;
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 500; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; }
h4 { font-size: 1.125rem; font-weight: 600; font-family: 'IBM Plex Sans', system-ui, sans-serif; }
p { line-height: 1.7; }
.rsp-mono { font-family: 'IBM Plex Mono', 'Courier New', monospace; }

/* === CSS CUSTOM PROPERTIES === */
:root {
  --rsp-navy: #0D1B2A;
  --rsp-navy-alt: #152336;
  --rsp-sage: #F2F5F3;
  --rsp-white: #FFFFFF;
  --rsp-ink: #0D1B2A;
  --rsp-text-dark: #E8EEF4;
  --rsp-muted-dark: #7B9BAF;
  --rsp-muted-light: #4A5A6A;
  --rsp-teal-signal: #0DC4A0;
  --rsp-teal-text: #086D5C;
  --rsp-emerald: #1B7A5A;
  --rsp-amber: #B25A00;
  --rsp-nav-h: 68px;
  --rsp-section-v: 5rem;
  --rsp-max: 1200px;
  --rsp-radius: 10px;
  --rsp-card-radius: 12px;
}

/* === LAYOUT UTILITIES === */
.rsp-container {
  max-width: var(--rsp-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.rsp-section {
  padding-top: var(--rsp-section-v);
  padding-bottom: var(--rsp-section-v);
}
.rsp-section--sm {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.rsp-section--lg {
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
}

/* Background helpers */
.rsp-bg--navy { background: var(--rsp-navy); }
.rsp-bg--navy-alt { background: var(--rsp-navy-alt); }
.rsp-bg--sage { background: var(--rsp-sage); }
.rsp-bg--white { background: var(--rsp-white); }
.rsp-bg--emerald { background: var(--rsp-emerald); }

/* Text color helpers */
.rsp-on-dark { color: var(--rsp-text-dark); }
.rsp-on-dark h1, .rsp-on-dark h2, .rsp-on-dark h3,
.rsp-on-dark h4, .rsp-on-dark p { color: var(--rsp-text-dark); }
.rsp-muted--dark { color: var(--rsp-muted-dark); }
.rsp-muted--light { color: var(--rsp-muted-light); }
.rsp-teal-accent { color: var(--rsp-teal-signal); }
.rsp-text-center { text-align: center; }
.rsp-eyebrow {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rsp-teal-text);
  margin-bottom: 0.75rem;
  display: block;
}
.rsp-bg--navy .rsp-eyebrow,
.rsp-bg--navy-alt .rsp-eyebrow,
.rsp-on-dark .rsp-eyebrow,
.rsp-hero .rsp-eyebrow { color: var(--rsp-teal-signal); }

/* Grid helpers */
.rsp-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.rsp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.rsp-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .rsp-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .rsp-grid-2, .rsp-grid-3 { grid-template-columns: 1fr; }
  .rsp-grid-4 { grid-template-columns: 1fr; }
}

/* === NAV === */
.rsp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--rsp-nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}
.rsp-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--rsp-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.rsp-nav__logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.rsp-nav__logo img { height: 32px; width: auto; display: block; }
.rsp-logo--light { display: none; }
.rsp-logo--dark { display: block; }

/* Dark-top pages: transparent nav + light content */
.rsp-page--dark-top .rsp-nav {
  background: transparent;
}
.rsp-page--dark-top .rsp-nav .rsp-logo--light { display: block; }
.rsp-page--dark-top .rsp-nav .rsp-logo--dark { display: none; }
.rsp-page--dark-top .rsp-nav .rsp-nav__link { color: var(--rsp-text-dark); }
.rsp-page--dark-top .rsp-nav .rsp-nav__link:hover { color: var(--rsp-teal-signal); }
.rsp-page--dark-top .rsp-nav .rsp-btn--ghost { color: var(--rsp-text-dark); border-color: rgba(232,238,244,0.5); }
.rsp-page--dark-top .rsp-nav .rsp-btn--ghost:hover { border-color: var(--rsp-text-dark); }

/* Light-top pages: white nav + dark content */
.rsp-page--light-top .rsp-nav {
  background: var(--rsp-white);
  box-shadow: 0 1px 0 rgba(13,27,42,0.08);
}
.rsp-page--light-top .rsp-nav .rsp-logo--light { display: none; }
.rsp-page--light-top .rsp-nav .rsp-logo--dark { display: block; }
.rsp-page--light-top .rsp-nav .rsp-nav__link { color: var(--rsp-ink); }
.rsp-page--light-top .rsp-nav .rsp-nav__link:hover { color: var(--rsp-teal-text); }
.rsp-page--light-top .rsp-nav .rsp-btn--ghost { color: var(--rsp-ink); border-color: rgba(13,27,42,0.3); }
.rsp-page--light-top .rsp-nav .rsp-btn--ghost:hover { border-color: var(--rsp-ink); }

/* Scrolled state — always navy with light content */
.rsp-nav--scrolled {
  background: var(--rsp-navy) !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.2) !important;
}
.rsp-nav--scrolled .rsp-logo--dark { display: none !important; }
.rsp-nav--scrolled .rsp-logo--light { display: block !important; }
.rsp-nav--scrolled .rsp-nav__link { color: var(--rsp-text-dark) !important; }
.rsp-nav--scrolled .rsp-nav__link:hover { color: var(--rsp-teal-signal) !important; }
.rsp-nav--scrolled .rsp-btn--ghost { color: var(--rsp-text-dark) !important; border-color: rgba(232,238,244,0.5) !important; }
.rsp-nav--scrolled .rsp-btn--ghost:hover { border-color: var(--rsp-text-dark) !important; }
.rsp-nav--scrolled .rsp-hamburger__bar { background: var(--rsp-text-dark) !important; }

.rsp-nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.rsp-nav__link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.rsp-nav__link:hover { background: rgba(255,255,255,0.07); }
.rsp-page--light-top .rsp-nav__link:hover { background: rgba(13,27,42,0.05); }
.rsp-nav--scrolled .rsp-nav__link:hover { background: rgba(255,255,255,0.07) !important; }
.rsp-nav__link--active { color: var(--rsp-teal-signal) !important; }
.rsp-page--light-top .rsp-nav__link--active { color: var(--rsp-teal-text) !important; }

.rsp-nav__actions { display: flex; align-items: center; gap: 0.75rem; }
.rsp-hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; }
.rsp-hamburger__bar { display: block; width: 22px; height: 2px; background: var(--rsp-text-dark); border-radius: 2px; transition: background 0.2s, transform 0.3s, opacity 0.3s; }
.rsp-page--light-top .rsp-hamburger__bar { background: var(--rsp-ink); }

/* Mobile nav */
.rsp-nav__mobile {
  display: none;
  position: fixed;
  top: var(--rsp-nav-h);
  left: 0;
  right: 0;
  background: var(--rsp-navy);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.rsp-nav__mobile.rsp-nav__mobile--open { display: block; }
.rsp-nav__mobile-links { list-style: none; margin-bottom: 1rem; }
.rsp-nav__mobile-links li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.rsp-nav__mobile-links a {
  display: block;
  padding: 0.875rem 0;
  color: var(--rsp-text-dark);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
}
.rsp-nav__mobile-links a:hover { color: var(--rsp-teal-signal); }
.rsp-nav__mobile-actions { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 0.5rem; }

/* Nav padding for pages with fixed nav */
.rsp-page--dark-top main,
.rsp-page--light-top main { padding-top: var(--rsp-nav-h); }
.rsp-page--dark-top .rsp-hero { margin-top: calc(-1 * var(--rsp-nav-h)); padding-top: var(--rsp-nav-h); }
/* Dark-top pages using subhero as first section: pull it up so the transparent nav
   sits over the dark section instead of a white gap. Mirror the rsp-hero treatment. */
.rsp-page--dark-top .rsp-subhero { margin-top: calc(-1 * var(--rsp-nav-h)); padding-top: calc(var(--rsp-nav-h) + 5.5rem); }
/* Article-back strip: also pull up and give it a dark bg so nav floats over dark */
.rsp-page--dark-top .rsp-article-back { display: block; width: 100%; margin-top: calc(-1 * var(--rsp-nav-h)); padding-top: calc(var(--rsp-nav-h) + 0.5rem); background: var(--rsp-navy); padding-left: 1.5rem; }
.rsp-page--dark-top .rsp-article-hero { margin-top: 0; }

/* === BUTTONS === */
.rsp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.375rem;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 7px;
  border: 1.5px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.rsp-btn--primary {
  background: var(--rsp-emerald);
  color: var(--rsp-white);
  border-color: var(--rsp-emerald);
}
.rsp-btn--primary:hover {
  background: #155e45;
  border-color: #155e45;
  box-shadow: 0 4px 14px rgba(27,122,90,0.35);
}
.rsp-btn--outline-light {
  background: transparent;
  color: var(--rsp-text-dark);
  border-color: rgba(232,238,244,0.6);
}
.rsp-btn--outline-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--rsp-text-dark);
}
.rsp-btn--outline-dark {
  background: transparent;
  color: var(--rsp-ink);
  border-color: rgba(13,27,42,0.4);
}
.rsp-btn--outline-dark:hover {
  background: rgba(13,27,42,0.05);
  border-color: var(--rsp-ink);
}
.rsp-btn--ghost {
  background: transparent;
  border: 1.5px solid;
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
}
.rsp-btn--lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}
.rsp-btn--sm {
  padding: 0.4rem 0.875rem;
  font-size: 0.8rem;
}

/* === HERO === */
.rsp-hero {
  background: var(--rsp-navy);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.rsp-hero__inner {
  max-width: var(--rsp-max);
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}
.rsp-hero__text { position: relative; z-index: 2; }
.rsp-hero__h1 {
  color: var(--rsp-text-dark);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 500;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.rsp-hero__sub {
  color: var(--rsp-muted-dark);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}
.rsp-hero__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.rsp-hero__visual { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; }

/* Sub-page hero (non-index pages) */
.rsp-subhero {
  background: var(--rsp-navy);
  padding: 5.5rem 0 3.5rem;
}
.rsp-subhero__inner {
  max-width: var(--rsp-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.rsp-subhero__h1 {
  color: var(--rsp-text-dark);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin-bottom: 1rem;
}
.rsp-subhero__sub {
  color: var(--rsp-muted-dark);
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.7;
}
.rsp-subhero--two-col .rsp-subhero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Sub-hero with raster image (for-clinicians, for-patients) */
.rsp-subhero__img-wrap {
  border-radius: var(--rsp-card-radius);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.rsp-subhero__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .rsp-hero__inner { grid-template-columns: 1fr; gap: 2rem; padding: 5rem 1.25rem 3rem; }
  .rsp-hero__visual { order: -1; }
  .rsp-subhero--two-col .rsp-subhero__inner { grid-template-columns: 1fr; }
}

/* === SECTION HEADER === */
.rsp-section-header {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}
.rsp-section-header--left {
  max-width: 640px;
  margin: 0 0 3rem;
  text-align: left;
}
.rsp-section-header h2 { margin-bottom: 0.75rem; }
.rsp-section-header p {
  font-size: 1.05rem;
  color: var(--rsp-muted-light);
}
.rsp-on-dark .rsp-section-header p { color: var(--rsp-muted-dark); }

/* === WAVEFORM SVG (hero animation) === */
.rsp-waveform-hero {
  width: 100%;
  max-width: 480px;
  height: auto;
}
.rsp-waveform-hero .rsp-wave-line {
  stroke: var(--rsp-teal-signal);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rsp-waveform-hero .rsp-wave-baseline {
  stroke: rgba(123,155,175,0.3);
  stroke-width: 1;
  fill: none;
}
@keyframes rsp-wave-draw {
  0% { stroke-dashoffset: 600; opacity: 0.6; }
  50% { opacity: 1; }
  100% { stroke-dashoffset: -600; opacity: 0.6; }
}
.rsp-wave-animate {
  stroke-dasharray: 300 300;
  animation: rsp-wave-draw 4s ease-in-out infinite;
}
.rsp-wave-animate--delay {
  animation-delay: 0.8s;
}
@media (prefers-reduced-motion: reduce) {
  .rsp-wave-animate, .rsp-wave-animate--delay { animation: none; }
}

/* === HOW-IT-WORKS STEPS === */
.rsp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; position: relative; }
.rsp-steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(16.67% + 1.5rem);
  right: calc(16.67% + 1.5rem);
  height: 2px;
  background: linear-gradient(90deg, var(--rsp-teal-signal), rgba(13,196,160,0.3));
}
.rsp-step { text-align: center; position: relative; }
.rsp-step__num {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--rsp-teal-signal);
  color: var(--rsp-navy);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 2;
}
.rsp-step__title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--rsp-ink); }
.rsp-step__desc { font-size: 0.9rem; color: var(--rsp-muted-light); line-height: 1.6; }
.rsp-bg--navy .rsp-step__title,
.rsp-bg--navy-alt .rsp-step__title { color: var(--rsp-text-dark); }
.rsp-bg--navy .rsp-step__desc,
.rsp-bg--navy-alt .rsp-step__desc { color: var(--rsp-muted-dark); }

@media (max-width: 768px) {
  .rsp-steps { grid-template-columns: 1fr; }
  .rsp-steps::before { display: none; }
}

/* === FEATURE / BENEFIT CARDS === */
.rsp-card {
  background: var(--rsp-white);
  border-radius: var(--rsp-card-radius);
  padding: 1.75rem;
  border: 1px solid rgba(13,27,42,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}
.rsp-card:hover { box-shadow: 0 8px 32px rgba(13,27,42,0.1); transform: translateY(-2px); }
.rsp-bg--navy .rsp-card,
.rsp-bg--navy-alt .rsp-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
.rsp-bg--sage .rsp-card { background: var(--rsp-white); }

.rsp-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 8px;
  background: rgba(13,196,160,0.12);
  color: var(--rsp-teal-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.rsp-bg--navy .rsp-card__icon,
.rsp-bg--navy-alt .rsp-card__icon {
  background: rgba(13,196,160,0.18);
  color: var(--rsp-teal-signal);
}
.rsp-card__title { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--rsp-ink); }
.rsp-card__body { font-size: 0.9rem; color: var(--rsp-muted-light); line-height: 1.6; }
.rsp-bg--navy .rsp-card__title,
.rsp-bg--navy-alt .rsp-card__title { color: var(--rsp-text-dark); }
.rsp-bg--navy .rsp-card__body,
.rsp-bg--navy-alt .rsp-card__body { color: var(--rsp-muted-dark); }

/* === STAT / METRIC CARDS === */
.rsp-stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.rsp-stat-card {
  background: var(--rsp-white);
  border-radius: var(--rsp-card-radius);
  padding: 1.5rem;
  border: 1px solid rgba(13,27,42,0.08);
  text-align: center;
}
.rsp-bg--navy .rsp-stat-card,
.rsp-bg--navy-alt .rsp-stat-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}
.rsp-stat-card__value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--rsp-teal-text);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.rsp-bg--navy .rsp-stat-card__value,
.rsp-bg--navy-alt .rsp-stat-card__value { color: var(--rsp-teal-signal); }
.rsp-stat-card__label { font-size: 0.85rem; color: var(--rsp-muted-light); font-weight: 500; }
.rsp-bg--navy .rsp-stat-card__label,
.rsp-bg--navy-alt .rsp-stat-card__label { color: var(--rsp-muted-dark); }
.rsp-stat-card__note { font-size: 0.75rem; color: var(--rsp-muted-light); margin-top: 0.25rem; }
.rsp-bg--navy .rsp-stat-card__note,
.rsp-bg--navy-alt .rsp-stat-card__note { color: rgba(123,155,175,0.7); }

@media (max-width: 768px) {
  .rsp-stat-cards { grid-template-columns: 1fr; }
}

/* === PILOT METRICS MOCK (index.html evidence) === */
.rsp-pilot-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.rsp-pilot-metric {
  background: var(--rsp-white);
  border-radius: var(--rsp-card-radius);
  padding: 1.25rem;
  text-align: center;
  border: 1px solid rgba(13,27,42,0.1);
}
.rsp-pilot-metric__value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--rsp-teal-text);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.rsp-pilot-metric__label {
  font-size: 0.8rem;
  color: var(--rsp-muted-light);
  font-weight: 500;
  line-height: 1.4;
}
.rsp-pilot-metric__note {
  font-size: 0.7rem;
  color: var(--rsp-muted-light);
  margin-top: 0.2rem;
  font-style: italic;
}

@media (max-width: 640px) {
  .rsp-pilot-metrics { grid-template-columns: 1fr; }
  .rsp-stat-cards { grid-template-columns: repeat(2, 1fr); }
}

/* === CLINICAL DASHBOARD MOCK === */
.rsp-dashboard-mock {
  background: #0A1620;
  border-radius: var(--rsp-card-radius);
  padding: 1.25rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--rsp-text-dark);
  max-width: 100%;
  overflow-x: auto;
}
.rsp-dashboard-mock__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.rsp-dashboard-mock__title {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rsp-text-dark);
}
.rsp-dashboard-mock__badge {
  font-size: 0.7rem;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: rgba(13,196,160,0.15);
  color: var(--rsp-teal-signal);
  font-weight: 600;
}
.rsp-dashboard-mock__table { width: 100%; border-collapse: collapse; }
.rsp-dashboard-mock__table th {
  font-size: 0.7rem;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rsp-muted-dark);
  text-align: left;
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.rsp-dashboard-mock__table td {
  padding: 0.5rem 0.5rem;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--rsp-text-dark);
}
.rsp-dashboard-mock__table tr:last-child td { border-bottom: none; }
.rsp-alert-level {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
}
.rsp-alert-level--high { background: rgba(178,90,0,0.2); color: #F4A444; }
.rsp-alert-level--medium { background: rgba(13,196,160,0.15); color: var(--rsp-teal-signal); }
.rsp-alert-level--low { background: rgba(123,155,175,0.12); color: var(--rsp-muted-dark); }
.rsp-alert-level--stable { background: rgba(27,122,90,0.2); color: #3DDC84; }

/* === ALERT FEED MOCK === */
.rsp-alert-feed {
  background: #0A1620;
  border-radius: var(--rsp-card-radius);
  padding: 1.25rem;
  max-height: 340px;
  overflow-y: auto;
}
.rsp-alert-feed::-webkit-scrollbar { width: 4px; }
.rsp-alert-feed::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); }
.rsp-alert-feed::-webkit-scrollbar-thumb { background: rgba(123,155,175,0.3); border-radius: 2px; }
.rsp-alert-feed__header {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rsp-muted-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.rsp-alert-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.rsp-alert-item:last-child { border-bottom: none; }
.rsp-alert-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.rsp-alert-item__dot--amber { background: #F4A444; box-shadow: 0 0 0 3px rgba(244,164,68,0.2); }
.rsp-alert-item__dot--teal { background: var(--rsp-teal-signal); }
.rsp-alert-item__dot--green { background: #3DDC84; }
.rsp-alert-item__content { flex: 1; min-width: 0; }
.rsp-alert-item__name {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rsp-text-dark);
  margin-bottom: 0.15rem;
}
.rsp-alert-item__msg {
  font-size: 0.78rem;
  color: var(--rsp-muted-dark);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
}
.rsp-alert-item__time {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: rgba(123,155,175,0.6);
  flex-shrink: 0;
}

/* === EVIDENCE METRICS (for-clinicians) === */
.rsp-evidence-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.rsp-evidence-metric {
  padding: 1.5rem;
  border-left: 3px solid var(--rsp-teal-signal);
  background: rgba(13,196,160,0.05);
  border-radius: 0 8px 8px 0;
}
.rsp-evidence-metric__value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--rsp-teal-text);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.rsp-bg--navy .rsp-evidence-metric__value,
.rsp-bg--navy-alt .rsp-evidence-metric__value { color: var(--rsp-teal-signal); }
.rsp-evidence-metric__label { font-size: 0.85rem; color: var(--rsp-muted-light); }
.rsp-bg--navy .rsp-evidence-metric__label { color: var(--rsp-muted-dark); }

@media (max-width: 768px) {
  .rsp-evidence-metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .rsp-evidence-metrics { grid-template-columns: 1fr; }
}

/* === STUDY RESULTS CHART (evidence.html) === */
.rsp-study-chart { background: var(--rsp-white); border-radius: var(--rsp-card-radius); padding: 2rem; }
.rsp-study-chart__title {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rsp-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1.5rem;
}
.rsp-bar-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.rsp-bar-row:last-child { margin-bottom: 0; }
.rsp-bar-label {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--rsp-muted-light);
  width: 140px;
  flex-shrink: 0;
}
.rsp-bar-track {
  flex: 1;
  height: 28px;
  background: rgba(13,27,42,0.06);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.rsp-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding-right: 0.5rem;
  justify-content: flex-end;
  transition: width 1s ease-out;
}
.rsp-bar-fill--rsp { background: var(--rsp-teal-text); }
.rsp-bar-fill--control { background: #A0B0C0; }
.rsp-bar-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rsp-white);
}

/* === WORKFLOW STEPS (for-clinicians inline mock) === */
.rsp-workflow-steps { display: flex; flex-direction: column; gap: 0; }
.rsp-workflow-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid rgba(13,27,42,0.08);
  border-radius: var(--rsp-card-radius);
  background: var(--rsp-white);
  margin-bottom: 0.5rem;
  transition: box-shadow 0.2s;
}
.rsp-workflow-step:hover { box-shadow: 0 4px 20px rgba(13,27,42,0.08); }
.rsp-workflow-step__num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(13,196,160,0.12);
  color: var(--rsp-teal-text);
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rsp-workflow-step__content { flex: 1; }
.rsp-workflow-step__title { font-weight: 600; margin-bottom: 0.25rem; color: var(--rsp-ink); }
.rsp-workflow-step__desc { font-size: 0.875rem; color: var(--rsp-muted-light); }

/* === INFO PANEL / FEATURE-LIST (for-clinicians, for-patients) === */
.rsp-two-col-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.rsp-two-col-feature--flip { direction: rtl; }
.rsp-two-col-feature--flip > * { direction: ltr; }
.rsp-feature-list { list-style: none; margin: 0; padding: 0; }
.rsp-feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(13,27,42,0.06);
  font-size: 0.95rem;
  color: var(--rsp-muted-light);
}
.rsp-feature-list li:last-child { border-bottom: none; }
.rsp-feature-list li i {
  color: var(--rsp-teal-text);
  font-size: 0.9rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.rsp-bg--navy .rsp-feature-list li,
.rsp-bg--navy-alt .rsp-feature-list li { color: var(--rsp-muted-dark); border-color: rgba(255,255,255,0.06); }
.rsp-bg--navy .rsp-feature-list li i,
.rsp-bg--navy-alt .rsp-feature-list li i { color: var(--rsp-teal-signal); }

@media (max-width: 768px) {
  .rsp-two-col-feature { grid-template-columns: 1fr; gap: 2rem; }
  .rsp-two-col-feature--flip { direction: ltr; }
}

/* === PROSE BLOCK (long-form content pages) === */
.rsp-prose {
  max-width: 720px;
  margin: 0 auto;
}
.rsp-prose h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.rsp-prose h3 { margin-top: 1.75rem; margin-bottom: 0.75rem; }
.rsp-prose p { margin-bottom: 1.25rem; color: var(--rsp-muted-light); }
.rsp-prose ul, .rsp-prose ol {
  margin: 1rem 0 1.25rem 1.5rem;
  color: var(--rsp-muted-light);
}
.rsp-prose ul { list-style: disc; }
.rsp-prose ol { list-style: decimal; }
.rsp-prose li { margin-bottom: 0.5rem; line-height: 1.7; }
.rsp-prose a { color: var(--rsp-teal-text); text-decoration: underline; text-decoration-color: rgba(10,126,105,0.4); }
.rsp-prose a:hover { text-decoration-color: var(--rsp-teal-text); }
.rsp-prose blockquote {
  border-left: 3px solid var(--rsp-teal-text);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--rsp-muted-light);
  font-style: italic;
}
.rsp-prose strong { color: var(--rsp-ink); }
.rsp-prose code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.875em;
  background: rgba(13,27,42,0.06);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}
.rsp-prose pre {
  background: #0A1620;
  color: var(--rsp-text-dark);
  padding: 1.25rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.rsp-prose pre code { background: none; padding: 0; font-size: 0.85rem; }

/* === TEXT CONTENT BLOCK (about, security, legal-ready) === */
.rsp-text-content { max-width: 720px; }
.rsp-text-content h2 { margin-bottom: 0.875rem; }
.rsp-text-content p { color: var(--rsp-muted-light); margin-bottom: 1rem; }
.rsp-text-content ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.rsp-text-content ul li {
  display: flex;
  gap: 0.75rem;
  padding: 0.375rem 0;
  color: var(--rsp-muted-light);
  font-size: 0.95rem;
}
.rsp-text-content ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rsp-teal-text);
  flex-shrink: 0;
  margin-top: 8px;
}

/* === TESTIMONIALS === */
.rsp-testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.rsp-testimonial {
  background: rgba(255,255,255,0.05);
  border-radius: var(--rsp-card-radius);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.rsp-testimonial__quote {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--rsp-text-dark);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.rsp-testimonial__author { display: flex; align-items: center; gap: 0.875rem; }
.rsp-testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(13,196,160,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rsp-testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }
.rsp-testimonial__initials {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #E8EEF4;
}
.rsp-testimonial__name { font-size: 0.875rem; font-weight: 600; color: var(--rsp-text-dark); }
.rsp-testimonial__role { font-size: 0.8rem; color: var(--rsp-muted-dark); }

@media (max-width: 768px) {
  .rsp-testimonials-grid { grid-template-columns: 1fr; }
}

/* === PRICING === */
.rsp-pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}
.rsp-pricing-toggle__label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--rsp-muted-light);
}
.rsp-pricing-toggle__label--active { color: var(--rsp-ink); font-weight: 600; }
.rsp-bg--navy .rsp-pricing-toggle__label { color: var(--rsp-muted-dark); }
.rsp-bg--navy .rsp-pricing-toggle__label--active { color: var(--rsp-text-dark); }

.rsp-toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  cursor: pointer;
  flex-shrink: 0;
}
.rsp-toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.rsp-toggle-switch__track {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0.2);
  border-radius: 13px;
  transition: background 0.2s;
}
.rsp-toggle-switch input:checked + .rsp-toggle-switch__track { background: var(--rsp-emerald); }
.rsp-toggle-switch__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rsp-white);
  transition: transform 0.2s;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.rsp-toggle-switch input:checked + .rsp-toggle-switch__track .rsp-toggle-switch__thumb { transform: translateX(22px); }
.rsp-save-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(27,122,90,0.15);
  color: var(--rsp-teal-text);
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  border: 1px solid rgba(27,122,90,0.3);
}
.rsp-bg--navy .rsp-save-badge {
  background: rgba(13,196,160,0.15);
  color: var(--rsp-teal-signal);
  border-color: rgba(13,196,160,0.3);
}

.rsp-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.rsp-pricing-card {
  background: var(--rsp-white);
  border-radius: var(--rsp-card-radius);
  padding: 2rem;
  border: 1.5px solid rgba(13,27,42,0.1);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.rsp-pricing-card:hover { box-shadow: 0 8px 32px rgba(13,27,42,0.1); }
.rsp-pricing-card--featured {
  border-color: var(--rsp-emerald);
  position: relative;
  transform: translateY(-8px);
  box-shadow: 0 8px 40px rgba(27,122,90,0.2);
}
.rsp-pricing-card--featured:hover { transform: translateY(-10px); }
.rsp-pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rsp-emerald);
  color: var(--rsp-white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.875rem;
  border-radius: 20px;
  white-space: nowrap;
}
.rsp-pricing-card__tier {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rsp-muted-light);
  margin-bottom: 0.5rem;
}
.rsp-pricing-card__name {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--rsp-ink);
  margin-bottom: 0.5rem;
}
.rsp-pricing-card__desc {
  font-size: 0.875rem;
  color: var(--rsp-muted-light);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.rsp-pricing-price {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(13,27,42,0.08);
}
.rsp-pricing-price__amount {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--rsp-ink);
  line-height: 1;
}
.rsp-pricing-price__free {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--rsp-teal-text);
  line-height: 1;
}
.rsp-pricing-price__period {
  font-size: 0.85rem;
  color: var(--rsp-muted-light);
  margin-top: 0.25rem;
}
.rsp-pricing-price__annual { display: none; }
.rsp-pricing--annual .rsp-pricing-price__annual { display: block; }
.rsp-pricing--annual .rsp-pricing-price__monthly { display: none; }

.rsp-pricing-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
}
.rsp-pricing-features li {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  padding: 0.4rem 0;
  font-size: 0.875rem;
  color: var(--rsp-muted-light);
}
.rsp-pricing-features li i {
  color: var(--rsp-teal-text);
  font-size: 0.85rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.rsp-pricing-features li.rsp-pricing-feature--na {
  opacity: 0.5;
  text-decoration: line-through;
}
.rsp-pricing-features li.rsp-pricing-feature--na i { color: var(--rsp-muted-light); }

.rsp-pricing-faq { margin-top: 4rem; max-width: 720px; margin-left: auto; margin-right: auto; }
.rsp-pricing-faq__title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--rsp-ink);
}

@media (max-width: 900px) {
  .rsp-pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .rsp-pricing-card--featured { transform: none; }
}

/* === FAQ ACCORDION === */
.rsp-faq-list { list-style: none; margin: 0; padding: 0; }
.rsp-faq-item {
  border-bottom: 1px solid rgba(13,27,42,0.1);
}
.rsp-bg--navy .rsp-faq-item,
.rsp-bg--navy-alt .rsp-faq-item { border-color: rgba(255,255,255,0.1); }

.rsp-faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.125rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  font-family: inherit;
}
.rsp-faq-item__question {
  font-size: 1rem;
  font-weight: 600;
  color: var(--rsp-ink);
  line-height: 1.4;
}
.rsp-bg--navy .rsp-faq-item__question,
.rsp-bg--navy-alt .rsp-faq-item__question { color: var(--rsp-text-dark); }
.rsp-faq-item__icon {
  color: var(--rsp-teal-text);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.rsp-bg--navy .rsp-faq-item__icon,
.rsp-bg--navy-alt .rsp-faq-item__icon { color: var(--rsp-teal-signal); }
.rsp-faq-item--open .rsp-faq-item__icon { transform: rotate(180deg); }

.rsp-faq-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.rsp-faq-item--open .rsp-faq-item__panel { max-height: 600px; }
.rsp-faq-item__answer {
  padding: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--rsp-muted-light);
  line-height: 1.7;
}
.rsp-bg--navy .rsp-faq-item__answer,
.rsp-bg--navy-alt .rsp-faq-item__answer { color: var(--rsp-muted-dark); }

/* === ABOUT / TEAM === */
.rsp-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.rsp-team-card {
  text-align: center;
  padding: 2rem;
  background: var(--rsp-white);
  border-radius: var(--rsp-card-radius);
  border: 1px solid rgba(13,27,42,0.08);
}
.rsp-team-card__avatar-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem;
  background: rgba(13,196,160,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rsp-team-card__avatar-wrap img { width: 100%; height: 100%; object-fit: cover; }
.rsp-team-card__initials {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rsp-teal-text);
}
.rsp-team-card__name { font-size: 1rem; font-weight: 700; color: var(--rsp-ink); margin-bottom: 0.25rem; }
.rsp-team-card__role { font-size: 0.8rem; color: var(--rsp-teal-text); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.625rem; }
.rsp-team-card__bio { font-size: 0.875rem; color: var(--rsp-muted-light); line-height: 1.6; }

@media (max-width: 768px) { .rsp-team-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .rsp-team-grid { grid-template-columns: 1fr 1fr; } }

/* About - values */
.rsp-values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.rsp-value-item {
  padding: 1.5rem;
  border-left: 3px solid var(--rsp-teal-text);
  background: rgba(10,126,105,0.04);
  border-radius: 0 8px 8px 0;
}
.rsp-value-item__title { font-weight: 700; color: var(--rsp-ink); margin-bottom: 0.375rem; }
.rsp-value-item__desc { font-size: 0.875rem; color: var(--rsp-muted-light); }

/* === CONTACT FORM === */
.rsp-contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.rsp-contact-info h3 { margin-bottom: 1rem; }
.rsp-contact-info-items { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.rsp-contact-info-item { display: flex; gap: 0.875rem; align-items: flex-start; }
.rsp-contact-info-item i { color: var(--rsp-teal-text); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.rsp-contact-info-item__label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--rsp-muted-light); margin-bottom: 0.15rem; }
.rsp-contact-info-item__value { font-size: 0.9rem; color: var(--rsp-ink); }

.rsp-contact-form .rsp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rsp-form-group { margin-bottom: 1.25rem; }
.rsp-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rsp-ink);
  margin-bottom: 0.4rem;
}
.rsp-form-hint {
  font-size: 0.78rem;
  color: var(--rsp-muted-light);
  margin-top: 0.25rem;
}
.rsp-form-success {
  display: none;
  padding: 1rem 1.25rem;
  background: rgba(27,122,90,0.08);
  border: 1px solid rgba(27,122,90,0.3);
  border-radius: 8px;
  color: var(--rsp-teal-text);
  font-size: 0.9rem;
  margin-top: 1rem;
}
.rsp-form-success--visible { display: block; }

@media (max-width: 768px) {
  .rsp-contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .rsp-contact-form .rsp-form-row { grid-template-columns: 1fr; }
}

/* === SECURITY ARCHITECTURE (security.html) === */
.rsp-security-arch {
  background: #0A1620;
  border-radius: var(--rsp-card-radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rsp-security-layer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.rsp-security-layer__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 6px;
  background: rgba(13,196,160,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rsp-teal-signal);
  flex-shrink: 0;
}
.rsp-security-layer__label {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rsp-text-dark);
  margin-bottom: 0.1rem;
}
.rsp-security-layer__desc {
  font-size: 0.78rem;
  color: var(--rsp-muted-dark);
  font-family: 'IBM Plex Mono', monospace;
}
.rsp-security-connector {
  height: 16px;
  width: 2px;
  background: rgba(13,196,160,0.3);
  margin: 0 auto;
  position: relative;
  left: -6px;
}

/* === PATIENT STEPS (for-patients) === */
.rsp-patient-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.rsp-patient-step { text-align: center; }
.rsp-patient-step__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--rsp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--rsp-teal-text);
  box-shadow: 0 2px 12px rgba(13,27,42,0.1);
}
.rsp-bg--navy .rsp-patient-step__icon,
.rsp-bg--navy-alt .rsp-patient-step__icon {
  background: rgba(255,255,255,0.08);
  color: var(--rsp-teal-signal);
  box-shadow: none;
}
.rsp-patient-step__title { font-weight: 700; font-size: 0.9rem; color: var(--rsp-ink); margin-bottom: 0.375rem; }
.rsp-patient-step__desc { font-size: 0.82rem; color: var(--rsp-muted-light); line-height: 1.5; }
.rsp-bg--navy .rsp-patient-step__title { color: var(--rsp-text-dark); }
.rsp-bg--navy .rsp-patient-step__desc { color: var(--rsp-muted-dark); }

@media (max-width: 768px) { .rsp-patient-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .rsp-patient-steps { grid-template-columns: 1fr; } }

/* === DOCS SIDEBAR LAYOUT === */
.rsp-docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}
.rsp-docs-sidebar {
  position: sticky;
  top: calc(var(--rsp-nav-h) + 2rem);
}
.rsp-docs-sidebar__title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rsp-muted-light);
  margin-bottom: 0.75rem;
}
.rsp-docs-sidebar__nav { list-style: none; }
.rsp-docs-sidebar__nav li { border-left: 2px solid rgba(13,27,42,0.08); }
.rsp-docs-sidebar__nav a {
  display: block;
  padding: 0.4rem 0.875rem;
  font-size: 0.875rem;
  color: var(--rsp-muted-light);
  transition: color 0.2s, border-color 0.2s;
  border-left: 2px solid transparent;
  margin-left: -2px;
}
.rsp-docs-sidebar__nav a:hover,
.rsp-docs-sidebar__nav a.rsp-active {
  color: var(--rsp-teal-text);
  border-left-color: var(--rsp-teal-text);
}
.rsp-docs-content { min-width: 0; }

@media (max-width: 900px) {
  .rsp-docs-layout { grid-template-columns: 1fr; }
  .rsp-docs-sidebar { position: static; }
}

/* === EVIDENCE PAGE DETAIL === */
.rsp-evidence-study {
  background: var(--rsp-white);
  border-radius: var(--rsp-card-radius);
  padding: 2rem;
  border: 1px solid rgba(13,27,42,0.08);
  margin-bottom: 1.5rem;
}
.rsp-evidence-study__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.rsp-evidence-study__title { font-size: 1.1rem; font-weight: 600; color: var(--rsp-ink); margin-bottom: 0.25rem; }
.rsp-evidence-study__meta { font-size: 0.8rem; color: var(--rsp-muted-light); }
.rsp-evidence-study__status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.rsp-evidence-study__status--active {
  background: rgba(13,196,160,0.12);
  color: var(--rsp-teal-text);
}
.rsp-evidence-study__status--pending {
  background: rgba(178,90,0,0.1);
  color: var(--rsp-amber);
}
.rsp-evidence-study__body { font-size: 0.9rem; color: var(--rsp-muted-light); line-height: 1.65; }

/* === TIMELINE === */
.rsp-timeline { position: relative; padding-left: 2rem; }
.rsp-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(13,196,160,0.3);
}
.rsp-timeline-item { position: relative; margin-bottom: 2rem; }
.rsp-timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rsp-teal-signal);
  border: 2px solid var(--rsp-navy);
}
.rsp-timeline-item__date { font-family: 'IBM Plex Mono', monospace; font-size: 0.78rem; color: var(--rsp-teal-text); margin-bottom: 0.25rem; }
.rsp-timeline-item__title { font-weight: 700; color: var(--rsp-ink); margin-bottom: 0.25rem; }
.rsp-timeline-item__body { font-size: 0.875rem; color: var(--rsp-muted-light); }
.rsp-bg--navy .rsp-timeline-item__date { color: var(--rsp-teal-signal); }
.rsp-bg--navy .rsp-timeline-item__title { color: var(--rsp-text-dark); }
.rsp-bg--navy .rsp-timeline-item__body { color: var(--rsp-muted-dark); }

/* === BLOG === */
.rsp-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.rsp-blog-grid--featured {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.rsp-blog-card {
  background: var(--rsp-white);
  border-radius: var(--rsp-card-radius);
  overflow: hidden;
  border: 1px solid rgba(13,27,42,0.08);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.rsp-blog-card:hover { box-shadow: 0 8px 32px rgba(13,27,42,0.1); transform: translateY(-2px); }
.rsp-blog-card__cover {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--rsp-sage);
}
.rsp-blog-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.rsp-blog-card:hover .rsp-blog-card__cover img { transform: scale(1.03); }
.rsp-blog-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.rsp-blog-card__cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rsp-teal-text);
  margin-bottom: 0.5rem;
}
.rsp-blog-card__title { font-size: 1.05rem; font-weight: 600; color: var(--rsp-ink); line-height: 1.4; margin-bottom: 0.625rem; }
.rsp-blog-card__excerpt { font-size: 0.875rem; color: var(--rsp-muted-light); line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.rsp-blog-card__meta { font-size: 0.78rem; color: var(--rsp-muted-light); display: flex; gap: 1rem; }
.rsp-blog-card__meta time { color: var(--rsp-muted-light); }

.rsp-blog-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.rsp-blog-filter {
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1.5px solid rgba(13,27,42,0.15);
  color: var(--rsp-muted-light);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.rsp-blog-filter:hover { border-color: var(--rsp-teal-text); color: var(--rsp-teal-text); }
.rsp-blog-filter.rsp-active {
  background: var(--rsp-teal-text);
  border-color: var(--rsp-teal-text);
  color: var(--rsp-white);
}

@media (max-width: 900px) { .rsp-blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .rsp-blog-grid, .rsp-blog-grid--featured { grid-template-columns: 1fr; } }

/* === ARTICLE TEMPLATE === */
.rsp-article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rsp-teal-signal);
  padding: 0.5rem 0;
  transition: gap 0.2s;
}
.rsp-article-back:hover { gap: 0.75rem; color: var(--rsp-teal-signal); }
.rsp-article-hero {
  background: var(--rsp-navy);
  padding: 4rem 0 3rem;
}
.rsp-article-hero__inner {
  max-width: var(--rsp-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.rsp-article-hero__cat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rsp-teal-signal);
  margin-bottom: 1rem;
  display: block;
}
.rsp-article-hero__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--rsp-text-dark);
  margin-bottom: 1rem;
}
.rsp-article-hero__meta { font-size: 0.85rem; color: var(--rsp-muted-dark); display: flex; gap: 1.5rem; flex-wrap: wrap; }

.rsp-article-cover {
  max-width: var(--rsp-max);
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
}
.rsp-article-cover img {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  display: block;
  border-radius: var(--rsp-card-radius);
  object-fit: cover;
  aspect-ratio: 16/9;
}

.rsp-article-body {
  max-width: var(--rsp-max);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.rsp-article-content {
  max-width: 720px;
  margin: 0 auto;
  padding-inline: 0;
}
.rsp-article-content h2 { font-size: 1.6rem; margin-top: 2.5rem; margin-bottom: 1rem; color: var(--rsp-ink); }
.rsp-article-content h3 { font-size: 1.2rem; margin-top: 1.75rem; margin-bottom: 0.75rem; color: var(--rsp-ink); }
.rsp-article-content p { color: var(--rsp-muted-light); margin-bottom: 1.25rem; line-height: 1.75; font-size: 1.02rem; }
.rsp-article-content ul, .rsp-article-content ol {
  margin: 0.75rem 0 1.25rem 1.5rem;
  color: var(--rsp-muted-light);
  font-size: 1.02rem;
}
.rsp-article-content ul { list-style: disc; }
.rsp-article-content ol { list-style: decimal; }
.rsp-article-content li { margin-bottom: 0.5rem; line-height: 1.7; }
.rsp-article-content a { color: var(--rsp-teal-text); text-decoration: underline; }
.rsp-article-content blockquote {
  border-left: 3px solid var(--rsp-teal-text);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(10,126,105,0.04);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--rsp-muted-light);
}
.rsp-article-cta {
  max-width: 720px;
  margin: 3rem auto 0;
  padding: 2rem;
  background: rgba(13,196,160,0.07);
  border-radius: var(--rsp-card-radius);
  border: 1px solid rgba(13,196,160,0.2);
  text-align: center;
}
.rsp-article-cta h3 { font-size: 1.25rem; color: var(--rsp-ink); margin-bottom: 0.625rem; }
.rsp-article-cta p { color: var(--rsp-muted-light); font-size: 0.9rem; margin-bottom: 1rem; }
.rsp-article-related {
  max-width: 720px;
  margin: 3rem auto 0;
}
.rsp-article-related__title { font-size: 1rem; font-weight: 700; color: var(--rsp-muted-light); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.rsp-article-related__list { list-style: none; }
.rsp-article-related__list li { border-top: 1px solid rgba(13,27,42,0.06); }
.rsp-article-related__list a {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--rsp-teal-text);
  transition: color 0.2s;
}
.rsp-article-related__list a:hover { color: var(--rsp-emerald); }

/* === AUTH (login, register, forgot-password) === */
.rsp-auth-page {
  min-height: 100vh;
  background: var(--rsp-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}
.rsp-auth-card {
  background: var(--rsp-navy-alt);
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}
.rsp-auth-card__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.rsp-auth-card__logo img { height: 30px; width: auto; }
.rsp-auth-card__title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--rsp-text-dark);
  text-align: center;
  margin-bottom: 0.5rem;
}
.rsp-auth-card__sub {
  font-size: 0.875rem;
  color: var(--rsp-muted-dark);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.rsp-auth-form { display: flex; flex-direction: column; gap: 1rem; }
.rsp-auth-form .rsp-form-label { color: var(--rsp-muted-dark); font-size: 0.82rem; }
.rsp-auth-form input {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  color: var(--rsp-text-dark);
}
.rsp-auth-form input::placeholder { color: rgba(123,155,175,0.6); }
.rsp-auth-form input:focus {
  border-color: var(--rsp-teal-signal);
  box-shadow: 0 0 0 3px rgba(13,196,160,0.15);
  background: rgba(255,255,255,0.07);
}
.rsp-auth-form__submit {
  width: 100%;
  padding: 0.75rem;
  background: var(--rsp-emerald);
  color: var(--rsp-white);
  border: none;
  border-radius: 7px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  margin-top: 0.5rem;
}
.rsp-auth-form__submit:hover { background: #155e45; box-shadow: 0 4px 14px rgba(27,122,90,0.4); }
.rsp-auth-divider { font-size: 0.78rem; color: var(--rsp-muted-dark); text-align: center; margin: 0.5rem 0; }
.rsp-auth-links { text-align: center; margin-top: 1.25rem; }
.rsp-auth-links a { font-size: 0.85rem; color: var(--rsp-teal-signal); font-weight: 600; }
.rsp-auth-links a:hover { text-decoration: underline; }
.rsp-auth-links span { color: var(--rsp-muted-dark); font-size: 0.85rem; }
.rsp-auth-legal {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(123,155,175,0.6);
  line-height: 1.6;
}
.rsp-auth-legal a { color: var(--rsp-muted-dark); }
.rsp-auth-legal a:hover { color: var(--rsp-teal-signal); }

/* Auth message states */
.rsp-auth-message {
  padding: 0.75rem 1rem;
  border-radius: 7px;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}
.rsp-auth-message--success {
  background: rgba(27,122,90,0.12);
  border: 1px solid rgba(27,122,90,0.3);
  color: #3DDC84;
}
.rsp-auth-message--error {
  background: rgba(178,90,0,0.1);
  border: 1px solid rgba(178,90,0,0.25);
  color: #F4A444;
}
.rsp-auth-view--confirm { display: none; }
.rsp-auth-view--confirm.rsp-auth-view--active { display: block; }
.rsp-auth-view--form.rsp-auth-view--hidden { display: none; }

/* === LEGAL PAGE PROSE === */
.rsp-legal-page {
  background: var(--rsp-white);
}
.rsp-legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  color: var(--rsp-ink);
}
.rsp-legal-content h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.rsp-legal-content .rsp-legal-updated {
  font-size: 0.82rem;
  color: var(--rsp-muted-light);
  margin-bottom: 2.5rem;
  font-style: italic;
}
.rsp-legal-content h2 { font-size: 1.25rem; margin-top: 2.5rem; margin-bottom: 0.75rem; color: var(--rsp-ink); }
.rsp-legal-content h3 { font-size: 1rem; font-weight: 700; margin-top: 1.5rem; margin-bottom: 0.5rem; color: var(--rsp-ink); font-family: 'IBM Plex Sans', system-ui, sans-serif; }
.rsp-legal-content p { color: var(--rsp-muted-light); margin-bottom: 1rem; line-height: 1.75; font-size: 0.95rem; }
.rsp-legal-content ul { list-style: disc; margin: 0.75rem 0 1rem 1.5rem; color: var(--rsp-muted-light); font-size: 0.95rem; }
.rsp-legal-content li { margin-bottom: 0.375rem; line-height: 1.7; }
.rsp-legal-content a { color: var(--rsp-teal-text); }
.rsp-legal-content strong { color: var(--rsp-ink); }

/* === FINAL CTA SECTION === */
.rsp-cta-section {
  background: var(--rsp-navy);
  text-align: center;
}
.rsp-cta-section h2 { color: var(--rsp-text-dark); margin-bottom: 1rem; }
.rsp-cta-section p { color: var(--rsp-muted-dark); font-size: 1.05rem; max-width: 560px; margin: 0 auto 2rem; }
.rsp-cta-section .rsp-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* === PILOT REQUEST FORM (modal or inline) === */
.rsp-pilot-form-section {
  background: var(--rsp-white);
}
.rsp-pilot-form-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--rsp-white);
  border-radius: var(--rsp-card-radius);
  padding: 2.5rem;
  border: 1px solid rgba(13,27,42,0.1);
  box-shadow: 0 8px 40px rgba(13,27,42,0.08);
}
.rsp-pilot-form-card h2 { text-align: center; margin-bottom: 0.5rem; }
.rsp-pilot-form-card__sub { text-align: center; color: var(--rsp-muted-light); font-size: 0.9rem; margin-bottom: 2rem; }

/* === PROBLEM SECTION CARDS === */
.rsp-problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.rsp-problem-card {
  background: var(--rsp-white);
  border-radius: var(--rsp-card-radius);
  padding: 1.75rem;
  border: 1px solid rgba(13,27,42,0.08);
}
.rsp-problem-card__stat {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--rsp-alert-amber);
  line-height: 1;
  margin-bottom: 0.375rem;
}
.rsp-problem-card__label { font-weight: 600; color: var(--rsp-ink); margin-bottom: 0.25rem; }
.rsp-problem-card__body { font-size: 0.875rem; color: var(--rsp-muted-light); line-height: 1.6; }
@media (max-width: 640px) { .rsp-problem-grid { grid-template-columns: 1fr; } }

/* === INFO PANEL (two-column text + visual) === */
.rsp-info-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.rsp-info-panel--flip { direction: rtl; }
.rsp-info-panel--flip > * { direction: ltr; }
.rsp-info-panel__visual { border-radius: var(--rsp-card-radius); overflow: hidden; }
.rsp-info-panel__text h2 { margin-bottom: 0.875rem; }
.rsp-info-panel__text p { color: var(--rsp-muted-light); margin-bottom: 1rem; }
.rsp-bg--navy .rsp-info-panel__text p,
.rsp-bg--navy-alt .rsp-info-panel__text p { color: var(--rsp-muted-dark); }

@media (max-width: 768px) {
  .rsp-info-panel, .rsp-info-panel--flip { grid-template-columns: 1fr; direction: ltr; }
}

/* === NOTIFICATION STRIP === */
.rsp-notification-strip {
  background: var(--rsp-teal-text);
  color: var(--rsp-white);
  text-align: center;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  position: relative;
  z-index: 1001;
}
.rsp-notification-strip a { color: var(--rsp-white); text-decoration: underline; }

/* === FOOTER === */
.rsp-footer {
  background: var(--rsp-navy-alt);
  padding: 4rem 0 2rem;
}
.rsp-footer__inner {
  max-width: var(--rsp-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.rsp-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.rsp-footer__brand-col .rsp-footer__logo { margin-bottom: 1rem; display: block; }
.rsp-footer__logo img { height: 28px; width: auto; }
.rsp-footer__tagline { font-size: 0.875rem; color: var(--rsp-muted-dark); line-height: 1.6; max-width: 280px; }
.rsp-footer__contact { margin-top: 1.5rem; font-size: 0.8rem; color: var(--rsp-muted-dark); display: flex; flex-direction: column; gap: 0.375rem; }
.rsp-footer__contact a { color: var(--rsp-muted-dark); transition: color 0.2s; }
.rsp-footer__contact a:hover { color: var(--rsp-teal-signal); }
.rsp-footer__col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--rsp-text-dark);
  margin-bottom: 1rem;
}
.rsp-footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.rsp-footer__links a {
  font-size: 0.875rem;
  color: var(--rsp-muted-dark);
  transition: color 0.2s;
}
.rsp-footer__links a:hover { color: var(--rsp-teal-signal); }
.rsp-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.rsp-footer__copy { font-size: 0.8rem; color: rgba(123,155,175,0.7); }
.rsp-footer__bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.rsp-footer__bottom-links a { font-size: 0.8rem; color: rgba(123,155,175,0.7); transition: color 0.2s; }
.rsp-footer__bottom-links a:hover { color: var(--rsp-teal-signal); }

@media (max-width: 900px) {
  .rsp-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .rsp-footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .rsp-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--rsp-navy-alt);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
}
.cookie-banner__inner {
  max-width: var(--rsp-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cookie-banner__text { font-size: 0.875rem; color: var(--rsp-muted-dark); flex: 1; min-width: 240px; }
.cookie-banner__text a { color: var(--rsp-teal-signal); }
.cookie-banner__actions { display: flex; gap: 0.75rem; flex-shrink: 0; flex-wrap: wrap; }
.cookie-banner__btn {
  padding: 0.5rem 1.125rem;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s;
}
.cookie-banner__btn--primary {
  background: var(--rsp-emerald);
  color: var(--rsp-white);
  border-color: var(--rsp-emerald);
}
.cookie-banner__btn--primary:hover { background: #155e45; border-color: #155e45; }
.cookie-banner__btn--secondary {
  background: transparent;
  color: var(--rsp-muted-dark);
  border-color: rgba(123,155,175,0.4);
}
.cookie-banner__btn--secondary:hover { border-color: var(--rsp-muted-dark); color: var(--rsp-text-dark); }

@media (max-width: 640px) {
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; }
}

/* === ACCESSIBILITY & ANIMATION === */
.rsp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
.rsp-skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--rsp-navy);
  color: var(--rsp-text-dark);
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}
.rsp-skip-link:focus { top: 0; }

/* IntersectionObserver reveal */
.rsp-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.rsp-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}
.rsp-reveal--delay-1 { transition-delay: 0.1s; }
.rsp-reveal--delay-2 { transition-delay: 0.2s; }
.rsp-reveal--delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .rsp-reveal { opacity: 1; transform: none; transition: none; }
}

/* === DIVIDER === */
.rsp-divider {
  height: 1px;
  background: rgba(13,27,42,0.1);
  border: none;
  margin: 0;
}
.rsp-bg--navy .rsp-divider,
.rsp-bg--navy-alt .rsp-divider { background: rgba(255,255,255,0.08); }

/* === 404 PAGE === */
.rsp-404-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}
.rsp-404-page__code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 6rem;
  font-weight: 700;
  color: var(--rsp-teal-text);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.rsp-404-page h1 { font-size: 1.75rem; margin-bottom: 0.875rem; }
.rsp-404-page p { color: var(--rsp-muted-light); margin-bottom: 2rem; }

/* === PILOT MODAL === */
.rsp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9,18,28,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.rsp-modal-overlay--open {
  opacity: 1;
  pointer-events: auto;
}
.rsp-modal {
  background: var(--rsp-white);
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 520px;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.25s;
  max-height: 90vh;
  overflow-y: auto;
}
.rsp-modal-overlay--open .rsp-modal { transform: translateY(0); }
.rsp-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1.5px solid rgba(13,27,42,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--rsp-muted-light);
  font-size: 0.875rem;
  background: transparent;
  transition: background 0.2s;
}
.rsp-modal__close:hover { background: rgba(13,27,42,0.06); }
.rsp-modal__title { font-size: 1.5rem; margin-bottom: 0.375rem; color: var(--rsp-ink); }
.rsp-modal__sub { font-size: 0.875rem; color: var(--rsp-muted-light); margin-bottom: 1.5rem; }
.rsp-modal-form { display: block; }
.rsp-modal-confirm { display: none; text-align: center; padding: 1rem 0; }
.rsp-modal-confirm--active { display: block; }
.rsp-modal-confirm__icon { font-size: 2.5rem; color: var(--rsp-teal-text); margin-bottom: 0.875rem; }
.rsp-modal-confirm__title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.rsp-modal-confirm__body { font-size: 0.9rem; color: var(--rsp-muted-light); }

/* Select/checkbox styling */
select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5A6A' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

/* === PHASE 2C FIXES === */

/* BLOCK-1: Pricing toggle input (JS state hook) */
.rsp-pricing-section { /* JS state hook, no styling */ }
.rsp-pricing-toggle__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.rsp-pricing-toggle__label--monthly,
.rsp-pricing-toggle__label--annual {
  /* color-neutral label state inheriting from .rsp-pricing-toggle__label */
}
.rsp-price--monthly { display: inline; }
.rsp-price--annual { display: none; }
.rsp-pricing--annual .rsp-price--monthly { display: none; }
.rsp-pricing--annual .rsp-price--annual { display: inline; }

/* BLOCK-2: Two-col-feature BEM children */
.rsp-two-col-feature__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.rsp-two-col-feature__visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
@media (max-width: 768px) {
  .rsp-two-col-feature__text,
  .rsp-two-col-feature__visual {
    flex: none;
    width: 100%;
  }
}

/* BLOCK-3: Bar value dark override on white chart background */
.rsp-study-chart .rsp-bar-value {
  color: var(--rsp-ink);
}

/* BLOCK-4: Darken amber pending status to pass 4.5:1 */
.rsp-evidence-study__status--pending {
  color: #8A4500;
}

/* BLOCK-5: Hide desktop nav links at mobile to prevent overflow */
@media (max-width: 768px) {
  .rsp-nav__links { display: none; }
  .rsp-nav__actions .rsp-btn { display: none; }
  .rsp-hamburger { display: flex; }
}

/* OVERFLOW FIXES: mobile viewport @375px */
@media (max-width: 480px) {
  .rsp-btn--lg { white-space: normal; text-align: center; }
  .rsp-team-card { padding: 1.5rem 1rem; }
}

/* CONTRAST FIX: subhero has navy bg, eyebrow must use bright teal */
.rsp-subhero .rsp-eyebrow { color: var(--rsp-teal-signal); }
