/* healhou.com — healhou-home.css | Version: 3.9 | 2026-04-15 — dialog: fixed viewport centering; waitlist dialogs bottom-anchored on narrow screens */

:root {
  --tile-preview-max: 11rem;
  --faq-preview-max: 4.75rem;
  --bg: #f4f8f6;
  --surface: #ffffff;
  --muted: #5c6f68;
  --text: #243330;
  --accent: #4f7a6c;
  --accent-soft: #c8ddd4;
  --edge: 1.25rem;
  --edge-lg: 1.75rem;
  --shadow: 0 8px 32px rgba(36, 51, 48, 0.08);
  /* Logo ~3.75rem tall + vertical breathing room (logo is 50% larger than 2.5rem) */
  --header-h: 5.25rem;
  /* Scrolling strip below fixed header (matches wrapped announcement height for anchor offset) */
  --banner-h: clamp(2.75rem, 12vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

#main {
  scroll-margin-top: calc(var(--header-h) + var(--banner-h));
}

.tile[id],
#location,
#mind-body-nav,
#evidence,
#waitlist {
  scroll-margin-top: calc(var(--header-h) + var(--banner-h));
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  padding-top: var(--header-h);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #3d5f54;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 0.5rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 2101;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 2rem);
  background: rgba(244, 248, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(79, 122, 108, 0.12);
  box-shadow: 0 4px 24px rgba(36, 51, 48, 0.04);
}

/* Scrolling announcement (pattern aligned with hmdhou.com houston-location moving-banner; colors: dark green / light text) */
.healhou-banner.moving-banner {
  background: #0d3d2e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: visible;
  white-space: normal;
  min-height: min-content;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  padding: clamp(0.45rem, 0.6vw + 0.35rem, 0.85rem) clamp(1rem, 4vw, 2rem);
}

.healhou-banner.moving-banner .moving-banner__text {
  text-align: center;
  margin: 0;
  max-width: 72rem;
  width: 100%;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.healhou-banner.moving-banner .moving-banner__text a {
  color: inherit;
  text-decoration: underline;
  font-weight: 700;
}

.moving-banner__track {
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  padding: 0.45rem 0;
  will-change: transform;
  animation: healhouBannerScroll 36s linear infinite;
}

.moving-banner__text {
  color: #ecfdf5;
  font-weight: 600;
  font-size: clamp(0.8rem, 1.9vw, 0.95rem);
  letter-spacing: 0.02em;
}

@keyframes healhouBannerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .moving-banner__track {
    animation: none;
    justify-content: center;
    flex-wrap: wrap;
    white-space: normal;
    text-align: center;
    padding: 0.5rem 1rem;
    gap: 0;
  }

  .healhou-banner.moving-banner {
    white-space: normal;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  height: 3.75rem;
  width: auto;
  border-radius: 0.5rem;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  border: none;
  background: var(--accent-soft);
  color: var(--text);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--muted);
  padding: 0.35rem 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

@media (max-width: 52rem) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(79, 122, 108, 0.12);
    padding: 1rem clamp(1rem, 4vw, 2rem) 1.25rem;
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
}

.hero {
  max-width: 58rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem) clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.hero-tagline {
  margin: 0 0 1rem;
  font-size: clamp(1.33rem, 3.08vw, 1.54rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--accent);
}

.hero-tagline .tagline-sep {
  margin: 0 0.35em;
  font-weight: 500;
  opacity: 0.65;
}

.hero-tagline sup.tm {
  font-size: 0.55em;
  font-weight: 700;
  margin-left: 0.12em;
  vertical-align: super;
  line-height: 0;
}

.hero-feelit-logo {
  margin: 0 auto 1rem;
  max-width: min(22rem, 94%);
}

.hero-feelit-logo img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.hero-mind-intro {
  margin: 0 0 0.75rem;
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--muted);
}

