/* LostPages audit
   Fog paper, navy ink, one loud colour reserved for loss. */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url("/fonts/schibsted-grotesk-latin-wght-normal.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: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url("/fonts/schibsted-grotesk-latin-ext-wght-normal.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 {
  --paper: #e9edf1;
  --sheet: #f6f8fa;
  --ink: #17202e;
  --ink-2: #2b3648;
  --slate: #5b6676;
  --rule: #c7cfd9;
  --rule-soft: #d9dfe6;
  --loss: #b3123e;
  --loss-soft: #f3dbe2;
  --moved: #8a5f00;
  --moved-soft: #f1e6cc;
  --kept: #2e5e4e;
  --idle: #9aa5b3;

  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --measure: 62ch;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "tnum" 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--loss); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--sheet); padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- Barre du haut ---------- */
.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.mark { width: 26px; height: 26px; flex: none; }
.mark-base { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.mark-bar { fill: var(--ink); }
.mark-bar.is-lost { fill: var(--loss); }
.top-nav { display: flex; gap: 24px; font-size: 15px; color: var(--slate); }
.top-nav a { text-decoration: none; }
.top-nav a:hover { color: var(--ink); text-decoration: underline; }

main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(40px, 6vw, 64px); }
.hero h1 {
  margin: 0;
  max-width: 11.5ch;
  font-size: clamp(46px, 8.4vw, 104px);
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.lede { max-width: var(--measure); margin: 28px 0 0; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); }

.probe { margin-top: 36px; max-width: 720px; }
.probe-label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.probe-row { display: flex; gap: 10px; }
.field {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  background: var(--sheet);
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  transition: box-shadow .15s;
}
.field:focus-within { box-shadow: 0 0 0 4px rgba(23, 32, 46, .14); }
.field-prefix { padding-left: 16px; color: var(--idle); font-size: 18px; user-select: none; }
.field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 16px 16px 16px 2px;
  font: 500 18px/1.2 var(--font);
  color: var(--ink);
  outline: none;
}
.field input::placeholder { color: var(--idle); font-weight: 400; }
.probe-note { margin: 12px 0 0; font-size: 14px; color: var(--slate); }
.probe-error { margin: 12px 0 0; font-size: 15px; color: var(--loss); font-weight: 600; }
.probe.is-invalid .field { border-color: var(--loss); }

/* ---------- Boutons ---------- */
.btn {
  appearance: none;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  padding: 0 24px;
  min-height: 56px;
  font: 700 17px/1 var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: transform .08s ease, background-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--sheet); }
.btn-ink:hover { background: var(--ink-2); }
.btn-loss { background: var(--loss); border-color: var(--loss); color: #fff; }
.btn-loss:hover { background: #9a0f35; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--sheet); }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 8px; }
.link-btn { background: none; border: 0; padding: 4px 0; font: 500 15px var(--font); color: var(--slate); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }

/* ---------- La bande (signature) ---------- */
.specimen { margin: clamp(40px, 6vw, 72px) 0 0; }
.strip { display: grid; gap: 14px; }
.strip-row { display: grid; grid-template-columns: 112px 1fr; align-items: end; gap: 18px; }
.strip-name { font-size: 14px; color: var(--slate); padding-bottom: 2px; }
.strip-name b { display: block; color: var(--ink); font-size: 15px; font-weight: 700; }
.ticks { display: flex; align-items: flex-end; gap: 2px; height: 56px; border-bottom: 1.5px solid var(--ink); }
.tick { flex: 1 1 0; min-width: 1px; max-width: 7px; height: 62%; background: var(--ink); border-radius: 1px 1px 0 0; transform-origin: bottom; }
.tick.is-loss { background: var(--loss); height: 100%; }
.tick.is-moved { background: var(--moved); height: 80%; }
.tick.is-unchecked { background: var(--idle); opacity: .55; height: 70%; }
.tick.is-ghost { background: var(--rule); }
.specimen figcaption { margin-top: 16px; font-size: 14px; color: var(--slate); max-width: var(--measure); }

/* Une seule animation orchestrée : la bande se trace puis les pertes ressortent */
@media (prefers-reduced-motion: no-preference) {
  .strip[data-animate] .tick { animation: grow .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 6ms); }
  .strip[data-animate] .tick.is-loss { animation: grow .5s cubic-bezier(.2, .7, .2, 1) both, flag .6s ease-out both; animation-delay: calc(var(--i) * 6ms), calc(900ms + var(--i) * 3ms); }
}
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes flag { from { background: var(--ink); height: 62%; } to { background: var(--loss); height: 100%; } }

/* ---------- Progression ---------- */
.run { padding: clamp(28px, 6vw, 64px) 0; max-width: 760px; }
.run-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.run h2 { margin: 0; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; line-height: 1.1; font-weight: 800; }
.run h2 span { color: var(--slate); font-weight: 600; overflow-wrap: anywhere; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; border-left: 1.5px solid var(--rule); }
.step { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 14px 0 14px 28px; }
.step-dot { position: absolute; left: -7.5px; top: 20px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--idle); }
.step-label { font-size: 18px; font-weight: 600; color: var(--idle); }
.step-detail { font-size: 15px; color: var(--slate); text-align: right; font-variant-numeric: tabular-nums; }
.step[data-state="running"] .step-label { color: var(--ink); }
.step[data-state="running"] .step-dot { border-color: var(--ink); background: var(--ink); animation: pulse 1.1s ease-in-out infinite; }
.step[data-state="done"] .step-label { color: var(--ink); }
.step[data-state="done"] .step-dot { border-color: var(--kept); background: var(--kept); }
.step[data-state="done"] .step-dot::after { content: ""; position: absolute; left: 3.5px; top: 1.5px; width: 3px; height: 6px; border: solid var(--sheet); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(23, 32, 46, .12); } }
@media (prefers-reduced-motion: reduce) { .step[data-state="running"] .step-dot { animation: none; } }
.run-note { margin-top: 28px; font-size: 14px; color: var(--slate); }

