:root {
  color-scheme: dark;
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-dim: #64748b;
  --navy: #1e3a8a;
  --navy-deep: #172554;
  --amber: #d97706;
  --amber-bright: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.35);
  --teal: #14b8a6;
  --violet: #8b5cf6;
  --surface: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
  --phone-w: 280px;
  --phone-h: 560px;
  --nav-h: 3.75rem;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #020617;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: var(--amber-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(30, 58, 138, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(217, 119, 6, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(20, 184, 166, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, #0f172a 0%, #020617 100%);
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.orb--amber {
  width: 22rem;
  height: 22rem;
  top: -4rem;
  right: 8%;
  background: rgba(245, 158, 11, 0.28);
}

.orb--navy {
  width: 28rem;
  height: 28rem;
  bottom: -6rem;
  left: -4rem;
  background: rgba(30, 58, 138, 0.45);
}

/* ─── Top nav ─────────────────────────────────────────────────────────────── */

.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: rgba(2, 6, 23, 0.82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.topnav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.topnav__brand:hover { text-decoration: none; }

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: linear-gradient(145deg, var(--amber-bright), var(--amber));
  color: #111827;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 8px 20px var(--amber-glow);
  flex-shrink: 0;
}

.logo-mark--lg {
  width: clamp(4rem, 9vw, 5rem);
  height: clamp(4rem, 9vw, 5rem);
  border-radius: 1.2rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  box-shadow: 0 20px 50px var(--amber-glow);
}

.topnav__links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.topnav__links a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: 0.5rem;
  text-decoration: none;
}

.topnav__links a:hover,
.topnav__links a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.topnav__stores {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.store-pill:hover {
  border-color: rgba(245, 158, 11, 0.5);
  transform: translateY(-1px);
  text-decoration: none;
}

.store-pill--disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.store-pill svg {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
}

.nav-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.8);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.nav-menu-btn:hover { color: var(--text); }

.nav-popover {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 10rem;
  padding: 0.4rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  z-index: 60;
}

.nav-popover.is-open { display: block; }

.nav-popover a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
}

.nav-popover a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.nav-menu-wrap {
  position: relative;
  display: block;
}

@media (min-width: 900px) {
  .topnav__links { display: flex; }
  .nav-menu-wrap { display: none; }
}

/* ─── Layout ──────────────────────────────────────────────────────────────── */

.page {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) 4rem;
}

.section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--amber-bright);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section__lead {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
}

/* ─── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem);
  min-height: calc(100vh - var(--nav-h) - 2rem);
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .hero__phone { order: 2; }
  .hero__copy { order: 1; }
}

.hero__copy {
  text-align: center;
}

@media (min-width: 900px) {
  .hero__copy { text-align: left; }
}

.hero__logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 900px) {
  .hero__logo-row { justify-content: flex-start; }
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff 30%, #fde68a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__tagline {
  margin: 0 auto 1.75rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
}

@media (min-width: 900px) {
  .hero__tagline { margin-left: 0; margin-right: 0; }
}

.hero__phone {
  display: flex;
  justify-content: center;
}

.stores {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  max-width: 28rem;
  margin: 0 auto;
}

@media (min-width: 520px) {
  .stores { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .stores { margin: 0; }
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 4.25rem;
  padding: 0.9rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.75);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.15);
  text-decoration: none;
}

.store-btn--apple:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.08);
}

.store-btn--google:hover {
  border-color: rgba(20, 184, 166, 0.45);
  box-shadow: 0 12px 32px rgba(20, 184, 166, 0.15);
}

.store-btn--disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.store-btn--disabled:hover {
  transform: none;
  box-shadow: none;
}

.store-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}

.store-btn__icon svg {
  display: block;
  width: 2rem;
  height: 2rem;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  min-width: 0;
}

.store-btn__sublabel {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-btn__label {
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ─── Problem ─────────────────────────────────────────────────────────────── */

.problem {
  text-align: center;
}

