/* Price Disco — the palette is lifted from the app's own icon: the indigo behind the disco ball, the pale
   cyan and pink of its mirrored tiles, and the magnifier's orange. One accent does the shouting; the
   tile colours mark categories and never compete with it. Committed to a single dark look on purpose —
   a brand has a face, not a theme toggle. */

:root {
  --night:  #16132a;
  --deeper: #100e20;
  --raised: #1e1a37;
  --cyan:   #8fe3ea;
  --pink:   #f7b9cf;
  --glow:   #f08a2c;
  --glow-ink: #241202;
  --paper:  #f6f4ef;
  --mute:   #a7a2c4;
  --line:   rgba(246, 244, 239, 0.12);
  --line-soft: rgba(246, 244, 239, 0.07);
  --measure: 1140px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--paper); }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: "Bricolage Grotesque", "Figtree", sans-serif; letter-spacing: -.025em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(42px, 8vw, 88px); line-height: .96; font-weight: 800; }
h2 { font-size: clamp(27px, 4vw, 42px); line-height: 1.08; font-weight: 700; }
h3 { font-size: 17px; line-height: 1.35; font-weight: 700; }
p { margin: 0; }

.wrap { max-width: var(--measure); margin-inline: auto; padding-inline: max(18px, 4vw); }
.narrow { max-width: 760px; }
.mono { font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }
.lede { color: var(--mute); font-size: clamp(16px, 2vw, 18.5px); line-height: 1.6; max-width: 58ch; }
.eyebrow {
  font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--cyan);
}
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--glow); color: var(--glow-ink);
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip:focus { left: 0; }

/* ── Masthead ─────────────────────────────────────────────────────────────── */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(22, 19, 42, .86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  padding-block: 12px;
}
.masthead .wrap { display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--paper); text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.masthead nav { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.masthead nav a {
  color: var(--mute); text-decoration: none; font-size: 14.5px; font-weight: 500;
  padding: 7px 12px; border-radius: 999px;
}
.masthead nav a:hover, .masthead nav a[aria-current="page"] { color: var(--paper); background: rgba(246,244,239,.07); }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  background: var(--glow); color: var(--glow-ink); border: 1px solid var(--glow);
  border-radius: 999px; padding: 14px 24px; font: 600 15.5px/1 "Figtree", sans-serif;
  text-decoration: none; cursor: pointer; transition: transform .16s ease, filter .16s ease;
}
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); color: var(--glow-ink); }
.btn.ghost { background: transparent; color: var(--paper); border-color: rgba(246,244,239,.28); }
.btn.ghost:hover { border-color: var(--paper); color: var(--paper); }
.btn[aria-disabled="true"] { cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; filter: none; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding-block: clamp(34px, 5vw, 58px) clamp(36px, 5vw, 56px); }
/* While the landing page is just the hero, it has to carry the whole viewport on its own:
   centre it rather than letting the footer ride up under a short headline. */
