/* Manimosis — manimosis.com
   Light, ethereal dawn: lavender + blush + gold on luminous cream.
   Display: Fraunces. Body: Inter. */

:root {
  --bg: #fbf8ff;
  --bg-2: #f4edfb;
  --surface: #ffffff;
  --surface-2: #f7f1fe;
  --line: rgba(109, 75, 224, .14);
  --violet: #6d4be0;         /* accent / links — reads on white */
  --violet-bright: #a78bfa;  /* glows & gradients */
  --violet-deep: #4a2fb0;
  --gold: #e0a52f;
  --gold-soft: #b57e1c;      /* gold used as TEXT — deepened for contrast on light */
  --rose: #f2a8c4;
  --peach: #ffd6a8;
  --text: #2b2447;           /* deep plum ink */
  --muted: #6d6690;
  --radius: 18px;
  --shadow: 0 10px 40px rgba(74, 47, 176, .08);
  --shadow-soft: 0 4px 20px rgba(74, 47, 176, .06);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--gold-soft); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: .6em; }
h3 { font-size: 1.18rem; margin-bottom: .35em; }
h1 em, h2 em { font-style: italic; color: var(--gold-soft); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 26px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--text); }
.brand-mark { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 999px;
  font-weight: 600; font-size: .97rem; border: 1px solid transparent;
  transition: transform .15s, box-shadow .15s; cursor: pointer; font-family: var(--font-body);
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #d99e2b); color: #241a02; box-shadow: 0 4px 24px rgba(232, 182, 76, .25); }
.btn-gold:hover { color: #241a02; box-shadow: 0 6px 30px rgba(232, 182, 76, .4); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(167, 139, 250, .06); }
.btn-ghost:hover { color: var(--text); border-color: var(--violet); }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; }
.btn[disabled] { opacity: .55; cursor: wait; transform: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; padding: 96px 0 72px; overflow: hidden;
  background:
    radial-gradient(1100px 480px at 78% -12%, rgba(167, 139, 250, .40), transparent 60%),
    radial-gradient(900px 520px at 8% 6%, rgba(242, 168, 196, .34), transparent 55%),
    radial-gradient(820px 500px at 52% 118%, rgba(255, 214, 168, .40), transparent 60%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 58% 18%, rgba(224,165,47,.55), transparent),
    radial-gradient(1.5px 1.5px at 88% 30%, rgba(167,139,250,.55), transparent),
    radial-gradient(1.5px 1.5px at 12% 24%, rgba(242,168,196,.5), transparent),
    radial-gradient(1px 1px at 44% 84%, rgba(224,165,47,.5), transparent),
    radial-gradient(1.5px 1.5px at 92% 76%, rgba(167,139,250,.45), transparent);
}
.hero-area { padding: 72px 0 56px; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-soft); margin-bottom: 14px;
  padding: 5px 14px; border: 1px solid rgba(232, 182, 76, .35); border-radius: 999px;
}
.hero-sub { font-size: 1.18rem; color: var(--muted); max-width: 640px; margin: 18px 0 8px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; align-items: center; position: relative; z-index: 3; }
.hero-proof { margin-top: 26px; color: var(--muted); font-size: .92rem; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }

/* ---------- hero visual (animated gold orb) ---------- */
@keyframes hv-breathe { 0%,100%{transform:scale(1)} 50%{transform:scale(1.055)} }
@keyframes hv-bloom { 0%,100%{transform:scale(1);opacity:var(--bloom-lo,.5)} 50%{transform:scale(1.12);opacity:var(--bloom-hi,.8)} }
@keyframes hv-ripple { 0%{transform:scale(.48);opacity:0} 18%{opacity:.55} 100%{transform:scale(1.85);opacity:0} }
@keyframes hv-float { 0%{transform:translate(0,0) scale(.7);opacity:0} 12%{opacity:.9} 80%{opacity:.6} 100%{transform:translate(var(--dx,12px),-160px) scale(1.05);opacity:0} }
@keyframes hv-shimmer { 0%,100%{opacity:.55} 50%{opacity:1} }

/* clip only horizontally so the enlarged orb can spill out + under the text
   without ever creating a horizontal scrollbar; vertical bleed stays visible. */
.hero-home { overflow-x: clip; overflow-y: visible; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 30px; align-items: center; }
.hero-grid .hero-copy { position: relative; z-index: 2; }
.hero-grid .hero-sub { max-width: 540px; }
.hero-visual {
  position: relative; z-index: 0; justify-self: center; align-self: center;
  width: 100%; max-width: 500px; aspect-ratio: 1 / 1; pointer-events: none;
  margin: 10px 0 -60px;            /* lower glow bleeds under the next section */
}
/* ~28% larger; overflow is visible so the breathing/ripple motion sweeps out
   of the box and (being z-index:0) passes behind the hero copy on its left. */
