@font-face {
  font-family: 'Outfit';
  src: url('/assets/Outfit-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('/assets/Outfit-500.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('/assets/Outfit-600.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('/assets/Outfit-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('/assets/Outfit-800.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050505;
  --fg: #ffffff;
  --surface: #111111;
  --surface-2: #181818;
  --muted: #6b6b6b;
  --muted-2: #a0a0a0;
  --accent: #d9ff47;
  --accent-dim: rgba(217, 255, 71, 0.12);
  --bad: #ff4444;
  --bad-dim: rgba(255, 68, 68, 0.08);
  --good-dim: rgba(217, 255, 71, 0.08);
  --radius-xs: 28px;
  --radius-sm: 38px;
  --radius: 46px;
  --radius-lg: 54px;
  --max: 560px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.4;
  overflow-x: hidden;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

body.locked {
  overflow: hidden;
}

body.screenshot-mode {
  overflow: hidden;
}

body.screenshot-mode nav,
body.screenshot-mode .result-back,
body.screenshot-mode footer {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* Cursor / touch glow */
.glow-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.04), transparent 45%);
}

body::before,
body::after {
  content: '';
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
}

body::before {
  top: -200px;
  left: -150px;
  background: rgba(217, 255, 71, 0.04);
}

body::after {
  bottom: -200px;
  right: -150px;
  background: rgba(255, 255, 255, 0.02);
}

/* â”€â”€â”€ iOS Safari rendering fix â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   iOS Safari renders long pages in GPU "tiles" and deallocates
   off-screen tiles when GPU memory pressure is high. When the
   user scrolls back, those tiles briefly appear BLACK before
   being re-rendered.

   Root cause: every decorative pseudo-element with
   radial-gradient + opacity + position:absolute creates a
   SEPARATE GPU compositing layer. 15+ of these on one page
   exhausts iOS's tile cache â†’ black tiles on scroll.

   Fix: on mobile, kill all purely-decorative gradient overlays.
   They're barely visible (opacity 0.06â€“0.15) and cost massive
   GPU memory. Also remove unnecessary overflow:hidden from
   cards â€” each one forces a new stacking context. â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 768px) {
  /* Kill body blur orbs (already here) */
  body::before, body::after { display: none; }
  .glow-layer { display: none !important; }
  /* Kill backdrop-filter (already here) */
  .nav-inner { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(17,17,17,0.95); }
  .sticky-cta-inner { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(17,17,17,0.95); }

  /* Kill ALL decorative gradient overlays on mobile.
     These are purely cosmetic glow effects (opacity 0.06-0.15)
     that create separate GPU compositing layers on iOS. */
  .upload-card::before,
  .analyzing::before,
  .copy-hero::before,
  .top-scorer-card::before,
  .affiliate-hook::before,
  .percentile::before,
  .haircut-block::before,
  .verdict-block::before,
  .card-preview::before,
  .why-main::before,
  .protocol-intro::before,
  .journey-card.with::before,
  .buy-card::before,
  .final-cta-card::before,
  .origin-story::before,
  .last-close::before,
  .story-frame-bg::before,
  .story-frame-bg::after,
  .deco-glow {
    display: none !important;
  }

  /* Do not force long sections into GPU layers on iOS. A full result
     page layer is exactly what causes black tiles on some iPhones. */
}

.w,
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Page transitions intentionally use opacity ONLY â€” applying transform
   to a long page on iOS Safari triggers a known bug where tiles below
   the viewport are not painted until the user scrolls or taps. The
   fade-only transition is plenty visually and renders correctly. */
.page {
  transition: opacity 0.35s var(--ease);
}

.page.fade-out {
  opacity: 0;
  pointer-events: none;
}

.page.hidden {
  display: none;
}

.page.fade-in {
  opacity: 0;
  animation: pageIn 0.4s var(--ease) 0.05s forwards;
}

@keyframes pageIn {
  to { opacity: 1; }
}

/* NAV */
nav {
  position: relative;
  z-index: 50;
  padding: 0 16px;
  margin-top: 16px;
}

.nav-inner {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: var(--radius);
  padding: 10px 10px 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s var(--ease) infinite;
  box-shadow: 0 0 10px var(--accent);
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
}

.nav-links a {
  padding: 9px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-2);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--bg) !important;
  font-weight: 700;
  padding: 10px 18px !important;
}

.nav-cta:hover {
  background: #e8ff5c !important;
}

@media (max-width: 480px) {
  .nav-links a:not(.nav-cta):not(.nav-mobile) {
    display: none;
  }

  .nav-links a.nav-mobile {
    padding: 9px 11px;
    font-size: 12px;
    font-weight: 600;
    color: var(--fg);
  }

  nav {
    padding: 0 12px;
  }

  .nav-inner {
    padding-left: 18px;
  }
}

/* HERO */
.hero {
  padding: 56px 0 40px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--surface);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 26px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  animation: fadeUp 0.6s var(--ease) 0.05s both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.8s var(--ease) infinite;
  box-shadow: 0 0 8px var(--accent);
}

.hero h1 {
  font-size: clamp(48px, 14vw, 80px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
  animation: fadeUp 0.7s var(--ease) 0.1s both;
}

.hero h1 .italic {
  font-style: italic;
  font-weight: 500;
}

.hero h1 .highlight {
  background: var(--accent);
  color: var(--bg);
  padding: 4px 16px 10px;
  border-radius: var(--radius-xs);
  display: inline-block;
  line-height: 1;
}

.hero-sub {
  font-size: 16px;
  color: var(--muted-2);
  max-width: 320px;
  margin: 0 auto 36px;
  font-weight: 500;
  animation: fadeUp 0.7s var(--ease) 0.15s both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* UPLOAD */
.upload-wrap {
  animation: fadeUp 0.8s var(--ease) 0.2s both;
}

.upload-card {
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: 10px;
  position: relative;
  overflow: hidden;
}

.upload-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.3), transparent 60%);
  pointer-events: none;
}

.upload-inner {
  background: var(--surface);
  color: var(--fg);
  border-radius: var(--radius);
  padding: 44px 24px 36px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
  width: 100%;
  display: block;
  font-family: inherit;
}

.upload-inner:hover {
  background: #151515;
}

.upload-inner:active {
  transform: scale(0.985);
}

.upload-inner.dragover {
  background: #1a1a1a;
}

.upload-face {
  width: 80px;
  height: 80px;
  margin: 0 auto 22px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--bg);
}

.upload-face svg {
  width: 38px;
  height: 38px;
  position: relative;
  z-index: 2;
}

.upload-face::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.3;
  animation: ring 2.5s var(--ease) infinite;
}

@keyframes ring {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }

  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

.upload-inner h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.upload-inner p.upload-hint {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

input[type="file"] {
  display: none;
}

/* Demo button â€” for users who want to see the result without uploading */
.demo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.65);
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.demo-btn:hover,
.demo-btn:focus {
  background: rgba(0, 0, 0, 0.12);
  color: var(--bg);
}

.demo-btn svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 14px 8px;
  color: var(--bg);
}

.gdpr-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.65);
  font-weight: 700;
}

.gdpr-badge svg {
  width: 14px;
  height: 14px;
}

.free-strip {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.free-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-2);
}

.free-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

@media (max-width: 420px) {
  .meta-row {
    padding: 14px 10px 6px;
  }

  .gdpr-badge {
    font-size: 11px;
  }

  .free-strip {
    gap: 14px;
  }

  .free-item {
    font-size: 11px;
  }
}

/* CONSENT SHEET */
.consent-sheet {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 220;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}

.consent-sheet.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.3s var(--ease), visibility 0s;
}

.consent-content {
  background: var(--surface);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 28px 28px 32px;
  width: 100%;
  max-width: 480px;
  text-align: center;
  position: relative;
  transform: translateY(40px);
  transition: transform 0.4s var(--ease);
}

.consent-sheet.active .consent-content {
  transform: translateY(0);
}

@media (min-width: 600px) {
  .consent-sheet {
    align-items: center;
    padding: 20px;
  }

  .consent-content {
    border-radius: var(--radius-lg);
  }
}

.consent-handle {
  width: 40px;
  height: 4px;
  background: var(--surface-2);
  border-radius: var(--radius);
  margin: 0 auto 22px;
}

.consent-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--accent);
}

.consent-icon svg {
  width: 26px;
  height: 26px;
}

.consent-content h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.consent-content p {
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 14px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.consent-content p strong {
  color: var(--fg);
  font-weight: 700;
}

.consent-fine {
  font-size: 11px !important;
  color: var(--muted) !important;
  margin-bottom: 22px !important;
}

.consent-fine a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.consent-cancel {
  margin-top: 12px;
  padding: 10px 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.consent-cancel:hover {
  color: var(--muted-2);
}

@media (max-width: 420px) {
  .consent-content {
    padding: 24px 22px 28px;
  }

  .consent-content h3 {
    font-size: 22px;
  }
}

.analyzing {
  position: fixed;
  inset: 0;
  background: var(--bg);
  color: var(--fg);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}

.analyzing.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition: opacity 0.3s var(--ease);
}

.analyzing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, var(--accent-dim), transparent 60%);
  pointer-events: none;
}

.analyzing-inner {
  width: 100%;
  max-width: 460px;
  padding: 20px 16px 24px;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

/* Brand watermark â€” sits directly above the photo preview inside
   .analyzing-inner, so it's always centered with the image, not floating
   at the very top of the viewport. */
.scan-watermark-inline {
  align-self: center;
  margin: 0 auto 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px 14px 22px;
  background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.scan-watermark-dot {
  width: 11px; height: 11px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--accent);
  animation: pulse 2s var(--ease) infinite;
  flex-shrink: 0;
}
.scan-watermark-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--fg);
}

.analyzing:not(.active) .scan-line,
.analyzing:not(.active) .scan-watermark-dot {
  animation: none;
}

.scan-preview {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 72vh;
  margin: 0 auto 18px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  position: relative;
  overflow: hidden;
  /* Enables container-query units (cqh) for child animations below.
     Without this the scan-line falls back to a static top:0 position. */
  container-type: size;
}

.scan-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  top: 0;
  animation: scanMove 2.2s var(--ease) infinite;
  z-index: 3;
  box-shadow: 0 0 16px var(--accent);
  /* Hint to the browser to put this on its own GPU layer so the
     translateY animation never invalidates layout or repaints. */
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.scan-line::before {
  content: '';
  position: absolute;
  inset: -40px 0;
  background: linear-gradient(to bottom, transparent, rgba(217, 255, 71, 0.22), transparent);
}

/* Animates via transform (GPU-composited, no layout/paint per frame).
   100cqh = 100% of the .scan-preview container's height â€” exact bottom edge. */
