/* ============================================================
   Sereda AI · L&D Research 2026 · Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=DM+Serif+Display:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --navy:          #0F1A2E;
  --navy-mid:      #1B2D4A;
  --navy-light:    #243552;
  --accent:        #7C5CFC;
  --accent-hover:  #6A48E8;
  --accent-light:  #EDE8FF;
  --warm:          #E8734A;
  --warm-light:    #FFF3EE;
  --teal:          #2ABFBF;
  --teal-light:    #E6FAF9;
  --green:         #34C759;
  --green-light:   #EDFCF2;
  --gold:          #FFB84D;
  --gold-light:    #FFF8E6;
  --rose:          #FF6B8A;
  --rose-light:    #FFF0F4;
  --text:          #1F2937;
  --text-secondary:#6B7280;
  --bg:            #FAFBFE;
  --white:         #FFFFFF;
  --border:        #E5E7EB;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:     0 4px 16px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);
  --shadow-lg:     0 12px 40px rgba(0,0,0,.14), 0 4px 16px rgba(0,0,0,.08);
  --shadow-accent: 0 8px 32px rgba(124,92,252,.25);
  --radius-sm:     6px;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --font-sans:     'DM Sans', system-ui, -apple-system, sans-serif;
  --font-serif:    'DM Sans', sans-serif;
  --font-mono:     'JetBrains Mono', 'Fira Code', monospace;
  --transition:    0.2s ease;
  --transition-md: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  word-break: break-word;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 600; }
h6 { font-size: 0.95rem; font-family: var(--font-sans); font-weight: 600; }

p { line-height: 1.75; word-break: break-word; }

.text-mono {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

/* ── Section Label ─────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ── Badge ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-gold  { background: var(--gold-light);  color: #92650A; }
.badge-green { background: var(--green-light); color: #166534; }
.badge-warm  { background: var(--warm-light);  color: #9A3412; }
.badge-teal  { background: var(--teal-light);  color: #0F5F5F; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-md);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-primary:active { transform: translateY(0); }

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-ghost:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 27px;
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-md);
  white-space: nowrap;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--white);
  color: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-md);
  text-decoration: none;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ── Cards ─────────────────────────────────────────────────── */
.metric-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-md);
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition-md);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ── Callout ───────────────────────────────────────────────── */
.callout {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
}

.callout-warm {
  background: var(--warm-light);
  border-left-color: var(--warm);
}

.callout-green {
  background: var(--green-light);
  border-left-color: var(--green);
}

.callout-gold {
  background: var(--gold-light);
  border-left-color: var(--gold);
}

/* ── Horizontal Bar Charts ─────────────────────────────────── */
.hbar-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hbar-item {
  display: grid;
  grid-template-columns: 200px 1fr 60px;
  align-items: center;
  gap: 16px;
}

.hbar-label {
  font-size: 0.9rem;
  color: var(--text);
  text-align: right;
  font-weight: 500;
  line-height: 1.3;
}

.hbar-track {
  height: 10px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}

.hbar-fill {
  height: 100%;
  border-radius: 100px;
  background: var(--accent);
  width: 0;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hbar-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ── SVG Donut ─────────────────────────────────────────────── */
.donut-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.donut-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
}

.donut-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.donut-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Comparison Bars ───────────────────────────────────────── */
.comparison-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.comparison-item { }

.comparison-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.875rem;
}

.comparison-label { font-weight: 500; color: var(--text); }
.comparison-values { display: flex; gap: 12px; }
.comparison-val { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-secondary); }

.comparison-bars { display: flex; flex-direction: column; gap: 6px; }
.comparison-bar-row { display: flex; align-items: center; gap: 10px; }
.comparison-bar-name { font-size: 0.75rem; color: var(--text-secondary); width: 90px; }
.comparison-bar-track { flex: 1; height: 8px; background: var(--border); border-radius: 100px; overflow: hidden; }
.comparison-bar-fill { height: 100%; border-radius: 100px; width: 0; transition: width 1s ease; }
.comparison-bar-pct { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-secondary); width: 40px; }

.comparison-legend {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  font-size: 0.8rem;
}

.legend-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

.legend-dot::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.legend-dot.you::before   { background: var(--accent); }
.legend-dot.market::before { background: #CBD5E0; }

/* ── Shared Header ─────────────────────────────────────────── */
.research-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.research-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 24px;
}

