/* ============================================================
   Bottle of Angels — landing page design system
   Midnight & starry · dreamy type-forward (Direction B)
   ============================================================ */
:root {
  --night:   #0b0617;
  --night-2: #110a24;
  --violet:  #1b1138;
  --violet-2:#2a1a4e;
  --lav:     #cdb8f5;
  --lav-2:   #b9a3ff;
  --moon:    #f5efff;
  --pink:    #e6a3cf;
  --gold:    #e6c98f;
  --text:    #ece6ff;
  --muted:   #b3a8d2;
  --muted-2: #8d82ad;
  --line:    rgba(190,170,235,0.14);
  --panel:   rgba(126,102,196,0.07);
  --panel-2: rgba(126,102,196,0.12);
  --cta:     linear-gradient(180deg,#efe7ff,#cbb6f4);
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'Mulish', system-ui, sans-serif;
  --maxw:    1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font-family: var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(189,160,245,0.35); color: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* fixed star backdrop behind everything */
.ba-stars-fixed { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.ba-app { position: relative; z-index: 1; }

/* --- type --- */
.ba-eyebrow {
  font-size: 12px; letter-spacing: 0.4em; font-weight: 600;
  color: var(--lav); text-transform: uppercase; padding-left: 0.4em;
}
.ba-display {
  font-family: var(--serif); font-weight: 500; line-height: 0.98;
  letter-spacing: -0.015em; color: var(--moon); margin: 0;
}
.ba-italic { font-style: italic; color: var(--lav); }
.ba-lead {
  font-size: clamp(16px,1.4vw,18px); line-height: 1.72; color: var(--muted);
  text-wrap: pretty;
}
.ba-kicker { font-family: var(--serif); font-style: italic; color: var(--lav); }

/* --- buttons --- */
.ba-btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  color: #1a1030; border: none; padding: 17px 34px; border-radius: 100px;
  background: var(--cta); box-shadow: 0 12px 38px rgba(160,130,230,0.42);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
}
.ba-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 48px rgba(160,130,230,0.55); }
.ba-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-weight: 600; font-size: 14px; color: var(--text);
  background: transparent; border: 1px solid var(--line); padding: 15px 26px; border-radius: 100px;
  transition: border-color .25s, background .25s;
}
.ba-btn-ghost:hover { border-color: rgba(199,178,242,0.45); background: rgba(199,178,242,0.06); }
.ba-link {
  font-size: 14px; color: var(--text); cursor: pointer;
  border-bottom: 1px solid rgba(199,178,242,0.4); padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.ba-link:hover { color: var(--lav); border-color: var(--lav); }

/* --- layout --- */
.ba-section { position: relative; padding: clamp(60px,7.5vw,96px) 32px; }
#inside.ba-section { padding-bottom: 28px; }
#study.ba-section { padding-top: 28px; }
#reviews.ba-section { padding-bottom: 28px; }
#buy.ba-section { padding-top: 28px; padding-bottom: 28px; }
#ourstory.ba-section { padding-top: 28px; padding-bottom: 28px; }
#faq.ba-section { padding-top: 28px; }
.ba-wrap { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 2; }
.ba-center { text-align: center; }
.ba-glow {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(176,146,236,0.22) 0%, rgba(176,146,236,0) 66%);
}

/* ============ NAV ============ */
.ba-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px,4vw,52px);
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.ba-nav.scrolled {
  background: rgba(10,6,22,0.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.ba-nav-brand { display: flex; align-items: center; gap: 11px; }
.ba-nav-brand span {
  font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: 0.2em;
  white-space: nowrap;
}
.ba-nav-links { display: flex; gap: 30px; }
.ba-nav-links a { font-size: 13.5px; letter-spacing: 0.04em; color: var(--muted); transition: color .2s; }
.ba-nav-links a:hover { color: var(--text); }
.ba-nav-right { display: flex; align-items: center; gap: 20px; }
.ba-nav-cart { font-size: 13.5px; color: var(--muted); cursor: pointer; transition: color .2s; }
.ba-nav-cart:hover { color: var(--text); }
.ba-nav-cta {
  font-size: 13px; font-weight: 700; color: #1a1030; border: none; cursor: pointer;
  padding: 11px 20px; border-radius: 100px; background: var(--cta);
  transition: transform .2s; white-space: nowrap;
}
.ba-nav-cta:hover { transform: translateY(-1px); }

/* ============ HERO ============ */
.ba-hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 120px 24px 80px; overflow: hidden;
  background: radial-gradient(125% 100% at 50% 2%, #34245c 0%, #1c1238 42%, var(--night) 84%);
}
.ba-hero h1 { font-size: clamp(46px, 8.4vw, 98px); white-space: nowrap; }
.ba-hero .ba-lead { max-width: 540px; margin: 28px auto 0; }
.ba-hero-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-58%);
  border-radius: 50%; border: 1px solid rgba(199,178,242,0.12); pointer-events: none;
}
.ba-hero-gummy {
  width: clamp(72px,8vw,104px); filter: drop-shadow(0 18px 30px rgba(40,20,80,0.65));
  animation: ba-gfloat 7s ease-in-out infinite; position: relative; z-index: 3;
}
.ba-scrollhint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.3em; color: var(--muted-2); text-transform: uppercase;
}
.ba-scrollhint .ba-chev { animation: ba-bob 2.4s ease-in-out infinite; }

