@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
:root {
  /* NEW Design Redesign tokens (PDF §3–5) */
  --bg: #f4f5f8;
  --bg2: #ffffff;
  --card: #ffffff;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);
  --text: #0f172a;
  --muted: #64748b;
  --purple: #6d28d9;
  --purple2: #7c3aed;
  --cyan: #0891b2;
  --pink: #db2777;
  --ok: #059669;
  --grad: linear-gradient(135deg, #7c3aed 0%, #4f46e5 55%, #0891b2 100%);
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.1);
  --font: Inter, system-ui, -apple-system, sans-serif;
  --r: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --ease: 180ms ease;
}
:focus-visible {
  outline: 2px solid var(--purple2);
  outline-offset: 2px;
}
.btn { transition: transform var(--ease), filter var(--ease), box-shadow var(--ease); }
.btn-primary { min-height: 44px; }
.btn-lg { min-height: 48px; }
input, select, textarea { min-height: 44px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--purple2) !important;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}
.price-card.feat {
  border-color: rgba(109, 40, 217, 0.4) !important;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1), var(--shadow-lg) !important;
}
.price-badge {
  background: var(--grad) !important;
  letter-spacing: 0.06em;
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; font-family: var(--font); color: var(--text);
  background:
    radial-gradient(ellipse 900px 480px at 90% -5%, rgba(124, 58, 237, 0.08), transparent 55%),
    radial-gradient(ellipse 700px 400px at 0% 100%, rgba(8, 145, 178, 0.06), transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #eef2ff 100%);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple2); }
code { font-size: 0.88em; color: var(--purple); background: rgba(124,58,237,0.08); padding: 1px 5px; border-radius: 4px; }

.topbar-promo {
  position: relative; overflow: hidden;
  display: flex; justify-content: center; align-items: center;
  padding: 0; font-size: 12px; font-weight: 600;
  background: linear-gradient(105deg, #3b0764 0%, #6d28d9 35%, #4f46e5 65%, #0e7490 100%);
  background-size: 200% 100%;
  animation: topbarShift 12s ease infinite;
  color: #fff;
  box-shadow: 0 6px 28px rgba(76, 29, 149, 0.35);
  z-index: 50;
}
@keyframes topbarShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.topbar-shimmer {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: topbarShine 3.5s ease-in-out infinite;
}
@keyframes topbarShine {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}
.topbar-fancy .topbar-inner {
  position: relative; z-index: 1;
  width: min(1120px, 100%);
  display: flex; align-items: center; justify-content: center; gap: 10px 14px; flex-wrap: wrap;
  padding: 12px 18px;
}
.topbar-badge {
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.topbar-badge.pro {
  background: linear-gradient(135deg, rgba(52,211,153,0.35), rgba(16,185,129,0.2));
  border-color: rgba(52,211,153,0.55);
}
.topbar-stat-pill {
  display: inline-flex; flex-direction: column; align-items: center;
  padding: 4px 12px; border-radius: 12px;
  background: rgba(0,0,0,0.18); border: 1px solid rgba(255,255,255,0.2);
  min-width: 72px; line-height: 1.15;
}
.topbar-stat-pill.pro-pill { background: rgba(52,211,153,0.18); border-color: rgba(52,211,153,0.4); }
.topbar-stat-n { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.topbar-stat-l { font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.topbar-stat { font-size: 12px; opacity: 0.95; }
.topbar-msg { font-size: 13px; font-weight: 600; max-width: 360px; }
.topbar-msg strong { font-weight: 800; }
.topbar-msg em { font-style: normal; color: #fde68a; font-weight: 800; }
.topbar-promo a { color: #fff; text-decoration: none; font-weight: 700; }
.topbar-promo .promo-cta {
  text-decoration: none; background: #fff; color: #5b21b6 !important;
  padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.topbar-promo .promo-cta-alt {
  background: rgba(255,255,255,0.12) !important; color: #fff !important;
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: none;
}
.topbar-promo .promo-cta:hover { filter: brightness(1.06); transform: translateY(-1px); }
body.share-locked .topbar-promo {
  background: linear-gradient(105deg, #7c2d12 0%, #b45309 40%, #6d28d9 100%);
  animation: none;
}

.share-lock-gate {
  margin-top: 16px; padding: 22px 18px; border-radius: 18px; text-align: center;
  background: linear-gradient(160deg, #fff7ed, #f5f3ff 55%, #ecfeff);
  border: 2px solid rgba(109, 40, 217, 0.4);
  box-shadow: 0 16px 48px rgba(109, 40, 217, 0.16), inset 0 1px 0 rgba(255,255,255,0.8);
  animation: lockPulse 2.4s ease-in-out infinite;
}
@keyframes lockPulse {
  0%, 100% { box-shadow: 0 16px 48px rgba(109, 40, 217, 0.16); }
  50% { box-shadow: 0 16px 48px rgba(180, 83, 9, 0.22); }
}
.share-lock-icon { font-size: 32px; margin-bottom: 6px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.12)); }
.share-lock-gate strong { display: block; font-size: 1.2rem; margin-bottom: 4px; color: #5b21b6; }
.share-progress { margin: 8px 0; }
.share-progress-bar {
  height: 10px; border-radius: 99px; background: rgba(15,23,42,0.08); overflow: hidden;
  border: 1px solid rgba(15,23,42,0.06);
}
.share-progress-fill {
  height: 100%; width: 0%; background: linear-gradient(90deg, #7c3aed, #06b6d4);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.45);
}
.share-progress-label { margin: 8px 0 4px; font-size: 13px; }
.share-chips-row { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; min-height: 0; }
.share-chip {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; background: #f1f5f9; color: #64748b;
}
.share-chip.ok { background: rgba(5,150,105,0.14); color: #047857; border: 1px solid rgba(5,150,105,0.25); }
.copied-flash {
  margin: 8px 0; padding: 10px 14px; border-radius: 12px; font-weight: 800; font-size: 13px;
  background: rgba(5,150,105,0.14); color: #047857; border: 1px solid rgba(5,150,105,0.35);
  animation: copyPop 0.35s ease;
}
@keyframes copyPop {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
body.share-locked .btn-master-cta:disabled {
  opacity: 0.7; cursor: not-allowed;
  background: linear-gradient(135deg, #78716c, #57534e) !important;
  box-shadow: none !important;
}
body.share-locked .btn-master-cta:disabled:hover { transform: none; filter: none; }

/* Credits bar + share polish (light) */
.credits-bar {
  display: grid; grid-template-columns: auto auto 1fr; gap: 12px; align-items: center;
  padding: 14px 16px; margin-bottom: 12px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.credits-stat { text-align: center; min-width: 72px; }
.credits-n { display: block; font-size: 1.5rem; font-weight: 800; color: var(--purple); letter-spacing: -0.03em; }
.credits-l { font-size: 11px; font-weight: 600; color: var(--muted); }
.credits-copy { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.4; }
.share-earn-box {
  background: #fff !important;
  border: 1px solid var(--line-strong) !important;
  color: var(--text);
}
.share-earn-box strong { color: var(--text); }
.promo-track-card {
  background: #f8fafc !important;
  border-color: var(--line) !important;
}
.promo-track-meta strong { color: var(--text) !important; }
.promo-preview-text {
  white-space: pre-wrap; font-size: 12px; line-height: 1.5;
  color: var(--muted); background: #f8fafc; border-radius: 12px;
  padding: 12px; border: 1px solid var(--line); margin: 10px 0;
  max-height: 120px; overflow: auto;
}
.share-btn {
  border: 1px solid var(--line-strong) !important;
  background: #fff !important; color: var(--text) !important;
  border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 13px;
  cursor: pointer; font-family: inherit; min-height: 44px;
}
.share-btn.primary-share {
  background: var(--grad) !important; color: #fff !important; border: none !important;
  box-shadow: 0 6px 18px rgba(109, 40, 217, 0.25);
}
.share-btn.facebook.primary-share { background: #1877f2 !important; box-shadow: 0 6px 18px rgba(24,119,242,0.3); }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; height: 0 !important; width: 0 !important; }
.purchase-share-nudge {
  margin-top: 14px; padding: 14px; border-radius: 14px;
  background: #f5f3ff; border: 1px solid rgba(109,40,217,0.2);
}
.upgrade-banner {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 0 0 18px; padding: 14px 16px;
  border-radius: 14px; border: 1px solid rgba(124, 58, 237, 0.28);
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(14,165,233,0.06));
  box-shadow: var(--shadow);
}
.upgrade-banner-copy { min-width: 0; flex: 1; }
.upgrade-banner-copy strong { display: block; font-size: 14px; margin-bottom: 3px; }
.upgrade-banner-copy span { font-size: 12px; color: var(--muted); line-height: 1.4; }
.upgrade-banner-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 700px) {
  .upgrade-banner-actions { width: 100%; }
  .upgrade-banner-actions .btn { flex: 1; }
}
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px);
  border: 1px solid var(--line); margin: 12px 0 16px; padding: 12px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.brand {
  display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800;
  letter-spacing: -0.03em; text-decoration: none; font-size: 16px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small {
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin-top: 2px;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--grad); box-shadow: 0 6px 18px rgba(124, 58, 237, 0.28);
  font-size: 11px; font-weight: 800; color: #fff;
}
.nav-em { color: var(--purple) !important; font-weight: 700 !important; }
.pill-plan {
  background: rgba(5,150,105,0.1) !important; color: var(--ok) !important;
  border-color: rgba(5,150,105,0.25) !important;
}
.trust-row {
  display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 16px;
  font-size: 12px; font-weight: 600; color: var(--muted);
}
.sell-strip { padding-top: 8px; }
.sell-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 800px) { .sell-grid { grid-template-columns: 1fr; } }
.sell-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px; box-shadow: var(--shadow);
}
.sell-n {
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em; color: var(--purple);
  margin-bottom: 8px;
}
.sell-card h3 { margin: 0 0 8px; font-size: 16px; }
.sell-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.hero-pro h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.hero-card-pro { position: relative; }
.mock-region-label {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  font-size: 10px; font-weight: 700; color: #fff; background: rgba(76,29,149,0.75);
  padding: 3px 8px; border-radius: 6px; pointer-events: none;
}
.footer {
  margin-top: 48px; padding: 28px 0; border-top: 1px solid var(--line);
  display: grid; gap: 12px;
}
.footer-brand strong { display: block; margin-bottom: 4px; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-weight: 600; font-size: 13px; }
.footer-links a:hover { color: var(--purple); }
.nav-links { display: flex; gap: 6px 14px; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--muted); font-size: 13px; font-weight: 600; }
.nav-links a:hover { color: var(--purple); }
.btn {
  border: none; border-radius: var(--r); padding: 11px 18px; font-weight: 700;
  font-size: 13px; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none !important; transition: 0.15s ease;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.28);
}
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost {
  background: #fff; color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.btn-ghost:hover { border-color: var(--purple); background: rgba(124,58,237,0.06); color: var(--purple2); }
.btn-lg { padding: 14px 22px; font-size: 14px; }
.btn-block { width: 100%; }
.btn.sq { border-radius: var(--r); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.user-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px 4px 4px; border-radius: var(--r);
  border: 1px solid var(--line); background: #ffffff;
  font-size: 12px; font-weight: 600; color: var(--text);
  box-shadow: var(--shadow);
}
.user-chip img, .user-chip .av {
  width: 26px; height: 26px; border-radius: 6px; background: var(--grad);
  display: grid; place-items: center; font-size: 11px; font-weight: 800; object-fit: cover;
}
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px; font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid rgba(124, 58, 237, 0.22); color: var(--purple2);
  background: rgba(124, 58, 237, 0.08);
}

/* ── Confirm / “upload complete” modal ───────────────── */
.confirm-stage {
  min-height: calc(100vh - 160px);
  display: grid; place-items: center;
  padding: 24px 0 48px;
}
.confirm-modal {
  width: min(420px, 100%);
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 32px 28px 24px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(124, 58, 237, 0.12);
  position: relative;
  overflow: hidden;
}
.confirm-modal::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--grad);
}
.confirm-success { text-align: center; margin-bottom: 22px; }
.confirm-eyebrow {
  margin: 14px 0 6px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ok);
}
.confirm-success h1 {
  margin: 0; font-size: 1.35rem; letter-spacing: -0.03em; font-weight: 750; line-height: 1.25;
}

/* animated check like upload complete */
.check-ring { width: 72px; height: 72px; margin: 0 auto; }
.check-svg { width: 72px; height: 72px; }
.check-circle {
  fill: none; stroke: rgba(52, 211, 153, 0.25); stroke-width: 3;
}
.check-mark {
  fill: none; stroke: var(--ok); stroke-width: 3.5; stroke-linecap: square; stroke-linejoin: miter;
  stroke-dasharray: 48; stroke-dashoffset: 48;
  animation: drawCheck 0.55s ease 0.15s forwards;
}
.check-circle {
  stroke-dasharray: 180; stroke-dashoffset: 180;
  animation: drawCircle 0.5s ease forwards;
  stroke: var(--ok);
}
@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}
@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

.confirm-id {
  display: flex; align-items: center; gap: 14px;
  padding: 14px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: rgba(0,0,0,0.35);
  margin-bottom: 16px;
}
.confirm-av {
  width: 52px; height: 52px; border-radius: var(--r); flex-shrink: 0;
  background: var(--grad); display: grid; place-items: center;
  font-weight: 800; font-size: 20px; overflow: hidden;
}
.confirm-av img { width: 100%; height: 100%; object-fit: cover; }
.confirm-id-meta { min-width: 0; text-align: left; }
.provider-tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 4px;
  background: rgba(255,255,255,0.06); color: var(--muted); margin-bottom: 4px;
}
.provider-tag.sc {
  background: rgba(255, 85, 0, 0.15); color: #ff8a4c;
}
.confirm-handle {
  font-size: 17px; font-weight: 750; letter-spacing: -0.02em;
  color: var(--cyan); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.confirm-email {
  font-size: 12px; color: var(--muted); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.confirm-status {
  list-style: none; padding: 0; margin: 0 0 20px;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.confirm-status li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.2);
}
.confirm-status li:last-child { border-bottom: 0; }
.st-ico {
  width: 22px; height: 22px; border-radius: 4px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
  background: rgba(255,255,255,0.06); color: var(--muted);
}
.st-ico.ok { background: rgba(52, 211, 153, 0.15); color: var(--ok); }
.confirm-status strong {
  display: block; font-size: 13px; font-weight: 650; margin-bottom: 2px;
}
.confirm-status span { font-size: 12px; color: var(--muted); line-height: 1.35; }
.confirm-actions { margin: 0; }
.confirm-alt {
  text-align: center; margin: 14px 0 0; font-size: 12px; color: var(--muted);
}
.confirm-alt a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.confirm-alt a:hover { color: #fff; }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px;
  padding: 40px 0 56px; align-items: center;
}
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.02;
  letter-spacing: -0.04em; margin: 14px 0 16px; font-weight: 800;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #7c3aed, #6366f1 45%, #0ea5e9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 480px; margin: 0 0 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.checks { list-style: none; padding: 0; margin: 0 0 18px; }
.checks li {
  padding: 8px 0 8px 28px; position: relative; color: var(--muted); font-size: 14px;
}
.checks li::before {
  content: "✓"; position: absolute; left: 0; color: var(--purple2); font-weight: 800;
}
.social-mini { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.social-mini a { color: var(--text); font-weight: 600; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }

.hero-card {
  border: 1px solid var(--line); border-radius: var(--r-xl); padding: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}
.steps-mini { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.steps-mini span {
  font-size: 11px; padding: 6px 10px; border-radius: var(--r); border: 1px solid var(--line); color: var(--muted);
}
.steps-mini .on { color: #fff; background: rgba(139, 92, 246, 0.25); border-color: var(--purple); }
.mock-wave {
  height: 110px; border-radius: var(--r-lg); margin-bottom: 12px;
  background: linear-gradient(180deg, #f5f3ff, #eef2ff);
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.mock-bars {
  position: absolute; inset: 16px 12px; display: flex; align-items: center; gap: 2px;
}
.mock-bars i {
  flex: 1; border-radius: 2px;
  background: linear-gradient(180deg, #6d28d9, #8b5cf6 45%, #6366f1);
  height: calc(20% + var(--h, 50%));
}
.mock-region {
  position: absolute; left: 28%; width: 28%; top: 14%; bottom: 14%;
  border: 1.5px solid rgba(255,255,255,0.5); border-radius: 8px;
  background: rgba(139, 92, 246, 0.15);
}
.meters { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin-bottom: 10px; }
.meters div {
  background: #f1f5f9; border: 1px solid var(--line); border-radius: var(--r); padding: 10px;
}
.meters label { display: block; font-size: 9px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.meters b { font-size: 15px; color: var(--purple2); font-weight: 700; }
.ab-row { display: flex; gap: 8px; }
.tag {
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; padding: 6px 10px; border-radius: 8px;
}
.tag.before { background: #f1f5f9; color: var(--muted); }
.tag.after { background: rgba(14, 165, 233, 0.12); color: var(--cyan); }

.section { padding: 40px 0 20px; }
.section h2 { font-size: 28px; letter-spacing: -0.03em; margin: 0 0 8px; }
.section p.sub { color: var(--muted); margin: 0 0 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 800px) { .grid3 { grid-template-columns: 1fr; } }
.card {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; background: #ffffff;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 15px; }
.card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.how {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; margin-top: 12px;
}
@media (max-width: 800px) { .how { grid-template-columns: 1fr 1fr; } }
.how .card { text-align: center; }
.how .n {
  width: 32px; height: 32px; border-radius: 50%; margin: 0 auto 10px;
  background: var(--grad); display: grid; place-items: center; font-weight: 800; font-size: 13px;
}

.footer {
  margin-top: 48px; padding: 24px 0; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--muted); font-size: 12px;
}

/* auth / confirm */
.auth-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; padding: 20px 0 40px;
}
@media (max-width: 900px) { .auth-grid { grid-template-columns: 1fr; } }
.panel {
  border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px;
  background: #ffffff; box-shadow: var(--shadow);
}
.panel h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.03em; margin: 10px 0 12px; }
.panel h2 { margin: 0 0 16px; font-size: 22px; letter-spacing: -0.02em; }
.social-stack { display: grid; gap: 10px; margin-bottom: 14px; }
.social-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px; border-radius: var(--r); border: 1px solid var(--line);
  background: #ffffff; color: var(--text); font-weight: 700;
  text-decoration: none !important; font-size: 14px;
}
.social-btn:hover { border-color: var(--purple); background: rgba(124, 58, 237, 0.08); color: var(--purple2); }
.social-btn.sc { border-color: rgba(255, 85, 0, 0.35); }
.divider {
  display: flex; align-items: center; gap: 12px; color: var(--muted);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; margin: 8px 0 14px;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
label.field { display: block; margin-bottom: 12px; font-size: 12px; color: var(--muted); }
label.field input {
  width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: var(--r);
  border: 1px solid var(--line-strong); background: #ffffff; color: var(--text);
  font-family: inherit; font-size: 14px;
}
label.field input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(139,92,246,0.2); }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.alert {
  padding: 12px; border-radius: 12px; margin-bottom: 12px; font-size: 13px;
}
.alert.err { background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.3); color: #fca5a5; }
.alert.ok { background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.3); color: var(--cyan); }
.fine { font-size: 12px; color: var(--muted); }
.switch { text-align: center; margin-top: 14px; color: var(--muted); font-size: 13px; }

/* legacy confirm helpers kept for other pages */
.badge-sc {
  display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 10px;
  border-radius: var(--r); background: rgba(255,85,0,0.15); color: #ff8a4c;
  border: 1px solid rgba(255,85,0,0.3); margin-bottom: 16px;
}

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 800px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; background: #ffffff;
  position: relative; box-shadow: var(--shadow);
}
.price-card.feat {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.12);
}
.price { font-size: 36px; font-weight: 800; margin: 8px 0; }
.price span { font-size: 14px; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 16px; }
.price-card li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.price-card h3 { margin: 4px 0 0; font-size: 22px; letter-spacing: -0.02em; }
.price-tier { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple2); }
.price-blurb { color: var(--muted); font-size: 13px; margin: 0 0 12px; line-height: 1.45; }
.price-badge {
  position: absolute; top: -10px; right: 16px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--grad); color: #fff;
}
.li-ok { color: var(--ok); font-weight: 800; flex-shrink: 0; }
.li-off { color: var(--muted); opacity: 0.5; flex-shrink: 0; }
.grad-text {
  background: linear-gradient(90deg, #6d28d9, #a855f7 40%, #22d3ee);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pricing-hero { margin-bottom: 28px; }
.pricing-hero h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.15; margin: 12px 0 10px; }

/* format chips */
.fmt-row { display: flex; flex-wrap: wrap; gap: 6px; }
.fmt-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.03); color: var(--muted);
}
.fmt-tag.prefer, .fmt-chip.prefer {
  border-color: rgba(52, 211, 153, 0.35); color: var(--ok);
  background: rgba(52, 211, 153, 0.08);
}
.fmt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 500px) { .fmt-grid { grid-template-columns: 1fr 1fr; } }
.fmt-chip {
  border: 1px solid var(--line); border-radius: var(--r); padding: 10px;
  background: rgba(0,0,0,0.25);
}
.fmt-chip strong { display: block; font-size: 13px; margin-bottom: 2px; }
.fmt-chip span { font-size: 11px; color: var(--muted); }
.fmt-note {
  margin-top: 12px; padding: 10px 12px; border-radius: var(--r);
  background: rgba(248,113,113,0.06); border: 1px solid rgba(248,113,113,0.15);
  font-size: 12px; color: var(--muted); line-height: 1.45;
}

/* payment matrix */
.pay-matrix { margin-top: 36px; }
.pay-matrix-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; flex-wrap: wrap; margin-bottom: 18px;
}
.pay-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .pay-cols { grid-template-columns: 1fr; } }
.pay-col {
  border-radius: var(--r-lg); padding: 16px; border: 1px solid var(--line);
  background: rgba(0,0,0,0.22);
}
.pay-col.yes { border-color: rgba(52, 211, 153, 0.25); }
.pay-col.no { border-color: rgba(248, 113, 113, 0.2); }
.pay-col h4 {
  margin: 0 0 12px; font-size: 13px; display: flex; align-items: center; gap: 8px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block;
}
.dot.yes { background: var(--ok); box-shadow: 0 0 8px rgba(52,211,153,0.5); }
.dot.no { background: #f87171; box-shadow: 0 0 8px rgba(248,113,113,0.4); }
.pay-col ul { list-style: none; padding: 0; margin: 0; }
.pay-col li {
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.pay-col li:last-child { border-bottom: 0; }
.pay-col li strong { display: block; font-size: 13px; margin-bottom: 3px; color: var(--text); }
.pay-col li span { font-size: 12px; color: var(--muted); line-height: 1.4; }
.pay-formats { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }

/* home dashboard */
.home-hero {
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 20px;
  margin-bottom: 22px; align-items: stretch;
}
@media (max-width: 900px) { .home-hero { grid-template-columns: 1fr; } }
.home-hero-copy {
  border: 1px solid var(--line-strong); border-radius: var(--r-xl); padding: 28px;
  background:
    linear-gradient(135deg, rgba(139,92,246,0.22), rgba(5,3,10,0.92)),
    var(--card);
  position: relative; overflow: hidden;
}
.home-hero-copy::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad);
}
.home-hero-copy h1 {
  margin: 12px 0 10px; font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  letter-spacing: -0.03em; line-height: 1.15;
}
.home-hero-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.stat-tile {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px;
  background: var(--card); display: flex; flex-direction: column; justify-content: center;
}
.stat-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.stat-val {
  font-size: 22px; font-weight: 800; margin-top: 6px; letter-spacing: -0.02em; color: var(--text);
}
.stat-val.accent { color: var(--cyan); }
.stat-val.ok { color: var(--ok); }

.home-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 14px; margin-bottom: 28px;
}
@media (max-width: 900px) { .home-grid { grid-template-columns: 1fr; } }

