/* =====================================================================
   MandalaStack — marketing site layer.
   Consumes app.css tokens; light-first, dark via [data-theme="dark"].
   ===================================================================== */

.site-body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(900px 540px at 85% -10%, rgba(124, 58, 237, .12), transparent 60%),
    radial-gradient(780px 560px at -10% 12%, rgba(6, 182, 212, .1), transparent 55%),
    radial-gradient(900px 700px at 55% 115%, rgba(79, 70, 229, .1), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------ Nav ------------------------------ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-nav { backdrop-filter: blur(14px) saturate(1.4); }
}
.site-nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 20px;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--nav-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -.015em;
}
.site-brand:hover { color: var(--nav-ink); }
.site-links { display: flex; gap: 18px; margin-left: 8px; }
.site-links a { color: var(--nav-muted); font-weight: 600; font-size: .92rem; }
.site-links a:hover { color: var(--brand); }
.site-nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.site-signin { color: var(--nav-ink); font-weight: 600; font-size: .92rem; white-space: nowrap; }
@media (max-width: 720px) {
  .site-links { display: none; }
  .site-signin { display: none; }
}

/* ------------------------------ Buttons ------------------------------ */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--accent-grad);
  border-radius: 999px;
  padding: 16px 30px;
  font-size: 1.05rem;
  letter-spacing: .01em;
  box-shadow: var(--glow);
  transition: transform .18s var(--spring), box-shadow .18s var(--ease), filter .18s var(--ease);
}
.btn-cta:hover { transform: translateY(-2px) scale(1.015); filter: brightness(1.06); box-shadow: 0 14px 38px -10px rgba(99, 91, 240, .65); }
.btn-cta:active { transform: translateY(0) scale(.99); }
.btn-cta-sm { padding: 10px 18px; font-size: .92rem; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  font-size: 1rem;
  color: var(--ink-soft);
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 15px 26px;
  transition: color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.btn-ghost:hover { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); transform: translateY(-1px); }

/* ------------------------------ Sections ------------------------------ */
.site-section { max-width: 1120px; margin: 0 auto; padding: 96px 20px; }
@media (max-width: 720px) { .site-section { padding: 56px 18px; } }
.site-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brand-ink);
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  padding: 7px 14px;
  border-radius: 999px;
}
.site-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -.03em;
  font-weight: 700;
  margin: 22px 0 18px;
}
.site-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: 700;
  margin: 14px 0 12px;
}
.site-sub { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 640px; }
.grad-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------ Reveal on scroll ------------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------ Footer ------------------------------ */
.site-footer { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 60%, transparent); }
.site-footer-inner { max-width: 1120px; margin: 0 auto; padding: 44px 20px 34px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.site-footer-brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; }
.site-footer-tag { color: var(--muted); font-size: .95rem; max-width: 420px; }
.site-footer-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.site-footer-links a { color: var(--ink-soft); font-weight: 600; font-size: .9rem; }
.site-footer-links a:hover { color: var(--brand); }
.site-footer-fine { color: var(--muted); font-size: .8rem; }

/* ------------------------------ Hero ------------------------------ */
.site-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
}
@media (max-width: 920px) { .site-hero { grid-template-columns: 1fr; padding-top: 40px; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-trust { margin-top: 14px; color: var(--muted); font-size: .88rem; }

.hero-visual { position: relative; min-height: 360px; }
.mock-frame {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(1.2deg);
}
.mock-topbar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mock-url { margin-left: 10px; font-size: .75rem; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 3px 12px; }
.mock-body { display: grid; grid-template-columns: 52px 1fr; min-height: 300px; }
.mock-side { border-right: 1px solid var(--line); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mock-side i { width: 22px; height: 22px; border-radius: 7px; background: var(--soft); }
.mock-side i:first-child { background: var(--brand-grad); }
.mock-main { padding: 16px; display: grid; gap: 12px; align-content: start; }
.mock-hero { height: 110px; border-radius: 12px; background: var(--accent-grad); opacity: .85; animation: mock-sheen 6s var(--ease) infinite; }
@keyframes mock-sheen { 0%, 100% { filter: saturate(1); } 50% { filter: saturate(1.35); } }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-row i { height: 64px; border-radius: 10px; background: var(--soft); }
.mock-block { height: 46px; border-radius: 10px; background: var(--panel-2); border: 1px dashed var(--line-strong); }

.hero-chip {
  position: absolute;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink-soft);
  animation: chip-float 7s ease-in-out infinite;
}
.chip-1 { top: -16px; right: 8%; color: var(--ok); animation-delay: -1s; }
.chip-2 { bottom: 18%; left: -22px; color: var(--brand-ink); animation-delay: -3.4s; }
.chip-3 { bottom: -14px; right: 14%; animation-delay: -5.2s; }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .hero-chip, .mock-hero { animation: none; } }

/* ------------------------------ Problem ------------------------------ */
.problem-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
@media (max-width: 860px) { .problem-cards { grid-template-columns: 1fr; } }
.problem-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.problem-emoji { font-size: 1.6rem; display: block; margin-bottom: 12px; }
.problem-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.problem-card p { color: var(--muted); font-size: .95rem; }
.problem-absolve { margin-top: 30px; font-size: 1.15rem; color: var(--ink-soft); }
.problem-absolve em { color: var(--brand-ink); font-style: normal; font-weight: 700; }

/* ------------------------------ Plan ------------------------------ */
.plan-steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .plan-steps { grid-template-columns: 1fr; } }
.plan-step { display: flex; gap: 16px; align-items: flex-start; }
.plan-num {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: var(--glow);
}
.plan-step h3 { font-size: 1.06rem; margin-bottom: 6px; }
.plan-step p { color: var(--muted); font-size: .95rem; }