.hero-mind-intro .mind-body-open {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.hero-mind-intro .mind-body-open:hover,
.hero-mind-intro .mind-body-open:focus-visible {
  color: #3d5f54;
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.hero-mind-sep {
  margin: 0 0.35em;
  font-weight: 500;
  opacity: 0.65;
}

.hero h1 {
  font-size: clamp(1.25rem, 3.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 1rem;
  color: var(--text);
}

.hero p.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--muted);
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.pill {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: var(--accent-soft);
  color: var(--text);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}

.tiles {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem) clamp(3rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  isolation: isolate;
}

/* Full official logo as one watermark behind the tile grid */
.tiles::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: min(42rem, 92%);
  max-height: min(28rem, 85%);
  background: url("../images/heal_Houston_Official_Logo.JPG") center / contain no-repeat;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
  filter: saturate(1.1);
}

.tile {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--edge-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(79, 122, 108, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(36, 51, 48, 0.1);
}

.tile h2 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.tile p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
}

.tile-address {
  line-height: 1.55;
}

.tile-address a {
  text-decoration: none;
  font-weight: 500;
}

.tile-address a:hover {
  text-decoration: underline;
}

.tile p + p.eaet-credit {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(79, 122, 108, 0.12);
  font-size: 0.88rem;
  line-height: 1.55;
}

.tile p + .waitlist-form {
  margin-top: 0.85rem;
}

.tile__toggle + .waitlist-form {
  margin-top: 0.85rem;
}

/* Expandable preview: heading + ~2 sentences, gradient fade, Read more / caret */
.tile--expandable {
  display: flex;
  flex-direction: column;
  min-height: 0;
  align-self: stretch;
}

.tile--expandable:not(.tile--expanded):not(.tile--no-overflow) {
  min-height: 19rem;
}

.tile--expandable.tile--expanded {
  min-height: 0;
}

.tile--expandable.tile--no-overflow:not(.tile--expanded) {
  min-height: 0;
}

.tile__collapsible {
  position: relative;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.tile--expandable:not(.tile--expanded):not(.tile--no-overflow) .tile__collapsible {
  max-height: var(--tile-preview-max);
}

.tile--expandable.tile--expanded .tile__collapsible {
  max-height: 4000px;
}

.tile--expandable.tile--no-overflow .tile__collapsible {
  max-height: none;
  overflow: visible;
}

@media (prefers-reduced-motion: reduce) {
  .tile__collapsible {
    transition: none;
  }
}

.tile--expandable:not(.tile--expanded):not(.tile--no-overflow) .tile__collapsible::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.25rem;
  background: linear-gradient(to bottom, transparent, var(--surface));
  pointer-events: none;
}

.tile--expandable.tile--expanded .tile__collapsible::after,
.tile--expandable.tile--no-overflow .tile__collapsible::after {
  display: none;
}

.tile__collapsible > p + p {
  margin-top: 0.65rem;
}

.tile__toggle {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.35rem 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: -0.1rem;
}

.tile__toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 0.2rem;
}

.tile__toggle:hover {
  text-decoration: underline;
}

.tile__toggle-icon {
  display: inline-block;
  font-size: 0.65rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.tile--expandable.tile--expanded .tile__toggle-icon {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .tile__toggle-icon {
    transition: none;
  }
}

/* FAQ: question always visible; answer preview ~2 lines per item (one column per FAQ tile) */
.tile--faq .faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tile--faq .faq-item {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(79, 122, 108, 0.12);
}

.tile--faq .faq-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.waitlist-location {
  margin: 0 0 0.75rem;
}

.faq-item__question {
  margin: 0 0 0.35rem;
  font-size: inherit;
  line-height: 1.45;
}

.faq-item__question strong {
  color: var(--text);
  font-weight: 600;
}

.faq-item.tile--expandable:not(.tile--expanded):not(.tile--no-overflow) {
  min-height: 0;
}

.faq-item.tile--expandable:not(.tile--expanded):not(.tile--no-overflow) .tile__collapsible {
  max-height: var(--faq-preview-max);
}

.waitlist-form {
  margin: 0;
}

.waitlist-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.waitlist-email-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 0.95rem;
  border: 1px solid rgba(79, 122, 108, 0.25);
  border-radius: var(--edge);
  background: #fff;
  color: var(--text);
}

