/* Self-hosted variable fonts (no remote font CDN). */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;

  /* ── Brand palette – Indigo / Violet ──────────────────────────────── */
  --brand-50:  #eef2ff;
  --brand-100: #e0e7ff;
  --brand-200: #c7d2fe;
  --brand-300: #a5b4fc;
  --brand-400: #818cf8;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-700: #4338ca;
  --brand-800: #3730a3;
  --brand-900: #312e81;
  --brand-950: #1e1b4b;

  --accent:       #4338ca;
  --accent-dark:  #3730a3;
  --accent-light: #6366f1;
  --accent-2:     #7c3aed;
  --accent-glow:  rgba(67, 56, 202, 0.22);
  --success:      #059669;
  --success-bg:   #d1fae5;
  --success-border:#6ee7b7;
  --warn:         #b45309;
  --warn-bg:      #fef3c7;
  --warn-border:  #fcd34d;

  --ink:          #0f0e1f;
  --ink-muted:    #5b5b8a;
  --line:         #e4e4f0;
  --paper:        #fafafa;
  --soft:         #f4f4fd;
  --surface:      #ffffff;

  --shadow-xs:  0 1px 2px rgba(15, 14, 31, 0.06);
  --shadow-sm:  0 2px 8px rgba(15, 14, 31, 0.08);
  --shadow-md:  0 4px 20px rgba(15, 14, 31, 0.1);
  --shadow-lg:  0 12px 48px rgba(15, 14, 31, 0.12);
  --shadow-brand: 0 4px 20px rgba(67, 56, 202, 0.28);
  --shadow-brand-lg: 0 8px 32px rgba(67, 56, 202, 0.38);

  --radius-xs:  6px;
  --radius-sm:  10px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-full: 9999px;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Typography ───────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

h1 { margin: 0; font-size: clamp(28px, 5vw, 52px); font-weight: 700; }
h2 { margin: 0; font-size: clamp(20px, 3vw, 34px); font-weight: 700; }
h3 { margin: 0 0 10px; font-size: 17px; font-weight: 600; }
p  { overflow-wrap: anywhere; }

.lead {
  font-size: clamp(15px, 1.8vw, 19px);
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  max-width: 680px;
  margin: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
}

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px clamp(16px, 4vw, 48px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.015em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
  border-radius: 7px;
  padding: 4px;
  color: white;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-link {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--accent); background: var(--brand-50); }

.language-btn {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.language-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 3px var(--brand-100);
}

/* ── Tab bar ──────────────────────────────────────────────────────────── */
.tab-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 clamp(16px, 4vw, 48px);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-top: 1px solid var(--line);
}
.tab-bar::-webkit-scrollbar { display: none; }

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  margin-bottom: -1px;
  border-radius: var(--radius-xs) var(--radius-xs) 0 0;
  letter-spacing: 0.01em;
}
.tab-btn:hover { color: var(--accent); background: var(--brand-50); }
.tab-btn[aria-selected="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 700;
}

/* ── App views ────────────────────────────────────────────────────────── */
.app-view[hidden] { display: none; }

/* ── View intro ───────────────────────────────────────────────────────── */
.view-intro {
  background: linear-gradient(135deg, var(--brand-900) 0%, #312e81 50%, #4c1d95 100%);
  padding: clamp(32px, 5vw, 52px) clamp(20px, 5vw, 64px);
  color: white;
  position: relative;
  overflow: hidden;
}
.view-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 85% 50%, rgba(124, 58, 237, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(67, 56, 202, 0.35) 0%, transparent 70%);
  pointer-events: none;
}
.view-intro-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.view-intro h1 { color: white; }
.view-intro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 4px;
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}

/* ── Bands ────────────────────────────────────────────────────────────── */
.band {
  padding: clamp(28px, 4.5vw, 56px) clamp(20px, 5vw, 64px);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.band.muted { background: var(--soft); }

.soft-bg {
  background: var(--soft);
  max-width: unset;
}
.soft-bg > .band { padding-top: clamp(28px, 4.5vw, 56px); padding-bottom: clamp(28px, 4.5vw, 56px); }

.section-head {
  max-width: 720px;
  margin-bottom: 26px;
  display: grid;
  gap: 8px;
}
.section-head h2 { color: var(--ink); }
.section-head p { color: var(--ink-muted); font-size: 15px; margin: 0; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }

.button.primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-color: transparent;
  color: white;
  box-shadow: var(--shadow-brand);
}
.button.primary:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, #6d28d9 100%);
  box-shadow: var(--shadow-brand-lg);
}

