:root {
  --bg: #0b0b10;
  --card: #15151d;
  --text: #f5f7fb;
  --muted: #b4bac7;
  --line: rgba(255,255,255,0.08);
  --accent: #ff6b35;
  --accent-2: #ff8f66;
  --white: #ffffff;
  --success: #27c281;
  --shadow: 0 12px 30px rgba(0,0,0,0.35);
  --radius: 18px;
  --radius-sm: 14px;
  --max: 480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, #09090d 0%, #11111a 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }
.mobile-homepage { width: 100%; max-width: var(--max); margin: 0 auto; padding: 76px 16px 40px; }
.sticky-bar {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--max);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px;
  background: rgba(10,10,14,0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); z-index: 1000;
}
.logo { font-size: 1rem; font-weight: 900; letter-spacing: 0.08em; }
.top-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 14px;
  border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid var(--line); font-size: 0.92rem; font-weight: 700;
}
section { margin-bottom: 18px; }
.age-gate-card,
.hero-section,
.proof-section,
.how-it-works,
.free-value,
.offer-card,
.who-its-for,
.faq-section,
.final-cta,
.tool-shell,
.result-card,
.checkout-cta-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.result-section {
  scroll-margin-top: 76px;
}
.result-card {
  border: 3px solid rgba(255,107,53,0.68);
  background: linear-gradient(180deg, rgba(255,107,53,0.2), rgba(21,21,29,0.98) 34%, rgba(39,194,129,0.08));
  box-shadow: 0 22px 58px rgba(255,107,53,0.22), var(--shadow);
}
.result-card h3 {
  margin-bottom: 10px;
  font-size: clamp(2.15rem, 13vw, 4.1rem);
  line-height: 0.9;
  letter-spacing: 0;
}
.result-eyebrow {
  color: #ffffff;
  background: rgba(255,107,53,0.24);
  border: 1px solid rgba(255,107,53,0.55);
}
.result-pop {
  animation: resultPop 0.38s ease-out;
}
@keyframes resultPop {
  from { transform: translateY(18px); opacity: 0.25; }
  to { transform: translateY(0); opacity: 1; }
}
.age-gate-card {
  background: linear-gradient(180deg, rgba(255,107,53,0.14), rgba(255,107,53,0.06));
  border-color: rgba(255,107,53,0.28);
}
.offer-card-primary,
.locked-block,
.price-panel {
  background: linear-gradient(180deg, rgba(255,107,53,0.12), rgba(255,107,53,0.04));
  border-color: rgba(255,107,53,0.24);
}
.offer-card-secondary,
.proof-card-highlight {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}
.proof-card-highlight {
  border-color: rgba(39,194,129,0.28);
  background: linear-gradient(180deg, rgba(39,194,129,0.12), rgba(39,194,129,0.05));
}
.eyebrow,
.label,
.trust-line,
.small-copy,
.fine-print,
.score-label,
.price-note,
.tool-note { color: var(--muted); }
.eyebrow {
  display: inline-block; margin-bottom: 10px; padding: 6px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.08); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
}
h1, h2, h3, h4, p, ul { margin-top: 0; }
h1 { margin-bottom: 10px; font-size: 2rem; line-height: 1.05; }
h2 { margin-bottom: 10px; font-size: 1.85rem; line-height: 1.08; }
h3 { margin-bottom: 14px; font-size: 1.35rem; line-height: 1.15; }
h4 { margin-bottom: 8px; font-size: 1rem; line-height: 1.2; }
p, li { font-size: 1rem; line-height: 1.5; color: var(--text); }
.fine-print, .small-copy, .trust-line, .tool-note, .result-subhead, .checkout-copy, .tool-subhead { font-size: 0.9rem; line-height: 1.45; }
.cta-stack {
  display: flex; flex-direction: column; gap: 10px; margin: 16px 0 10px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding: 14px 18px;
  border-radius: 14px; font-size: 1rem; font-weight: 800; text-align: center; transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
  border: none; cursor: pointer;
}
.btn:active { transform: scale(0.985); }
.btn-primary { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: var(--white); box-shadow: 0 10px 24px rgba(255,107,53,0.28); }
.btn-secondary { background: rgba(255,255,255,0.06); border: 1px solid var(--line); color: var(--text); }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.15); color: var(--text); }
.proof-card, .step-box, .faq-item, .result-block, .score-box {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 12px;
}
.label, .score-label {
  margin-bottom: 8px; font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
}
ul { margin-bottom: 0; padding-left: 20px; }
li + li { margin-top: 8px; }
.joke-form { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.95rem; font-weight: 700; color: #f5f7fb; }
.form-group textarea, .form-group select, .form-group input {
  width: 100%; border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; background: #15151d; color: #f5f7fb;
  padding: 14px; font-size: 1rem; line-height: 1.45; outline: none; appearance: none;
}
.form-group textarea::placeholder, .form-group input::placeholder { color: #b4bac7; }
.form-group textarea:focus, .form-group select:focus, .form-group input:focus {
  border-color: rgba(255,107,53,0.65); box-shadow: 0 0 0 3px rgba(255,107,53,0.16);
}
.btn-submit { margin-top: 4px; }
.status-inline { min-height: 20px; }
.score-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.score-box {
  border-color: rgba(255,107,53,0.38);
}
.score-value { font-size: 2.35rem; font-weight: 900; line-height: 1; color: #ffffff; }
.score-text { font-size: 1rem; line-height: 1.35; }
.rewrite-block {
  border-color: rgba(39,194,129,0.42);
  background: linear-gradient(180deg, rgba(39,194,129,0.16), rgba(21,21,29,0.98));
  padding: 20px;
}
.rewrite-block .label {
  color: #a7f3d0;
  margin-bottom: 12px;
}
.rewrite-block p {
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.72;
  margin-bottom: 0;
  white-space: pre-line;
}
.locked-list, .checkout-list { margin: 12px 0 0; padding-left: 20px; }
.locked-block {
  margin-top: 16px;
  border-color: rgba(255,107,53,0.30);
}
.locked-block p {
  color: #f5f7fb;
  font-weight: 750;
  line-height: 1.55;
}
.cleanup-points {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.cleanup-points span {
  display: block;
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 10px 12px;
  color: #f5f7fb;
  font-weight: 850;
  line-height: 1.32;
}
.price-panel { display: flex; flex-direction: column; gap: 4px; border: 1px solid rgba(255,107,53,0.24); border-radius: 16px; padding: 16px; margin: 16px 0 14px; }
.price-name { font-size: 1rem; font-weight: 800; color: #ffffff; }
.price-amount { font-size: 2rem; font-weight: 900; line-height: 1; color: #ffffff; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag-chip {
  display: inline-flex; align-items: center; justify-content: center; padding: 7px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: var(--muted); font-size: 0.8rem; font-weight: 700;
}
.capture-block { background: rgba(255,255,255,0.045); }
.compact-group { margin-top: 12px; }
.purchase-status { margin: 10px 0 0; min-height: 20px; }
.joke-result-active .checkout-cta-section,
.joke-result-active .age-gate-card,
.joke-result-active .hero-section,
.joke-result-active .proof-section,
.joke-result-active .how-it-works,
.joke-result-active .free-tool-section,
.joke-result-active .free-value,
.joke-result-active .offer-card,
.joke-result-active .who-its-for,
.joke-result-active .faq-section,
.joke-result-active .final-cta,
.joke-result-active .site-footer {
  display: none !important;
}
.joke-result-active .result-section { margin-bottom: 10px; }
.joke-result-active .result-card .cta-stack { margin-bottom: 4px; }
.site-footer { display: flex; flex-direction: column; gap: 10px; padding: 10px 4px 0; text-align: center; }
.site-footer a { color: var(--muted); font-size: 0.95rem; }
.site-footer .fine-print { margin-top: 8px; }
[hidden] { display: none !important; }
@media (max-width: 520px) { .score-row { grid-template-columns: 1fr; } }
@media (min-width: 640px) {
  .mobile-homepage { max-width: 680px; padding-left: 20px; padding-right: 20px; }
  .sticky-bar { max-width: 680px; }
  .cta-stack { flex-direction: row; }
  .cta-stack .btn { width: auto; flex: 1; }
}