@keyframes scanMove {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(0, calc(100cqh - 2px), 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.scan-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(217, 255, 71, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 255, 71, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: 2;
  pointer-events: none;
}

/* Scan tracker â€” animated overlay that gives a sense of "scanning" */
/* Each group lights up briefly in sequence to suggest progressive analysis */
.scan-tracker {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.tracker-outline {
  fill: none;
  stroke: var(--accent);
  stroke-width: 0.8;
  opacity: 0.18;
  stroke-dasharray: 4 6;
  animation: trackerOutlineSpin 8s linear infinite;
}

@keyframes trackerOutlineSpin {
  0% {
    stroke-dashoffset: 0;
    opacity: 0.12;
  }

  50% {
    opacity: 0.28;
  }

  100% {
    stroke-dashoffset: 100;
    opacity: 0.12;
  }
}

/* Solution bridge â€” direct hand-off from deficits to protocol.
 Goal: visually connected to the deficits above (no big gap),
 clear "now fix them" moment, 3 tangible features (1 sentence each),
 direct CTA. User gets what the product is in under 5 seconds. */
.solution-bridge {
  position: relative;
  margin: 10px auto 0;
  padding: 32px 26px 32px;
  max-width: 560px;
  background: linear-gradient(180deg, rgba(217, 255, 71, 0.10) 0%, rgba(217, 255, 71, 0.02) 100%);
  border: 1px solid rgba(217, 255, 71, 0.18);
  border-radius: 44px;
  text-align: center;
  color: var(--fg);
}

.solution-bridge-arrow {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  border: 4px solid var(--bg);
}

.solution-bridge-arrow svg {
  width: 18px;
  height: 18px;
}

.solution-bridge-title {
  font-size: 40px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.solution-bridge-text {
  font-size: 16px;
  margin: 0 0 24px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.5;
}

.solution-bridge-features {
  background: var(--surface);
  border-radius: 22px;
  padding: 20px 18px;
  margin-bottom: 20px;
  text-align: left;
}

.solution-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
}

.solution-feature+.solution-feature {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.solution-feature-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  margin-top: 2px;
}

.solution-feature-icon svg {
  width: 14px;
  height: 14px;
}

.solution-feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--fg);
}

.solution-feature-text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
}

.solution-feature-text span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.protocol-phases {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  text-align: left;
  position: relative;
}

.protocol-phase {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 18px;
}

.protocol-phase:last-child {
  padding-bottom: 0;
}

/* connecting line down the numbers */
.protocol-phase:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(217,255,71,0.15));
  opacity: 0.4;
}

.protocol-phase-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.protocol-phase-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 3px;
}

.protocol-phase-body strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.protocol-phase-body span {
  font-size: 12.5px;
  color: var(--muted-2);
  line-height: 1.45;
}

.vs-block {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0 24px;
  text-align: left;
}

.vs-divider-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  box-shadow: 0 0 0 4px var(--bg);
}

.vs-col {
  border-radius: 16px;
  padding: 18px 16px;
}

.vs-without {
  background: rgba(255, 80, 80, 0.05);
  border: 1px solid rgba(255, 80, 80, 0.12);
}

.vs-with {
  background: rgba(217, 255, 71, 0.06);
  border: 1px solid rgba(217, 255, 71, 0.2);
}

.vs-head {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.vs-without .vs-head { color: #ff8080; }
.vs-with .vs-head { color: var(--accent); }

.vs-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.vs-col li {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--muted-2);
}

.vs-with li { color: var(--fg); }

.vs-x, .vs-check {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.3;
}

.vs-x { color: #ff8080; }
.vs-check { color: var(--accent); }

.solution-bridge-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.solution-bridge-cta .price-anchor {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--fg);
}

.solution-bridge-cta .price-old {
  text-decoration: line-through;
  font-size: 16px;
  font-weight: 600;
  opacity: 0.5;
}

.solution-bridge-cta .price-new {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.solution-bridge-cta .price-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.12);
}

.solution-bridge-cta .btn {
  background: var(--accent);
  color: var(--bg);
  width: 100%;
  max-width: 320px;
}

.solution-bridge-cta .btn:hover {
  background: #e8ff5c;
}

.solution-bridge-meta {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.value-stack {
  width: 100%;
  text-align: left;
  margin: 0 0 24px;
  padding: 18px 20px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
}

.value-stack-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.value-stack-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.value-stack-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.45;
  font-weight: 500;
}

.value-stack-list li strong {
  color: var(--fg);
  font-weight: 700;
}

.value-stack-check {
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.value-anchor-line {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin: -4px 0 4px;
  line-height: 1.45;
}

.value-anchor-line s {
  opacity: 0.55;
}

.trust-honest {
  margin: 40px auto 0;
  max-width: 560px;
  padding: 28px 26px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-honest-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.trust-honest h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.trust-honest > p {
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 18px;
}

.trust-verify-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trust-verify-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.45;
  font-weight: 500;
}

.trust-verify-list li::before {
  content: '→';
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}

.how-it-works {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.how-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.how-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.how-step-body strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 2px;
}

.how-step-body span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
}

/* App preview — single phone, daily-use focus */
.app-preview {
  margin: 36px auto 8px;
  max-width: 480px;
  text-align: center;
  padding: 0 4px;
}

.app-preview-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.app-preview h3 {
  font-size: clamp(24px, 6.5vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 10px;
}

.app-preview-sub {
  font-size: 14px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.app-preview-stage {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.app-preview--prebuy {
  margin: 28px auto 12px;
}
.app-preview--prebuy .app-preview-sub {
  margin-bottom: 20px;
}
.app-preview--prebuy .app-preview-stage {
  margin-bottom: 8px;
}
.app-preview--prebuy h3 {
  font-size: clamp(22px, 5.5vw, 28px);
}

.phone-frame {
  width: 220px;
  aspect-ratio: 9 / 18;
  background: #0a0a0e;
  border-radius: 32px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  position: relative;
  text-align: left;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  z-index: 2;
}

.phone-ui {
  padding: 26px 14px 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-evo-track {
  height: 5px;
  border-radius: 99px;
  background: #2a2d2c;
  overflow: hidden;
  margin: 0 2px;
}

.phone-evo-fill {
  height: 100%;
  width: 12%;
  border-radius: 99px;
  background: #00ff88;
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
}

.phone-ui-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2px;
}

.phone-ui-bar span {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6f7672;
}

.phone-ui-bar strong {
  font-size: 9px;
  font-weight: 800;
  color: #00ff88;
}

.phone-ui-day {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: #00ff88;
  text-align: center;
  text-shadow: 0 0 16px rgba(0, 255, 136, 0.35);
  margin-top: 4px;
}

.phone-ui-total {
  font-size: 18px;
  color: #6f7672;
  font-weight: 600;
}

.phone-ui-day-sub {
  text-align: center;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6f7672;
  margin-top: 2px;
}

.phone-task-meta {
  text-align: center;
  font-size: 8px;
  font-weight: 600;
  color: #6f7672;
  margin-bottom: 2px;
}

.phone-task {
  background: #111116;
  border-radius: 16px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-task.done {
  background: rgba(0, 61, 32, 0.5);
}

.phone-task-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1d1d26;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #001a0d;
}

.phone-task.done .phone-task-check {
  background: #00ff88;
}

.phone-task-title {
  font-size: 10px;
  font-weight: 600;
  color: #f5fff8;
  line-height: 1.25;
}

.phone-task.done .phone-task-title {
  color: #c4cbc7;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.25);
}

.phone-nav {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 10px 4px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-nav span {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6f7672;
}

.phone-nav span.active {
  color: #00ff88;
}

.module-areas {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 28px;
  padding: 18px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  text-align: center;
}

.module-areas-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.module-areas-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 14px;
}

.module-areas-num {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
}

.module-areas-cap {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: left;
  line-height: 1.2;
}

.module-area-chip--red {
  color: #ff8080;
  border-color: rgba(255, 80, 80, 0.25);
  background: rgba(255, 80, 80, 0.06);
}

.module-areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.module-area-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--fg);
}

.module-areas-note {
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.app-value-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.app-value-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 16px 18px;
}

.app-value-card strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}

.app-value-card span {
  font-size: 12px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.45;
}

/* Error modal â€” shown when scan fails */
.scan-error-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.scan-error-modal.active {
  display: flex;
}

.scan-error-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 24px;
  max-width: 380px;
  width: 100%;
  text-align: center;
}

.scan-error-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(255, 87, 87, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff5757;
  font-size: 28px;
}

.scan-error-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--fg);
}

.scan-error-msg {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.scan-error-btn {
  display: block;
  width: 100%;
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 14px;
  border-radius: 46px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}

/* Tracker animations â€” removed, kept for backward-compat but hidden */
.tracker-group {
  display: none;
}

/* Each group lights up at a different point in the cycle.
 6s cycle: each group is "active" for ~1s. */
.tracker-group.hairline {
  animation-delay: 0s;
}

.tracker-group.eyes {
  animation-delay: 1s;
}

.tracker-group.cheek {
  animation-delay: 2s;
}

.tracker-group.nose {
  animation-delay: 3s;
}

.tracker-group.lips {
  animation-delay: 4s;
}

.tracker-group.jawline {
  animation-delay: 5s;
}

@keyframes trackerGroupReveal {

  0%,
  100% {
    opacity: 0;
  }

  3%,
  16% {
    opacity: 1;
  }

  25% {
    opacity: 0;
  }
}

.tracker-point {
  fill: var(--accent);
  stroke: rgba(217, 255, 71, 0.35);
  stroke-width: 0.6;
  filter: drop-shadow(0 0 3px var(--accent));
  animation: trackerPointPulse 1.5s ease-in-out infinite;
}

@keyframes trackerPointPulse {

  0%,
  100% {
    r: 1.5;
  }

  50% {
    r: 2.5;
  }
}

.tracker-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  stroke-linecap: round;
  opacity: 0.7;
}

.tracker-label {
  fill: var(--accent);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Analyzing status â€” just a thin pulsing text below the photo */
.analyzing-status-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.analyzing-status-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulseSoft 1.2s var(--ease) infinite;
  flex-shrink: 0;
}

.analyzing .status {
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 600;
  letter-spacing: 0.01em;
  min-height: 18px;
  transition: opacity 0.2s ease;
  text-align: center;
}

/* CARD VIEWER â€” fullscreen overlay for shared card links */
#cardViewerOverlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.card-viewer-open {
  overflow: hidden !important;
}

body.card-viewer-open #landingPage,
body.card-viewer-open #resultPage,
body.card-viewer-open footer,
body.card-viewer-open .sticky-cta {
  visibility: hidden;
  pointer-events: none;
}