.hero.solo { min-height: calc(100svh - 160px); display: grid; align-items: center; }
.hero.solo h1 { margin-top: 0; }
.hero::before {
  content: ""; position: absolute; inset: -46% -12% auto; height: 700px; pointer-events: none;
  background:
    radial-gradient(38% 46% at 20% 32%, rgba(143,227,234,.19), transparent 70%),
    radial-gradient(32% 40% at 78% 16%, rgba(247,185,207,.15), transparent 70%),
    radial-gradient(46% 54% at 54% 70%, rgba(240,138,44,.20), transparent 72%);
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(32px, 5vw, 60px); align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cyan); border: 1px solid rgba(143,227,234,.32); border-radius: 999px; padding: 6px 14px;
}
.hero h1 { margin-top: 20px; }
.hero h1 em { font-style: normal; color: var(--glow); }
.hero .lede { margin-top: 20px; max-width: 46ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.cta-note { font-size: 13.5px; color: var(--mute); margin-top: 14px; }

.phone-shot { position: relative; justify-self: center; }
.phone-shot img { max-height: min(74vh, 700px); width: auto; margin-inline: auto; border-radius: 26px; box-shadow: 0 34px 72px rgba(0,0,0,.55), 0 0 0 1px rgba(246,244,239,.1); }
.pin {
  position: absolute; background: var(--pink); color: #3a1526;
  font-family: "IBM Plex Mono", monospace; font-size: 12px; line-height: 1.4; font-weight: 500;
  padding: 9px 12px; border-radius: 9px; max-width: 188px;
  box-shadow: 0 10px 26px rgba(0,0,0,.4);
}
/* The photo of the item is the point of this screenshot, so nothing is allowed to sit on top of it:
   the pin reads as a caption beneath the phone rather than a sticker over it. */

/* ── Stat band ────────────────────────────────────────────────────────────── */
.band { background: var(--deeper); border-block: 1px solid var(--line-soft); padding-block: clamp(34px, 5vw, 52px); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: clamp(20px, 3vw, 34px); }
.stat .n {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; letter-spacing: -.03em;
  font-size: clamp(30px, 4.4vw, 46px); font-variant-numeric: tabular-nums; line-height: 1;
}
.stat .n.cyan { color: var(--cyan); }
.stat .n.pink { color: var(--pink); }
.stat .n.glow { color: var(--glow); }
.stat .l { font-size: 13.5px; color: var(--mute); margin-top: 9px; line-height: 1.5; }

/* ── Sections ─────────────────────────────────────────────────────────────── */
section { padding-block: clamp(48px, 7vw, 76px); }
.section-head { max-width: 62ch; margin-bottom: clamp(26px, 4vw, 38px); }
.section-head h2 { margin-block: 12px 12px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(292px, 1fr)); gap: 20px; }
.card { background: rgba(246,244,239,.045); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.card img { border-bottom: 1px solid var(--line); }
.card .body { padding: 17px 19px 21px; display: flex; flex-direction: column; gap: 7px; }
.card p { font-size: 14.5px; color: var(--mute); }
.card.wide { grid-column: 1 / -1; }
@media (max-width: 680px) { .card.wide { grid-column: auto; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* ── Steps ────────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: clamp(20px, 3vw, 30px); }
.step .num { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .12em; color: var(--cyan); }
.step h3 { margin-block: 9px 6px; }
.step p { font-size: 14.5px; color: var(--mute); }

/* ── Prose (privacy, support, help body copy) ─────────────────────────────── */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(22px, 3vw, 28px); margin-block: 40px 12px; }
.prose h3 { font-size: 17px; margin-block: 26px 7px; }
.prose p, .prose li { color: var(--mute); font-size: 16px; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 1.15rem; margin-block: 12px; display: flex; flex-direction: column; gap: 8px; }
.prose strong { color: var(--paper); font-weight: 600; }
.prose .updated { font-family: "IBM Plex Mono", monospace; font-size: 12.5px; color: var(--mute); letter-spacing: .04em; }

/* ── Tables ───────────────────────────────────────────────────────────────── */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 460px; }
table.spec th, table.spec td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: none; }
table.spec th {
  font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cyan); font-weight: 500; width: 32%; white-space: nowrap;
}
table.spec td { color: var(--mute); }
table.spec td strong { color: var(--paper); font-weight: 600; }

/* ── Callout ──────────────────────────────────────────────────────────────── */
.callout { border: 1px solid rgba(143,227,234,.28); background: rgba(143,227,234,.07); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 7px; }
.callout.warm { border-color: rgba(240,138,44,.32); background: rgba(240,138,44,.08); }
.callout h3 { font-size: 15.5px; }
.callout p { font-size: 14.5px; color: var(--mute); }

/* ── Figures ──────────────────────────────────────────────────────────────── */
figure { margin: 0; }
.shot { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(246,244,239,.045); }
.shot img { border-bottom: 1px solid var(--line); }
.shot figcaption { padding: 13px 16px; font-size: 14px; color: var(--mute); line-height: 1.55; }
.shot figcaption strong { color: var(--paper); font-weight: 600; }
.shot figcaption .mono { font-size: 12.5px; color: var(--cyan); }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer.site {
  border-top: 1px solid var(--line-soft); background: var(--deeper);
  padding-block: 34px calc(44px + env(safe-area-inset-bottom, 0px));
}
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
footer.site a { color: var(--mute); text-decoration: none; }
footer.site a:hover { color: var(--paper); text-decoration: underline; }
footer.site .links { display: flex; gap: 20px; flex-wrap: wrap; }
footer.site small { color: var(--mute); font-size: 13px; }

/* ── Redirect landing pages (eBay comes back here) ────────────────────────── */
.slim { min-height: 78vh; display: grid; place-items: center; text-align: center; padding-block: 60px; }
.slim .inner { max-width: 32rem; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.slim img.mark { width: 64px; height: 64px; border-radius: 15px; }
.slim h1 { font-size: clamp(30px, 6vw, 44px); }
