/* ═══════════════════════════════════════════════════════ 
   ПрогнозМетр — Global Stylesheet
   ═══════════════════════════════════════════════════════ */

/* ── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── LOGO ─────────────────────────────────────────────── */
.logo-icon-wrap { display: flex; align-items: center; flex-shrink: 0; }
.logo-prognoz { color: var(--gray-900); }
.logo-metr    { color: var(--blue); }
.beta-vesion   { color: var(--gray-900);   font-weight: 200;}

/* ── TOKENS (Light) ───────────────────────────────────── */
:root {
  --bg: #f0f2f5;
  --text: #0f1117;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --green: #16a34a;
  --green-light: #dcfce7;
  --orange: #ea580c;
  --orange-light: #fff7ed;
  --red: #dc2626;
  --red-light: #fee2e2;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --surface: #ffffff;
  --border: #e5e7eb;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.06);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  /* always-dark surface (footer, dark CTAs) */
  --dark-surface: #0f172a;
  --dark-border: #1e293b;
  /* notice colors */
  --notice-yellow-bg: #fffbeb;
  --notice-yellow-border: #fde68a;
  --notice-yellow-text: #92400e;
  --notice-yellow-sub: #a16207;
  --notice-blue-bg: #eff6ff;
  --notice-blue-border: #bfdbfe;
  --notice-blue-text: #1e40af;
  --notice-green-bg: #f0fdf4;
  --notice-green-border: #bbf7d0;
  --notice-green-text: #15803d;
  --notice-green-strong: #166534;
}

/* ── TOKENS (Dark) ────────────────────────────────────── */
[data-theme="dark"] {
  --bg: #0d1117;
  --text: #e2e8f0;
  --surface: #161b22;
  --border: #30363d;
  --gray-50: #0d1117;
  --gray-100: #21262d;
  --gray-200: #2d333b;
  --gray-300: #444c56;
  --gray-400: #768390;
  --gray-500: #8b949e;
  --gray-600: #9ca3af;
  --gray-700: #cdd9e5;
  --gray-900: #e6edf3;
  --blue-light: #1c2d42;
  --green-light: #0f2818;
  --orange-light: #2d1a0e;
  --red-light: #2d0f0f;
  --shadow: 0 1px 3px rgba(0,0,0,.4);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,.5);
  /* notice colors dark */
  --notice-yellow-bg: #2d1f06;
  --notice-yellow-border: #854d0e;
  --notice-yellow-text: #fbbf24;
  --notice-yellow-sub: #f59e0b;
  --notice-blue-bg: #1c2d42;
  --notice-blue-border: #2d4a6e;
  --notice-blue-text: #93c5fd;
  --notice-green-bg: #0f2818;
  --notice-green-border: #15532d;
  --notice-green-text: #4ade80;
  --notice-green-strong: #86efac;
}

/* ── LAYOUT ───────────────────────────────────────────── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ══════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════ */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ── THEME TOGGLE ─────────────────────────────────────── */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--gray-500);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--gray-100); border-color: var(--gray-300); color: var(--gray-700); }
.theme-icon-light { display: block; }
.theme-icon-dark  { display: none; }
[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark  { display: block; }
[data-theme="dark"] .theme-toggle { background: var(--gray-100); border-color: var(--border); color: var(--gray-400); }

.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--gray-900);
  flex-shrink: 0;
}
.logo-icon { font-size: 1.1rem; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.header-nav a {
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: all 0.15s;
}
.header-nav a:hover { color: var(--gray-900); background: var(--gray-100); }
.header-nav .nav-active { color: var(--gray-900); font-weight: 600; }

.btn-header-cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 0.45rem 1rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
}
.btn-header-cta:hover { background: var(--blue-dark) !important; }

.nav-admin-link {
  color: var(--blue) !important;
  font-weight: 600 !important;
}

.header-auth { margin-left: 0; display: flex; align-items: center; flex-shrink: 0; }

.btn-login-header {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--surface);
  transition: all 0.15s;
}
.btn-login-header:hover { background: var(--gray-100); border-color: var(--gray-300); }

.user-menu {
  position: relative;
  cursor: pointer;
}
.user-menu:hover .user-dropdown { display: flex; }

.user-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  display: block;
}
.user-avatar-placeholder {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}

.user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4rem;
  min-width: 200px;
  box-shadow: var(--shadow-md);
  z-index: 200;
  flex-direction: column;
  gap: 0.1rem;
}
.user-dropdown-info {
  padding: 0.5rem 0.7rem 0.6rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.3rem;
  display: flex; flex-direction: column; gap: 0.1rem;
}
.user-dropdown-info strong { font-size: 0.85rem; color: var(--gray-900); }
.user-dropdown-info span { font-size: 0.72rem; color: var(--gray-400); }
.badge-admin {
  display: inline-block; font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  background: #ede9fe; color: #5b21b6;
  padding: 1px 5px; border-radius: 999px; width: fit-content; margin-top: 2px;
}
.user-dropdown a {
  display: block; padding: 0.45rem 0.7rem; font-size: 0.82rem;
  color: var(--gray-700); border-radius: 6px; transition: background 0.12s;
}
.user-dropdown a:hover { background: var(--gray-100); }
.logout-link { color: var(--red) !important; }
.logout-link:hover { background: var(--red-light) !important; }

/* Flash messages */
.flash-container { border-top: 1px solid var(--border); }
.flash {
  padding: 0.65rem 1.5rem; font-size: 0.875rem; font-weight: 500;
  max-width: 1100px; margin: 0 auto;
}
.flash-success { background: var(--green-light); color: #166534; }
.flash-error   { background: var(--red-light); color: #991b1b; }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: all .2s; }

.mobile-menu {
  display: none; flex-direction: column; padding: 0.75rem 1.5rem 1rem;
  border-top: 1px solid var(--border); background: var(--surface);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 0.5rem 0; font-size: 0.9rem; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); }

/* ══════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════ */
.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 1.5rem 3rem;
}

.hero-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: center;
   padding: 0 1.5rem;
}

/* Left column */
.hero-left { }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(37,99,235,.15);
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--gray-900);
  margin-bottom: 1.1rem;
  margin-left: -2rem;
  letter-spacing: -0.03em;
}
.hero-accent {
  color: var(--blue);
  font-style: italic; /* курсив для акценту */
  font-size: 1.1em;         /* трішки більший за інший текст */
  margin-left: 0.2em;   /* маленький відступ зліва */
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.65;
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Right column — stat cards */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-stat-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow);
  transition: border-color .15s, box-shadow .15s;
}
.hero-stat-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.06);
}
.hero-stat-card-icon { font-size: 1.4rem; flex-shrink: 0; }
.hero-stat-card-num {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-stat-card-label {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 0.15rem;
}

/* ── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-dark); }

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { background: var(--gray-100); border-color: var(--gray-300); }

.btn-ghost {
  background: transparent;
  color: var(--gray-500);
}
.btn-ghost:hover { color: var(--gray-900); background: var(--gray-100); }

.btn-lg { padding: 0.75rem 1.75rem; font-size: 1rem; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }

/* ══════════════════════════════════════════════════════
   RANKING SECTION
   ══════════════════════════════════════════════════════ */
.ranking-section {
  padding: 3rem 0 4rem;
}

.ranking-top {
  margin-bottom: 1.75rem;
}
.ranking-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  margin-bottom: 0.3rem;
}
.ranking-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.02em;
}
.ranking-sort-note {
  display: block;
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 0.2rem;
}