/* ============ TRUST ============ */
.ba-trust {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(20px,4vw,54px); padding: 30px 24px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(10,6,22,0.4);
}
.ba-trust span { font-size: 12px; letter-spacing: 0.18em; color: var(--muted-2); text-transform: uppercase; }
.ba-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: #5b4d80; }

/* ============ PRODUCT REVEAL ============ */
.ba-product { background: linear-gradient(180deg, var(--night) 0%, var(--violet) 55%, var(--night) 100%); }
.ba-product-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px,6vw,90px); align-items: center;
}
.ba-window {
  position: relative; width: 100%; max-width: 420px; aspect-ratio: 420/620; margin: 0 auto;
  border-radius: 210px 210px 28px 28px; overflow: hidden;
  border: 1px solid rgba(199,178,242,0.22);
  background: radial-gradient(120% 80% at 50% 16%, #3a2866 0%, #1a1138 52%, #0e0a22 100%);
  box-shadow: 0 40px 90px rgba(20,10,50,0.55), inset 0 0 60px rgba(120,86,196,0.16);
}
.ba-window img.bottle {
  position: absolute; left: 50%; bottom: 5%; transform: translateX(-50%); width: 66%;
  filter: drop-shadow(0 26px 48px rgba(40,20,80,0.7)); animation: ba-floatc 7s ease-in-out infinite;
}
.ba-facts { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 2px; }
.ba-facts li {
  display: flex; align-items: center; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line);
}
.ba-facts li:last-child { border-bottom: 1px solid var(--line); }
.ba-facts .k { font-family: var(--serif); font-size: 30px; color: var(--moon); flex: 0 0 auto; min-width: 120px; white-space: nowrap; line-height: 1; }
.ba-facts .v { font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* ============ BENEFITS ============ */
.ba-benefits-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 56px; }
.ba-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 22px;
  padding: 38px 32px; transition: transform .4s cubic-bezier(.2,.7,.2,1), background .4s, border-color .4s;
}
.ba-card:hover { transform: translateY(-6px); background: var(--panel-2); border-color: rgba(199,178,242,0.28); }
.ba-card-icon {
  width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  color: var(--lav); background: rgba(189,160,245,0.10); border: 1px solid rgba(189,160,245,0.18); margin-bottom: 24px;
}
.ba-card h3 { font-family: var(--serif); font-weight: 600; font-size: 27px; margin: 0 0 10px; color: var(--moon); }
.ba-card p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; }

/* ============ RITUAL ============ */
.ba-ritual { background: radial-gradient(120% 80% at 50% 0%, var(--violet) 0%, var(--night) 70%); }
.ba-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-top: 60px; position: relative; }
.ba-step { text-align: center; position: relative; }
.ba-step-num {
  font-family: var(--serif); font-size: 22px; color: #1a1030; width: 64px; height: 64px; margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--cta); box-shadow: 0 10px 30px rgba(160,130,230,0.4);
}
.ba-step h3 { font-family: var(--serif); font-weight: 600; font-size: 25px; margin: 0 0 10px; color: var(--moon); }
.ba-step p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0 auto; max-width: 260px; }
.ba-steps-line {
  position: absolute; top: 32px; left: 16%; right: 16%; height: 1px; z-index: 0;
  background: repeating-linear-gradient(90deg, rgba(199,178,242,0.4) 0 3px, transparent 3px 10px);
}

