:root {
  color-scheme: light;
  --purple: #641c78;
  --deep: #351039;
  --pink: #f60063;
  --ink: #17131c;
  --muted: #655969;
  --lavender: #f4ecfa;
  --rose: #fff0f5;
  --line: #e5d9e9;
  --gradient: linear-gradient(128deg, #af145b, #62166d 51%, #2e0b34);
  --display: Georgia, 'Times New Roman', serif;
  --header-height: 76px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  scroll-padding-top: calc(var(--header-height) + 1px);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fdfbfe; color: var(--ink); }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #bd55cf; outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: fixed; top: 4px; left: 4px; padding: 10px; z-index: 9; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); }
.header-inner { min-height: var(--header-height); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: -.025em; font-size: 1.11rem; white-space: nowrap; }
.logo { display: grid; place-items: center; min-width: 34px; min-height: 34px; border-radius: 11px; background: var(--gradient); }
.site-links { display: flex; gap: clamp(16px, 3vw, 36px); }
.site-links a, .footer-links a { text-decoration: none; font-size: .92rem; font-weight: 650; }
.site-links a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-links .terms-link:hover { text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.hero-copy { position: relative; min-width: 0; }
.eyebrow { font-size: .875rem; font-weight: 780; letter-spacing: .075em; text-transform: uppercase; color: var(--purple); margin-bottom: 15px; }
.eyebrow span { display: inline-block; width: 16px; height: 2px; margin: 0 8px 4px 0; background: var(--pink); }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.054em; }
h1 { font-size: clamp(3rem, 6.15vw, 5.9rem); line-height: .99; }
h1 em { color: var(--purple); font-weight: inherit; }
.lede { max-width: 450px; color: var(--muted); font-size: clamp(1.02rem, 1.65vw, 1.18rem); line-height: 1.65; margin-top: 25px; }
.hero-links { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-top: 26px; }
.text-link { text-underline-offset: 5px; font-weight: 680; font-size: .95rem; }
.slab { padding-block: clamp(55px, 7vw, 88px); }
.story { background: #f6effa; }
.story-heading { margin-bottom: 34px; max-width: 660px; }
h2 { font-size: clamp(2.3rem, 5vw, 4.1rem); line-height: 1.04; }
.afterglow-story { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(22px, 7vw, 94px); align-items: center; }
.steps { border-top: 1px solid var(--line); }
.steps article { border-bottom: 1px solid var(--line); padding: 19px 0 23px; }
.steps h3, .plans h3 { font-size: 1.22rem; margin-bottom: 7px; }
.steps p, .plans p, .membership-inner > div:first-child > p:last-child, .questions p { font-size: 1rem; line-height: 1.6; color: var(--muted); max-width: 52ch; }
.membership { background: #fff; }
.membership-inner, .faq { display: grid; grid-template-columns: .9fr 1fr; align-items: start; gap: 52px; }
.membership-inner > div:first-child > p:last-child { margin-top: 14px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plans article { padding: 23px; border: 1px solid var(--line); border-radius: 20px; background: #fcf8fd; }
.plans article:last-child { background: #f4e8f7; }
.plans h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.plan-price { color: var(--purple); font-size: .9rem; white-space: nowrap; }
.questions details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.questions details:first-child { border-top: 1px solid var(--line); }
.questions summary { cursor: pointer; font-size: 1rem; font-weight: 740; }
.questions p { margin-top: 10px; }
footer { background: #f1e8f5; padding: 29px 0; }
.footer-inner p { color: var(--muted); }
.terms { max-width: 760px; line-height: 1.65; }
.terms h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); margin-bottom: 20px; }
.terms h2 { font: 750 1.25rem/1.35 system-ui, sans-serif; margin-bottom: 8px; }
.terms section { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 24px; }
.terms p + p, .terms li + li { margin-top: 8px; }
.terms table { border-collapse: collapse; margin-bottom: 16px; width: 100%; }
.terms th, .terms td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.terms th { background: var(--lavender); }
html:has(.terms-dialog[open]) { overflow: hidden; }
.terms-dialog {
  width: min(70vw, 880px);
  height: 70dvh;
  max-height: 70vh;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fdfbfe;
  color: var(--ink);
  overflow: hidden;
}
.terms-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.terms-dialog::backdrop { background: #231029a6; }
.terms-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px clamp(16px, 4vw, 30px);
  border-bottom: 1px solid var(--line);
  background: var(--lavender);
}
.terms-dialog-header h2 { font: 750 clamp(1rem, 3vw, 1.3rem)/1.25 system-ui, sans-serif; }
.terms-dialog-close {
  padding: 8px 12px;
  min-height: 44px;
  color: var(--purple);
  font-weight: 700;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.terms-dialog-body { overflow-y: auto; overscroll-behavior: contain; padding: 20px clamp(16px, 4vw, 30px); }
.terms-dialog-body:focus-visible { outline: 2px solid var(--purple); outline-offset: -3px; }
@media (max-width: 635px) {
  .terms-dialog { width: calc(100vw - 24px); }
}
.afterglow { background: #fbf6fc; }
.afterglow .site-header { color: white; background: #28112d; border-color: #ffffff26; }
.afterglow-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 550px; background: #2e0b34; color: white; }
.afterglow-hero .backdrop { position: absolute; inset: 0 0 0 auto; width: 73%; height: 100%; object-fit: cover; object-position: 50% 64%; z-index: -2; }
.afterglow-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #260b2d 0%, #260b2df7 26%, #351039cc 45%, #3510390c 76%), linear-gradient(0deg, #260b2d80, transparent 55%); }
.afterglow-inner { padding-block: 75px 84px; }
.afterglow h1 { max-width: 690px; }
.afterglow h1 em { color: #ffd0e5; }
.afterglow-hero .eyebrow { color: #f6caec; }
.afterglow-hero .lede { color: #f4e5f4; }
.afterglow .story { background: var(--deep); color: white; }
.afterglow .story .eyebrow { color: #f8b8df; }
.afterglow .story .steps, .afterglow .story .steps article { border-color: #ffffff30; }
.afterglow .story .steps p { color: #f0dff4; }
.portrait-pair { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 15px; }
.portrait-pair img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 95px 95px 17px 17px; }
.portrait-pair img:last-child { margin-top: 36px; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .membership-inner, .faq { gap: 26px; }
}
@media (max-width: 780px) {
  :root:has(.home-header) { --header-height: 96px; }
  .home-header .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 48px minmax(48px, auto);
    gap: 0 10px;
  }
  .home-header .brand { grid-column: 1 / -1; justify-self: start; }
  .site-links a:not(.terms-link) { display: none; }
}
@media (max-width: 635px) {
  :root:not(:has(.home-header)) { --header-height: 64px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { gap: 10px; }
  .afterglow-story, .membership-inner, .faq { grid-template-columns: 1fr; }
  .afterglow-hero { min-height: 570px; align-items: end; }
  .afterglow-hero .backdrop { width: 100%; object-position: 50% 50%; }
  .afterglow-hero::before { background: linear-gradient(0deg, #260b2d 2%, #260b2de8 31%, #35103952 69%, transparent); }
  .afterglow-inner { padding-block: 190px 42px; }
  .plans article { padding: 15px; }
  .footer-inner { align-items: start; flex-direction: column; gap: 12px; }
}
@media (max-width: 350px) {
  .brand { font-size: .95rem; }
  .plans { grid-template-columns: 1fr; }
}

.availability-link {
  color: white; border: 1px solid #ffffff65; border-radius: 40px;
  min-height: 40px; padding: 0 16px; display: inline-flex; align-items: center;
  text-decoration: none; font-weight: 700; font-size: .9rem; white-space: nowrap;
}
.availability-link:hover { background-color: #ffffff18; }
.store-availability { background: #27102d; border-block: 1px solid #ffffff26; color: white; }
.store-inner { display: grid; justify-items: center; gap: 13px; text-align: center; padding-block: 27px 29px; }
.store-platforms { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.store-platform {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 49px; padding: 9px 16px; border-radius: 11px;
  border: 1px solid #e3b6e550; background: #190b20; font-size: 1rem; font-weight: 710;
}
.store-platform img { filter: brightness(0) invert(1); }
.store-inner p { color: #f4c7e8; font-size: 1rem; font-weight: 650; }
@media (max-width: 400px) {
  .availability-link { padding-inline: 10px; }
  .store-platform { padding-inline: 12px; }
}