.problem h2 {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.compare {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  text-align: left;
}

@media (min-width: 700px) {
  .compare { grid-template-columns: 1fr 1fr; }
}

.compare__card {
  padding: 1.5rem 1.35rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: var(--surface);
}

.compare__card--sell {
  border-color: rgba(148, 163, 184, 0.2);
}

.compare__card--swap {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(160deg, rgba(245, 158, 11, 0.12), rgba(255, 255, 255, 0.04));
}

.compare__card h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.compare__card--sell h3 { color: var(--muted); }
.compare__card--swap h3 { color: var(--amber-bright); }

.compare__card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare__card li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.compare__card li:first-of-type { border-top: none; }

.compare__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--muted-dim);
}

.compare__card--swap li::before {
  background: var(--amber-bright);
}

.compare__card--swap li { color: #e2e8f0; }

/* ─── Chapter layout ──────────────────────────────────────────────────────── */

.chapter {
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.chapter__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .chapter__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.chapter__copy { min-width: 0; }

.steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.step {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, background 0.2s ease;
  cursor: default;
}

.step.is-active {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.08);
}

.step__num {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--amber-bright);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.step strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #fff;
  font-size: 1rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.chapter__phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .chapter__phone-wrap {
    position: sticky;
    top: calc(var(--nav-h) + 1.5rem);
  }
}

.replay-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.7);
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.replay-btn:hover {
  color: var(--text);
  border-color: rgba(245, 158, 11, 0.45);
}

.safety-note {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(20, 184, 166, 0.3);
  background: rgba(20, 184, 166, 0.08);
  color: #99f6e4;
  font-size: 0.875rem;
}

/* ─── Phone frame ─────────────────────────────────────────────────────────── */

.phone {
  position: relative;
  width: var(--phone-w);
  height: var(--phone-h);
  border-radius: 2.25rem;
  background: #0a0e14;
  border: 3px solid #334155;
  box-shadow:
    0 0 0 2px #1e293b,
    0 28px 60px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  flex-shrink: 0;
}

.phone__notch {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5.5rem;
  height: 1.15rem;
  border-radius: 999px;
  background: #020617;
  z-index: 5;
}

.phone__home {
  position: absolute;
  bottom: 0.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  z-index: 5;
}

.phone__screen {
  position: absolute;
  inset: 0;
  padding: 2rem 0.65rem 2.6rem;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(30, 58, 138, 0.45), transparent 60%),
    linear-gradient(180deg, #121c30 0%, #09090b 100%);
  overflow: hidden;
}

.phone__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
  padding: 0 0.2rem;
  flex-shrink: 0;
}

.phone__brand {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}