/* ------------------------------ Tour ------------------------------ */
.tour { margin-top: 30px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.tour-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tour-tab {
  flex: 1 1 auto;
  padding: 15px 18px;
  font: inherit;
  font-weight: 650;
  font-size: .93rem;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color .15s var(--ease);
}
.tour-tab:hover { color: var(--ink); }
.tour-tab.active { color: var(--brand-ink); border-bottom-color: var(--brand); background: color-mix(in srgb, var(--brand-soft) 55%, transparent); }
.tour-panels { position: relative; }
.tour-panel { display: none; padding: 30px; }
.tour-panel.active { display: grid; gap: 8px; animation: panel-in .35s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tour-panel h3 { font-size: 1.25rem; }
.tour-panel p { color: var(--muted); max-width: 560px; }
.tour-art { margin-top: 18px; height: 190px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel-2); position: relative; overflow: hidden; }
.tour-art::before { content: ""; position: absolute; inset: 0; background: var(--accent-grad); opacity: .12; }
.tour-art::after {
  content: ""; position: absolute; left: 8%; top: 22%; right: 8%; bottom: 22%;
  border-radius: 10px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.tour-art-newsletter::after { left: 22%; right: 22%; }
.tour-art-crm::after { left: 6%; right: 40%; }
.tour-art-mcp::after { border-radius: 999px; left: 18%; right: 18%; top: 34%; bottom: 34%; }

/* ------------------------------ Offer + pricing ------------------------------ */
.offer-stack { margin-top: 30px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); padding: 26px; }
.offer-stack ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.offer-stack li { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.stack-check { color: var(--ok); font-weight: 800; }
.stack-what { font-weight: 650; }
.stack-worth { color: var(--muted); font-size: .85rem; margin-left: auto; }
.offer-guarantee {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: var(--ok-soft);
  border: 1px solid var(--ok-line);
  color: var(--ok);
  font-size: .95rem;
}
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; align-items: stretch; }
@media (max-width: 1020px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}
.price-card.featured { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--glow); }
.price-flag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--accent-grad);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.price-card h3 { font-family: var(--font-display); font-size: 1.1rem; }
.price-amount { font-family: var(--font-display); font-size: 2rem; font-weight: 700; letter-spacing: -.02em; }
.price-amount small { font-size: .95rem; color: var(--muted); font-weight: 600; }
.price-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--ink-soft); font-size: .92rem; }
.price-card ul li::before { content: "\2713\00a0\00a0"; color: var(--ok); font-weight: 700; }
.price-btn { margin-top: auto; width: 100%; }
.pricing-foot { margin-top: 26px; color: var(--ink-soft); text-align: center; }
.pricing-foot strong { color: var(--brand-ink); }

/* ------------------------------ Proof + FAQ ------------------------------ */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
@media (max-width: 860px) { .proof-grid { grid-template-columns: 1fr; } }
.proof-card { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow-sm); }
.proof-card blockquote { margin: 0 0 14px; font-size: 1rem; color: var(--ink-soft); }
.proof-card figcaption { color: var(--muted); font-size: .88rem; }
.proof-note { margin-top: 14px; color: var(--muted); font-size: .8rem; }
.site-faq { margin-top: 72px; max-width: 760px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); margin-top: 12px; padding: 0 18px; }
.faq-item summary { cursor: pointer; font-weight: 650; padding: 15px 0; list-style: none; position: relative; padding-right: 28px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); color: var(--brand); font-size: 1.2rem; font-weight: 700; transition: transform .2s var(--ease); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--muted); padding-bottom: 16px; }

