:root {
  --lv2-ink: #211b32;
  --lv2-muted: #6f687d;
  --lv2-purple: #6750d8;
  --lv2-purple-dark: #4b35b9;
  --lv2-lilac: #eeeaff;
  --lv2-cream: #fffaf1;
  --lv2-line: #ded8ea;
  --lv2-white: #fff;
}

.landing-v2 {
  min-height: 100vh;
  overflow: hidden;
  color: var(--lv2-ink);
  background: var(--lv2-cream);
  font-family: Inter, "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.landing-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(77, 58, 116, .11);
  background: rgba(255, 250, 241, .9);
  backdrop-filter: blur(18px);
}

.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.landing-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--lv2-ink);
  text-decoration: none;
}

.landing-logo > span,
.auth-brand > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--lv2-purple);
  box-shadow: 0 7px 18px rgba(103, 80, 216, .25);
  font: 850 11px Inter, "Avenir Next", sans-serif;
  letter-spacing: -.4px;
}

.landing-logo strong { font-size: 16px; letter-spacing: -.35px; }
.landing-nav nav { display: flex; align-items: center; gap: 32px; }
.landing-nav nav a { color: #5f586c; text-decoration: none; font-size: 13px; font-weight: 650; }
.landing-nav nav a:hover { color: var(--lv2-purple); }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.nav-signin { min-height: 42px; padding: 0 14px; border: 0; color: #554e62; background: none; font-size: 13px; font-weight: 700; cursor: pointer; }

.landing-button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.landing-button:hover { transform: translateY(-2px); }
.landing-button.compact { min-height: 42px; padding-inline: 17px; border-radius: 11px; }
.landing-button.primary { color: #fff; background: var(--lv2-purple); box-shadow: 0 13px 28px rgba(103, 80, 216, .24); }
.landing-button.primary:hover { background: var(--lv2-purple-dark); }
.landing-button.secondary { color: var(--lv2-ink); border-color: var(--lv2-line); background: #fff; }
.landing-button.light { color: var(--lv2-purple-dark); background: #fff; box-shadow: 0 13px 28px rgba(34, 22, 70, .18); }
.landing-button.full { width: 100%; }

.landing-hero-v2 {
  min-height: 680px;
  padding: 74px 0 78px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 76px;
}

.hero-pill {
  width: fit-content;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ddd5ee;
  border-radius: 999px;
  color: #5e5572;
  background: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 700;
}

.hero-pill span { color: var(--lv2-purple); }
.hero-message h1 { margin: 24px 0 22px; font-size: clamp(54px, 6.3vw, 78px); line-height: .98; letter-spacing: -5px; }
.hero-message h1 em { color: var(--lv2-purple); font: italic 400 .98em Georgia, serif; letter-spacing: -4px; }
.hero-message > p { max-width: 590px; margin: 0; color: var(--lv2-muted); font-size: 17px; line-height: 1.68; }
.hero-actions-v2 { margin-top: 30px; display: flex; align-items: center; gap: 12px; }
.hero-assurance { margin-top: 27px; display: flex; gap: 20px; flex-wrap: wrap; color: #6e667a; font-size: 11px; font-weight: 650; }
.hero-assurance span::first-letter { color: #299064; }

.hero-showcase {
  position: relative;
  padding: 14px;
  border: 1px solid #d8d0e7;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(61, 43, 93, .16);
  transform: rotate(1.2deg);
}

.showcase-top { height: 42px; padding: 0 5px 0 8px; display: flex; align-items: center; justify-content: space-between; color: #6b6475; font-size: 10px; }
.showcase-top span { display: flex; align-items: center; gap: 7px; font-weight: 750; }
.showcase-top i { width: 7px; height: 7px; border-radius: 50%; background: #35a36f; box-shadow: 0 0 0 4px #e0f4e9; }
.showcase-top b { padding: 6px 9px; border-radius: 999px; color: #267650; background: #e8f6ee; font-size: 9px; }
.showcase-image { height: 395px; overflow: hidden; border-radius: 20px; background: var(--lv2-lilac); }
.showcase-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.showcase-prompt { margin-top: 12px; padding: 17px 18px; border: 1px solid #e5dfed; border-radius: 17px; background: #fbf9ff; }
.showcase-prompt > span { color: var(--lv2-purple); font-size: 8px; font-weight: 850; letter-spacing: 1.3px; }
.showcase-prompt p { margin: 8px 0 14px; font-size: 12px; font-weight: 650; line-height: 1.5; }
.showcase-prompt > div { display: flex; align-items: center; gap: 7px; }
.showcase-prompt b { padding: 6px 8px; border: 1px solid #ddd6e9; border-radius: 7px; color: #6b6376; font-size: 8px; }
.showcase-prompt strong { margin-left: auto; color: var(--lv2-purple); font-size: 9px; }
.showcase-note { position: absolute; right: -22px; top: 80px; padding: 10px 13px; border-radius: 10px; color: #584929; background: #ffe894; box-shadow: 0 8px 20px rgba(73, 55, 23, .16); font-size: 10px; font-weight: 800; transform: rotate(4deg); }

.landing-proof { border-block: 1px solid rgba(77, 58, 116, .11); background: #fff; }
.proof-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.proof-inner > p { margin: 0; color: #5b5368; font-size: 12px; font-weight: 760; }
.proof-inner > div { display: flex; align-items: center; gap: 25px; color: #777080; font-size: 10px; }
.proof-inner > div span::before { content: "✓"; margin-right: 7px; color: #2d9668; font-weight: 900; }

.landing-section-v2 { padding: 116px 0; }
.section-heading-v2 { max-width: 700px; }
.section-heading-v2.centered { margin-inline: auto; text-align: center; }
.section-heading-v2 > span, .feature-label, .landing-final-cta > div > span { color: var(--lv2-purple); font-size: 9px; font-weight: 850; letter-spacing: 1.7px; }
.section-heading-v2 h2 { margin: 14px 0 15px; font-size: clamp(40px, 5vw, 58px); line-height: 1.07; letter-spacing: -3px; }
.section-heading-v2 > p { max-width: 560px; margin: 0; color: var(--lv2-muted); font-size: 14px; line-height: 1.65; }
.section-heading-v2.centered > p { margin-inline: auto; }

.steps-v2 { margin-top: 58px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.steps-v2 article { min-height: 310px; padding: 27px; position: relative; border: 1px solid #dfd9e9; border-radius: 22px; background: #fff; }
.steps-v2 article > span { position: absolute; right: 24px; top: 24px; color: #aba3b7; font-size: 10px; font-weight: 800; }
.step-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; font-size: 25px; }
.step-icon.lavender { color: #5b45c8; background: #eee9ff; }
.step-icon.peach { color: #ae5d45; background: #ffe9df; }
.step-icon.mint { color: #347b63; background: #dcf4e9; }
.steps-v2 h3 { margin: 72px 0 11px; font-size: 21px; letter-spacing: -.8px; }
.steps-v2 p { margin: 0; color: var(--lv2-muted); font-size: 12px; line-height: 1.65; }

.landing-features-v2 { padding: 116px 0; color: #fff; background: #211a32; }
.section-heading-v2.light { max-width: 760px; }
.section-heading-v2.light > span { color: #bbaeff; }
.section-heading-v2.light > p { color: #afa8ba; }
.feature-bento { margin-top: 58px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; }
.feature-bento article { border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; overflow: hidden; }
.feature-large { min-height: 475px; padding: 38px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 34px; background: #6a51d7; }
.feature-label { color: #dcd4ff; }
.feature-large h3, .feature-photo h3, .feature-small h3 { margin: 13px 0; letter-spacing: -1.5px; }
.feature-large h3 { font-size: 34px; line-height: 1.08; }
.feature-large > div:first-child > p { color: #ddd6fa; font-size: 12px; line-height: 1.65; }
.feature-large button { padding: 0; border: 0; color: #fff; background: none; font-size: 11px; font-weight: 800; cursor: pointer; }
.prompt-card { padding: 24px; border-radius: 20px; color: var(--lv2-ink); background: #fff; box-shadow: 0 20px 46px rgba(39, 24, 97, .27); transform: rotate(2deg); }
.prompt-card small { color: var(--lv2-purple); font-size: 8px; font-weight: 850; letter-spacing: 1px; }
.prompt-card p { min-height: 145px; margin: 14px 0; padding: 16px; border: 1px solid #e5dfee; border-radius: 13px; background: #faf8ff; font-size: 13px; line-height: 1.6; }
.prompt-card > div { display: flex; gap: 6px; }
.prompt-card > div span { padding: 6px 7px; border: 1px solid #ddd6e9; border-radius: 7px; color: #6e657a; font-size: 7px; }
.feature-photo { min-height: 475px; display: grid; grid-template-rows: 275px 1fr; background: #2c2540; }
.photo-visual { position: relative; overflow: hidden; }
.photo-visual img { width: 100%; height: 100%; object-fit: cover; }
.photo-visual span, .photo-visual b { position: absolute; bottom: 13px; padding: 6px 8px; border-radius: 7px; font-size: 7px; letter-spacing: .7px; }
.photo-visual span { left: 13px; background: #fff; color: #302944; }
.photo-visual b { right: 13px; background: #ffe895; color: #4d3f21; }
.feature-photo > div:last-child { padding: 27px 30px; }
.feature-photo h3 { font-size: 24px; line-height: 1.15; }
.feature-photo p, .feature-small p { margin: 0; color: #aca5b5; font-size: 11px; line-height: 1.6; }
.feature-small { min-height: 300px; padding: 30px; }
.feature-small.worlds { background: #312943; }
.feature-small.library { background: #fff; color: var(--lv2-ink); }
.feature-small.library .feature-label { color: var(--lv2-purple); }
.feature-small.library p { color: var(--lv2-muted); }
.feature-small h3 { max-width: 360px; font-size: 24px; line-height: 1.16; }
.world-orbit { width: 68px; height: 68px; margin: 27px 0 30px; display: grid; place-items: center; border: 1px solid #766a8e; border-radius: 50%; color: #211a32; background: #ffe895; box-shadow: 0 0 0 10px rgba(255, 232, 149, .08); font: italic 27px Georgia, serif; }
.mini-pages { height: 96px; margin: 25px 0 24px; position: relative; }
.mini-pages i { width: 70px; height: 92px; position: absolute; left: 25px; border: 1px solid #d8d1e3; border-radius: 9px; background: repeating-linear-gradient(0deg, #fff 0 9px, #eee9f7 10px); box-shadow: 0 9px 20px rgba(50, 39, 76, .12); }
.mini-pages i:nth-child(1) { transform: rotate(-10deg) translateX(-12px); }
.mini-pages i:nth-child(2) { transform: rotate(1deg) translateX(35px); }
.mini-pages i:nth-child(3) { transform: rotate(10deg) translateX(82px); }

.pricing-v2 { padding-bottom: 105px; }
.pricing-grid-v2 { margin-top: 55px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; align-items: stretch; }
.pricing-grid-v2 article { min-height: 440px; padding: 29px; display: flex; flex-direction: column; position: relative; border: 1px solid #dcd5e7; border-radius: 23px; background: #fff; }
.pricing-grid-v2 article.featured { color: #fff; border-color: var(--lv2-purple); background: var(--lv2-purple); box-shadow: 0 25px 55px rgba(103, 80, 216, .22); transform: translateY(-9px); }
.plan-badge { position: absolute; right: 20px; top: 20px; padding: 6px 9px; border-radius: 999px; color: #4f3d15; background: #ffe894; font-size: 8px; font-weight: 850; }
.plan-name { color: #625b6d; font-size: 10px; font-weight: 800; }
.featured .plan-name { color: #d8d0ff; }
.pricing-grid-v2 h3 { margin: 18px 0 2px; font-size: 43px; letter-spacing: -2.5px; }
.pricing-grid-v2 article > div > p { margin: 0; color: #8c8595; font-size: 9px; }
.pricing-grid-v2 .featured > div > p { color: #cfc8ef; }
.pricing-grid-v2 article > strong { margin: 42px 0 17px; font-size: 17px; }
.pricing-grid-v2 ul { margin: 0 0 28px; padding: 0; display: grid; gap: 12px; list-style: none; color: #696171; font-size: 10px; }
.pricing-grid-v2 .featured ul { color: #ddd6f8; }
.pricing-grid-v2 li::before { content: "✓"; margin-right: 9px; color: #299064; font-weight: 900; }
.pricing-grid-v2 .featured li::before { color: #ffe894; }
.pricing-grid-v2 article > .landing-button { width: 100%; margin-top: auto; }
.pricing-grid-v2 .featured .landing-button { color: var(--lv2-purple-dark); background: #fff; box-shadow: none; }
.pricing-note { margin: 30px auto 0; text-align: center; color: #7c7586; font-size: 10px; }

.faq-v2 { padding: 100px 0 120px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.faq-v2 .landing-button { margin-top: 25px; }
.faq-list-v2 { border-top: 1px solid #dcd5e6; }
.faq-list-v2 details { border-bottom: 1px solid #dcd5e6; }
.faq-list-v2 summary { padding: 25px 0; display: flex; justify-content: space-between; gap: 20px; list-style: none; font-size: 14px; font-weight: 750; cursor: pointer; }
.faq-list-v2 summary::-webkit-details-marker { display: none; }
.faq-list-v2 summary span { color: var(--lv2-purple); font-size: 21px; font-weight: 400; transition: transform .18s; }
.faq-list-v2 details[open] summary span { transform: rotate(45deg); }
.faq-list-v2 p { margin: -5px 40px 25px 0; color: var(--lv2-muted); font-size: 12px; line-height: 1.7; }

.landing-final-cta { padding: 100px 0; text-align: center; color: #fff; background: var(--lv2-purple); }
.landing-final-cta > div > span { color: #dcd4ff; }
.landing-final-cta h2 { margin: 15px 0 14px; font-size: clamp(44px, 6vw, 67px); letter-spacing: -3.7px; }
.landing-final-cta p { margin: 0 0 29px; color: #dcd5f6; font-size: 13px; }
.landing-footer { background: #fff; }
.landing-footer > div { min-height: 118px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.landing-footer p { color: #837c8c; font-size: 10px; }
.landing-footer nav { display: flex; align-items: center; justify-content: flex-end; gap: 18px; flex-wrap: wrap; }
.landing-footer nav a, .landing-footer nav button { padding: 0; border: 0; color: #6e6679; background: none; text-decoration: none; font-size: 10px; cursor: pointer; }

.auth-dialog {
  width: min(500px, calc(100% - 28px));
  max-height: min(760px, calc(100vh - 28px));
  padding: 0;
  border: 0;
  border-radius: 26px;
  color: var(--lv2-ink);
  background: transparent;
  overflow: visible;
}

.auth-dialog::backdrop { background: rgba(27, 20, 43, .68); backdrop-filter: blur(7px); }
.auth-dialog-card { padding: 34px; position: relative; border: 1px solid #ded7e8; border-radius: 26px; background: #fff; box-shadow: 0 35px 100px rgba(24, 15, 48, .38); overflow: auto; }
.auth-close { width: 36px; height: 36px; position: absolute; top: 18px; right: 18px; border: 1px solid #e1dbe9; border-radius: 50%; color: #6f6879; background: #faf8fd; font-size: 22px; line-height: 1; cursor: pointer; }
.auth-brand { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.auth-brand > span { width: 34px; height: 34px; border-radius: 10px; font-size: 16px; }
.auth-kicker { color: var(--lv2-purple); font-size: 8px; font-weight: 850; letter-spacing: 1.5px; }
.auth-copy { margin-top: 30px; }
.auth-copy h2 { margin: 10px 0 10px; max-width: 390px; font-size: 31px; line-height: 1.1; letter-spacing: -1.6px; }
.auth-copy p { margin: 0; color: var(--lv2-muted); font-size: 11px; line-height: 1.6; }
.auth-form { margin-top: 26px; }
.auth-form label { display: block; margin-bottom: 8px; font-size: 10px; font-weight: 800; }
.auth-input { height: 52px; margin-bottom: 11px; display: flex; align-items: center; border: 1px solid #dcd5e6; border-radius: 13px; background: #fbfaff; }
.auth-input:focus-within { border-color: #8b78e6; box-shadow: 0 0 0 4px rgba(103, 80, 216, .1); }
.auth-input span { margin-left: 16px; color: var(--lv2-purple); font-weight: 800; }
.auth-input input { width: 100%; height: 100%; padding: 0 14px 0 9px; border: 0; outline: 0; color: var(--lv2-ink); background: transparent; font-size: 13px; }
.auth-otp { width: 100%; height: 65px; margin-bottom: 11px; border: 1px solid #dcd5e6; border-radius: 13px; outline: 0; color: var(--lv2-ink); background: #fbfaff; text-align: center; font-size: 27px; font-weight: 800; letter-spacing: 12px; }
.auth-otp:focus { border-color: #8b78e6; box-shadow: 0 0 0 4px rgba(103, 80, 216, .1); }
.auth-sent { margin-bottom: 20px; padding: 11px 13px; display: flex; align-items: center; gap: 9px; border-radius: 11px; color: #37694f; background: #e8f6ee; }
.auth-sent span { font-weight: 900; }
.auth-sent p { margin: 0; font-size: 9px; line-height: 1.45; }
.auth-form-actions { margin-top: 14px; display: flex; justify-content: space-between; gap: 12px; }
.auth-form-actions button { padding: 0; border: 0; color: var(--lv2-purple); background: none; font-size: 9px; font-weight: 750; cursor: pointer; }
.auth-benefits { margin-top: 28px; padding-top: 18px; display: flex; justify-content: center; gap: 14px; border-top: 1px solid #ebe6f0; color: #746c7e; font-size: 8px; }
.auth-benefits span::before { content: "✓"; margin-right: 5px; color: #299064; }
.auth-legal { margin: 12px 0 0; text-align: center; color: #9992a0; font-size: 8px; line-height: 1.5; }
.auth-legal a { color: #7265b5; }
.auth-error { margin-top: 18px; padding: 11px 13px; border: 1px solid #efc4c4; border-radius: 11px; color: #963f3f; background: #fff1f1; font-size: 9px; line-height: 1.5; }

@media (max-width: 980px) {
  .landing-nav nav { display: none; }
  .landing-hero-v2 { grid-template-columns: 1fr; gap: 55px; padding-top: 62px; text-align: center; }
  .hero-pill { margin-inline: auto; }
  .hero-message > p { margin-inline: auto; }
  .hero-actions-v2, .hero-assurance { justify-content: center; }
  .hero-showcase { max-width: 680px; margin-inline: auto; }
  .proof-inner { padding: 25px 0; align-items: flex-start; flex-direction: column; }
  .proof-inner > div { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .feature-large { grid-template-columns: 1fr; }
  .feature-bento { grid-template-columns: 1fr 1fr; }
  .feature-large { grid-column: 1 / -1; }
  .pricing-grid-v2 { gap: 10px; }
  .pricing-grid-v2 article { padding: 23px; }
}

@media (max-width: 760px) {
  .landing-shell { width: min(100% - 30px, 1180px); }
  .nav-inner { height: 68px; }
  .nav-signin { display: none; }
  .landing-logo strong { font-size: 14px; }
  .landing-logo > span { width: 34px; height: 34px; }
  .landing-button.compact { padding-inline: 13px; font-size: 11px; }
  .landing-hero-v2 { min-height: 0; padding: 48px 0 58px; gap: 46px; }
  .hero-message h1 { font-size: clamp(47px, 15vw, 64px); letter-spacing: -3.8px; }
  .hero-message h1 em { letter-spacing: -3px; }
  .hero-message > p { font-size: 15px; }
  .hero-actions-v2 { align-items: stretch; flex-direction: column; }
  .hero-actions-v2 .landing-button { width: 100%; }
  .hero-assurance { gap: 10px 16px; }
  .showcase-image { height: 300px; }
  .showcase-note { right: 8px; top: 70px; }
  .showcase-prompt > div b:nth-child(2) { display: none; }
  .proof-inner > div { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
  .landing-section-v2, .landing-features-v2 { padding: 80px 0; }
  .section-heading-v2 h2 { font-size: 40px; letter-spacing: -2.2px; }
  .steps-v2, .pricing-grid-v2 { grid-template-columns: 1fr; }
  .steps-v2 article { min-height: 260px; }
  .steps-v2 h3 { margin-top: 52px; }
  .feature-bento { grid-template-columns: 1fr; }
  .feature-large, .feature-photo, .feature-small { min-height: auto; }
  .feature-large { padding: 27px; }
  .feature-large h3 { font-size: 29px; }
  .prompt-card { margin-top: 16px; }
  .feature-photo { grid-template-rows: 230px auto; }
  .pricing-grid-v2 { gap: 15px; }
  .pricing-grid-v2 article, .pricing-grid-v2 article.featured { min-height: 400px; transform: none; }
  .faq-v2 { padding: 80px 0; grid-template-columns: 1fr; gap: 50px; }
  .landing-final-cta { padding: 80px 0; }
  .landing-final-cta h2 { font-size: 45px; letter-spacing: -2.7px; }
  .landing-footer > div { padding: 30px 0; align-items: flex-start; flex-direction: column; }
  .landing-footer p { margin: 0; }
  .auth-dialog-card { padding: 28px 22px 24px; }
  .auth-copy h2 { font-size: 28px; }
  .auth-benefits { gap: 8px; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-button, .faq-list-v2 summary span { transition: none; }
  .landing-button:hover { transform: none; }
}