.phone__brand-mark {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 0.3rem;
  background: linear-gradient(145deg, var(--amber-bright), var(--amber));
  color: #111;
  font-size: 0.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone__pill {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--amber-bright);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.phone__body {
  flex: 1;
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.phone[data-scene="chat"] .phone__body,
.phone[data-scene="offer"] .phone__body,
.phone[data-scene="swipe"] .phone__body {
  display: flex;
  flex-direction: column;
}

.phone__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.15rem;
  margin-top: 0.45rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.phone__tab {
  text-align: center;
  font-size: 0.52rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  padding: 0.2rem 0;
}

.phone__tab.is-active {
  color: var(--amber-bright);
}

.phone__tab span {
  display: block;
  font-size: 0.85rem;
  line-height: 1.1;
  margin-bottom: 0.05rem;
}

.scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.scene.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ─── Swipe scene ─────────────────────────────────────────────────────────── */

.chips {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 0.55rem;
  overflow: hidden;
}

.chip {
  flex-shrink: 0;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.chip.is-active {
  color: #111;
  background: var(--amber-bright);
  border-color: var(--amber-bright);
}

.deck {
  position: relative;
  height: 68%;
  margin-bottom: 0.6rem;
}

.card {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1e293b;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
  transform-origin: center bottom;
}

.card--back {
  transform: scale(0.94) translateY(8px);
  opacity: 0.55;
  z-index: 1;
}

.card--mid {
  transform: scale(0.97) translateY(4px);
  opacity: 0.8;
  z-index: 2;
}

.card--front {
  z-index: 3;
}

.card__photo {
  height: 62%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #334155, #1e293b);
  position: relative;
}

.card__photo--guitar {
  background: linear-gradient(160deg, #7c2d12, #1c1917 70%);
}

.card__photo--ring {
  background: linear-gradient(160deg, #0f766e, #134e4a 70%);
}

.card__photo--camera {
  background: linear-gradient(160deg, #1e3a8a, #0f172a 70%);
}

.item-icon {
  width: 3.5rem;
  height: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.card__badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.2rem 0.45rem;
  border-radius: 0.4rem;
  background: rgba(245, 158, 11, 0.9);
  color: #111;
  font-size: 0.55rem;
  font-weight: 700;
  transform: scale(0.9);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.card__badge.is-shown {
  opacity: 1;
  transform: scale(1);
}

.card__fire {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
}

.card__meta {
  padding: 0.55rem 0.65rem 0.7rem;
}

.card__title {
  margin: 0 0 0.15rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.card__sub {
  margin: 0 0 0.4rem;
  font-size: 0.58rem;
  color: var(--muted);
}

.card__wants {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.want-chip {
  font-size: 0.5rem;
  font-weight: 600;
  padding: 0.15rem 0.35rem;
  border-radius: 999px;
  background: rgba(30, 58, 138, 0.55);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #bfdbfe;
}

.swipe-dock {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  align-items: center;
}

.dock-btn {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dock-btn--pass { color: #f87171; }
.dock-btn--like {
  width: 2.45rem;
  height: 2.45rem;
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.35);
}
.dock-btn--star { color: var(--amber-bright); }

.dock-btn.is-pulse {
  transform: scale(1.15);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}

.offer-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 10;
  border-radius: 0.75rem;
}

.offer-overlay.is-shown {
  opacity: 1;
  visibility: visible;
}

.offer-overlay__card {
  text-align: center;
  padding: 1rem 1.1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: rgba(15, 23, 42, 0.95);
  max-width: 85%;
}

.offer-overlay__card strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--amber-bright);
  font-size: 0.8rem;
}

.offer-overlay__card span {
  font-size: 0.65rem;
  color: var(--muted);
}

/* Swipe step states */
.phone[data-scene="swipe"][data-step="1"] .card--front {
  transform: translateX(-120%) rotate(-18deg);
  opacity: 0;
}

.phone[data-scene="swipe"][data-step="1"] .card--mid {
  transform: none;
  opacity: 1;
  z-index: 3;
}

.phone[data-scene="swipe"][data-step="1"] .dock-btn--pass.is-target {
  transform: scale(1.15);
  box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.25);
}

.phone[data-scene="swipe"][data-step="2"] .card--front {
  transform: translateX(120%) rotate(18deg);
  opacity: 0;
}

.phone[data-scene="swipe"][data-step="2"] .card__badge.is-shown,
.phone[data-scene="swipe"][data-step="2"] .card__badge {
  opacity: 1;
  transform: scale(1);
}

.phone[data-scene="swipe"][data-step="2"] .dock-btn--like {
  transform: scale(1.15);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25);
}

.phone[data-scene="swipe"][data-step="3"] .offer-overlay {
  opacity: 1;
  visibility: visible;
}

.phone[data-scene="swipe"][data-step="2"] .card__badge,
.phone[data-scene="swipe"][data-step="3"] .card__badge {
  opacity: 1;
  transform: scale(1);
}

.phone[data-scene="swipe"][data-step="3"] .card--front {
  transform: translateX(40%) rotate(8deg) scale(0.95);
  opacity: 0.35;
}

/* Hero auto-loop */
.phone--hero[data-loop="idle"] .card--front {
  animation: hero-nudge 2.4s ease-in-out infinite;
}

.phone--hero[data-loop="like"] .card--front {
  transform: translateX(120%) rotate(18deg);
  opacity: 0;
}

.phone--hero[data-loop="like"] .card__badge {
  opacity: 1;
  transform: scale(1);
}

.phone--hero[data-loop="offer"] .offer-overlay {
  opacity: 1;
  visibility: visible;
}

@keyframes hero-nudge {
  0%, 100% { transform: translateX(0) rotate(0); }
  40% { transform: translateX(10px) rotate(3deg); }
  55% { transform: translateX(-4px) rotate(-1deg); }
}

/* ─── Nearby scene ────────────────────────────────────────────────────────── */

.map {
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 40% 45%, rgba(30, 58, 138, 0.35), transparent 50%),
    linear-gradient(180deg, #0f172a, #020617);
}

.map__coast {
  position: absolute;
  inset: 12% 8% 18% 10%;
  border-radius: 40% 55% 35% 60% / 45% 40% 55% 50%;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(71, 85, 105, 0.5);
}

.map__water {
  position: absolute;
  right: 0;
  top: 20%;
  width: 35%;
  height: 55%;
  background: rgba(14, 116, 144, 0.15);
  border-radius: 50% 0 0 60%;
}

.radius-ring {
  position: absolute;
  left: 42%;
  top: 48%;
  width: 3.5rem;
  height: 3.5rem;
  margin-left: -1.75rem;
  margin-top: -1.75rem;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.08);
  transition: width 0.6s ease, height 0.6s ease, margin 0.6s ease, opacity 0.4s ease;
  opacity: 0;
}

.phone[data-scene="nearby"][data-step="0"] .radius-ring,
.phone[data-scene="nearby"][data-step="1"] .radius-ring,
.phone[data-scene="nearby"][data-step="2"] .radius-ring,
.phone[data-scene="nearby"][data-step="3"] .radius-ring {
  opacity: 1;
}

.phone[data-scene="nearby"][data-step="1"] .radius-ring,
.phone[data-scene="nearby"][data-step="2"] .radius-ring,
.phone[data-scene="nearby"][data-step="3"] .radius-ring {
  width: 7.5rem;
  height: 7.5rem;
  margin-left: -3.75rem;
  margin-top: -3.75rem;
}

.pin {
  position: absolute;
  width: 1.35rem;
  height: 1.35rem;
  margin-left: -0.675rem;
  margin-top: -1.1rem;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg) scale(0);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  z-index: 2;
}

.pin span {
  transform: rotate(45deg);
  font-size: 0.55rem;
  line-height: 1;
}

.pin--amber { background: var(--amber-bright); color: #111; }
.pin--teal { background: var(--teal); color: #042f2e; }
.pin--navy { background: #60a5fa; color: #0f172a; }
.pin--violet { background: var(--violet); color: #fff; }

.phone[data-scene="nearby"][data-step="0"] .pin,
.phone[data-scene="nearby"][data-step="1"] .pin,
.phone[data-scene="nearby"][data-step="2"] .pin,
.phone[data-scene="nearby"][data-step="3"] .pin {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
}

.phone[data-scene="nearby"][data-step="0"] .pin:nth-child(1) { transition-delay: 0.05s; }
.phone[data-scene="nearby"][data-step="0"] .pin:nth-child(2) { transition-delay: 0.12s; }
.phone[data-scene="nearby"][data-step="0"] .pin:nth-child(3) { transition-delay: 0.18s; }
.phone[data-scene="nearby"][data-step="0"] .pin:nth-child(4) { transition-delay: 0.24s; }
.phone[data-scene="nearby"][data-step="0"] .pin:nth-child(5) { transition-delay: 0.3s; }
.phone[data-scene="nearby"][data-step="0"] .pin--late {
  opacity: 0;
  transform: rotate(-45deg) scale(0);
}

.phone[data-scene="nearby"][data-step="1"] .pin--late,
.phone[data-scene="nearby"][data-step="2"] .pin--late,
.phone[data-scene="nearby"][data-step="3"] .pin--late {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
}

.pin.is-selected {
  z-index: 4;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.45), 0 6px 14px rgba(0, 0, 0, 0.4);
}

.phone[data-scene="nearby"][data-step="2"] .pin--guitar,
.phone[data-scene="nearby"][data-step="3"] .pin--guitar {
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.45), 0 6px 14px rgba(0, 0, 0, 0.4);
}

.nearby-sheet {
  position: absolute;
  left: 0.35rem;
  right: 0.35rem;
  bottom: 0.25rem;
  padding: 0.65rem;
  border-radius: 0.85rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  z-index: 5;
}

.phone[data-scene="nearby"][data-step="2"] .nearby-sheet,
.phone[data-scene="nearby"][data-step="3"] .nearby-sheet {
  transform: translateY(0);
  opacity: 1;
}

.nearby-sheet__row {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 0.55rem;
}

.nearby-sheet__thumb {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.5rem;
  background: linear-gradient(160deg, #7c2d12, #1c1917);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nearby-sheet__thumb svg {
  width: 1.35rem;
  height: 1.35rem;
  color: #fff;
}

.nearby-sheet__title {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}

.nearby-sheet__meta {
  margin: 0;
  font-size: 0.55rem;
  color: var(--muted);
}

.nearby-sheet__actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0.35rem;
}

.sheet-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 700;
  padding: 0.4rem 0.35rem;
  border-radius: 0.45rem;
  text-align: center;
}

.sheet-btn--offer {
  background: linear-gradient(135deg, var(--amber-bright), var(--amber));
  color: #111;
  border-color: transparent;
}

.phone[data-scene="nearby"][data-step="3"] .sheet-btn--offer {
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
  transform: scale(1.03);
}

/* ─── Offer scene ─────────────────────────────────────────────────────────── */

.offer-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
}

.offer-screen.is-active {
  opacity: 1;
  visibility: visible;
}

.offer-progress {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 0.55rem;
}

.offer-progress span {
  flex: 1;
  height: 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.offer-progress span.is-on {
  background: var(--amber-bright);
}

.offer-target {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 0.55rem;
}

.offer-target__thumb {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 0.4rem;
  background: linear-gradient(160deg, #7c2d12, #1c1917);
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-target__thumb svg {
  width: 1rem;
  height: 1rem;
  color: #fff;
}

.offer-target p {
  margin: 0;
  font-size: 0.58rem;
  color: var(--muted);
}

.offer-target strong {
  display: block;
  color: #fff;
  font-size: 0.65rem;
}

.closet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  flex: 1;
}

.closet-item {
  position: relative;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.55rem 0.4rem;
  text-align: center;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.closet-item.is-selected {
  border-color: rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.12);
}

.closet-item__check {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--amber-bright);
  color: #111;
  font-size: 0.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.closet-item.is-selected .closet-item__check {
  opacity: 1;
  transform: scale(1);
}

.closet-item svg {
  width: 1.6rem;
  height: 1.6rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.closet-item span {
  display: block;
  font-size: 0.52rem;
  color: var(--muted);
}

.cash-panel {
  margin-top: 0.55rem;
  padding: 0.65rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.cash-panel p {
  margin: 0 0 0.45rem;
  font-size: 0.58rem;
  color: var(--muted);
}

.cash-chip {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--amber-bright);
  font-size: 0.85rem;
  font-weight: 800;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.phone[data-scene="offer"][data-step="1"] .cash-chip,
.phone[data-scene="offer"][data-step="2"] .cash-chip {
  transform: translateY(0);
  opacity: 1;
}

.send-toast {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, 12px);
  padding: 0.55rem 0.85rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--amber-bright);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 6;
}

.phone[data-scene="offer"][data-step="2"] .send-toast {
  opacity: 1;
  transform: translate(-50%, 0);
}

.inbox-card {
  padding: 0.65rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.inbox-card__who {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.avatar {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 800;
  color: #fff;
}

.inbox-card__who strong {
  display: block;
  font-size: 0.65rem;
  color: #fff;
}

.inbox-card__who span {
  font-size: 0.5rem;
  color: var(--amber-bright);
}

.trade-panel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.35rem;
  align-items: center;
  margin-bottom: 0.55rem;
}

.trade-side {
  text-align: center;
  padding: 0.4rem 0.25rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.trade-side.is-emphasis {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.1);
}

.trade-side svg {
  width: 1.35rem;
  height: 1.35rem;
  color: #fff;
  margin-bottom: 0.15rem;
}

.trade-side p {
  margin: 0;
  font-size: 0.48rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.trade-side strong {
  display: block;
  font-size: 0.55rem;
  color: #fff;
}

.trade-arrow {
  font-size: 0.85rem;
  color: var(--amber-bright);
}

.offer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.3rem;
}

.offer-actions button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.5rem;
  font-weight: 700;
  padding: 0.4rem 0.2rem;
  border-radius: 0.4rem;
  font-family: inherit;
}

.offer-actions .accept {
  background: linear-gradient(135deg, var(--amber-bright), var(--amber));
  color: #111;
  border-color: transparent;
}

.phone[data-scene="offer"][data-step="5"] .offer-actions .accept {
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
}

.accept-banner {
  margin-top: 0.55rem;
  padding: 0.55rem;
  border-radius: 0.65rem;
  text-align: center;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--amber-bright);
  font-size: 0.6rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.phone[data-scene="offer"][data-step="5"] .accept-banner {
  opacity: 1;
  transform: translateY(0);
}

.sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.phone[data-scene="offer"][data-step="5"] .sparks {
  opacity: 1;
}

.spark {
  position: absolute;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--amber-bright);
  animation: spark-fly 0.9s ease-out forwards;
}

@keyframes spark-fly {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; }
}

/* Show offer screens by step */
.phone[data-scene="offer"][data-step="0"] .offer-screen--closet,
.phone[data-scene="offer"][data-step="1"] .offer-screen--cash,
.phone[data-scene="offer"][data-step="2"] .offer-screen--cash,
.phone[data-scene="offer"][data-step="3"] .offer-screen--inbox,
.phone[data-scene="offer"][data-step="4"] .offer-screen--inbox,
.phone[data-scene="offer"][data-step="5"] .offer-screen--inbox {
  opacity: 1;
  visibility: visible;
}

.phone[data-scene="offer"][data-step="0"] .closet-item--camera {
  border-color: rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.12);
}

.phone[data-scene="offer"][data-step="0"] .closet-item--camera .closet-item__check {
  opacity: 1;
  transform: scale(1);
}

.phone[data-scene="offer"][data-step="4"] .trade-side--theirs {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.1);
}

.phone[data-scene="offer"][data-step="3"] .trade-side--yours {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.1);
}