/* ---------- Rapport ---------- */
.report { padding: clamp(28px, 5vw, 56px) 0 24px; }
.report-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 15px; color: var(--slate); padding-bottom: 18px; border-bottom: 1.5px solid var(--ink); }
.report-meta a { color: var(--ink); font-weight: 600; }
.verdict {
  margin: 28px 0 0;
  max-width: 16ch;
  font-size: clamp(38px, 6.4vw, 80px);
  line-height: .98;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.verdict.is-clean { max-width: 18ch; }
.verdict-sub { max-width: var(--measure); margin: 20px 0 0; font-size: 18px; color: var(--ink-2); }

.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 40px 0 18px; font-size: 14px; color: var(--slate); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 16px; border-radius: 1px; background: var(--ink); }
.legend i.l { background: var(--loss); }
.legend i.m { background: var(--moved); }
.legend i.u { background: var(--idle); opacity: .55; }
.report .strip-row .ticks { height: 64px; }

.tally { width: 100%; border-collapse: collapse; margin-top: 40px; font-variant-numeric: tabular-nums; }
.tally caption { text-align: left; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; margin-bottom: 10px; }
.tally th, .tally td { padding: 12px 10px; text-align: right; border-bottom: 1px solid var(--rule); font-size: 16px; }
.tally th:first-child, .tally td:first-child { text-align: left; padding-left: 0; }
.tally thead th { font-size: 14px; font-weight: 500; color: var(--slate); border-bottom: 1.5px solid var(--ink); }
.tally td.n-loss { color: var(--loss); font-weight: 700; }
.tally td.n-moved { color: var(--moved); font-weight: 600; }

/* Liste des pages */
.found { margin-top: 56px; }
.found-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; }
.found h3 { margin: 0; font-size: 26px; letter-spacing: -0.02em; font-weight: 800; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter { appearance: none; border: 1.5px solid var(--rule); background: transparent; border-radius: 999px; padding: 7px 14px; font: 500 14px var(--font); color: var(--ink-2); cursor: pointer; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--sheet); }
.filter b { font-weight: 700; font-variant-numeric: tabular-nums; }