.waitlist-email-input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

.waitlist-button-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0.75rem;
}

.waitlist-btn {
  padding: 0.55rem 1.25rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--edge);
  cursor: pointer;
}

.waitlist-btn:hover,
.waitlist-btn:focus-visible {
  background: #3d5f54;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.section {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem) clamp(2.5rem, 5vw, 3.5rem);
  scroll-margin-top: calc(var(--header-h) + var(--banner-h));
}

.section h2 {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  margin: 0 0 1rem;
  color: var(--text);
}

.section p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.section-mind-bridge {
  padding-top: 0;
}

/* Center the interactive "mind | body" line on the page */
.section-mind-bridge .mind-bridge-mindbody {
  text-align: center;
  width: 100%;
}

.mind-bridge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem 1.25rem;
}

.mind-bridge-seedling {
  flex: 0 0 auto;
  width: clamp(3rem, 9vw, 4.5rem);
  height: auto;
  object-fit: contain;
  border-radius: 0.35rem;
  margin-top: 0.15rem;
}

.mind-body-bridge {
  flex: 1 1 min(100%, 16rem);
  margin: 0;
  padding: clamp(0.9rem, 2vw, 1.1rem);
  background: rgba(200, 221, 212, 0.35);
  border-radius: var(--edge);
  border-left: 3px solid var(--accent);
  font-size: 0.98rem;
}

.callout {
  background: linear-gradient(135deg, #e8f2ed 0%, #dceae3 100%);
  border-radius: var(--edge-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid rgba(79, 122, 108, 0.15);
  margin-top: 1rem;
}

.callout p:last-child {
  margin-bottom: 0;
}

.footnote {
  font-size: 0.88rem;
  color: var(--muted);
}

.site-footer {
  background: #e4ede8;
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem);
  border-top: 1px solid rgba(79, 122, 108, 0.12);
  border-radius: var(--edge-lg) var(--edge-lg) 0 0;
  margin-top: 2rem;
}

.site-footer-inner {
  max-width: 58rem;
  margin: 0 auto;
}

.site-footer p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer strong {
  color: var(--text);
}

.footer-credit {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.footer-credit strong {
  color: var(--muted);
  font-weight: 600;
}

.footer-credit a {
  font-weight: 500;
}

.footer-legal {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-legal a {
  font-weight: 600;
  color: var(--accent);
  text-decoration-thickness: 1px;
}

.footer-legal a:hover {
  color: #3d5f54;
}

/* Standalone legal pages (e.g. privacy-policy.html; no top marquee banner) */
.legal-page {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 6vw, 4rem);
  scroll-margin-top: var(--header-h);
}

.legal-page h1 {
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  color: var(--text);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.legal-effective {
  margin: 0 0 1.25rem !important;
  font-size: 0.92rem !important;
  color: var(--muted) !important;
}

.legal-page h2 {
  font-size: 1.12rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--text);
  font-weight: 600;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 0.98rem;
}

.legal-page ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.legal-page li {
  margin-bottom: 0.35rem;
}

/* <dialog> must stay position:fixed in the viewport; author `position:relative` breaks UA modal placement on mobile (dialogs can render off-screen). */
.mind-body-dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  width: min(28rem, calc(100vw - 2rem));
  max-height: min(90dvh, 90vh);
  margin: 0;
  padding: clamp(1.25rem, 4vw, 1.75rem);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(79, 122, 108, 0.15);
  border-radius: var(--edge-lg);
  box-shadow: var(--shadow);
  background: var(--surface);
  color: var(--text);
}

/* Waitlist modals: keep near the form / thumb zone on phones instead of vertically centered above the fold */
@media (max-width: 36rem) {
  .waitlist-human-dialog,
  .waitlist-success-dialog {
    top: auto;
    bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    max-height: min(78dvh, 85vh);
  }
}

.mind-body-dialog::backdrop {
  background: rgba(36, 51, 48, 0.35);
  backdrop-filter: blur(4px);
}

.mind-body-dialog h2 {
  margin: 0 0 0.75rem;
  padding-right: 2.5rem;
  font-size: 1.2rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.mind-body-dialog p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.6;
}

.dialog-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-close:hover,
.dialog-close:focus-visible {
  background: #b8d4c8;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.waitlist-human-dialog .waitlist-human-lead {
  margin: 0 0 1rem;
}

.waitlist-human-checklabel {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.45;
  cursor: pointer;
}

.waitlist-human-checklabel input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--accent);
}

