/* Reference & Brand Experience system (bh- / rf-). Light-only by construction.
   Inherits each site's bespoke src/theme/theme.css palette (--brand-700,
   --brand, --brand-tint, --brand-surface, --paper, --band, --ink, --hairline)
   and bespoke display/body typography. */

.rf-page {
  --rf-p: var(--brand-700, var(--rf-primary, #1f5f55));
  --rf-pd: color-mix(in srgb, var(--brand-700, var(--rf-primary, #16463f)) 74%, #06090c);
  --rf-a: var(--brand, var(--rf-accent, #8a4a2d));
  --rf-tint: var(--brand-tint, #f2efe9);
  --rf-surface: var(--brand-surface, #f8f6f2);
  --rf-paper: var(--paper, #fbfaf7);
  --rf-bg-soft: var(--band, var(--rf-soft, #f5f3ef));
  --rf-ink: var(--ink, #14171c);
  --rf-ink-2: var(--ink-muted, #4f5761);
  --rf-ink-3: color-mix(in srgb, var(--ink-muted, #5c6470) 88%, #ffffff);
  --rf-line: var(--hairline, #e6e3dc);
  --rf-line-2: color-mix(in srgb, var(--hairline, #d8d4cb) 76%, var(--ink, #14171c));
  --rf-radius: 20px;
  --rf-shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 12px 34px rgba(16, 24, 32, .07);
  --rf-shadow-lg: 0 4px 12px rgba(16, 24, 32, .05), 0 24px 60px rgba(16, 24, 32, .10);
  font-family: var(--font-sans);
  color: var(--rf-ink);
  background: var(--rf-paper);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
.rf-page *, .rf-page *::before, .rf-page *::after { box-sizing: border-box; }
.rf-page a { color: var(--rf-p); text-decoration: none; }
.rf-page a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rf-page h1, .rf-page h2, .rf-page h3 { font-family: var(--font-display); color: var(--rf-ink); margin: 0; font-weight: 520; letter-spacing: -.02em; text-wrap: balance; }
.rf-page p { margin: 0; }
.rf-shell { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 900px) { .rf-shell { padding-inline: 44px; } }
.rf-icon { width: 16px; height: 16px; flex: none; }

/* type */
.rf-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--rf-p); margin-bottom: 12px !important; }
.rf-meta { font-size: 14px; color: var(--rf-ink-3); margin-top: 14px !important; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rf-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--rf-p) !important; }
.rf-flag { color: #8a5a12; font-size: 14px; }
.rf-claim { font-weight: 650; font-size: 18px; line-height: 1.35; }
.rf-h2 { font-size: clamp(24px, 4vw, 32px); line-height: 1.15; margin: 40px 0 18px !important; }

/* crumbs */
.rf-crumbs { padding-top: 18px; font-size: 14px; color: var(--rf-ink-3); }
.rf-crumbs .crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.rf-crumbs .crumb li + li::before { content: "/"; margin-right: 8px; color: var(--rf-line-2); }
.rf-crumbs .crumb a { color: var(--rf-ink-2); }

/* buttons */
.rf-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.rf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--rf-p); color: #fff !important; font-weight: 620; font-size: 15.5px;
  letter-spacing: -.005em; text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(15, 23, 32, .08);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.rf-btn:hover { background: var(--rf-pd); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(15, 23, 32, .14); }
.rf-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--rf-p) 45%, white); outline-offset: 2px; }
.rf-btn-ghost { background: rgba(255, 255, 255, .78); color: var(--rf-ink) !important; border: 1px solid var(--rf-line-2); box-shadow: none; }
.rf-btn-ghost:hover { background: #fff; border-color: var(--rf-p); color: var(--rf-p) !important; box-shadow: 0 4px 14px rgba(15, 23, 32, .06); }
.rf-btn-light { background: #fff; color: var(--rf-pd) !important; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.rf-btn-light:hover { background: var(--rf-paper); color: var(--rf-pd) !important; }
.rf-btn-glass { background: rgba(255, 255, 255, .14); color: #fff !important; border: 1px solid rgba(255, 255, 255, .38); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: none; }
.rf-btn-glass:hover { background: rgba(255, 255, 255, .24); }

/* ========================================================================
   WORLD-CLASS BRAND HERO ARCHETYPES (bh-*)
   4 distinct visual systems: cinema | split | magazine | atelier
   ======================================================================== */

.bh-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
  background: var(--rf-tint); color: var(--rf-p);
  border: 1px solid color-mix(in srgb, var(--rf-p) 18%, transparent);
  margin-bottom: 20px !important;
}
.bh-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rf-p); flex: none; }

/* --- Archetype 1: CINEMA (Full-bleed atmospheric luxury editorial) --- */
.bh-cinema {
  position: relative; min-height: 560px; display: flex; flex-direction: column;
  justify-content: space-between; overflow: hidden; color: #fff;
  background: var(--rf-pd);
}
@media (min-width: 960px) { .bh-cinema { min-height: 660px; } }
.bh-cinema-media { position: absolute; inset: 0; z-index: 0; }
.bh-cinema-media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; display: block; }
.bh-cinema-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(102deg, color-mix(in srgb, var(--rf-pd) 90%, #06090c) 0%, color-mix(in srgb, var(--rf-pd) 66%, #06090c) 46%, rgba(8, 12, 16, .18) 100%),
    linear-gradient(0deg, rgba(6, 9, 12, .72) 0%, rgba(6, 9, 12, .12) 48%, rgba(6, 9, 12, .22) 100%);
}
.bh-cinema-body { position: relative; z-index: 2; padding: 64px 0 44px; flex: 1; display: flex; align-items: center; }
@media (min-width: 960px) { .bh-cinema-body { padding: 84px 0 56px; } }
.bh-cinema-copy { max-width: 660px; }
.bh-cinema .bh-pill { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bh-cinema .bh-pill-dot { background: #fff; }
.bh-cinema h1 { color: #fff !important; font-size: clamp(38px, 5.8vw, 68px); line-height: 1.02; letter-spacing: -.03em; font-weight: 480; }
.bh-cinema-lead { margin-top: 20px !important; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .88); max-width: 46ch; }
.bh-cinema-bar {
  position: relative; z-index: 2;
  background: rgba(8, 12, 16, .34);
  border-top: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.bh-cinema-bar-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; padding-block: 18px;
}
@media (min-width: 900px) { .bh-cinema-bar-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 20px; } }
.bh-cinema-bar-grid div { display: grid; gap: 2px; }
.bh-cinema-bar-grid strong { font-size: 14.5px; font-weight: 650; color: #fff; letter-spacing: -.005em; }
.bh-cinema-bar-grid span { font-size: 13px; color: rgba(255, 255, 255, .74); line-height: 1.35; }

/* --- Archetype 2: SPLIT (Asymmetric luxury editorial split) --- */
.bh-split {
  padding: 44px 0 60px;
  background:
    radial-gradient(64% 70% at 88% 12%, color-mix(in srgb, var(--rf-tint) 75%, transparent), transparent 72%),
    linear-gradient(180deg, var(--rf-surface) 0%, var(--rf-paper) 65%, #ffffff 100%);
  border-bottom: 1px solid var(--rf-line);
}
@media (min-width: 960px) { .bh-split { padding: 64px 0 80px; } }
.bh-split-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .bh-split-grid { grid-template-columns: 1.08fr .92fr; gap: 60px; } }
.bh-split h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.03; letter-spacing: -.03em; font-weight: 480; }
.bh-split-lead { margin-top: 20px !important; font-size: clamp(17px, 1.45vw, 19.5px); line-height: 1.6; color: var(--rf-ink-2); max-width: 44ch; }
.bh-split-metrics {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--rf-line);
}
.bh-split-metrics strong { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 540; color: var(--rf-ink); line-height: 1.1; }
.bh-split-metrics span { display: block; margin-top: 5px; font-size: 13px; color: var(--rf-ink-2); line-height: 1.35; }
.bh-split-frame {
  position: relative; border-radius: 28px; overflow: hidden;
  aspect-ratio: 4 / 5; max-height: 560px; width: 100%;
  background: var(--rf-bg-soft); border: 1px solid var(--rf-line); box-shadow: var(--rf-shadow-lg);
}
.bh-split-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bh-split-badge {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  padding: 14px 18px; border-radius: 18px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 10px 30px rgba(15, 23, 32, .12);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.bh-split-badge strong { display: block; font-size: 14.5px; color: var(--rf-ink); font-weight: 650; }
.bh-split-badge span { display: block; font-size: 12.5px; color: var(--rf-ink-2); margin-top: 1px; }
.bh-split-badge-price { flex: none; font-size: 13.5px; font-weight: 700; color: var(--rf-p); background: var(--rf-tint); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }

/* --- Archetype 3: MAGAZINE (Centered architectural magazine cover) --- */
.bh-mag {
  padding: 52px 0 64px;
  background: linear-gradient(180deg, var(--rf-paper) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--rf-line);
}
@media (min-width: 960px) { .bh-mag { padding: 72px 0 80px; } }
.bh-mag-head { text-align: center; max-width: 780px; margin-inline: auto; }
.bh-mag-head h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -.032em; font-weight: 460; }
.bh-mag-lead { margin: 20px auto 0 !important; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.58; color: var(--rf-ink-2); max-width: 50ch; }
.bh-mag-head .rf-row { justify-content: center; }
.bh-mag-stage { margin-top: 44px; position: relative; }
.bh-mag-photo {
  position: relative; border-radius: 28px; overflow: hidden;
  aspect-ratio: 16 / 10; background: var(--rf-bg-soft);
  border: 1px solid var(--rf-line); box-shadow: var(--rf-shadow-lg);
}
@media (min-width: 900px) { .bh-mag-photo { aspect-ratio: 21 / 9; } }
.bh-mag-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; display: block; }
.bh-mag-strip {
  position: relative; z-index: 2; max-width: 980px; margin: -36px auto 0;
  background: #fff; border: 1px solid var(--rf-line); border-radius: 22px;
  box-shadow: var(--rf-shadow-lg); padding: 20px 22px;
  display: grid; gap: 18px;
}
@media (min-width: 800px) {
  .bh-mag-strip { margin-top: -46px; padding: 24px 30px; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .bh-mag-strip > div + div { border-left: 1px solid var(--rf-line); padding-left: 28px; }
}
.bh-mag-strip small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rf-p); margin-bottom: 4px; }
.bh-mag-strip strong { display: block; font-size: 15.5px; color: var(--rf-ink); font-weight: 650; }
.bh-mag-strip span { display: block; font-size: 13.5px; color: var(--rf-ink-2); margin-top: 3px; line-height: 1.4; }

/* --- Archetype 4: ATELIER (Soft brand-tinted canvas + layered collage) --- */
.bh-atelier {
  padding: 48px 0 68px;
  background:
    radial-gradient(56% 62% at 15% 15%, color-mix(in srgb, var(--rf-tint) 90%, transparent), transparent 70%),
    linear-gradient(180deg, var(--rf-surface) 0%, var(--rf-paper) 100%);
  border-bottom: 1px solid var(--rf-line);
}
@media (min-width: 960px) { .bh-atelier { padding: 68px 0 88px; } }
.bh-atelier-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .bh-atelier-grid { grid-template-columns: 1.04fr .96fr; gap: 58px; } }
.bh-atelier h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.04; letter-spacing: -.028em; font-weight: 480; }
.bh-atelier-lead { margin-top: 18px !important; font-size: clamp(17px, 1.45vw, 19.5px); line-height: 1.58; color: var(--rf-ink-2); max-width: 44ch; }
.bh-checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; }
.bh-checks li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--rf-ink); font-weight: 500; }
.bh-check-mark {
  flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--rf-tint); color: var(--rf-p);
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.bh-atelier-visual { position: relative; padding-bottom: 26px; }
.bh-atelier-photo {
  position: relative; border-radius: 28px; overflow: hidden;
  aspect-ratio: 5 / 4; background: var(--rf-bg-soft);
  border: 1px solid var(--rf-line); box-shadow: var(--rf-shadow-lg);
}
.bh-atelier-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bh-atelier-float {
  position: relative; margin: -44px 16px 0; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 20px;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--rf-line); box-shadow: var(--rf-shadow-lg);
  color: var(--rf-ink) !important; text-decoration: none !important;
  transition: transform .18s ease, border-color .18s ease;
}
@media (min-width: 960px) { .bh-atelier-float { margin: -52px 24px 0 -22px; max-width: 380px; } }
.bh-atelier-float:hover { transform: translateY(-2px); border-color: var(--rf-p); }
.bh-atelier-thumb {
  width: 60px; height: 60px; border-radius: 14px; flex: none;
  background: var(--rf-surface); border: 1px solid var(--rf-line);
  padding: 5px; object-fit: contain;
}
.bh-atelier-float-copy { min-width: 0; flex: 1; }
.bh-atelier-float-copy small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--rf-p); }
.bh-atelier-float-copy strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 560; color: var(--rf-ink); line-height: 1.2; margin-top: 2px; }
.bh-atelier-float-copy span { display: block; font-size: 13px; color: var(--rf-ink-2); margin-top: 2px; }

/* ========================================================================
   BRAND STORYTELLING SECTIONS (for CO sites + unified Clinical Dossier)
   ======================================================================== */

.bh-trust-ribbon {
  background: #fff; border-bottom: 1px solid var(--rf-line);
  padding: 16px 0;
}
.bh-trust-ribbon-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  font-size: 14px; font-weight: 560; color: var(--rf-ink-2);
}
.bh-trust-ribbon-row span { display: inline-flex; align-items: center; gap: 8px; }
.bh-trust-ribbon-row i { width: 6px; height: 6px; border-radius: 50%; background: var(--rf-p); flex: none; }

.bh-pillars-grid { display: grid; gap: 20px; }
@media (min-width: 820px) { .bh-pillars-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.bh-pillar-card {
  background: #fff; border: 1px solid var(--rf-line); border-radius: 22px;
  padding: 28px 26px; display: grid; gap: 10px; align-content: start;
  box-shadow: 0 2px 10px rgba(15, 23, 32, .03);
}
.bh-pillar-num {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  color: var(--rf-p); letter-spacing: .06em;
}
.bh-pillar-card h3 { font-size: 22px; line-height: 1.2; font-weight: 520; }
.bh-pillar-card p { font-size: 15px; color: var(--rf-ink-2); line-height: 1.6; }

.bh-journey-grid { display: grid; gap: 20px; counter-reset: bhstep; }
@media (min-width: 820px) { .bh-journey-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.bh-journey-step {
  background: #fff; border: 1px solid var(--rf-line); border-radius: 22px;
  padding: 26px 24px; display: grid; gap: 10px; align-content: start;
}
.bh-journey-n {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--rf-p); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-size: 17px; font-weight: 560;
}
.bh-journey-step h3 { font-size: 21px; line-height: 1.2; font-weight: 520; }
.bh-journey-step p { font-size: 15px; color: var(--rf-ink-2); line-height: 1.58; }

/* Care Atelier wrapper for CO sites */
.bh-care-wrap { padding: 68px 0; background: var(--rf-surface); border-block: 1px solid var(--rf-line); }
@media (min-width: 900px) { .bh-care-wrap { padding: 88px 0; } }
.bh-care-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.bh-care-head h2 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.08; letter-spacing: -.025em; }
.bh-care-head p:last-child { margin-top: 12px !important; color: var(--rf-ink-2); font-size: 17px; }

/* Magazine-Grade Clinical Evidence Dossier (#evidence) */
.bh-dossier { padding: 68px 0; background: var(--rf-paper); border-top: 1px solid var(--rf-line); }
@media (min-width: 900px) { .bh-dossier { padding: 88px 0; } }
.bh-dossier-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) { .bh-dossier-grid { grid-template-columns: 1.25fr 1fr; gap: 56px; } }
.bh-dossier h2 { font-size: clamp(30px, 4.5vw, 44px); line-height: 1.08; letter-spacing: -.024em; margin-bottom: 16px !important; }
.bh-dossier-prose { margin-top: 18px; font-size: 17.5px; line-height: 1.68; color: var(--rf-ink-2); }
.bh-dossier-prose p + p { margin-top: 12px; }
.bh-dossier-disclosure { margin-top: 22px; }
.bh-bento { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .bh-bento { grid-template-columns: 1fr 1fr; } }
.bh-bento-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 6px;
  padding: 18px 20px; border-radius: 18px; background: #fff;
  border: 1px solid var(--rf-line); color: var(--rf-ink) !important; text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(15, 23, 32, .03);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.bh-bento-card:hover { border-color: var(--rf-p); transform: translateY(-2px); box-shadow: var(--rf-shadow); }
.bh-bento-card strong { font-family: var(--font-display); font-size: 19px; font-weight: 540; color: var(--rf-ink); line-height: 1.2; }
.bh-bento-card small { font-size: 13.5px; color: var(--rf-ink-2); }
.bh-bento-arrow { font-size: 13px; font-weight: 650; color: var(--rf-p); margin-top: 4px; display: inline-flex; align-items: center; gap: 5px; }

/* sections */
.rf-section { padding: 56px 0; background: #fff; }
@media (min-width: 900px) { .rf-section { padding: 80px 0; } }
.rf-soft { background: var(--rf-bg-soft); }
.rf-head-row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.rf-head-row h2, .rf-method h2 { font-size: clamp(28px, 4.6vw, 40px); line-height: 1.1; }

/* inner page title (kept for /research, /videos, /community, /tools) */
.rf-title { padding: 40px 0 36px; background: linear-gradient(180deg, var(--rf-surface), var(--rf-paper)); border-bottom: 1px solid var(--rf-line); }
.rf-title h1 { font-size: clamp(32px, 6.5vw, 52px); line-height: 1.06; letter-spacing: -.025em; max-width: 20em; }
.rf-sub { font-size: 19px; color: var(--rf-ink-2); margin-top: 14px; max-width: 40em; }

/* grade chip */
.rf-grade { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 650; background: #e8edf2; color: #364556; }
.rf-grade[data-tone="strong"] { background: #e4f2ea; color: #195d3b; }
.rf-grade[data-tone="medium"] { background: #fbf0dc; color: #7f5110; }
.rf-grade[data-tone="bad"] { background: #fce8e6; color: #9c2b23; }
.rf-grade[data-tone="early"] { background: #eaeef4; color: #3d4d63; }

/* prose */
.rf-prose { max-width: 44em; }
.rf-prose p + p { margin-top: 14px; }
.rf-prose ul, .rf-prose ol { margin: 14px 0; padding-left: 22px; }
.rf-prose li + li { margin-top: 8px; }
.rf-prose a { text-decoration: underline; text-underline-offset: 3px; }
.rf-prose .cite a { text-decoration: none; font-size: 12px; font-weight: 650; padding: 0 2px; }
.rf-answer { background: var(--rf-bg-soft); border-radius: var(--rf-radius); padding: 24px !important; margin-top: 8px; }
.rf-answer-top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.rf-answer-top h2 { margin: 0 !important; }
.rf-answer .rf-claim { margin-bottom: 12px !important; }

/* tables */
.rf-table-wrap { overflow-x: auto; border: 1px solid var(--rf-line); border-radius: var(--rf-radius); background: #fff; }
.rf-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 760px; }
.rf-table th, .rf-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--rf-line); }
.rf-table thead th { background: var(--rf-bg-soft); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--rf-ink-3); }
.rf-table tbody th { font-weight: 650; }
.rf-table small { display: block; color: var(--rf-ink-3); font-weight: 500; }
.rf-table tr:last-child th, .rf-table tr:last-child td { border-bottom: 0; }

/* trial counts */
.rf-counts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0 0; }
@media (min-width: 760px) { .rf-counts { grid-template-columns: repeat(4, 1fr); } }
.rf-counts div { background: #fff; border: 1px solid var(--rf-line); border-radius: var(--rf-radius); padding: 20px; }
.rf-counts dt { font-size: 13px; color: var(--rf-ink-3); font-weight: 600; }
.rf-counts dd { margin: 6px 0 0; font-family: var(--font-display); font-size: 36px; line-height: 1; font-weight: 500; color: var(--rf-ink); }

/* cards */
.rf-cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .rf-cards { grid-template-columns: repeat(3, 1fr); } }
.rf-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--rf-line); border-radius: var(--rf-radius);
  overflow: hidden; color: var(--rf-ink) !important; text-decoration: none !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.rf-card:hover { border-color: var(--rf-p); box-shadow: var(--rf-shadow); transform: translateY(-2px); }
.rf-thumb { position: relative; aspect-ratio: 16 / 9; background: #14181d; overflow: hidden; display: block; }
.rf-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rf-thumb small { position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(10, 14, 18, .82); color: #fff; font-size: 12px; font-weight: 600; }
.rf-card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rf-card-body > small { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--rf-ink-3); }
.rf-card-title { font-family: var(--font-display); font-size: 20px; line-height: 1.22; font-weight: 540; color: var(--rf-ink); }
.rf-card-text { font-size: 14.5px; color: var(--rf-ink-2); line-height: 1.5; }
.rf-card-body .rf-rating { margin-top: auto; padding-top: 6px; }
.rf-cards-text .rf-card-body { padding: 22px; }

/* tiles */
.rf-tiles { display: grid; gap: 14px; }
@media (min-width: 720px) { .rf-tiles { grid-template-columns: repeat(3, 1fr); } }
.rf-tile {
  display: flex; flex-direction: column; gap: 6px; padding: 20px 22px;
  border-radius: var(--rf-radius); background: #fff; border: 1px solid var(--rf-line);
  color: var(--rf-ink) !important; text-decoration: none !important;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.rf-tile:hover { border-color: var(--rf-p); transform: translateY(-2px); box-shadow: var(--rf-shadow); }
.rf-tile small { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rf-p); }

/* rating */
.rf-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--rf-ink-2); font-weight: 600; }
.rf-rating i { width: 9px; height: 9px; border-radius: 50%; background: var(--rf-line-2); display: inline-block; }
.rf-rating i[data-on="1"] { background: var(--rf-p); }
.rf-rating span { margin-left: 6px; }

/* breakdown detail */
.rf-breakdown { display: grid; gap: 36px; }
@media (min-width: 960px) { .rf-breakdown { grid-template-columns: 1.45fr 1fr; gap: 56px; align-items: start; } }
.rf-video-card { background: var(--rf-bg-soft); border: 1px solid var(--rf-line); border-radius: var(--rf-radius); overflow: hidden; }
.rf-video-meta { padding: 18px 20px; display: grid; gap: 10px; font-size: 15px; }
.rf-claims { display: grid; gap: 16px; margin-top: 20px; }
.rf-claim-card { border: 1px solid var(--rf-line); border-radius: var(--rf-radius); padding: 20px 22px; display: grid; gap: 10px; background: #fff; }
.rf-claim-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.rf-time { font-size: 13px; font-weight: 650; color: var(--rf-ink-3); font-variant-numeric: tabular-nums; }
.rf-list { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 10px; }
.rf-sources { margin: 16px 0 0; padding-left: 22px; display: grid; gap: 10px; font-size: 15px; color: var(--rf-ink-2); }
.rf-sources li { padding-left: 4px; }
.rf-sources strong { color: var(--rf-ink); }
.rf-faq { display: grid; border-top: 1px solid var(--rf-line); max-width: 48em; }
.rf-faq details { border-bottom: 1px solid var(--rf-line); }
.rf-faq summary { list-style: none; padding: 18px 0; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; }
.rf-faq summary::-webkit-details-marker { display: none; }
.rf-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--rf-ink-3); flex: none; }
.rf-faq details[open] summary::after { content: "-"; }
.rf-faq details .rf-prose { padding-bottom: 18px; color: var(--rf-ink-2); font-size: 16px; }