.card-viewer-page {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
}

.card-viewer-page .card-preview {
  border-radius: var(--radius);
}

.card-viewer-inner {
  width: 100%;
  max-width: 480px;
}

/* Surface cards — matches percentile block */
.surface-card {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 14px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}

.surface-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, var(--accent-dim), transparent 70%);
  pointer-events: none;
}

.surface-card-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  position: relative;
}

/* Mog Battle flash */
.battle-flash {
  animation: battle-flash-in 0.45s var(--ease) both;
}

@keyframes battle-flash-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

details.battle-flash {
  text-align: left;
}

details.battle-flash[hidden] {
  display: none !important;
}

.battle-flash-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.battle-flash-summary::-webkit-details-marker {
  display: none;
}

.battle-flash-summary-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

.battle-flash-summary-verdict {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.battle-flash-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted-2);
  border-bottom: 2px solid var(--muted-2);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
  margin-right: 4px;
}

details.battle-flash[open] .battle-flash-chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.battle-flash-body {
  margin-top: 14px;
  text-align: center;
  position: relative;
}

.battle-publish {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.battle-publish .surface-card-label {
  margin-bottom: 10px;
}

.battle-publish .share-consent-row {
  margin-bottom: 10px;
}

.battle-publish-btn {
  min-height: 48px;
  font-size: 14px;
  margin-top: 4px;
}

.battle-publish-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.battle-flash-verdict {
  font-size: clamp(22px, 6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  position: relative;
}

.battle-flash-scores {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.battle-flash-side {
  flex: 1;
  min-width: 0;
}

.battle-flash-num {
  display: block;
  font-size: clamp(36px, 9vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fg);
}

.battle-flash-side.you .battle-flash-num {
  color: var(--accent);
}

.battle-flash-name {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 4px;
}

.battle-flash-vs {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.battle-flash-delta {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  position: relative;
}

.battle-flash-delta.win { color: var(--accent); }
.battle-flash-delta.lose { color: var(--bad, #ff6b6b); }
.battle-flash-delta.tie { color: var(--muted-2); }

.battle-flash-hint {
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted-2);
  font-weight: 500;
  position: relative;
  line-height: 1.4;
}

.battle-face-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.battle-face.has-photo {
  background-image: var(--photo);
}

.battle-board {
  padding: 22px 20px;
  text-align: left;
}

.viewer-challenge-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  position: relative;
}

.viewer-challenge-skip {
  display: block;
  width: 100%;
  margin-top: 15px;
  padding: 10px 14px;
  background: none;
  border: none;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  text-align: center;
}

.viewer-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 24px;
  width: 100%;
  max-width: 420px;
}

.viewer-actions .btn {
  flex: 1;
  min-height: 48px;
  padding: 12px 8px;
  font-size: 12px;
  font-weight: 700;
  gap: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.battle-rank-result {
  margin-top: 12px;
}

.battle-board-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.battle-rank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(0,0,0,0.25);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  position: relative;
}

.battle-rank-host {
  background: rgba(217, 255, 71, 0.06);
  border: 1px solid rgba(217, 255, 71, 0.1);
}

.battle-rank-row.rank-1 {
  background: rgba(217, 255, 71, 0.09);
  border: 1px solid rgba(217, 255, 71, 0.22);
}
.battle-rank-row.rank-2 {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.battle-rank-row.rank-3 {
  background: rgba(255, 180, 80, 0.06);
  border: 1px solid rgba(255, 180, 80, 0.12);
}
.battle-rank-row.rank-1 .battle-rank-pos { color: var(--accent); }
.battle-rank-score-lg {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: var(--fg) !important;
}

.battle-flash.battle-room-join .battle-flash-scores,
.battle-flash.battle-room-join .battle-flash-verdict,
.battle-flash.battle-room-join .battle-flash-delta {
  display: none;
}

.battle-rank-pos {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.battle-rank-face {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface-2);
  background-size: cover;
  background-position: center top;
  flex-shrink: 0;
}

.battle-rank-face.has-photo {
  background-image: var(--photo);
}

.battle-rank-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.battle-rank-name {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.battle-rank-score {
  font-size: 11px;
  color: var(--muted-2);
  font-weight: 600;
}

.battle-rank-badge {
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.battle-rank-badge.won { color: var(--accent); }
.battle-rank-badge.lost { color: var(--muted); }
.battle-rank-badge.tie { color: var(--muted-2); }
.battle-rank-badge.host {
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--accent);
}

/* Inline votekick — lives in the right slot of each challenger row */
.battle-rank-action {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 30px;
  min-height: 26px;
}
.battle-rank-action .battle-rank-badge {
  transition: opacity 0.14s ease, transform 0.14s ease;
}
.battle-rank-vk {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) scale(0.78);
  transform-origin: right center;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  background: rgba(255, 80, 80, 0.14);
  border: 1px solid rgba(255, 80, 80, 0.45);
  color: #ff8080;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity 0.18s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.battle-rank-row.vk-open .battle-rank-badge {
  opacity: 0;
  transform: scale(0.6);
}
.battle-rank-row.vk-open .battle-rank-vk {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  pointer-events: auto;
}
.battle-rank-vk:active { transform: translateY(-50%) scale(0.94); }
.battle-rank-vk.vk-done {
  background: rgba(0, 255, 136, 0.14);
  border-color: rgba(0, 255, 136, 0.45);
  color: #00ff88;
}
.battle-rank-vk.vk-fail {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--muted);
}

.battle-board-empty {
  font-size: 12px;
  color: var(--muted-2);
  text-align: center;
  padding: 8px 0;
  font-weight: 500;
}

/* MOG BATTLE PAGE */
.mb-page-body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.mb-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mb-page {
  flex: 1;
}

.mb-stack {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 0 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mb-stack .surface-card {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.mb-stack .btn.btn-block,
.mb-stack a.btn.btn-block,
.mb-stack .share-create-btn {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.mb-stack .share-link-row {
  width: 100%;
}

.mb-stack .share-copy-btn {
  width: auto;
  flex-shrink: 0;
}

.mb-stack .share-panel {
  margin-top: 0;
  margin-bottom: 0;
}

.mb-stack .battle-board {
  margin-bottom: 0;
  text-align: left;
}

.mb-name-input {
  margin-bottom: 10px;
}

.mb-scan-link {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}

.mb-scan-link a {
  color: var(--muted-2);
  transition: color 0.2s ease;
}

.mb-scan-link a:hover {
  color: var(--accent);
}

.mb-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.mb-create-card {
  margin-top: 20px;
}

.mb-link-result {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.mb-chips span {
  padding: 8px 14px;
  background: var(--surface);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.mb-room-hero {
  padding-bottom: 24px;
}

.mb-room-hero h1 {
  font-size: clamp(32px, 9vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.mb-link-card {
  padding: 20px 18px;
  text-align: left;
}

.mb-link-card .surface-card-label {
  margin-bottom: 10px;
}

.mb-page-body footer {
  margin-top: auto;
}

/* RESULT */
.result-page {
  padding: 20px 0 8px;
}

.result-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--surface);
  color: var(--muted-2);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  transition: background 0.2s ease, color 0.2s ease;
}

.result-back:hover {
  background: var(--surface-2);
  color: var(--fg);
}

.result-back svg {
  width: 14px;
  height: 14px;
}

/* ---------- THANKS PAGE ---------- */
.thanks-page {
  padding: 60px 0 40px;
}

.thanks-head {
  text-align: center;
  margin-bottom: 40px;
}

.thanks-check {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  animation: checkPop 0.6s var(--ease) both;
}

.thanks-check::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.3;
  animation: ring 2.5s var(--ease) infinite;
}

.thanks-check svg {
  width: 38px;
  height: 38px;
  position: relative;
  z-index: 2;
}

@keyframes checkPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  70% {
    transform: scale(1.15);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.thanks-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.thanks-title {
  font-size: clamp(42px, 12vw, 64px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.thanks-title .italic {
  font-style: italic;
  font-weight: 500;
}

/* Copy hero â€” the star of the page */
.copy-hero {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 44px 32px 40px;
  margin-bottom: 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.copy-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 130%;
  height: 180%;
  background: radial-gradient(ellipse at top, var(--accent) 0%, transparent 50%);
  opacity: 0.15;
  pointer-events: none;
}

.copy-hero-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  position: relative;
}

.copy-hero-title {
  font-size: clamp(32px, 9vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-bottom: 10px;
  position: relative;
}

.copy-hero-title .italic {
  font-style: italic;
  font-weight: 500;
}

.copy-hero-sub {
  font-size: 14px;
  color: var(--muted-2);
  font-weight: 500;
  margin-bottom: 28px;
  position: relative;
}

.copy-hero-btn {
  width: 100%;
  max-width: 320px;
  padding: 22px 28px;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.25s ease;
  font-family: inherit;
  border: none;
  position: relative;
  box-shadow: 0 0 40px rgba(217, 255, 71, 0.2);
  text-decoration: none;
}

.copy-hero-btn:active {
  transform: scale(0.97);
}

.copy-hero-btn.copied {
  background: #a0d800;
}

.copy-hero-btn.copied .copy-hero-icon {
  display: none;
}

.copy-hero-btn.copied::before {
  content: '';
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050505' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.copy-hero-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.copy-hero-btn.primary {
  background: var(--accent);
}

.copy-hero-link {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  word-break: break-all;
  font-family: 'Outfit', monospace;
  padding: 0 8px;
  position: relative;
}

/* Open-in-browser instruction block */
.open-instruction {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.open-instruction-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.open-instruction-title {
  font-size: clamp(28px, 8vw, 38px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-bottom: 12px;
}

.open-instruction-title .italic {
  font-style: italic;
  font-weight: 500;
}

.open-instruction-text {
  font-size: 14px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.open-instruction-text strong {
  color: var(--fg);
  font-weight: 700;
}

/* Visual two-step: â‹¯ â†’ Safari */
.open-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: nowrap;
}

.open-visual-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 140px;
}

.open-visual-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.open-visual-icon svg {
  width: 28px;
  height: 28px;
}

.open-visual-caption {
  font-size: 12px;
  color: var(--muted-2);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.open-visual-caption strong {
  color: var(--fg);
  font-weight: 800;
}

.open-visual-arrow {
  width: 28px;
  height: 28px;
  color: var(--accent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}

.open-visual-arrow svg {
  width: 20px;
  height: 20px;
}

.open-instruction-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent-dim);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 12px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.5;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.open-instruction-hint strong {
  color: var(--fg);
  font-weight: 700;
}

.open-instruction-hint svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Backup â€” collapsible, very subtle */
.thanks-backup {
  background: var(--surface);
  border-radius: var(--radius);
  margin-top: 14px;
  overflow: hidden;
}

.thanks-backup summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-2);
  user-select: none;
  transition: color 0.2s ease;
}

.thanks-backup summary::-webkit-details-marker {
  display: none;
}

.thanks-backup summary::marker {
  content: '';
}

.thanks-backup summary:hover {
  color: var(--fg);
}

.thanks-backup summary svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.thanks-backup[open] summary {
  color: var(--fg);
  padding-bottom: 4px;
}

.thanks-backup-body {
  padding: 4px 24px 22px;
}

.thanks-backup-body p {
  font-size: 12px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 12px;
}

.thanks-backup-body p:last-child {
  margin-bottom: 0;
}

.thanks-backup-body p strong {
  color: var(--fg);
  font-weight: 700;
}

.thanks-backup-body p a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.thanks-backup-code {
  background: var(--bg);
  border-radius: var(--radius-xs);
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 10px 0 14px;
  word-break: break-all;
  text-align: center;
  font-family: 'Outfit', monospace;
}

@media (max-width: 420px) {
  .thanks-page {
    padding: 48px 0 32px;
  }

  .thanks-check {
    width: 70px;
    height: 70px;
  }

  .thanks-check svg {
    width: 32px;
    height: 32px;
  }

  .copy-hero {
    padding: 36px 24px 32px;
  }

  .copy-hero-btn {
    font-size: 16px;
    padding: 20px 24px;
  }

  .open-instruction {
    padding: 30px 22px;
  }

  .open-visual-icon {
    width: 54px;
    height: 54px;
  }

  .open-visual-icon svg {
    width: 24px;
    height: 24px;
  }

  .open-visual-caption {
    font-size: 11px;
  }

  .open-visual-arrow svg {
    width: 18px;
    height: 18px;
  }
}

/* Top-scorer affiliate pitch â€” clean, premium, inviting */
.top-scorer-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
}

.top-scorer-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 80%;
  height: 120%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 55%);
  opacity: 0.08;
  pointer-events: none;
}

.top-scorer-card h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 10px 0 8px;
}

.top-scorer-card p {
  color: var(--muted-2);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
}

.top-scorer-card p strong {
  color: var(--accent);
  font-weight: 700;
}

.affiliate-hook {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 32px;
  text-align: left;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.affiliate-hook::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 90%;
  height: 200%;
  background: radial-gradient(ellipse at center, var(--accent) 0%, transparent 55%);
  opacity: 0.12;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.affiliate-hook:hover {
  background: var(--surface-2);
  transform: translateY(-2px);
}

.affiliate-hook:hover::before {
  opacity: 0.18;
}

.affiliate-hook-text {
  flex: 1;
  position: relative;
  min-width: 0;
}

.affiliate-hook-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.affiliate-hook h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--fg);
}

.affiliate-hook h3 .italic {
  font-style: italic;
  font-weight: 500;
}

.affiliate-hook p {
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.4;
}

.affiliate-hook-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
  position: relative;
}

.affiliate-hook:hover .affiliate-hook-arrow {
  transform: translateX(4px);
}

.affiliate-hook-arrow svg {
  width: 20px;
  height: 20px;
}

.affiliate-hook--compact {
  padding: 20px 22px;
  opacity: 0.92;
}
.affiliate-hook--compact .affiliate-hook-label {
  font-size: 9px;
  margin-bottom: 4px;
}
.affiliate-hook--compact h3 {
  font-size: 18px;
  margin-bottom: 4px;
}
.affiliate-hook--compact p {
  font-size: 12px;
}
.affiliate-hook--compact .affiliate-hook-arrow {
  width: 36px;
  height: 36px;
}
.affiliate-hook--compact .affiliate-hook-arrow svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 420px) {
  .affiliate-hook {
    padding: 26px 24px;
    gap: 14px;
  }

  .affiliate-hook--compact {
    padding: 16px 18px;
    gap: 12px;
  }

  .affiliate-hook h3 {
    font-size: 20px;
  }

  .affiliate-hook--compact h3 {
    font-size: 16px;
  }

  .affiliate-hook-arrow {
    width: 42px;
    height: 42px;
  }

  .affiliate-hook-arrow svg {
    width: 18px;
    height: 18px;
  }
}

.offer-timer-inline {
  margin-top: 18px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
  color: var(--bg);
  letter-spacing: -0.005em;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.offer-timer-inline::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--bg);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseSoft 2s var(--ease) infinite;
}

@keyframes pulseSoft {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.offer-timer-inline strong {
  color: var(--bg);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.offer-timer-inline.expired {
  opacity: 0.5;
}

.offer-timer-inline.expired::before {
  animation: none;
  opacity: 0.4;
}

.result-head {
  text-align: center;
  margin-bottom: 28px;
}

.result-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.result-title {
  font-size: clamp(36px, 11vw, 56px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}

.result-title .italic {
  font-style: italic;
  font-weight: 500;
}

.result-title .accent {
  color: var(--accent);
}

.percentile {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}

.percentile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, var(--accent-dim), transparent 70%);
  pointer-events: none;
}

.percentile-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  position: relative;
}

.percentile-value {
  font-size: clamp(36px, 9vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
  position: relative;
  margin-bottom: 4px;
}

.percentile-text {
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 500;
  position: relative;
}

.percentile-text strong {
  color: var(--fg);
  font-weight: 700;
}

.result-block {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px 28px;
  margin-bottom: 14px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.result-block-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--muted);
}

.result-block-label.accent {
  color: var(--accent);
}

.result-block-label.bad {
  color: var(--bad);
}

.result-block h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

/* Haircut block â€” has a subtle lime accent to feel like a "free win" */
.haircut-block {
  position: relative;
  overflow: hidden;
}

.haircut-block::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 80%;
  height: 120%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 55%);
  opacity: 0.06;
  pointer-events: none;
}

