/* Real Deal, Eh? — "Price report" look (chosen 2026-11-20, see docs/DESIGN.md). */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("fonts/schibsted-grotesk-latin.woff2") format("woff2");
}

:root {
  --ground: #f2f3f5;
  --surface: #ffffff;
  --ink: #101418;
  --ink-2: #2b3138;
  --muted: #5b626b;
  --line: #dfe2e6;
  --band: #eceef1;
  --real: #0b6b37;
  --ripoff: #b42318;
  --on-verdict: #ffffff;
  --btn: #101418;
  --on-btn: #ffffff;
  --radius: 20px;
  --radius-inner: 12px;
  --display: "Schibsted Grotesk", -apple-system, "SF Pro Display", "Segoe UI Variable Display", system-ui, sans-serif;
  --text: -apple-system, "SF Pro Text", "Segoe UI Variable Text", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0b0c0e;
    --surface: #17191d;
    --ink: #f3f4f6;
    --ink-2: #d3d7dc;
    --muted: #a1a8b1;
    --line: #2a2e34;
    --band: #24272c;
    --real: #3fbf75;
    --ripoff: #ff6b5b;
    --on-verdict: #0b0c0e;
    --btn: #f3f4f6;
    --on-btn: #0b0c0e;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.4 var(--text);
}

a { color: inherit; }

.wrap {
  max-width: 40rem;
  margin: 0 auto;
}

/* Disclosure: the first line on the page, per Amazon and the Competition Bureau. */
.disclosure {
  margin: 0;
  padding: 8px 16px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

header.top {
  padding: 22px 16px 18px;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.lang {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.lang:hover { text-decoration: underline; text-underline-offset: 3px; }

.tagline {
  margin: 8px 0 0;
  color: var(--ink-2);
  text-wrap: pretty;
}

#channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.section-label {
  margin: 0;
  padding: 0 16px 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

#deals {
  display: grid;
  gap: 12px;
  padding: 0 12px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-margin-top: 12px;
}
.card:target { outline: 2px solid var(--ink); outline-offset: 2px; }

.meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.meta .num { font-weight: 700; color: var(--ink); }

.card h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.verdict {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ink-2);
}
.badge {
  flex-shrink: 0;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1.4;
  padding: 1px 8px;
  border-radius: 6px;
  color: var(--on-verdict);
}
.is-real .badge { background: var(--real); }
.is-ripoff .badge { background: var(--ripoff); }

.chart { margin: 4px 0 0; }
.chart svg { display: block; width: 100%; height: auto; max-height: 96px; overflow: visible; }
.chart .band { fill: var(--band); }
.chart .line { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart .now { stroke: none; }
.is-real .chart .now { fill: var(--real); }
.is-ripoff .chart .now { fill: var(--ripoff); }
.chart .spike { fill: none; stroke: var(--ripoff); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart figcaption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.alt {
  border-top: 1px solid var(--band);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.alt p { margin: 0; font-size: 15px; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius-inner);
  background: var(--btn);
  color: var(--on-btn);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: transform 120ms var(--ease-out), opacity 120ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { opacity: 0.88; }
}

.us {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--muted);
}

a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.empty {
  margin: 0;
  padding: 28px 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

.rules {
  margin: 20px 12px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rules h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
}
.rules p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}
.rules .r { color: var(--real); }
.rules .x { color: var(--ripoff); }

footer {
  padding: 20px 16px 40px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
footer p { margin: 0 0 6px; }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:active { transform: none; }
}