/* ============ INSIDE ============ */
.ba-inside-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 16px; margin-top: 52px; }
.ba-ing {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px;
  transition: background .3s, border-color .3s;
}
.ba-ing:hover { background: var(--panel-2); border-color: rgba(199,178,242,0.26); }
.ba-ing .ic { color: var(--lav); margin-bottom: 16px; }
.ba-ing h4 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 0 0 6px; color: var(--moon); }
.ba-ing p { font-size: 13px; line-height: 1.55; color: var(--muted-2); margin: 0; }
.ba-free {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px;
}
.ba-free span {
  font-size: 12px; letter-spacing: 0.08em; color: var(--muted); padding: 9px 16px; border-radius: 100px;
  border: 1px solid var(--line); background: rgba(10,6,22,0.3);
}
.ba-free b { color: var(--lav); font-weight: 700; }

.ba-supfacts { max-width: 560px; margin: 34px auto 0; text-align: left; }
.ba-supfacts summary { cursor: pointer; list-style: none; text-align: center; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 12px; transition: color .2s; }
.ba-supfacts summary:hover { color: var(--lav); }
.ba-supfacts summary::-webkit-details-marker { display: none; }
.ba-supfacts summary::after { content: " +"; color: var(--lav); }
.ba-supfacts[open] summary::after { content: " −"; }
.ba-supfacts-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; margin-top: 8px; }
.ba-supfacts .sf-head { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--moon); }
.ba-supfacts .sf-sub { font-size: 12.5px; color: var(--muted-2); margin: 4px 0 14px; }
.ba-supfacts table { width: 100%; border-collapse: collapse; font-size: 13.5px; color: var(--muted); }
.ba-supfacts td { padding: 7px 0; border-top: 1px solid var(--line); }
.ba-supfacts td:nth-child(2), .ba-supfacts td:nth-child(3) { text-align: right; white-space: nowrap; color: var(--text); }
.ba-supfacts tr.ind td:first-child { padding-left: 14px; }
.ba-supfacts tr.ind2 td:first-child { padding-left: 28px; }
.ba-supfacts tr.rule td { border-top: 2px solid rgba(190,170,235,0.3); }
.ba-supfacts .sf-note { font-size: 11.5px; line-height: 1.55; color: var(--muted-2); margin: 12px 0 0; }

/* ============ REVIEWS ============ */
.ba-reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 54px; }
.ba-review {
  background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 32px 30px;
  display: flex; flex-direction: column; gap: 16px;
}
.ba-review .stars { display: flex; gap: 3px; color: var(--gold); }
.ba-review p { font-family: var(--serif); font-size: 21px; line-height: 1.4; color: var(--text); margin: 0; font-style: italic; }
.ba-review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.ba-review .av { width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto; }
.ba-review .nm { font-size: 14px; font-weight: 700; color: var(--text); text-align: left; }
.ba-review .meta { font-size: 12px; color: var(--muted-2); }

/* ============ STORY ============ */
.ba-story { background: radial-gradient(120% 90% at 50% 50%, var(--violet) 0%, var(--night) 72%); text-align: center; }
.ba-story .quote { font-family: var(--serif); font-weight: 500; font-size: clamp(28px,4vw,46px); line-height: 1.24; color: var(--moon); max-width: 880px; margin: 0 auto; letter-spacing: -0.01em; }
.ba-story .sig { margin-top: 36px; font-size: 13px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; }

/* ============ BUY ============ */
.ba-buy-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 54px; max-width: 1080px; margin-left: auto; margin-right: auto; }
.ba-plan {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 24px;
  padding: 40px 30px; display: flex; flex-direction: column; gap: 18px;
}
.ba-plan.featured { background: linear-gradient(180deg, rgba(126,102,196,0.18), rgba(126,102,196,0.06)); border-color: rgba(199,178,242,0.4); box-shadow: 0 30px 70px rgba(20,10,50,0.5); }
.ba-plan .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: #1a1030;
  background: var(--cta); padding: 6px 16px; border-radius: 100px;
}
.ba-plan .name { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lav); font-weight: 700; }
.ba-plan .price { font-family: var(--serif); font-size: 56px; color: var(--moon); line-height: 1; }
.ba-plan .price small { font-family: var(--sans); font-size: 15px; color: var(--muted); letter-spacing: 0; }
.ba-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; text-align: left; }
.ba-plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; text-align: left; }
.ba-plan li svg { color: var(--lav); flex: 0 0 auto; margin-top: 2px; }
.ba-guarantee { text-align: center; margin-top: 30px; font-size: 13.5px; color: var(--muted-2); }

