:root {
  --ink: #17172b;
  --muted: #656579;
  --cream: #fbf8f2;
  --paper: #fffdf9;
  --indigo: #5552c8;
  --indigo-dark: #2c2d75;
  --lavender: #a694ed;
  --peach: #e8a97a;
  --line: rgba(38, 36, 72, .12);
  --shadow: 0 24px 70px rgba(46, 38, 99, .12);
  --sans: "DM Sans", sans-serif;
  --display: "Manrope", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; }
button, input { font: inherit; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 16px; background: white; transform: translateY(-160%); border-radius: 8px; }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; width: 100%; height: 76px; display: flex; align-items: center; padding: 0 max(24px, calc((100vw - 1180px) / 2)); background: rgba(251, 248, 242, .86); backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transition: .25s ease; }
.site-header.scrolled { height: 68px; border-color: var(--line); box-shadow: 0 6px 25px rgba(31, 27, 69, .05); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; color: var(--indigo); }
.brand-mark svg { width: 100%; fill: currentColor; }
.brand-mark .star { fill: var(--peach); }
.primary-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.primary-nav a { color: #454457; font-size: .91rem; font-weight: 600; text-decoration: none; transition: color .2s; }
.primary-nav a:hover, .primary-nav a.active { color: var(--indigo); }
.primary-nav .nav-cta { padding: 10px 19px; color: white; background: var(--indigo); border-radius: 999px; }
.primary-nav .nav-cta:hover { color: white; background: var(--indigo-dark); }
.menu-button { display: none; width: 44px; height: 44px; margin-left: auto; padding: 10px; border: 0; background: transparent; }
.menu-button span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 4px; background: var(--ink); }

