:root {
  --bg: #09060f;
  --bg-2: #140d1d;
  --paper: rgba(18, 13, 27, 0.88);
  --paper-soft: rgba(255, 247, 235, 0.05);
  --ink: #f6ead6;
  --muted: rgba(246, 234, 214, 0.72);
  --muted-soft: rgba(246, 234, 214, 0.48);
  --line: rgba(255, 214, 153, 0.12);
  --line-strong: rgba(255, 214, 153, 0.22);
  --accent: #d0a765;
  --accent-strong: #f2cf93;
  --success: #b7f0c2;
  --danger: #ffb8b8;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(103, 71, 149, 0.2), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(208, 167, 101, 0.12), transparent 20%),
    linear-gradient(180deg, var(--bg) 0%, #0d0814 42%, var(--bg-2) 100%);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.03), transparent 58%),
    radial-gradient(circle at 20% 80%, rgba(90, 61, 120, 0.12), transparent 26%);
}

.background-layer {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.68;
}

.background-layer-a {
  top: 64px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: rgba(208, 167, 101, 0.12);
}

.background-layer-b {
  left: -100px;
  top: 40%;
  width: 260px;
  height: 260px;
  background: rgba(103, 71, 149, 0.18);
}

.backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 214, 153, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 214, 153, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 22%, transparent 80%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.hero-frame,
.card,
.mystic-card {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(21, 15, 30, 0.94), rgba(13, 10, 22, 0.9));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-frame::before,
.card::before,
.mystic-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.hero-frame {
  border-radius: 34px;
  padding: 18px 26px 28px;
  text-align: center;
  overflow: hidden;
}

.hero-frame::after {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 220px;
  background: radial-gradient(circle, rgba(242, 207, 147, 0.14), transparent 70%);
  pointer-events: none;
}

.brand-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff5dd 0%, var(--accent) 45%, rgba(208, 167, 101, 0.2) 100%);
  box-shadow: 0 0 20px rgba(242, 207, 147, 0.45);
}

.brand-kicker,
.eyebrow,
.label,
.mini-label {
  margin: 0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand-kicker,
.label,
.mini-label {
  font-size: 0.76rem;
}

.brand-mark strong {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-symbol {
  display: flex;
  justify-content: center;
  margin: 8px 0 16px;
}

.hero-symbol img {
  width: min(250px, 28vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(242, 207, 147, 0.16));
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 11ch;
  margin: 12px auto 0;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  line-height: 1.14;
}

.lede,
.side-note,
.checkout-copy,
.status,
.benefit-list p,
.path-item p,
.disclaimer-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.lede {
  max-width: 44ch;
  margin: 14px auto 0;
}

.content-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: start;
}

.story-column {
  display: grid;
  gap: 20px;
}

.mystic-card {
  border-radius: 28px;
  padding: 26px;
}

.benefit-list,
.pathway-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.benefit-list > div,
.path-item {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  padding: 17px;
}

.benefit-list strong,
.path-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.04rem;
}

.path-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.path-item span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f7dfb4, #a67437 70%);
  color: #2e1a07;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  box-shadow: 0 12px 24px rgba(166, 116, 55, 0.22);
}

.card {
  border-radius: 30px;
  padding: 28px;
}

.intake-card {
  background:
    linear-gradient(180deg, rgba(20, 14, 31, 0.96), rgba(12, 9, 21, 0.96)),
    linear-gradient(135deg, rgba(255, 247, 235, 0.05), rgba(255, 247, 235, 0));
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}

.side-note {
  max-width: 31ch;
  margin: 0;
}

.ritual-banner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 20px;
}

.ritual-banner > div {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  padding: 16px;
}

.ritual-banner strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  line-height: 1.45;
}

.signup-form,
.checkout-panel {
  display: grid;
  gap: 18px;
}

.grid.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--accent-strong);
  font-size: 0.96rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 214, 153, 0.14);
  border-radius: 18px;
  padding: 15px 16px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 247, 235, 0.08), rgba(255, 247, 235, 0.04)),
    rgba(12, 9, 18, 0.82);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-soft);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(242, 207, 147, 0.42);
  box-shadow: 0 0 0 4px rgba(242, 207, 147, 0.09), 0 10px 30px rgba(242, 207, 147, 0.06);
  transform: translateY(-1px);
}

textarea {
  min-height: 128px;
  resize: vertical;
}

.primary {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 16px 24px;
  color: #2b1705;
  font-weight: 700;
  background: linear-gradient(135deg, #f5d8a5 0%, #d1a765 45%, #f1c57d 100%);
  box-shadow: 0 16px 36px rgba(209, 167, 101, 0.26);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(209, 167, 101, 0.32);
}

.checkout-panel {
  margin-top: 8px;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid var(--line-strong);
  background: var(--paper-soft);
}

.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.checkout-badge {
  padding: 10px 15px;
  border: 1px solid rgba(255, 214, 153, 0.16);
  border-radius: 999px;
  background: rgba(255, 247, 235, 0.06);
  color: var(--accent-strong);
}

.paypal-shell {
  border-radius: 20px;
  padding: 14px;
  background: rgba(255, 247, 235, 0.04);
  border: 1px dashed rgba(255, 214, 153, 0.16);
}

.status {
  min-height: 28px;
  margin-top: 6px;
}

.status.error {
  color: var(--danger);
}

.status.success {
  color: var(--success);
}

.hidden {
  display: none;
}

@media (max-width: 1080px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-symbol img {
    width: min(220px, 34vw);
  }

  h1 {
    max-width: 100%;
  }
}

@media (max-width: 860px) {
  .shell {
    width: min(100% - 20px, 1180px);
    padding: 16px 0 56px;
  }

  .hero-frame,
  .card,
  .mystic-card {
    border-radius: 24px;
  }

  .hero-frame,
  .card,
  .mystic-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .card-head,
  .checkout-header {
    flex-direction: column;
    align-items: start;
  }

  .ritual-banner,
  .grid.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shell {
    width: calc(100% - 16px);
  }

  .hero-frame,
  .card,
  .mystic-card {
    padding: 18px;
  }

  .hero-symbol {
    margin: 4px 0 12px;
  }

  .hero-symbol img {
    width: min(180px, 46vw);
  }

  h1 {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
  }

  h2 {
    font-size: 1.9rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .path-item {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .path-item span {
    width: 42px;
    height: 42px;
  }

  .checkout-badge {
    width: 100%;
    text-align: center;
  }

  input,
  textarea,
  .primary {
    font-size: 16px;
  }
}