/* Category filter */
.category-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.filter-pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-500);
  background: var(--surface);
  border: 1.5px solid var(--border);
  transition: all 0.15s;
  cursor: pointer;
}
.filter-pill:hover { border-color: var(--blue); color: var(--blue); }
.filter-pill.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Expert rows */
.experts-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.expert-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.15s;
  cursor: pointer;
}
.expert-row:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.06);
  transform: translateY(-1px);
}
.expert-row-top {
  border-color: #f59e0b;
  background: var(--surface);
}
.expert-row-top:hover { border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.08); }
.expert-row-premium { opacity: 0.92; }

/* Rank badge */
.expert-rank {
  font-size: 0.9rem;
  font-weight: 800;
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  letter-spacing: -.01em;
}
.rank-1 { background: #fef3c7; color: #92400e; font-size: 0.8rem; }
.rank-2 { background: #f1f5f9; color: #475569; font-size: 0.8rem; }
.rank-3 { background: #fff7ed; color: #9a3412; font-size: 0.8rem; }
.rank-default { background: var(--gray-100); color: var(--gray-500); font-size: 0.85rem; }

/* Avatar circle */
.expert-avatar-circle {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.expert-avatar-circle img { width: 100%; height: 100%; object-fit: cover; }
.color-0 { background: #2563eb; }
.color-1 { background: #7c3aed; }
.color-2 { background: #db2777; }
.color-3 { background: #059669; }
.color-4 { background: #d97706; }
.color-5 { background: #dc2626; }

/* Expert info */
.expert-info { flex: 1; min-width: 0; }
.expert-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}
.expert-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
  white-space: nowrap;
}

/* Category pill */
.cat-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
}
.cat-pill.cat-0 { background: #dbeafe; color: #1e40af; } /* синій */
.cat-pill.cat-1 { background: #dcfce7; color: #166534; } /* зелений */
.cat-pill.cat-2 { background: #fef3c7; color: #92400e; } /* жовтий */
.cat-pill.cat-3 { background: #fde2e8; color: #9d174d; } /* рожевий */
.cat-pill.cat-4 { background: #ede9fe; color: #5b21b6; } /* фіолетовий */
.cat-pill.cat-5 { background: #cffafe; color: #0e7490; } /* бірюзовий */
.cat-pill.cat-6 { background: #f3e8ff; color: #6b21a8; } /* ліловий */
.cat-pill.cat-7 { background: #ffedd5; color: #9a3412; } /* помаранчевий */
.cat-pill.cat-8 { background: #d1fae5; color: #065f46; } /* трав’яний зелений */
.cat-pill.cat-9 { background: #e0e7ff; color: #3730a3; } /* індиго */


.cat-pill-lg {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e40af;
}

.new-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: #dcfce7;
  color: #166534;
  padding: 1px 6px;
  border-radius: 999px;
}

.expert-meta-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-bottom: 0.4rem;
}
.meta-dot { color: var(--gray-300); }
.trend-up { color: var(--green); font-weight: 700; }

/* Progress bar */
.expert-progress-bar {
  height: 3px;
  background: var(--gray-200);
  border-radius: 999px;
  overflow: hidden;
  max-width: 200px;
}
.expert-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #60a5fa);
  border-radius: 999px;
  transition: width 0.3s;
}
.expert-row-top .expert-progress-fill { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

/* Score */
.expert-score-col {
  flex-shrink: 0;
  text-align: right;
  margin-left: auto;
}
.score-display { display: flex; align-items: baseline; gap: 0.15rem; }
.score-num {
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
}
.score-denom { font-size: 0.72rem; color: var(--gray-400); font-weight: 500; }
.score-green { color: var(--green); }
.score-orange { color: var(--orange); }
.score-red { color: var(--red); }

.premium-lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--gray-100);
  color: var(--gray-500);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray-400);
}
.empty-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.empty-state p { margin-bottom: 1rem; }

/* ══════════════════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════════════════ */
.how-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
}
.how-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  margin-bottom: 0.4rem;
}
.how-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.02em;
  margin-bottom: 2.5rem;
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.step { flex: 1; min-width: 160px; }
.step-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gray-200);
  letter-spacing: -.03em;
  margin-bottom: 0.5rem;
}
.step h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--gray-900); }
.step p { font-size: 0.82rem; color: var(--gray-500); line-height: 1.55; }
.step-arrow {
  font-size: 1.25rem;
  color: var(--gray-300);
  margin-top: 2.25rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   BLOG PREVIEW
   ══════════════════════════════════════════════════════ */
.blog-preview-section { padding: 3.5rem 0; }
.blog-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}
.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.blog-preview-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .15s;
  display: flex;
  flex-direction: column;
}
.blog-preview-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.blog-preview-img {
  height: 130px;
  background-size: cover;
  background-position: center;
  background-color: var(--gray-100);
}
.blog-preview-img-placeholder { background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%); }
.blog-preview-body { padding: 0.85rem 1rem 1rem; }
.blog-preview-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--blue);
  margin-bottom: 0.35rem;
}
.blog-preview-title { font-size: 0.88rem; font-weight: 700; color: var(--gray-900); line-height: 1.4; }

/* ══════════════════════════════════════════════════════
   EXPERT PROFILE
   ══════════════════════════════════════════════════════ */
.expert-header-section {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0 1.5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
  transition: color .15s;
}
.back-link:hover { color: var(--blue); }

.expert-profile-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.profile-avatar-wrap { flex-shrink: 0; }
.profile-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
}
.profile-avatar-initials {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; font-weight: 900;
}

.profile-name-row {
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  margin-bottom: 0.4rem;
}
.profile-name { font-size: 1.5rem; font-weight: 800; color: var(--gray-900); letter-spacing: -.02em; }
.profile-bio { font-size: 0.87rem; color: var(--gray-500); line-height: 1.6; max-width: 600px; }

.profile-stats-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--border);
}
.profile-stat-box { display: flex; flex-direction: column; }
.profile-stat-val { font-size: 1.75rem; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.profile-stat-lbl { font-size: 0.75rem; color: var(--gray-400); margin-top: 0.1rem; }
.profile-stat-sep { width: 1px; height: 36px; background: var(--border); }
.profile-actions-inline { margin-left: auto; }

.videos-section { padding: 2.5rem 0 4rem; }
.videos-title { font-size: 1.25rem; font-weight: 800; color: var(--gray-900); margin-bottom: 1.25rem; }

.video-block {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}
.video-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--gray-50);
  gap: 1rem;
  flex-wrap: wrap;
}
.video-title-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-900);
  transition: color .15s;
}
.video-title-link:hover { color: var(--blue); }
.yt-icon-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; background: #dc2626; color: #fff;
  border-radius: 4px; font-size: 0.6rem; flex-shrink: 0;
}
.video-block-meta {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.78rem; color: var(--red); flex-shrink: 0;
}

