/* ============================================================
   Plano de Desfralde — Design System v2
   Mobile-first funnel · Warm & professional · No clip-art
   ============================================================ */
:root {
  /* Color tokens */
  --bg: #faf5ec;
  --bg-deep: #f3ead9;
  --surface: #ffffff;
  --ink: #2c2117;
  --ink-2: #6f5f4c;
  --ink-3: #9a8873;
  --brand: #c05a2e;
  --brand-deep: #9c441f;
  --brand-ink: #7c3418;
  --brand-soft: #fbe7d7;
  --brand-faint: #fdf3e8;
  --sage: #4e7c5b;
  --sage-deep: #38603f;
  --sage-soft: #e6efe7;
  --gold: #e8a33d;
  --gold-soft: #fbf0da;
  --line: #e9d9c2;
  --line-soft: #f1e6d3;

  /* Shape & elevation */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(60, 40, 20, 0.07);
  --shadow-md: 0 12px 34px rgba(140, 80, 35, 0.14);
  --shadow-lg: 0 24px 60px rgba(140, 80, 35, 0.2);

  /* Type scale (mobile-first) */
  --fs-hero: clamp(2rem, 7.2vw, 2.9rem);
  --fs-h2: clamp(1.45rem, 5vw, 1.9rem);
  --fs-h3: 1.18rem;
  --fs-body: 1.02rem;
  --fs-small: 0.88rem;

  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 800;
  color: var(--ink);
  text-wrap: balance;
}
p { margin: 0 0 1em; }
img, svg { display: block; max-width: 100%; }