/* ─── Chat scene ──────────────────────────────────────────────────────────── */

.chat-header-trade {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
  padding: 0.4rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-header-trade .mini {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-header-trade .mini--cam {
  background: linear-gradient(160deg, #1e3a8a, #0f172a);
}

.chat-header-trade .mini--git {
  background: linear-gradient(160deg, #7c2d12, #1c1917);
}

.chat-header-trade svg {
  width: 0.85rem;
  height: 0.85rem;
  color: #fff;
}

.chat-header-trade span {
  font-size: 0.7rem;
  color: var(--amber-bright);
}

.messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  overflow: hidden;
  margin-bottom: 0.45rem;
}

.bubble {
  max-width: 80%;
  padding: 0.4rem 0.55rem;
  border-radius: 0.75rem;
  font-size: 0.58rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.bubble--them {
  align-self: flex-start;
  background: rgba(30, 58, 138, 0.55);
  color: #e2e8f0;
  border-bottom-left-radius: 0.25rem;
}

.bubble--me {
  align-self: flex-end;
  background: rgba(245, 158, 11, 0.2);
  color: #fde68a;
  border-bottom-right-radius: 0.25rem;
}

.phone[data-scene="chat"][data-step="0"] .bubble:nth-child(1),
.phone[data-scene="chat"][data-step="1"] .bubble:nth-child(-n+2),
.phone[data-scene="chat"][data-step="2"] .bubble,
.phone[data-scene="chat"][data-step="3"] .bubble {
  opacity: 1;
  transform: translateY(0);
}

.trade-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}

.trade-bar button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.45rem;
  font-weight: 700;
  padding: 0.4rem 0.15rem;
  border-radius: 0.4rem;
  font-family: inherit;
}

.trade-bar .primary {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--amber-bright);
}

.phone[data-scene="chat"][data-step="2"] .trade-bar .primary {
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}

.meetup-sheet {
  position: absolute;
  left: 0.25rem;
  right: 0.25rem;
  bottom: 0;
  padding: 0.55rem;
  border-radius: 0.75rem 0.75rem 0 0;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.3s ease;
  z-index: 4;
}

.phone[data-scene="chat"][data-step="2"] .meetup-sheet {
  transform: translateY(0);
  opacity: 1;
}

.meetup-sheet h4 {
  margin: 0 0 0.45rem;
  font-size: 0.65rem;
  color: #fff;
}

.meetup-stop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.45rem;
  border-radius: 0.45rem;
  margin-bottom: 0.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  font-size: 0.55rem;
  color: var(--muted);
}