/* method */
.rf-method { display: grid; gap: 22px; }
.rf-method ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: m; }
@media (min-width: 820px) { .rf-method ol { grid-template-columns: repeat(4, 1fr); } }
.rf-method li { counter-increment: m; padding: 22px; border-radius: var(--rf-radius); background: var(--rf-surface); border: 1px solid var(--rf-line); display: grid; gap: 8px; align-content: start; font-size: 15px; color: var(--rf-ink-2); }
.rf-method li::before { content: "0" counter(m); font-family: var(--font-display); font-size: 22px; color: var(--rf-p); }
.rf-method strong { color: var(--rf-ink); font-size: 16px; }
.rf-changelog { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; font-size: 15px; color: var(--rf-ink-2); max-width: 48em; }
.rf-changelog time { font-weight: 650; color: var(--rf-ink); margin-right: 10px; }

/* related */
.rf-related { display: grid; gap: 16px; }
@media (min-width: 760px) { .rf-related { grid-template-columns: repeat(3, 1fr); } }
.rf-note { font-size: 15px; color: var(--rf-ink-2); background: var(--rf-bg-soft); border-radius: var(--rf-radius); padding: 18px 20px; border: 1px solid var(--rf-line); }
.rf-filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.rf-filter-row span { font-size: 14px; color: var(--rf-ink-2); padding: 6px 12px; border-radius: 999px; background: var(--rf-bg-soft); border: 1px solid var(--rf-line); }