/* ============ FAQ ============ */
.ba-faq-list { max-width: 760px; margin: 50px auto 0; }
.ba-faq-item { border-bottom: 1px solid var(--line); }
.ba-faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer; color: var(--text);
  font-family: var(--serif); font-size: clamp(20px,2.4vw,26px); font-weight: 600;
  padding: 26px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.ba-faq-q .pm { flex: 0 0 auto; color: var(--lav); transition: transform .3s; font-weight: 400; font-size: 24px; }
.ba-faq-item.open .pm { transform: rotate(45deg); }
.ba-faq-a { overflow: hidden; max-height: 0; transition: max-height .4s cubic-bezier(.2,.7,.2,1); }
.ba-faq-item.open .ba-faq-a { max-height: inherit !important; }
.ba-faq-a-inner { padding: 0 0 26px; font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 640px; }

/* ============ FOOTER ============ */
.ba-footer { position: relative; padding: clamp(80px,9vw,120px) 32px; background: linear-gradient(180deg, var(--night) 0%, #050309 80%); border-top: 1px solid var(--line); }
.ba-foot-cta { text-align: center; max-width: 560px; margin: 0 auto 70px; }
.ba-foot-cta h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px,4vw,44px); color: var(--moon); margin: 0 0 14px; }
.ba-foot-form { display: flex; gap: 10px; margin-top: 28px; }
.ba-foot-form input {
  flex: 1; background: rgba(126,102,196,0.08); border: 1px solid var(--line); border-radius: 100px;
  padding: 15px 22px; color: var(--text); font-family: var(--sans); font-size: 14px; outline: none;
}
.ba-foot-form input::placeholder { color: var(--muted-2); }
.ba-foot-form input:focus { border-color: rgba(199,178,242,0.45); }
.ba-foot-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; max-width: var(--maxw); margin: 0 auto; padding-top: 50px; border-top: 1px solid var(--line); }
.ba-foot-col h5 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 16px; }
.ba-foot-col a { display: block; font-size: 14px; color: var(--muted); margin-bottom: 11px; transition: color .2s; }
.ba-foot-col a:hover { color: var(--text); }
.ba-foot-bottom { max-width: var(--maxw); margin: 50px auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--muted-2); }

/* ============ sticky buy bar ============ */
.ba-stickybuy { position:fixed; left:0; right:0; bottom:0; z-index:60; display:flex; align-items:center; justify-content:center; gap:clamp(14px,2.5vw,28px); padding:12px clamp(16px,3vw,32px);
  background:rgba(12,8,26,0.88); backdrop-filter:blur(14px); border-top:1px solid rgba(199,178,242,0.22);
  transform:translateY(110%); transition:transform .45s cubic-bezier(.2,.7,.2,1); }
.ba-stickybuy.is-visible { transform:translateY(0); }
.ba-stickybuy img { height:52px; }
.ba-stickybuy .nm { display:flex; flex-direction:column; gap:2px; }
.ba-stickybuy .nm b { font-family:var(--serif); font-size:16px; letter-spacing:0.08em; color:var(--moon); font-weight:600; white-space:nowrap; }
.ba-stickybuy .nm span { font-size:12px; color:var(--muted-2); white-space:nowrap; }
.ba-stickybuy .pr { font-family:var(--serif); font-size:24px; color:var(--moon); white-space:nowrap; }
.ba-stickybuy .pr small { font-family:var(--sans); font-size:12px; color:var(--muted-2); }
.ba-stickybuy .ba-btn { padding:13px 26px; font-size:14px; }
@media (max-width:640px){ .ba-stickybuy .nm { display:none; } .ba-stickybuy img { height:44px; } }

/* ============ early price card ============ */
.ba-minibuy { max-width:720px; margin:clamp(40px,5vw,64px) auto 0; display:flex; align-items:center; gap:clamp(18px,3vw,34px); padding:clamp(20px,3vw,30px) clamp(22px,3.4vw,38px);
  background:linear-gradient(180deg, rgba(126,102,196,0.16), rgba(126,102,196,0.06)); border:1px solid rgba(199,178,242,0.3); border-radius:22px; box-shadow:0 24px 60px rgba(10,5,30,0.4); }
.ba-minibuy img { width:74px; flex:0 0 auto; }
.ba-minibuy .mb-info { flex:1; min-width:0; text-align:left; }
.ba-minibuy .mb-info b { font-family:var(--serif); font-size:20px; font-weight:600; color:var(--moon); display:block; }
.ba-minibuy .mb-info span { font-size:13px; color:var(--muted); }
.ba-minibuy .mb-price { text-align:right; white-space:nowrap; }
.ba-minibuy .mb-price .p { font-family:var(--serif); font-size:30px; color:var(--moon); line-height:1; }
.ba-minibuy .mb-price .s { font-size:11.5px; color:var(--muted-2); display:block; margin-top:4px; }
@media (max-width:640px){ .ba-minibuy { flex-wrap:wrap; } .ba-minibuy .mb-price { text-align:left; } }

