/* UniLens — dark, data-forward, premium */

:root {
  --bg: #0a0e1a;
  --bg-elevated: #0f172a;
  --surface: #1e293b;
  --surface-hover: #273548;
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(148, 163, 184, 0.12);
  --accent: #06b6d4;
  --accent-glow: rgba(6, 182, 212, 0.15);
  --accent2: #8b5cf6;
  --accent2-glow: rgba(139, 92, 246, 0.15);
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --max-width: 840px;
  --glass: rgba(30, 41, 59, 0.6);
  --glass-border: rgba(148, 163, 184, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #22d3ee; }

/* ── Header ─────────────────────────────────────── */

.site-header {
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 24px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent);
}

.tagline {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Main layout ────────────────────────────────── */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 16px 64px;
}

/* ── Landing page ───────────────────────────────── */

.landing-hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}

.landing-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite;
}

.landing-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent2-glow) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.7; transform: translateX(-50%) scale(1.1); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent), #0891b2);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.3);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
}

/* ── Stats banner ───────────────────────────────── */

.stats-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 640px;
  margin: 60px auto 0;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat-item {
  background: var(--surface);
  padding: 24px 16px;
  text-align: center;
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ── Value props ────────────────────────────────── */

.value-section {
  padding: 80px 24px;
  max-width: 960px;
  margin: 0 auto;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 48px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all 0.3s;
}

.value-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.value-icon.cyan {
  background: var(--accent-glow);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.value-icon.violet {
  background: var(--accent2-glow);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.value-icon.green {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.value-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Preview section ────────────────────────────── */

.preview-section {
  padding: 40px 24px 80px;
  max-width: 960px;
  margin: 0 auto;
}

.preview-window {
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.preview-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--glass-border);
}

.preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.4;
}

.preview-dot:first-child { background: var(--red); opacity: 0.7; }
.preview-dot:nth-child(2) { background: var(--amber); opacity: 0.7; }
.preview-dot:nth-child(3) { background: var(--green); opacity: 0.7; }

.preview-url {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.preview-body {
  padding: 24px;
}

.preview-search {
  width: 100%;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.preview-search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.preview-search::placeholder {
  color: var(--text-muted);
}

.preview-results {
  margin-top: 16px;
  list-style: none;
}

.preview-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 8px;
  transition: background 0.15s;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
}

.preview-item:hover {
  background: var(--surface);
  color: var(--text);
}

.preview-item-name {
  font-weight: 600;
  font-size: 14px;
}

.preview-item-meta {
  font-size: 13px;
  color: var(--text-secondary);
}

.preview-item-earnings {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* ── CTA section ────────────────────────────────── */

.cta-section {
  padding: 80px 24px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 16px;
}

.cta-contact {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-secondary);
}

.cta-contact a {
  color: var(--accent);
  text-decoration: none;
}

.cta-contact a:hover {
  text-decoration: underline;
}

/* ── Content gate ──────────────────────────────── */

.gate-wall {
  position: relative;
  margin: -40px auto 40px;
  max-width: 800px;
  padding: 0 16px;
}

.gate-fade {
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  margin-bottom: -1px;
}

.gate-content {
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
}

.gate-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.gate-content > p {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.gate-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto 16px;
}

.gate-fields input {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  width: 100%;
}

.gate-fields input::placeholder {
  color: var(--text-muted);
}

.gate-btn {
  font-size: 15px;
  padding: 12px 32px;
}

.gate-note {
  color: var(--text-muted) !important;
  font-size: 13px !important;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

.gate-success {
  color: var(--accent);
  font-size: 15px;
}

@media (max-width: 500px) {
  .gate-fields {
    grid-template-columns: 1fr;
  }
}

/* ── Credibility block ─────────────────────────── */

.credibility-block {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
}

.credibility-block p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 16px;
}

/* ── Landing footer ─────────────────────────────── */

.landing-footer {
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--glass-border);
  line-height: 1.8;
}

.landing-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.landing-footer a:hover {
  color: var(--accent);
}

.landing-footer .footer-legal {
  margin-top: 16px;
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ── Animations ─────────────────────────────────── */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Hero section (profile) ─────────────────────── */

.hero {
  margin-bottom: 0;
}

/* ── Sticky section nav ────────────────────────── */

.section-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  margin: 0 calc(-1 * max(16px, (100vw - var(--max-width)) / 2));
  padding: 0 max(16px, (100vw - var(--max-width)) / 2);
  margin-bottom: 24px;
}

.nav-track {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0;
}
.nav-track::-webkit-scrollbar { display: none; }

.nav-pill {
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-pill:hover { color: var(--text-secondary); background: var(--surface); }
.nav-pill.active { color: var(--accent); background: rgba(6, 182, 212, 0.1); }

/* ── Info buttons & modal ──────────────────────── */

.info-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  margin-left: auto;
  opacity: 0.4;
  transition: opacity 0.2s;
}
.info-btn:hover { opacity: 0.8; }
.info-btn svg { stroke: var(--text-secondary); fill: none; stroke-width: 1.5; vertical-align: middle; }

.info-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
}

.info-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 201;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 440px;
  width: calc(100% - 32px);
  box-shadow: var(--shadow);
}