.meetup-stop.is-picked {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber-bright);
  font-weight: 700;
}

.complete-card {
  position: absolute;
  inset: 18% 8%;
  padding: 1rem 0.75rem;
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(245, 158, 11, 0.4);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.92);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 5;
}

.phone[data-scene="chat"][data-step="3"] .complete-card {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.complete-card strong {
  display: block;
  margin: 0.35rem 0 0.25rem;
  color: var(--amber-bright);
  font-size: 0.8rem;
}

.complete-card p {
  margin: 0;
  font-size: 0.58rem;
  color: var(--muted);
}

.complete-card .seal {
  font-size: 1.5rem;
}

.inbox-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  margin-bottom: 0.55rem;
}

.inbox-tabs span {
  text-align: center;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.35rem;
  border-radius: 0.45rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.inbox-tabs span.is-on {
  color: #111;
  background: var(--amber-bright);
}

/* ─── Closing CTA ─────────────────────────────────────────────────────────── */

.cta {
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 4vw, 2.5rem);
  border-radius: 1.75rem;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}

.cta h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
}

.cta p {
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  color: var(--muted);
}

.cta .stores {
  margin: 0 auto;
  max-width: 28rem;
}

footer {
  margin-top: 3rem;
  padding: 1.5rem 0 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

footer .sep {
  margin: 0 0.5rem;
  opacity: 0.5;
}

footer a {
  color: var(--amber-bright);
}

/* ─── Reduced motion ──────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .phone--hero[data-loop="idle"] .card--front {
    animation: none;
  }
}

.pin--p1 { left: 28%; top: 38%; }
.pin--p2 { left: 55%; top: 32%; }
.pin--p3 { left: 48%; top: 52%; }
.pin--p4 { left: 62%; top: 58%; }
.pin--p5 { left: 35%; top: 62%; }
.pin--p6 { left: 70%; top: 42%; }

.spark:nth-child(1) { left: 40%; top: 30%; --dx: -40px; --dy: -50px; }
.spark:nth-child(2) { left: 55%; top: 28%; --dx: 50px; --dy: -40px; }
.spark:nth-child(3) { left: 48%; top: 40%; --dx: 20px; --dy: 45px; }
.spark:nth-child(4) { left: 35%; top: 45%; --dx: -55px; --dy: 20px; }

.closet-item--picked {
  margin-bottom: 0.55rem;
}

.section__lead--center {
  margin-left: auto;
  margin-right: auto;
}

.nearby-sheet__thumb .item-icon,
.offer-target__thumb .item-icon,
.closet-item .item-icon,
.trade-side .item-icon,
.chat-header-trade .item-icon {
  width: 1.35rem;
  height: 1.35rem;
  filter: none;
}

.closet-item .item-icon {
  width: 1.6rem;
  height: 1.6rem;
  margin-bottom: 0.25rem;
}

@media (max-width: 380px) {
  :root {
    --phone-w: 250px;
    --phone-h: 500px;
  }
}