.hero { min-height: 760px; padding-top: 150px; padding-bottom: 80px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 60px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--indigo); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow > span:first-child { width: 30px; height: 1px; flex-shrink: 0; background: currentColor; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.055em; line-height: 1.06; }
h1 { max-width: 660px; font-size: clamp(3.2rem, 6vw, 5.9rem); }
h1 em, h2 em { color: var(--indigo); font-family: Georgia, serif; font-weight: 400; }
.hero-intro { max-width: 600px; margin: 28px 0 0; color: var(--muted); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--indigo); box-shadow: 0 10px 28px rgba(85, 82, 200, .25); }
.button-primary:hover { background: var(--indigo-dark); box-shadow: 0 14px 32px rgba(85, 82, 200, .3); }
.button-quiet { border: 1px solid var(--line); background: rgba(255,255,255,.4); }
.trust-note { margin-top: 26px; color: #777386; font-size: .84rem; }
.trust-note span { margin-right: 7px; color: var(--peach); }

.dream-visual { position: relative; min-height: 530px; }
.moon-glow { position: absolute; top: 20px; right: 7%; width: 410px; height: 410px; background: radial-gradient(circle at 35% 35%, #f8d9bd 0, #d9ccf5 42%, rgba(217,204,245,0) 72%); border-radius: 50%; filter: blur(1px); opacity: .86; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb-one { right: 4%; bottom: 0; width: 130px; height: 130px; background: #e5b08a; opacity: .45; }
.orb-two { left: 2%; top: 16%; width: 52px; height: 52px; background: var(--lavender); opacity: .6; }
.dream-card { position: absolute; border: 1px solid rgba(255,255,255,.68); background: rgba(255,255,255,.64); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.dream-card-back { z-index: 1; top: 74px; left: 0; width: 250px; padding: 22px; transform: rotate(-7deg); border-radius: 20px; }
.tiny-label { color: #757187; font-size: .62rem; font-weight: 700; letter-spacing: .13em; }
.dream-card-back p { margin: 8px 0 0; font-family: Georgia, serif; font-size: 1.05rem; font-style: italic; }
.dream-card-main { z-index: 2; top: 136px; right: 0; width: min(440px, 85%); overflow: hidden; transform: rotate(2.4deg); border-radius: 26px; }
.card-scene { position: relative; height: 305px; overflow: hidden; background: linear-gradient(165deg, #3f3c7c 0%, #8a7cc0 47%, #e8a77f 100%); }
.card-scene::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 18%, rgba(255,236,205,.38), transparent 24%); }
.scene-moon { position: absolute; top: 42px; right: 55px; width: 58px; height: 58px; border-radius: 50%; background: #fff2d5; box-shadow: 0 0 38px rgba(255,242,213,.55); }
.scene-hill { position: absolute; bottom: -100px; border-radius: 50%; transform: rotate(-8deg); }
.hill-one { left: -100px; width: 430px; height: 260px; background: #514b82; }
.hill-two { right: -140px; width: 430px; height: 270px; background: #6a5d90; }
.scene-person { position: absolute; z-index: 2; bottom: 46px; left: 48%; width: 13px; height: 42px; border-radius: 50% 50% 30% 30%; background: #1f2143; box-shadow: 0 -12px 0 -2px #1f2143; }
.card-footer { display: flex; align-items: center; gap: 13px; padding: 17px 20px; background: rgba(255,255,255,.92); }
.card-footer div { display: flex; flex: 1; flex-direction: column; }
.card-footer strong { font-family: var(--display); font-size: .9rem; }
.play { display: grid; place-items: center; width: 36px; height: 36px; color: white; background: var(--indigo); border-radius: 50%; font-size: .7rem; }
.duration { color: var(--muted); font-size: .76rem; }
.sparkle { position: absolute; z-index: 3; color: var(--peach); font-size: 2rem; }
.sparkle-one { top: 26px; right: 4%; }
.sparkle-two { bottom: 45px; left: 8%; color: var(--indigo); }

.promise-strip { display: grid; grid-template-columns: repeat(3, 1fr); padding: 26px max(24px, calc((100vw - 1180px)/2)); background: var(--indigo-dark); color: white; }
.promise-strip > div { display: grid; grid-template-columns: 38px 1fr; padding: 3px 34px; border-right: 1px solid rgba(255,255,255,.16); }
.promise-strip > div:first-child { padding-left: 0; }
.promise-strip > div:last-child { border: 0; }
.promise-strip span { grid-row: 1 / 3; align-self: center; color: #b6afe9; font-family: Georgia, serif; font-style: italic; }
.promise-strip strong { font-family: var(--display); font-size: .92rem; }
.promise-strip small { color: rgba(255,255,255,.62); }

.section { padding-block: 120px; }
.section-heading { max-width: 670px; margin-bottom: 58px; }
.section-heading h2 { font-size: clamp(2.6rem, 5vw, 4.5rem); }
.section-heading > p { max-width: 590px; margin: 23px 0 0; color: var(--muted); font-size: 1.08rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.step-card { position: relative; min-height: 430px; padding: 34px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; }
.step-card:nth-child(2) { transform: translateY(22px); }
.step-number { position: absolute; top: 24px; right: 26px; color: #aaa7b4; font: italic 1.05rem Georgia, serif; }
.step-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 54px; color: var(--indigo); background: #eeebfb; border-radius: 15px; font-size: 1.3rem; }
.step-card h3, .clarity-card h3 { margin: 0; font-family: var(--display); font-size: 1.35rem; letter-spacing: -.03em; }
.step-card > p { margin: 12px 0 28px; color: var(--muted); font-size: .94rem; }
.mini-ui { position: absolute; right: 24px; bottom: 24px; left: 24px; min-height: 86px; padding: 18px; border: 1px solid var(--line); background: #f7f4ef; border-radius: 13px; }
.speech-ui { display: flex; justify-content: center; align-items: center; gap: 6px; }
.speech-ui span { width: 30px; height: 30px; border: 8px solid var(--indigo); border-top-color: transparent; border-radius: 50%; transform: rotate(45deg); }
.speech-ui i { display: block; width: 3px; height: 14px; background: var(--lavender); border-radius: 5px; }
.speech-ui i:nth-child(2n) { height: 29px; }
.speech-ui i:nth-child(3n) { height: 21px; }
.question-ui span { color: #555268; font-size: .78rem; }
.question-ui div { display: flex; gap: 7px; margin-top: 9px; }
.question-ui button { padding: 5px 11px; color: var(--indigo); border: 1px solid #cfcae9; background: #fff; border-radius: 20px; font-size: .7rem; }
.timeline-ui { overflow: hidden; background: linear-gradient(120deg, #4d4a81, #c18b91); }
.timeline-ui b { position: absolute; inset: 0; background: linear-gradient(transparent, rgba(16,17,43,.3)); }
.timeline-ui span { position: absolute; right: 0; bottom: 0; left: 0; height: 5px; background: rgba(255,255,255,.28); }
.timeline-ui span::before { content: ""; display: block; width: 62%; height: 100%; background: white; }
.timeline-ui i { position: absolute; top: 36%; left: 47%; width: 30px; height: 30px; border: 10px solid rgba(255,255,255,.8); border-top-color: transparent; border-radius: 50%; transform: rotate(45deg); }

.clarity-card { display: grid; grid-template-columns: auto 1.1fr .9fr; align-items: center; gap: 28px; margin-top: 82px; padding: 38px; background: #efecfa; border-radius: 22px; }
.clarity-icon { display: grid; place-items: center; width: 62px; height: 62px; color: white; background: var(--indigo); border-radius: 50%; font: italic 1.5rem Georgia, serif; }
.clarity-card p { margin: 9px 0 0; color: var(--muted); font-size: .9rem; }
.chat-preview { display: flex; flex-direction: column; gap: 9px; }
.chat-preview p { max-width: 88%; margin: 0; padding: 10px 13px; background: white; border-radius: 13px 13px 13px 3px; font-size: .76rem; box-shadow: 0 5px 14px rgba(43,37,87,.06); }
.chat-preview .chat-user { align-self: flex-end; background: var(--indigo); color: white; border-radius: 13px 13px 3px 13px; }
.chat-agent span { color: var(--peach); }

.cost-section { background: #edeaf5; }
.cost-layout { display: grid; grid-template-columns: 1fr 440px; align-items: center; gap: 100px; }
.cost-layout .section-heading { margin: 0; }
.pricing-note { padding-left: 18px; border-left: 2px solid var(--peach); font-size: .9rem !important; }
.pricing-card { position: relative; padding: 42px; background: var(--paper); border: 1px solid rgba(255,255,255,.8); border-radius: 28px; box-shadow: var(--shadow); }
.pricing-badge { position: absolute; top: 22px; right: 22px; padding: 5px 10px; color: var(--indigo); background: #eeeafa; border-radius: 99px; font-size: .6rem; font-weight: 800; letter-spacing: .1em; }
.plan-name { margin: 0 0 18px; color: var(--muted); font-weight: 700; }
.price { display: flex; align-items: baseline; gap: 9px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.price strong { font: 700 3.4rem/1 var(--display); letter-spacing: -.06em; }
.price span { color: var(--muted); }
.pricing-card ul { display: grid; gap: 14px; margin: 28px 0; padding: 0; list-style: none; }
.pricing-card li { color: #4b4a5c; }
.pricing-card li span { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; color: var(--indigo); background: #eeeafa; border-radius: 50%; font-size: .7rem; }
.button-full { width: 100%; }

.signup-section { padding-block: 110px; }
.signup-panel { position: relative; display: grid; grid-template-columns: .7fr 1.3fr; min-height: 460px; overflow: hidden; color: white; background: #282a67; border-radius: 32px; box-shadow: 0 30px 80px rgba(35,34,87,.2); }
.signup-art { position: relative; overflow: hidden; background: linear-gradient(145deg, #393b80, #2b2d6a); }
.ring { position: absolute; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.ring-one { top: 15%; left: 3%; width: 320px; height: 320px; }
.ring-two { top: 28%; left: 15%; width: 220px; height: 220px; }
.signup-moon { position: absolute; top: 33%; left: 31%; width: 100px; height: 100px; background: #f6d3b0; border-radius: 50%; box-shadow: 0 0 60px rgba(246,211,176,.25); }
.signup-moon::after { content: ""; position: absolute; top: -12px; left: 20px; width: 100px; height: 100px; background: #323474; border-radius: 50%; }
.signup-star { position: absolute; top: 23%; right: 16%; color: #f1b584; font-size: 2rem; }
.signup-copy { align-self: center; padding: 65px 70px; }
.eyebrow.light { color: #c4bdec; }
.signup-copy h2 { color: white; font-size: clamp(2.4rem, 4vw, 3.9rem); }
.signup-copy h2 em { color: #e8b184; }
.signup-copy > p { max-width: 620px; color: rgba(255,255,255,.67); }
.registration-form { display: flex; max-width: 580px; margin-top: 28px; padding: 5px; background: white; border-radius: 999px; }
.registration-form input { min-width: 0; flex: 1; padding: 0 20px; color: var(--ink); border: 0; outline: 0; background: transparent; }
.registration-form button { min-height: 48px; padding: 0 22px; color: white; border: 0; background: var(--indigo); border-radius: 999px; font-weight: 700; cursor: pointer; }
.registration-form button:disabled { cursor: wait; opacity: .65; }
.password-form { display: grid; max-width: 580px; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-top: 28px; }
.password-form[hidden], .registration-form[hidden] { display: none; }
.password-form label { color: rgba(255,255,255,.8); font-size: .78rem; font-weight: 700; }
.password-form input { min-width: 0; min-height: 48px; padding: 0 16px; color: var(--ink); border: 2px solid transparent; border-radius: 12px; outline: 0; }
.password-form input:focus { border-color: #bdb5ee; }
.password-form button { grid-column: 1 / -1; min-height: 48px; margin-top: 6px; color: white; border: 0; background: var(--indigo); border-radius: 999px; font-weight: 700; cursor: pointer; }
.password-form button:disabled { cursor: wait; opacity: .65; }
.signin-form { display: grid; max-width: 580px; gap: 8px; margin-top: 28px; }
.signin-form[hidden] { display: none; }
.signin-form > label:not(.remember-option) { color: rgba(255,255,255,.8); font-size: .78rem; font-weight: 700; }
.signin-form > input { min-height: 48px; padding: 0 16px; color: var(--ink); border: 2px solid transparent; border-radius: 12px; outline: 0; }
.signin-form > input:focus { border-color: #bdb5ee; }
.signin-form button[type="submit"] { min-height: 48px; margin-top: 6px; color: white; border: 0; background: var(--indigo); border-radius: 999px; font-weight: 700; cursor: pointer; }
.signin-form button:disabled { cursor: wait; opacity: .65; }
.remember-option { display: flex; align-items: center; gap: 8px; margin-block: 5px; color: rgba(255,255,255,.76); font-size: .8rem; }
.remember-option input { width: 17px; height: 17px; accent-color: var(--lavender); }
.account-switch { margin: 16px 0 0 !important; color: rgba(255,255,255,.72) !important; font-size: .82rem; }
.account-switch[hidden] { display: none; }
.account-switch button { padding: 0; color: #f3c79f; border: 0; background: transparent; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.account-session-action { margin-top: 18px; padding: 10px 18px; color: white; border: 1px solid rgba(255,255,255,.35); background: transparent; border-radius: 999px; font-weight: 700; cursor: pointer; }
.account-session-action[hidden] { display: none; }
.form-note, .signup-copy .form-note { margin: 11px 0 0; font-size: .73rem; }
.form-status { min-height: 1.5em; margin: 10px 0 -4px; color: #f3c79f !important; font-size: .82rem; font-weight: 600; }

.site-footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px 40px; padding: 55px max(24px, calc((100vw - 1180px)/2)); color: #777386; background: #f2eee7; border-top: 1px solid var(--line); font-size: .83rem; }
.footer-brand { color: var(--ink); }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; grid-row: 1 / 3; grid-column: 2; gap: 24px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: var(--indigo); }
.copyright { font-size: .72rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 140px; }
  .dream-visual { min-height: 510px; }
  .promise-strip { grid-template-columns: 1fr; gap: 18px; }
  .promise-strip > div { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .steps { grid-template-columns: 1fr; }
  .step-card, .step-card:nth-child(2) { min-height: 350px; transform: none; }
  .clarity-card { grid-template-columns: auto 1fr; }
  .chat-preview { grid-column: 1 / -1; }
  .cost-layout { grid-template-columns: 1fr; gap: 50px; }
  .pricing-card { max-width: 520px; }
  .signup-panel { grid-template-columns: 1fr; }
  .signup-art { min-height: 260px; }
  .signup-copy { padding: 50px; }
}

@media (max-width: 680px) {
  .section-shell { width: min(100% - 32px, 1180px); }
  .site-header { height: 68px; padding-inline: 16px; }
  .menu-button { display: block; cursor: pointer; }
  .primary-nav { position: absolute; top: 68px; right: 12px; left: 12px; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 10px 14px; }
  .primary-nav .nav-cta { text-align: center; }
  .hero { min-height: auto; padding-top: 118px; gap: 20px; }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-intro { font-size: 1rem; }
  .dream-visual { min-height: 410px; }
  .moon-glow { right: 0; width: 330px; height: 330px; }
  .dream-card-back { width: 205px; }
  .dream-card-main { top: 115px; width: 90%; }
  .card-scene { height: 220px; }
  .section { padding-block: 82px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2 { font-size: 2.8rem; }
  .step-card { padding: 28px; }
  .clarity-card { grid-template-columns: 1fr; margin-top: 42px; padding: 28px; }
  .pricing-card { padding: 30px 24px; }
  .signup-section { padding-block: 70px; }
  .signup-panel { border-radius: 24px; }
  .signup-copy { padding: 38px 24px; }
  .registration-form { flex-direction: column; padding: 7px; border-radius: 18px; }
  .registration-form input { min-height: 46px; }
  .registration-form button { width: 100%; }
  .password-form { grid-template-columns: 1fr; }
  .password-form button { grid-column: 1; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { grid-column: 1; grid-row: auto; flex-wrap: wrap; gap: 14px 22px; }
}
