/* Landing page only. Shared header/footer/button/chip/card styles live in
   shared/css/components.css. */

.font-mono { font-family: var(--font-mono); }

mark {
  /* A background-gradient "underline" trick reads, to contrast tooling, as
     the accent color filling the whole box regardless of its actual
     position/size — and on a wrapped, multi-line mark it also only drew
     under the last line. A real text-decoration underline avoids both: it
     never touches glyph-background contrast, and the browser places one
     correctly under every wrapped line on its own. */
  background: none;
  color: var(--ink);
  text-decoration-line: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
}

/* ---- Hero (v2): a fixed-dark band with a floating price card and orbiting price tags.
   Like the Compare hero it stays dark in both themes — the lime glow only reads on a dark ground. ---- */

.hero2 {
  --h2-bg: #0B1A16;
  --h2-fg: #F3F0E8;
  --ease-pop: cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--h2-bg);
  color: var(--h2-fg);
}

.hero2__glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
}

.hero2__glow--lime {
  width: 560px;
  height: 560px;
  right: -60px;
  top: -200px;
  background: #C8F169;
  opacity: 0.34;
  animation: hero2-drift 16s ease-in-out infinite alternate;
}

.hero2__glow--green {
  width: 520px;
  height: 520px;
  left: -180px;
  bottom: -180px;
  background: #0E5A4C;
  opacity: 0.7;
  animation: hero2-drift 20s ease-in-out infinite alternate-reverse;
}

@keyframes hero2-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-50px, 40px, 0) scale(1.14); }
}

.hero2__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(56px, 8vw, 104px);
}

.hero2__content {
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-width: 0;
}

.hero2__badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 12px;
  border: 1px solid color-mix(in srgb, var(--h2-fg) 26%, transparent);
  border-radius: 999px;
  font: 500 12px/1.3 var(--font-mono);
  color: color-mix(in srgb, var(--h2-fg) 86%, transparent);
}

/* Static, not pulsing: the shop count next to it doesn't change live on
   this view, so a perpetual "live" animation would be an honest-looking
   lie. See hero2-ping removal. */
.hero2__badge i {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C8F169;
}

.hero2 .hero__title {
  /* Was clamp(40px, 6.2vw, 86px): a 45-char, two-sentence headline at
     near-86px display size ate 62% of the viewport height before any other
     content. Sized down to fit a full sentence instead of a one-word punch
     line. */
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 900;
  text-wrap: balance;
}

.hero2 mark {
  display: inline-block;
  padding: 0 0.2em 0.06em;
  border-radius: 0.22em;
  background: #C8F169;
  color: #0D1F1B;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero2 .hero__lead {
  max-width: 560px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: color-mix(in srgb, var(--h2-fg) 76%, transparent);
}

.hero2__form {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 620px;
  padding: 8px 8px 8px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.8);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hero2__form:focus-within {
  border-color: #C8F169;
  box-shadow: 0 0 0 6px color-mix(in srgb, #C8F169 26%, transparent), 0 30px 60px -28px rgba(0, 0, 0, 0.8);
}

.hero2__form-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  background: var(--accent);
}

.hero2__input {
  flex: 1;
  min-width: 0;
  padding: 14px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 500 15px var(--font-mono);
}

.hero2__go {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-ink);
  font: 700 15px/1 var(--font-text);
  cursor: pointer;
  transition: transform 0.25s var(--ease-pop);
}

.hero2__go:hover { transform: translateY(-1px) scale(1.04); }
.hero2__go span:last-child { transition: transform 0.25s var(--ease-pop); }
.hero2__go:hover span:last-child { transform: translateX(4px); }

.hero2__try {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: color-mix(in srgb, var(--h2-fg) 62%, transparent);
}

.hero2 .chip-try {
  padding: 7px 14px;
  border: 1px solid color-mix(in srgb, var(--h2-fg) 30%, transparent);
  border-radius: 999px;
  background: transparent;
  color: var(--h2-fg);
  font: 500 13px var(--font-text);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.25s var(--ease-pop);
}

.hero2 .chip-try:hover {
  background: #C8F169;
  color: #0D1F1B;
  transform: translateY(-2px);
}

/* The stage: dashed orbits, a tilted price card, and tags that orbit around it (positions come from landing.js;
   the inline --x/--y are the resting positions used before the script runs and with reduced motion). */

.hero2__stage {
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 1 / 1;
  justify-self: center;
}

.hero2__orbit {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed;
}

