/* DataDial US landing — page-specific styles
   Extends colors_and_type.css + site.css */

/* Hero adjustments for the longer problem-first headline */
.hero .wrap { max-width: 980px; }
.hero h1 {
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 22px 0 24px;
}
.hero .lede { font-size: 19px; max-width: 680px; }
.hero .microcopy {
  margin-top: 22px;
  font-size: 13px;
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero .microcopy i { color: var(--indigo-600); }
.hero .below { margin-top: 56px; }

@media (max-width: 840px) {
  .hero h1 { font-size: 48px; }
  .hero .lede { font-size: 17px; }
}

/* Problem block */
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.problem-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
}
.problem-card .pc-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--indigo-600);
}
.problem-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}
.problem-card p {
  font-size: 14px;
  color: var(--graphite);
  line-height: 1.55;
  margin: 0;
}
.research-strip {
  margin-top: 40px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--graphite);
  line-height: 1.5;
}
.research-strip .pill {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--indigo-600);
  background: var(--mist);
  padding: 6px 10px;
  border-radius: 999px;
}

/* --- Context strip (med spa "why this matters") --- */
.research-strip.context-strip {
  display: block;
  padding: 32px 36px;
  margin-top: 48px;
}
.context-strip .cs-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.context-strip .cs-title {
  font-family: var(--font-display, var(--font-sans));
  font-size: 20px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.context-strip .cs-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--graphite);
  margin: 0 0 28px;
  max-width: 64ch;
}
.context-strip .cs-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.context-strip .cs-metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 28px;
  border-left: 1px solid var(--line);
}
.context-strip .cs-metric:first-child {
  padding-left: 0;
  border-left: none;
}
.context-strip .cs-num {
  font-family: var(--font-display, var(--font-sans));
  font-size: 36px;
  line-height: 1;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.context-strip .cs-label {
  font-size: 13px;
  line-height: 1.4;
  color: var(--slate);
}
.context-strip .cs-source {
  margin: 20px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--slate);
  line-height: 1.5;
}
.context-strip .cs-source a {
  color: var(--indigo-600);
  text-decoration: none;
  border-bottom: 1px solid var(--indigo-200);
}
.context-strip .cs-source a:hover {
  border-bottom-color: var(--indigo-600);
}
@media (max-width: 720px) {
  .context-strip .cs-metrics {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .context-strip .cs-metric {
    padding: 20px 0 0;
    border-left: none;
    border-top: 1px solid var(--line);
  }
  .context-strip .cs-metric:first-child {
    padding-top: 0;
    border-top: none;
  }
  .context-strip .cs-num { font-size: 30px; }
}

/* Not-this / instead-this comparison */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.compare-col {
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.compare-col.bad {
  background: var(--paper);
  border: 1px solid var(--line);
}
.compare-col.good {
  background: var(--ink);
  color: var(--paper);
}
.compare-col .ctag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}
.compare-col.good .ctag { color: rgba(255,255,255,0.55); }
.compare-col h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.15;
}
.compare-col.good h3 { color: var(--paper); }
.compare-col ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.compare-col li {
  font-size: 15px;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--graphite);
}
.compare-col.good li { color: rgba(255,255,255,0.82); }
.compare-col li i {
  flex-shrink: 0;
  margin-top: 3px;
}
.compare-col.bad li i { color: var(--slate); }
.compare-col.good li i { color: var(--indigo-300); }
.compare-callout {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--bone);
  border-left: 2px solid var(--indigo-600);
  border-radius: 0 12px 12px 0;
}
.compare-callout p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
  max-width: 760px;
}

/* How DataDial works — 4 steps detailed */
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.how-step {
  padding: 32px 28px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.how-step:last-child { border-right: none; }
.how-step .hs-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.1em;
}
.how-step .hs-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--mist);
  color: var(--indigo-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-step h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.how-step p {
  font-size: 14px;
  color: var(--graphite);
  line-height: 1.55;
  margin: 0;
}
.how-step.highlight { background: var(--bone); }
.how-step.highlight::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: var(--indigo-600);
}
.how-step .hs-tag {
  margin-top: auto;
  font-size: 11px;
  font-weight: 500;
  color: var(--indigo-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.how-explainer {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--bone);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--graphite);
  max-width: 820px;
}
.how-explainer strong { color: var(--ink); font-weight: 600; }