.rows { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 190px 130px;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}
.row-path { min-width: 0; }
.row-path a { font-weight: 600; overflow-wrap: anywhere; text-decoration: none; }
.row-path a:hover { text-decoration: underline; }
.row-path small { display: block; color: var(--slate); font-size: 13px; margin-top: 2px; overflow-wrap: anywhere; }
/* « Last seen Mar 2026 », mais aussi « Still linked from your store » : on laisse respirer */
.row-seen { color: var(--slate); font-variant-numeric: tabular-nums; text-wrap: balance; }
.row-archive { text-align: right; }
.row-archive a { color: var(--slate); }
.status { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 13px; font-weight: 700; }
.status.missing { background: var(--loss-soft); color: var(--loss); }
.status.redirected { background: var(--moved-soft); color: var(--moved); }
.status.unchecked { background: transparent; color: var(--idle); border: 1px solid var(--rule); }
.more { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.empty-list { padding: 22px 0; color: var(--slate); }

/* Offres : une principale, une secondaire, volontairement pas identiques */
.offer {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  background: var(--sheet);
}
.offer-main { padding: clamp(24px, 4vw, 44px); background: var(--ink); color: var(--sheet); }
.offer-main h3 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; max-width: 14ch; }
.offer-main p { color: #c9d2de; max-width: 46ch; }
.offer-main .price { font-size: 17px; color: var(--sheet); font-weight: 600; margin-top: 18px; }
.offer-side { padding: clamp(24px, 4vw, 44px); }
.offer-side h3 { margin: 0; font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.offer-side p { color: var(--ink-2); }
.offer-side .price { font-weight: 600; }

.lead { margin-top: 22px; display: grid; gap: 10px; }
.lead label { font-size: 14px; font-weight: 600; }
.lead input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid var(--ink);
  background: var(--sheet);
  color: var(--ink);
  font: 500 17px var(--font);
}
.offer-main .lead input { border-color: var(--sheet); background: #222d3e; color: var(--sheet); }
.offer-main .lead input::placeholder { color: #8e9aab; }
.offer-main .btn-loss { width: 100%; }
.offer-side .btn { width: 100%; }
.lead-msg { margin: 6px 0 0; font-size: 15px; font-weight: 600; }
.offer-main .lead-msg { color: #f5c6d3; }
.offer-side .lead-msg { color: var(--loss); }
.lead-msg.is-ok { color: var(--kept); }
.offer-main .lead-msg.is-ok { color: #a9e0c8; }
.fine { font-size: 13px; color: var(--slate); }
.offer-main .fine { color: #8e9aab; }

.again { margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 15px; color: var(--slate); }

/* ---------- Sections d'explication ---------- */
.how { padding: clamp(56px, 8vw, 104px) 0 0; border-top: 1.5px solid var(--ink); margin-top: clamp(24px, 4vw, 48px); }
.how h2, .limits h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.05; font-weight: 800; }
.how-list { list-style: none; counter-reset: step; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.how-list li { counter-increment: step; border-top: 1.5px solid var(--rule); padding-top: 18px; }
.how-list li::before { content: counter(step); display: block; font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--rule); margin-bottom: 14px; }
.how-list h3 { margin: 0; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; }
.how-list p { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; }

.limits { padding: clamp(56px, 7vw, 88px) 0 clamp(56px, 7vw, 88px); max-width: 760px; }
.limits p { color: var(--ink-2); margin: 16px 0 0; max-width: var(--measure); }

.foot { max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; color: var(--slate); border-top: 1px solid var(--rule); }
.foot span:first-child { font-weight: 700; color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: var(--slate); }
.foot-links a:hover { color: var(--ink); }

/* ---------- Pages legales ---------- */
.doc { max-width: 720px; padding-block: clamp(32px, 6vw, 64px) clamp(40px, 6vw, 72px); }
.doc h1 { font-size: clamp(38px, 6vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; margin: 0 0 18px; }
.doc .doc-lede { font-size: 19px; color: var(--slate); margin: 0 0 8px; }
.doc h2 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; margin: 40px 0 10px; }
.doc p, .doc li { font-size: 16px; line-height: 1.62; }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 16px; padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--ink); }
.doc-updated { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--slate); }

/* ---------- Mobile ---------- */
@media (max-width: 880px) {
  .how-list { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }
  .row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "path status" "seen archive"; gap: 6px 12px; }
  .row-path { grid-area: path; }
  .row-status { grid-area: status; justify-self: end; }
  .row-seen { grid-area: seen; font-size: 13px; }
  .row-archive { grid-area: archive; font-size: 13px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .top-nav { display: none; }
  .probe-row { flex-direction: column; }
  .btn { width: 100%; }
  .strip-row { grid-template-columns: 1fr; gap: 6px; }
  .ticks { gap: 1px; height: 44px; }
  .tally th:nth-child(3), .tally td:nth-child(3), .tally th:nth-child(6), .tally td:nth-child(6) { display: none; }
  .tally th, .tally td { padding: 10px 6px; font-size: 15px; }
  .step { grid-template-columns: 1fr; }
  .step-detail { text-align: left; }
}