.hero2__orbit--outer {
  inset: 2%;
  border-color: color-mix(in srgb, #C8F169 38%, transparent);
  animation: hero2-spin 70s linear infinite;
}

.hero2__orbit--inner {
  inset: 18%;
  border-color: color-mix(in srgb, var(--h2-fg) 24%, transparent);
  animation: hero2-spin 90s linear infinite reverse;
}

@keyframes hero2-spin { to { transform: rotate(360deg); } }

.hero2__card.hero-card {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  width: min(64%, 340px);
  padding: 20px;
  gap: 12px;
  color: var(--ink);
  --rx: 0deg;
  --ry: 0deg;
  transform: translate(-50%, -50%) perspective(1200px) rotate(-4deg) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.4s ease-out;
}

.hero2__tag {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px))) scale(var(--s, 1));
  opacity: var(--o, 1);
  will-change: transform, opacity;
}

.hero2__tag-av {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sunk);
  color: var(--ink);
  font: 700 11px var(--font-mono);
}

.hero2__tag span { display: flex; flex-direction: column; gap: 1px; }
.hero2__tag small { font: 500 10px var(--font-mono); color: var(--muted); }
.hero2__tag strong { font-size: 16px; letter-spacing: -0.02em; }
.hero2__tag em { font-style: normal; font-size: 11px; color: var(--save); }

.hero2__tag--win {
  background: #C8F169;
  border-color: transparent;
  color: #0D1F1B;
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.55);
}

.hero2__tag--win .hero2__tag-av { background: color-mix(in srgb, #fff 55%, transparent); color: #0D1F1B; }
.hero2__tag--win small,
.hero2__tag--win em { color: #0D1F1B; }

html.is-reduced-motion .hero2__glow,
html.is-reduced-motion .hero2__orbit,
html.is-reduced-motion .hero2__badge i { animation: none; }

@media (max-width: 900px) {
  .hero2__grid { grid-template-columns: 1fr; }
  .hero2__stage { width: min(100%, 420px); }
  .hero2__card.hero-card { width: 78%; padding: 16px; }
  .hero2__tag { padding: 5px 12px 5px 5px; }
  .hero2__tag-av { width: 28px; height: 28px; font-size: 10px; }
  .hero2__tag strong { font-size: 14px; }
}

@media (max-width: 520px) {
  .hero2__form { padding-left: 18px; }
  .hero2__go { padding: 14px 18px; }
  .hero2__go .font-mono { display: none; }
}

/* ---- Live ticker ---- */

.ticker {
  overflow: hidden;
  background: #C8F169;
  color: #0D1F1B;
}

.ticker__track {
  display: flex;
  width: max-content;
  gap: 52px;
  padding: 16px 0;
  animation: ticker-scroll 40s linear infinite;
}

.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 15px/1 var(--font-text);
  white-space: nowrap;
}

.ticker__item b { font: 700 16px var(--font-mono); }
.ticker__item small { font-size: 13px; opacity: 0.7; }
.ticker__item strong { font-size: 16px; }

@keyframes ticker-scroll { to { transform: translateX(calc(-50% - 26px)); } }
html.is-reduced-motion .ticker__track { animation: none; }


/* ---- Hero result-card mock ---- */

.hero-card {
  position: relative;
  width: min(100%, 400px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.45);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-card__row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hero-card__thumb {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
  background: var(--sunk);
  display: grid;
  place-items: center;
  font: 500 9px var(--font-mono);
  color: var(--muted);
}

.hero-card__id {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-card__name {
  font-weight: 700;
  font-size: 16px;
}

.hero-card__meta {
  font: 500 12px var(--font-mono);
  color: var(--muted);
}

.hero-card__hr {
  border: none;
  height: 1px;
  background: var(--line);
  margin: 0;
}

.hero-card__lines {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 15px;
}

.hero-card__line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
}

.hero-card__line span:first-child {
  color: var(--muted);
}

.hero-card__line--best {
  font-weight: 700;
}

.hero-card__line--best span:first-child {
  color: var(--ink);
}

.hero-card__muted-sm {
  font-size: 12px;
}

.hero-card__verdict {
  border-radius: 18px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card__verdict-title {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.hero-card__verdict-save {
  font: 600 15px/1.2 var(--font-mono);
}

/* ---- Fill statement ---- */

.fill-statement {
  padding-top: clamp(64px, 9vw, 130px);
  padding-bottom: clamp(48px, 6vw, 96px);
}

.fill-statement p {
  max-width: 1120px;
  font-size: clamp(30px, 4.6vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: pretty;
}

/* ---- Section intro (shared pattern) ---- */

.section-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
}

.section-title {
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
}

.section-text {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 520px;
  text-wrap: pretty;
}

/* ---- How it works (v2): four bento tiles with their own looping micro-animations ---- */

.bento {
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: clamp(48px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 52px);
}

.bento__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.bento__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  min-height: 360px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: 0 24px 50px -36px rgba(0, 0, 0, 0.5);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s;
}

.bento__tile:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -38px rgba(0, 0, 0, 0.55); }

.bento__tile--a { grid-column: span 7; background: var(--brand); border-color: transparent; color: var(--brand-ink); }
.bento__tile--b { grid-column: span 5; }
.bento__tile--c { grid-column: span 5; background: var(--sunk); }
.bento__tile--d { grid-column: span 7; background: var(--accent); border-color: transparent; color: var(--accent-ink); }

.bento__num { font-size: 12px; letter-spacing: 0.1em; opacity: 0.85; }
.bento__title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
.bento__text { max-width: 460px; font-size: 15px; line-height: 1.55; opacity: 0.82; text-wrap: pretty; }

/* 01 — hub: eight shop nodes pinged one after another around a pulsing core */

.hub {
  position: relative;
  height: 220px;
  margin-top: auto;
}

.hub__ring {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 400px;
  height: 140px;
  margin: -70px 0 0 -200px;
  border: 2px dashed color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 50%;
}

.hub__core {
  position: absolute;
  left: 50%;
  top: 58%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font: 800 28px var(--font-text);
  animation: hub-core 2.6s ease-in-out infinite;
}

.hub__node {
  position: absolute;
  left: 50%;
  top: 58%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font: 700 11px var(--font-mono);
  font-style: normal;
  transform: translate(calc(cos(var(--a)) * 200px), calc(sin(var(--a)) * 70px));
  animation: hub-ping 2.8s ease-in-out infinite;
  animation-delay: var(--d);
}
@keyframes hub-core { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
/* Only the glow ring pulses. Animating background/text colour here used to
   pass through browser-interpolated mid-transition shades (neither the
   surface nor the accent pair), which is what read as low-contrast
   gray-on-green — the ring alone keeps the "ping" without ever touching
   text legibility. */
@keyframes hub-ping {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent); }
  18% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 45%, transparent); }
  40% { box-shadow: 0 0 0 18px transparent; }
}