.haircut-text {
  font-size: 15px;
  color: var(--fg);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
  margin-top: 10px;
  position: relative;
}

.haircut-text strong {
  color: var(--accent);
  font-weight: 700;
}

.block-disclaimer {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 18px;
}

.verdict-block::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -40%;
  width: 120%;
  height: 140%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 55%);
  opacity: 0.1;
  pointer-events: none;
}

.verdict-block p {
  font-size: 15px;
  color: var(--fg);
  font-weight: 500;
  line-height: 1.55;
  position: relative;
  min-height: 60px;
}

.verdict-block p .accent {
  color: var(--accent);
  font-weight: 700;
}

.empty-state {
  color: var(--muted);
  font-style: italic;
  font-size: 14px;
}

/* Fallback message when AI returns no strengths/deficits */
.result-empty {
  list-style: none !important;
  padding: 18px 20px !important;
  margin: 0 !important;
  background: var(--surface-2);
  border-radius: var(--radius);
  color: var(--muted-2) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.result-empty::before {
  display: none !important;
}

.result-empty strong {
  color: var(--fg);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.result-empty.positive strong {
  color: var(--accent);
}

.point-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 30px;
}

.point-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--muted-2);
  line-height: 1.5;
}

.point-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.point-list.good li::before {
  background: var(--accent);
}

.point-list.bad li::before {
  background: var(--bad);
}

.point-list li strong {
  color: var(--fg);
  font-weight: 700;
}