.plan-card {
  border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px;
  background: var(--card); position: relative; overflow: hidden;
}
.plan-card.plan-pro { border-color: rgba(52, 211, 153, 0.35); box-shadow: 0 0 40px rgba(52,211,153,0.08); }
.plan-card-top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap;
}
.plan-name {
  margin: 10px 0 0; font-size: 28px; letter-spacing: -0.03em; color: var(--cyan);
}
.plan-meter { margin: 16px 0 4px; }
.plan-meter-head {
  display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 8px;
}
.plan-meter-head strong { color: var(--text); }
.plan-bar {
  height: 8px; border-radius: 99px; background: rgba(255,255,255,0.06); overflow: hidden;
}
.plan-bar-fill {
  height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--purple), var(--cyan));
  min-width: 4px; transition: width 0.4s ease;
}
.plan-perks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; }
.plan-perks li {
  font-size: 13px; color: var(--muted); padding: 6px 0 6px 22px; position: relative;
}
.plan-perks li::before {
  position: absolute; left: 0; font-weight: 800;
}
.plan-perks li.on { color: var(--text); }
.plan-perks li.on::before { content: "✓"; color: var(--ok); }
.plan-perks li.off::before { content: "–"; color: var(--muted); opacity: 0.6; }

.formats-panel h3 { font-size: 16px; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* library */
.lib-section { margin-top: 8px; }
.lib-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.lib-player-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 14px; margin-bottom: 14px;
  border: 1px solid rgba(139, 92, 246, 0.4); border-radius: var(--r-lg);
  background: linear-gradient(90deg, rgba(139,92,246,0.15), rgba(8,5,16,0.95));
  position: sticky; top: 8px; z-index: 5;
}
.lib-play-btn {
  width: 42px; height: 42px; border-radius: 10px; border: none; cursor: pointer;
  background: var(--grad); color: #fff; font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.lib-player-meta { min-width: 0; flex: 1; }
.lib-player-meta strong {
  display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lib-player-wave {
  display: none; width: 120px; height: 28px;
  background: repeating-linear-gradient(90deg, var(--purple2) 0 2px, transparent 2px 5px);
  opacity: 0.35; border-radius: 4px;
}
@media (min-width: 700px) { .lib-player-wave { display: block; } }
.lib-player-bar:not([hidden]) .lib-player-wave {
  animation: wavePulse 1.2s ease-in-out infinite alternate;
}
@keyframes wavePulse { from { opacity: 0.25; } to { opacity: 0.55; } }

.lib-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px;
}
.lib-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: var(--card); transition: 0.15s ease; display: flex; flex-direction: column;
}
.lib-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.35); }
.lib-card.playing { border-color: rgba(34, 211, 238, 0.5); box-shadow: 0 0 28px rgba(34,211,238,0.12); }
.lib-art {
  position: relative; height: 100px;
  background: linear-gradient(180deg, #160c2a, #07040f);
  border-bottom: 1px solid var(--line);
}
.lib-bars {
  position: absolute; inset: 18px 14px 14px; display: flex; align-items: flex-end; gap: 2px;
  opacity: 0.85;
}
.lib-bars i {
  flex: 1; border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #e9d5ff, #8b5cf6 50%, #4c1d95);
  height: var(--h, 50%); min-height: 12%;
}
.lib-card.playing .lib-bars i {
  animation: barDance 0.6s ease-in-out infinite alternate;
}
.lib-card.playing .lib-bars i:nth-child(odd) { animation-delay: 0.1s; }
.lib-card.playing .lib-bars i:nth-child(3n) { animation-delay: 0.2s; }
@keyframes barDance {
  from { transform: scaleY(0.7); }
  to { transform: scaleY(1.15); }
}
.lib-art-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 2; width: 44px; height: 44px; border-radius: 12px; border: none;
  background: var(--grad); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer;
  box-shadow: 0 8px 24px rgba(109, 40, 217, 0.45); opacity: 0.95;
}
.lib-art-play:hover { filter: brightness(1.1); }
.lib-badge {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 4px;
}
.lib-badge.yours { background: rgba(34,211,238,0.15); color: var(--cyan); }
.lib-badge.demo { background: rgba(255,255,255,0.06); color: var(--muted); }
.lib-body { padding: 14px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.lib-title {
  margin: 0; font-size: 13px; font-weight: 650; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lib-meta { margin: 0; font-size: 11px; color: var(--muted); }
.lib-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.btn-sm { padding: 8px 12px; font-size: 12px; }

.lib-empty {
  text-align: center; padding: 48px 24px;
  border: 1px dashed var(--line-strong); border-radius: var(--r-xl); background: rgba(0,0,0,0.2);
}
.lib-empty-ico {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 14px;
  background: var(--grad); display: grid; place-items: center; font-size: 22px;
}
.lib-empty h3 { margin: 0 0 8px; }

.hero-card-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); flex-wrap: wrap;
}

