:root {
  --ink: #20172f;
  --muted: #6f6879;
  --paper: #faf8fc;
  --white: #ffffff;
  --purple: #5d2b92;
  --purple-deep: #31104f;
  --violet: #9b61d4;
  --lavender: #e9daf7;
  --lavender-pale: #f4eef9;
  --line: rgba(57, 36, 76, 0.12);
  --shadow: 0 30px 80px rgba(41, 17, 67, 0.14);
  --radius-lg: 32px;
  --radius-md: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.ambient {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 999px;
  filter: blur(100px);
  opacity: 0.14;
  pointer-events: none;
  z-index: -1;
}

.ambient-one { background: #b278ea; top: -250px; right: -120px; }
.ambient-two { background: #db9cff; top: 650px; left: -350px; }

.site-header {
  height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #b996d8; border-radius: 50%; color: var(--purple); }

nav { display: flex; gap: 34px; font-size: 14px; color: var(--muted); }
nav a { transition: color .2s ease; }
nav a:hover { color: var(--purple); }

.header-cta { justify-self: end; font-size: 14px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 44px;
  padding-block: 74px 92px;
}

.eyebrow { margin: 0 0 18px; color: var(--purple); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 700; }
.eyebrow > span { display: inline-block; width: 22px; height: 1px; margin: 0 9px 3px 0; background: currentColor; }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Playfair Display", serif; font-weight: 500; letter-spacing: -0.035em; }
h1 { margin-bottom: 24px; font-size: clamp(54px, 6.2vw, 88px); line-height: .97; }
h1 em { color: var(--purple); font-weight: 500; }

.hero-lede { max-width: 530px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: linear-gradient(135deg, #4e1d7c, #743ca9); box-shadow: 0 14px 32px rgba(82, 30, 126, .24); }
.button-primary:hover { box-shadow: 0 18px 38px rgba(82, 30, 126, .32); }
.text-link { padding-bottom: 4px; border-bottom: 1px solid #a09aa7; font-size: 14px; font-weight: 600; }

.trust-row { display: flex; gap: 26px; margin-top: 58px; padding-top: 26px; border-top: 1px solid var(--line); }
.trust-row > div { display: flex; align-items: flex-start; gap: 10px; }
.trust-row span { color: var(--violet); font-size: 20px; }
.trust-row p { margin: 0; color: #8b8491; font-size: 11px; line-height: 1.5; }
.trust-row strong { color: #4e4757; font-size: 12px; }

.crystal-stage {
  position: relative;
  min-height: 530px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.crystal-stage::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(177, 115, 228, .36), rgba(241, 228, 250, .08) 60%, transparent 70%);
  z-index: -2;
}

.orbit { position: absolute; border: 1px solid rgba(123, 66, 174, .2); border-radius: 50%; transform: rotate(-14deg); }
.orbit-one { width: 455px; height: 155px; }
.orbit-two { width: 390px; height: 130px; transform: rotate(22deg); }
.glow-core { position: absolute; width: 150px; height: 150px; border-radius: 50%; background: #b25ff0; filter: blur(52px); opacity: .68; }

.crystal {
  position: absolute;
  bottom: 130px;
  transform-origin: bottom;
  border: 1px solid rgba(255,255,255,.45);
  filter: drop-shadow(0 18px 14px rgba(58, 16, 90, .28));
  clip-path: polygon(50% 0, 88% 28%, 79% 100%, 18% 100%, 9% 28%);
  background: linear-gradient(115deg, rgba(255,255,255,.7) 0 5%, #6a289e 20%, #b971e7 48%, #4a176e 68%, #dba8fa 100%);
}

.crystal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(72deg, transparent 34%, rgba(255,255,255,.42) 35%, transparent 52%); }
.crystal-a { width: 92px; height: 280px; transform: translateX(-12px); z-index: 4; }
.crystal-b { width: 80px; height: 220px; transform: translateX(-88px) rotate(-24deg); z-index: 3; }
.crystal-c { width: 72px; height: 205px; transform: translateX(72px) rotate(24deg); z-index: 2; }
.crystal-d { width: 65px; height: 155px; transform: translateX(-138px) rotate(-45deg); z-index: 1; }
.crystal-e { width: 62px; height: 145px; transform: translateX(125px) rotate(48deg); z-index: 1; }
.crystal-base { position: absolute; bottom: 93px; width: 300px; height: 75px; border-radius: 50%; background: radial-gradient(ellipse at 50% 20%, #a452d5, #5c247f 52%, #2c113e 78%); box-shadow: 0 35px 60px rgba(65, 20, 93, .32); }

.spark { position: absolute; color: #8d52bf; animation: float 4s ease-in-out infinite; }
.spark-one { top: 90px; right: 72px; font-size: 20px; }
.spark-two { top: 140px; left: 80px; font-size: 46px; animation-delay: -1.4s; }
.spark-three { bottom: 92px; right: 38px; animation-delay: -2.4s; }
@keyframes float { 50% { transform: translateY(-12px) rotate(8deg); opacity: .55; } }

.floating-note { position: absolute; padding: 11px 16px; border: 1px solid rgba(88, 45, 120, .12); border-radius: 999px; background: rgba(255,255,255,.8); backdrop-filter: blur(10px); box-shadow: 0 12px 30px rgba(39, 20, 51, .1); color: #574e5f; font-size: 11px; }
.floating-note span { margin-right: 6px; color: var(--purple); }
.note-top { top: 68px; left: 38px; }
.note-bottom { right: 16px; bottom: 72px; }

.ritual-section { scroll-margin-top: 30px; }
.ritual-card { display: grid; grid-template-columns: 1.55fr .85fr; overflow: hidden; border: 1px solid rgba(76, 42, 99, .12); border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--white); }
form { padding: 52px; }
.section-heading { display: flex; gap: 18px; margin-bottom: 38px; }
.heading-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; color: var(--purple); background: var(--lavender-pale); border-radius: 50%; }
.section-heading .eyebrow { margin-bottom: 9px; }
.section-heading h2 { margin-bottom: 8px; font-size: 38px; }
.section-heading > div > p:last-child { color: var(--muted); font-size: 14px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
label > span { display: block; margin-bottom: 9px; color: #504858; font-size: 12px; font-weight: 700; }
label i { color: #98919d; font-weight: 400; }
input, select { width: 100%; min-height: 50px; padding: 0 15px; border: 1px solid #ded8e3; border-radius: 10px; outline: none; color: var(--ink); background: #fff; transition: border .2s ease, box-shadow .2s ease; }
input::placeholder { color: #b1aab5; }
input:focus, select:focus { border-color: #9b66c9; box-shadow: 0 0 0 4px rgba(143, 84, 193, .11); }
label.invalid input, label.invalid select { border-color: #bd5271; }
.field-error { display: none; margin-top: 6px; color: #ad3f60; font-size: 11px; }
label.invalid .field-error { display: block; }
.email-field { grid-column: 1 / -1; }

.checkout-row { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.submit-button { min-width: 210px; }
.price { display: flex; flex-direction: column; font-size: 13px; }
.price span, .secure { color: #97909c; font-size: 10px; }
.secure { margin-left: auto; }
.secure span { color: var(--purple); }

.receive-panel { padding: 54px 42px; color: #fff; background: radial-gradient(circle at 80% 0%, #75469c, transparent 35%), linear-gradient(145deg, #2f173e, #49205f 58%, #341744); }
.receive-panel .eyebrow { color: #cfa9ed; }
.receive-panel h3 { margin-bottom: 32px; font-family: "Playfair Display", serif; font-size: 30px; font-weight: 500; }
.receive-list { display: grid; gap: 25px; }
.receive-list article { display: grid; grid-template-columns: 38px 1fr; gap: 13px; }
.receive-icon { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; color: #d6afea; }
.receive-list h4 { margin: 0 0 5px; font-size: 13px; }
.receive-list p { margin: 0; color: #c1b5c8; font-size: 11px; line-height: 1.6; }
blockquote { margin: 40px 0 0; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.14); color: #cbb8d4; font-family: "Playfair Display", serif; font-size: 15px; font-style: italic; text-align: center; }

.process { display: grid; grid-template-columns: .75fr 1.65fr; gap: 60px; padding-block: 128px; }
.process-intro h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1.13; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps article { position: relative; min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.72); }
.step-number { position: absolute; top: 22px; right: 23px; color: #c9bdcf; font-size: 11px; font-weight: 700; }
.step-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 28px 0 35px; border-radius: 14px; color: var(--purple); background: var(--lavender-pale); }
.steps h3 { margin-bottom: 12px; font-family: "Playfair Display", serif; font-size: 20px; font-weight: 600; }
.steps p { color: var(--muted); font-size: 13px; line-height: 1.7; }

.closing { min-height: 250px; display: flex; align-items: center; justify-content: space-between; padding: 52px 70px; border-radius: var(--radius-lg); color: white; background: linear-gradient(120deg, #2c123b, #54206f 62%, #72329a); box-shadow: var(--shadow); }
.closing .eyebrow { color: #d8b9ec; }
.closing h2 { margin: 0; font-size: clamp(38px, 5vw, 60px); }
.button-light { color: var(--purple-deep); background: white; }

footer { min-height: 170px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #8d8692; font-size: 12px; }
footer > p:last-child { justify-self: end; }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(25, 11, 35, .68); backdrop-filter: blur(8px); }
.modal-card { position: relative; width: min(520px, 100%); padding: 48px; border-radius: 28px; background: white; box-shadow: 0 40px 100px rgba(20, 8, 30, .4); text-align: center; }
.modal-close { position: absolute; top: 16px; right: 18px; border: 0; color: #8d8493; background: transparent; font-size: 28px; cursor: pointer; }
.modal-loader { height: 86px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.modal-loader span { width: 12px; height: 38px; border-radius: 999px; background: linear-gradient(#b673df, #552081); animation: pulse 1.1s ease-in-out infinite; }
.modal-loader span:nth-child(2) { height: 60px; animation-delay: -.75s; }
.modal-loader span:nth-child(3) { animation-delay: -.5s; }
@keyframes pulse { 50% { transform: scaleY(.45); opacity: .55; } }
.modal-card h2 { font-size: 35px; }
.modal-card > p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.progress-track { height: 7px; overflow: hidden; margin-top: 28px; border-radius: 99px; background: #eee8f2; }
.progress-track span { display: block; width: 5%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6a3199, #bc79e7); transition: width .8s ease; }
.modal-result { margin-top: -105px; background: white; position: relative; }
.result-mark { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 25px; border-radius: 50%; color: white; background: linear-gradient(135deg, #5c2588, #a258d1); font-size: 24px; }
.modal-result h3 { font-family: "Playfair Display", serif; font-size: 27px; }
.modal-result p { color: var(--muted); line-height: 1.65; }

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .hero-copy { text-align: center; }
  .hero-lede { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .crystal-stage { min-height: 470px; }
  .ritual-card { grid-template-columns: 1fr; }
  .receive-list { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; }
  .process-intro { text-align: center; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1180px); }
  .site-header { height: 74px; }
  .header-cta { display: none; }
  h1 { font-size: 54px; }
  .hero { padding-block: 58px 70px; }
  .hero-actions { flex-direction: column; gap: 18px; }
  .trust-row { display: grid; grid-template-columns: 1fr; text-align: left; margin-inline: 34px; }
  .crystal-stage { min-height: 390px; transform: scale(.82); margin: -40px -50px; }
  .note-top { left: 5px; }
  .note-bottom { right: 5px; }
  form { padding: 36px 24px; }
  .section-heading h2 { font-size: 31px; }
  .form-grid { grid-template-columns: 1fr; }
  .email-field { grid-column: auto; }
  .checkout-row { align-items: stretch; flex-direction: column; }
  .secure { margin-left: 0; }
  .receive-panel { padding: 38px 28px; }
  .receive-list { grid-template-columns: 1fr; }
  .process { padding-block: 88px; }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: 230px; }
  .closing { min-height: 320px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 32px; padding: 42px 30px; }
  footer { grid-template-columns: 1fr; gap: 18px; padding-block: 44px; text-align: center; }
  footer .brand { justify-content: center; }
  footer > p { margin: 0; }
  footer > p:last-child { justify-self: center; }
  .modal-card { padding: 42px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