.hero-visual-inner { position: absolute; inset: 0; transform: scale(1.28); transform-origin: center; }
@media (prefers-reduced-motion: reduce) { .hero-visual * { animation: none !important; } }
@media (max-width: 860px) {
  /* Normal block flow (not grid) so the orb sits predictably right under the
     copy — grid's align-items:center made negative margins behave backwards. */
  .hero-grid { display: block; }
  .hero-visual {
    position: relative; width: 300px; max-width: 84%; height: 232px;
    aspect-ratio: auto; margin: -20px auto 0; z-index: 0;
  }
  .hero-visual-inner { transform: scale(0.9); }
  .hero-visual-inner > div { min-height: 0 !important; }
}

/* ---------- sections ---------- */
/* Stack sections above the hero orb (z-index:0) so its downward bleed passes
   UNDER their content instead of over it. Transparent section backgrounds still
   let the glow show through in empty areas. */
.section, .section-alt, .cta-band, .footer { position: relative; z-index: 1; }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-sub { color: var(--muted); max-width: 660px; margin: -6px 0 34px; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-soft);
}
.card p { color: var(--muted); font-size: .97rem; }
.card h3 { color: var(--text); }

/* steps */
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--violet-deep), var(--violet));
  color: #fff; font-weight: 700; font-family: var(--font-display); font-size: 1.15rem;
}

/* prose */
.prose { max-width: 760px; }
.prose p { margin-bottom: 1.1em; color: var(--text); }
.prose p, .prose li { font-size: 1.03rem; }
.prose ul, .prose ol { margin: 0 0 1.2em 1.3em; }
.prose li { margin-bottom: .5em; color: var(--muted); }
.prose li strong, .prose p strong { color: var(--text); }
.prose-link { color: var(--muted); }
.prose h3 { margin-top: 1.6em; }

/* phase list */
.phase-list { counter-reset: ph; list-style: none; max-width: 780px; }
.phase-list li {
  position: relative; padding: 18px 20px 18px 66px; margin-bottom: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  color: var(--muted);
}
.phase-list li strong { color: var(--gold-soft); }
.phase-list li::before {
  counter-increment: ph; content: counter(ph);
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(167, 139, 250, .15); color: var(--violet);
  font-weight: 700; font-family: var(--font-display);
}