/* SKELETON LOADING */
.skeleton {
  display: inline-block;
  background: linear-gradient(90deg, var(--surface-2) 0%, #222 50%, var(--surface-2) 100%);
  background-size: 200% 100%;
  border-radius: var(--radius-xs);
  animation: skeleton-pulse 1.4s ease-in-out infinite;
}

@keyframes skeleton-pulse {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.skel-line {
  display: block;
  height: 14px;
  margin-bottom: 10px;
}

.skel-line.short {
  width: 60%;
}

.skel-line.full {
  width: 100%;
}

.skel-line.long {
  width: 85%;
}

.skel-num {
  display: inline-block;
  width: 60%;
  height: 56px;
  border-radius: 12px;
}

.skel-stat {
  display: inline-block;
  width: 32px;
  height: 18px;
  border-radius: 6px;
}

.loading-state .empty-state {
  display: none;
}

.loading-state .skeleton-content {
  display: block;
}

.skeleton-content {
  display: none;
}

/* WHAT WE ANALYZE */
.analyze {
  padding: 80px 0 40px;
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(38px, 11vw, 60px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}

.section-title .italic {
  font-style: italic;
  font-weight: 500;
}

.section-title .accent {
  color: var(--accent);
}

.section-sub {
  font-size: 15px;
  color: var(--muted-2);
  max-width: 340px;
  margin: 0 auto 36px;
  font-weight: 500;
}

.metric-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}

.metric-chip {
  background: var(--surface);
  color: var(--fg);
  padding: 14px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.metric-chip:hover {
  transform: translateY(-3px);
  background: var(--accent);
  color: var(--bg);
}

.metric-chip.highlighted {
  background: var(--accent);
  color: var(--bg);
}

/* HOW */
.how {
  padding: 80px 0 40px;
  text-align: center;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.step {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
  display: flex;
  gap: 20px;
  align-items: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.step:hover {
  transform: translateX(6px);
  background: var(--surface-2);
}

.step-num {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  flex-shrink: 0;
  line-height: 1;
  min-width: 54px;
}

.step-body h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.step-body p {
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.5;
}

/* CARD */
.share {
  padding: 80px 0 40px;
  text-align: center;
}

.card-stage {
  padding: 36px 0 44px;
  display: flex;
  justify-content: center;
}

.card-preview {
  position: relative;
  width: 320px;
  background: var(--surface);
  color: var(--fg);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  text-align: left;
  overflow: hidden;
  transform: rotate(-3deg);
  transition: transform 0.4s var(--ease);
}

.card-preview:hover {
  transform: rotate(0) scale(1.02);
}

.card-preview.upright {
  transform: rotate(0);
}

.card-preview.upright:hover {
  transform: rotate(0) scale(1.02);
}

.card-preview::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 55%);
  opacity: 0.25;
  pointer-events: none;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  position: relative;
}

.card-score {
  font-size: 64px;
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--accent);
}

.card-score-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Percentile indicator â€” small accent line below OVERALL, social proof for viral shares */
.card-percentile {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 8px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Age pill â€” small detail under the score, FIFA-style */
.card-age-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 4px 9px;
  background: var(--accent-dim);
  border-radius: var(--radius);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.card-age-label {
  color: var(--accent);
  text-transform: uppercase;
}

.card-age-value {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-size: 10px;
}

.card-tier {
  background: var(--accent);
  color: var(--bg);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.card-tier.empty {
  background: var(--surface-2);
  color: var(--muted);
}

.card-face {
  width: 100%;
  aspect-ratio: 1.4;
  background: var(--bg);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  background-image:
    linear-gradient(rgba(217, 255, 71, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 255, 71, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  position: relative;
  text-align: center;
  padding: 12px;
}

.card-face.has-photo {
  /* Shorthand resets the lime-grid pattern from the base .card-face rule
     to a single dark fallback + the user photo. Without this, malformed
     data URLs (or huge inputs that the browser refuses to render) leave
     only the fallback color visible â€” that's the "blacked out" you see. */
  background: #050505 var(--photo) center / cover no-repeat;
  /* No mirror. Mirroring is "right" for live front-camera previews but
     wrong for: uploaded files, comic art, screenshots, sharing. We keep
     every saved photo presented as captured. */
}

.card-face.has-photo span {
  display: none;
}

.card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  font-weight: 600;
  position: relative;
  margin-bottom: 16px;
}

.card-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 4px 9px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.card-stat-key {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-stat-val {
  color: var(--fg);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.card-stat-val.empty {
  color: var(--muted);
}

.card-name {
  position: relative;
  padding-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-name::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.card-watermark {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.6;
}

/* Result page card â€” wider than landing preview */
#resultPage .card-preview {
  width: 100%;
  max-width: 420px;
}

#resultPage .card-stage {
  padding: 24px 0 32px;
}

/* Result stack — one width for card-adjacent blocks */
#resultPage .percentile,
#resultPage .surface-card,
#resultPage .share-panel,
#resultPage .mog-battle-intro,
#resultPage .result-cta-stack,
#resultPage .result-actions {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.mog-battle-intro {
  margin-top: 18px;
  margin-bottom: 4px;
  text-align: left;
}
.mog-battle-title {
  font-size: clamp(20px, 5.2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.mog-battle-title .italic {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.mog-battle-sub {
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.45;
  margin: 0 0 8px;
}
.mog-battle-learn {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}
.mog-battle-learn:hover {
  color: #e8ff5c;
}
.mog-battle-form-hint {
  font-size: 12.5px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.45;
  margin: 0 0 14px;
}

.result-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.result-cta-stack .btn {
  min-height: 52px;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 800;
}

.result-cta-stack .btn-protocol {
  font-size: 16px;
  box-shadow: 0 0 28px rgba(217, 255, 71, 0.22);
}

.result-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

.result-actions .btn {
  flex: 1;
  min-height: 48px;
  padding: 12px 8px;
  font-size: 12px;
  font-weight: 700;
  gap: 6px;
}

.result-actions .btn span {
  white-space: nowrap;
}

.result-actions .btn-screenshot {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(217, 255, 71, 0.15);
}

.result-actions .btn-screenshot svg {
  stroke: var(--accent);
}

/* BUTTONS */
.btn {
  padding: 18px 32px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, opacity 0.2s ease;
  background: var(--accent);
  color: var(--bg);
}

.btn:active {
  transform: scale(0.96);
}

.btn-dark {
  background: var(--surface);
  color: var(--fg);
}

.btn-block {
  width: 100%;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* Reveal button â€” non-share-looking, ad-blocker safe */
.reveal-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 14px;
  transition: transform 0.15s ease;
  font-family: inherit;
  text-align: left;
}

.reveal-btn:active {
  transform: scale(0.98);
}

.reveal-btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reveal-btn-icon svg {
  width: 20px;
  height: 20px;
}

.reveal-btn-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.reveal-btn-text strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.reveal-btn-text small {
  font-size: 11px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.55);
  letter-spacing: 0.02em;
}

.reveal-btn-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}

.reveal-btn:hover .reveal-btn-arrow {
  transform: translateX(3px);
}

.reveal-btn-arrow svg {
  width: 14px;
  height: 14px;
}

/* WHY US */
.why {
  padding: 80px 0 40px;
}

.why-head {
  text-align: center;
  margin-bottom: 40px;
}

.why-main {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}

.why-main::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 160%;
  background: radial-gradient(ellipse at top, var(--accent) 0%, transparent 50%);
  opacity: 0.15;
  pointer-events: none;
}

.why-main-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--bg);
  padding: 6px 12px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  position: relative;
}

.why-main h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 12px;
  position: relative;
}

.why-main h3 .italic {
  font-style: italic;
  font-weight: 500;
}

.why-main p {
  font-size: 14px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.55;
  max-width: 340px;
  margin: 0 auto;
  position: relative;
}

.why-main p strong {
  color: var(--fg);
  font-weight: 700;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.why-card {
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.why-card.other {
  background: var(--bad-dim);
}

.why-card.us {
  background: var(--good-dim);
}

.why-card-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.why-card.other .why-card-label {
  color: var(--bad);
}

.why-card.us .why-card-label {
  color: var(--accent);
}

.why-card h4 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.why-card.other h4 {
  color: var(--muted-2);
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.why-list li {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.why-card.other .why-list li {
  color: var(--muted-2);
}

.why-card.us .why-list li {
  color: var(--fg);
}

.why-list li::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px;
}

.why-card.other .why-list li::before {
  background-color: rgba(255, 68, 68, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4444' stroke-width='3.5' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

.why-card.us .why-list li::before {
  background-color: rgba(217, 255, 71, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9ff47' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* SALES */
/* Generous vertical padding â€” the funnel was previously cramped, which
   made every section compete for attention. Extra breathing room lets
   each section land before the next one starts pulling. */
.sales-section {
  padding: 64px 0 32px;
}

.sales-section.first {
  padding-top: 24px;
}

/* The buy-card section gets even more space because it's the decision
   moment â€” give the user room to actually read it. */
.sales-section .buy-card {
  margin-top: 8px;
}


/* Bridge */
.protocol-bridge {
  text-align: center;
  padding: 8px 0 20px;
  position: relative;
}

.protocol-bridge::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  opacity: 0.4;
}

.protocol-bridge-text {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-2);
  max-width: 280px;
  line-height: 1.5;
  margin-top: 18px;
}

.protocol-bridge-text strong {
  color: var(--accent);
  font-weight: 800;
}

/* The reframe â€” motivational beat before protocol pitch */
.bridge-reframe {
  text-align: center;
  margin-bottom: 16px;
  position: relative;
}

.bridge-reframe-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 6px 14px;
  border-radius: var(--radius);
  margin-bottom: 14px;
}

.bridge-reframe-text {
  font-size: clamp(28px, 8vw, 42px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--bg);
  position: relative;
}

.bridge-reframe-text .italic {
  font-style: italic;
  font-weight: 500;
}

.bridge-reframe-text .strike {
  position: relative;
  display: inline-block;
  opacity: 0.55;
}

.bridge-reframe-text .strike::after {
  content: '';
  position: absolute;
  left: -4%;
  right: -4%;
  top: 52%;
  height: 4px;
  background: var(--bg);
  border-radius: 4px;
  transform: rotate(-3deg);
}

.bridge-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.15);
  margin: 14px auto 14px;
  max-width: 120px;
}

.protocol-intro {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.protocol-intro::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 130%;
  height: 180%;
  background: radial-gradient(ellipse at top, var(--accent) 0%, transparent 50%);
  opacity: 0.18;
  pointer-events: none;
}

.protocol-intro-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--bg);
  padding: 6px 14px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
}

.protocol-intro h2 {
  font-size: clamp(34px, 9vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 14px;
  position: relative;
}

.protocol-intro h2 .italic {
  font-style: italic;
  font-weight: 500;
}

.protocol-intro p {
  font-size: 15px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.55;
  max-width: 360px;
  margin: 0 auto 24px;
  position: relative;
}

.protocol-intro p strong {
  color: var(--fg);
  font-weight: 700;
}

.protocol-intro .price-anchor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
  margin-top: 4px;
  padding: 18px 24px;
  background: var(--bg);
  border-radius: var(--radius);
  position: relative;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.protocol-intro .price-old {
  font-size: 16px;
  color: var(--muted);
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--bad);
}

.protocol-intro .price-new {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.protocol-intro .price-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.08);
}

.protocol-intro .btn {
  position: relative;
}

/* Two paths */
.journey {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 40px;
}

.journey-card {
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.journey-card.without {
  background: var(--bad-dim);
}

.journey-card.with {
  background: var(--good-dim);
}

.journey-card.with::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -40%;
  width: 130%;
  height: 140%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 55%);
  opacity: 0.15;
  pointer-events: none;
}

.journey-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
  position: relative;
}

.journey-card.without .journey-label {
  color: var(--bad);
}

.journey-card.with .journey-label {
  color: var(--accent);
}

.journey-card h4 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  position: relative;
}

.journey-card.without h4 {
  color: var(--muted-2);
}

.journey-card.with h4 {
  color: var(--fg);
}

.journey-timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.journey-timeline li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.journey-card.without .journey-timeline li {
  color: var(--muted-2);
}

.journey-card.with .journey-timeline li {
  color: var(--fg);
}

.journey-bullet {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 8px;
}

.journey-card.without .journey-bullet {
  background: var(--bad);
}

.journey-card.with .journey-bullet {
  background: var(--accent);
}

.soft-cta-wrap {
  text-align: center;
  margin-top: 32px;
}

.soft-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 24px;
  background: var(--surface);
  color: var(--fg);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease;
}

.soft-cta:hover {
  background: var(--surface-2);
}

.soft-cta svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

@media (max-width: 540px) {
  .journey {
    grid-template-columns: 1fr;
  }
}

/* Inside */
.inside-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
}

.inside-item {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px 26px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  text-align: left;
}

.inside-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.inside-icon svg {
  width: 22px;
  height: 22px;
}

.inside-text h4 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.inside-text p {
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.5;
}

.not-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.not-card-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.not-card h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.not-card h3 .italic {
  font-style: italic;
  font-weight: 500;
}

.not-card p {
  font-size: 14px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 12px;
}

.not-card p:last-child {
  margin-bottom: 0;
}

.not-card p strong {
  color: var(--fg);
  font-weight: 700;
}

/* Buy card */
.buy-card {
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.buy-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.3), transparent 60%);
  pointer-events: none;
}

.buy-card .small-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 14px;
  position: relative;
}

.buy-card h2 {
  font-size: clamp(36px, 10vw, 52px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin-bottom: 16px;
  position: relative;
}

.buy-card h2 .italic {
  font-style: italic;
  font-weight: 500;
}

.buy-card .price-row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  position: relative;
}

.buy-card .price-old {
  font-size: 20px;
  color: rgba(0, 0, 0, 0.4);
  text-decoration: line-through;
  font-weight: 700;
}