/* 02 — a search box that types the query, forever */

.typer {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: auto;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}

.typer__text {
  display: inline-block;
  overflow: hidden;
  width: 0;
  font-size: 16px;
  white-space: nowrap;
  animation: typer-type 5s steps(13, end) infinite;
}

.typer__cursor {
  width: 2px;
  height: 22px;
  background: var(--save);
  animation: typer-blink 0.8s steps(1) infinite;
}

@keyframes typer-type {
  0% { width: 0; }
  45%, 85% { width: 13ch; }
  100% { width: 0; }
}

@keyframes typer-blink { 50% { opacity: 0; } }

/* 03 — three size-listings glide together into one product */

.merge {
  position: relative;
  height: 140px;
  margin-top: auto;
}

.merge__card {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.5);
  font: 500 12px var(--font-mono);
  white-space: nowrap;
}

.merge__card b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sunk);
  font-size: 10px;
}

.merge__card--1 { top: 0; animation: merge-1 5s cubic-bezier(0.16, 1, 0.3, 1) infinite; }
.merge__card--2 { top: 44px; animation: merge-2 5s cubic-bezier(0.16, 1, 0.3, 1) infinite; }
.merge__card--3 { top: 88px; animation: merge-3 5s cubic-bezier(0.16, 1, 0.3, 1) infinite; }

@keyframes merge-1 { 0%, 18% { transform: translate(0, 0) rotate(-3deg); } 45%, 82% { transform: translate(60px, 40px) rotate(-6deg); } 100% { transform: translate(0, 0) rotate(-3deg); } }
@keyframes merge-2 { 0%, 18% { transform: translate(30px, 0) rotate(2deg); } 45%, 82% { transform: translate(78px, 0) rotate(3deg); } 100% { transform: translate(30px, 0) rotate(2deg); } }
@keyframes merge-3 { 0%, 18% { transform: translate(10px, 0) rotate(-2deg); } 45%, 82% { transform: translate(96px, -40px) rotate(-1deg); } 100% { transform: translate(10px, 0) rotate(-2deg); } }

.merge__result {
  position: absolute;
  right: 0;
  bottom: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
  font: 700 13px var(--font-text);
  white-space: nowrap;
  animation: merge-result 5s ease-in-out infinite;
}

@keyframes merge-result {
  0%, 30% { opacity: 0; transform: scale(0.85) translateY(8px); }
  50%, 82% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: scale(0.85) translateY(8px); }
}

