/* ==========================================================================
   research.css - AI Visible Research / Our Findings section
   Shared component styles for /research/ pages. Relies on the CSS variables
   defined in /blog/blogstyle.css (--text, --text-mid, --text-muted, --border,
   --coral, --coral-t, --coral-b, --blue, --blue-t, --green).
   ========================================================================== */

/* Hero */
.res-hero { padding: 140px 24px 44px; text-align: center; }
.res-hero .res-kicker { display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--coral);
  background: var(--coral-t); border: 1px solid var(--coral-b);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 18px; }
.res-hero h1 { font-size: clamp(28px, 4.6vw, 46px); line-height: 1.15;
  max-width: 880px; margin: 0 auto 16px; }
.res-hero .res-standfirst { font-size: 18px; color: var(--text-mid);
  max-width: 720px; margin: 0 auto; line-height: 1.75; }

/* Meta strip: date, confidence, sources */
.res-meta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-top: 26px; }
.res-meta span { font-size: 12.5px; font-weight: 600; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 100px; padding: 6px 14px; }
.res-meta span strong { color: var(--text); }

/* Body wrap */
.res-wrap { max-width: 780px; margin: 0 auto; padding: 12px 24px 40px; }
.res-wrap p { font-size: 16.5px; line-height: 1.85; color: var(--text-mid);
  margin: 0 0 20px; }
.res-wrap h2 { font-size: 27px; margin: 46px 0 18px; scroll-margin-top: 100px; }
.res-wrap h3 { font-size: 20px; margin: 34px 0 14px; }
.res-wrap ul, .res-wrap ol { color: var(--text-mid); font-size: 16.5px;
  line-height: 1.8; margin: 0 0 20px; padding-left: 26px; }
.res-wrap li { margin-bottom: 10px; }
.res-wrap a { color: var(--blue); }
.res-wrap strong { color: var(--text); }

/* Key finding callout */
.res-keyfinding { background: var(--coral-t); border: 1px solid var(--coral-b);
  border-left: 4px solid var(--coral); border-radius: 12px;
  padding: 22px 26px; margin: 30px 0; }
.res-keyfinding .kf-label { font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--coral);
  margin-bottom: 8px; }
.res-keyfinding p { margin: 0; font-size: 17px; color: var(--text); line-height: 1.7; }

/* TL;DR / summary answer box (mirrors blog .short-answer) */
.res-tldr { background: var(--blue-t); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 24px; margin: 28px 0; font-size: 16px;
  color: var(--text-mid); line-height: 1.75; }
.res-tldr strong { color: var(--text); }

/* Stat cards */
.res-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px; margin: 30px 0; }
.res-stat { border: 1px solid var(--border); border-radius: 14px;
  padding: 20px 18px; text-align: center; }
.res-stat .num { font-family: 'DM Serif Display', serif; font-size: 34px;
  color: var(--coral); line-height: 1.1; margin-bottom: 6px; }
.res-stat .lbl { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }

/* Method: what we set out to discover / what we did / what we found */
.res-method { border: 1px solid var(--border); border-radius: 14px;
  margin: 34px 0; overflow: hidden; }
.res-method .rm-row { padding: 20px 24px; }
.res-method .rm-row + .rm-row { border-top: 1px solid var(--border); }
.res-method .rm-h { font-size: 12px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.res-method p { margin: 0; font-size: 15.5px; }

/* Data table */
.res-table { width: 100%; border-collapse: collapse; margin: 26px 0;
  font-size: 15px; }
.res-table th { text-align: left; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-muted); font-weight: 700;
  padding: 10px 12px; border-bottom: 2px solid var(--border); }
.res-table td { padding: 12px; border-bottom: 1px solid var(--border);
  color: var(--text-mid); vertical-align: top; line-height: 1.6; }
.res-table td strong { color: var(--text); }

/* Limitations / honesty box */
.res-limits { border: 1px dashed var(--border); border-radius: 12px;
  padding: 22px 26px; margin: 34px 0; }
.res-limits .rl-h { font-size: 12px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.res-limits ul { margin-bottom: 0; }

/* Sources / bibliography */
.res-sources { margin: 40px 0; }
.res-sources ol { padding-left: 22px; }
.res-sources li { font-size: 14.5px; color: var(--text-muted); margin-bottom: 10px;
  line-height: 1.65; }

/* Index page cards */
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px; margin: 36px 0 60px; }
.res-card { border: 1px solid var(--border); border-radius: 16px; padding: 26px;
  display: flex; flex-direction: column; text-decoration: none;
  transition: border-color .15s, transform .15s; }
.res-card:hover { border-color: var(--coral); transform: translateY(-2px); }
.res-card .rc-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.res-card h3 { font-size: 19px; color: var(--text); margin: 0 0 10px; line-height: 1.35; }
.res-card p { font-size: 14.5px; color: var(--text-mid); line-height: 1.7;
  margin: 0 0 16px; flex: 1; }
.res-card .rc-finding { font-size: 13px; font-weight: 600; color: var(--coral); }
.res-index-wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px 60px; }

/* CTA reuse from blog but local fallback */
.res-cta { background: var(--coral-t); border: 1px solid var(--coral-b);
  border-radius: 16px; padding: 34px 30px; text-align: center; margin: 46px 0; }
.res-cta h2 { margin: 0 0 10px; font-size: 24px; }
.res-cta p { max-width: 520px; margin: 0 auto 20px; }
.res-cta .res-cta-btn { display: inline-block; background: var(--coral);
  color: #fff; font-weight: 700; font-size: 15.5px; padding: 13px 30px;
  border-radius: 100px; text-decoration: none; transition: transform .15s; }
.res-cta .res-cta-btn:hover { transform: translateY(-2px); }

/* Breadcrumb */
.res-crumb { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.res-crumb a { color: var(--text-muted); text-decoration: none; }
.res-crumb a:hover { color: var(--coral); }

@media (max-width: 640px) {
  .res-hero { padding-top: 120px; }
  .res-stats { grid-template-columns: repeat(2, 1fr); }
}
