/* Public landing page. */
.lp { display: grid; gap: clamp(3.5rem, 8vw, 6rem); padding-bottom: 2rem; }
.lp h1, .lp h2, .lp h3 { color: var(--color-text); }
.lp-kicker { margin: 0 0 .6rem; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--color-brand-soft, #a78bfa); }
.theme-light .lp-kicker { color: #6d28d9; }
.lp h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 1rem; max-width: 22ch; }
.lp-section > h2 { margin-bottom: 2rem; }
.lp-btn-primary { background: linear-gradient(135deg, #7c3aed, #5b21b6) !important; color: #fff !important; padding: .8rem 1.4rem !important; font-size: 1rem !important; }
.lp-fineprint { margin: .9rem 0 0; font-size: .85rem; color: var(--color-text-muted); }

/* Hero */
.lp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-top: clamp(1rem, 4vw, 3rem); }
.lp-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 1.1rem; }
.lp-lede { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--color-text-soft); line-height: 1.6; margin: 0 0 1.6rem; }
.lp-cta { display: flex; flex-wrap: wrap; gap: .7rem; }

.lp-shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(167, 139, 250, .28); background: #120d26; box-shadow: 0 30px 80px rgba(4, 3, 12, .45), 0 0 0 6px rgba(124, 58, 237, .08); }
.theme-light .lp-shot { box-shadow: 0 30px 70px rgba(76, 29, 149, .22), 0 0 0 6px rgba(124, 58, 237, .08); }
.lp-shot img { display: block; width: 100%; height: auto; }
.lp-shot__bar { display: flex; gap: 6px; padding: 10px 12px; background: rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.lp-shot__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.lp-shot--hero { transform: perspective(1600px) rotateY(-6deg); transform-origin: left center; }
@media (prefers-reduced-motion: reduce) { .lp-shot--hero { transform: none; } }

/* Proof strip */
.lp-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: -1.5rem; }
.lp-proof > div { display: grid; gap: .3rem; padding: 1.1rem 1.25rem; border-radius: 14px; border: 1px solid var(--color-divider); background: rgba(124, 58, 237, .06); }
.lp-proof strong { color: var(--color-text); }
.lp-proof span { color: var(--color-text-muted); font-size: .92rem; }

/* Steps */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: none; }
.lp-steps li { padding: 1.5rem; border-radius: 16px; border: 1px solid var(--color-divider); background: var(--color-surface, rgba(255, 255, 255, .03)); }
.lp-steps li > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 1rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #8b5cf6, #5b21b6); }
.lp-steps h3 { margin: 0 0 .4rem; }
.lp-steps p { margin: 0; color: var(--color-text-muted); }

