/* ============================================================
   Jenna Devereux — warm twilight design system
   Palette: soft lavender, peach blush, warm cream/ivory,
   deep plum text, subtle gold accents. Soft gradients.
   Type: Fraunces (display, italic accents) + Inter (body).
   ============================================================ */

:root {
  /* warm twilight palette */
  --plum:        #2e1f3a;   /* deep plum — primary text */
  --plum-soft:   #5b4a68;   /* muted plum */
  --plum-light:  #8b7a98;   /* faint plum */
  --lavender:    #c9b6e8;   /* soft lavender */
  --lavender-dp: #9d83c9;   /* deeper lavender accent */
  --peach:       #f6c9a8;   /* peach blush */
  --peach-dp:    #e9a47e;   /* deeper peach */
  --gold:        #c9a24b;   /* subtle gold */
  --gold-light:  #e3c887;
  --cream:       #fdf7f0;   /* warm cream / ivory background */
  --cream-2:     #faeee2;   /* slightly deeper cream card */
  --white:       #fffdfa;
  --border:      #efe1d4;
  --shadow-soft: 0 18px 50px -24px rgba(70, 40, 80, 0.35);
  --shadow-card: 0 10px 30px -16px rgba(70, 40, 80, 0.28);
  --radius:      28px;
  --radius-sm:   18px;
  --radius-pill: 999px;
  --maxw:        1080px;

  --grad-twilight: linear-gradient(160deg, #3a2550 0%, #6a4a7e 38%, #b88aa0 70%, #f3c4a3 100%);
  --grad-soft:     linear-gradient(145deg, #faeee2 0%, #f3e3ef 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--plum);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

/* ---------- typography ---------- */
.display {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.italic { font-style: italic; }

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender-dp);
}

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5.5rem 0; }
.center { text-align: center; }

.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0.6rem 0 0.9rem; }
.section-head p { color: var(--plum-soft); font-size: 1.05rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--lavender-dp) 0%, var(--peach-dp) 100%);
  box-shadow: 0 14px 34px -14px rgba(157, 131, 201, 0.75);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(157, 131, 201, 0.85); filter: saturate(1.05); }
.btn-ghost {
  color: var(--plum);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-2px); background: #fff; }

