@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&display=swap");

:root {
  --ink: #0f0a14;
  --ink-soft: #17101f;
  --plum: #24162e;
  --paper: #f3ece8;
  --paper-soft: #e5d9d5;
  --rose: #ec7898;
  --rose-bright: #ffabc0;
  --coral: #f29a82;
  --violet: #aa8ee8;
  --text: #fff7f4;
  --text-soft: #d3c4d2;
  --text-faint: #9f8fa3;
  --line: rgba(255, 240, 245, 0.13);
  --line-dark: rgba(31, 19, 38, 0.14);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: min(1180px, calc(100% - 2rem));
  --measure: 68ch;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

:focus-visible {
  outline: 3px solid var(--rose-bright);
  outline-offset: 4px;
}

::selection { background: var(--rose); color: var(--ink); }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.wrap { width: var(--wrap); margin-inline: auto; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: env(safe-area-inset-top);
  background: color-mix(in srgb, var(--ink) 87%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-nav__inner {
  width: var(--wrap);
  min-height: 70px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand__mark {
  width: 22px;
  height: 22px;
  position: relative;
}

.brand__mark::before,
.brand__mark::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.brand__mark::before { left: 0; color: var(--coral); }
.brand__mark::after { right: 0; color: var(--violet); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 0.75rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); }

.hero {
  min-height: min(820px, calc(100svh - 70px));
  display: grid;
  align-items: center;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -20% -10%;
  background:
    radial-gradient(circle at 72% 48%, rgba(236, 120, 152, 0.22), transparent 26%),
    radial-gradient(circle at 86% 24%, rgba(170, 142, 232, 0.14), transparent 24%),
    linear-gradient(135deg, var(--ink), #160d1d 55%, #1b1024);
}

.hero__grid {
  width: var(--wrap);
  margin-inline: auto;
  padding-block: clamp(4rem, 9vw, 7.5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.kicker {
  margin: 0 0 1.2rem;
  color: var(--rose-bright);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
.serif {
  font-family: var(--serif);
  font-weight: 500;
}

h1 {
  margin-bottom: 1.35rem;
  max-width: 11ch;
  font-size: clamp(3.65rem, 8.3vw, 7.7rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.lede {
  max-width: 51ch;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  min-height: 50px;
  padding: 0.82rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button--primary {
  background: var(--text);
  border-color: var(--text);
  color: var(--ink);
}

.button--ghost { background: rgba(255, 255, 255, 0.035); }

.hero__art {
  position: relative;
  max-width: 620px;
  justify-self: end;
}

.hero__art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12%;
  border-radius: 50%;
  background: rgba(242, 154, 130, 0.26);
  filter: blur(52px);
}

.hero__art img {
  width: 100%;
  border-radius: 48% 48% 42% 42% / 43% 44% 55% 57%;
  box-shadow: 0 45px 100px rgba(0, 0, 0, 0.4);
}

.hero-note {
  width: min(280px, 70%);
  position: absolute;
  right: -1rem;
  bottom: 1.5rem;
  padding: 1rem 1.1rem;
  background: rgba(19, 11, 25, 0.88);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  color: var(--text-soft);
  font-size: 0.9rem;
}

.hero-note strong { display: block; color: var(--text); }

.section { padding-block: clamp(5rem, 10vw, 9rem); }
.section--paper { background: var(--paper); color: #241729; }
.section--plum { background: var(--ink-soft); }

.section-head {
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 2rem;
}

.section-head h2 { max-width: 10ch; margin-bottom: 0; }

.section-head > p {
  max-width: 49ch;
  margin-bottom: 0.3rem;
  color: var(--text-soft);
}

.section--paper .section-head > p,
.section--paper .copy { color: #6d5d6c; }

.ritual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.ritual-step {
  min-height: 310px;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ritual-step__number {
  color: #a07888;
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
}

.ritual-step h3 { font-family: var(--serif); font-size: 1.85rem; font-weight: 500; }

.feature-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}

.feature-split + .feature-split { margin-top: clamp(5rem, 10vw, 9rem); }
.feature-split--reverse > :first-child { order: 2; }

.feature-art {
  overflow: hidden;
  position: relative;
  border-radius: 34px;
  background: var(--plum);
}

.feature-art img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.feature-copy { max-width: 500px; }
.feature-copy h2 { max-width: 9ch; }
.feature-copy p { color: var(--text-soft); }

.fact-list {
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.fact-list li {
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
}

.fact-list span:last-child { color: var(--text-faint); text-align: right; }

.pricing {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.price-panel { padding: clamp(1.6rem, 5vw, 3.5rem); background: var(--ink-soft); }
.price-panel--featured { background: #201227; }
.price { margin: 1.8rem 0 0.25rem; font-family: var(--serif); font-size: 3.4rem; line-height: 1; }
.price small { font-family: var(--sans); font-size: 0.85rem; color: var(--text-faint); }

.page-hero {
  padding-block: clamp(4.5rem, 10vw, 8rem);
  background:
    radial-gradient(circle at 80% 20%, rgba(236, 120, 152, 0.16), transparent 27%),
    var(--ink);
}

.page-hero h1 {
  max-width: 13ch;
  font-size: clamp(3.25rem, 7vw, 6.4rem);
}

.page-hero .lede { max-width: 58ch; }

.content-shell {
  padding-block: clamp(3rem, 7vw, 6rem);
  background: var(--paper);
  color: #241729;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.toc { position: sticky; top: 100px; }
.toc p { margin-bottom: 0.75rem; color: #8b6b78; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.toc a { display: block; padding-block: 0.5rem; color: #6b5665; }
.toc a:hover { color: #241729; }

.prose { max-width: var(--measure); }
.prose section { padding-block: 0 2.5rem; scroll-margin-top: 100px; }
.prose section + section { padding-top: 2.5rem; border-top: 1px solid var(--line-dark); }
.prose h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: none; }
.prose h3 { margin-top: 1.6rem; }
.prose p,
.prose li { color: #655364; }
.prose a { color: #7a3152; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: #2e1d2c; }
.prose ul,
.prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.55rem; }
.updated { color: #8b6b78; font-size: 0.88rem; }

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.support-card { padding: clamp(1.5rem, 4vw, 2.4rem); background: var(--paper); }
.support-card h2 { font-size: 2.2rem; }
.support-card p { color: #655364; }
.support-card a:not(.button) { color: #7a3152; text-decoration: underline; text-underline-offset: 3px; }

.faq details { border-top: 1px solid var(--line-dark); }
.faq details:last-child { border-bottom: 1px solid var(--line-dark); }
.faq summary {
  min-height: 60px;
  padding-block: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  color: #2e1d2c;
  font-weight: 600;
}
.faq summary::after { content: "+"; color: #a07888; font-size: 1.4rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1.25rem; max-width: 65ch; color: #655364; }

.notice {
  margin-block: 2rem;
  padding: 1.25rem 1.4rem;
  background: #eadde0;
  border-left: 3px solid #9e4968;
  color: #543946;
}

.site-footer {
  padding: 2.2rem max(1rem, env(safe-area-inset-left)) max(2.2rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--text-faint);
}

.site-footer__inner {
  width: var(--wrap);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.88rem;
}

.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.2rem 1rem; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--text); }

@media (hover: hover) and (pointer: fine) {
  .button:hover { transform: translateY(-2px); }
  .button--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 240, 245, 0.25); }
}

@media (max-width: 820px) {
  .site-nav__inner { align-items: flex-start; flex-direction: column; gap: 0; padding-top: 0.45rem; }
  .nav-links {
    width: 100%;
    padding-bottom: 0.35rem;
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
    overflow: visible;
  }
  .nav-links a { padding-inline: 0.3rem; font-size: 0.82rem; }
  .nav-links a:first-child { padding-left: 0; }
  .nav-links a:last-child { padding-right: 0; }
  .hero { min-height: 0; }
  .hero__grid,
  .section-head,
  .feature-split,
  .pricing,
  .content-grid { grid-template-columns: 1fr; }
  .hero__art { justify-self: stretch; max-width: 520px; }
  .hero-note { right: 0.5rem; }
  .section-head h2 { max-width: 12ch; }
  .feature-split--reverse > :first-child { order: initial; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 0 1rem; border-bottom: 1px solid var(--line-dark); padding-bottom: 1rem; }
  .toc p { width: 100%; }
  .toc a { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (max-width: 680px) {
  .ritual-grid,
  .support-grid { grid-template-columns: 1fr; }
  .ritual-step { min-height: 240px; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .fact-list li { grid-template-columns: 1fr; gap: 0.2rem; }
  .fact-list span:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
