/* MuseMoney funnel design system v2 (2026)
   Shared by index.html and thank-you.html
   Palette: bg #12121A / elevated #1A1A23 / sunken #0C0C12
            text #F5F3EC / muted #9A9AA5 / gold #F2B33D / border #2A2A35
   Type: Space Grotesk 700 (display), Inter 400/500 (body), Space Mono (eyebrow/numerals)
   Grid: 8px base, hairline 1px dividers, surface-step depth (no shadows) */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@700&family=Inter:wght@400;500&family=Space+Mono:wght@400;700&display=swap');

:root {
  --bg: #12121A;
  --elevated: #1A1A23;
  --sunken: #0C0C12;
  --text: #F5F3EC;
  --muted: #9A9AA5;
  --gold: #F2B33D;
  --gold-ink: #12121A;
  --border: #2A2A35;
  --radius: 12px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---------- layout ---------- */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.narrow { max-width: 720px; margin: 0 auto; }

section { padding: 64px 0; }

.hairline {
  border: 0;
  border-top: 1px solid var(--border);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- top bar ---------- */
.topbar {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar .mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}
.topbar .wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.topbar .wordmark .gold { color: var(--gold); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 24px;
  background: var(--sunken);
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
h1 .gold { color: var(--gold); }

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
h2 .gold { color: var(--gold); }

.subhead {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 560px;
}

.trust-line {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 16px;
  letter-spacing: 0.02em;
}

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; }
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero-copy { max-width: 640px; }
.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-visual .mascot-large {
  width: 220px;
  height: 220px;
  border-radius: 24px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--elevated);
}

/* ---------- form ---------- */
.optin-form { margin-top: 32px; max-width: 480px; }
.optin-form .row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.optin-form input[type="email"] {
  width: 100%;
  padding: 16px 18px;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--sunken);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 56px;
  transition: border-color 0.15s ease;
}
.optin-form input[type="email"]::placeholder { color: #5A5A66; }
.optin-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 179, 61, 0.25);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 16px 24px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.0625rem;
  text-align: center;
  text-decoration: none;
  color: var(--gold-ink);
  background: var(--gold);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); background: #F7C35C; }
.btn:active { transform: scale(0.98); }
.microcopy {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 12px;
}

/* ---------- bento grid ---------- */
.bento-head { margin-bottom: 32px; }
.bento-head .kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.bento {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.hook-card {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.hook-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.hook-card .num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 12px;
}
.hook-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.hook-card p { color: var(--muted); font-size: 0.9375rem; }
.hook-card.wide { grid-column: span 1; }

/* ---------- fit / not-fit ---------- */
.fit-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 32px;
}
.fit-col {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.fit-col h3 {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.fit-col.for h3 { color: var(--gold); }
.fit-col.not h3 { color: var(--muted); }
.fit-col ul { list-style: none; }
.fit-col li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--muted);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.fit-col li:last-child { border-bottom: none; }
.fit-col.for li { color: var(--text); }
.fit-col .tick { color: var(--gold); font-family: var(--font-mono); flex-shrink: 0; }
.fit-col .cross { color: #5A5A66; font-family: var(--font-mono); flex-shrink: 0; }

/* ---------- proof strip ---------- */
.proof-strip {
  background: var(--sunken);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-strip .inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 40px 0;
}
.proof-strip .mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.proof-strip p { color: var(--muted); font-size: 1rem; max-width: 640px; }
.proof-strip p strong { color: var(--text); font-weight: 500; }
.proof-strip .sig {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold);
  margin-top: 12px;
  letter-spacing: 0.04em;
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 32px; max-width: 720px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--elevated);
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px;
  font-weight: 500;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .answer {
  padding: 0 24px 24px;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ---------- final CTA ---------- */
.final-cta {
  background: var(--elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.final-cta .optin-form { margin-left: auto; margin-right: auto; }
.final-cta .subhead { margin-left: auto; margin-right: auto; }

/* ---------- footer ---------- */
footer {
  padding: 40px 0 120px;
  text-align: center;
}
footer p {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 8px;
}
footer .brand { color: var(--gold); font-weight: 500; }

/* ---------- offer (thank-you) ---------- */
.offer-wrap { max-width: 720px; margin: 0 auto; }
.offer-card {
  background: var(--elevated);
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 40px 32px;
  margin-top: 40px;
}
.offer-card .eyebrow { margin-bottom: 16px; }
.offer-card h2 { margin-bottom: 8px; }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 20px 0 8px;
}
.price-row .price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.03em;
}
.price-row .was {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 1.25rem;
}
.price-note { color: var(--muted); font-size: 0.875rem; margin-bottom: 24px; }
.offer-list { list-style: none; margin-bottom: 32px; }
.offer-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 1rem;
}
.offer-list li:last-child { border-bottom: none; }
.offer-list .tick { color: var(--gold); font-family: var(--font-mono); flex-shrink: 0; }
.offer-list li strong { font-weight: 500; }
.offer-list li span { color: var(--muted); font-size: 0.9375rem; display: block; margin-top: 4px; }
.decline {
  display: block;
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
  margin-top: 24px;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
  line-height: 44px;
}
.decline:hover { color: var(--text); }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(18, 18, 26, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-height: 72px;
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { min-height: 48px; padding: 12px 16px; font-size: 1rem; }
.sticky-cta .dismiss {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  padding: 12px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}

/* ---------- motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 100ms; }
.reveal[data-delay="2"] { transition-delay: 200ms; }
.reveal[data-delay="3"] { transition-delay: 300ms; }
.reveal[data-delay="4"] { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .sticky-cta { transform: none; }
  .sticky-cta:not(.show) { display: none; }
}

/* ---------- desktop ---------- */
@media (min-width: 760px) {
  section { padding: 96px 0; }
  .hero { padding: 96px 0 72px; }
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; }
  .hero-visual .mascot-large { width: 280px; height: 280px; }
  .optin-form .row { flex-direction: row; }
  .optin-form input[type="email"] { margin-bottom: 0; }
  .optin-form .btn { width: auto; white-space: nowrap; padding-left: 32px; padding-right: 32px; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .hook-card:nth-child(1) { grid-column: span 4; }
  .hook-card:nth-child(2) { grid-column: span 2; }
  .hook-card:nth-child(3) { grid-column: span 2; }
  .hook-card:nth-child(4) { grid-column: span 2; }
  .hook-card:nth-child(5) { grid-column: span 2; }
  .fit-grid { grid-template-columns: 1fr 1fr; }
  footer { padding-bottom: 64px; }
  .sticky-cta { display: none; }
}