/* 04 — the price ladder grows in when the tile scrolls into view */

.ladder {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: auto;
}

.ladder__rows { display: flex; flex: 1; flex-direction: column; gap: 10px; min-width: 0; }
.ladder__row { display: flex; align-items: center; gap: 10px; font-size: 12px; }

.ladder__row b {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  font: 700 10px var(--font-mono);
}

.ladder__bar {
  position: relative;
  flex: 1;
  height: 10px;
  overflow: hidden;
  border-radius: 5px;
  background: color-mix(in srgb, var(--surface) 55%, transparent);
}

.ladder__bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 5px;
  background: var(--accent-ink);
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.ladder__row:first-child .ladder__bar i { background: var(--brand); }
.bento__tile--d.is-visible .ladder__bar i { width: var(--w); }
.bento__tile--d.is-visible .ladder__row:nth-child(2) .ladder__bar i { transition-delay: 0.12s; }
.bento__tile--d.is-visible .ladder__row:nth-child(3) .ladder__bar i { transition-delay: 0.24s; }
.bento__tile--d.is-visible .ladder__row:nth-child(4) .ladder__bar i { transition-delay: 0.36s; }
.ladder__row span.font-mono { flex: none; width: 64px; text-align: right; }

.ladder__save {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  padding: 16px 22px;
  border-radius: 22px;
  background: var(--brand);
  color: var(--brand-ink);
}

.ladder__save small { font: 500 11px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.ladder__save strong { font-size: 38px; line-height: 1; letter-spacing: -0.04em; color: var(--accent); }

@media (max-width: 900px) {
  .bento__tile--a,
  .bento__tile--b,
  .bento__tile--c,
  .bento__tile--d { grid-column: 1 / -1; min-height: 0; }
  .hub { transform: scale(0.72); transform-origin: center bottom; height: 150px; }
  .ladder { flex-direction: column; align-items: stretch; }
  .ladder__save { flex-direction: row; justify-content: space-between; }
}

html.is-reduced-motion .hub__core,
html.is-reduced-motion .hub__node,
html.is-reduced-motion .typer__cursor,
html.is-reduced-motion .merge__card,
html.is-reduced-motion .merge__result { animation: none; }
html.is-reduced-motion .typer__text { animation: none; width: auto; }
html.is-reduced-motion .merge__result { opacity: 1; }
html.is-reduced-motion .ladder__bar i { transition: none; width: var(--w); }
html.is-reduced-motion .bento__tile:hover { transform: none; }


/*Section-number watermark*/
[data-num] {
  position: relative;
  isolation: isolate;
}

[data-num]::before {
  content: attr(data-num);
  position: absolute;
  top: clamp(-10px, -2vw, 10px);
  right: clamp(-10px, 2vw, 40px);
  z-index: -1;
  font: 800 clamp(140px, 24vw, 320px)/1 var(--font-mono);
  color: var(--ink);
  opacity: 0.035;
  pointer-events: none;
  user-select: none;
}

.trust-section[data-num]::before {
  color: var(--brand-ink);
  opacity: 0.08;
}

/* ---- Shops ---- */

.shops-section {
  padding-top: clamp(64px, 10vw, 140px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 48px);
}

.shops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.shop-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.shop-tile__initial {
  position: relative;
  overflow: hidden;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--sunk);
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.3s, color 0.3s;
}

/* The shop's own favicon, when it loads, covers the initial underneath. */
.shop-tile__initial img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 7px;
}

.shop-tile__id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.shop-tile__id b { font-size: 15px; }
.shop-tile__id span { font-size: 12px; color: var(--muted); }

.shop-tile__dot {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.3s, box-shadow 0.3s;
}

.shop-tile.is-active {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  background: color-mix(in srgb, var(--brand) 8%, var(--surface));
  transform: translateY(-2px);
}

.shop-tile.is-active .shop-tile__initial {
  background: var(--brand);
  color: var(--brand-ink);
}

.shop-tile.is-active .shop-tile__dot {
  background: var(--save);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--save) 22%, transparent);
  animation: shop-tile-pulse 1.8s ease-in-out infinite;
}

@keyframes shop-tile-pulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--save) 22%, transparent); }
  50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--save) 10%, transparent); }
}

html.is-reduced-motion .shop-tile,
html.is-reduced-motion .shop-tile.is-active { transition: none; transform: none; }
html.is-reduced-motion .shop-tile.is-active .shop-tile__dot { animation: none; }

/* ---- Demo ---- */

.demo-section {
  padding-top: clamp(64px, 10vw, 140px);
  padding-bottom: clamp(64px, 10vw, 140px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 48px);
}