/* ============ guarantee badge ============ */
.ba-promise { display:flex; align-items:center; justify-content:center; gap:16px; max-width:560px; margin:30px auto 0; padding:18px 26px;
  border:1px solid rgba(230,201,143,0.35); border-radius:100px; background:rgba(230,201,143,0.07); }
.ba-promise svg { flex:0 0 auto; color:var(--gold); }
.ba-promise .pt { text-align:left; }
.ba-promise .pt b { display:block; font-size:14px; letter-spacing:0.1em; text-transform:uppercase; color:var(--gold); }
.ba-promise .pt span { font-size:13px; color:var(--muted); }

/* ============ sleep study ============ */
.ba-study-head { display:flex; align-items:flex-start; justify-content:space-between; gap:30px; flex-wrap:wrap; margin-bottom:40px; }
.ba-study-head .ba-lead { max-width:560px; margin-top:20px; }
.ba-study-head .ba-lead b { color:var(--text); }
.ba-study-side { display:flex; flex-direction:column; align-items:flex-end; gap:20px; }
.ba-press { display:flex; align-items:center; gap:26px; }
.ba-press span { font-family:var(--serif); font-weight:600; font-size:24px; color:var(--muted); letter-spacing:0.01em; }
.ba-study-card { display:grid; grid-template-columns:1.1fr 0.9fr; gap:clamp(30px,4vw,60px); align-items:center; padding:clamp(28px,4vw,52px);
  background:linear-gradient(120deg, rgba(126,102,196,0.20) 0%, rgba(58,40,102,0.35) 55%, rgba(28,18,56,0.6) 100%);
  border:1px solid rgba(199,178,242,0.24); border-radius:28px; box-shadow:0 40px 90px rgba(10,5,30,0.5); }