/* Funnel column: narrow, calm, conversion-focused */
.wrap { max-width: 560px; margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 880px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  touch-action: manipulation;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em;
  color: #fff; background: linear-gradient(180deg, #d3653a 0%, var(--brand) 100%);
  border: none; border-radius: var(--r-pill);
  padding: 17px 40px; cursor: pointer; text-decoration: none;
  box-shadow: 0 10px 26px rgba(192, 90, 46, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 14px 32px rgba(192, 90, 46, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn:active { transform: translateY(1px) scale(0.99); box-shadow: 0 6px 16px rgba(192, 90, 46, 0.32); }
.btn .arr { transition: transform 0.16s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-block { width: 100%; }
.micro { font-size: var(--fs-small); color: var(--ink-2); }
.center { text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 64px 0 0;
  background:
    radial-gradient(560px 340px at 85% -40px, #f6dfc2 0%, transparent 60%),
    radial-gradient(640px 420px at -10% 30%, #f3e3cd 0%, transparent 55%),
    linear-gradient(180deg, #fdf9f1 0%, var(--bg) 100%);
}
.hero .wrap { position: relative; z-index: 2; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.88rem;
  color: var(--brand-ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 8px 18px; margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.hero h1 { font-size: var(--fs-hero); margin-bottom: 16px; }
.hero h1 .hl {
  background: linear-gradient(180deg, transparent 62%, #f6d9b8 62%, #f6d9b8 94%, transparent 94%);
}
.hero .sub { color: var(--ink-2); font-size: 1.08rem; max-width: 46ch; margin: 0 auto 30px; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 14px; }
.hero-cta .btn { width: 100%; max-width: 420px; }

/* Polished hero visual — abstract, CSS-only, no clip-art */
.hero-visual { position: relative; max-width: 480px; margin: 34px auto 0; padding: 0 8px 46px; }
.blob { position: absolute; border-radius: 50%; filter: blur(46px); opacity: 0.55; pointer-events: none; }
.blob.b1 { width: 280px; height: 280px; background: #f2c99b; top: -30px; left: -40px; }
.blob.b2 { width: 220px; height: 220px; background: #cfe0cd; bottom: -10px; right: -30px; }
.plan-mock {
  position: relative; z-index: 2;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px 22px 18px; text-align: left;
  transform: rotate(-1.2deg);
}
.pm-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pm-icon {
  width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(192, 90, 46, 0.35);
}
.pm-icon svg { width: 24px; height: 24px; }
.pm-title { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; line-height: 1.3; }
.pm-sub { font-size: 0.82rem; color: var(--ink-2); }
.pm-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; font-weight: 600; color: var(--ink);
  padding: 9px 0; border-top: 1px solid var(--line-soft);
}
.pm-row svg { width: 20px; height: 20px; flex-shrink: 0; }
.pm-row span.tag { margin-left: auto; font-size: 0.75rem; font-weight: 700; color: var(--sage-deep); background: var(--sage-soft); border-radius: var(--r-pill); padding: 3px 10px; }
.float-chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 9px 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; color: var(--ink);
  box-shadow: var(--shadow-md); white-space: nowrap;
}
.float-chip svg { width: 18px; height: 18px; }
.chip-1 { top: 6px; right: 2px; transform: rotate(2deg); }
.chip-2 { bottom: 22px; left: 0; transform: rotate(-2deg); }
@media (prefers-reduced-motion: no-preference) {
  .plan-mock { animation: floaty 7s ease-in-out infinite; }
  @keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
}

/* Mini rating under hero CTA */
.hero-rating {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.86rem; font-weight: 600; color: var(--ink-2);
  margin-top: 4px;
}
.stars-sm { display: inline-flex; gap: 2px; }
.stars-sm svg { width: 15px; height: 15px; }

/* Trust row */
.trust-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 26px 0 8px; }
.trust-row span {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 8px 15px;
  font-size: 0.84rem; font-weight: 600; color: var(--ink-2);
}
.trust-row svg { width: 16px; height: 16px; }

/* ---------- Sections ---------- */
section.block { padding: 56px 0; }
section.block h2 { font-size: var(--fs-h2); text-align: center; }
.lede { text-align: center; color: var(--ink-2); max-width: 44ch; margin: 0 auto 30px; }

/* Steps */
.steps { display: grid; gap: 14px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 26px 22px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step .num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-deep);
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-2); font-size: 0.94rem; }

/* ---------- Social proof ---------- */
.social-proof { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sp-head { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 24px; }
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 20px; height: 20px; }
.sp-head strong { font-family: var(--font-display); font-size: 0.98rem; }
.sp-head span { color: var(--ink-2); font-size: 0.9rem; }
.quotes { display: grid; gap: 14px; }
@media (min-width: 640px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  background: var(--bg); border: 1px solid var(--line-soft);
  border-radius: var(--r-md); padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.quote .stars svg { width: 16px; height: 16px; }
.quote p { margin: 0; font-size: 0.94rem; color: var(--ink); flex: 1; }
.quote .who { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: #fff;
}
.quote .who div { line-height: 1.35; }
.quote .who strong { display: block; font-size: 0.88rem; }
.quote .who span { font-size: 0.8rem; color: var(--ink-3); }

/* ---------- Quiz (BetterMe-style funnel) ---------- */
#quiz { scroll-margin-top: 12px; }
.quiz-shell { max-width: 560px; margin: 0 auto; }
.quiz-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 24px 26px;
  box-shadow: var(--shadow-md);
}
.q-enter { animation: qIn 0.34s cubic-bezier(0.22, 0.9, 0.3, 1); }
@keyframes qIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .q-enter { animation: none; } }
.progress { height: 10px; background: var(--brand-faint); border: 1px solid var(--line-soft); border-radius: var(--r-pill); overflow: hidden; margin-bottom: 10px; }
.progress > div { height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--gold), var(--brand)); transition: width 0.35s cubic-bezier(0.22, 0.9, 0.3, 1); }
.progress-label { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px; }
.q-title { font-size: 1.42rem; margin-bottom: 6px; }
.q-sub { color: var(--ink-2); margin-bottom: 20px; font-size: 0.95rem; }
.q-options { display: grid; gap: 12px; }
.q-opt {
  display: flex; align-items: center; gap: 14px;
  border: 2px solid var(--line); border-radius: var(--r-md);
  padding: 17px 18px; cursor: pointer;
  font-weight: 600; font-size: 1.02rem; line-height: 1.45;
  background: var(--surface);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent; user-select: none;
  touch-action: manipulation;
}
.q-opt:hover { border-color: #d8a97e; box-shadow: var(--shadow-sm); }
.q-opt:active { transform: scale(0.985); }
.q-opt.selected {
  border-color: var(--brand); background: var(--brand-faint);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow-sm);
}
.q-opt .radio {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid #cbb693; background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.q-opt.selected .radio { border-color: var(--brand); background: var(--brand); }
.q-opt .radio svg { width: 14px; height: 14px; opacity: 0; transform: scale(0.5); transition: opacity 0.15s ease, transform 0.15s ease; }
.q-opt.selected .radio svg { opacity: 1; transform: scale(1); }
.q-opt input { position: absolute; opacity: 0; pointer-events: none; }
.q-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; gap: 12px; }
.q-back {
  background: none; border: none; color: var(--ink-3);
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  cursor: pointer; padding: 14px 10px; display: inline-flex; align-items: center; gap: 6px;
}
.q-back:hover { color: var(--ink-2); }
.q-next { font-size: 1.02rem; padding: 15px 32px; }
.q-next:disabled { opacity: 0.4; cursor: not-allowed; transform: none; filter: grayscale(0.4); }
.q-error { color: #b3261e; font-size: 0.9rem; font-weight: 600; margin-top: 12px; min-height: 1.4em; }

/* ---------- Preview ---------- */
#preview { display: none; }
.preview-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px 26px; box-shadow: var(--shadow-md);
  max-width: 560px; margin: 0 auto;
}
.band-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em;
  padding: 8px 18px; border-radius: var(--r-pill); margin-bottom: 16px;
}
.band-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.band-pronto { background: var(--sage-soft); color: var(--sage-deep); }
.band-quase { background: var(--gold-soft); color: #8a5d14; }
.band-espera { background: #e9edfb; color: #46549b; }
.score-wrap { margin: 18px 0 4px; }
.score-bar { height: 12px; background: var(--bg-deep); border-radius: var(--r-pill); overflow: hidden; }
.score-bar > div { height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--gold), var(--brand)); transition: width 0.8s cubic-bezier(0.22, 0.9, 0.3, 1); }
.score-label { font-size: var(--fs-small); color: var(--ink-2); font-weight: 600; margin-top: 8px; }
.tips { display: grid; gap: 12px; margin: 24px 0; }
.tip {
  background: var(--bg); border: 1px solid var(--line-soft);
  border-left: 4px solid var(--brand);
  border-radius: var(--r-sm); padding: 18px;
}
.tip h4 { font-size: 1rem; margin-bottom: 6px; color: var(--brand-ink); }
.tip p { margin: 0; font-size: 0.95rem; color: var(--ink); }
.teaser {
  background: linear-gradient(180deg, var(--brand-faint), var(--brand-soft));
  border: 1px solid #f0d3b4;
  border-radius: var(--r-md); padding: 22px;
  margin: 4px 0 24px; font-size: 0.99rem;
}
.teaser strong { color: var(--brand-deep); }

/* ---------- Paywall ---------- */
#paywall { display: none; }
.pay-card {
  background: var(--surface); border: 1px solid var(--line);
  border-top: 6px solid var(--brand);
  border-radius: var(--r-lg); padding: 36px 26px 30px;
  box-shadow: var(--shadow-lg);
  max-width: 560px; margin: 0 auto;
}
.pay-card h2 { font-size: 1.65rem; text-align: center; }
.pay-sub { text-align: center; color: var(--ink-2); margin-bottom: 6px; }
.anchor-box {
  background: var(--bg); border: 1px dashed #d9b98f;
  border-radius: var(--r-md); padding: 20px; margin: 22px 0;
  font-size: 0.98rem;
}
.anchor-box .math { font-family: var(--font-display); font-weight: 800; font-size: 1.06rem; color: var(--brand-deep); line-height: 1.5; }
.includes { margin: 20px 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.includes li { display: flex; gap: 12px; padding: 9px 0; font-size: 0.99rem; align-items: flex-start; }
.includes li svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.price-line { text-align: center; margin: 24px 0 8px; }
.price-old { color: var(--ink-3); font-size: 1.02rem; }
.price-old s { text-decoration-thickness: 2px; }
.price-now { font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; letter-spacing: -0.03em; color: var(--brand-deep); line-height: 1.1; }
.price-now small { font-size: 1.4rem; vertical-align: super; }
.price-note { font-size: var(--fs-small); color: var(--ink-2); }
.urgency {
  margin-top: 10px; font-size: 0.86rem; font-weight: 600; color: #8a5d14;
  background: var(--gold-soft); border: 1px solid #ecd3a3;
  border-radius: var(--r-pill); padding: 8px 18px; display: inline-block;
}
.seal {
  display: flex; gap: 14px; align-items: center;
  background: var(--sage-soft); border: 1px solid #c4d8c6;
  border-radius: var(--r-md); padding: 16px 18px; margin: 20px 0;
}
.seal svg { width: 46px; height: 46px; flex-shrink: 0; }
.seal strong { display: block; font-family: var(--font-display); font-size: 0.98rem; color: var(--sage-deep); }
.seal p { margin: 0; font-size: 0.87rem; color: var(--ink-2); }
.secure-line { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 0.84rem; color: var(--ink-3); font-weight: 600; }
.secure-line svg { width: 15px; height: 15px; }

/* Sticky mobile CTA inside paywall */
.sticky-cta {
  position: sticky; bottom: 0; z-index: 20;
  margin: 26px -26px -30px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  display: flex; align-items: center; gap: 14px;
}
.sticky-cta .sc-price { line-height: 1.25; }
.sticky-cta .sc-price s { display: block; font-size: 0.8rem; color: var(--ink-3); }
.sticky-cta .sc-price strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--brand-deep); }
.sticky-cta .btn { flex: 1; padding: 15px 10px; font-size: 1rem; }

/* ---------- FAQ / footer ---------- */
.faq { max-width: 560px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px 20px;
  transition: box-shadow 0.15s ease;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-display); font-weight: 700; font-size: 1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--brand); flex-shrink: 0; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 12px 0 0; color: var(--ink-2); font-size: 0.95rem; }
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 30px 0 46px; }
footer .disclaimer {
  max-width: 560px; margin: 0 auto 16px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 18px;
  font-size: 0.82rem; color: var(--ink-2);
}
footer .fine { text-align: center; color: var(--ink-3); font-size: 0.82rem; margin: 0; }

