@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Surfaces */
  --bg: #0b1120;
  --bg2: #131c31;
  --bg3: #334155;
  --surface: #131c31;
  --card-bg: #131c31;

  /* Text */
  --text: #f1f5f9;
  --text2: #a8b3c7;        /* contraste relevé (était #94a3b8) */
  --text3: #64748b;

  /* Brand / accents */
  --blue: #3b82f6;
  --blue2: #2563eb;
  --green: #22c55e;
  --red: #ef4444;
  --orange: #f97316;
  --yellow: #eab308;
  --purple: #a855f7;
  --cyan: #06b6d4;

  /* Sémantique de statut (découplée du nom de couleur) */
  --ok: #22c55e;
  --warn: #f59e0b;
  --bad: #ef4444;
  --neutral: #64748b;

  /* Glass / borders / glow */
  --glass: linear-gradient(160deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.55));
  --glass-flat: rgba(19, 28, 49, 0.85);
  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(148, 163, 184, 0.32);
  --glow: 0 0 0 1px rgba(59, 130, 246, 0.15);

  /* Typo */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.5rem;

  /* Radius */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;

  /* Elevation */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.28);
  --shadow-pop: 0 20px 60px rgba(0, 0, 0, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-display);
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(59, 130, 246, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(168, 85, 247, 0.10), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { max-width: 1200px; margin: 0 auto; padding: 20px; }

/* ─── Header ─────────────────────────────────────────────── */
.header {
  text-align: center;
  padding: 48px 20px 40px;
  background: linear-gradient(180deg, rgba(19, 28, 49, 0.6) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.brand-logo .mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}
.brand-logo .mark svg { width: 22px; height: 22px; }
.header h1 {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.header h1 span {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.header p { color: var(--text2); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ─── Search Form ────────────────────────────────────────── */
.search-section {
  max-width: 720px;
  margin: 40px auto;
  padding: 32px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}
.search-section h2 { margin-bottom: 20px; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; }

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.form-row input,
input[type="text"], input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  background: rgba(11, 17, 32, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row input:focus,
input[type="text"]:focus, input[type="email"]:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.form-row input::placeholder { color: var(--text3); }

.btn {
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(37, 99, 235, 0.45); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  box-shadow: none;
}
.btn-outline:hover { background: rgba(59, 130, 246, 0.12); border-color: var(--blue); box-shadow: none; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }

/* ─── Progress ───────────────────────────────────────────── */
.progress-section {
  display: none;
  max-width: 720px;
  margin: 30px auto;
  padding: 32px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.progress-section.active { display: block; }
.progress-section h3 { display: flex; align-items: center; justify-content: space-between; }
.progress-pct { font-variant-numeric: tabular-nums; color: var(--blue); font-weight: 800; }
.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(11, 17, 32, 0.8);
  border-radius: 999px;
  overflow: hidden;
  margin: 16px 0;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 999px;
  transition: width 0.5s ease;
  position: relative;
}
.progress-bar-fill::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: shimmer 1.6s infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
.progress-step { color: var(--text2); font-size: 0.9rem; min-height: 24px; }

/* ─── Results ────────────────────────────────────────────── */
.results-section { display: none; }
.results-section.active { display: block; }

/* Reveal animation (séquencée par animation-delay inline) */
.reveal { animation: fadeInUp 0.5s both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ─── Score Hero + Gauge SVG ─────────────────────────────── */
.score-hero {
  text-align: center;
  padding: 40px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}
.gauge { position: relative; width: 180px; height: 180px; margin: 8px auto 16px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge__track { fill: none; stroke: rgba(148, 163, 184, 0.14); stroke-width: 12; }
.gauge__fill {
  fill: none;
  stroke-width: 12;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.gauge__center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.gauge__grade { font-size: 3.2rem; font-weight: 900; line-height: 1; letter-spacing: -0.02em; }
.gauge__score { font-size: 0.95rem; color: var(--text2); margin-top: 6px; font-variant-numeric: tabular-nums; }

/* legacy fallback (report.html, anciennes vues) */
.score-circle {
  width: 160px; height: 160px; border-radius: 50%;
  border: 6px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin: 0 auto 16px; position: relative;
}
.score-circle.green { border-color: var(--green); }
.score-circle.orange { border-color: var(--orange); }
.score-circle.red { border-color: var(--red); }
.score-circle .grade { font-size: 3rem; font-weight: 800; }
.score-circle .score { font-size: 1.1rem; color: var(--text2); }

.score-label { font-size: 1.05rem; color: var(--text2); margin-top: 8px; }
.score-ranking {
  margin-top: 18px;
  padding: 12px 24px;
  background: rgba(11, 17, 32, 0.6);
  border: 1px solid var(--border);
  border-radius: 999px;
  display: inline-block;
  font-size: 0.9rem;
}
.score-ranking strong { color: var(--blue); }

/* ─── Business Info ──────────────────────────────────────── */
.biz-name { font-size: 1.6rem; font-weight: 800; margin-bottom: 4px; letter-spacing: -0.01em; }
.biz-location { color: var(--text2); margin-bottom: 16px; }

/* ─── KPI scorecards bandeau ─────────────────────────────── */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.kpi-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.kpi-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--accent, var(--blue));
}
.kpi-card .kpi-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text2);
  display: flex; align-items: center; gap: 6px;
}
.kpi-card .kpi-value { font-size: var(--text-2xl); font-weight: 800; margin-top: 6px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi-card .kpi-sub { font-size: var(--text-xs); color: var(--text2); margin-top: 3px; }
.kpi-delta { font-size: var(--text-xs); font-weight: 700; }
.kpi-delta.up { color: var(--ok); }
.kpi-delta.down { color: var(--bad); }

/* ─── Cards Grid ─────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.card h3 .icon { font-size: 1.3rem; line-height: 1; }
.card h3 .icon svg { width: 20px; height: 20px; display: block; }
.card-ico {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(59, 130, 246, 0.14); color: var(--blue);
}
.card-ico svg { width: 18px; height: 18px; }

/* ─── Score bars ─────────────────────────────────────────── */
.score-row {
  display: flex;
  align-items: center;
  margin-bottom: 11px;
  gap: 10px;
}
.score-row .label { width: 130px; font-size: 0.85rem; color: var(--text2); flex-shrink: 0; }
.score-row .bar-bg {
  flex: 1;
  height: 9px;
  background: rgba(11, 17, 32, 0.8);
  border-radius: 999px;
  overflow: hidden;
}
.score-row .bar-fill {
  height: 100%;
  border-radius: 999px;
  width: 0;                      /* animé via JS: data-width -> width */
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.score-row .value { width: 40px; text-align: right; font-weight: 700; font-size: 0.85rem; font-variant-numeric: tabular-nums; }

/* ─── Comparison Table ───────────────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th {
  text-align: left; padding: 10px; font-size: 0.8rem; color: var(--text2);
  border-bottom: 1px solid var(--border); text-transform: uppercase;
}
.compare-table td { padding: 10px; font-size: 0.9rem; border-bottom: 1px solid var(--border); }
.compare-table tr.client-row { background: rgba(59, 130, 246, 0.12); }
.compare-table tr.client-row td { font-weight: 600; }

/* ─── Gap / strength items ───────────────────────────────── */
.gap-item {
  padding: 12px 16px; background: rgba(11, 17, 32, 0.5); border-radius: var(--radius-sm);
  margin-bottom: 10px; border-left: 4px solid var(--red);
}
.gap-item.high { border-left-color: var(--orange); }
.gap-item.medium { border-left-color: var(--yellow); }
.gap-item .gap-title { font-weight: 600; margin-bottom: 4px; }
.gap-item .gap-detail { font-size: 0.85rem; color: var(--text2); }

.strength-item {
  padding: 12px 16px; background: rgba(11, 17, 32, 0.5); border-radius: var(--radius-sm);
  margin-bottom: 10px; border-left: 4px solid var(--green);
}
.strength-item .strength-title { font-weight: 600; margin-bottom: 4px; color: var(--green); }
.strength-item .strength-detail { font-size: 0.85rem; color: var(--text2); }

/* ─── Issue-cards (problème → solution) ──────────────────── */
.issue-card {
  background: rgba(11, 17, 32, 0.5);
  border: 1px solid var(--border);
  border-left: 4px solid var(--neutral);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
  overflow: hidden;
}
.issue-card[data-prio="p0"] { border-left-color: var(--bad); }
.issue-card[data-prio="p1"] { border-left-color: var(--orange); }
.issue-card[data-prio="p2"] { border-left-color: var(--warn); }
.issue-card[data-prio="p3"] { border-left-color: var(--neutral); }
.issue-card > summary {
  cursor: pointer; padding: 13px 16px; display: flex; align-items: center;
  gap: var(--space-3); font-weight: 600; list-style: none;
}
.issue-card > summary::-webkit-details-marker { display: none; }
.issue-card > summary::after { content: '+'; margin-left: auto; color: var(--text2); font-weight: 700; }
.issue-card[open] > summary::after { content: '\2212'; }
.issue-card .issue-title { flex: 1; }
.issue-card .issue-body { padding: 0 16px 16px; font-size: var(--text-sm); color: var(--text2); line-height: 1.6; }
.issue-card .issue-body strong { color: var(--text); }
.issue-delta { font-size: var(--text-xs); font-weight: 800; font-variant-numeric: tabular-nums; }
.issue-delta.cost { color: var(--bad); }
.issue-delta.gain { color: var(--ok); }

/* ─── Recommendation items ───────────────────────────────── */
.rec-item {
  padding: 16px; background: rgba(11, 17, 32, 0.5); border-radius: var(--radius-sm);
  margin-bottom: 12px; display: flex; gap: 16px; align-items: flex-start;
}
.rec-rank {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
}
.rec-rank.critical { background: var(--red); color: white; }
.rec-rank.high { background: var(--orange); color: white; }
.rec-rank.medium { background: var(--yellow); color: var(--bg); }
.rec-rank.low { background: var(--bg3); color: var(--text2); }
.rec-content { flex: 1; }
.rec-content h4 { margin-bottom: 4px; }
.rec-content p { font-size: 0.85rem; color: var(--text2); line-height: 1.5; }
.rec-meta { display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.rec-meta span { font-size: 0.8rem; color: var(--text2); }

/* ─── Info rows ──────────────────────────────────────────── */
.info-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: none; }
.info-row .label { color: var(--text2); font-size: 0.9rem; }
.info-row .value { font-weight: 500; text-align: right; }
.info-row .value.ok { color: var(--ok); }
.info-row .value.warn { color: var(--warn); }
.info-row .value.bad { color: var(--bad); }

/* ─── Stat tile (factorisé depuis les inline) ────────────── */
.stat-tile {
  text-align: center; padding: 14px; background: rgba(11, 17, 32, 0.55);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  flex: 1; min-width: 110px;
}
.stat-tile .stat-num { font-size: 1.6rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-tile .stat-cap { font-size: 0.72rem; color: var(--text2); text-transform: uppercase; letter-spacing: 0.03em; margin-top: 4px; }

/* ─── Tags / badges ──────────────────────────────────────── */
.tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; margin: 2px;
}
.tag.green { background: rgba(34, 197, 94, 0.16); color: var(--green); }
.tag.red { background: rgba(239, 68, 68, 0.16); color: var(--red); }
.tag.orange { background: rgba(249, 115, 22, 0.16); color: var(--orange); }
.tag.blue { background: rgba(59, 130, 246, 0.16); color: var(--blue); }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700;
}
.badge--ok { background: rgba(34, 197, 94, 0.16); color: var(--ok); }
.badge--warn { background: rgba(245, 158, 11, 0.16); color: var(--warn); }
.badge--bad { background: rgba(239, 68, 68, 0.16); color: var(--bad); }
.badge--p0 { background: var(--bad); color: #fff; }
.badge--p1 { background: var(--orange); color: #fff; }
.badge--p2 { background: var(--warn); color: #1a1205; }
.badge--p3 { background: rgba(148, 163, 184, 0.2); color: var(--text2); }

/* Utilitaires statut */
.text-ok { color: var(--ok); } .text-warn { color: var(--warn); } .text-bad { color: var(--bad); } .text-muted { color: var(--text2); }

/* ─── Actions bar ────────────────────────────────────────── */
.actions-bar {
  display: flex; gap: 12px; justify-content: center; margin: 24px 0; flex-wrap: wrap;
}

/* ─── Competitors ────────────────────────────────────────── */
.competitors-list { display: flex; flex-direction: column; gap: 8px; }
.competitor-row {
  display: grid; grid-template-columns: 30px 1fr 60px 80px 70px; gap: 8px;
  align-items: center; padding: 10px 12px; background: rgba(11, 17, 32, 0.5);
  border-radius: var(--radius-sm); font-size: 0.85rem;
}
.competitor-row .rank { color: var(--text2); font-weight: 600; }
.competitor-row .name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ─── Summary box ────────────────────────────────────────── */
.summary-box {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(168, 85, 247, 0.12));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  margin-top: 24px; text-align: center;
}
.summary-box h3 { margin-bottom: 16px; }
.summary-stats { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.summary-stat .value { font-size: 1.5rem; font-weight: 700; color: var(--blue); }
.summary-stat .label { font-size: 0.8rem; color: var(--text2); }

/* ─── IA Heatmap (modèle × requête) ──────────────────────── */
.heatmap-wrap { overflow-x: auto; margin-top: var(--space-3); }
.heatmap {
  display: grid; gap: 5px; min-width: max-content;
}
.heatmap .hm-cell {
  width: 30px; height: 30px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; cursor: default;
}
.heatmap .hm-cell--cited { background: rgba(34, 197, 94, 0.28); border: 1px solid rgba(34, 197, 94, 0.6); color: var(--ok); }
.heatmap .hm-cell--miss { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.35); color: rgba(239,68,68,.7); }
.heatmap .hm-head {
  font-size: 0.72rem; color: var(--text2);
  display: flex; align-items: center;
  white-space: nowrap; padding-right: 8px;
}
.heatmap .hm-col {
  font-size: 0.66rem; color: var(--text2); text-align: center;
  writing-mode: vertical-rl; transform: rotate(180deg);
  max-height: 90px; overflow: hidden; text-overflow: ellipsis; justify-self: center;
}
.hm-legend { display: flex; gap: 16px; margin-top: 10px; font-size: 0.75rem; color: var(--text2); }
.hm-legend span { display: inline-flex; align-items: center; gap: 6px; }
.hm-dot { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }

/* Carte de positionnement local */
.geo-map { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: rgba(11, 17, 32, 0.4); }
.geo-map svg { display: block; }

/* Share of voice empilée */
.sov-bar { display: flex; height: 26px; border-radius: 8px; overflow: hidden; margin: 8px 0; }
.sov-bar .sov-seg { display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: #fff; min-width: 0; transition: width 0.9s ease; }
.sov-bar .sov-you { background: linear-gradient(135deg, var(--blue), var(--blue2)); }
.sov-bar .sov-them { background: var(--bg3); color: var(--text2); }

/* ─── Skeleton ───────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #131c31 25%, #1e2a44 37%, #131c31 63%);
  background-size: 400% 100%;
  animation: skeleton 1.4s ease infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ─── Suggestions dropdown ───────────────────────────────── */
.suggestions {
  position: absolute; background: var(--glass-flat); border: 1px solid var(--border);
  border-radius: var(--radius-sm); width: 100%; max-height: 220px; overflow-y: auto;
  z-index: 100; margin-top: 4px; backdrop-filter: blur(12px); box-shadow: var(--shadow-pop);
}
.suggestion-item { padding: 10px 14px; cursor: pointer; font-size: 0.9rem; border-bottom: 1px solid var(--border); }
.suggestion-item:hover { background: rgba(59, 130, 246, 0.12); }
.suggestion-item .sub { font-size: 0.75rem; color: var(--text2); }

/* ─── Accessibilité & motion ─────────────────────────────── */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .cards-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .header h1 { font-size: 1.7rem; }
  .competitor-row { grid-template-columns: 25px 1fr 50px 60px; }
  .competitor-row > :last-child { display: none; }
}