.button:not(.primary) {
  border-color: var(--line);
  color: var(--ink-muted);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}
.button:not(.primary):hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--brand-50);
  box-shadow: 0 0 0 3px var(--brand-100);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* ── Cards ────────────────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--brand-200);
}
.card h3 { color: var(--ink); }
.card ul { margin: 8px 0 0; padding-left: 20px; color: var(--ink-muted); font-size: 14px; }
.card ul li { margin-bottom: 5px; }
.card p { font-size: 15px; color: var(--ink-muted); margin: 0 0 8px; }
.card p:last-child { margin-bottom: 0; }
.card strong { color: var(--ink); }

.link-card { text-decoration: none; display: block; }
.link-card:hover h3 { color: var(--accent); }

/* ── Diagnostic ───────────────────────────────────────────────────────── */
.diagnostic-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(256px, 0.5fr);
  gap: 22px;
  align-items: start;
}

.check-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  display: grid;
  gap: 2px;
  box-shadow: var(--shadow-sm);
}

.check-panel label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: background 0.12s;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.check-panel label:hover { background: var(--soft); }
.check-panel label:has(input:checked) {
  background: var(--brand-50);
  color: var(--accent-dark);
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--accent);
  cursor: pointer;
}

.score-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  position: sticky;
  top: 108px;
  box-shadow: var(--shadow-sm);
}
.score-panel > p {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-muted);
}
.score-panel strong[data-score] {
  display: block;
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
  line-height: 1;
}
.score-panel span[data-score-message] {
  display: block;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}
.diagnostic-next-step { margin-bottom: 10px; }
.diagnostic-next-step .button { width: 100%; }

[data-recommendations] { margin: 10px 0; display: grid; gap: 6px; }
[data-recommendations]:empty { display: none; }

.action-buttons {
  display: flex;
  gap: 7px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.action-buttons .button { flex: 1; font-size: 12px; padding: 8px 10px; min-height: 36px; }

/* ── Tables ───────────────────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 15px;
}

th, td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
tr:last-child td { border-bottom: none; }

th {
  background: var(--soft);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}
tr:hover td { background: var(--brand-50); }

/* ── Template / supplier box ──────────────────────────────────────────── */
.template-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 10px;
}
.template-box p { margin: 10px 0 14px; font-size: 15px; color: var(--ink-muted); line-height: 1.65; }
details.template-box summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  list-style: none;
  color: var(--ink);
}
details.template-box summary::marker,
details.template-box summary::-webkit-details-marker { display: none; }
details.template-box summary strong { font-weight: 600; }