.theses-list { padding: 0.75rem 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; }
.thesis-item {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--gray-300);
}
.thesis-item.thesis-true  { border-left-color: var(--green); }
.thesis-item.thesis-false { border-left-color: var(--red); }
.thesis-item.thesis-unclear { border-left-color: var(--gray-300); }

.thesis-header { margin-bottom: 0.5rem; }
.thesis-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.badge-true    { background: var(--green-light); color: var(--green); }
.badge-false   { background: var(--red-light); color: var(--red); }
.badge-unclear { background: var(--gray-100); color: var(--gray-500); }

.thesis-text { font-size: 0.88rem; color: var(--gray-700); line-height: 1.55; margin-bottom: 0.5rem; }
.thesis-footer {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.72rem; color: var(--gray-400);
}
.thesis-cat-tag {
  background: var(--gray-100);
  padding: 2px 8px; border-radius: 999px; font-weight: 600;
}
.thesis-score-tag { font-weight: 700; color: var(--gray-500); }
.muted-note { padding: 1rem 1.25rem; font-size: 0.85rem; color: var(--gray-400); }

/* ══════════════════════════════════════════════════════
   LOCKED PROFILE
   ══════════════════════════════════════════════════════ */
.locked-card {
  max-width: 480px;
  margin: 2rem auto 0;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.locked-avatar-wrap {
  position: relative;
  width: 88px; height: 88px;
  margin: 0 auto 1.25rem;
}
.locked-avatar-img {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  filter: blur(4px);
  border: 3px solid var(--border);
}
.locked-avatar-initials {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-400);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 900;
}
.lock-badge-overlay {
  position: absolute;
  bottom: 0; right: 0;
  width: 28px; height: 28px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500);
}

.locked-name { font-size: 1.35rem; font-weight: 800; color: var(--gray-900); margin-bottom: 0.4rem; }
.locked-cat {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: .07em; color: var(--gray-400); margin-bottom: 1rem;
}
.locked-desc { font-size: 0.87rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 1.5rem; }

.locked-stats-blur {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}
.locked-stat-item { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; }
.locked-stat-val { font-size: 1.75rem; font-weight: 900; color: var(--gray-900); }
.locked-stat-val.blurred { filter: blur(8px); user-select: none; }
.locked-stat-lbl { font-size: 0.75rem; color: var(--gray-400); }

.locked-cta-title { font-size: 1.1rem; font-weight: 800; color: var(--gray-900); margin-bottom: 0.35rem; }
.locked-cta-sub { font-size: 0.82rem; color: var(--gray-400); margin-bottom: 1.5rem; }
.locked-back-link { display: block; margin-top: 1rem; font-size: 0.82rem; color: var(--gray-400); }
.locked-back-link:hover { color: var(--blue); }
.locked-donor-hint {
  display: flex; gap: 0.75rem; align-items: flex-start;
  background: #eff6ff; border: 1px solid #bfdbfe; border-radius: var(--radius-sm);
  padding: 0.85rem 1rem; margin-bottom: 1.25rem;
  font-size: 0.82rem; color: #1e40af; text-align: left; line-height: 1.55;
}
.locked-donor-hint-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--dark-surface);
  color: var(--gray-400);
  margin-top: auto;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 3rem;
}
.footer-brand .logo { color: #fff; margin-bottom: 0.75rem; }
.footer-tagline { font-size: 0.82rem; line-height: 1.6; margin-bottom: 1rem; color: var(--gray-400); }
.trust-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.trust-badge {
  font-size: 0.7rem; font-weight: 600;
  background: var(--gray-700); color: var(--gray-300);
  padding: 3px 10px; border-radius: 999px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.footer-col h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #fff; margin-bottom: 0.85rem; }
.footer-col a { display: block; font-size: 0.82rem; color: var(--gray-400); margin-bottom: 0.5rem; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.75rem;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ══════════════════════════════════════════════════════
   METHODOLOGY PAGE
   ══════════════════════════════════════════════════════ */

/* Hero */
.meth-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 1.5rem 2.5rem;
}
.meth-hero-inner { max-width: 780px; margin: 0 auto; }
.meth-hero-label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--blue); margin-bottom: 0.5rem;
}
.meth-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 900; letter-spacing: -0.03em;
  color: var(--gray-900); margin-bottom: 0.75rem;
}
.meth-hero-sub {
  font-size: 1rem; color: var(--gray-500); line-height: 1.65;
  max-width: 560px; margin-bottom: 1.75rem;
}
.meth-hero-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.meth-pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; color: var(--gray-500);
  transition: all .15s;
}
.meth-pill:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }

/* Body layout */
.meth-body { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem 5rem; }

/* Section */
.meth-section { padding: 3.5rem 0; border-bottom: 1px solid var(--border); }
.meth-section:last-of-type { border-bottom: none; }
.meth-section-label {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--blue); margin-bottom: 0.5rem;
}
.meth-section-title {
  font-size: 1.5rem; font-weight: 800; color: var(--gray-900);
  letter-spacing: -0.02em; margin-bottom: 1.25rem;
}
.meth-sub-title {
  font-size: 1rem; font-weight: 700; color: var(--gray-900);
  margin: 2rem 0 1rem;
}
.meth-lead {
  font-size: 0.95rem; color: var(--gray-600, #475569);
  line-height: 1.7; margin-bottom: 2rem;
}

/* Note box */
.meth-note {
  display: flex; gap: 0.75rem; align-items: flex-start;
  background: var(--blue-light);
  border: 1.5px solid rgba(37,99,235,.15);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.875rem; color: #1e3a8a;
  margin-top: 1.5rem; line-height: 1.6;
}
.meth-note-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: .1rem; }

/* Warning box */
.meth-warning {
  display: flex; gap: 0.85rem; align-items: flex-start;
  background: #fef3c7;
  border: 1.5px solid #fde68a;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.875rem; color: #78350f;
  margin-bottom: 2rem; line-height: 1.6;
}
.meth-warning-icon { flex-shrink: 0; margin-top: .1rem; color: #d97706; }

/* ── PIPELINE ─────────────────────────────────────────── */
.pipeline {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.pipeline-step {
  flex: 1;
  min-width: 140px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color .15s, box-shadow .15s;
}
.pipeline-step:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.06);
}