/* Use cases — 6 cards */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.uc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--t-base) var(--ease);
}
.uc-card:hover { border-color: var(--border-strong); }
.uc-card .uc-ic {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--mist);
  color: var(--indigo-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.uc-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.005em;
}
.uc-card p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
  margin: 0;
}

/* Research block */
.research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.research-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.research-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-card); }
.research-card .rc-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo-600);
}
.research-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
}
.research-card h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.research-card p {
  font-size: 14px;
  color: var(--graphite);
  line-height: 1.55;
  margin: 0;
}
.research-card .rc-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.research-card .rc-meta-item {
  font-size: 12px;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 6px;
}
.research-card .rc-meta-item i { color: var(--indigo-600); }
.research-card .rc-cta {
  font-size: 14px;
  color: var(--indigo-600);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

/* Lead-capture form */
.lead-form {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.lead-form .lf-text { flex: 1; min-width: 260px; }
.lead-form .lf-text h4 { margin: 0 0 4px; font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.lead-form .lf-text p { margin: 0; font-size: 13px; color: var(--slate); line-height: 1.45; }
.lead-form form { display: flex; gap: 8px; }
.lead-form input[type="email"] {
  font: 400 14px var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  min-width: 260px;
  outline: none;
  transition: border-color var(--t-fast) var(--ease);
}
.lead-form input[type="email"]:focus { border-color: var(--indigo-600); }

/* Competitive gap strip */
.gap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.gap-col {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--paper);
}
.gap-col:last-child { border-right: none; }
.gap-col.us { background: var(--ink); color: var(--paper); }
.gap-col .gc-tag { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
.gap-col.us .gc-tag { color: var(--indigo-300); }
.gap-col h4 { font-size: 17px; font-weight: 600; margin: 0; letter-spacing: -0.01em; line-height: 1.25; }
.gap-col.us h4 { color: var(--paper); }
.gap-col p { font-size: 14px; line-height: 1.5; color: var(--graphite); margin: 0; }
.gap-col.us p { color: rgba(255,255,255,0.72); }
.gap-line {
  margin-top: 32px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.01em;
  max-width: 760px;
}

/* Compliance FAQ */
.faq-list {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}
.faq-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.3;
}
.faq-item p {
  font-size: 15px;
  color: var(--graphite);
  line-height: 1.55;
  margin: 0;
}

/* Final CTA */
.final-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.final-cta .container { position: relative; text-align: center; }
.final-cta .eyebrow { color: var(--indigo-300); }
.final-cta h2 {
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 14px auto 20px;
  max-width: 820px;
  color: var(--paper);
}
.final-cta h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.final-cta .lede {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
  max-width: 600px;
  margin: 0 auto 36px;
}
.final-cta .cta-row {
  display: inline-flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.final-cta .btn-primary { background: var(--paper); color: var(--ink); }
.final-cta .btn-primary:hover { background: var(--bone); }
.final-cta .btn-secondary {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,0.2);
}
.final-cta .btn-secondary:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.04); }
.final-cta .reassure {
  margin-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 840px) {
  .final-cta h2 { font-size: 36px; }
}

/* Footer overrides */
.footer .brand-block p { max-width: 320px; }
.footer .bot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
}
.footer .bot .legal { color: rgba(255,255,255,0.45); font-size: 12px; line-height: 1.5; }
.footer .bot .contact { text-align: right; font-size: 12px; color: rgba(255,255,255,0.55); }
.footer .bot .contact a { color: rgba(255,255,255,0.72); }

/* Section-title override — allow wider intro sub */
.section-sub.wide { max-width: 720px; }