/* ---------- navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 247, 240, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand .mark { width: 34px; height: 34px; }
.brand .name { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 500; color: var(--plum); letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { text-decoration: none; color: var(--plum-soft); font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--lavender-dp); }
.nav-links .btn { padding: 0.6rem 1.4rem; font-size: 0.92rem; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-twilight);
  color: #fff;
  padding: 6rem 0 7rem;
  isolation: isolate;
}
.hero::after {
  /* soft cream fade into next section */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 120px;
  background: linear-gradient(to bottom, rgba(253,247,240,0), var(--cream));
  z-index: 3;
}
.hero-inner { position: relative; z-index: 4; max-width: 820px; margin: 0 auto; padding: 0 1.5rem; text-align: center; }
.hero .eyebrow { color: var(--gold-light); }
.hero .persona-name {
  display: inline-block; margin-top: 1rem;
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 400;
  font-size: 1.15rem; letter-spacing: 0.04em; color: var(--peach);
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.3rem);
  margin: 0.5rem auto 1.3rem;
  max-width: 14ch;
  color: #fff;
}
.hero h1 em { font-style: italic; color: var(--peach); }
.hero p.lede { font-size: 1.2rem; max-width: 36ch; margin: 0 auto 2.2rem; color: rgba(255,255,255,0.9); line-height: 1.6; }
.hero-cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn-ghost { color: #fff; background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.3); }
.hero-cta .btn-ghost:hover { background: rgba(255,255,255,0.24); }
.hero-note { margin-top: 1.4rem; font-size: 0.85rem; color: rgba(255,255,255,0.7); }

/* celestial motif — moon + stars, pure CSS, no faces */
.celestial { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.moon {
  position: absolute; top: 12%; right: 11%;
  width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6e9, #f3d9b5 60%, #e9bf91);
  box-shadow: 0 0 70px 14px rgba(246, 201, 168, 0.45);
  opacity: 0.92;
  animation: float 9s ease-in-out infinite;
}
.moon::after {
  content: ""; position: absolute; top: -6%; right: -6%;
  width: 105px; height: 105px; border-radius: 50%;
  background: #4a3563; box-shadow: 0 0 30px 6px rgba(58,37,80,0.4);
}
.star { position: absolute; background: #fff; border-radius: 50%; opacity: 0.9; animation: twinkle 4s ease-in-out infinite; }
.star.s1 { width: 4px; height: 4px; top: 22%; left: 18%; animation-delay: 0s; }
.star.s2 { width: 3px; height: 3px; top: 38%; left: 30%; animation-delay: 1.1s; }
.star.s3 { width: 5px; height: 5px; top: 16%; left: 46%; animation-delay: 0.6s; }
.star.s4 { width: 3px; height: 3px; top: 30%; left: 64%; animation-delay: 1.8s; }
.star.s5 { width: 4px; height: 4px; top: 52%; left: 12%; animation-delay: 0.4s; }
.star.s6 { width: 3px; height: 3px; top: 60%; left: 80%; animation-delay: 1.4s; }
.star.s7 { width: 2px; height: 2px; top: 44%; left: 88%; animation-delay: 2.2s; }
.star.s8 { width: 4px; height: 4px; top: 68%; left: 40%; animation-delay: 0.9s; }

@keyframes twinkle { 0%,100% { opacity: 0.25; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.reveal { animation: fadeUp 0.9s cubic-bezier(.2,.7,.2,1) both; }

@media (prefers-reduced-motion: reduce) {
  .moon, .star, .reveal { animation: none !important; }
}

/* ---------- intro / who I am ---------- */
.intro { background: var(--cream); }
.intro-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: center; }
.intro-visual {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 360px; background: var(--grad-twilight);
  box-shadow: var(--shadow-soft);
  display: grid; place-items: center;
}
.intro-visual .glyph {
  font-family: 'Fraunces', serif; font-style: italic; font-size: 5rem; color: rgba(255,255,255,0.92);
  text-shadow: 0 4px 30px rgba(0,0,0,0.25);
}
.intro-visual .moon-sm {
  position: absolute; top: 16%; left: 18%; width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6e9, #e9bf91); box-shadow: 0 0 30px 6px rgba(246,201,168,0.5);
}
.intro-visual .star { position: absolute; }
.intro-visual .v-s1 { top: 28%; right: 22%; width: 4px; height: 4px; }
.intro-visual .v-s2 { bottom: 26%; left: 30%; width: 3px; height: 3px; }
.intro-visual .v-s3 { bottom: 34%; right: 30%; width: 5px; height: 5px; }
.intro-text h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0.5rem 0 1.1rem; }
.intro-text p { color: var(--plum-soft); margin-bottom: 1rem; font-size: 1.05rem; }
.intro-sign { margin-top: 1.3rem; font-family: 'Fraunces', serif; font-style: italic; font-size: 1.6rem; color: var(--lavender-dp); }
@media (max-width: 820px) { .intro-grid { grid-template-columns: 1fr; gap: 2rem; } .intro-visual { min-height: 260px; } }

/* ---------- help cards ---------- */
.help { background: var(--grad-soft); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 1.8rem 1.5rem; box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -22px rgba(70,40,80,0.4); }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--peach) 100%);
}
.card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.card p { color: var(--plum-soft); font-size: 0.95rem; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* ---------- how it works ---------- */
.steps-wrap { background: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; counter-reset: step; }
.step {
  position: relative; background: var(--cream-2); border-radius: var(--radius-sm);
  padding: 2.2rem 1.6rem 1.8rem; border: 1px solid var(--border);
}
.step .num {
  font-family: 'Fraunces', serif; font-style: italic; font-size: 2.6rem;
  color: var(--lavender-dp); line-height: 1; margin-bottom: 0.8rem; display: block;
}
.step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.step p { color: var(--plum-soft); font-size: 0.97rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- testimonials ---------- */
.testimonials { background: var(--grad-soft); }
.tgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.tcard {
  background: var(--white); border-radius: var(--radius-sm); padding: 1.8rem;
  border: 1px solid var(--border); box-shadow: var(--shadow-card);
}
.tcard .stars { color: var(--gold); font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 0.7rem; }
.tcard blockquote { font-size: 1.02rem; color: var(--plum); line-height: 1.65; }
.tcard .who { margin-top: 1rem; font-weight: 600; color: var(--plum-soft); font-size: 0.92rem; }
.tcard .who span { font-weight: 400; color: var(--plum-light); }
@media (max-width: 720px) { .tgrid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq-list { max-width: 760px; margin: 0 auto; }
details.q {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0 1.4rem; margin-bottom: 0.9rem; box-shadow: var(--shadow-card);
  overflow: hidden;
}
details.q summary {
  list-style: none; cursor: pointer; padding: 1.25rem 0;
  font-family: 'Fraunces', serif; font-size: 1.18rem; color: var(--plum);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; font-family: 'Inter'; font-size: 1.5rem; color: var(--lavender-dp); transition: transform 0.25s; }
details.q[open] summary::after { transform: rotate(45deg); }
details.q p { color: var(--plum-soft); padding: 0 0 1.3rem; font-size: 0.98rem; }

/* ---------- final CTA ---------- */
.cta-band { background: var(--grad-twilight); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 1rem; color: #fff; }
.cta-band h2 em { font-style: italic; color: var(--peach); }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 44ch; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta-band .moon { top: -30px; right: 8%; }

/* ---------- footer ---------- */
.footer { background: #221830; color: #cdbfd9; padding: 3.5rem 0 2.5rem; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.footer-top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.footer .brand .name { color: #fff; }
.footer .tagline { color: #9b89aa; font-size: 0.92rem; margin-top: 0.6rem; max-width: 30ch; }
.footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem 1.6rem; }
.footer nav a { color: #cdbfd9; text-decoration: none; font-size: 0.92rem; transition: color 0.2s; }
.footer nav a:hover { color: var(--peach); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; font-size: 0.82rem; color: #8a7a99; }
.footer-bottom .disclaimer { max-width: 60ch; }

/* ---------- legal / inner pages ---------- */
.legal-main { max-width: 720px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.legal-main h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 0.4rem; }
.legal-main .updated { color: var(--plum-light); font-size: 0.9rem; margin-bottom: 2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--border); }
.legal-main h2 { font-size: 1.2rem; margin-top: 2rem; margin-bottom: 0.6rem; color: var(--plum); }
.legal-main p, .legal-main li { color: var(--plum-soft); font-size: 0.97rem; margin-bottom: 0.6rem; }
.legal-main ul { margin: 0 0 1rem 1.3rem; }
.legal-main a { color: var(--lavender-dp); font-weight: 600; text-decoration: none; }
.legal-main a:hover { text-decoration: underline; }
.legal-main .guarantee {
  background: var(--grad-soft); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 1.1rem 1.4rem; margin: 1.4rem 0;
}
.legal-main .guarantee p { color: var(--lavender-dp); font-weight: 600; margin: 0; }

/* ---------- contact page ---------- */
.contact-main { max-width: 640px; margin: 0 auto; padding: 4rem 1.5rem 5rem; text-align: center; }
.contact-main h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.contact-main .lede { color: var(--plum-soft); font-size: 1.1rem; margin-bottom: 2.5rem; }
.contact-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.5rem 2rem; box-shadow: var(--shadow-soft); text-align: left;
}
.contact-card h2 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.contact-card p { color: var(--plum-soft); margin-bottom: 1.4rem; }
.contact-card .email-row { display: flex; align-items: center; gap: 0.6rem; font-size: 1.1rem; margin-bottom: 1.8rem; }
.contact-card .email-row a { color: var(--lavender-dp); font-weight: 600; text-decoration: none; }
.contact-divider { border: none; border-top: 1px solid var(--border); margin: 1.8rem 0; }

/* simple top bar for inner pages */
.topbar { background: rgba(253,247,240,0.9); border-bottom: 1px solid var(--border); }
.topbar-inner { max-width: 720px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.topbar .back { color: var(--plum-light); text-decoration: none; font-size: 0.9rem; }
.topbar .back:hover { color: var(--lavender-dp); }