/* ---------- Página do plano ---------- */
.plan-header { text-align: center; padding: 48px 20px 8px; }
.plan-header h1 { font-size: var(--fs-h2); }
.plan-meta { color: var(--ink-2); font-size: 0.9rem; }
.phase {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 26px 24px; margin: 20px 0;
  box-shadow: var(--shadow-sm);
}
.phase .phase-label {
  display: inline-block; background: var(--brand-soft); color: var(--brand-deep);
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: var(--r-pill); padding: 6px 16px; margin-bottom: 12px;
}
.phase h3 { font-size: 1.3rem; margin-bottom: 4px; }
.phase .goal { color: var(--ink-2); font-style: italic; margin-bottom: 14px; font-size: 0.95rem; }
.phase ol { margin: 0; padding-left: 22px; }
.phase ol li { margin-bottom: 10px; }
.phase ol li::marker { color: var(--brand); font-weight: 700; }
.trouble {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: var(--r-sm); padding: 20px; margin: 14px 0;
}
.trouble h4 { margin-bottom: 8px; color: var(--ink); font-size: 1.02rem; }
.trouble p { margin: 0; font-size: 0.95rem; color: var(--ink-2); }
.routine-box, .checklist-box { border-radius: var(--r-md); padding: 24px; margin: 20px 0; }
.routine-box { background: var(--sage-soft); border: 1px solid #c4d8c6; }
.checklist-box { background: var(--gold-soft); border: 1px solid #ecd3a3; }
.routine-box h3, .checklist-box h3 { margin-bottom: 12px; font-size: 1.15rem; }
.routine-box ol, .checklist-box ul { margin: 0; padding-left: 22px; }
.routine-box li, .checklist-box li { margin-bottom: 8px; font-size: 0.97rem; }
.print-bar { position: sticky; bottom: 18px; display: flex; justify-content: center; padding: 12px; z-index: 10; }
.empty-state { text-align: center; padding: 70px 20px; max-width: 560px; margin: 0 auto; }
.empty-state h2 { font-size: var(--fs-h2); }
.empty-state p { color: var(--ink-2); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 0.95rem;
  padding: 12px 20px; border-radius: var(--r-pill); text-decoration: none;
  transition: top 0.18s ease;
}
.skip-link:focus-visible { top: 12px; }

/* ---------- Paid banner (thank-you redirect ?paid=1) ---------- */
.paid-banner {
  background: #eef5ee; border: 1.5px solid #5f7a63; color: #2f4a34;
  border-radius: var(--r-card); padding: 16px 20px; margin: 18px 0 4px;
  font-size: 1rem; box-shadow: var(--shadow-sm);
}

/* ---------- Focus (keyboard a11y) ---------- */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.q-opt:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* ---------- Print ---------- */
@media print {
  .print-bar, .no-print, .sticky-cta { display: none !important; }
  body { background: #fff; }
  .phase, .trouble { box-shadow: none; break-inside: avoid; }
  .hero, .hero-visual { display: none; }
}

/* ---------- Desktop refinements ---------- */
@media (min-width: 640px) {
  .quiz-card { padding: 38px 36px 32px; }
  .preview-card { padding: 40px 36px; }
  .pay-card { padding: 44px 40px 36px; }
  .sticky-cta { margin: 26px -40px -36px; }
  .hero-cta .btn { width: auto; }
}