.buy-card .price-new {
  font-size: 44px;
  font-weight: 800;
  color: var(--bg);
  letter-spacing: -0.04em;
  line-height: 1;
}

.buy-card .price-line {
  font-size: 13px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.65);
  margin-bottom: 24px;
  position: relative;
}

.buy-card .btn {
  background: var(--bg);
  color: var(--fg);
  position: relative;
  width: 100%;
  max-width: 320px;
}

.buy-card .price-tiny {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.55);
  position: relative;
}

/* FAQ */
.faq {
  padding: 80px 0 40px;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

details.faq-item {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background 0.25s var(--ease);
  touch-action: pan-y;
}

details.faq-item[open] {
  background: var(--surface-2);
}

.faq-q {
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  gap: 16px;
  width: 100%;
  text-align: left;
  font-family: inherit;
  list-style: none;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.3s var(--ease);
  color: var(--muted-2);
}

details.faq-item[open] .faq-toggle {
  background: var(--accent);
  color: var(--bg);
  transform: rotate(45deg);
}

.faq-toggle svg {
  width: 12px;
  height: 12px;
}

details.faq-item .faq-a {
  padding: 0 26px 22px;
}

details.faq-item[open] .faq-q {
  padding-bottom: 6px;
}

.faq-a p {
  padding: 0;
  font-size: 15px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.55;
}

.faq-a a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Final CTA */
.final-cta {
  padding: 60px 0 40px;
}

.final-cta-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 60px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-card::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 200%;
  background: radial-gradient(ellipse at bottom, var(--accent) 0%, transparent 45%);
  opacity: 0.15;
  pointer-events: none;
}

.final-cta-card h2 {
  font-size: clamp(40px, 12vw, 64px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
  position: relative;
}

.final-cta-card .italic {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.final-cta-card p {
  font-size: 15px;
  color: var(--muted-2);
  margin-bottom: 32px;
  font-weight: 500;
  position: relative;
}

.final-cta-card .btn {
  position: relative;
}

/* Partner invite â€” subtle, pre-footer */
.partner-invite {
  padding: 20px 0 40px;
}

.partner-invite-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 26px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  text-decoration: none;
  color: var(--fg);
}

.partner-invite-card:hover {
  background: var(--surface-2);
  transform: translateX(4px);
}

.partner-invite-left {
  flex: 1;
  min-width: 0;
}

.partner-invite-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.partner-invite-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-2);
  line-height: 1.4;
}

.partner-invite-text strong {
  color: var(--fg);
  font-weight: 800;
}

.partner-invite-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.partner-invite-card:hover .partner-invite-arrow {
  background: var(--accent);
  color: var(--bg);
}

.partner-invite-arrow svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 420px) {
  .partner-invite-card {
    padding: 18px 22px;
  }

  .partner-invite-text {
    font-size: 13px;
  }

  .partner-invite-arrow {
    width: 34px;
    height: 34px;
  }
}

/* FOOTER */
footer {
  padding: 24px 0 40px;
}

footer .w {
  padding-top: 36px;
  position: relative;
}

footer .w::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.footer-brand {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.footer-links a {
  padding: 8px 14px;
  background: var(--surface);
  color: var(--muted-2);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
  background: var(--accent);
  color: var(--bg);
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 16px;
}

/* Footer link for returning users â€” direct to checkout, skip scan */
.footer-returning {
  margin-bottom: 24px;
  text-align: center;
}

.footer-returning-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--surface);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-2);
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.footer-returning-link:hover {
  background: var(--surface-2);
  color: var(--fg);
}

.footer-returning-link strong {
  color: var(--accent);
  font-weight: 800;
}

.footer-returning-link svg {
  width: 13px;
  height: 13px;
  color: var(--accent);
  flex-shrink: 0;
}

/* CHECKOUT SHEET */
.checkout-sheet {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}

.checkout-sheet.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.3s var(--ease), visibility 0s;
}

.checkout-content {
  background: var(--surface);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 28px 24px 32px;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  max-height: 92svh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  position: relative;
  transform: translateY(40px);
  transition: transform 0.4s var(--ease);
}

.checkout-sheet.active .checkout-content {
  transform: translateY(0);
}

@media (max-width: 599px) {
  .checkout-sheet {
    align-items: stretch;
    padding: 0;
  }

  .checkout-content {
    max-width: none;
    width: 100%;
    min-height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 20px calc(24px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
  }

  .checkout-sheet.active .checkout-content {
    transform: translateY(0);
  }

  .checkout-handle {
    margin-bottom: 14px;
  }
}

@media (min-width: 600px) {
  .checkout-sheet {
    align-items: center;
  }

  .checkout-content {
    border-radius: var(--radius-lg);
    margin: 20px;
  }
}

.checkout-handle {
  width: 40px;
  height: 4px;
  background: var(--surface-2);
  border-radius: var(--radius);
  margin: 0 auto 20px;
}

.checkout-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted-2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.checkout-close:hover {
  color: var(--fg);
}

.checkout-close svg {
  width: 14px;
  height: 14px;
}

.checkout-header {
  text-align: center;
  margin-bottom: 24px;
  padding: 0 16px;
}

.checkout-header .label {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.checkout-header h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.checkout-header p {
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 500;
}

.whop-frame-wrap {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 520px;
  position: relative;
}

.whop-frame-wrap iframe {
  width: 100%;
  height: 520px;
  border: none;
  display: block;
}

.whop-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  pointer-events: none;
}

.whop-loading-spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--surface-2);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}

.whop-loading p {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.whop-loading.hidden {
  display: none;
}

/* SHARE MODAL */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
  padding: 0;
}

.modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.3s var(--ease), visibility 0s;
}

.modal-content {
  background: var(--surface);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 28px 24px 36px;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  max-height: 92svh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  transform: translateY(40px);
  transition: transform 0.4s var(--ease);
}

.modal.active .modal-content {
  transform: translateY(0);
}

@media (max-width: 599px) {
  .modal {
    align-items: stretch;
    padding: 0;
  }

  .modal-content {
    max-width: none;
    min-height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 20px calc(28px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
  }

  .modal.active .modal-content {
    transform: translateY(0);
  }
}

@media (min-width: 600px) {
  .modal {
    align-items: center;
    padding: 20px;
  }

  .modal-content {
    border-radius: var(--radius-lg);
  }
}

.modal-handle {
  width: 40px;
  height: 4px;
  background: var(--surface-2);
  border-radius: var(--radius);
  margin: 0 auto 20px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted-2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.modal-close:hover {
  color: var(--fg);
}

.modal-close svg {
  width: 14px;
  height: 14px;
}

.modal-head {
  text-align: center;
  margin-bottom: 24px;
  padding: 0 16px;
}

.modal-head .label {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.modal-head h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.modal-head p {
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.5;
  max-width: 360px;
  margin: 0 auto;
}

.share-section {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 22px 22px;
  margin-bottom: 12px;
}

.share-section-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.link-row {
  display: flex;
  gap: 8px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 6px 6px 6px 18px;
  align-items: center;
}

.link-row input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 500;
  min-width: 0;
  padding: 10px 0;
}

.link-row button {
  padding: 12px 18px;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 13px;
  transition: transform 0.15s ease;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-row button:active {
  transform: scale(0.96);
}

.link-row button.copied {
  background: #a0d800;
}

.link-row button svg {
  width: 13px;
  height: 13px;
}

.native-share-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.native-share-grid.four-col {
  grid-template-columns: repeat(4, 1fr);
}

.native-share-btn {
  background: var(--bg);
  border-radius: var(--radius-xs);
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: background 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.native-share-btn:hover {
  background: #1a1a1a;
}

.native-share-btn svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.native-share-btn span {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted-2);
}

/* Share preview â€” shows the actual card the user will share */
.share-preview-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius);
}

.share-preview-hint {
  margin: 12px 0 0;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  opacity: 0.7;
  letter-spacing: 0.02em;
}

.share-preview-card {
  width: 100%;
  max-width: 240px;
  pointer-events: none;
}

.share-preview-card .card-preview {
  transform: none;
  width: 100%;
  padding: 18px 18px 14px;
}

.share-preview-card .card-preview .card-score {
  font-size: 56px;
}

.share-preview-card .card-preview .card-face {
  height: 130px;
}

.share-preview-card .card-preview .card-stats {
  gap: 6px 8px;
}

.share-preview-card .card-preview .card-stat-val {
  font-size: 13px;
}

.share-preview-card .card-preview .card-stat-key {
  font-size: 8px;
}

/* Edit options row â€” Name and Photo buttons side by side */
.share-edit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.share-edit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-2);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.share-edit-btn:hover {
  background: #1a1a1a;
  color: var(--fg);
}