/* Feature rows */
.lp-feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.lp-feature--flip .lp-feature__copy { order: 2; }
.lp-feature__copy p { color: var(--color-text-soft); font-size: 1.05rem; line-height: 1.6; }
.lp-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .55rem; }
.lp-list li { position: relative; padding-left: 1.7rem; color: var(--color-text-soft); }
.lp-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: rgba(34, 197, 94, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2322c55e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* Every stage */
.lp-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.lp-stages article { padding: 1.5rem; border-radius: 16px; border: 1px solid var(--color-divider); background: linear-gradient(160deg, rgba(124, 58, 237, .12), transparent); }
.lp-stages h3 { margin: 0 0 .5rem; }
.lp-stages p { margin: 0; color: var(--color-text-muted); }
@media (max-width: 1100px) { .lp-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Pricing */
.lp-pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 1.5rem; }
.lp-plan { position: relative; display: flex; flex-direction: column; gap: .4rem; padding: 1.75rem; border-radius: 20px; border: 1px solid var(--color-border); background: var(--color-surface, rgba(255, 255, 255, .03)); }
.lp-plan h3 { margin: 0; }
.lp-plan .lp-list { flex: 1; margin-bottom: 1.4rem; }
.lp-plan .btn { align-self: stretch; text-align: center; justify-content: center; }
.lp-plan--featured { border-color: rgba(167, 139, 250, .7); box-shadow: 0 20px 60px rgba(124, 58, 237, .25); background: linear-gradient(170deg, rgba(124, 58, 237, .18), rgba(18, 13, 38, .4)); }
.theme-light .lp-plan--featured { background: linear-gradient(170deg, #f3f0ff, #fff); }
.lp-price { margin: .2rem 0 0; font-size: 2.2rem; font-weight: 800; color: var(--color-text); letter-spacing: -.02em; }
.lp-price-alt { margin: 0; color: var(--color-text-muted); font-size: .92rem; }
.lp-badge { position: absolute; top: -12px; right: 1.25rem; margin: 0; padding: .25rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #1c1206; background: #fbbf24; }

/* FAQ */
.lp-faq { max-width: 820px; }
.lp-faq details { border-bottom: 1px solid var(--color-divider); padding: 1rem 0; }
.lp-faq summary { cursor: pointer; font-weight: 700; color: var(--color-text); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--color-text-muted); }
.lp-faq details[open] summary::after { content: "\2212"; }
.lp-faq details p { margin: .7rem 0 0; color: var(--color-text-soft); line-height: 1.6; }

/* Final CTA */
.lp-final { text-align: center; padding: clamp(2.5rem, 6vw, 4rem) 1.5rem; border-radius: 24px; color: #fff;
  background: radial-gradient(circle at 15% 0, rgba(167, 139, 250, .45), transparent 50%), radial-gradient(circle at 90% 110%, rgba(34, 211, 238, .3), transparent 50%), linear-gradient(135deg, #3b1a7a, #1e1446); }
.lp-final h2 { color: #fff !important; margin: 0 auto .6rem; max-width: none; }
.lp-final p { color: #ddd6fe; margin: 0 auto 1.6rem; }
.lp-final .lp-btn-primary { background: #fff !important; color: #4c1d95 !important; }

@media (max-width: 900px) {
  .lp-hero, .lp-feature { grid-template-columns: minmax(0, 1fr); }
  .lp-feature--flip .lp-feature__copy { order: 0; }
  .lp-shot--hero { transform: none; }
  .lp-proof, .lp-steps, .lp-stages { grid-template-columns: minmax(0, 1fr); }
  .lp-pricing { grid-template-columns: minmax(0, 1fr); }
  .lp-proof { margin-top: 0; }
}
.lp-price small { font-size: 1rem; font-weight: 600; color: var(--color-text-muted); }
.lp-plan--featured .lp-list li strong { color: var(--color-text); }
.lp-compare { margin-top: calc(-1 * clamp(2.5rem, 6vw, 4.5rem)); }
.lp-compare > summary { cursor: pointer; font-weight: 700; color: var(--color-brand-soft, #a78bfa); margin-bottom: 1rem; }
.theme-light .lp-compare > summary { color: #5b21b6; }

/* Stage picker in the hero */
.lp-levels { display: inline-flex; flex-wrap: wrap; gap: .25rem; padding: .25rem; margin: 0 0 1.1rem; border-radius: 999px; border: 1px solid var(--color-border); background: var(--color-surface); }
.lp-levels a { padding: .45rem .95rem; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--color-text-soft); text-decoration: none !important; }
.lp-levels a:hover, .lp-levels a:focus-visible { color: var(--color-text); }
.lp-levels a[aria-current="true"] { background: var(--color-brand); color: #fff !important; }
.lp-level-tool { margin: -.4rem 0 1.2rem; font-weight: 600; color: var(--color-text-muted); }
.lp-level-tool.lp-us { margin: .75rem 0 0; }
@media (max-width: 520px) {
  .lp-levels { display: flex; width: 100%; box-sizing: border-box; }
  .lp-levels a { flex: 1 1 0; min-width: 0; padding: .45rem .5rem; text-align: center; }
  .lp-levels__extra { display: none; }
}

/* Stage-picker copy: keep hidden variants hidden even where a rule sets display. */
.lp [data-level-copy][hidden], .lp [data-level-except][hidden] { display: none !important; }