/* ── SoundCloud proof / showcase ───────────────────────────────────────── */
.proof-section { padding-top: 8px; }
.proof-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
}
.proof-score-ring {
  width: 88px; height: 88px; border-radius: 50%; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 40% 35%, rgba(168,85,247,0.35), transparent 55%),
    rgba(8,5,16,0.9);
  border: 2px solid rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 32px rgba(34, 211, 238, 0.15), 0 0 40px rgba(139, 92, 246, 0.12);
}
.score-num {
  font-size: 28px; font-weight: 800; letter-spacing: -0.03em; color: var(--cyan); line-height: 1;
}
.score-lbl {
  font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  margin-top: 2px;
}
.proof-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 14px;
}
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr; } }
.proof-player, .proof-analysis {
  border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 18px; background: var(--card);
}
.proof-player-meta {
  display: flex; gap: 12px; align-items: center; margin-bottom: 12px;
}
.proof-art {
  width: 72px; height: 72px; border-radius: 10px; object-fit: cover;
  border: 1px solid var(--line); background: #f5f3ff;
}
.sc-embed-wrap {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: #0a0612;
  min-height: 166px;
}
.sc-embed-wrap iframe { display: block; width: 100%; border: 0; }

.ab-meters {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px;
}
.ab-meter {
  border-radius: var(--r-lg); padding: 12px;
  border: 1px solid var(--line); background: rgba(0,0,0,0.28);
}
.ab-meter.after-m {
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.06);
}
.ab-meter-tag {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.ab-meter-tag.after { color: var(--cyan); }
.ab-meter-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px; padding: 5px 0; font-size: 12px; color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ab-meter-row:last-child { border-bottom: 0; }
.ab-meter-row b { color: var(--text); font-size: 14px; font-weight: 750; }
.ab-meter-row b.hi { color: var(--cyan); }
.ab-meter-row small { font-size: 10px; color: var(--muted); font-weight: 500; }

.proof-bars { margin: 4px 0 14px; display: grid; gap: 10px; }
.proof-bar-row { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: center; }
.proof-bar-row > span { font-size: 11px; color: var(--muted); font-weight: 600; }
.proof-bar-track {
  position: relative; height: 18px; border-radius: 6px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line); overflow: hidden;
}
.proof-bar-track i {
  position: absolute; left: 0; top: 3px; bottom: 3px; border-radius: 4px;
  max-width: 98%;
}
.proof-bar-track .before-bar {
  background: rgba(155, 144, 184, 0.45); z-index: 1;
}
.proof-bar-track .after-bar {
  background: linear-gradient(90deg, #8b5cf6, #22d3ee); z-index: 2; opacity: 0.9;
}

.proof-highlights {
  list-style: none; padding: 0; margin: 0; display: grid; gap: 8px;
}
.proof-highlights li {
  font-size: 13px; color: var(--muted); line-height: 1.4;
  padding-left: 22px; position: relative;
}
.proof-highlights li::before {
  content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800;
}

/* ═══ Light theme polish overrides ═══ */
.confirm-id, .confirm-status li, .ab-meter, .lib-card, .stat-tile, .plan-card,
.proof-player, .proof-analysis, .pay-col, .fmt-chip {
  background: #ffffff !important;
  border-color: var(--line) !important;
}
.confirm-av, .home-hero-copy {
  background: linear-gradient(135deg, rgba(124,58,237,0.2), #ffffff) !important;
}
.home-hero-copy {
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow);
}
.plan-name, .stat-val.accent, .score-num, .ab-meter-row b.hi { color: var(--purple2) !important; }
.proof-score-ring {
  background: #ffffff !important;
  border-color: rgba(124,58,237,0.35) !important;
  box-shadow: var(--shadow) !important;
}
.lib-art {
  background: linear-gradient(180deg, #f5f3ff, #eef2ff) !important;
}
.lib-bars i {
  background: linear-gradient(180deg, #6d28d9, #8b5cf6 50%, #6366f1) !important;
}
.fmt-note {
  background: rgba(248,113,113,0.06) !important;
}
.pay-col.yes { border-color: rgba(5,150,105,0.25) !important; background: rgba(5,150,105,0.12) !important; }
.pay-col.no { border-color: rgba(248,113,113,0.2) !important; background: rgba(248,113,113,0.1) !important; }
.social-mini a {
  background: #ffffff; border-color: var(--line); color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.social-mini a:hover { border-color: var(--purple); color: var(--purple); }
.footer { color: var(--muted); border-color: var(--line); }
.grad-text {
  background: linear-gradient(90deg, #7c3aed, #6366f1 40%, #0ea5e9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.alert.err { background: rgba(248,113,113,0.12); border-color: #fecaca; color: #b91c1c; }
.alert.ok { background: #ecfeff; border-color: #a5f3fc; color: #0e7490; }
.stripe-banner.stripe-on { background: #ecfdf5; }
.stripe-banner.stripe-off { background: rgba(251,191,36,0.12); }
.pay-card, .pay-accept-mini { background: #ffffff !important; }
label.field input, input[name="code"] {
  background: #ffffff !important; color: var(--text) !important;
  border: 1px solid var(--line-strong) !important;
}
.sc-embed-wrap { background: #f1f5f9 !important; border-color: var(--line) !important; }
.lib-player-bar {
  background: linear-gradient(90deg, rgba(124,58,237,0.15), #ffffff) !important;
  border-color: rgba(124,58,237,0.25) !important;
}

/* ═══ Mobile-first polish ═══ */
@media (max-width: 700px) {
  .wrap { width: calc(100% - 20px); }
  .nav {
    margin: 0 -10px 8px; padding: 10px 12px; gap: 8px;
    border-radius: 0;
  }
  .nav-links { width: 100%; justify-content: flex-start; gap: 8px 10px; }
  .nav-links a { font-size: 12px; }
  .brand { font-size: 15px; }
  .hero { padding: 20px 0 28px; gap: 20px; }
  .hero h1 { font-size: 2rem; }
  .lede { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .home-hero { grid-template-columns: 1fr !important; }
  .home-hero-stats { grid-template-columns: 1fr 1fr; }
  .home-grid, .proof-grid, .price-grid, .pay-cols { grid-template-columns: 1fr !important; }
  .lib-grid { grid-template-columns: 1fr !important; }
  .fmt-grid { grid-template-columns: 1fr 1fr; }
  .section h2 { font-size: 1.4rem; }
  .how { grid-template-columns: 1fr 1fr; }
  .panel { padding: 18px; }
  .btn-lg { padding: 14px 16px; width: 100%; justify-content: center; }
  .master-tool-card > div { flex-direction: column; align-items: stretch !important; }
  .master-tool-card .btn { width: 100%; }
  .sc-embed-wrap iframe { min-height: 140px; }
  .footer { flex-direction: column; text-align: center; }
}
@media (max-width: 420px) {
  .how { grid-template-columns: 1fr; }
  .home-hero-stats { grid-template-columns: 1fr 1fr; }
  .meters { grid-template-columns: 1fr 1fr; }
}

/* ── TryMastered rebrand extras (guide) ── */
.legal-page .legal-body h3 { margin: 18px 0 8px; font-size: 1rem; }
.legal-page .legal-body p { color: var(--muted); line-height: 1.55; margin: 0 0 8px; }
.studio-gate { max-width: 640px; margin: 0 auto; }
.studio-gate-card { padding: 28px 24px; border-radius: 18px; }
.drop-mock {
  margin-top: 18px; border: 2px dashed rgba(124,92,255,0.35); border-radius: 16px;
  background: rgba(124,92,255,0.06); padding: 28px 16px; text-align: center;
}
.drop-mock-inner strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.convert-panel {
  border: 1px solid rgba(124,92,255,0.28) !important;
  background: linear-gradient(135deg, rgba(124,92,255,0.1), rgba(179,136,255,0.06));
  border-radius: 14px; padding: 16px 18px;
}
.convert-title { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.mobile-cta-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11,11,18,0.92); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 700px) {
  .mobile-cta-bar.show-on-marketing { display: block; }
}

/* Homepage style sell (SEO) */
.style-sell-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; margin-top: 8px;
}
@media (max-width: 800px) { .style-sell-grid { grid-template-columns: 1fr 1fr; } }
.style-sell-card {
  display: block; border-radius: 14px; overflow: hidden; text-decoration: none;
  color: var(--text); border: 1px solid var(--line); background: var(--card);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow);
}
.style-sell-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.style-sell-card .style-art {
  height: 96px; display: grid; place-items: center;
}
.style-sell-card .style-art .ico { font-size: 28px; }
.style-sell-card .style-art.thunder { background: linear-gradient(135deg, #7c3aed, #2563eb 60%, #06b6d4); }
.style-sell-card .style-art.sunroof { background: linear-gradient(135deg, #3b82f6, #38bdf8 50%, #fbbf24); }
.style-sell-card .style-art.aurora { background: linear-gradient(135deg, #db2777, #a855f7 50%, #6366f1); }
.style-sell-card .style-art.clearsky { background: linear-gradient(135deg, #f472b6, #fb923c 55%, #fde68a); }
.style-sell-card strong { display: block; padding: 10px 12px 2px; font-size: 14px; }
.style-sell-card span { display: block; padding: 0 12px 12px; font-size: 12px; color: var(--muted); line-height: 1.4; }
.seo-keywords { opacity: 0.55; font-size: 11px !important; line-height: 1.45; }
.hero-sell h1 { letter-spacing: -0.03em; }

/* ── Bulletproof pro polish ── */
.pill-ok {
  background: rgba(5,150,105,0.12) !important;
  color: #047857 !important;
  border: 1px solid rgba(5,150,105,0.25) !important;
}
.brand:focus-visible, .btn:focus-visible, .style-card:focus-visible, .ab-chip:focus-visible, .int-chip:focus-visible {
  outline: 2px solid #7c3aed; outline-offset: 2px;
}
.btn {
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-primary:active { transform: translateY(1px); }
.nav { position: sticky; top: 8px; z-index: 50; }
.hero-pro { align-items: center; }
.footer-links a { margin-right: 12px; }
@media (max-width: 640px) {
  .nav-links { width: 100%; justify-content: flex-start; gap: 8px 12px; }
  .topbar-promo { font-size: 11px; text-align: center; }
  .studio-top .sc-steps { order: 3; width: 100%; justify-content: center; }
}
/* Demo professional shell */
.demo-main-pro {
  box-shadow: 0 16px 48px rgba(80,50,140,0.1);
  border: 1px solid rgba(99,70,180,0.14);
}
.demo-body .studio-top {
  border-bottom: 1px solid rgba(99,70,180,0.14);
}
.convert-panel {
  animation: fadeUp 0.35s ease;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dark form fields */
.field input, .auth-grid input, input[type="email"], input[type="password"], input[type="text"] {
  background: #f8fafc !important; color: #0f172a !important;
  border: 1px solid rgba(167,139,250,0.22) !important;
}
.price-card, .hero-card, .proof-player, .proof-analysis {
  background: var(--card) !important; border-color: var(--line) !important;
}
.btn-ghost {
  background: #fff !important; color: var(--purple) !important;
  border: 1px solid rgba(109, 40, 217, 0.25) !important;
}
.sc-embed-wrap { background: #f8fafc !important; }
.studio-gate-card, .drop-mock { background: var(--card) !important; }
.drop-mock { border-color: rgba(167,139,250,0.35) !important; }

/* ── Money / AAA score / SC ship ── */
.money-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 18px; max-width: 420px;
}
@media (max-width: 600px) { .money-strip { grid-template-columns: 1fr; } }
.money-strip > div {
  background: rgba(124,58,237,0.12); border: 1px solid rgba(167,139,250,0.22);
  border-radius: 12px; padding: 10px 12px;
}
.money-strip strong { display: block; font-size: 14px; margin-bottom: 2px; color: #0f172a; }
.money-strip span { font-size: 11px; color: var(--muted); }
.grade-hero {
  display: flex; align-items: center; gap: 14px; margin-bottom: 12px;
}
.grade-badge {
  width: 72px; height: 72px; border-radius: 16px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(145deg, rgba(52,211,153,0.2), rgba(124,58,237,0.25));
  border: 2px solid rgba(52,211,153,0.45);
  box-shadow: 0 8px 24px rgba(52,211,153,0.15);
}
.grade-badge.aaa { border-color: rgba(52,211,153,0.55); }
.grade-letter {
  font-size: 18px; font-weight: 900; letter-spacing: 0.04em; color: #34d399; line-height: 1;
}
.grade-score { font-size: 13px; font-weight: 800; color: #0f172a; margin-top: 2px; }
.score-card-pro {
  display: flex; gap: 14px; align-items: center;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(124,58,237,0.12); border: 1px solid rgba(167,139,250,0.22);
}
.score-card-grade {
  width: 64px; height: 64px; border-radius: 14px; border: 2px solid #a78bfa;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #f8fafc;
}
.scg-letter { font-size: 16px; font-weight: 900; line-height: 1; }
.scg-num { font-size: 14px; font-weight: 800; color: #0f172a; margin-top: 2px; }
.score-card-meta strong { display: block; margin-bottom: 4px; }
.score-metrics { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.sc-ship-box {
  background: linear-gradient(135deg, rgba(255,85,0,0.12), rgba(124,58,237,0.12)) !important;
  border: 1px solid rgba(255,85,0,0.35) !important;
  border-radius: 14px; padding: 14px !important;
}

/* ═══ Share-to-earn + mobile nav ═══ */
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: #ffffff; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: #0f172a; border-radius: 2px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.nav-toggle.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.on span:nth-child(2) { opacity: 0; }
.nav-toggle.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.share-btns {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.share-btn {
  border: 1px solid rgba(167,139,250,0.28); background: #f1f5f9; color: #0f172a;
  border-radius: 999px; padding: 10px 14px; font-weight: 700; font-size: 12px;
  cursor: pointer; font-family: inherit; min-height: 44px;
  transition: border-color 0.12s ease, background 0.12s ease, transform 0.12s ease;
}
.share-btn:hover { border-color: #a78bfa; background: rgba(124,58,237,0.18); }
.share-btn:active { transform: scale(0.98); }
.share-btn.twitter { border-color: rgba(29,155,240,0.4); }
.share-btn.facebook { border-color: rgba(24,119,242,0.45); }
.share-btn.whatsapp { border-color: rgba(37,211,102,0.4); }
.share-btn.copy { border-color: rgba(167,139,250,0.45); }
.share-earn-box {
  background: linear-gradient(135deg, rgba(124,58,237,0.16), rgba(6,182,212,0.1)) !important;
  border: 1px solid rgba(167,139,250,0.32) !important;
  border-radius: 14px; padding: 14px !important;
}
.share-earn-box strong { display: block; margin-bottom: 2px; }
.promo-track-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 12px; border-radius: 12px;
  background: rgba(0,0,0,0.28); border: 1px solid rgba(167,139,250,0.22);
}
.promo-track-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.promo-track-meta strong { font-size: 15px; color: #fff; letter-spacing: -0.02em; }
.promo-track-meta a { color: #a78bfa; font-weight: 600; font-size: 12px; }

/* Public share page */
.share-page { padding: 12px 0 48px; max-width: 720px; margin: 0 auto; }
.share-hero-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 22px 20px; box-shadow: var(--shadow-lg);
}
.share-grade-row {
  display: flex; gap: 14px; align-items: center; margin: 16px 0 18px;
}
.share-grade-row h1 {
  margin: 0; font-size: clamp(1.35rem, 4vw, 1.85rem); letter-spacing: -0.03em;
}
.share-player {
  background: #0e0e16; border: 1px solid rgba(167,139,250,0.2);
  border-radius: 14px; padding: 14px; margin-bottom: 16px;
}
.share-player audio { width: 100%; }
.share-cta-row {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px;
}
.share-cta-row .btn { flex: 1; min-width: 140px; }
.share-sell-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px;
}
@media (max-width: 700px) {
  .share-sell-strip { grid-template-columns: 1fr; }
  .share-cta-row { flex-direction: column; }
  .share-cta-row .btn { width: 100%; }
}

/* Homepage sell upgrades */
.section-head { margin-bottom: 18px; }
.section-head h2 { margin: 0 0 8px; }
.section-head .sub { margin: 0; }
.hero-checks { margin: 0 0 18px; }
.hero-checks li { color: var(--text); }
.hero-checks li strong { color: #0f172a; }
.sell-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .sell-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sell-grid-4 { grid-template-columns: 1fr; } }

.share-promo {
  padding: 8px 0 28px;
}
.share-promo-inner {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; align-items: stretch;
  background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(6,182,212,0.08));
  border: 1px solid rgba(167,139,250,0.28);
  border-radius: 20px; padding: 24px 22px;
  box-shadow: var(--shadow);
}
@media (max-width: 800px) { .share-promo-inner { grid-template-columns: 1fr; } }
.share-promo-icons {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px;
}
.share-promo-icons span {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800; font-size: 13px;
  background: #ffffff; border: 1px solid rgba(167,139,250,0.25); color: #0f172a;
}
.share-promo-card {
  background: #f8fafc; border: 1px solid rgba(167,139,250,0.22);
  border-radius: 16px; padding: 18px 16px;
}
.share-promo-card strong { display: block; margin-bottom: 10px; font-size: 15px; }
.share-steps {
  margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.55;
}
.share-steps li { margin-bottom: 6px; }
.share-steps em { font-style: normal; color: #6d28d9; font-weight: 700; }
.share-steps strong { display: inline; color: #34d399; }
.final-cta-block {
  text-align: center; margin-top: 36px; padding: 28px 18px;
  border-radius: 18px; border: 1px solid rgba(167,139,250,0.25);
  background: linear-gradient(180deg, rgba(124,58,237,0.14), transparent);
}
.style-sell-card .style-art.rage {
  background: linear-gradient(135deg, #7f1d1d, #dc2626 40%, #f97316 75%, #fbbf24);
}

/* Stronger mobile layout */
@media (max-width: 700px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: sticky; top: 0; z-index: 60; margin: 0 0 12px; }
  .nav-links {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    gap: 4px; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-links .btn {
    width: 100%; justify-content: flex-start; min-height: 44px;
    padding: 12px 10px !important;
  }
  .nav-links .user-chip, .nav-links .pill { align-self: flex-start; }
  body { padding-bottom: 72px; }
  .mobile-cta-bar.show-on-marketing { display: block; }
  .topbar-promo { font-size: 11px; gap: 8px; padding: 8px 12px; }
  .topbar-promo .promo-cta { width: 100%; text-align: center; }
  .upgrade-banner { flex-direction: column; align-items: stretch; }
  .upgrade-banner-actions { width: 100%; }
  .upgrade-banner-actions .btn { flex: 1; min-height: 44px; }
  .share-btn { flex: 1 1 calc(50% - 8px); justify-content: center; display: inline-flex; align-items: center; }
  .hero h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .money-strip { max-width: none; }
  .footer { text-align: left; padding-bottom: 24px; }
  .footer-links { gap: 10px 14px; }
  /* Touch-friendly */
  .btn { min-height: 44px; }
  .style-sell-card { min-height: 44px; }
  audio { max-width: 100%; }
}
@media (min-width: 701px) {
  .nav-links { display: flex !important; }
  .nav-toggle { display: none !important; }
  body { padding-bottom: 0; }
}
.proof-score-ring .score-num { color: #34d399; }
.style-art.rage { background: linear-gradient(135deg, #7f1d1d, #dc2626 40%, #f97316 75%, #fbbf24); }

/* Global mobile safety */
@media (max-width: 700px) {
  html, body { overflow-x: hidden; max-width: 100vw; }
  .wrap { width: min(100%, calc(100% - 20px)); padding: 0 10px; box-sizing: border-box; }
  .btn { min-height: 48px; }
  input, select, textarea { font-size: 16px !important; min-height: 48px; }
  .topbar-fancy .topbar-inner { padding: 8px 12px; gap: 8px; }
  .topbar-msg { font-size: 11px; max-width: 100%; }
  .nav { margin: 8px 0 12px; padding: 10px 12px; }
  .auth-grid { grid-template-columns: 1fr !important; gap: 12px !important; margin: 12px auto 32px !important; }
}

@media (max-width: 700px) {
  .price-grid, .price-grid-v2, .pay-grid {
    grid-template-columns: 1fr !important;
  }
  .section { padding: 16px 0; }
  .pricing-hero h2 { font-size: 1.6rem !important; }
  .upgrade-banner {
    flex-direction: column;
    align-items: stretch !important;
  }
  .upgrade-banner-actions .btn { width: 100%; min-height: 48px; }
  .topbar-stat-pill { min-width: 56px; padding: 3px 8px; }
  .topbar-stat-n { font-size: 13px; }
  .footer { gap: 10px; }
}
