/* ============================================================
   Superpower lead-gen funnel — shared styles
   Reused design system from the proven Superpower advertorial,
   with Nam's standing rules applied:
   - CTA buttons bright green + shadow (never dark/muted)
   - No em dash anywhere in rendered copy
   ============================================================ */
:root{
  --bg: #fbfaf7;
  --ink: #161513;
  --ink-soft: #3a3833;
  --muted: #6b6862;
  --rule: #e4e0d6;
  --accent: #b1372b;
  --accent-soft: #f3e7df;
  --paper: #ffffff;
  --highlight: #fff4c2;
  --cta: #16a34a;
  --cta-dark: #15803d;
  --max: 720px;
}
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.container{ max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wide{ max-width: 920px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3{ font-family: 'Fraunces', Georgia, serif; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 0; }
h1{ font-size: clamp(34px, 5.4vw, 56px); line-height: 1.08; }
h2{ font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; margin-top: 80px; margin-bottom: 24px; }
h3{ font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; margin-top: 48px; margin-bottom: 16px; }
p{ margin: 0 0 22px 0; color: var(--ink-soft); }
p strong{ color: var(--ink); font-weight: 600; }
a{ color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
hr.rule{ border: none; border-top: 1px solid var(--rule); margin: 64px auto; max-width: 200px; }

/* HEADER */
.topbar{ border-bottom: 1px solid var(--rule); padding: 18px 24px; background: var(--bg); }
.topbar-inner{ max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand{ font-family: 'Fraunces', serif; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand-dot{ display: inline-block; width: 8px; height: 8px; background: var(--cta); border-radius: 50%; margin-right: 8px; transform: translateY(-2px); }
.topbar-meta{ font-size: 13px; color: var(--muted); font-family: 'Inter', sans-serif; letter-spacing: 0.04em; text-transform: uppercase; }

/* HERO */
.hero{ padding: 80px 0 40px; }
.kicker{ font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; font-weight: 600; }
.hero-subhead{ font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(18px, 2.2vw, 22px); color: var(--ink-soft); margin-top: 28px; line-height: 1.45; font-weight: 400; }

/* BODY */
.section{ padding: 24px 0; }
.lead{ font-size: 21px; line-height: 1.6; color: var(--ink); }
.em{ background: var(--highlight); padding: 0 4px; font-weight: 500; }
.pullquote{ font-family: 'Fraunces', serif; font-size: clamp(24px, 3vw, 32px); line-height: 1.3; color: var(--ink); border-left: 3px solid var(--cta); padding: 8px 0 8px 28px; margin: 48px 0; font-weight: 500; font-style: italic; }

/* CTA BLOCK */
.cta-block{ margin: 56px 0; text-align: center; padding: 36px 24px; background: var(--paper); border: 1px solid var(--rule); border-radius: 4px; }
.cta-block .cta-tag{ font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 600; }

/* BUTTON — bright green + shadow (Nam standing rule) */
.btn{
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--cta); color: #fff !important;
  padding: 18px 34px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 17px; letter-spacing: 0.01em;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  border: none; cursor: pointer; font-family: 'Inter', sans-serif;
  box-shadow: 0 8px 20px rgba(22,163,74,0.32), 0 2px 4px rgba(0,0,0,0.08);
}
.btn:hover{ background: var(--cta-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(22,163,74,0.40), 0 3px 6px rgba(0,0,0,0.10); }
.btn .arrow{ display: inline-block; transition: transform 0.2s ease; }
.btn:hover .arrow{ transform: translateX(4px); }
.btn.loading{ pointer-events: none; opacity: 0.75; }
.btn.loading .arrow{ animation: spin 0.8s linear infinite; }
@keyframes spin{ to{ transform: rotate(360deg);} }
.btn.big{ padding: 20px 40px; font-size: 18px; }
.cta-sub{ font-size: 13px; color: var(--muted); margin-top: 14px; }

/* LIST */
ul.markers{ list-style: none; padding: 0; margin: 24px 0 36px; }
ul.markers li{ padding: 14px 0 14px 30px; border-bottom: 1px solid var(--rule); position: relative; color: var(--ink-soft); }
ul.markers li::before{ content: '\2192'; position: absolute; left: 0; top: 14px; color: var(--cta); font-weight: 700; }
ul.markers li strong{ color: var(--ink); display: block; margin-bottom: 2px; }

/* STORY CARD */
.story-card{ background: var(--paper); border: 1px solid var(--rule); padding: 32px; border-radius: 4px; margin: 28px 0; }
.story-card .who{ font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; font-weight: 700; }

/* FEATURE */
.feature{ padding: 24px 0; border-bottom: 1px solid var(--rule); }
.feature h4{ font-family: 'Fraunces', serif; font-size: 21px; font-weight: 600; margin: 0 0 8px; color: var(--ink); }
.feature p{ margin: 0; color: var(--ink-soft); }

/* DASHBOARD MOCK */
.dashboard-mock{ background: #0e0d0b; color: #f0ede4; padding: 28px; border-radius: 6px; font-family: 'JetBrains Mono', 'SF Mono', Monaco, monospace; font-size: 14px; line-height: 1.85; margin: 32px 0; border: 1px solid #2a2723; }
.dashboard-mock .row{ display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid #2a2723; }
.dashboard-mock .row:last-child{ border-bottom: none; }
.dashboard-mock .label{ color: #918c80; }
.dashboard-mock .val{ color: #9ce39c; font-weight: 600; }
.dashboard-mock .flag{ color: #e8b84b; font-weight: 600; }
.dashboard-mock .delta{ color: #6b6862; font-size: 12px; margin-left: 8px; }

/* OBJECTIONS */
.objection{ margin: 32px 0; padding: 24px 0; border-top: 1px solid var(--rule); }
.objection h4{ font-family: 'Fraunces', serif; font-style: italic; font-size: 22px; font-weight: 500; color: var(--ink); margin: 0 0 12px; }
.objection p{ margin: 0; }

/* TESTIMONIALS */
.testimonial{ background: var(--paper); border-left: 3px solid var(--cta); padding: 24px 28px; margin: 24px 0; border-radius: 0 4px 4px 0; }
.testimonial blockquote{ margin: 0 0 14px; font-family: 'Fraunces', serif; font-style: italic; font-size: 18px; line-height: 1.5; color: var(--ink); }
.testimonial cite{ font-style: normal; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; font-family: 'Inter', sans-serif; font-weight: 600; }

/* TRUST ROW */
.trust-row{ display:flex; flex-wrap:wrap; gap:18px; justify-content:center; margin: 28px 0; color: var(--muted); font-size: 13px; letter-spacing: 0.04em; }
.trust-row span{ display:flex; align-items:center; gap:6px; }
.trust-row span::before{ content:'\2713'; color: var(--cta); font-weight:700; }

/* PS */
.ps{ margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--rule); }
.ps strong.label-ps{ font-family: 'Fraunces', serif; font-size: 22px; font-weight: 700; color: var(--ink); display: inline; }

/* FOOTER */
footer{ padding: 40px 24px; text-align: center; font-size: 13px; color: var(--muted); border-top: 1px solid var(--rule); }
footer a{ color: var(--muted); }
.disclaimer{ max-width: 720px; margin: 0 auto 16px; font-size: 12px; line-height: 1.6; color: #9a978f; }

/* ====================== QUIZ ====================== */
.quiz-wrap{ max-width: 600px; margin: 0 auto; padding: 56px 24px 80px; }
.progress{ height: 6px; background: var(--rule); border-radius: 999px; overflow: hidden; margin-bottom: 36px; }
.progress-bar{ height: 100%; width: 0%; background: var(--cta); border-radius: 999px; transition: width 0.35s ease; }
.step{ display: none; }
.step.active{ display: block; animation: fade 0.3s ease; }
@keyframes fade{ from{ opacity:0; transform: translateY(8px);} to{ opacity:1; transform:none;} }
.step .qnum{ font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cta); font-weight: 700; margin-bottom: 12px; }
.step h2{ margin-top: 0; font-size: clamp(24px, 4vw, 32px); }
.options{ display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.opt{
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: var(--paper); border: 1.5px solid var(--rule); border-radius: 10px;
  padding: 18px 20px; font-size: 17px; color: var(--ink); font-family: 'Inter', sans-serif;
  transition: border-color 0.12s ease, background 0.12s ease, transform 0.08s ease;
}
.opt:hover{ border-color: var(--cta); background: #f4fbf6; }
.opt:active{ transform: scale(0.99); }
.opt.selected{ border-color: var(--cta); background: #eafaf0; box-shadow: 0 0 0 3px rgba(22,163,74,0.12); }
.form-field{ margin: 24px 0 8px; }
.form-field label{ display:block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-field input{
  width: 100%; padding: 16px 18px; font-size: 17px; border: 1.5px solid var(--rule);
  border-radius: 10px; font-family: 'Inter', sans-serif; color: var(--ink); background: var(--paper);
}
.form-field input:focus{ outline: none; border-color: var(--cta); box-shadow: 0 0 0 3px rgba(22,163,74,0.12); }
.privacy-note{ font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.quiz-cta{ margin-top: 28px; text-align: center; }
.quiz-cta .btn{ width: 100%; justify-content: center; }
.back-link{ display:inline-block; margin-top: 18px; font-size: 13px; color: var(--muted); background:none; border:none; cursor:pointer; text-decoration: underline; }

/* ====================== BLUR GATE (quiz reveal) ====================== */
.gate{ position: relative; margin-top: 24px; border-radius: 16px; overflow: hidden; }
.gate-preview{
  filter: blur(7px); opacity: 0.6; pointer-events: none; user-select: none;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 16px;
  padding: 28px 26px; min-height: 360px;
}
.gate-preview h3{ margin: 0 0 4px; font-size: 24px; }
.gate-preview .who{ font-family:'Inter',sans-serif; font-size:11px; letter-spacing:0.16em; text-transform:uppercase; color: var(--accent); font-weight:700; }
.gate-lock{ position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; }
.gate-lock::before{ content:''; position:absolute; inset:0; background: radial-gradient(120% 80% at 50% 40%, rgba(251,250,247,0.35), rgba(251,250,247,0.85)); }
.lock-card{
  position: relative; width: 100%; max-width: 440px;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(3px);
  border: 1px solid var(--rule); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.20), 0 4px 10px rgba(0,0,0,0.06);
  padding: 30px 26px; text-align: center;
}
.lock-badge{ display:inline-flex; align-items:center; gap:7px; background: var(--accent-soft); color: var(--accent); font-size:11px; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; padding:6px 13px; border-radius:999px; margin-bottom:16px; }
.lock-badge svg{ width:12px; height:12px; }
.lock-card h3{ margin: 0 0 10px; font-size: clamp(22px,4vw,26px); }
.lock-card p.lock-sub{ font-size:15px; color: var(--muted); margin: 0 0 20px; }
.lock-card .form-field{ text-align:left; margin: 0 0 14px; }
.lock-card .btn{ width:100%; justify-content:center; margin-top: 6px; }
.lock-card .privacy-note{ text-align:center; }

/* ====================== BRIDGE / RESULTS ====================== */
.result-wrap{ max-width: 640px; margin: 0 auto; padding: 56px 24px 80px; }
.result-badge{ display:inline-block; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; margin-bottom: 20px; }
.match-card{ background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 32px; margin: 28px 0; }
.match-card h3{ margin-top: 0; }
.spinner-box{ text-align:center; padding: 60px 0; }
.spinner{ width: 44px; height: 44px; border: 4px solid var(--rule); border-top-color: var(--cta); border-radius: 50%; margin: 0 auto 20px; animation: spin 0.8s linear infinite; }

/* RESPONSIVE */
@media (max-width: 600px){
  body{ font-size: 17px; }
  .hero{ padding: 48px 0 24px; }
  h2{ margin-top: 56px; }
  .story-card{ padding: 24px 20px; }
  .cta-block{ padding: 28px 20px; }
  .quiz-wrap, .result-wrap{ padding: 40px 20px 64px; }
}