.share-edit-btn svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Inline edit panels for name and photo */
.share-edit-inline {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.share-edit-done {
  align-self: flex-end;
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.share-edit-done:hover {
  transform: translateY(-1px);
}

/* Compact photo upload for inline edit */
.photo-upload.compact {
  padding: 16px 18px;
}

.photo-upload.compact h4 {
  font-size: 14px;
}

.photo-upload.compact p {
  font-size: 11px;
}

/* Lazy-save loading overlay */
.share-save-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.photo-upload {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 22px 22px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.photo-upload:hover {
  background: #0d0d0d;
}

.photo-upload-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: 0 auto 10px;
}

.photo-upload-icon svg {
  width: 20px;
  height: 20px;
}

.photo-upload h4 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.photo-upload p {
  font-size: 12px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.4;
}

.photo-upload-preview {
  display: none;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 10px;
  background-size: cover;
  background-position: center;
  transform: scaleX(-1);
}

.photo-upload.has-photo .photo-upload-icon {
  display: none;
}

.photo-upload.has-photo .photo-upload-preview {
  display: block;
}

.photo-warning {
  margin-top: 10px;
  padding: 12px 16px;
  background: rgba(255, 68, 68, 0.08);
  border-radius: var(--radius);
  font-size: 11px;
  color: var(--muted-2);
  line-height: 1.5;
  text-align: left;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.photo-warning svg {
  width: 14px;
  height: 14px;
  color: var(--bad);
  flex-shrink: 0;
  margin-top: 1px;
}

.photo-warning strong {
  color: var(--fg);
  font-weight: 700;
}

.name-input {
  width: 100%;
  background: var(--bg);
  border: none;
  outline: none;
  padding: 16px 22px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.name-input::placeholder {
  color: var(--muted);
  font-weight: 500;
}

.generate-btn-wrap {
  margin-top: 16px;
}

/* Share panel — matches percentile / surface-card */
.share-panel {
  margin-top: 12px;
  margin-bottom: 24px;
  text-align: left;
  animation: fadeIn 0.3s var(--ease);
  touch-action: pan-y;
  padding: 24px 22px;
}

.share-field {
  display: block;
  margin-bottom: 16px;
  position: relative;
}

.share-field-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.share-field-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: none;
  border-radius: 12px;
  color: var(--fg);
  font-size: 15px;
  font-family: inherit;
  font-weight: 600;
  outline: none;
  box-sizing: border-box;
}

.share-photo-btns {
  display: flex;
  gap: 10px;
}

.share-photo-btn {
  flex: 1;
  min-height: 44px;
  padding: 12px 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.share-photo-btn.active {
  background: var(--accent-dim) !important;
  color: var(--accent) !important;
}

.share-field-hint {
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 8px;
  font-weight: 500;
}

.share-panel .share-consent-row {
  padding: 14px 16px;
  margin-bottom: 12px;
}

.share-panel .share-consent-text {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--muted-2);
}

.share-panel .share-consent-text a {
  color: var(--accent);
  font-weight: 700;
}

.share-panel .share-consent-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.share-battle-note {
  font-size: 12px;
  color: var(--bad, #ff6b6b);
  margin: -4px 0 14px;
  font-weight: 600;
  line-height: 1.4;
}

.share-create-btn {
  min-height: 50px;
  font-size: 15px;
  margin-top: 4px;
}

.share-affiliate-fold {
  margin-bottom: 14px;
  position: relative;
}

.share-affiliate-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.share-affiliate-toggle svg {
  opacity: 0.4;
  transition: transform 200ms;
}

.share-affiliate-toggle.open {
  color: var(--accent);
}

.share-affiliate-drop {
  margin-top: 8px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: 12px;
}

.share-affiliate-note {
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.5;
  margin: 0 0 10px;
  font-weight: 500;
}

.share-affiliate-note a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.share-link-result {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.share-link-result .surface-card-label {
  margin-bottom: 10px;
}

.share-link-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.share-link-input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  background: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--fg);
  font-size: 13px;
  font-family: inherit;
  font-weight: 600;
  min-height: 50px;
  box-sizing: border-box;
}

.share-copy-btn {
  flex-shrink: 0;
  min-height: 50px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 800;
  border-radius: var(--radius-sm);
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.share-affiliate-tips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.share-tip {
  margin: 0;
  padding: 12px 14px;
  background: rgba(217, 255, 71, 0.06);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.45;
  font-weight: 500;
}

.share-tip strong {
  color: var(--fg);
  font-weight: 700;
}

.share-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  touch-action: pan-y;
}

/* Desktop only: wheel-scroll through checkbox padding areas */
@media (hover: hover) and (pointer: fine) {
  .share-consent-row {
    pointer-events: none;
  }

  .share-consent-row input[type="checkbox"],
  .share-consent-row label.share-consent-text,
  .share-consent-row .share-consent-text a {
    pointer-events: auto;
  }
}

.share-consent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.share-consent-text {
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.5;
  font-weight: 500;
  flex: 1;
  cursor: pointer;
}

.share-consent-text a {
  color: var(--accent);
  text-decoration: underline;
}

.modal-loading {
  text-align: center;
  padding: 20px;
}

.modal-loading-spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid var(--surface-2);
  border-top-color: var(--accent);
  margin: 0 auto 12px;
  animation: spin 0.8s linear infinite;
}

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

.modal-loading p {
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 500;
}

/* SCREENSHOT MODE â€” fullscreen card view */
.screenshot-stage {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.screenshot-stage.active {
  display: flex;
  opacity: 1;
}

.screenshot-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--accent-dim), transparent 70%);
  pointer-events: none;
}

.screenshot-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.screenshot-close svg {
  width: 16px;
  height: 16px;
}

.screenshot-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  color: var(--muted-2);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  z-index: 2;
  max-width: 90%;
}

.screenshot-card-wrap {
  position: relative;
  z-index: 2;
}

/* Loss aversion â€” emotional beat before buy card */
.loss-aversion-section {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.loss-aversion {
  text-align: center;
  padding: 28px 24px;
  position: relative;
}

.loss-aversion-text {
  font-size: clamp(22px, 6.5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 22px;
}

.loss-aversion-text .italic {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.loss-aversion-text strong {
  font-weight: 800;
  color: var(--accent);
}

.loss-aversion-line {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 22px;
  opacity: 0.4;
}

.loss-aversion-sub {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-2);
  line-height: 1.55;
  max-width: 420px;
  margin: 0 auto;
}

@media (max-width: 420px) {
  .loss-aversion {
    padding: 28px 18px;
  }
}

/* Roadmap â€” concrete first month outline */
.roadmap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 540px;
  margin: 0 auto;
}

.roadmap-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px 26px;
}

.roadmap-day {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 8px 12px;
  border-radius: var(--radius);
  flex-shrink: 0;
  line-height: 1;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 2px;
}

.roadmap-body {
  flex: 1;
  min-width: 0;
}

.roadmap-body strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}

.roadmap-body span {
  display: block;
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.55;
}

.roadmap-disclaimer {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 18px;
  font-style: italic;
  font-weight: 500;
}

@media (max-width: 480px) {
  .roadmap-row {
    padding: 18px 20px;
    gap: 12px;
    flex-direction: column;
  }

  .roadmap-day {
    font-size: 10px;
    padding: 6px 10px;
  }
}

/* Origin story â€” authority block, no reviews */
.origin-story {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.origin-story::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 100%;
  height: 150%;
  background: radial-gradient(ellipse at top right, var(--accent) 0%, transparent 60%);
  opacity: 0.06;
  pointer-events: none;
}

.origin-quote-mark {
  font-size: 80px;
  font-weight: 800;
  color: var(--accent);
  line-height: 0.7;
  margin-bottom: -8px;
  font-family: serif;
  opacity: 0.6;
  position: relative;
}

.origin-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--fg);
  line-height: 1.55;
  letter-spacing: -0.01em;
  position: relative;
}

.origin-text strong {
  font-weight: 700;
  color: var(--fg);
}

.origin-signature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-2);
  letter-spacing: 0.02em;
  position: relative;
}

.origin-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

@media (max-width: 420px) {
  .origin-story {
    padding: 30px 24px 28px;
  }

  .origin-quote-mark {
    font-size: 64px;
  }

  .origin-text {
    font-size: 15px;
  }
}

/* Inline promo â€” quiet, single-line "tap to copy" pill that sits under
   a CTA. No dashed border, no "20% OFF LIMITED TIME" shouting â€” just a
   subtle line that mentions the code without screaming sale. */
.promo-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px auto 0;
  padding: 9px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-2);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  letter-spacing: 0;
}
.promo-inline:hover {
  border-color: rgba(217, 255, 71, 0.35);
  color: var(--fg);
}
.promo-inline:active { transform: scale(0.98); }
.promo-inline-code {
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.promo-inline.copied {
  border-color: var(--accent);
  color: var(--fg);
}
.promo-inline.copied .promo-inline-code { color: var(--accent); }

/* Two-state content: idle text vs "copied" confirmation. CSS swaps visibility
   based on the .copied class â€” avoids mid-sentence "Copied!" rewrite. */
.promo-inline-status { display: none; font-weight: 700; color: var(--accent); }
.promo-inline.copied .promo-inline-text { display: none; }
.promo-inline.copied .promo-inline-status { display: inline; }

/* Variant for placement INSIDE the yellow buy-card (dark text on accent bg) */
.buy-card .promo-inline {
  border-color: rgba(0, 0, 0, 0.18);
  color: rgba(0, 0, 0, 0.65);
}
.buy-card .promo-inline:hover {
  border-color: rgba(0, 0, 0, 0.4);
  color: rgba(0, 0, 0, 0.95);
}
.buy-card .promo-inline-code { color: rgba(0, 0, 0, 0.95); }
.buy-card .promo-inline.copied { border-color: rgba(0, 0, 0, 0.6); }
.buy-card .promo-inline.copied .promo-inline-code { color: rgba(0, 0, 0, 1); }
.buy-card .promo-inline-status { color: rgba(0, 0, 0, 0.95); }

/* Launch pricing pill â€” static banner, no fake urgency */
.launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 14px auto 0;
  padding: 10px 18px 10px 10px;
  background: var(--surface);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.launch-pill-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 5px 10px;
  border-radius: var(--radius);
  text-transform: uppercase;
  white-space: nowrap;
}

.launch-pill-text {
  color: var(--muted-2);
  font-weight: 600;
  white-space: nowrap;
}

.container>.launch-pill,
.protocol-intro+.launch-pill,
.buy-card+.launch-pill {
  display: flex;
  justify-content: center;
}

@media (max-width: 420px) {
  .launch-pill {
    padding: 8px 14px 8px 8px;
    font-size: 11px;
    gap: 10px;
  }

  .launch-pill-label {
    font-size: 9px;
    padding: 4px 8px;
  }
}

/* Sticky mini-CTA â€” appears after user scrolls past buy card on result page only */
.sticky-cta {
  position: fixed;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(160%);
  width: calc(100% - 28px);
  max-width: 440px;
  background: rgba(14, 14, 14, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(217, 255, 71, 0.14);
  border-radius: 20px;
  padding: 10px 10px 10px 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 90;
  transition: transform 0.45s var(--ease), opacity 0.3s ease;
  pointer-events: none;
  opacity: 0;
}

.sticky-cta.visible {
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
  opacity: 1;
}

.sticky-cta-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.sticky-cta-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1;
  flex-shrink: 0;
}

.sticky-cta-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-2);
  line-height: 1.2;
  white-space: nowrap;
}

.sticky-cta-label strong {
  color: var(--accent);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.sticky-cta-old {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 2px;
}

.sticky-cta-launch {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(217, 255, 71, 0.1);
  padding: 2px 7px;
  border-radius: 99px;
  margin-bottom: 1px;
}

.sticky-cta-btn {
  padding: 14px 20px;
  min-height: 48px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  letter-spacing: -0.01em;
  box-shadow: 0 0 24px rgba(217, 255, 71, 0.3);
}

.sticky-cta-btn:active {
  transform: scale(0.96);
}

.sticky-cta-btn svg {
  width: 14px;
  height: 14px;
}

.sticky-cta.hidden-mode {
  display: none !important;
}

@media (max-width: 420px) {
  .sticky-cta {
    padding: 8px 8px 8px 16px;
    gap: 10px;
  }

  .sticky-cta-price {
    font-size: 16px;
  }

  .sticky-cta-old {
    font-size: 12px;
  }

  .sticky-cta-label {
    font-size: 10px;
  }

  .sticky-cta-btn {
    padding: 12px 18px;
    font-size: 13px;
  }
}

/* Trust box â€” humans not bots, under buy card */
.trust-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-top: 14px;
}