/* Hero card cluster — product preview on right side */
.hero-with-shot {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--paper);
  padding: 72px 0 96px;
  border-bottom: 1px solid var(--line);
}
/* signature blobs — inspired by the Figma reference composition */
.hero-with-shot::before,
.hero-with-shot::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: -2;
  pointer-events: none;
}
/* big violet→pink→peach disc bleeding off the right edge */
.hero-with-shot::before {
  width: 860px;
  height: 860px;
  right: -260px;
  top: -280px;
  background: radial-gradient(circle at 30% 30%,
      #7C3AED 0%,
      #A855F7 25%,
      #EC4899 55%,
      #F472B6 75%,
      #FB923C 100%);
  filter: blur(90px);
  opacity: 0.9;
}
/* softer pink→peach disc in bottom-left */
.hero-with-shot::after {
  width: 600px;
  height: 600px;
  left: -220px;
  bottom: -280px;
  background: radial-gradient(circle at 50% 50%,
      #8B5CF6 0%,
      #EC4899 40%,
      #FB923C 80%,
      transparent 100%);
  filter: blur(100px);
  opacity: 0.75;
}
/* third accent blob — mid-page to blend the two corners */
.hero-with-shot .hw-blob-3 {
  position: absolute;
  width: 560px;
  height: 560px;
  right: 28%;
  top: 38%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
      #A78BFA 0%,
      #F472B6 45%,
      #FDBA74 80%,
      transparent 100%);
  filter: blur(120px);
  opacity: 0.55;
  z-index: -2;
  pointer-events: none;
}
/* fine dot grain layered on top — now with a soft wash to tie everything together */
.hero-with-shot > .hw-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(rgba(74, 46, 224, 0.07) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.45) 100%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.hero-with-shot .hw-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
/* eyebrow + microcopy stay ink-colored and legible on bone */
.hero-with-shot .eyebrow {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
}
.hero-with-shot h1 {
  font-size: 60px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ink);
  margin: 20px 0 22px;
}
.hero-with-shot h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.hero-with-shot .lede {
  font-size: 18px;
  color: var(--graphite);
  line-height: 1.5;
  margin: 0 0 28px;
  max-width: 520px;
}
.hero-with-shot .cta-row { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.hero-with-shot .microcopy {
  margin-top: 24px;
  font-size: 13px;
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-with-shot .microcopy i { color: var(--indigo-600); }

/* Hero preview: an illustrative "approval" card */
.hero-preview {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 40px 100px -40px rgba(30, 18, 112, 0.45), 0 12px 32px -16px rgba(14,14,18,0.18);
  overflow: hidden;
  position: relative;
}
.hero-preview .hp-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bone);
  font-size: 12px;
  color: var(--slate);
  font-family: var(--font-mono);
}
.hero-preview .hp-bar .live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--pulse);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.18);
  animation: pulse-dot 2.2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.hero-preview .hp-inbound {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
}
.hero-preview .hp-av {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #F5D4C4, #E8B098);
  color: #7a3d22;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 13px;
  flex-shrink: 0;
}
.hero-preview .hp-inbound .hp-meta {
  font-size: 12px; color: var(--slate); margin-bottom: 4px;
  display: flex; gap: 8px; align-items: center;
}
.hero-preview .hp-inbound .hp-meta strong { color: var(--ink); font-weight: 600; font-size: 13px; }
.hero-preview .hp-inbound .hp-msg {
  font-size: 14px; color: var(--graphite); line-height: 1.5;
}
.hero-preview .hp-draft {
  padding: 18px 20px;
  background: var(--bone);
}
.hero-preview .hp-draft-head {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo-600);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.hero-preview .hp-draft-body {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}
.hero-preview .hp-actions {
  padding: 14px 20px;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.hero-preview .hp-actions .hp-status {
  font-size: 12px;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-preview .hp-actions .hp-btns { display: flex; gap: 8px; }
.hero-preview .hp-actions .mini-btn {
  font: 500 12px var(--font-sans);
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
}
.hero-preview .hp-actions .mini-btn.primary {
  background: var(--indigo-600); color: var(--paper); border-color: var(--indigo-600);
}

/* Hero product screenshot — standalone image, no chrome */
.hero-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: var(--paper);
  box-shadow:
    0 1px 0 rgba(14, 14, 18, 0.04),
    0 2px 6px -2px rgba(14, 14, 18, 0.08),
    0 18px 40px -18px rgba(30, 18, 112, 0.28),
    0 60px 120px -40px rgba(30, 18, 112, 0.38);
}

@media (max-width: 900px) {
  .hero-with-shot .hw-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-with-shot h1 { font-size: 40px; }
}

@media (max-width: 768px) {
  .problem-cards, .features, .uc-grid, .research-grid, .pricing { grid-template-columns: 1fr; }
  .compare, .gap-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .how-step:nth-child(2) { border-right: none; }
  .faq-item { grid-template-columns: 1fr; gap: 8px; }
  .footer .top { grid-template-columns: 1fr 1fr; }
  .footer .bot { grid-template-columns: 1fr; }
  .footer .bot .contact { text-align: left; }
}

/* ---- Research modal ---- */
.rm-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(14, 14, 18, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 64px 24px;
  overflow-y: auto;
  animation: rm-fade-in 180ms ease-out;
}
@keyframes rm-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.rm-panel {
  position: relative;
  width: 100%;
  max-width: 920px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow:
    0 40px 100px -30px rgba(14, 14, 18, 0.5),
    0 12px 32px -16px rgba(14, 14, 18, 0.25);
  animation: rm-pop-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}
@keyframes rm-pop-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.rm-body {
  padding: 56px 56px 48px;
}
.rm-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--graphite);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  z-index: 2;
}
.rm-close:hover { color: var(--ink); border-color: var(--border-strong); background: var(--bone); }
.rm-title {
  font-family: var(--font-serif, var(--font-sans));
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 12px 0 16px;
  font-weight: 500;
}
.rm-title em {
  font-style: italic;
  font-family: var(--font-serif);
}
.rm-sub {
  font-size: 15px;
  line-height: 1.55;
  color: var(--graphite);
  margin: 0 0 8px;
  max-width: 680px;
}
.rm-panel .research-grid { margin-top: 28px; }
.rm-panel .research-card { padding: 24px; }
.rm-panel .research-card h3 { font-size: 20px; }
.rm-panel .research-card p { font-size: 13px; }

