/* Elie landing page. Brand: lavender + warm orange, Plus Jakarta Sans + Newsreader. */
:root {
  --ink: #14121c; --muted: #64607a; --line: #ece8f3;
  --purple: #7b57e4; --purple-d: #5b3fcb; --lav: #efe6ff; --peach: #f6b38a; --orange: #f2a65a;
  --bg: #fdfbff; --card: #ffffff;
  --radius: 28px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 "Plus Jakarta Sans", -apple-system, sans-serif; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; }
.serif-i { font-family: "Newsreader", Georgia, serif; font-style: italic; font-weight: 400; }
.grad { background: linear-gradient(90deg, #7b57e4, #c06ad8 50%, #f2a65a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-weight: 700; color: var(--purple); margin: 0 0 14px; }
.eyebrow.light { color: #e7dcff; }

/* Nav */
.nav { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 4px;
  padding: 6px; background: rgba(255,255,255,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(20,18,28,.06); border-radius: 999px; box-shadow: 0 10px 30px rgba(60,40,120,.10); }
.nav a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 999px; transition: background .25s, color .25s; }
.nav a:hover { background: var(--lav); }
.nav a.active { background: var(--purple); color: #fff; }
.nav-logo { padding: 2px !important; }
.nav-logo img { width: 34px; height: 34px; border-radius: 10px; }
.nav-cta { background: var(--ink); color: #fff; }
.nav-cta:hover { background: #2b2640 !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 15px 24px; border-radius: 999px; transition: transform .2s, box-shadow .2s, background .2s; border: 0; cursor: pointer; }
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(20,18,28,.22); }
.btn-ghost { background: #fff; border: 1.5px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.btn-light { background: #fff; color: var(--purple-d); }
.btn.full { width: 100%; }

/* Hero */
.hero { position: relative; text-align: center; padding: 130px 20px 0; overflow: hidden; background: var(--bg); }
.hero > *:not(.hero-sky):not(.float):not(.sparkle) { position: relative; z-index: 1; }
.hero-sub { color: #3d3657 !important; text-shadow: 0 1px 12px rgba(255,255,255,.7); }
.hero-title { position: relative; font-size: clamp(54px, 10vw, 128px); line-height: .95; font-weight: 800; letter-spacing: -0.045em; }
.hero-sub { position: relative; max-width: 560px; margin: 22px auto 0; color: var(--muted); font-size: 19px; }
.hero-actions { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.float { position: absolute; pointer-events: none; filter: drop-shadow(0 18px 30px rgba(120,80,200,.18)); }
/* The painting is the whole hero background; only its last edge fades into the page. */
.hero-sky { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 72%; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 90%, transparent 100%); mask-image: linear-gradient(180deg, #000 90%, transparent 100%); }
.sun { width: 210px; top: 100px; left: max(3vw, 10px); animation: sunFloat 14s ease-in-out infinite; }
.moon { width: 180px; top: 110px; right: max(4vw, 10px); animation: moonFloat 11s ease-in-out infinite; }
@keyframes sunFloat { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(10px,-22px) rotate(14deg); } }
@keyframes moonFloat { 0%,100% { transform: translate(0,0) rotate(-4deg); } 50% { transform: translate(-12px,-18px) rotate(6deg); } }
.sparkle { position: absolute; color: var(--purple); opacity: .6; animation: twinkle 3.2s ease-in-out infinite; }
.s1 { top: 300px; left: 14%; font-size: 22px; } .s2 { top: 230px; right: 18%; font-size: 16px; color: var(--orange); animation-delay: -1s; }
.s3 { top: 420px; right: 9%; font-size: 26px; animation-delay: -2s; }
@keyframes drift { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(3deg); } }
@keyframes twinkle { 0%,100% { opacity: .2; transform: scale(.8); } 50% { opacity: .8; transform: scale(1.15); } }

.hero-stage { position: relative; max-width: 1100px; margin: 56px auto 0; height: 700px; }
.scene-unused { position: absolute; inset: auto 0 0 0; width: 100%; height: 640px; object-fit: cover; object-position: center 30%;
  border-radius: 40px 40px 0 0; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); }
.hero-stage .hero-phone { position: absolute; left: 50%; top: 0; width: 300px; transform: translateX(-50%); }

.chip { position: absolute; background: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 14px;
  box-shadow: 0 12px 30px rgba(60,40,120,.16); animation: drift 7s ease-in-out infinite; }
.chip-a { left: calc(50% - 330px); top: 170px; }
.chip-b { left: calc(50% + 180px); top: 380px; animation-delay: -3s; }

/* Phone frame */
.phone { position: relative; border-radius: 46px; padding: 10px; background: #14121c; box-shadow: 0 30px 70px rgba(50,30,110,.28), inset 0 0 0 2px #3a3550; }
.phone img { border-radius: 37px; width: 100%; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 30%; height: 22px; background: #14121c; border-radius: 20px; z-index: 2; }

/* Marquee */
.marquee { overflow: hidden; background: var(--ink); color: #fff; padding: 18px 0; transform: rotate(-1.5deg); margin: 40px -10px 0; }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: scroll 32s linear infinite; font-size: 22px; font-weight: 700; white-space: nowrap; }
.marquee i { color: var(--peach); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { max-width: 1140px; margin: 0 auto; padding: 120px 20px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 70px; }
.section-head h2 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; font-weight: 800; }
.lead { color: var(--muted); font-size: 19px; margin: 18px 0 0; }

/* Features */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 120px; }
.feature.flip .feature-text { order: 2; }
.tag { display: inline-block; background: var(--lav); color: var(--purple-d); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; margin: 0 0 16px; }
.feature h3 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; font-weight: 800; margin-bottom: 16px; }
.feature-text > p { color: var(--muted); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; }
.ticks li { position: relative; padding-left: 32px; margin: 10px 0; font-weight: 600; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--purple); color: #fff; font-size: 12px; display: grid; place-items: center; }
.feature-media { position: relative; height: 640px; border-radius: 40px;
  background: radial-gradient(circle at 30% 30%, #efe6ff, #fbe7f1 55%, #fff1e3); display: grid; place-items: center; overflow: hidden; }
.feature-media .phone { width: 270px; z-index: 2; }
.phone-back { position: absolute !important; width: 230px !important; z-index: 1 !important; transform: translateX(-120px) rotate(-8deg) scale(.92); opacity: .9; }
.phone-back.right { transform: translateX(120px) rotate(8deg) scale(.92); }
.feature-media .phone:not(.phone-back) { transform: translateX(50px); }
.feature.flip .feature-media .phone:not(.phone-back) { transform: translateX(-50px); }

/* Tilt-in on scroll (set by JS) */
.tilt, .tilt-l, .tilt-r { transition: transform .9s cubic-bezier(.2,.8,.2,1); }

/* Carousel */
.carousel { position: relative; }
.car-track { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px max(20px, calc(50% - 140px)) 40px; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 260px; margin: 0; scroll-snap-align: center; text-align: center; transition: transform .5s, opacity .5s; opacity: .55; transform: scale(.88); }
.slide.on { opacity: 1; transform: scale(1); }
.slide figcaption { margin-top: 18px; font-weight: 700; }
.car-btn { position: absolute; top: 45%; z-index: 3; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff;
  font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 3px 0 var(--ink); }
.car-btn.prev { left: max(10px, calc(50% - 260px)); } .car-btn.next { right: max(10px, calc(50% - 260px)); }
.car-dots { display: flex; gap: 8px; justify-content: center; }
.car-dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; background: #dcd3ee; padding: 0; cursor: pointer; transition: width .3s, background .3s; }
.car-dots button.on { width: 26px; background: var(--purple); }

/* Widgets */
.widgets-card { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; overflow: hidden;
  border-radius: 44px; padding: 70px; color: #fff; background: linear-gradient(140deg, #2a2160, #5b3fcb 55%, #b26bd6); }
.widgets-card h2 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.05; font-weight: 800; }
.widgets-text > p { color: #e5dcff; font-size: 18px; }
.swatches { display: flex; gap: 10px; margin-top: 24px; }
.sw { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); }
.sw.lav { background: linear-gradient(135deg, #8a6bea, #5b3fcb); } .sw.pas { background: linear-gradient(135deg, #efe6ff, #e6ecff); }
.sw.night { background: #1d1745; } .sw.clear { background: transparent; border-style: dashed; }
.widget-demo { display: grid; gap: 14px; }
.w { border-radius: 24px; padding: 16px 18px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.w small { font-size: 11px; letter-spacing: .14em; font-weight: 700; opacity: .8; }
.w p { margin: 0; font-family: "Newsreader", Georgia, serif; font-size: 22px; line-height: 1.2; transition: opacity .5s; }
.w-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.w-small p { font-size: 17px; }
.w.lav { background: linear-gradient(135deg, #8a6bea, #5b3fcb); }
.w.pas { background: linear-gradient(135deg, #efe6ff, #f9eef7, #e6ecff); color: #2a2140; }
.w.night { background: radial-gradient(circle at 80% 15%, rgba(255,255,255,.6) 0 1px, transparent 2px), radial-gradient(circle at 90% 75%, rgba(255,255,255,.5) 0 1px, transparent 2px), linear-gradient(135deg, #2a2160, #120e2c); }
.widgets-phone { display: none; }

/* Steps */
.step-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 10px 30px rgba(60,40,120,.06); }
.step-list b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lav); color: var(--purple-d); font-size: 18px; margin-bottom: 18px; }
.step-list h4 { font-size: 21px; margin-bottom: 8px; }
.step-list p { color: var(--muted); margin: 0; }

/* Pricing */
.toggle { display: inline-flex; margin-top: 28px; padding: 5px; border-radius: 999px; background: #f1ecfa; }
.toggle button { border: 0; background: transparent; font: inherit; font-weight: 700; padding: 10px 20px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.toggle button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 12px rgba(60,40,120,.12); }
.toggle em { font-style: normal; font-size: 12px; color: #1f7a44; background: #e6f4ec; padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 24px; justify-content: center; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 34px; box-shadow: 0 14px 40px rgba(60,40,120,.08); display: flex; flex-direction: column; }
.plan .ticks { flex: 1; margin-bottom: 28px; }
.plan-name { font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; margin: 0; }
.price { font-size: 56px; font-weight: 800; letter-spacing: -0.04em; margin: 8px 0 0; line-height: 1; }
.per { color: var(--muted); margin: 6px 0 0; }
.plan.featured { color: #fff; border: 0; background: linear-gradient(150deg, #8a6bea, #5b3fcb 60%, #3b2a8f); transform: translateY(-12px); }
.plan.featured .per { color: #e2d8ff; }
.plan.featured .ticks li::before { background: #fff; color: var(--purple-d); }
.badge { position: absolute; top: 24px; right: 24px; background: var(--orange); color: #3a1d00; font-weight: 800; font-size: 12px; padding: 6px 12px; border-radius: 999px; }
.fine { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq-list summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 19px; padding: 18px 40px 18px 0; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 28px; color: var(--purple); transition: transform .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { color: var(--muted); margin: 0 0 18px; }

/* Final */
.final { padding-bottom: 100px; }
.final-card { position: relative; overflow: hidden; text-align: center; border-radius: 44px; padding: 90px 30px;
  background: linear-gradient(180deg, #f1e9ff, #fbeef6 60%, #fff3e6); }
.final-card h2 { font-size: clamp(34px, 5vw, 58px); line-height: 1.05; font-weight: 800; max-width: 760px; margin: 22px auto 14px; }
.final-card p { color: var(--muted); font-size: 19px; margin: 0 0 30px; }
.final-icon { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto; box-shadow: 0 18px 40px rgba(123,87,228,.3); }
.final-doodle { position: absolute; width: 300px; right: -20px; bottom: -30px; opacity: .55; pointer-events: none; }

/* Footer */
.foot { max-width: 1140px; margin: 0 auto; padding: 30px 20px 50px; display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 18px; }
.foot-brand img { width: 30px; height: 30px; border-radius: 8px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { color: var(--muted); text-decoration: none; } .foot a:hover { color: var(--purple); }
.foot p { margin: 0; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .nav a:not(.nav-logo):not(.nav-cta) { display: none; }
  .feature { grid-template-columns: 1fr; gap: 30px; margin-bottom: 80px; }
  .feature.flip .feature-text { order: 0; }
  .feature-media { height: 540px; }
  .feature-media .phone { width: 230px; }
  .phone-back { width: 190px !important; }
  .widgets-card { grid-template-columns: 1fr; padding: 40px 24px; }
  .step-list { grid-template-columns: 1fr; }
  .plans { grid-template-columns: minmax(0, 420px); }
  .plan.featured { transform: none; }
  .hero-stage { height: 620px; }
  .scene { height: 460px; }
  .hero-phone { width: 250px; }
  .chip-a { left: 6px; top: 120px; } .chip-b { left: auto; right: 6px; top: 330px; }
  .sun { width: 130px; } .moon { width: 110px; }
  .section { padding-top: 90px; }
}
@media (max-width: 480px) {
  .hero { padding-top: 110px; }
  .hero-sub { font-size: 17px; }
  .chip { display: none; }
  .sun { width: 92px; top: 72px; } .moon { width: 78px; top: 78px; }
  .sun { left: -14px; } .moon { right: -14px; }
  .car-btn { display: none; }
  .final-doodle { width: 180px; opacity: .35; }
}

@media (min-width: 901px) {
  /* The women on the hill point at the star in the middle; the phone stands to their right. */
  .hero-stage { max-width: none; }
  .hero-stage .hero-phone { left: auto; right: max(2vw, calc(50% - 600px)); transform: none; }
  .hero-stage .chip-a { left: max(2vw, calc(50% - 600px)); right: auto; top: 300px; }
  .hero-stage .chip-b { left: auto; right: max(1vw, calc(50% - 640px)); top: 470px; }
}

/* Invite program */
.invite-card { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center; border-radius: 44px; padding: 60px;
  background: linear-gradient(140deg, #fff3e6, #fbeef6 55%, #efe6ff); overflow: hidden; }
.invite-text h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; font-weight: 800; }
.invite-text > p { color: var(--muted); font-size: 18px; }
.invite-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.invite-steps li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.invite-steps b { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--purple-d); box-shadow: 0 4px 12px rgba(60,40,120,.1); }
.invite-art { position: relative; min-height: 300px; display: grid; place-items: center; }
.ticket-float { width: min(100%, 520px); filter: drop-shadow(0 26px 40px rgba(140,90,60,.25)); animation: ticket 7s ease-in-out infinite; }
@keyframes ticket { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-18px) rotate(-2deg); } }
.t1 { top: 6%; left: 8%; font-size: 26px; color: var(--orange); } .t2 { bottom: 10%; right: 6%; font-size: 20px; }

/* Brand doodles in open space */
.section { position: relative; }
.doodle { position: absolute; pointer-events: none; opacity: .22; z-index: 0; animation: drift 12s ease-in-out infinite; }
.section > *:not(.doodle) { position: relative; z-index: 1; }
.d-ritual { width: 230px; top: 70px; left: -40px; }
.d-steps { width: 220px; top: 40px; right: -20px; animation-delay: -4s; }
.d-faq { width: 260px; top: 120px; left: -60px; animation-delay: -7s; }
.d-price { width: 240px; top: 60px; right: -50px; animation-delay: -2s; }
@media (max-width: 900px) {
  .invite-card { grid-template-columns: 1fr; padding: 36px 24px; }
  .invite-art { min-height: 200px; }
  .doodle { width: 140px !important; opacity: .16; }
}