.demo-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.demo-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  cursor: pointer;
  font: 600 15px/1.2 var(--font-text);
  background: transparent;
  color: var(--ink);
}

.demo-tab[aria-selected='true'] {
  background: var(--brand);
  color: var(--brand-ink);
  border-color: transparent;
}

.demo-tab__origin {
  font: 500 11px var(--font-mono);
  opacity: 0.7;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 20px;
  align-items: stretch;
}

.demo-card {
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.demo-rows {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.demo-row {
  display: grid;
  grid-template-columns: minmax(100px, 140px) 1fr minmax(96px, auto);
  gap: 12px;
  align-items: center;
  padding: 6px 0;
}

.demo-row__name {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  font-weight: 600;
  font-size: 15px;
}

.demo-row__bar {
  height: 14px;
  border-radius: 7px;
  background: var(--ghost);
  overflow: hidden;
}

.demo-row__bar > span {
  display: block;
  height: 100%;
  border-radius: 7px;
  background: var(--brand);
}

.demo-row__value {
  text-align: right;
  font: 600 15px var(--font-mono);
}

.demo-verdict {
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 300px;
  background: var(--accent);
  color: var(--accent-ink);
  transition: background 0.4s, color 0.4s;
}

/* .eyebrow's var(--muted) is tuned for the page's dark surfaces; on the lime
   --accent card it fell to 2.2:1. Use the accent pair's own ink instead. */
.demo-verdict .eyebrow {
  color: color-mix(in srgb, var(--accent-ink) 70%, transparent);
}

.demo-verdict__top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-verdict__title {
  font-weight: 850;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.demo-verdict__bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-verdict__num {
  font: 600 clamp(26px, 3.4vw, 42px);
  letter-spacing: -0.03em;
}

.demo-verdict__sub {
  font-size: 16px;
  line-height: 1.5;
  max-width: 420px;
}

.demo-verdict__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.demo-verdict__cta {
  background: currentColor;
}

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

.demo-verdict.is-buy-here .demo-verdict__cta span {
  color: var(--ink);
}

/* ---- Trust ---- */

.trust-section {
  background: var(--brand);
  color: var(--brand-ink);
  transition: background 0.4s;
}

.trust-inner {
  padding-top: clamp(64px, 10vw, 140px);
  padding-bottom: clamp(64px, 10vw, 140px);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 80px);
}

.trust-eyebrow,
.trust-title {
  color: inherit;
}

.trust-eyebrow {
  opacity: 0.8;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 0;
  border: 1px solid color-mix(in srgb, var(--brand-ink) 20%, transparent);
  border-radius: 24px;
  overflow: hidden;
}

.trust-stat {
  background: var(--brand);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: inset 0 0 0 0.5px color-mix(in srgb, var(--brand-ink) 20%, transparent);
}

.trust-stat__num {
  font: 600 clamp(44px, 5vw, 68px)/1 var(--font-mono);
  letter-spacing: -0.04em;
}

.trust-stat__label {
  font-size: 15px;
  opacity: 0.85;
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.trust-point {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trust-point b {
  font-size: 19px;
}

.trust-point span {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.85;
}

.shop-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  border-top: 1px solid color-mix(in srgb, var(--brand-ink) 20%, transparent);
  padding: 28px 0;
}

.shop-wall span {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  opacity: 0.75;
  padding: 6px 14px;
  border: 1px solid color-mix(in srgb, var(--brand-ink) 16%, transparent);
  border-radius: 999px;
}

/* ---- FAQ teaser ---- */

.faq-teaser {
  padding-top: clamp(64px, 10vw, 140px);
  padding-bottom: clamp(64px, 10vw, 140px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 72px);
}

.faq-teaser__link {
  font-weight: 600;
  color: var(--brand);
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item__q {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 18px;
}

.faq-item__icon {
  color: var(--brand);
}

.faq-item__a {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 560px;
}

/* ---- CTA ---- */

.cta-section {
  padding-bottom: clamp(48px, 6vw, 80px);
}

.cta-box {
  border-radius: 36px;
  background: var(--ink);
  color: var(--bg);
  padding: clamp(36px, 7vw, 96px) clamp(24px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  position: relative;
  overflow: hidden;
}

.cta-box__mark {
  position: absolute;
  right: -2vw;
  bottom: -6vw;
  font-weight: 900;
  font-size: clamp(160px, 24vw, 380px);
  line-height: 0.8;
  color: color-mix(in srgb, var(--bg) 8%, transparent);
}

.cta-box__title {
  font-size: clamp(36px, 5.6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 850;
  max-width: 900px;
  text-wrap: balance;
  position: relative;
}