.info-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.info-modal-header h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.info-modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.info-modal-close:hover { color: var(--text); }

.info-modal p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}
.info-modal .info-modal-source {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-muted);
}

.hero h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
}

.website-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  text-decoration: none;
  font-size: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
  transition: background 0.2s;
}
.website-link:hover { background: var(--surface-hover); }
.website-link svg { stroke: var(--accent); fill: none; stroke-width: 2; }

.tag {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ── Cards ──────────────────────────────────────── */

.card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: rgba(148, 163, 184, 0.2);
}

.card h2 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card h2 svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 16px 0 8px;
}

/* ── Metric blocks ──────────────────────────────── */

.metric-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.metric {
  text-align: center;
}

.metric-value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.metric-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* ── Charts ─────────────────────────────────────── */

.chart-row {
  position: relative;
  margin: 8px 0;
}

/* ── Tables ─────────────────────────────────────── */

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th {
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

td {
  padding: 8px 0;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-secondary);
}

td:last-child, th:last-child {
  text-align: right;
  color: var(--accent);
  font-weight: 600;
}

/* ── Stability indicator ────────────────────────── */

.stability-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
}

.stability-indicator .dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 12px currentColor;
}

.stability-green {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: var(--green);
}
.stability-green .dot { background: var(--green); }

.stability-amber {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  color: var(--amber);
}
.stability-amber .dot { background: var(--amber); }

.stability-red {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
  color: var(--red);
}
.stability-red .dot { background: var(--red); }

/* ── Rent comparison bar ───────────────────────── */

.rent-bar-wrap {
  margin-top: 16px;
}

.rent-comparison {
  position: relative;
  height: 32px;
  background: var(--bg-elevated);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.rent-fill {
  height: 100%;
  border-radius: 6px 0 0 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  transition: width 0.6s ease;
}

.rent-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--text-secondary);
  opacity: 0.6;
}

.rent-marker-label {
  position: absolute;
  top: -18px;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
}

.rent-context {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

/* ── Domicile bar ──────────────────────────────── */

.domicile-bar-wrap {
  margin-bottom: 12px;
}

.domicile-bar {
  display: flex;
  height: 28px;
  border-radius: 6px;
  overflow: hidden;
  gap: 2px;
}

.domicile-bar .seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  min-width: 28px;
  transition: flex-basis 0.4s ease;
}

.seg-uk { background: var(--accent); }
.seg-eu { background: var(--accent2); }
.seg-noneu { background: #f97316; }

.domicile-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.domicile-legend .swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 5px;
  vertical-align: middle;
}

.ukvi-source {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}

/* ── No data ────────────────────────────────────── */

.no-data {
  color: var(--text-muted);
  font-size: 14px;
  font-style: italic;
  text-align: center;
  padding: 16px 0;
}

/* ── Footer ─────────────────────────────────────── */

.data-footer {
  margin-top: 32px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* ── Browse page ────────────────────────────────── */

.search-bar {
  margin-bottom: 24px;
}

.search-bar input {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: all 0.2s;
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

.search-bar input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.filters select {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.filters select:focus {
  border-color: var(--accent);
}

.inst-list {
  list-style: none;
}

.inst-item {
  display: block;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}

.inst-item:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
  transform: translateX(4px);
  color: var(--text);
}

.inst-item-name {
  font-weight: 600;
  font-size: 15px;
}

.inst-item-meta {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.inst-item-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dot-small {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-green { background: var(--green); box-shadow: 0 0 6px var(--green); }
.dot-amber { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.dot-red { background: var(--red); box-shadow: 0 0 6px var(--red); }

/* ── Request box ────────────────────────────────── */

.request-box {
  margin-top: 40px;
  padding: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.request-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
}

.request-box > p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 20px;
}

.request-fields {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.request-fields input {
  flex: 1;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}

.request-fields input::placeholder { color: var(--text-muted); }
.request-fields input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
}

.request-btn {
  padding: 10px 32px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s;
}

.request-btn:hover { opacity: 0.85; }

.request-success {
  font-size: 14px;
  color: var(--green);
  margin: 12px 0 0;
}

/* ── Responsive ─────────────────────────────────── */

@media (max-width: 768px) {
  .value-grid { grid-template-columns: 1fr; }
  .stats-banner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 22px; }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 16px; }
  .site-header { flex-direction: column; gap: 4px; }
  .hero-title { letter-spacing: -1px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .request-fields { flex-direction: column; }
}