/* ------------------------------ Final CTA ------------------------------ */
.final-band {
  text-align: center;
  padding: 64px 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(560px 280px at 20% 0%, rgba(124, 58, 237, .16), transparent 60%),
    radial-gradient(560px 300px at 85% 100%, rgba(6, 182, 212, .14), transparent 60%),
    var(--panel);
  box-shadow: var(--shadow);
  display: grid;
  gap: 22px;
  justify-items: center;
}

/* ------------------------------ Quiz overlay ------------------------------ */
.quiz-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(124, 58, 237, .32), transparent 60%),
    radial-gradient(800px 640px at 85% 30%, rgba(79, 70, 229, .3), transparent 60%),
    radial-gradient(900px 700px at 55% 105%, rgba(6, 182, 212, .26), transparent 60%),
    #0c0a1f;
  color: #f4f6ff;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.quiz-overlay.open { opacity: 1; }
.quiz-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.quiz-aurora::before, .quiz-aurora::after {
  content: "";
  position: absolute;
  width: 46vw; height: 46vw;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .35;
  animation: aurora-drift 16s ease-in-out infinite;
}
.quiz-aurora::before { background: #7c3aed; top: -18vw; left: -10vw; }
.quiz-aurora::after { background: #06b6d4; bottom: -20vw; right: -12vw; animation-delay: -8s; }
@keyframes aurora-drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(4vw, 5vw) scale(1.15); } }