/* ── Import box (SKU) ─────────────────────────────────────────────────── */
.import-box {
  margin-top: 28px;
  padding: 22px;
  background: var(--soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}
.import-box h3 { margin-bottom: 6px; }
.import-box p { color: var(--ink-muted); font-size: 15px; margin-bottom: 16px; }

.import-form { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.import-left { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.import-left label { font-size: 13px; color: var(--ink-muted); font-weight: 600; }
.import-left input[type="file"] { font-size: 14px; color: var(--ink-muted); }

.sku-status-wrap { flex: 1; min-width: 160px; }
.sku-status {
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.sku-status.success { background: var(--success-bg); color: var(--success); border: 1px solid var(--success-border); }
.sku-status.error { background: var(--warn-bg); color: var(--warn); border: 1px solid var(--warn-border); }

/* ── Split ────────────────────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: 32px;
  align-items: start;
}
.split h2 { margin-bottom: 10px; }
.split p { color: var(--ink-muted); font-size: 16px; margin: 0; }

.check-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  padding: 9px 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  color: var(--ink-muted);
}
.check-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Monetization strip ───────────────────────────────────────────────── */
.monetization-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: clamp(24px, 3vw, 40px) clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  max-width: 1200px;
  margin: 0 auto;
}
.ad-slot, .affiliate-slot {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  background: var(--soft);
  color: var(--ink-muted);
  font-size: 13px;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.affiliate-slot:hover { border-color: var(--accent); background: var(--brand-50); color: var(--accent); }

/* ── Article pages ────────────────────────────────────────────────────── */
.article { max-width: 820px; }
.article h2 { margin: 32px 0 12px; }
.article ul { padding-left: 22px; color: var(--ink-muted); line-height: 1.7; }
.article li { margin-bottom: 6px; }
.article p { font-size: 16px; color: var(--ink-muted); line-height: 1.7; }
.article .button { margin-top: 6px; }
.article .eyebrow {
  background: var(--brand-100);
  color: var(--accent-dark);
  border: none;
}

/* ── Contact form ─────────────────────────────────────────────────────── */
.contact-section { max-width: 640px; margin: 0 auto; }
.contact-form { display: grid; gap: 18px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.field input, .field textarea {
  padding: 10px 13px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--brand-100);
}

.contact-status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.contact-status.success { background: var(--success-bg); color: var(--success); border: 1px solid var(--success-border); }
.contact-status.error { background: var(--warn-bg); color: var(--warn); border: 1px solid var(--warn-border); }

.honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
}

.visually-hidden-file-input {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; border: 0; padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

/* ── Admin ────────────────────────────────────────────────────────────── */
.admin-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--soft);
}
.admin-card {
  width: min(500px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.admin-card h1 { font-size: 22px; margin: 0 0 28px; }
.admin-error {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  background: var(--warn-bg);
  color: var(--warn);
  border: 1px solid var(--warn-border);
  font-size: 14px;
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.stat-item {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
}
.stat-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-muted); margin-bottom: 4px; }
.stat-value { font-size: 16px; font-weight: 700; color: var(--ink); word-break: break-all; }
.admin-subtitle { margin: 0 0 10px; font-size: 17px; font-weight: 700; }

/* ── Consent ──────────────────────────────────────────────────────────── */
.consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  width: min(400px, calc(100% - 40px));
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.consent p { margin: 0 0 14px; font-size: 13px; color: var(--ink-muted); line-height: 1.55; }
.consent > div { display: flex; gap: 8px; flex-wrap: wrap; }
.consent .button { font-size: 13px; padding: 8px 16px; }

/* ── Footer ───────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  padding: 24px clamp(20px, 5vw, 64px);
}
footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
footer p { margin: 0; font-size: 13px; color: var(--ink-muted); }
footer a { color: var(--ink-muted); text-decoration: none; }
footer a:hover { color: var(--accent); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; }

/* ── Copy feedback ────────────────────────────────────────────────────── */
[data-copy][data-copied]::after {
  content: " ✓ Copie";
  color: var(--success);
  font-size: 12px;
  font-weight: 600;
}

/* ── Conversion CTA ───────────────────────────────────────────────────── */
.conversion-cta-band {
  padding: clamp(28px, 4vw, 56px) clamp(20px, 5vw, 64px);
  background: linear-gradient(135deg, var(--brand-50), var(--soft));
  border-top: 1px solid var(--line);
}
.conversion-cta-band .inner { max-width: 1200px; margin: 0 auto; }
.conversion-cta-band h2 { margin-bottom: 8px; }
.conversion-cta-band p { color: var(--ink-muted); margin-bottom: 18px; max-width: 560px; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .diagnostic-grid { grid-template-columns: 1fr; }
  .score-panel { position: static; }
  .split { grid-template-columns: 1fr; }
  .monetization-strip { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .header-row1 { padding: 10px 16px; }
  .tab-bar { padding: 0 16px; }
  .brand { font-size: 14px; }
  .header-end .nav-link { display: none; }
  .cards { grid-template-columns: 1fr; }
  .action-buttons { flex-direction: column; }
  .action-buttons .button { width: 100%; }
  .import-form { flex-direction: column; }
  .monetization-strip { grid-template-columns: 1fr; }
  .view-intro { padding: 24px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