.waitlist-human-error {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  color: #b00020;
}

.waitlist-human-error[hidden] {
  display: none !important;
}

.waitlist-human-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

.waitlist-human-cancel,
.waitlist-human-confirm {
  padding: 0.5rem 1rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--edge);
  cursor: pointer;
}

.waitlist-human-cancel {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(79, 122, 108, 0.35);
}

.waitlist-human-cancel:hover,
.waitlist-human-cancel:focus-visible {
  background: rgba(79, 122, 108, 0.08);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.waitlist-human-confirm {
  color: #fff;
  background: var(--accent);
  border: none;
}

.waitlist-human-confirm:hover,
.waitlist-human-confirm:focus-visible {
  background: #3d5f54;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.waitlist-success-dialog h2 {
  margin-bottom: 0.65rem;
}

.waitlist-success-message {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
}

.waitlist-success-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

/* --- Research snapshot (index v2.8) --- */
.research-snapshot-section {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2rem, 5vw, 3rem);
  border-top: 1px solid rgba(79, 122, 108, 0.12);
  background: linear-gradient(180deg, rgba(200, 221, 212, 0.2) 0%, var(--bg) 48%);
}

.rs-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.rs-intro {
  background: var(--surface);
  border-radius: var(--edge-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(79, 122, 108, 0.1);
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.rs-intro h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.6rem);
  color: var(--text);
}

.rs-subh {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
}

.rs-intro p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
}

.rs-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: clamp(0.85rem, 2vw, 1.25rem);
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.rs-stat {
  background: var(--surface);
  border-radius: var(--edge-lg);
  padding: clamp(1rem, 2.5vw, 1.35rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(79, 122, 108, 0.1);
  text-align: center;
}

.rs-stat-num {
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.rs-stat-label {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

.rs-stat-cite {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
}

.rs-stat-note {
  margin: 0;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.4;
}

.rs-citation--compact {
  text-align: left;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(79, 122, 108, 0.12);
}

.rs-citation--compact p {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}

.rs-cite-links {
  margin: 0.35rem 0 0 !important;
  font-size: 0.78rem !important;
}

.rs-evidence-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 2vw, 1.15rem);
}

.rs-card {
  background: var(--surface);
  border-radius: var(--edge-lg);
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(79, 122, 108, 0.1);
}

.rs-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: #5c6bc0;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.rs-badge--meta {
  background: #00897b;
}

.rs-badge--review {
  background: #546e7a;
}

.rs-card-title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.rs-citation {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 0.75rem;
  padding: 0.75rem 0.85rem;
  background: rgba(200, 221, 212, 0.25);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--edge) var(--edge) 0;
}

.rs-citation p {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
}

.rs-citation p:last-child {
  margin-bottom: 0;
}

.rs-meta-note {
  font-size: 0.9rem;
  margin: 0 0 0.65rem;
  color: var(--muted);
}

.rs-card > p:last-child {
  margin-bottom: 0;
}