.trust-box-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-box-icon svg {
  width: 20px;
  height: 20px;
}

.trust-box-text {
  flex: 1;
  min-width: 0;
}

.trust-box-text strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.trust-box-text span {
  display: block;
  font-size: 12px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.55;
}

/* Last-chance close before affiliate hook */
.last-close-section {
  padding-top: 0 !important;
}

.last-close {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 44px 32px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.last-close::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 180%;
  background: radial-gradient(ellipse at top, var(--accent) 0%, transparent 55%);
  opacity: 0.08;
  pointer-events: none;
}

.last-close-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 6px 14px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  position: relative;
}

.last-close h2 {
  font-size: clamp(32px, 9vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-bottom: 14px;
  position: relative;
}

.last-close h2 .italic {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.last-close p {
  font-size: 14px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 26px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.last-close .btn {
  position: relative;
}

.last-close-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  position: relative;
}

.last-close-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-2);
  letter-spacing: 0.01em;
}

.last-close-meta svg {
  width: 12px;
  height: 12px;
  color: var(--accent);
  flex-shrink: 0;
}

@media (max-width: 420px) {
  .last-close {
    padding: 36px 24px 30px;
  }

  .last-close-meta {
    gap: 12px;
  }

  .last-close-meta span {
    font-size: 10px;
  }
}

.story-stage {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 250;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.story-stage.active {
  display: flex;
}

.story-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border: none;
  cursor: pointer;
}

.story-close svg {
  width: 18px;
  height: 18px;
}

/* The story frame â€” 9:16 aspect ratio, emulates instagram story dimensions */
.story-frame {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  background: linear-gradient(155deg, #0a0a0a 0%, #0f1208 60%, #050505 100%);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 80px rgba(217, 255, 71, 0.15);
}

.story-frame-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.story-frame-bg::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -30%;
  width: 140%;
  height: 60%;
  background: radial-gradient(ellipse at top right, var(--accent) 0%, transparent 55%);
  opacity: 0.22;
}

.story-frame-bg::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -30%;
  width: 120%;
  height: 40%;
  background: radial-gradient(ellipse at bottom left, var(--accent) 0%, transparent 55%);
  opacity: 0.12;
}

/* Top brand */
.story-frame-top {
  position: relative;
  z-index: 2;
  padding: 28px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.story-brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 8px;
}

.story-brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.story-brand-url {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Card container in center */
.story-frame-card {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 28px;
}

.story-frame-card .card-preview {
  width: 100%;
  max-width: 280px;
  transform: none;
}

/* Scale down the FIFA card specifically for the story frame so it fits */
.story-frame-card .card-preview {
  padding: 22px 22px 20px;
}

.story-frame-card .card-preview .card-score {
  font-size: 72px;
}

.story-frame-card .card-preview .card-face {
  height: 160px;
}

/* Bottom CTA */
.story-frame-bottom {
  position: relative;
  z-index: 2;
  padding: 0 28px 34px;
  text-align: center;
}

.story-cta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.story-cta-url {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 0 24px rgba(217, 255, 71, 0.35);
}

.story-cta-hint {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-2);
  letter-spacing: 0.01em;
}

/* Screenshot hint outside the frame */
.story-hint {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  color: var(--muted-2);
  padding: 12px 22px;
  border-radius: var(--radius);
  text-align: center;
  z-index: 10;
  max-width: 90%;
}

.story-hint-row {
  font-size: 12px;
  font-weight: 700;
  color: var(--fg);
}

.story-hint-row.small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

/* Story share button styling â€” make it stand out slightly */
.native-share-btn.story-btn {
  background: var(--accent-dim);
  position: relative;
}

.native-share-btn.story-btn svg {
  color: var(--accent);
}

.native-share-btn.story-btn span {
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 420px) {
  .story-frame {
    max-width: 300px;
  }

  .story-frame-top {
    padding: 22px 22px 0;
  }

  .story-brand {
    font-size: 16px;
  }

  .story-frame-card {
    padding: 18px 22px;
  }

  .story-frame-card .card-preview {
    max-width: 240px;
    padding: 18px 18px 16px;
  }

  .story-frame-card .card-preview .card-score {
    font-size: 60px;
  }

  .story-frame-card .card-preview .card-face {
    height: 140px;
  }

  .story-frame-bottom {
    padding: 0 22px 26px;
  }

  .story-cta-url {
    font-size: 26px;
  }
}

@media (max-width: 420px) {
  .hero {
    padding: 40px 0 32px;
  }

  .upload-inner {
    padding: 36px 18px 28px;
  }

  .analyze,
  .how,
  .share,
  .why,
  .faq,
  .final-cta {
    padding: 60px 0 32px;
  }

  .partner-invite {
    padding: 12px 0 32px;
  }

  .step {
    padding: 24px 22px;
    gap: 16px;
  }

  .step-num {
    font-size: 34px;
    min-width: 46px;
  }

  .final-cta-card {
    padding: 48px 24px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .why-main {
    padding: 32px 24px;
  }

  .why-main h3 {
    font-size: 24px;
  }

  .card-preview {
    width: 290px;
  }

  .card-score {
    font-size: 58px;
  }

  .result-block {
    padding: 26px 22px;
  }

  .protocol-intro {
    padding: 36px 24px;
  }

  .buy-card {
    padding: 38px 24px;
  }

  .journey-card {
    padding: 26px 22px;
  }

  .not-card {
    padding: 30px 24px;
  }
}
/* Clean list blocks for strengths/deficits */
.clean-list-block {
  margin-bottom: 16px;
  text-align: left;
}
.clean-list-block-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--accent);
}
.clean-list-block h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.deficit-system-bridge {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.5;
  font-weight: 500;
}
.deficit-system-bridge strong {
  color: var(--accent);
  font-weight: 800;
}

.bottleneck-block {
  margin-top: 4px;
  margin-bottom: 0;
}
.bottleneck-label {
  color: var(--bad);
}
.bottleneck-block .clean-point-list li strong {
  display: inline;
  margin-bottom: 0;
  font-size: 15px;
}
.bottleneck-block .clean-point-list li span {
  display: block;
  margin-top: 6px;
}
.bottleneck-cta {
  margin-top: 14px;
}

.result-to-pitch-fade {
  height: 56px;
  margin: 4px 0 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(3, 5, 3, 0.35) 55%,
    var(--bg) 100%
  );
  pointer-events: none;
}

.pitch-hook {
  text-align: center;
  padding: 4px 0 8px;
}
.pitch-hook-title {
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 8px;
}
.pitch-hook-title .accent {
  color: var(--accent);
}
.pitch-hook-sub {
  font-size: 14px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.45;
  max-width: 320px;
  margin: 0 auto;
}

.pitch-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  margin-bottom: 8px;
}
.pitch-chips--left {
  justify-content: flex-start;
  margin-bottom: 12px;
}
.pitch-chips--trust {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.pitch-chip {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted-2);
  background: var(--surface);
  border-radius: 999px;
  padding: 6px 12px;
}
.pitch-chip--accent {
  color: var(--fg);
  background: rgba(217, 255, 71, 0.08);
}
.chip-check {
  color: var(--accent);
}

.vault-teaser {
  margin-top: 24px;
  margin-bottom: 28px;
  text-align: left;
}

.vault-teaser + .module-areas {
  margin-top: 0;
}
.vault-teaser-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.vault-teaser-title {
  font-size: clamp(20px, 5vw, 24px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.vault-teaser-sub {
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.45;
  margin: 0 0 12px;
}
.vault-teaser-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vault-teaser-points li {
  font-size: 12.5px;
  color: var(--muted-2);
  line-height: 1.4;
  font-weight: 500;
  padding-left: 14px;
  position: relative;
}
.vault-teaser-points li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.price-anchor-labeled {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 28px;
  margin-bottom: 4px;
}
.price-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.price-tier-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-tier-val--old {
  font-size: 18px;
  font-weight: 700;
  color: var(--muted-2);
  text-decoration: line-through;
  opacity: 0.55;
}
.price-tier-val--new {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}
.price-tier--launch .price-tier-label {
  color: var(--accent);
}
.price-once-line {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.clean-point-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.clean-point-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--muted-2);
  line-height: 1.5;
  background: var(--surface);
  padding: 18px 22px;
  border-radius: var(--radius);
}
.clean-point-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}
.clean-point-list.good li::before { background: var(--accent); }
.clean-point-list.bad li::before { background: var(--bad); }
.clean-point-list.growth li::before { background: var(--accent); }
.clean-point-list.growth li { border: 1px solid rgba(217,255,71,0.10); }
.clean-point-list li strong {
  color: var(--fg);
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ── FLEX VIEW — fullscreen animated screenshot ────────────────── */
.flex-stage {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 260;
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding-top: 12vh;
}
.flex-stage.active { display: flex; }

.flex-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border: none;
  cursor: pointer;
}
.flex-close svg { width: 16px; height: 16px; }

/* Content wrapper — vertically stacks card + bar + logo */
.flex-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 320px;
  width: 100%;
  padding: 0 20px;
}

/* Card container */
.flex-card {
  width: 100%;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.flex-stage.animating .flex-card {
  opacity: 1;
  transform: scale(1);
}
.flex-card .card-preview {
  width: 260px;
  transform: none;
}
.flex-card .card-preview .card-age-pill { display: none; }
.flex-card .card-preview .card-watermark { display: none; }

/* Percentile section */
.flex-pct {
  width: 260px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.3s, transform 0.4s ease 0.3s;
}
.flex-stage.animating .flex-pct {
  opacity: 1;
  transform: translateY(0);
}

.flex-pct-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 8px;
}

.flex-pct-bar {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.flex-pct-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(217,255,71,0.35);
  transition: width 1.6s cubic-bezier(0.22,1,0.36,1);
}

.flex-pct-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.flex-pct-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted-2);
  margin-top: 2px;
}

/* Logo */
.flex-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--fg);
  opacity: 0.45;
  margin-top: 4px;
}
.flex-logo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* Start-Zustand: Unsichtbar und nicht klickbar */
.flex-close,
.flex-tap {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

/* Bottom tap hint (Positionierung) */
.flex-tap {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

/* Wenn die Animation läuft: X und Tap nach 0.8s einblenden */
.flex-stage.show-controls .flex-close {
  opacity: 1;
  pointer-events: all;
}

.flex-stage.show-controls .flex-tap {
  opacity: 0.5;
  pointer-events: all;
}

/* ── Responsive ── */
@media (max-width: 420px) {
  .flex-content { max-width: 280px; }
  .flex-card .card-preview { width: 230px; }
  .flex-pct { width: 230px; }
}