/* Secondary supporting line under the subheadline */
.rm-sub-secondary {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--slate);
  margin: 6px 0 0;
  max-width: 680px;
}

/* Horizontal stats strip */
.rm-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bone, #f7f6f2);
  overflow: hidden;
}
.rm-stat {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--line);
}
.rm-stat:last-child { border-right: none; }
.rm-stat-num {
  font-family: var(--font-serif, var(--font-sans));
  font-size: 36px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.rm-stat-label {
  font-size: 13px;
  line-height: 1.45;
  color: var(--graphite);
}
.rm-stats-source {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--slate);
}

/* Legacy fact cards row (kept for backward compat) */
.rm-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.rm-fact {
  background: var(--bone, #f7f6f2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rm-fact-num {
  font-family: var(--font-serif, var(--font-sans));
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.rm-fact-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--indigo-600);
  margin-bottom: 6px;
}
.rm-fact p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--graphite);
}

/* Report card chips (replaces rc-meta inside modal) */
.rc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}
.rc-chip {
  font-size: 11px;
  font-weight: 500;
  color: var(--graphite);
  background: var(--bone, #f7f6f2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  letter-spacing: 0.01em;
}

/* CTA block */
.rm-cta-block {
  margin-top: 28px;
  padding: 28px 32px;
  background: var(--bone, #f7f6f2);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.rm-cta-text h4 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.rm-cta-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--graphite);
  max-width: 620px;
}
.rm-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.rm-cta-primary {
  font-size: 15px;
  padding: 13px 22px;
}
.rm-cta-secondary {
  font-size: 15px;
  padding: 13px 22px;
}
.rm-cta-microcopy {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--slate);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .rm-overlay { padding: 24px 12px; }
  .rm-body { padding: 40px 24px 32px; }
  .rm-title { font-size: 26px; }
  .rm-panel .research-grid { grid-template-columns: 1fr; }
  .rm-fact-grid { grid-template-columns: 1fr; }
  .rm-stats-strip { grid-template-columns: 1fr; }
  .rm-stat { border-right: none; border-bottom: 1px solid var(--line); }
  .rm-stat:last-child { border-bottom: none; }
  .rm-cta-block { padding: 22px 20px; }
  .rm-cta-actions { flex-direction: column; align-items: stretch; }
  .rm-cta-actions .btn { justify-content: center; }
}
