:root {
  --ink: #211d19;
  --muted: #6f665f;
  --paper: #fffaf2;
  --peach: #ed7658;
  --violet: #6356a5;
  --indigo: #29225b;
  --gold: #e9a84b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: auto;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 8% 8%, rgba(144, 123, 238, 0.16), transparent 30%),
    radial-gradient(circle at 92% 20%, rgba(240, 132, 101, 0.14), transparent 28%),
    radial-gradient(circle at 50% 88%, rgba(245, 190, 89, 0.12), transparent 25%),
    var(--paper);
}

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

.page-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.brand-icon {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 11px;
  object-fit: contain;
}

.glass {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 70px rgba(62, 45, 28, 0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.site-nav {
  right: 14px;
  left: 14px;
  width: auto;
  margin-inline: auto;
  transform: none;
}

.site-nav.glass {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #665c54;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--gold), var(--peach));
  box-shadow: 0 0 0 5px rgba(233, 168, 75, 0.13);
}

.btn-primary {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 28px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #e96042, #9b4d76 58%, #574b99);
  box-shadow: 0 13px 30px rgba(151, 74, 96, 0.24);
  font-weight: 700;
  transition: box-shadow 0.25s ease;
}

.btn-primary:hover {
  box-shadow: 0 17px 38px rgba(151, 74, 96, 0.32);
}

.btn-secondary {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid rgba(70, 60, 53, 0.13);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-secondary:hover {
  background: white;
  box-shadow: 0 8px 20px rgba(62, 45, 28, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.account-menu {
  position: relative;
}

.account-menu summary {
  display: flex;
  min-height: 42px;
  padding: 0 13px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(70, 60, 53, 0.11);
  border-radius: 999px;
  color: #5f5650;
  background: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: background .2s ease;
}

.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary:hover { background: white; }
.account-menu-icon { color: var(--violet); font-size: 17px; line-height: 1; }
.account-menu-arrow { font-size: 13px; transition: transform .2s ease; }
.account-menu[open] .account-menu-arrow { transform: rotate(180deg); }

.account-menu-dropdown {
  position: absolute;
  top: calc(100% + 13px);
  right: 0;
  width: 270px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 20px;
  background: rgba(255, 250, 244, .96);
  box-shadow: 0 22px 60px rgba(44, 33, 28, .16);
  backdrop-filter: blur(20px);
}

.account-menu-caption {
  display: block;
  padding: 7px 10px 8px;
  color: #9a8e85;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.account-menu-dropdown a {
  display: flex;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 13px;
  color: var(--ink);
  text-decoration: none;
  transition: background .2s ease;
}

.account-menu-dropdown a:hover { background: #f1edff; }
.account-menu-dropdown a > span:first-child { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #5d5196; background: #eee9ff; }
.account-menu-dropdown strong { display: block; font-size: 12px; }
.account-menu-dropdown small { display: block; margin-top: 3px; color: #82776f; font-size: 10px; }

.section-title {
  max-width: 780px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.hero-copy .seo-hero-title {
  font-size: clamp(40px, 4.5vw, 60px);
  line-height: 1.08;
}

.seo-hero-title span {
  display: block;
  margin-top: 0.4em;
  font-size: 0.66em;
  line-height: 1.2;
}

.fade-up {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

.device-visual {
  filter: drop-shadow(0 30px 48px rgba(64, 44, 42, 0.13));
}

.device-stage {
  position: relative;
  overflow: hidden;
  border-radius: 32px 0 0 32px;
  box-shadow: -18px 24px 60px rgba(41, 34, 91, 0.18);
}

.landscape-badge {
  position: absolute;
  right: 8%;
  bottom: 7%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: #312a4f;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 35px rgba(41, 34, 91, 0.15);
  backdrop-filter: blur(16px);
  font-size: 12px;
  font-weight: 800;
}

.landscape-icon {
  display: inline-block;
  width: 18px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.dot-grid {
  background-image: radial-gradient(rgba(86, 72, 65, 0.13) 1px, transparent 1px);
  background-size: 26px 26px;
}

.feature-showcase {
  display: grid;
  gap: 22px;
}

.feature-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 44px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 40px;
  background: linear-gradient(to bottom right, #f4e9ff, #fff4eb 50%, #fae1d5);
  box-shadow: 0 35px 90px rgba(112, 74, 82, 0.12);
  overflow: hidden;
}

@media (min-width: 768px) {
  .feature-row {
    padding: 56px;
  }
}

.feature-row-reverse {
  grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1.25fr);
}

.feature-row-reverse .feature-image-wrap {
  order: 2;
}

.feature-row-reverse .feature-copy {
  order: 1;
}

.feature-image-wrap {
  overflow: visible;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.feature-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-copy {
  padding: 24px 28px 24px 8px;
}

.feature-row-reverse .feature-copy {
  padding: 24px 8px 24px 28px;
}

.feature-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-right: 10px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--indigo);
  font-size: 12px;
  font-weight: 800;
}

.feature-label {
  color: #8b6f52;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-copy h3 {
  margin: 22px 0 0;
  font-size: clamp(27px, 3vw, 39px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.feature-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.feature-chips span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #4c435b;
  background: #efeafd;
  font-size: 12px;
  font-weight: 700;
}

.token-dots {
  display: flex;
  gap: 8px;
  margin-top: 23px;
}

.token-dots span {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(54, 39, 48, 0.18);
}

.token-dots span:nth-child(1) { background: #dc3f83; }
.token-dots span:nth-child(2) { background: #5943a4; }
.token-dots span:nth-child(3) { background: #11a6d9; }
.token-dots span:nth-child(4) { background: #30a853; }
.token-dots span:nth-child(5) { background: #f2c235; }
.token-dots span:nth-child(6) { background: #f27d21; }
.token-dots span:nth-child(7) { background: #d7283e; }

.metaphor-visual {
  position: relative;
  min-height: 430px;
  border-radius: 23px;
  background-image: url("../assets/metaphor-background-1000.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.metaphor-visual::before {
  content: none;
}

.metaphor-card {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 190px;
  height: 280px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  box-shadow: 0 28px 55px rgba(13, 9, 38, 0.34);
}

.card-back {
  color: #f1c56f;
  background: #39236f;
  transform: translate(-82%, -47%) rotate(-11deg);
  font-size: 60px;
}

.card-middle {
  color: #f6d7a0;
  background: linear-gradient(160deg, #754882, #354d98);
  transform: translate(-26%, -50%) rotate(8deg);
  font-size: 64px;
}

.card-front {
  padding: 26px;
  color: #302346;
  background: linear-gradient(155deg, #fff8e9, #efd9fb);
  text-align: center;
  transform: translate(-54%, -52%);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.feature-copy .feature-note {
  padding-left: 15px;
  border-left: 2px solid var(--gold);
  color: #4f465f;
  font-size: 14px;
  font-weight: 600;
}

.group-panel {
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 48px;
  padding: 54px 0 54px 54px;
  border-radius: 38px;
  color: white;
  background:
    radial-gradient(circle at 8% 15%, rgba(218, 79, 217, 0.2), transparent 28%),
    linear-gradient(135deg, #21164d, #34338b 58%, #4c246f);
  box-shadow: 0 32px 85px rgba(41, 34, 91, 0.2);
  overflow: hidden;
}

.group-label {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #f0c77e;
  background: rgba(255, 255, 255, 0.07);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.group-copy h2 {
  margin: 22px 0 0;
  font-size: clamp(35px, 4.4vw, 55px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.group-copy > p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.75;
}

.group-copy ul {
  display: grid;
  gap: 11px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.55;
}

.group-copy li {
  display: flex;
  gap: 10px;
}

.group-copy li span {
  color: #f0c77e;
  font-weight: 800;
}

.practitioner-note {
  display: flex;
  gap: 13px;
  margin-top: 27px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.practitioner-note > span {
  color: #f0c77e;
}

.practitioner-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.6;
}

.practitioner-note strong {
  display: block;
  margin-bottom: 3px;
  color: white;
}

.group-image-wrap {
  overflow: hidden;
  border-radius: 28px 0 0 28px;
  background: transparent;
 /* box-shadow: -16px 24px 60px rgba(9, 7, 31, 0.3);*/
}

.group-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 180px;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
}

.faq-plus {
  transition: transform 0.25s ease;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  width: min(420px, calc(100% - 32px));
  padding: 15px 18px;
  border-radius: 16px;
  color: white;
  background: #211d19;
  text-align: center;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 24px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.purchase-modal {
  width: min(520px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 32px;
  color: var(--ink);
  background: transparent;
  box-shadow: 0 32px 100px rgba(33, 29, 25, 0.28);
  overflow: auto;
}

.purchase-modal::backdrop {
  background: rgba(31, 25, 43, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.purchase-modal-card {
  position: relative;
  padding: 38px;
  background:
    radial-gradient(circle at 100% 0, rgba(231, 171, 238, 0.25), transparent 34%),
    #fffaf4;
}

.purchase-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(33, 29, 25, 0.1);
  border-radius: 50%;
  color: #655c55;
  background: rgba(255, 255, 255, 0.7);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.purchase-step {
  color: #9b4d76;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.purchase-form-view h2,
.purchase-success h2 {
  margin: 10px 44px 0 0;
  font-size: clamp(30px, 7vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.purchase-intro,
.purchase-success > p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

#purchase-form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.purchase-field {
  display: grid;
  gap: 8px;
  color: #4d453f;
  font-size: 13px;
  font-weight: 700;
}

.purchase-field input {
  width: 100%;
  height: 54px;
  padding: 0 17px;
  border: 1px solid rgba(54, 45, 39, 0.14);
  border-radius: 15px;
  outline: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.purchase-field input:focus {
  border-color: #8f6cb0;
  box-shadow: 0 0 0 4px rgba(99, 86, 165, 0.1);
}

.purchase-field input[aria-invalid="true"] {
  border-color: #c94949;
}

.field-error {
  min-height: 0;
  color: #b53e3e;
  font-size: 12px;
  font-weight: 600;
}

.field-error:empty {
  display: none;
}

.purchase-summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(33, 29, 25, 0.1);
  border-bottom: 1px solid rgba(33, 29, 25, 0.1);
  font-size: 14px;
}

.repeat-discount-note { margin: -8px 0 0; padding: 11px 13px; border-radius: 12px; color: #28734d; background: #e5f5e9; font-size: 12px; font-weight: 700; }

.purchase-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.purchase-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.submit-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: purchase-spin 0.7s linear infinite;
}

.purchase-submit.is-loading .submit-label { display: none; }
.purchase-submit.is-loading .submit-loader { display: block; }

@keyframes purchase-spin {
  to { transform: rotate(360deg); }
}

.purchase-legal {
  margin: -4px 16px 0;
  color: #8a8078;
  text-align: center;
  font-size: 11px;
  line-height: 1.55;
}

.purchase-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: #625950;
  font-size: 13px;
  line-height: 1.45;
}

.purchase-consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #29225b;
}

.purchase-consent a {
  color: #29225b;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.purchase-consent-error {
  display: block;
  margin-top: -2px;
}

.purchase-submit-error {
  margin: -5px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(181, 62, 62, 0.18);
  border-radius: 13px;
  color: #983939;
  background: rgba(255, 235, 232, 0.82);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.purchase-submit-error[hidden] {
  display: none;
}

.purchase-success {
  padding: 14px 0 4px;
  text-align: center;
}

.purchase-success[hidden],
.purchase-form-view[hidden] {
  display: none;
}

.success-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, #57a869, #348d6c);
  box-shadow: 0 12px 28px rgba(52, 141, 108, 0.22);
  font-size: 25px;
  font-weight: 800;
}

.purchase-success h2 {
  margin-right: 0;
}

.purchase-code-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 8px 8px 8px 16px;
  border: 1px solid rgba(99, 86, 165, 0.18);
  border-radius: 16px;
  background: #f1edff;
}

.purchase-code-row code {
  flex: 1;
  color: #3d336c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(14px, 4vw, 18px);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.purchase-code-row button {
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  color: white;
  background: var(--indigo);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.purchase-success .purchase-email-note {
  margin-top: 16px;
  font-size: 13px;
}

.purchase-done {
  width: 100%;
  margin-top: 25px;
  cursor: pointer;
}

@media (max-width: 767px) {
  .purchase-modal-card {
    padding: 32px 22px 26px;
  }

  .page-container {
    width: 90%;
    max-width: none;
  }

  body > nav {
    right: 5%;
    left: 5%;
    width: auto !important;
  }

  .device-stage {
    margin-right: 0 !important;
    margin-left: 0 !important;
    border-radius: 28px;
  }

  .nav-links,
  .desktop-label,
  .account-menu-label,
  .account-menu-arrow {
    display: none;
  }

  .account-menu summary {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .account-menu-dropdown {
    position: fixed;
    top: 74px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-actions,
  .hero-proof {
    justify-content: center;
  }

  .landscape-badge {
    right: 5%;
    bottom: 2%;
  }

  .toast {
    width: 90%;
  }

  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px;
  }

  .feature-row-reverse .feature-image-wrap,
  .feature-row-reverse .feature-copy {
    order: initial;
  }

  .feature-copy,
  .feature-row-reverse .feature-copy {
    padding: 24px 14px 26px;
  }

  .metaphor-visual {
    min-height: 350px;
  }

  .metaphor-card {
    width: 150px;
    height: 225px;
  }

  .group-panel {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 34px 14px 14px;
  }

  .group-copy {
    padding: 0 12px;
  }

  .group-image-wrap {
    border-radius: 22px;
  }
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