/* script sample */
.script-sample {
  max-width: 720px; padding: 34px 38px; border-radius: var(--radius);
  background: linear-gradient(160deg, #f3ecff, #fdf6ee);
  border: 1px solid rgba(224, 165, 47, .35); box-shadow: var(--shadow);
}
.script-line {
  font-family: var(--font-display); font-size: 1.22rem; font-style: italic;
  color: var(--violet-deep); margin-bottom: 1em; line-height: 1.5;
}
.script-line:last-child { margin-bottom: 0; }

/* seeds */
.seed-list { list-style: none; margin: 0 0 1.2em !important; }
.seed-list li {
  padding: 10px 16px 10px 40px; position: relative; color: var(--text);
  border-left: 2px solid rgba(232, 182, 76, .4); margin-bottom: 8px !important;
  background: rgba(167, 139, 250, .05); border-radius: 0 10px 10px 0;
}
.seed-list li::before { content: "✦"; position: absolute; left: 14px; color: var(--gold); }

/* FAQ */
.faq-list { max-width: 780px; }
.faq-item {
  border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px;
  background: var(--surface); overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 22px 20px; color: var(--muted); }
.faq-a a { text-decoration: underline; }

/* chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--text); font-size: .93rem; background: var(--surface);
}
.chip:hover { border-color: var(--gold); color: var(--gold-soft); }

/* area cards */
.area-card {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; color: var(--text);
  box-shadow: var(--shadow-soft); transition: transform .16s, border-color .16s, box-shadow .16s;
}
.area-card:hover { transform: translateY(-3px); border-color: rgba(224, 165, 47, .55); color: var(--text); box-shadow: var(--shadow); }
.area-emoji { font-size: 1.7rem; display: block; margin-bottom: 12px; }
.area-card p { color: var(--muted); font-size: .93rem; margin: 6px 0 12px; }
.area-more { color: var(--gold-soft); font-size: .9rem; font-weight: 600; }

/* CTA band */
.cta-band {
  padding: 84px 0; text-align: center;
  background:
    radial-gradient(680px 320px at 50% 0%, rgba(167, 139, 250, .38), transparent 70%),
    radial-gradient(560px 300px at 50% 100%, rgba(242, 168, 196, .28), transparent 72%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.cta-inner p { color: var(--muted); max-width: 560px; margin: 10px auto 26px; }
.cta-note { font-size: .85rem !important; margin-top: 16px !important; }

/* ---------- pricing ---------- */
.price-grid { max-width: 880px; margin: 0 auto; align-items: stretch; }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: 34px; display: flex; flex-direction: column; position: relative;
  box-shadow: var(--shadow-soft);
}
.price-card.featured { border-color: var(--gold); box-shadow: 0 12px 50px rgba(224, 165, 47, .22); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #241a02; font-size: .78rem; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; letter-spacing: .04em;
}
.price-num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; margin: 10px 0 2px; }
.price-num small { font-size: 1.05rem; color: var(--muted); font-family: var(--font-body); font-weight: 500; }
.price-sub { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.price-feats { list-style: none; margin: 0 0 26px; flex: 1; }
.price-feats li { padding: 7px 0 7px 28px; position: relative; color: var(--muted); font-size: .96rem; }
.price-feats li::before { content: "✓"; position: absolute; left: 4px; color: var(--gold); font-weight: 700; }

/* ---------- voices ---------- */
.voice-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.voice-card { text-align: left; }
.voice-meta { color: var(--muted); font-size: .88rem; margin-bottom: 14px; }
.voice-play {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(167, 139, 250, .12);
  border: 1px solid var(--line); color: var(--text); border-radius: 999px;
  padding: 8px 18px; cursor: pointer; font-size: .92rem; font-weight: 600; font-family: var(--font-body);
}
.voice-play:hover { border-color: var(--violet); }
.voice-play.playing { background: var(--gold); color: #241a02; border-color: var(--gold); }

/* ---------- intake wizard ---------- */
.intake-shell { max-width: 640px; margin: 0 auto; }
.intake-progress { height: 5px; background: var(--surface-2); border-radius: 99px; margin-bottom: 30px; overflow: hidden; }
.intake-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--violet-deep), var(--gold)); border-radius: 99px; transition: width .35s; }
.intake-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: 40px; min-height: 340px; display: flex; flex-direction: column;
}
.intake-q { font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; margin-bottom: 8px; line-height: 1.25; }
.intake-help { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.intake-card input[type="text"], .intake-card input[type="email"], .intake-card textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  color: var(--text); font-family: var(--font-body); font-size: 1.05rem; padding: 14px 16px;
  outline: none;
}
.intake-card textarea { min-height: 110px; resize: vertical; }
.intake-card input:focus, .intake-card textarea:focus { border-color: var(--violet); }
.intake-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.intake-chip {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); cursor: pointer; font-size: .95rem; font-family: var(--font-body);
}
.intake-chip.sel { background: rgba(232, 182, 76, .18); border-color: var(--gold); color: var(--gold-soft); }
.intake-nav { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 28px; }
.intake-back { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .95rem; font-family: var(--font-body); }
.intake-back:hover { color: var(--text); }
.intake-skip { color: var(--muted); font-size: .85rem; margin-left: 12px; background: none; border: 0; cursor: pointer; font-family: var(--font-body); }
.intake-reflect { font-family: var(--font-display); font-size: 1.35rem; font-style: italic; color: var(--gold-soft); line-height: 1.5; }
.intake-note { font-size: .83rem; color: var(--muted); margin-top: 14px; }
.intake-error { color: #ff9d9d; font-size: .9rem; margin-top: 10px; display: none; }
.intake-done { text-align: center; padding: 20px 0; }
.intake-done h3 { font-size: 1.6rem; margin-bottom: 12px; }

/* app (founding beta) */
.app-label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-soft); margin: 22px 0 8px; }
.app-orb {
  width: 74px; height: 74px; margin: 0 auto; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--violet), var(--violet-deep));
  box-shadow: 0 0 40px rgba(124, 108, 255, .55);
  animation: orb 2.2s ease-in-out infinite;
}
@keyframes orb { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.12); opacity: 1; } }
.app-sess { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.app-sess audio { max-width: 280px; height: 38px; }

/* comparison table */
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { color: var(--gold-soft); font-family: var(--font-display); font-size: 1.05rem; }
.compare td:first-child { color: var(--muted); }
.compare td { color: var(--text); }
.table-scroll { overflow-x: auto; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-soft); margin-bottom: 14px; }
.footer a { display: block; color: var(--muted); font-size: .92rem; padding: 4px 0; }
.footer a:hover { color: var(--text); }
.footer-brand { font-size: 1.25rem; margin-bottom: 8px; }
.footer-tag { color: var(--muted); font-size: .92rem; }
.footer-sister { color: var(--muted); font-size: .85rem; margin-top: 14px; max-width: 320px; }
.footer-sister a { display: inline; padding: 0; text-decoration: underline; }
.footer-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer-legal p { color: var(--muted); font-size: .8rem; margin-bottom: 8px; }
.footer-legal a { display: inline; padding: 0; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg-2); flex-direction: column; padding: 18px 22px; gap: 14px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 52px 0; }
  .intake-card { padding: 26px 20px; }
}