/* ── Logo ─────────────────────────────────────────────────── */
.research-logo {
  display: flex;
  align-items: center;
  color: var(--navy);
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
}

/* Footer logo: make text parts white, keep accent purple */
.footer-brand .research-logo {
  color: var(--white);
}

/* SVG logo color: text paths use currentColor, icon is hardcoded purple */
.research-logo svg {
  display: block;
}

.research-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.research-nav a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
}

.research-nav a:hover, .research-nav a.active {
  color: var(--accent);
  background: var(--accent-light);
}

.research-header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ── Mobile hamburger ──────────────────────────────────────── */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  flex-shrink: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Shared Footer ─────────────────────────────────────────── */
.research-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}

.research-footer .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  max-width: 300px;
}

.footer-col h6 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,.55);
  padding: 4px 0;
  transition: var(--transition);
  text-decoration: none;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,.35);
}

/* ── Sections ──────────────────────────────────────────────── */
.section {
  padding: 96px 0;
}

.section-sm {
  padding: 56px 0;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.centered {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-header h2 { margin-bottom: 16px; }
.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Divider ───────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── Form Styles ───────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-input,
.form-select,
.form-textarea {
  padding: 13px 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text);
  transition: var(--transition);
  width: 100%;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124,92,252,.12);
}

.form-input::placeholder { color: var(--text-secondary); }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

/* ── Range Sliders ─────────────────────────────────────────── */
.range-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 100px;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(124,92,252,.4);
  transition: var(--transition);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(124,92,252,.4);
  cursor: pointer;
}

/* ── Stat Numbers ──────────────────────────────────────────── */
.stat-number {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
}

.stat-number.warm { color: var(--warm); }
.stat-number.green { color: var(--green); }
.stat-number.gold { color: var(--gold); }
.stat-number.navy { color: var(--navy); }

/* ── Scroll Animations ─────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ── Grid Utilities ────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Utility Classes ───────────────────────────────────────── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.accent-text { color: var(--accent); }
.warm-text   { color: var(--warm); }
.green-text  { color: var(--green); }
.gold-text   { color: var(--gold); }
.navy-text   { color: var(--navy); }
.muted       { color: var(--text-secondary); }

.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ── Data Table ────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
}

.data-table th {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1.5px solid var(--border);
  background: var(--bg);
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg); }

.table-wrap {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* ── Progress Bar ──────────────────────────────────────────── */
.progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 24px;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 100px;
  transition: width 0.4s ease;
}

/* ── Timeline ──────────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 36px;
  padding-left: 24px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px var(--accent-light);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px var(--accent-light); }
  50%       { box-shadow: 0 0 0 6px rgba(124,92,252,.15); }
}

.timeline-time {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 4px;
}

.timeline-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.65;
}

/* ── Insight Card ──────────────────────────────────────────── */
.insight-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ── Success card ──────────────────────────────────────────── */
.success-card {
  text-align: center;
  padding: 40px 24px;
}

.success-card .success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid rgba(52,199,89,.3);
}

.success-card h3 {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.success-card p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.success-card .success-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .research-footer .container { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 40px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .metric-card { padding: 24px; }
  .container { padding: 0 16px; }
  .research-nav { display: none; }
  .research-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 8px 16px 16px;
    box-shadow: var(--shadow-md);
    z-index: 200;
  }
  .mobile-menu-btn { display: flex; }
  .research-footer .container { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .hbar-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .hbar-label { text-align: left; }
  .hbar-track { height: 8px; }
}

@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }
  .stat-number { font-size: 2.2rem; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}

/* ── Print Styles (for report.html) ────────────────────────── */
@media print {
  .research-header, .research-footer, .btn-primary, .btn-secondary { display: none !important; }
  body { background: white; color: black; font-size: 12pt; }
  .section { padding: 32pt 0; }
  .metric-card { box-shadow: none; border: 1pt solid #ccc; }
  h1 { font-size: 28pt; }
  h2 { font-size: 20pt; }
  h3 { font-size: 15pt; }
  .container { max-width: 100%; }
  a::after { content: " (" attr(href) ")"; font-size: 10pt; color: #666; }
  .fade-in, .fade-in-up { opacity: 1 !important; transform: none !important; }

  /* Page breaks */
  .section { page-break-inside: avoid; }
  h2, h3 { page-break-after: avoid; }
}