.ba-chartbox { background:rgba(10,6,24,0.55); border:1px solid rgba(199,178,242,0.16); border-radius:20px; padding:clamp(16px,2vw,28px); }
.ba-chart-legend { display:flex; gap:28px; margin-top:14px; font-size:13px; color:var(--muted); align-items:center; }
.ba-chart-legend .l1::before { content:""; display:inline-block; width:26px; border-top:2px dashed rgba(199,178,242,0.55); margin-right:8px; vertical-align:middle; }
.ba-chart-legend .l2::before { content:""; display:inline-block; width:26px; border-top:3px solid #b9a3ff; margin-right:8px; vertical-align:middle; border-radius:2px; }
.ba-study-stat .big { font-family:var(--serif); font-size:clamp(72px,8vw,120px); line-height:0.9; color:#fff; }
.ba-study-stat h3 { font-size:clamp(22px,2.4vw,30px); font-weight:700; color:var(--moon); line-height:1.3; margin:14px 0 0; }
.ba-study-stat .note { margin-top:22px; padding-left:16px; border-left:2px solid rgba(199,178,242,0.4); font-size:14.5px; line-height:1.6; color:var(--muted); }
.ba-study-stat .fine { margin-top:16px; font-size:11.5px; color:var(--muted-2); }
@media (max-width:900px){ .ba-study-card { grid-template-columns:1fr; } .ba-study-side { align-items:flex-start; } }

/* study result cards */
.ba-study-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:24px; align-items:stretch; }
.ba-scard { border-radius:26px; overflow:hidden; border:1px solid rgba(199,178,242,0.22); background:rgba(126,102,196,0.08); display:flex; flex-direction:column; }
.ba-scard image-slot { width:100%; aspect-ratio:16/8.5; display:block; }
.ba-scard-body { padding:clamp(24px,3vw,40px); display:flex; flex-direction:column; flex:1; }
.ba-scard .pct { font-family:var(--serif); font-size:clamp(52px,5vw,76px); line-height:1; color:var(--moon); }
.ba-scard .pct small { font-family:var(--sans); font-size:15px; color:var(--muted); margin-left:10px; }
.ba-bar { height:8px; border-radius:100px; background:rgba(199,178,242,0.15); margin:18px 0 26px; overflow:hidden; }
.ba-bar i { display:block; height:100%; border-radius:100px; background:linear-gradient(90deg,#b9a3ff,#9fd4f0); }
.ba-scard h3 { font-family:var(--serif); font-weight:600; font-size:clamp(24px,2.4vw,32px); color:var(--moon); margin:0 0 12px; }
.ba-scard p { font-size:14.5px; line-height:1.65; color:var(--muted); margin:0 0 18px; }
.ba-diam { list-style:none; margin:0; padding:0; display:grid; gap:11px; }
.ba-diam li { display:flex; gap:11px; align-items:baseline; font-size:14.5px; color:var(--muted); line-height:1.5; }
.ba-diam li::before { content:"◆"; font-size:9px; color:var(--lav); flex:0 0 auto; position:relative; top:-1px; }
.ba-scard.deep { background:linear-gradient(160deg, rgba(126,102,196,0.24), rgba(28,18,56,0.7)); }
.ba-sleepbars { display:grid; gap:12px; margin:22px 0 26px; }
.ba-sleepbars .row { display:grid; grid-template-columns:110px 1fr 64px; align-items:center; gap:12px; font-size:13.5px; color:var(--muted); }
.ba-sleepbars .tr { height:9px; border-radius:100px; background:rgba(199,178,242,0.14); overflow:hidden; }
.ba-sleepbars .tr i { display:block; height:100%; border-radius:100px; }
.ba-sleepbars .plus { color:var(--lav); font-weight:700; font-size:12.5px; }
.ba-didknow { margin-top:auto; display:flex; gap:16px; align-items:center; padding:18px 22px; border-radius:16px; background:rgba(10,6,24,0.55); border:1px solid rgba(199,178,242,0.14); }
.ba-didknow svg { flex:0 0 auto; color:#9fd4f0; }
.ba-didknow b { display:block; font-size:11px; letter-spacing:0.18em; text-transform:uppercase; color:var(--lav); margin-bottom:4px; }
.ba-didknow span { font-size:13.5px; color:var(--muted); line-height:1.5; }
@media (max-width:900px){ .ba-study-grid { grid-template-columns:1fr; } }

/* results timeline */
.ba-expect-grid { display:grid; grid-template-columns:1.05fr 0.95fr; gap:24px; margin-top:48px; align-items:stretch; }
.ba-expect { background:rgba(126,102,196,0.08); border:1px solid rgba(199,178,242,0.22); border-radius:26px; padding:clamp(26px,3.4vw,46px); display:flex; flex-direction:column; }
.ba-expect h3 { font-family:var(--serif); font-weight:600; font-size:clamp(26px,2.6vw,34px); color:var(--moon); margin:0 0 22px; padding-bottom:20px; border-bottom:1px solid var(--line); }
.ba-expect-row { display:grid; grid-template-columns:118px 1fr; gap:20px; position:relative; padding-bottom:30px; }
.ba-expect-row:last-of-type { padding-bottom:0; }
.ba-expect-row::before { content:""; position:absolute; left:59px; top:34px; bottom:0; width:1.5px; background:rgba(199,178,242,0.25); }
.ba-expect-row:last-of-type::before { display:none; }
.ba-expect-pill { justify-self:stretch; align-self:start; text-align:center; font-size:11.5px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:#1a1030; background:var(--cta); border-radius:100px; padding:9px 8px; position:relative; z-index:1; }
.ba-expect-row b { display:block; font-size:16.5px; color:var(--text); margin-bottom:5px; }
.ba-expect-row > div > span { font-size:14px; line-height:1.6; color:var(--muted); }
.ba-expect .fine { margin-top:26px; padding-top:18px; border-top:1px solid var(--line); font-size:12px; color:var(--muted-2); }
.ba-ritualcard { position:relative; border-radius:26px; overflow:hidden; border:1px solid rgba(199,178,242,0.22); min-height:420px; }
.ba-ritualcard image-slot { position:absolute; inset:0; width:100%; height:100%; }
.ba-ritualcap { position:absolute; left:0; right:0; bottom:0; padding:80px 30px 28px; pointer-events:none;
  background:linear-gradient(180deg, rgba(11,6,23,0) 0%, rgba(11,6,23,0.85) 78%); }
.ba-ritualcap b { display:block; font-size:11.5px; letter-spacing:0.24em; text-transform:uppercase; color:var(--lav); margin-bottom:8px; }
.ba-ritualcap div { font-family:var(--serif); font-size:clamp(24px,2.4vw,32px); color:#fff; line-height:1.15; }
@media (max-width:900px){ .ba-expect-grid { grid-template-columns:1fr; } .ba-ritualcard { min-height:320px; } }

/* buy extras */
.ba-buy-high { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:34px; }
.ba-buy-high span { font-size:13px; color:var(--text); padding:10px 18px; border-radius:100px; border:1px solid rgba(199,178,242,0.3); background:rgba(126,102,196,0.10); }
.ba-buy-high b { color:var(--lav); font-family:var(--serif); font-size:16px; margin-right:4px; }
.ba-buy-ing { margin-top:14px; font-size:13.5px; color:var(--muted); }
.ba-buy-ing b { color:var(--text); font-weight:700; }
.ba-plan-bottles { display:flex; justify-content:center; align-items:flex-end; height:158px; margin-bottom:10px; }
.ba-plan-bottles img { height:118px; filter:drop-shadow(0 12px 24px rgba(10,5,30,0.6)); }
.ba-plan-bottles img + img { margin-left:-40px; }
.pb-plus { align-self:center; font-family:var(--serif); font-size:30px; color:var(--lav); margin:0 10px 0 14px; }
.pb-free { position:relative; display:flex; align-items:flex-end; padding:8px 10px; }
.pb-free::before { content:""; position:absolute; inset:0; border:2px dashed rgba(230,201,143,0.75); border-radius:50%; }
.pb-free .tag { position:absolute; top:-9px; left:50%; transform:translateX(-50%); z-index:2; white-space:nowrap;
  background:var(--gold); color:#1a1030; font-size:10px; font-weight:800; letter-spacing:0.12em; text-transform:uppercase; padding:4px 11px; border-radius:100px; }
.pb-free img:first-of-type { margin-left:0; }

/* founder story */
.ba-founder { display:grid; grid-template-columns:0.9fr 1.1fr; gap:clamp(36px,5vw,80px); align-items:center; margin-top:52px; }
.ba-founder-art { position:relative; }
.ba-founder-art .mainwrap { position:relative; height:0; padding-top:115%; }
.ba-founder-art .mainwrap image-slot { position:absolute; inset:0; width:100%; height:100%; }
.ba-founder-art .grandma { position:absolute; right:-18px; bottom:-26px; width:clamp(130px,13vw,180px); height:clamp(190px,17vw,250px); transform:rotate(4deg);
  border:6px solid #efe7fb; border-bottom-width:34px; box-shadow:0 24px 50px rgba(10,5,30,0.6); background:#efe7fb; }
.ba-founder-art .grandma image-slot { width:100%; height:100%; display:block; }
.ba-founder-art .grandma-cap { position:absolute; right:-6px; bottom:-22px; transform:rotate(4deg); font-family:'Cormorant Garamond',serif; font-style:italic; font-size:13px; color:#3a2d5e; z-index:2; width:clamp(118px,12vw,168px); text-align:center; pointer-events:none; }
.ba-founder-copy .v4-once { display:block; margin-bottom:16px; }
.ba-founder-copy p { font-size:15.5px; line-height:1.75; color:var(--muted); margin:0 0 16px; }
.ba-founder-copy p b { color:var(--text); }
.ba-founder-sig { margin-top:24px; }
.ba-founder-sig .sn { font-family:'Cormorant Garamond',serif; font-style:italic; font-size:26px; color:var(--moon); }
.ba-founder-sig .st { font-size:12px; letter-spacing:0.18em; text-transform:uppercase; color:var(--muted-2); margin-top:4px; }
@media (max-width:900px){ .ba-founder { grid-template-columns:1fr; } .ba-founder-art { width:100%; max-width:420px; margin:0 auto 40px; } }

/* ============ keyframes ============ */
@keyframes ba-twinkle { 0%,100%{opacity:.2;transform:scale(.8)} 50%{opacity:1;transform:scale(1.15)} }
@keyframes ba-gfloat { 0%,100%{transform:translateY(0) rotate(-3deg)} 50%{transform:translateY(-22px) rotate(3deg)} }
@keyframes ba-floatc { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-16px)} }
@keyframes ba-bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }
@keyframes ba-spin { to { transform: translate(-50%,-58%) rotate(360deg); } }

/* --- motion graphics --- */
/* aurora: slow drifting colored glow blobs */
@keyframes ba-aurora1 { 0%,100%{transform:translate(-8%,-6%) scale(1)} 50%{transform:translate(10%,8%) scale(1.25)} }
@keyframes ba-aurora2 { 0%,100%{transform:translate(6%,4%) scale(1.1)} 50%{transform:translate(-10%,-8%) scale(1.3)} }
.ba-aurora { position:absolute; inset:-10% -10% auto -10%; height:120%; pointer-events:none; z-index:0; filter:blur(40px); opacity:.5; }
.ba-aurora b { position:absolute; border-radius:50%; display:block; }
.ba-aurora .a1 { width:46%; height:60%; left:6%; top:0; background:radial-gradient(circle,rgba(138,99,210,.45),transparent 66%); animation:ba-aurora1 26s ease-in-out infinite; }
.ba-aurora .a2 { width:42%; height:56%; right:4%; top:6%; background:radial-gradient(circle,rgba(190,120,200,.32),transparent 66%); animation:ba-aurora2 32s ease-in-out infinite; }
.ba-aurora .a3 { width:38%; height:50%; left:34%; top:14%; background:radial-gradient(circle,rgba(96,120,220,.30),transparent 66%); animation:ba-aurora1 38s ease-in-out infinite reverse; }

/* drifting mist ribbons */
@keyframes ba-mist { from{transform:translateX(-30%)} to{transform:translateX(30%)} }
.ba-mistwrap { position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:0; }
.ba-mist { position:absolute; left:-30%; width:160%; height:42%; opacity:.5;
  background:radial-gradient(60% 100% at 50% 50%, rgba(180,150,235,.16), transparent 70%); }
.ba-mist.m1 { bottom:-6%; animation:ba-mist 34s ease-in-out infinite alternate; }
.ba-mist.m2 { top:8%; height:34%; opacity:.32; animation:ba-mist 46s ease-in-out infinite alternate-reverse; }

/* floating dust motes */
@keyframes ba-mote { 0%{transform:translateY(0) translateX(0);opacity:0} 10%{opacity:.7} 90%{opacity:.7} 100%{transform:translateY(-120px) translateX(20px);opacity:0} }
.ba-mote { position:absolute; border-radius:50%; background:radial-gradient(circle,#efe7ff,rgba(239,231,255,0)); pointer-events:none; }

/* shooting stars */
@keyframes ba-shoot { 0%{transform:translate(0,0) rotate(20deg);opacity:0} 6%{opacity:1} 22%{opacity:1} 40%,100%{transform:translate(420px,150px) rotate(20deg);opacity:0} }
.ba-shoot { position:absolute; width:140px; height:1.5px; border-radius:2px;
  background:linear-gradient(90deg, rgba(255,255,255,0), #fff 60%, #e7dcff);
  filter:drop-shadow(0 0 6px rgba(220,210,255,.9)); pointer-events:none; opacity:0; }

/* breathing glow (sleep-breathing cadence ~ slow) */
@keyframes ba-breathe { 0%,100%{opacity:.55;transform:scale(1)} 50%{opacity:1;transform:scale(1.08)} }

/* soft CTA pulse */
@keyframes ba-ctapulse { 0%,100%{box-shadow:0 12px 38px rgba(160,130,230,0.40)} 50%{box-shadow:0 14px 50px rgba(180,150,245,0.70)} }
.ba-btn.pulse { animation:ba-ctapulse 4.5s ease-in-out infinite; }

/* constellation self-draw */
@keyframes ba-draw { to { stroke-dashoffset:0; } }
.ba-review-ghost {
	height: 0;
	opacity: 0;
	display: none;
	margin-top: 22px;
	transition: opacity 0.4s;
	animation: 8s ease-in-out;
}
.ba-review-ghost.is-visible {
	height: auto;
	opacity: 1;
	display: grid;
}
@media (prefers-reduced-motion: reduce) {
  .ba-aurora, .ba-mist, .ba-mote, .ba-shoot { animation: none !important; }
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; }
}

/* ============ responsive ============ */
@media (max-width: 900px) {
  .ba-nav-links { display: none; }
  .ba-product-grid, .ba-benefits-grid, .ba-steps, .ba-reviews-grid, .ba-buy-grid { grid-template-columns: 1fr; }
  .ba-steps-line { display: none; }
  .ba-window { max-width: 340px; }
  .ba-reviews-grid .ba-review:nth-child(3) { display: none; }
  .ba-review .nm { text-align: left; }
  .ba-review p { text-align: left; }
}
@media (max-width: 560px) {
  .ba-nav-brand span { font-size: 15px; letter-spacing: 0.14em; }
  .ba-foot-form { flex-direction: column; }
  .ba-facts .k { min-width: 100px; font-size: 26px; }
  .ba-nav-right { display: none; }
}
@media (max-width: 360px) { 
  .ba-section, .v4-cover { padding-left: 10px; padding-right: 10px; }
}  