.pipeline-step-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.4rem;
}
.pipeline-step-num {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--gray-400);
}
.pipeline-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.pipeline-icon-blue   { background: #dbeafe; color: #1d4ed8; }
.pipeline-icon-violet { background: #ede9fe; color: #6d28d9; }
.pipeline-icon-orange { background: #fff7ed; color: #c2410c; }
.pipeline-icon-green  { background: #dcfce7; color: #15803d; }

.pipeline-step-title { font-size: 0.9rem; font-weight: 800; color: var(--gray-900); }
.pipeline-step-desc  { font-size: 0.78rem; color: var(--gray-500); line-height: 1.55; flex: 1; }
.pipeline-tag {
  display: inline-block; font-size: 0.65rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  background: var(--gray-100); color: var(--gray-500);
  padding: 2px 7px; border-radius: 999px; margin-top: 0.25rem; width: fit-content;
}

.pipeline-arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 0 0.35rem; color: var(--gray-300); flex-shrink: 0;
}

/* ── THESIS EVALUATION ────────────────────────────────── */
.thesis-eval-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.thesis-eval-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.thesis-eval-valid   { border-left: 4px solid var(--green); }
.thesis-eval-invalid { border-left: 4px solid var(--red); }

.thesis-eval-icon {
  font-size: 1.5rem; font-weight: 900;
  margin-bottom: 0.5rem;
}
.thesis-eval-valid   .thesis-eval-icon { color: var(--green); }
.thesis-eval-invalid .thesis-eval-icon { color: var(--red); }

.thesis-eval-card h4 { font-size: 0.95rem; font-weight: 800; color: var(--gray-900); margin-bottom: 0.75rem; }
.thesis-eval-card ul { padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.3rem; }
.thesis-eval-card li { font-size: 0.82rem; color: var(--gray-500); line-height: 1.5; }
.thesis-eval-card li::marker { color: var(--gray-300); }

.thesis-eval-example {
  margin-top: 1rem; padding: 0.75rem;
  background: var(--green-light); border-radius: var(--radius-sm);
  font-size: 0.82rem; color: #166534; font-style: italic; line-height: 1.5;
}
.thesis-eval-example-invalid { background: var(--red-light); color: #991b1b; }
.thesis-eval-example-label {
  display: block; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 0.25rem;
  font-style: normal; opacity: .7;
}

/* Thesis fields table */
.thesis-fields { display: flex; flex-direction: column; gap: 0; }
.thesis-field {
  display: grid; grid-template-columns: 170px 1fr;
  gap: 1.5rem; align-items: start;
  padding: 1.25rem 0; border-bottom: 1px solid var(--border);
}
.thesis-field:last-child { border-bottom: none; }
.thesis-field-name {
  padding-top: 0.2rem;
}
.thesis-field-name code {
  display: inline-block;
  background: var(--gray-100); color: var(--gray-700);
  font-family: 'Courier New', monospace; font-size: 0.85rem;
  padding: 0.25rem 0.6rem; border-radius: 5px; font-weight: 700;
}
.thesis-field-desc p { font-size: 0.875rem; color: var(--gray-600, #475569); line-height: 1.65; }

.rating-badge-row {
  display: flex; align-items: center; gap: 0.65rem;
  margin-bottom: 0.5rem;
}
.rating-b {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  padding: 2px 9px; border-radius: 999px; flex-shrink: 0;
}
.rating-b-true    { background: var(--green-light); color: var(--green); }
.rating-b-false   { background: var(--red-light); color: var(--red); }
.rating-b-unclear { background: var(--gray-100); color: var(--gray-500); }
.rating-b-desc { font-size: 0.82rem; color: var(--gray-500); }

.numeric-scale { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.75rem; }
.numeric-scale-item { display: flex; align-items: center; gap: 0.6rem; }
.ns-num {
  font-size: 0.78rem; font-weight: 800;
  min-width: 36px; text-align: center;
  padding: 2px 6px; border-radius: 5px;
}
.ns-high { background: var(--green-light); color: var(--green); }
.ns-mid  { background: #fff7ed; color: var(--orange); }
.ns-low  { background: var(--red-light); color: var(--red); }
.ns-label { font-size: 0.82rem; color: var(--gray-500); }

.cat-pills-row { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.5rem; }
.cat-pill-m {
  font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: 999px;
}
.cat-m-eco    { background: #dbeafe; color: #1e40af; }
.cat-m-crypto { background: #fef3c7; color: #92400e; }
.cat-m-geo    { background: #dcfce7; color: #166534; }
.cat-m-other  { background: var(--gray-100); color: var(--gray-500); }

/* ── FORMULA ──────────────────────────────────────────── */
.formula-block {
  background: var(--gray-900);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
}
.formula-title {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--gray-400); margin-bottom: 2rem;
}
.formula-visual {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.formula-fraction {
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.formula-numerator, .formula-denominator {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0;
}
.formula-sigma {
  font-size: 2.5rem; font-weight: 300; color: #60a5fa; line-height: 1;
}
.formula-term {
  font-size: 1rem; color: #e2e8f0; font-style: italic;
}
.formula-term sub { font-size: 0.7em; color: #94a3b8; }
.formula-line {
  height: 2px; background: #475569;
  width: 100%; margin: 2px 0;
}
.formula-note-inline { font-size: 0.75rem; color: #94a3b8; font-style: normal; }
.formula-equals { font-size: 2rem; color: #475569; font-weight: 300; }
.formula-result {
  background: rgba(37,99,235,.25);
  border: 1px solid rgba(37,99,235,.4);
  border-radius: var(--radius);
  padding: 0.85rem 1.5rem;
  text-align: center;
}
.formula-result-label { font-size: 1.1rem; font-weight: 800; color: #93c5fd; }
.formula-result-range { font-size: 0.75rem; color: #60a5fa; margin-top: 0.2rem; }

/* Example */
.formula-example {
  background: #1e293b;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.formula-example-title {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--gray-400); margin-bottom: 1rem;
}
.formula-example-body {
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
  flex-wrap: wrap;
}
.fe-theses { display: flex; flex-direction: column; gap: 0.35rem; }
.fe-thesis {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: #94a3b8;
}
.fe-thesis span { font-weight: 700; width: 14px; }
.fe-thesis strong { color: #e2e8f0; margin-left: auto; padding-left: 0.5rem; }
.fe-true  span { color: #4ade80; }
.fe-false span { color: #f87171; }
.fe-unclear { opacity: .5; }
.fe-calc {
  background: rgba(37,99,235,.15); border: 1px solid rgba(37,99,235,.25);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem; white-space: nowrap;
}
.fe-calc-line { font-size: 0.9rem; color: #cbd5e1; margin-bottom: 0.4rem; font-family: monospace; }
.fe-calc-result { color: #60a5fa; font-size: 1rem; }
.fe-calc-sub { font-size: 0.82rem; color: #64748b; }

/* ── SCALE ────────────────────────────────────────────── */
.scale-bars { display: flex; flex-direction: column; gap: 1.25rem; }
.scale-bar-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.scale-bar-header { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.75rem; }
.scale-bar-range {
  font-size: 0.9rem; font-weight: 900;
  min-width: 70px; text-align: center;
  padding: 3px 10px; border-radius: 6px;
}
.scale-range-high { background: var(--green-light); color: var(--green); }
.scale-range-good { background: #dbeafe; color: #1e40af; }
.scale-range-mid  { background: #fff7ed; color: var(--orange); }
.scale-range-low  { background: var(--red-light); color: var(--red); }
.scale-bar-label  { font-size: 0.9rem; font-weight: 700; color: var(--gray-900); }
.scale-bar-track  {
  height: 6px; background: var(--gray-200); border-radius: 999px;
  overflow: hidden; margin-bottom: 0.65rem;
}
.scale-bar-fill { height: 100%; border-radius: 999px; transition: width .5s ease; }
.scale-fill-high { background: linear-gradient(90deg, var(--green), #4ade80); }
.scale-fill-good { background: linear-gradient(90deg, var(--blue), #60a5fa); }
.scale-fill-mid  { background: linear-gradient(90deg, var(--orange), #fb923c); }
.scale-fill-low  { background: linear-gradient(90deg, var(--red), #f87171); }
.scale-bar-desc  { font-size: 0.82rem; color: var(--gray-500); line-height: 1.55; }

/* ── LIMITS ───────────────────────────────────────────── */
.limits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.limit-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color .15s;
}
.limit-card:hover { border-color: var(--blue); }
.limit-card-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.limit-card h4 { font-size: 0.88rem; font-weight: 800; color: var(--gray-900); margin-bottom: 0.4rem; }
.limit-card p { font-size: 0.8rem; color: var(--gray-500); line-height: 1.6; }
.limit-card code {
  background: var(--gray-100); color: var(--gray-700);
  font-size: 0.8rem; padding: 1px 5px; border-radius: 4px;
}

/* CTA */
.meth-cta {
  background: var(--blue);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 3.5rem;
}
.meth-cta-inner { max-width: 480px; margin: 0 auto; }
.meth-cta h3 { font-size: 1.35rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.meth-cta p  { font-size: 0.9rem; color: rgba(255,255,255,.75); margin-bottom: 1.75rem; }
.meth-cta-btns { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.meth-cta .btn-primary { background: #fff; color: var(--blue); }
.meth-cta .btn-primary:hover { background: #f0f9ff; }
.meth-cta .btn-outline { border-color: rgba(255,255,255,.4); color: #fff; }
.meth-cta .btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* Methodology responsive */
@media (max-width: 760px) {
  .pipeline { flex-direction: column; }
  .pipeline-arrow { transform: rotate(90deg); padding: 0.25rem 0; }
  .thesis-eval-grid { grid-template-columns: 1fr; }
  .thesis-field { grid-template-columns: 1fr; gap: 0.5rem; }
  .formula-example-body { grid-template-columns: 1fr; }
  .fe-calc { white-space: normal; }
  .limits-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .limits-grid { grid-template-columns: 1fr; }
  .formula-visual { gap: 1rem; }
}

/* ══════════════════════════════════════════════════════
   PARTNERS PAGE
   ══════════════════════════════════════════════════════ */

.partners-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.5rem 2.5rem;
}
.partners-hero-inner { max-width: 1100px; margin: 0 auto; }
.partners-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900; letter-spacing: -.03em;
  color: var(--gray-900); margin-bottom: .5rem;
}
.partners-hero-sub {
  font-size: 1rem; color: var(--gray-500); line-height: 1.65; max-width: 500px;
}

.partners-body {
  max-width: 1100px; margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  display: flex; flex-direction: column; gap: 3rem;
}

.partners-section {}
.partners-section-header {
  display: flex; align-items: center; gap: .75rem; margin-bottom: .4rem;
}
.partners-section-title {
  font-size: 1.2rem; font-weight: 900;
  color: var(--gray-900); letter-spacing: -.02em;
}
.partners-section-count {
  font-size: .75rem; font-weight: 700;
  background: var(--blue-light); color: var(--blue);
  padding: 2px 10px; border-radius: 999px;
  border: 1px solid rgba(37,99,235,.15);
}
.partners-section-sub {
  font-size: .88rem; color: var(--gray-400); margin-bottom: 1.5rem;
}

/* Donors grid */
.donors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: .75rem;
}
.donor-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem .75rem;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  transition: border-color .15s, box-shadow .15s;
}
.donor-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.donor-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1d4ed8;
  font-size: .8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .02em;
}
.donor-name {
  font-size: .8rem; font-weight: 600;
  color: var(--gray-700); text-align: center;
}

/* Sponsors empty state */
.sponsors-empty {
  background: var(--surface);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
}
.sponsors-empty-icon { font-size: 2.5rem; }
.sponsors-empty-text {
  font-size: 1rem; font-weight: 700; color: var(--gray-700);
}
.sponsors-empty-sub {
  font-size: .85rem; color: var(--gray-400);
  max-width: 420px; line-height: 1.6; margin-bottom: .5rem;
}

/* Sponsors grid (for when companies appear) */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.sponsor-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.sponsor-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.sponsor-logo { max-height: 36px; max-width: 180px; object-fit: contain; transition: filter .2s; }
.sponsor-name { font-size: .78rem; font-weight: 600; color: var(--gray-400); letter-spacing: .04em; text-transform: uppercase; }
[data-theme="dark"] .sponsor-logo { filter: brightness(0) invert(1); opacity: .85; }

/* CTA block */
.partners-cta {
  background: var(--dark-surface);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
}
.partners-cta-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.partners-cta-text h2 {
  font-size: 1.35rem; font-weight: 900;
  color: #fff; letter-spacing: -.02em; margin-bottom: .4rem;
}
.partners-cta-text p {
  font-size: .88rem; color: #94a3b8; line-height: 1.6; max-width: 460px;
}
.partners-cta-actions {
  display: flex; gap: .75rem; flex-wrap: wrap; flex-shrink: 0;
}
.partners-cta-actions .btn-outline {
  border-color: rgba(255,255,255,.25); color: #fff;
}
.partners-cta-actions .btn-outline:hover {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5);
}

@media (max-width: 640px) {
  .donors-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
  .partners-cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════════════════════
   DONATE PAGE
   ══════════════════════════════════════════════════════ */

.donate-flash-wrap {
  max-width: 1100px; margin: 0 auto; padding: 1.25rem 1.5rem 0;
}
.donate-flash {
  display: flex; gap: .85rem; align-items: flex-start;
  border-radius: var(--radius-sm); padding: 1rem 1.25rem;
  font-size: .88rem; line-height: 1.55;
}
.donate-flash-success {
  background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d;
}
.donate-flash-success strong { color: #166534; }
.donate-flash p { margin-top: .2rem; opacity: .8; }
.donate-flash-icon { font-size: 1.15rem; flex-shrink: 0; margin-top: 1px; }

.donate-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.5rem 2.5rem;
}
.donate-hero-inner { max-width: 1100px; margin: 0 auto; }
.donate-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900; letter-spacing: -.03em;
  color: var(--gray-900); margin-bottom: .5rem;
}
.donate-hero-sub {
  font-size: 1rem; color: var(--gray-500); line-height: 1.65; max-width: 520px;
}

.donate-body {
  max-width: 1100px; margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 1.5rem;
  align-items: start;
}

/* Benefit cards */
.donate-benefits {
  display: flex; flex-direction: column; gap: 1rem;
}
.donate-benefit-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.donate-benefit-card--highlight {
  border-color: var(--blue);
  background: #eff6ff;
}
.donate-benefit-icon { font-size: 1.75rem; margin-bottom: .6rem; }
.donate-benefit-card h3 {
  font-size: 1rem; font-weight: 800;
  color: var(--gray-900); margin-bottom: .4rem;
}
.donate-benefit-card p {
  font-size: .83rem; color: var(--gray-500); line-height: 1.55; margin-bottom: .75rem;
}
.donate-benefit-list {
  list-style: none; display: flex; flex-direction: column; gap: .3rem;
  font-size: .8rem; color: var(--gray-600);
}
.donate-benefit-list li { display: flex; gap: .4rem; }

/* Right column */
.donate-main-col { display: flex; flex-direction: column; gap: 1rem; }

.donate-card {
  background: var8--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.donate-card-title {
  font-size: 1.1rem; font-weight: 800;
  color: var(--gray-900); margin-bottom: 1.25rem;
}

.donate-amounts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .75rem; margin-bottom: 1.25rem;
}
.donate-amount-btn {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: .85rem .5rem;
  text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.donate-amount-btn:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.donate-amount-popular {
  border-color: var(--blue); background: #eff6ff;
}
.donate-amount-badge {
  position: absolute; top: -9px;
  background: var(--blue); color: #fff;
  font-size: font-weight: 800;t: 700; text-transform: uppercase;
  padding: 1px 7px; border-radius: 999px; letter-spacing: .04em;
}
.donate-amount-val { font-size: .95rem; font-weight: 800; color: var(--gray-900); }
.donate-amount-lbl { font-size: .72rem; color: var(--gray-400); }

.donate-contact-hint {
  display: flex; gap: .65rem; align-items: flex-start;
  background: var(--gray-50); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .8rem 1rem;
  margin-top: 1rem; font-size: .79rem; color: var(--gray-600); line-height: 1.55;
}
.donate-contact-hint a { color: var(--blue); font-weight: 600; }
.donate-contact-hint-icon { flex-shrink: 0; margin-top: 1px; }

.donate-skip-link {
  display: block; margin-top: 1rem; text-align: center;
  font-size: .8rem; color: var(--gray-400);
}
.donate-skip-link:hover { color: var(--blue); }

/* Costs card */
.donate-costs-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.donate-costs-title {
  font-size: .82rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--gray-400); margin-bottom: .85rem;
}
.donate-cost-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .55rem 0; border-bottom: 1px solid var(--border);
  font-size: .82rem;
}
.donate-cost-row:last-child { border-bottom: none; }
.donate-cost-label { display: flex; gap: .5rem; align-items: center; color: var(--gray-600); }
.donate-cost-icon { font-size: .9rem; }
.donate-cost-val { font-weight: 700; color: var(--gray-900); }

@media (max-width: 768px) {
  .donate-body { grid-template-columns: 1fr; }
  .donate-amounts { grid-template-columns: repeat(3, 1fr); }
}

/* ══════════════════════════════════════════════════════
   SUBMIT VIDEO PAGE
   ══════════════════════════════════════════════════════ */

.submit-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.5rem 2.5rem;
}
.submit-hero-inner { max-width: 1100px; margin: 0 auto; }
.submit-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900; letter-spacing: -.03em;
  color: var(--gray-900); margin-bottom: .5rem;
}
.submit-hero-sub {
  font-size: 1rem; color: var(--gray-500); line-height: 1.65; max-width: 540px;
}

.submit-body {
  max-width: 1100px; margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1.5rem;
  align-items: start;
}

/* Form card */
.submit-form-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-label {
  display: block;
  font-size: .85rem; font-weight: 700;
  color: var(--gray-700); margin-bottom: .45rem;
}
.form-required { color: var(--blue); }
.form-optional { font-weight: 400; color: var(--gray-400); }

.form-input-wrap { position: relative; }
.form-input-icon {
  position: absolute; left: .85rem; top: 50%; transform: translateY(-50%);
  color: var(--gray-400); display: flex; align-items: center;
  pointer-events: none;
}
.form-input-icon-pad { padding-left: 2.5rem !important; }

.submit-donate-notice {
  display: flex; gap: .85rem; align-items: flex-start;
  background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius-sm);
  padding: .9rem 1rem; margin-bottom: 1.5rem;
  font-size: .82rem; color: #92400e; line-height: 1.55;
}
.submit-donate-notice p { margin-top: .2rem; color: #a16207; }
.submit-donate-notice-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.submit-donate-notice-text strong { font-weight: 700; color: #78350f; }

/* Sidebar */
.submit-sidebar { display: flex; flex-direction: column; gap: 1rem; }

.submit-steps-card, .submit-requirements-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.submit-steps-title, .submit-req-title {
  font-size: .9rem; font-weight: 800;
  color: var(--gray-900); margin-bottom: 1.1rem;
  text-transform: uppercase; letter-spacing: .04em;
}

.submit-steps { list-style: none; display: flex; flex-direction: column; gap: .85rem; }
.submit-step {
  display: flex; gap: .85rem; align-items: flex-start;
}
.submit-step-num {
  flex-shrink: 0;
  width: 26px; height: 26px;
  background: var(--blue); color: #fff;
  border-radius: 50%;
  font-size: .75rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.submit-step-body strong { font-size: .85rem; font-weight: 700; color: var(--gray-900); display: block; margin-bottom: .15rem; }
.submit-step-body p { font-size: .78rem; color: var(--gray-500); line-height: 1.5; }

.submit-req-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.submit-req-item {
  display: flex; gap: .5rem; align-items: flex-start;
  font-size: .82rem; line-height: 1.45;
}
.submit-req-item span { flex-shrink: 0; font-weight: 700; }
.submit-req-ok { color: var(--gray-700); }
.submit-req-ok span { color: #16a34a; }
.submit-req-no { color: var(--gray-400); }
.submit-req-no span { color: #ef4444; }

@media (max-width: 768px) {
  .submit-body { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════
   OTHER PAGES
   ══════════════════════════════════════════════════════ */

/* ── BLOG LIST PAGE ───────────────────────────────────── */
.blog-page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.5rem 2.5rem;
}
.blog-page-hero-inner { max-width: 1100px; margin: 0 auto; }
.blog-page-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900; letter-spacing: -0.03em;
  color: var(--gray-900); margin-bottom: 0.6rem;
}
.blog-page-sub {
  font-size: 1rem; color: var(--gray-500); line-height: 1.65; max-width: 520px;
}

.blog-page-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}

/* Tag + date */
.blog-page-tag {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--blue);
  background: var(--blue-light);
  padding: 2px 9px; border-radius: 999px;
  border: 1px solid rgba(37,99,235,.15);
}
.blog-page-tag-lg { font-size: 0.75rem; padding: 3px 11px; }
.blog-page-date { font-size: 0.78rem; color: var(--gray-400); }

/* Featured post */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.blog-featured:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.blog-featured-img-wrap { min-height: 280px; overflow: hidden; }
.blog-featured-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-featured-img-placeholder {
  width: 100%; height: 100%; min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}

.blog-featured-body {
  padding: 2.5rem;
  display: flex; flex-direction: column; justify-content: center; gap: 0.75rem;
}
.blog-featured-meta { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.blog-featured-title {
  font-size: 1.5rem; font-weight: 900;
  color: var(--gray-900); letter-spacing: -0.02em; line-height: 1.2;
}
.blog-featured-excerpt {
  font-size: 0.9rem; color: var(--gray-500); line-height: 1.65;
}
.blog-featured-read {
  font-size: 0.85rem; font-weight: 700; color: var(--blue); margin-top: 0.25rem;
}

/* Grid cards */
.blog-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1rem;
}
.blog-page-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.blog-page-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.blog-page-card-img-wrap { height: 160px; overflow: hidden; }
.blog-page-card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-page-card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}
.blog-page-card-body {
  padding: 1.1rem 1.25rem 1.35rem;
  display: flex; flex-direction: column; gap: 0.5rem; flex: 1;
}
.blog-page-card-meta { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.blog-page-card-title {
  font-size: 0.95rem; font-weight: 800;
  color: var(--gray-900); line-height: 1.35;
}
.blog-page-card-excerpt {
  font-size: 0.8rem; color: var(--gray-500); line-height: 1.55; flex: 1;
}

/* Legacy blog-card (used in sidebar preview) */
.blog-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all .15s; text-decoration: none; color: inherit;
}
.blog-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.blog-card-img { height: 120px; object-fit: cover; width: 100%; }
.blog-img-placeholder { height: 120px; background: var(--gray-100); display: flex; align-items: center; justify-content: center; font-size: 1.75rem; }
.blog-card-body { padding: 0.85rem; display: flex; flex-direction: column; gap: 0.3rem; }
.blog-tag { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--blue); }
.blog-card-title { font-size: 0.88rem; font-weight: 700; color: var(--gray-900); line-height: 1.35; }

/* ── BLOG POST PAGE ────────────────────────────────────── */
.post-page { }

.post-breadcrumb {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
}
.post-breadcrumb-inner {
  max-width: 780px; margin: 0 auto;
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--gray-400);
}
.post-breadcrumb-inner a { color: var(--blue); font-weight: 600; }
.post-breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--gray-300); }

.post-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.5rem 2.5rem;
}
.post-header-inner { max-width: 780px; margin: 0 auto; }
.post-header-meta {
  display: flex; align-items: center; gap: 0.75rem;
  flex-wrap: wrap; margin-bottom: 1rem;
}
.post-header-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900; letter-spacing: -0.03em;
  color: var(--gray-900); line-height: 1.1; margin-bottom: 0.75rem;
}
.post-header-excerpt {
  font-size: 1.05rem; color: var(--gray-500); line-height: 1.65; max-width: 620px;
}

.post-cover { padding: 0 1.5rem; margin-top: 2rem; }
.post-cover-inner { max-width: 780px; margin: 0 auto; }
.post-cover-img {
  width: 100%; border-radius: var(--radius);
  object-fit: cover; max-height: 420px;
  border: 1.5px solid var(--border);
}

.post-content-wrap { padding: 2.5rem 1.5rem 5rem; }
.post-content-inner { max-width: 680px; margin: 0 auto; }

/* Rich text styles */
.post-rich-text {
  font-size: 1rem; line-height: 1.8;
  color: #374151;
}
.post-rich-text p { margin-bottom: 1.25rem; }
.post-rich-text h2 {
  font-size: 1.25rem; font-weight: 800;
  color: var(--gray-900); letter-spacing: -0.01em;
  margin: 2.25rem 0 0.75rem;
}
.post-rich-text h3 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--gray-900); margin: 1.75rem 0 0.5rem;
}
.post-rich-text ul, .post-rich-text ol {
  padding-left: 1.5rem; margin-bottom: 1.25rem;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.post-rich-text li { line-height: 1.65; }
.post-rich-text blockquote {
  border-left: 4px solid var(--blue);
  background: var(--blue-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #1e40af;
  font-size: 1.02rem;
}
.post-rich-text a { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(37,99,235,.3); }
.post-rich-text a:hover { text-decoration-color: var(--blue); }
.post-rich-text strong { color: var(--gray-900); }
.post-rich-text code {
  background: var(--gray-100); color: var(--gray-700);
  font-size: 0.88em; padding: 1px 5px; border-radius: 4px;
  font-family: 'Courier New', monospace;
}

.post-footer-nav {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
}

/* Methodology */
.methodology-content { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.methodology-content h1 { font-size: 2rem; font-weight: 900; letter-spacing: -.02em; margin-bottom: 0.5rem; }
.methodology-content h2 { font-size: 1.15rem; font-weight: 800; margin: 2rem 0 0.6rem; color: var(--gray-900); }
.methodology-content p, .methodology-content li { font-size: 0.92rem; color: var(--gray-600, #475569); line-height: 1.7; margin-bottom: 0.5rem; }
.methodology-content ul { list-style: disc; padding-left: 1.5rem; }
.methodology-content .lead { font-size: 1.05rem; color: var(--gray-500); margin-bottom: 2rem; }

/* Add video */
.add-video-section { max-width: 600px; margin: 3rem auto; padding: 0 1.5rem 5rem; }
.form-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.form-card h1 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.5rem; }
.form-card .form-subtitle { font-size: 0.85rem; color: var(--gray-400); margin-bottom: 1.75rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--gray-700); margin-bottom: 0.4rem; }
.form-input {
  width: 100%; padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--gray-900); background: var(--surface);
  transition: border-color .15s; outline: none;
}
.form-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.08); }
.form-hint { font-size: 0.75rem; color: var(--gray-400); margin-top: 0.3rem; }

/* Donate */
.donate-section { max-width: 640px; margin: 3rem auto; padding: 0 1.5rem 5rem; text-align: center; }
.donate-section h1 { font-size: 1.75rem; font-weight: 900; margin-bottom: 0.5rem; }
.donate-section .lead { color: var(--gray-500); margin-bottom: 2rem; }
.donate-amounts { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.donate-amount {
  padding: 0.6rem 1.25rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-weight: 700; font-size: 0.95rem;
  cursor: pointer; transition: all .15s; background: var(--surface);
}
.donate-amount:hover, .donate-amount.active { border-color: var(--blue); background: var(--blue-light); color: var(--blue); }

/* Partners, Terms */
.static-page { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.static-page h1 { font-size: 1.75rem; font-weight: 900; margin-bottom: 1.5rem; }
.static-page p, .static-page li { font-size: 0.92rem; color: var(--gray-500, #64748b); line-height: 1.7; margin-bottom: 0.6rem; }

/* 403 */
.error-page { text-align: center; padding: 6rem 2rem; }
.error-page .error-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.error-page h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.error-page p { color: var(--gray-400); margin-bottom: 2rem; }

/* ══════════════════════════════════════════════════════
   ADMIN PANEL — unchanged, in admin.css
   ══════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-right {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-stat-card { flex: 1; min-width: 160px; }
  .hero-title { margin-left: 0; }
}

@media (max-width: 900px) {
  .hero { padding: 3rem 1.5rem 2.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .profile-stats-row { gap: 1rem; }
  .steps { gap: 1.5rem; }
  .step-arrow { display: none; }
  .blog-preview-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .beta-vesion { display: none; }    
}

@media (max-width: 640px) {
  .header-nav { display: none; }
  .burger { display: flex; }
  .expert-row { flex-wrap: wrap; gap: 0.75rem; }
  .expert-score-col { width: 100%; text-align: left; }
  .profile-stats-row { flex-wrap: wrap; gap: 0.75rem; }
  .profile-actions-inline { width: 100%; }
  .footer-links { grid-template-columns: 1fr; }
  .locked-stats-blur { gap: 1.25rem; }
  .blog-cards-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .donate-amounts { flex-direction: column; align-items: center; }
  .hero-right { flex-direction: column; }
  .hero-stat-card { min-width: unset; }

}

/* ══════════════════════════════════════════════════════════
   DARK MODE OVERRIDES — hardcoded colors
   ══════════════════════════════════════════════════════════ */

/* Flash messages */
[data-theme="dark"] .flash-success {
  background: var(--notice-green-bg);
  color: var(--notice-green-text);
  border-color: var(--notice-green-border);
}
[data-theme="dark"] .flash-error {
  background: var(--red-light);
  color: #f87171;
  border-color: #7f1d1d;
}

/* Category pills */
[data-theme="dark"] .cat-pill.cat-0 { background: #1c2d42; color: #93c5fd; } /* синій */
[data-theme="dark"] .cat-pill.cat-1 { background: #0f2818; color: #4ade80; } /* зелений */
[data-theme="dark"] .cat-pill.cat-2 { background: #2d1f06; color: #fbbf24; } /* жовтий */
[data-theme="dark"] .cat-pill.cat-3 { background: #3a1c2f; color: #f472b6; } /* рожевий */
[data-theme="dark"] .cat-pill.cat-4 { background: #1f2937; color: #a78bfa; } /* фіолетовий */
[data-theme="dark"] .cat-pill.cat-5 { background: #0f172a; color: #38bdf8; } /* бірюзовий */
[data-theme="dark"] .cat-pill.cat-6 { background: #1e1b4b; color: #c084fc; } /* ліловий */
[data-theme="dark"] .cat-pill.cat-7 { background: #422006; color: #f97316; } /* помаранчевий */
[data-theme="dark"] .cat-pill.cat-8 { background: #14532d; color: #22c55e; } /* трав’яний зелений */
[data-theme="dark"] .cat-pill.cat-9 { background: #312e81; color: #6366f1; } /* індиго */


[data-theme="dark"] .cat-m-eco    { background: #1c2d42; color: #93c5fd; }
[data-theme="dark"] .cat-m-crypto { background: #2d1f06; color: #fbbf24; }
[data-theme="dark"] .cat-m-geo    { background: #0f2818; color: #4ade80; }

/* Rank badge */
[data-theme="dark"] .rank-1 { background: #2d2006; color: #fbbf24; }

/* Score col badge */
[data-theme="dark"] .score-main { color: var(--text); }

/* Expert hero filter chips (if score color) */
[data-theme="dark"] .filter-chip { background: var(--gray-100); color: var(--gray-700); border-color: var(--border); }
[data-theme="dark"] .filter-chip.active { background: var(--blue-light); color: #93c5fd; border-color: #2d4a6e; }

/* Blog placeholder */
[data-theme="dark"] .blog-preview-img-placeholder { background: linear-gradient(135deg, #1c2d42 0%, #1e3a5f 100%); }

/* Expert/methodology colored score bands */
[data-theme="dark"] .score-band-low  { color: #f87171; }
[data-theme="dark"] .score-band-mid  { color: #fbbf24; }
[data-theme="dark"] .score-band-high { color: #4ade80; }

/* Locked page — donor hint box */
[data-theme="dark"] .locked-donor-hint {
  background: var(--notice-blue-bg);
  border-color: var(--notice-blue-border);
  color: var(--notice-blue-text);
}
[data-theme="dark"] .locked-donor-hint strong { color: #bfdbfe; }

/* Pipeline icon green */
[data-theme="dark"] .pipeline-icon-green { background: #0f2818; color: #4ade80; }

/* Methodology note (italic green) */
[data-theme="dark"] .meth-note { color: #4ade80; }

/* Methodology scale-range-good */
[data-theme="dark"] .scale-range-good { background: #1c2d42; color: #93c5fd; }

/* Profile thesis notice */
[data-theme="dark"] .profile-thesis-notice {
  background: var(--notice-yellow-bg);
  border-color: var(--notice-yellow-border);
  color: var(--notice-yellow-text);
}

/* Donate flash success */
[data-theme="dark"] .donate-flash-success {
  background: var(--notice-green-bg);
  border-color: var(--notice-green-border);
  color: var(--notice-green-text);
}
[data-theme="dark"] .donate-flash-success strong { color: var(--notice-green-strong); }

/* Donate benefit card highlight */
[data-theme="dark"] .donate-benefit-card--highlight {
  background: var(--notice-blue-bg);
  border-color: var(--notice-blue-border);
}
[data-theme="dark"] .donate-amount:hover,
[data-theme="dark"] .donate-amount.active {
  background: var(--blue-light);
  color: #93c5fd;
  border-color: #2d4a6e;
}

/* Submit donate notice (yellow) */
[data-theme="dark"] .submit-donate-notice {
  background: var(--notice-yellow-bg);
  border-color: var(--notice-yellow-border);
  color: var(--notice-yellow-text);
}
[data-theme="dark"] .submit-donate-notice p { color: var(--notice-yellow-sub); }
[data-theme="dark"] .submit-donate-notice-text strong { color: var(--notice-yellow-text); }

/* Donor avatar gradient */
[data-theme="dark"] .donor-avatar {
  background: linear-gradient(135deg, #1c2d42, #1e3a5f);
  color: #93c5fd;
}

/* Partners hero badge */
[data-theme="dark"] .partners-hero-badge {
  background: var(--notice-blue-bg);
  color: #93c5fd;
  border-color: var(--notice-blue-border);
}

/* Donors section grid badge / category */
[data-theme="dark"] .donor-category-badge { background: var(--gray-100); color: var(--gray-600); }

/* Sponsors empty state */
[data-theme="dark"] .sponsors-empty {
  border-color: var(--border);
  color: var(--gray-500);
}

/* Badge admin */
[data-theme="dark"] .badge-admin {
  background: var(--blue-light);
  color: #93c5fd;
}

/* Post blockquote */
[data-theme="dark"] .post-rich-text blockquote {
  background: var(--blue-light);
  border-left-color: var(--blue);
  color: #93c5fd;
}
[data-theme="dark"] .post-rich-text code {
  background: var(--gray-100);
  color: var(--gray-700);
}

/* Methodology block headings with inline color */
[data-theme="dark"] .meth-step-score { color: #93c5fd; }
[data-theme="dark"] .methodology-score-note { color: #93c5fd; }

/* Footer trust badges need slight adjustment */
[data-theme="dark"] .trust-badge { background: #21262d; color: #cdd9e5; }
[data-theme="dark"] .footer-link { color: var(--gray-400); }
[data-theme="dark"] .footer-link:hover { color: var(--gray-700); }

/* User dropdown */
[data-theme="dark"] .user-dropdown {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}
[data-theme="dark"] .user-dropdown a:hover { background: var(--gray-100); }

/* Mobile menu */
[data-theme="dark"] .mobile-menu {
  background: var(--surface);
  border-top-color: var(--border);
}
[data-theme="dark"] .mobile-menu a { color: var(--text); border-bottom-color: var(--border); }

/* Forms */
[data-theme="dark"] .form-input {
  background: var(--gray-100);
  color: var(--text);
  border-color: var(--border);
}
[data-theme="dark"] .form-input::placeholder { color: var(--gray-400); }
[data-theme="dark"] .form-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }

/* Select element */
[data-theme="dark"] select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23768390' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}

/* Progress bar track */
[data-theme="dark"] .expert-bar-track { background: var(--gray-200); }

/* Locked stats blur */
[data-theme="dark"] .locked-stats-blur { color: var(--gray-300); }

/* Methodology formula block already dark — keep as-is */
[data-theme="dark"] .formula-block { background: #1e293b; border-color: #334155; }

/* Section with white background (hero, etc.) */
[data-theme="dark"] .ranking-hero { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .submit-hero  { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .donate-hero  { background: var(--surface); border-color: var(--border); }

/* Dark surface footer/CTA stays dark in both themes — no override needed */