.quiz-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 16px; padding: 18px 22px; }
.quiz-progress { flex: 1; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.quiz-progress-bar { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--accent-grad); transition: width .5s var(--ease); box-shadow: 0 0 14px rgba(124, 58, 237, .8); }
.quiz-xp { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: #d9d4ff; white-space: nowrap; }
.quiz-xp.pop { animation: xp-pop .45s var(--spring); }
@keyframes xp-pop { 40% { transform: scale(1.28); color: #fff; } }
.quiz-close {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background .15s var(--ease);
}
.quiz-close:hover { background: rgba(255, 255, 255, .18); }

.quiz-stage { position: relative; z-index: 2; flex: 1; display: grid; place-items: center; padding: 24px; overflow-y: auto; }
.quiz-card {
  width: min(680px, 94vw);
  opacity: 0;
  transform: translateY(26px) scale(.985);
  transition: opacity .32s var(--ease), transform .38s var(--spring);
}
.quiz-card.enter { opacity: 1; transform: none; }
.quiz-card.leave { opacity: 0; transform: translateY(-22px) scale(.985); position: absolute; }
.quiz-card.center { text-align: center; }
.quiz-count { color: #b9b3e8; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.quiz-q { font-family: var(--font-display); font-size: clamp(1.5rem, 3.6vw, 2.3rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 26px; color: #fff; }
.quiz-q em { color: #c4b5fd; font-style: normal; }
.quiz-sub { color: #cfc9f5; margin: -14px 0 22px; }
.quiz-answers { display: grid; gap: 12px; }
.quiz-answer {
  display: flex;
  align-items: center;
  text-align: left;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: #f4f6ff;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  padding: 17px 20px;
  cursor: pointer;
  transition: background .15s var(--ease), border-color .15s var(--ease), transform .15s var(--spring), box-shadow .2s var(--ease);
}
.quiz-answer:hover { background: rgba(255, 255, 255, .13); border-color: rgba(196, 181, 253, .6); transform: translateY(-2px); box-shadow: 0 10px 30px -12px rgba(124, 58, 237, .55); }
.quiz-answer.picked { background: var(--accent-grad); border-color: transparent; animation: answer-pulse .4s var(--spring); box-shadow: 0 12px 34px -10px rgba(124, 58, 237, .8); }
@keyframes answer-pulse { 40% { transform: scale(1.03); } }
.quiz-bridge { padding: 60px 0; }
.quiz-shimmer {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  background: linear-gradient(100deg, #cfc9f5 30%, #ffffff 50%, #cfc9f5 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer-slide 1.6s linear infinite;
}
@keyframes shimmer-slide { to { background-position: -200% 0; } }
.quiz-form { display: grid; gap: 14px; max-width: 440px; }
.quiz-card.center .quiz-form { margin: 0 auto; }
.quiz-input {
  font: inherit;
  font-size: 1.1rem;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .09);
  color: #fff;
  outline: none;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.quiz-input::placeholder { color: rgba(244, 246, 255, .45); }
.quiz-input:focus { border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(167, 139, 250, .3); }
.quiz-input.shake { animation: input-shake .35s var(--ease); border-color: #ff6b7d; }
@keyframes input-shake { 25% { transform: translateX(-7px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.quiz-fine { margin-top: 18px; color: rgba(244, 246, 255, .55); font-size: .82rem; }
.quiz-resend { font: inherit; background: none; border: 0; color: #c4b5fd; cursor: pointer; text-decoration: underline; }
.quiz-otp { display: flex; gap: 12px; justify-content: center; margin: 10px 0 6px; }
.quiz-otp input {
  width: 58px; height: 68px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  outline: none;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--spring);
}
.quiz-otp input:focus { border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(167, 139, 250, .3); transform: scale(1.05); }
.quiz-burst { position: absolute; left: 50%; top: 40%; pointer-events: none; }
.quiz-burst i {
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent-grad);
  animation: burst-fly .9s var(--ease) forwards;
  transform: rotate(var(--a)) translateY(0);
}
@keyframes burst-fly {
  to { transform: rotate(var(--a)) translateY(-110px) scale(.3); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .quiz-aurora::before, .quiz-aurora::after, .quiz-shimmer, .quiz-burst i { animation: none; }
  .quiz-card, .quiz-card.enter, .quiz-card.leave { transition: opacity .2s ease; transform: none; }
}
@media (max-width: 520px) {
  .quiz-otp input { width: 48px; height: 58px; }
}

/* ------------------------------ Welcome page ------------------------------ */
.welcome-hero { text-align: center; padding-top: 64px; padding-bottom: 40px; position: relative; }
.welcome-aura { position: relative; width: 130px; height: 130px; margin: 0 auto 26px; }
.aura-core {
  position: absolute; inset: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--arch) 80%, #fff), var(--arch));
  box-shadow: 0 0 44px color-mix(in srgb, var(--arch) 65%, transparent);
}
.aura-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--arch) 55%, transparent);
  animation: aura-breathe 3.4s ease-in-out infinite;
}
.aura-ring.r2 { inset: 14px; animation-delay: -1.7s; opacity: .7; }
@keyframes aura-breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.1); opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .aura-ring { animation: none; } }
.welcome-kicker { color: var(--muted); font-weight: 650; letter-spacing: .04em; }
.welcome-title { margin: 10px 0 6px; color: var(--arch); }
.welcome-chakra { font-family: var(--font-display); color: var(--ink-soft); font-weight: 600; letter-spacing: .06em; }
.welcome-essence { margin: 18px auto 0; }
.welcome-hero .site-sub { max-width: 560px; }

.welcome-traits { padding-top: 0; padding-bottom: 24px; text-align: center; }
.trait-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.trait-chip {
  background: var(--panel);
  border: 1px solid color-mix(in srgb, var(--arch) 30%, var(--line));
  color: var(--ink-soft);
  font-weight: 650;
  font-size: .92rem;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.trait-shadow { margin-top: 20px; color: var(--muted); }
.trait-shadow em { color: var(--ink-soft); font-style: normal; font-weight: 650; }

.welcome-advantage { padding-top: 8px; padding-bottom: 8px; }
.advantage-panel {
  max-width: 760px;
  margin: 0 auto;
  background:
    radial-gradient(480px 200px at 12% 0%, color-mix(in srgb, var(--arch) 14%, transparent), transparent 65%),
    var(--panel);
  border: 1px solid color-mix(in srgb, var(--arch) 30%, var(--line));
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 30px 30px 26px;
  display: grid;
  gap: 14px;
  justify-items: start;
}
.advantage-panel p { font-size: 1.18rem; line-height: 1.55; color: var(--ink); }
.advantage-panel strong { color: var(--arch); }

.welcome-moves { padding-top: 40px; padding-bottom: 24px; max-width: 760px; }
.moves-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.moves-list li { display: flex; gap: 16px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.moves-list p { color: var(--ink-soft); font-weight: 550; }

.welcome-offer { text-align: center; padding-top: 40px; }
.blueprint-card {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  background:
    radial-gradient(480px 240px at 85% 0%, color-mix(in srgb, var(--arch) 16%, transparent), transparent 60%),
    var(--panel);
  border: 1px solid color-mix(in srgb, var(--arch) 38%, var(--line));
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 44px 34px 36px;
  display: grid;
  gap: 16px;
  justify-items: center;
}
.blueprint-price { font-family: var(--font-display); font-size: 1.4rem; color: var(--muted); }
.blueprint-price b { font-size: 2.6rem; color: var(--ink); margin: 0 6px; }
.blueprint-price small { font-size: 1rem; }
.blueprint-timer {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--arch);
  background: color-mix(in srgb, var(--arch) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--arch) 32%, transparent);
  padding: 8px 22px;
  border-radius: 999px;
}
.blueprint-timer.expired { font-size: .95rem; color: var(--muted); background: var(--soft); border-color: var(--line); }

/* ------------------------------ Marketing icons ------------------------------ */
.site-icon { width: 22px; height: 22px; flex: 0 0 auto; }
.site-icon.icon-sm { width: 17px; height: 17px; }
.hero-chip { display: inline-flex; align-items: center; gap: 7px; }
.chip-ok { color: var(--ok); }
.chip-brand { color: var(--brand); }
.problem-icon {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  margin-bottom: 14px;
}
.stack-check { color: var(--ok); display: inline-flex; }
.offer-guarantee { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn-cta .site-icon { color: #fff; }

/* ------------------------------ Tour art mockups ------------------------------ */
.tour-art { margin-top: 18px; min-height: 200px; height: auto; padding: 18px; display: grid; place-items: center; }
.tour-art::before, .tour-art::after { display: none; }
.tart { width: min(560px, 100%); }
.tart-line { display: block; height: 9px; border-radius: 999px; background: var(--soft); margin: 8px 0; }
.tart-line.w40 { width: 40%; } .tart-line.w50 { width: 50%; } .tart-line.w60 { width: 60%; }
.tart-line.w70 { width: 70%; } .tart-line.w75 { width: 75%; } .tart-line.w80 { width: 80%; } .tart-line.w90 { width: 90%; }

.tart-editor { display: grid; gap: 12px; }
.tart-page { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.tart-selected { position: relative; border: 1.5px solid var(--brand); border-radius: 9px; padding: 10px 12px; margin: 10px 0; box-shadow: var(--shadow-focus); }
.tart-selected .tart-line { background: var(--brand-soft); }
.tart-tag { position: absolute; top: -9px; left: 10px; font-size: .62rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--brand); color: #fff; border-radius: 5px; padding: 1px 7px; }
.tart-askbar { display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 999px; padding: 10px 16px; font-size: .88rem; color: var(--ink-soft); box-shadow: var(--shadow); }
.tart-askbar .site-icon { color: var(--brand); }
.tart-askbar b { margin-left: auto; color: #fff; background: var(--accent-grad); border-radius: 999px; padding: 5px 14px; font-size: .78rem; }

.tart-mail { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.tart-mailrow { display: flex; gap: 10px; align-items: baseline; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--ink); }
.tart-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); width: 52px; }
.tart-mailbody { padding: 14px 16px; }
.tart-mailfoot { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--line); }
.tart-mailfoot b { display: inline-flex; align-items: center; gap: 7px; color: #fff; background: var(--accent-grad); border-radius: 999px; padding: 7px 16px; font-size: .82rem; }
.tart-mailfoot b .site-icon { color: #fff; }
.tart-mailfoot span { color: var(--muted); font-size: .85rem; font-weight: 600; }

.tart-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tart-col { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 8px; align-content: start; }
.tart-col i { font-style: normal; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 2px 4px; }
.tart-card { background: var(--panel); border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; box-shadow: var(--shadow-sm); }
.tart-card b { display: block; font-size: .82rem; }
.tart-card span { font-size: .72rem; color: var(--muted); }

.tart-chat { display: grid; gap: 10px; max-width: 480px; }
.tart-bubble { padding: 10px 15px; border-radius: 16px; font-size: .88rem; max-width: 85%; }
.tart-bubble.me { justify-self: end; background: var(--accent-grad); color: #fff; border-bottom-right-radius: 5px; }
.tart-bubble.bot { justify-self: start; background: var(--panel); border: 1px solid var(--line); color: var(--ink-soft); border-bottom-left-radius: 5px; box-shadow: var(--shadow-sm); }
@media (max-width: 560px) { .tart-board { grid-template-columns: 1fr 1fr; } .tart-board .tart-col:last-child { display: none; } }

/* Language switcher + blueprint held note */
.site-lang { display: flex; gap: 10px; justify-content: center; }
.site-lang a { color: var(--muted); font-weight: 700; font-size: .78rem; letter-spacing: .06em; padding: 4px 8px; border-radius: 7px; }
.site-lang a.active { color: var(--brand-ink); background: var(--brand-soft); }
.site-lang a:hover { color: var(--brand); }
.blueprint-held { color: var(--muted); font-size: .88rem; margin-bottom: -6px; }
