/* myMD site design system (homepage-redesign) */

:root {
  --white: #ffffff;
  --bg-tint: #f7f5ff;
  --bg-tint-2: #f0ecff;
  --purple: #6b4eff;
  --purple-dark: #5138d4;
  --purple-pale: #eae5ff;
  --purple-border: #d6ceff;
  --ink: #1a1035;
  --ink-mid: #3d3660;
  --body: #64607a;
  --body-light: #9590ae;
  --luna: #c4517a;
  --luna-pale: #fdf0f5;
  --luna-border: #f2c8d8;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 4px rgba(26, 16, 53, 0.06);
  --shadow-md: 0 4px 20px rgba(26, 16, 53, 0.09);
  --shadow-lg: 0 12px 48px rgba(107, 78, 255, 0.14);
  --nav-height: 62px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

.serif {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  line-height: 1.08;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}
.mymd-home .container {
  max-width: 1280px;
}
.brand-md {
  color: var(--purple);
}
.ask-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c0b8f0;
  display: inline-block;
  animation: askDot 1s infinite ease-in-out;
}
.ask-dot:nth-child(2) {
  animation-delay: 0.15s;
}
.ask-dot:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes askDot {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ask-dot {
    animation: none;
  }
}
.luna-fab {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.luna-fab.is-pressing {
  animation: lunaFabPress 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes lunaFabPress {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 16px rgba(107, 92, 231, 0.55);
  }
  35% {
    transform: scale(0.82);
    box-shadow:
      0 2px 10px rgba(107, 92, 231, 0.7),
      0 0 0 6px rgba(107, 92, 231, 0.18);
  }
  70% {
    transform: scale(1.12);
    box-shadow:
      0 6px 22px rgba(107, 92, 231, 0.6),
      0 0 0 14px rgba(107, 92, 231, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 16px rgba(107, 92, 231, 0.55);
  }
}
.ask-avatar.is-popping {
  animation: askAvatarPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes askAvatarPop {
  0% {
    transform: scale(0.4);
    box-shadow: 0 0 0 0 rgba(107, 92, 231, 0.45);
  }
  55% {
    transform: scale(1.14);
    box-shadow:
      0 10px 28px rgba(107, 92, 231, 0.5),
      0 0 0 16px rgba(107, 92, 231, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(107, 92, 231, 0.38);
  }
}
@media (prefers-reduced-motion: reduce) {
  .luna-fab.is-pressing,
  .ask-avatar.is-popping {
    animation: none;
  }
}
.section {
  padding: 100px 0;
}
.divider {
  height: 1px;
  background: var(--purple-border);
  opacity: 0.5;
  max-width: 1100px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--purple);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(107, 78, 255, 0.3);
}
.btn-outline {
  border: 1.5px solid var(--purple-border);
  color: var(--ink-mid);
  background: var(--white);
}
.btn-outline:hover {
  border-color: var(--purple);
  color: var(--purple);
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(26, 16, 53, 0.04);
}
.nav-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 28px;
  width: auto;
  margin-bottom: 12px;
  display: block;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
/* One header layout on every page, whichever older stylesheets load around it. */
.nav .container.nav-inner {
  max-width: 1100px;
  padding-left: 28px;
  padding-right: 28px;
}
.nav .nav-links {
  margin: 0;
  padding-left: 0;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  transition: color 0.15s;
}
.nav-links a:hover {
  color: var(--ink);
}

/* Features dropdown (desktop nav) */
.nav-dd {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-links .nav-dd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-dd-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}
.nav-dd:hover .nav-dd-chevron,
.nav-dd:focus-within .nav-dd-chevron,
.nav-dd.is-open .nav-dd-chevron {
  transform: rotate(180deg);
}
.nav-dd:hover .nav-dd-trigger,
.nav-dd:focus-within .nav-dd-trigger,
.nav-dd.is-open .nav-dd-trigger,
.nav-links .nav-dd-trigger[aria-current="page"] {
  color: var(--ink);
}
.nav-dd-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 120;
  width: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 8px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s;
}
/* Invisible bridge so the menu stays open while the pointer crosses the gap */
.nav-dd-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 20px;
}
.nav-dd:hover .nav-dd-panel,
.nav-dd:focus-within .nav-dd-panel,
.nav-dd.is-open .nav-dd-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-dd.is-closed .nav-dd-panel {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
}
.nav-dd-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-dd-list li {
  list-style: none;
}
.nav-links .nav-dd-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--ink);
  transition: background 0.15s ease;
}
.nav-links .nav-dd-item:hover,
.nav-links .nav-dd-item:focus-visible,
.nav-links .nav-dd-item[aria-current="page"] {
  background: var(--bg-tint);
  color: var(--ink);
}
.nav-dd-icon,
.nav-drawer-sub-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--purple-pale);
  color: var(--purple);
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.nav-dd-icon svg,
.nav-drawer-sub-icon svg {
  width: 20px;
  height: 20px;
}
.nav-dd-item:hover .nav-dd-icon {
  background: var(--purple);
  color: var(--white);
}
.nav-dd-icon--luna,
.nav-drawer-sub-icon--luna {
  background: var(--luna-pale);
  color: var(--luna);
}
.nav-dd-item:hover .nav-dd-icon--luna {
  background: var(--luna);
  color: var(--white);
}
.nav-dd-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.nav-dd-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.nav-dd-desc {
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--body);
}
.nav-dd-promo {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 22px 20px;
  border-radius: 18px;
  background: radial-gradient(
      120% 90% at 100% 0%,
      rgba(255, 255, 255, 0.22) 0%,
      transparent 55%
    ),
    linear-gradient(160deg, var(--purple) 0%, #5a3fe8 55%, var(--purple-dark) 100%);
  color: var(--white);
}
.nav-dd-promo-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.nav-dd-promo-title {
  font-family: "DM Serif Display", serif;
  font-size: 23px;
  line-height: 1.15;
  color: var(--white);
}
.nav-dd-promo-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 8px;
}
.nav-links .nav-dd-promo-link {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: background 0.15s ease;
}
.nav-links .nav-dd-promo-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.26);
}

/* Features group (mobile drawer) */
.nav-drawer-dd summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--purple-border);
  cursor: pointer;
}
.nav-drawer-dd summary::-webkit-details-marker {
  display: none;
}
.nav-drawer-dd summary .nav-dd-chevron {
  width: 16px;
  height: 16px;
  color: var(--body);
}
.nav-drawer-dd[open] summary .nav-dd-chevron {
  transform: rotate(180deg);
}
.nav-drawer-sub {
  list-style: none;
  margin: 0;
  padding: 8px 0 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-bottom: 1px solid var(--purple-border);
}
.nav-drawer-sub li {
  list-style: none;
}
.nav-drawer-links .nav-drawer-sub a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 4px;
  font-size: 15px;
  border-bottom: 0;
}
.nav-drawer-sub-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.nav-drawer-sub-icon svg {
  width: 18px;
  height: 18px;
}
.nav-drawer-sub-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.nav-drawer-sub-text small {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--body);
}
.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn-nav {
  padding: 9px 20px;
  font-size: 13px;
}

.section-nav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section-nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--purple-border);
  background: var(--white);
  transition:
    background 0.2s,
    transform 0.2s;
}
.section-nav-dot:hover {
  border-color: var(--purple);
  transform: scale(1.15);
}
.section-nav-dot.is-active {
  background: var(--purple);
  border-color: var(--purple);
}
.luna-phase-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.luna-phase-tab {
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--luna-border);
  background: var(--white);
  color: var(--luna);
  transition:
    background 0.15s,
    color 0.15s;
}
.luna-phase-tab.is-active {
  background: var(--luna);
  color: var(--white);
  border-color: var(--luna);
}
.luna-phase-tab.has-progress {
  position: relative;
  overflow: hidden;
}
.luna-phase-tab.has-progress.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  animation: luna-tab-progress 2s linear forwards;
}
@keyframes luna-tab-progress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .luna-phase-tab.has-progress.is-active::after {
    animation: none;
    width: 100%;
  }
}
.luna-phase-panel {
  display: none;
}
.luna-phase-panel.is-active {
  display: block;
}
.luna-phase-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.luna-phase-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.luna-phase-viewport .luna-phase-panel {
  display: block;
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
}
@media (prefers-reduced-motion: reduce) {
  .luna-phase-track {
    transition: none;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(107, 78, 255, 0.12);
}
.contact-form-note {
  font-size: 12px;
  color: var(--body-light);
  line-height: 1.6;
}
.contact-form-note a {
  color: var(--purple);
  font-weight: 500;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 62px;
}
.contact-info h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.contact-info p {
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 16px;
}
.contact-mail {
  font-size: 18px;
  font-weight: 600;
  color: var(--purple);
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 8px 32px rgba(107, 78, 255, 0.06);
}
.contact-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
}
.contact-form .btn {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}
.contact-form-status {
  font-size: 13px;
  margin-top: 12px;
}
.contact-form-status.is-error {
  color: #c0392b;
}
.contact-form-status.is-success {
  color: #1a7f4b;
}

.about-block {
  margin-bottom: 48px;
}
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--purple-border);
}
.about-rows {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 28px;
}
.about-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  align-items: start;
}
.about-row-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.about-row p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.7;
  margin: 0;
}
.about-team-title {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 0;
}
.about-team-intro {
  margin-top: 12px;
  margin-bottom: 0;
}
.about-purpose {
  background: var(--bg-tint);
  border-top: 1px solid var(--purple-border);
  padding: 64px 0;
}
.about-purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.about-purpose-card {
  background: var(--white);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.about-purpose-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.about-purpose-card p {
  font-size: 13px;
  color: var(--body);
  line-height: 1.65;
  margin: 0;
}

.about-block h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.about-block p {
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 12px;
}
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.about-pillar {
  background: var(--bg-tint);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-md);
  padding: 22px;
}
.about-pillar h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 8px;
}
.about-pillar p {
  font-size: 13px;
  margin: 0;
}

.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}
.blog-list-card {
  background: var(--white);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    box-shadow 0.18s,
    transform 0.18s,
    border-color 0.18s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.blog-list-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(107, 78, 255, 0.3);
  transform: translateY(-2px);
}
.blog-list-img {
  aspect-ratio: 16 / 9;
  background: var(--white);
  overflow: hidden;
}
.blog-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-list-img {
  border-bottom: 1px solid var(--purple-border);
}
.blog-list-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-list-title {
  font-family: "DM Serif Display", serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}
.blog-list-excerpt {
  font-size: 15px;
  color: var(--body);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-list-read {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--white);
  padding: 24px 28px 40px;
  overflow-y: auto;
  border-top: 1px solid var(--purple-border);
}
.nav-drawer.is-open {
  display: block;
}
.nav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}
.nav-drawer-links a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--purple-border);
}
.nav-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* HERO */
.hero {
  padding: calc(var(--nav-height) + 50px) 0 50px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-wash {
  position: absolute;
  top: -80px;
  right: -240px;
  width: 760px;
  height: 760px;
  background: radial-gradient(
    circle,
    rgba(107, 78, 255, 0.09) 0%,
    rgba(107, 78, 255, 0.03) 42%,
    transparent 68%
  );
  pointer-events: none;
}
.hero .container {
  max-width: 1280px;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 64px;
  align-items: center;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border: 1px solid var(--purple-border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--purple);
  background: var(--purple-pale);
  margin-bottom: 28px;
}
.hero-label-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.hero-headline {
  font-size: clamp(46px, 5.2vw, 68px);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.06;
}
.hero-headline .accent {
  color: var(--purple);
}
.hero-resolution {
  display: inline-block;
}
.hero-sub {
  font-size: 18px;
  color: var(--body);
  max-width: 460px;
  line-height: 1.7;
  margin: 28px 0 36px;
}
.hero-sub strong {
  color: var(--ink);
  font-weight: 600;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.hero-cta-btn {
  padding: 14px 30px;
  font-size: 15px;
}
.hero-cta .hero-trial-note,
.hero-trial-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -8px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--body-light);
}
.hero-badges {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.badge-store {
  height: 38px;
  width: auto;
  border-radius: 9px;
  border: 1px solid var(--purple-border);
  transition: box-shadow 0.18s;
}
.badge-store:hover {
  box-shadow: var(--shadow-md);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Hero promo — native phone + floating cards (no iframe) */
.hero-promo {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.hero-promo-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 440px;
  background: radial-gradient(
    ellipse,
    rgba(107, 78, 255, 0.16) 0%,
    rgba(107, 78, 255, 0.04) 45%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}
.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(26, 16, 64, 0.18),
    0 0 0 1px rgba(107, 78, 255, 0.06);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-phone {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-top: 24px;
}
.hero-promo .phone-shell {
  width: 252px;
  box-shadow:
    0 24px 64px rgba(26, 16, 64, 0.18),
    0 0 0 1px rgba(107, 78, 255, 0.08);
}
.hero-promo .phone-screen {
  min-height: 500px;
}
.phone-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 8px 12px;
  background: var(--white);
  border-top: 1px solid var(--purple-border);
  margin-top: auto;
}
.phone-nav-item {
  font-size: 7px;
  font-weight: 600;
  color: var(--body-light);
  text-align: center;
  position: relative;
}
.phone-nav-item.is-active {
  color: var(--purple);
}
.phone-nav-dot {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--purple);
  margin: 0 auto 3px;
}
.hero-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 16px;
  border: 1px solid rgba(107, 78, 255, 0.14);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 28px rgba(26, 16, 64, 0.08);
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
  animation: hero-float-idle 4.5s ease-in-out infinite;
}
.hero-float:hover,
.hero-float.is-spotlight {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 18px 48px rgba(26, 16, 64, 0.14);
  border-color: rgba(107, 78, 255, 0.28);
  z-index: 4;
  animation-play-state: paused;
}

/* Hero floating cards (richer, interactive) */
.hero-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  white-space: normal;
  text-align: left;
  width: max-content;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(107, 78, 255, 0.1);
  box-shadow: 0 16px 44px rgba(26, 16, 64, 0.14);
}
.hero-card--ask {
  top: 22px;
  right: -26px;
  max-width: 232px;
  animation-delay: 0s;
}
.hero-card--luna {
  bottom: 92px;
  left: -30px;
  max-width: 210px;
  animation-delay: 1.4s;
}
.hero-card--score {
  bottom: 28px;
  right: -26px;
  max-width: 178px;
  animation-delay: 2.6s;
}

/* Ask card */
.hc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.hc-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef0f4;
  color: var(--body-light);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hc-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--body-light);
}
.hc-body {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-mid);
  min-height: 1em;
}

/* Luna card */
.hc-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--luna);
}
.hc-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 1px 0 2px;
}
.hero-card--luna .hc-body {
  color: var(--body);
}
.hero-card--luna.is-spotlight .hc-title {
  animation: hc-pop 0.5s ease;
}

/* Score card */
.hc-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--body-light);
}
.hc-score {
  font-family: "DM Serif Display", serif;
  font-size: 38px;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.hc-trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 700;
  color: #2e9e63;
  margin-bottom: 8px;
}
.hc-trend svg {
  width: 13px;
  height: 13px;
}
.hc-bar {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: var(--purple-pale);
  overflow: hidden;
}
.hc-bar-fill {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: 3px;
  background: var(--purple);
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes hc-pop {
  from {
    opacity: 0.35;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.float-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.float-icon-box--luna {
  background: var(--luna-pale);
  border: 1px solid var(--luna-border);
}
.float-icon-box--invert {
  background: rgba(255, 255, 255, 0.18);
}
.float-lbl--invert {
  color: rgba(255, 255, 255, 0.75);
}
.float-val--invert {
  color: var(--white);
}
@keyframes hero-float-idle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-float {
    animation: none;
  }
  .hero-float:hover,
  .hero-float.is-spotlight {
    transform: translateY(-3px);
  }
}

.hero-mockup-img {
  width: min(100%, 420px);
  height: auto;
  border-radius: 0;
  box-shadow: none;
}
.phone-shell {
  width: 248px;
  background: var(--ink);
  border-radius: 38px;
  padding: 14px;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(107, 78, 255, 0.15);
  position: relative;
}
.phone-screen {
  background: var(--bg-tint);
  border-radius: 28px;
  overflow: hidden;
  min-height: 490px;
  display: flex;
  flex-direction: column;
}
.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  min-height: 490px;
}
.phone-status-bar {
  background: var(--white);
  padding: 10px 16px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.phone-time {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}
.phone-icons {
  display: flex;
  gap: 5px;
  align-items: center;
}
.phone-icon-dot {
  width: 14px;
  height: 7px;
  background: var(--ink);
  border-radius: 2px;
  opacity: 0.2;
}
.phone-icon-dot.on {
  opacity: 0.8;
}
.phone-body {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone-greeting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.phone-greet-text {
  font-size: 11px;
  color: var(--body);
  line-height: 1.4;
}
.phone-greet-text strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  font-weight: 700;
}
.phone-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--purple-pale);
  border: 2px solid var(--purple-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
}
.phone-score {
  background: var(--purple);
  border-radius: 16px;
  padding: 14px;
  color: var(--white);
  text-align: center;
}
.phone-score-lbl {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}
.phone-score-num {
  font-family: "DM Serif Display", serif;
  font-size: 46px;
  line-height: 1.1;
}
.phone-score-trend {
  font-size: 10px;
  opacity: 0.75;
  margin-top: 2px;
}
.phone-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.phone-metric {
  background: var(--white);
  border-radius: 12px;
  padding: 10px;
  border: 1px solid var(--purple-border);
}
.pm-lbl {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--body-light);
}
.pm-val {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 2px 0 1px;
}
.pm-sub {
  font-size: 9px;
  color: var(--body-light);
}
.pm-sub.good {
  color: #3e9e6a;
}
.phone-chat {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.chat-bubble {
  padding: 8px 11px;
  border-radius: 4px 12px 12px 12px;
  background: var(--white);
  border: 1px solid var(--purple-border);
  font-size: 9.5px;
  color: var(--ink);
  line-height: 1.5;
  max-width: 90%;
}
.chat-bubble.out {
  background: var(--purple);
  color: var(--white);
  border-color: transparent;
  border-radius: 12px 4px 12px 12px;
  align-self: flex-end;
}
.phone-luna {
  background: var(--luna-pale);
  border: 1px solid var(--luna-border);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.luna-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--luna);
  flex-shrink: 0;
}
.luna-line {
  font-size: 9px;
  color: var(--luna);
}
.luna-line strong {
  display: block;
  font-size: 11px;
  color: var(--ink);
  font-weight: 600;
}
.phone-float {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  animation: float-card 4s ease-in-out infinite;
}
.phone-float-1 {
  top: 60px;
  right: -60px;
}
.phone-float-2 {
  bottom: 80px;
  left: -50px;
  animation-delay: 2.2s;
}
@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
.float-icon-box {
  width: 32px;
  height: 32px;
  background: var(--purple-pale);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.float-icon-box svg {
  width: 16px;
  height: 16px;
}
.float-lbl {
  font-size: 10px;
  color: var(--body);
}
.float-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.trust-band {
  background: var(--bg-tint);
  border-top: 1px solid var(--purple-border);
  border-bottom: 1px solid var(--purple-border);
  padding: 28px 0;
}
.trust-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.trust-band-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-band-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--purple-border);
  box-shadow: 0 4px 14px rgba(26, 16, 64, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--purple);
}
.trust-band-icon svg {
  width: 21px;
  height: 21px;
}
.trust-band-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-band-copy strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.trust-band-copy span {
  font-size: 13px;
  color: var(--body);
  line-height: 1.35;
}

@media (max-width: 720px) {
  .trust-band-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 18px;
  }
}

/* Persona section (v2) — who it's for */
.personas-v2 {
  padding: clamp(50px, 9vw, 50px) 0;
}
.personas-v2-header {
  max-width: 640px;
  margin: 0 auto 42px;
  text-align: center;
}
.personas-v2-sub {
  font-size: 16px;
  color: var(--body);
  margin-top: 12px;
}

.personas-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.personas-v2-grid--row2 {
  margin-top: 14px;
}

.pv2-card {
  border: 1px solid rgba(26, 16, 64, 0.07);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: var(--white);
  box-shadow: 0 4px 18px rgba(26, 16, 64, 0.05);
  display: flex;
  flex-direction: column;
  text-align: left;
  transition:
    border-color 0.2s ease,
    transform 0.18s ease,
    box-shadow 0.2s ease;
}
.pv2-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(26, 16, 64, 0.1);
}
.pv2-card.is-active {
  border-color: var(--purple);
  border-width: 2px;
}

.pv2-card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  display: block;
  flex-shrink: 0;
}
.pv2-card-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pv2-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.pv2-card-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.pv2-card-hook {
  display: block;
  font-size: 13px;
  color: var(--body);
  line-height: 1.5;
}
.pv2-toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--purple-border);
  background: transparent;
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.pv2-card.is-active .pv2-toggle {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
  transform: rotate(45deg);
}

.pv2-panel-wrap {
  grid-column: 1 / -1;
  overflow: hidden;
  max-height: 0;
  margin-top: 0;
  transition:
    max-height 0.35s ease,
    margin 0.25s ease;
}
.pv2-panel-wrap.is-open {
  max-height: 220px;
  margin-top: 4px;
}
.pv2-panel {
  background: linear-gradient(120deg, #f3f0ff 0%, #ebe7ff 45%, #e4ecfd 100%);
  border: 1.5px solid rgba(107, 78, 255, 0.35);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(107, 78, 255, 0.1);
}
.pv2-panel-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, #8b73f0 0%, #6b4eff 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pv2-panel-icon svg {
  width: 20px;
  height: 20px;
}
.pv2-panel-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.pv2-panel-text {
  display: block;
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .personas-v2-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .personas-v2-grid {
    grid-template-columns: 1fr;
  }
}

.longevity-section {
  background: var(--ink);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.longevity-wash {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(107, 78, 255, 0.22) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.longevity-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.longevity-eyebrow {
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}
.longevity-headline {
  font-size: clamp(32px, 3.8vw, 50px);
  color: var(--white);
  margin-bottom: 20px;
}
.longevity-headline em {
  color: #a78bff;
  font-style: italic;
}
.longevity-body {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 32px;
}
.longevity-body strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}
.longevity-inner-compact {
  display: block;
  max-width: 640px;
}
.longevity-compact-copy .longevity-body {
  margin-bottom: 0;
}

.home-pricing-teaser {
  padding: 50px 0;
  background: var(--bg-tint);
  text-align: center;
}
.home-pricing-teaser-inner {
  max-width: 520px;
  margin: 0 auto;
}
.home-pricing-teaser-sub {
  font-size: 16px;
  color: var(--body);
  line-height: 1.7;
  margin: 12px 0 28px;
}

/* Homepage feature showcase */
.feature-showcase {
  padding: 50px 0;
  background: var(--white);
}
.feature-showcase-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}
.feature-showcase-title {
  font-size: clamp(30px, 3.5vw, 44px);
  color: var(--ink);
}
.feature-showcase-title em {
  color: var(--purple);
  font-style: italic;
}
.feature-showcase-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  margin-top: 16px;
}
.feature-showcase-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: center;
  border-radius: 28px;
  padding: 32px;
  background: radial-gradient(
    125% 115% at 80% 0%,
    #efeaff 0%,
    #e6edfb 55%,
    #dcebfd 100%
  );
}
.feature-showcase-visual {
  order: 2;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-showcase-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
}
.feature-showcase-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.97);
  width: auto;
  height: 88%;
  max-width: 82%;
  object-fit: cover;
  border-radius: 22px;
  box-shadow:
    0 30px 70px rgba(26, 16, 64, 0.18),
    0 0 0 1px rgba(107, 78, 255, 0.05);
  opacity: 0;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.feature-showcase-img.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.feature-showcase-mock {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-showcase-mock.is-active {
  opacity: 1;
}
.vault-phone-fit {
  transform: scale(0.7);
  transform-origin: center;
}
.vault-phone {
  position: relative;
  width: 314px;
  height: 668px;
  flex-shrink: 0;
  animation: phoneFloat 5.5s ease-in-out infinite;
  will-change: transform;
  backface-visibility: hidden;
}
@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1.5deg);
  }
  50% {
    transform: translateY(-16px) rotate(-1.5deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .vault-phone {
    animation: none;
    transform: rotate(-1.5deg);
  }
}
.feature-showcase-panel {
  order: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
  padding: 32px 36px;
  border-radius: 24px;
  background: transparent;
}
.feature-showcase-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 0 32px;
}
.feature-showcase-name {
  font-size: clamp(32px, 3.2vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
  transition: opacity 0.35s ease;
  background: linear-gradient(115deg, #1a1035 0%, #4b23b8 45%, #7b4dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.feature-showcase-name .brand-md {
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.feature-showcase-name.is-luna {
  background: linear-gradient(
    110deg,
    #a83a63 0%,
    var(--luna) 45%,
    #f0a0bc 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
}
.feature-showcase-line {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--body);
  line-height: 1.65;
  max-width: 36ch;
  transition: opacity 0.35s ease;
}
.feature-showcase-points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: opacity 0.35s ease;
}
.feature-showcase-points li {
  position: relative;
  padding-left: 30px;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.5;
  color: var(--ink-mid);
  font-weight: 500;
}
.feature-showcase-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--purple-pale);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B4EFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.feature-showcase-stage.is-fading .feature-showcase-name,
.feature-showcase-stage.is-fading .feature-showcase-line,
.feature-showcase-stage.is-fading .feature-showcase-points {
  opacity: 0;
}
.feature-showcase-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  border-top: 1px solid rgba(26, 16, 64, 0.08);
  padding-top: 24px;
}
.feature-showcase-tab {
  flex: 0 1 auto;
  padding: 0 2px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.fst-tab-text {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(26, 16, 64, 0.45);
  line-height: 1.3;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.feature-showcase-tab.is-active .fst-tab-text {
  color: var(--ink);
}
.feature-showcase-tab--luna.is-active .fst-tab-text {
  color: var(--luna);
}
.feature-showcase-tab:hover .fst-tab-text {
  color: var(--ink);
}
.fst-tab-rail {
  display: block;
  height: 2px;
  margin-top: 10px;
  background: rgba(26, 16, 64, 0.12);
  border-radius: 1px;
  overflow: hidden;
}
.fst-tab-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
  border-radius: 1px;
}
.feature-showcase-tab--luna.is-active .fst-tab-fill {
  background: var(--luna);
}
.feature-showcase-tab.is-active.is-playing .fst-tab-fill {
  animation: fst-tab-progress 5s linear forwards;
}
@keyframes fst-tab-progress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .feature-showcase-img {
    transition: opacity 0.2s ease;
  }
  .feature-showcase-tab.is-active.is-playing .fst-tab-fill {
    animation: none;
    width: 100%;
  }
}

.longevity-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.longevity-stat {
  border-left: 2px solid rgba(107, 78, 255, 0.5);
  padding-left: 16px;
}
.longevity-stat-num {
  font-family: "DM Serif Display", serif;
  font-size: 36px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.longevity-stat-num span {
  color: #a78bff;
}
.longevity-stat-lbl {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}
.longevity-principles {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.principle-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.principle-card:hover {
  background: rgba(107, 78, 255, 0.12);
  border-color: rgba(107, 78, 255, 0.3);
}
.principle-num {
  font-family: "DM Serif Display", serif;
  font-size: 28px;
  color: rgba(107, 78, 255, 0.5);
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
}
.principle-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.principle-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.problem-section {
  padding: 100px 0;
  background: var(--white);
}
.problem-header {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 56px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--purple-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.problem-card {
  background: var(--white);
  padding: 36px 30px 40px;
}
.problem-card:first-child {
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.problem-card:last-child {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.problem-overline {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--body-light);
  margin-bottom: 16px;
}
.problem-text {
  font-family: "DM Serif Display", serif;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 14px;
}
.problem-text em {
  color: var(--purple);
  font-style: italic;
}
.problem-body {
  font-size: 14px;
  color: var(--body);
  line-height: 1.7;
}

.features-section {
  padding: 100px 0;
  background: var(--bg-tint);
}
.features-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 52px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feat-card {
  background: var(--white);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.feat-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(107, 78, 255, 0.25);
  transform: translateY(-2px);
}
.feat-card.luna {
  border-color: var(--luna-border);
  background: var(--luna-pale);
}
.feat-card.luna:hover {
  border-color: var(--luna);
}
.feat-icon {
  width: 40px;
  height: 40px;
  background: var(--purple-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feat-icon.luna-i {
  background: var(--luna-pale);
  border: 1px solid var(--luna-border);
}
.feat-icon svg {
  width: 20px;
  height: 20px;
}
.feat-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.feat-name.luna-name {
  color: var(--luna);
}
.feat-desc {
  font-size: 13px;
  color: var(--body);
  line-height: 1.7;
  flex: 1;
}
.feat-pill {
  display: inline-block;
  margin-top: auto;
  padding-top: 12px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  background: var(--purple-pale);
  color: var(--purple);
  border: 1px solid var(--purple-border);
}
.feat-pill.luna-p {
  background: var(--luna-pale);
  color: var(--luna);
  border-color: var(--luna-border);
}

.luna-section {
  padding: 100px 0;
  background: var(--white);
}
.luna-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.luna-eyebrow {
  color: var(--luna);
  margin-bottom: 14px;
}
.luna-headline {
  font-size: clamp(30px, 3.5vw, 44px);
  color: var(--ink);
  margin-bottom: 16px;
}
.luna-headline em {
  color: var(--luna);
  font-style: italic;
}
.luna-body {
  font-size: 16px;
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 28px;
}
.luna-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.luna-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.luna-tick {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--luna-pale);
  border: 1px solid var(--luna-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.luna-tick svg {
  width: 9px;
  height: 9px;
}
.luna-item-text {
  font-size: 14px;
  color: var(--body);
  line-height: 1.65;
}
.luna-item-text strong {
  color: var(--ink);
  font-weight: 600;
}
.luna-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.luna-phase-card {
  background: var(--luna-pale);
  border: 1px solid var(--luna-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.lpc-phase {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--luna);
  margin-bottom: 6px;
}
.lpc-name {
  font-family: "DM Serif Display", serif;
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 10px;
}
.lpc-pips {
  display: flex;
  gap: 5px;
  margin-bottom: 12px;
}
.lpc-pip {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--luna-border);
}
.lpc-pip.on {
  background: var(--luna);
}
.lpc-copy {
  font-size: 13px;
  color: var(--body);
  line-height: 1.6;
}
.luna-partner-card {
  background: var(--luna-pale);
  border: 1px solid var(--luna-border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.lpart-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--luna-border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lpart-icon svg {
  width: 18px;
  height: 18px;
}
.lpart-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--luna);
  margin-bottom: 4px;
}
.lpart-desc {
  font-size: 13px;
  color: var(--body);
  line-height: 1.6;
}
.lpart-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  background: var(--white);
  color: var(--luna);
  border: 1px solid var(--luna-border);
}

.pillars-section {
  padding: 100px 0;
  background: var(--bg-tint);
}
.pillars-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 52px;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pillar-card {
  background: var(--white);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.pillar-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(107, 78, 255, 0.3);
  transform: translateY(-3px);
}
.pillar-icon {
  width: 48px;
  height: 48px;
  background: var(--purple-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.pillar-icon svg {
  width: 22px;
  height: 22px;
}
.pillar-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 8px;
}
.pillar-desc {
  font-size: 13px;
  color: var(--body);
  line-height: 1.65;
}

.for-section {
  padding: 100px 0;
  background: var(--white);
}
.for-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 52px;
}
.for-hint {
  font-size: 13px;
  color: var(--body-light);
  margin-top: 10px;
}
.for-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}
.for-card {
  background: var(--bg-tint);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    border-color 0.18s,
    background 0.18s,
    box-shadow 0.18s;
}
.for-card.is-open {
  border-color: var(--purple);
  background: var(--purple-pale);
  box-shadow: var(--shadow-sm);
}
.for-card-trigger {
  width: 100%;
  padding: 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.for-card-trigger:hover {
  background: rgba(107, 78, 255, 0.04);
}
.for-card.is-open .for-card-trigger {
  background: transparent;
}
.for-card-chevron {
  margin-left: auto;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--purple-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
  transition:
    transform 0.2s,
    background 0.2s;
}
.for-card.is-open .for-card-chevron {
  transform: rotate(45deg);
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.for-card-detail {
  display: none;
  padding: 0 24px 20px 72px;
  font-size: 13px;
  color: var(--body);
  line-height: 1.65;
}
.for-card.is-open .for-card-detail {
  display: block;
}
.for-card-detail strong {
  color: var(--purple);
  font-weight: 600;
}
.for-icon-box {
  width: 34px;
  height: 34px;
  background: var(--white);
  border-radius: var(--radius-xs);
  border: 1px solid var(--purple-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.for-icon-box svg {
  width: 16px;
  height: 16px;
}
.for-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 5px;
}
.for-text p {
  font-size: 13px;
  color: var(--body);
  line-height: 1.5;
  min-height: 2.25em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pricing-section {
  padding: 100px 0;
  background: var(--bg-tint);
}
.pricing-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 52px;
}
.price-desc {
  font-size: 14px;
  color: var(--body);
  line-height: 1.65;
  margin: 12px 0 24px;
  min-height: 3em;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
  align-items: stretch;
  padding-top: 62px;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.price-card.featured {
  border-color: var(--purple);
  border-width: 1.5px;
  position: relative;
}
.price-tag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.price-plan {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--body-light);
  margin-bottom: 10px;
}
.price-amount {
  font-family: "DM Serif Display", serif;
  font-size: 52px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.price-amount sup {
  font-size: 20px;
  vertical-align: top;
  margin-top: 12px;
  color: var(--body);
  font-family: "Inter", sans-serif;
}
.price-period {
  font-size: 15px;
  color: var(--body);
  font-weight: 400;
  font-family: "Inter", sans-serif;
}
.price-hr {
  height: 1px;
  background: var(--purple-border);
  margin-bottom: 22px;
}
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
  flex: 1;
}
.price-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--body);
}
.price-check {
  color: var(--purple);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.price-check.dim {
  color: var(--body-light);
}
.price-features li.dim-li {
  color: var(--body-light);
}
.price-btn {
  display: block;
  width: 100%;
  margin-top: auto;
  text-align: center;
  padding: 13px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.18s;
}
.price-btn-primary {
  background: var(--purple);
  color: var(--white);
}
.price-btn-primary:hover {
  background: var(--purple-dark);
  box-shadow: 0 6px 24px rgba(107, 78, 255, 0.28);
  transform: translateY(-1px);
}
.price-btn-ghost {
  border: 1.5px solid var(--purple-border);
  color: var(--ink-mid);
}
.price-btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple);
}
.price-trial-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 720px;
  margin: 72px auto -12px;
  padding: 12px 20px 12px 12px;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--purple-border);
  box-shadow: var(--shadow-sm);
}
.price-trial-banner-pill {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--purple);
  padding: 6px 12px;
  border-radius: 100px;
}
.price-trial-banner .price-trial-banner-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--body);
}
.price-trial-banner-text strong {
  color: var(--ink);
  font-weight: 600;
}
.price-card .price-trial {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin: 14px 0 0;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--purple-pale);
  color: var(--purple-dark);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
}
.price-trial-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 3px rgba(107, 78, 255, 0.2);
}
.price-card .price-btn-sub {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--body-light);
}
.price-note {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: var(--body-light);
}

.blog-section {
  padding: 100px 0;
  background: var(--white);
}
.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-card {
  background: var(--bg-tint);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    box-shadow 0.18s,
    border-color 0.18s,
    transform 0.18s;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(107, 78, 255, 0.3);
  transform: translateY(-2px);
}
.blog-category {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
}
.blog-title {
  font-family: "DM Serif Display", serif;
  font-size: 19px;
  color: var(--ink);
  line-height: 1.3;
  flex: 1;
}
.blog-excerpt {
  font-size: 13px;
  color: var(--body);
  line-height: 1.65;
}
.blog-read {
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
}
.blog-read:hover {
  text-decoration: underline;
}

.cta-section {
  padding: 88px 0 96px;
  background: linear-gradient(
    165deg,
    var(--purple) 0%,
    #5a3fe8 55%,
    var(--purple-dark) 100%
  );
  position: relative;
  overflow: hidden;
}
.cta-wash {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}
.cta-eyebrow {
  opacity: 0.85;
  margin-bottom: 12px;
}
.cta-headline {
  font-size: clamp(32px, 4vw, 44px);
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.15;
}
.cta-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  margin-bottom: 28px;
}
.cta-badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-badge-img {
  height: 50px;
  width: auto;
  border-radius: 10px;
  transition:
    transform 0.18s,
    opacity 0.18s;
}
.cta-badge-img:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}
.cta-qr {
  margin-top: 24px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.cta-qr img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: var(--white);
  padding: 4px;
}
.cta-qr-lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

.footer {
  padding: 56px 0 32px;
  /* background: var(--ink);  */
  background: #000;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.footer-logo span {
  color: #a78bff;
}
.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.56);
  line-height: 1.7;
  max-width: 210px;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s;
}
.footer-social a:hover {
  border-color: #a78bff;
  color: #a78bff;
}
.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.56);
  transition: color 0.15s;
}
.footer-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-disclaimer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 480px;
  line-height: 1.5;
  margin-top: 8px;
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.15s;
}
.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.6);
}

.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--ink);
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: 16px;
  color: var(--body);
  margin-top: 12px;
  line-height: 1.7;
}

.icon-purple {
  fill: none;
  stroke: var(--purple);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-luna {
  fill: none;
  stroke: var(--luna);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Inner pages */
.page-hero {
  padding: calc(var(--nav-height) + 48px) 0 48px;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--purple-border);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--ink);
  letter-spacing: -0.02em;
}
.page-hero p {
  color: var(--body);
  margin-top: 12px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.page-content {
  padding: 50px 0 50px;
}
.page-content.blog-page {
  padding: calc(var(--nav-height) + 48px) 0 96px;
}
@media (max-width: 767px) {
  body section.page-content.blog-page {
    padding: calc(var(--nav-height) + 28px) 0 64px;
  }
}

/* Blog article pages */
.blog-article-wrap {
  padding: calc(var(--nav-height) + 32px) 0 80px;
}
.blog-article-header {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 32px;
  padding: 0 24px;
}
.blog-article-header h1 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.blog-article-sub {
  font-size: 19px;
  color: var(--body);
  line-height: 1.6;
}
.blog-article-hero {
  max-width: 848px;
  margin: 0 auto 40px;
  padding: 0 24px;
}
.blog-article-hero img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--purple-border);
}
.blog-prose {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 24px;
}
.blog-prose p {
  font-size: 18px;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: 20px;
}
.blog-prose h2 {
  font-family: "DM Serif Display", serif;
  font-size: 30px;
  line-height: 1.25;
  color: var(--ink);
  margin: 44px 0 16px;
  letter-spacing: -0.01em;
}
.blog-prose h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin: 32px 0 10px;
}
.blog-prose a {
  color: var(--purple);
  font-weight: 600;
}
.blog-prose a:hover {
  text-decoration: underline;
}
.blog-prose strong {
  color: var(--ink);
  font-weight: 600;
}
.blog-prose ul,
.blog-prose ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.blog-prose ul > li {
  list-style: disc;
}
.blog-prose ol > li {
  list-style: decimal;
}
.blog-prose li {
  font-size: 18px;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: 6px;
  padding-left: 4px;
}
.blog-prose li::marker {
  color: var(--purple);
}
.blog-prose blockquote {
  margin: 8px 0 24px;
  padding: 16px 22px;
  border-left: 3px solid var(--purple);
  background: var(--bg-tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 19px;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink);
}
.blog-prose blockquote p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.blog-figure {
  margin: 28px 0;
}
.blog-figure-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto;
}
.blog-figure-pair img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--purple-border);
}
.blog-figure figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--body-light);
  text-align: center;
}
.blog-prose .blog-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 24px;
  font-size: 17px;
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.blog-prose .blog-table th,
.blog-prose .blog-table td {
  padding: 12px 18px;
  text-align: left;
  border-bottom: 1px solid var(--purple-border);
  color: var(--ink-mid);
}
.blog-prose .blog-table th {
  background: var(--bg-tint);
  color: var(--ink);
  font-weight: 600;
}
.blog-prose .blog-table tr:last-child td {
  border-bottom: 0;
}
.blog-prose .blog-table th,
.blog-prose .blog-table td {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  vertical-align: top;
}
.blog-prose .blog-table--compare td:first-child {
  width: 22%;
}
.blog-prose .blog-table--compare th:last-child {
  background: var(--purple);
  color: var(--white);
}
.blog-prose .blog-table--compare td:last-child {
  background: var(--bg-tint);
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 640px) {
  .blog-prose .blog-table {
    font-size: 15px;
  }
  .blog-prose .blog-table th,
  .blog-prose .blog-table td {
    padding: 10px 10px;
  }
}
.blog-prose .blog-table .is-highlight td {
  background: var(--purple-pale);
  color: var(--ink);
  font-weight: 600;
}
.blog-prose .blog-answer {
  padding: 18px 22px;
  background: var(--bg-tint);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-md);
  margin: 8px 0 24px;
}
.blog-prose .blog-note {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
  font-style: italic;
}
@media (max-width: 640px) {
  .blog-prose p,
  .blog-prose li {
    font-size: 17px;
    line-height: 1.7;
  }
  .blog-prose h2 {
    font-size: 26px;
    margin: 36px 0 12px;
  }
  .blog-prose h3 {
    font-size: 19px;
  }
  .blog-article-sub {
    font-size: 17px;
  }
}
.blog-article-cta {
  max-width: 720px;
  margin: 48px auto 0;
  padding: 32px 24px 0;
  border-top: 1px solid var(--purple-border);
  text-align: center;
}
.blog-article-cta p {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}
.blog-article-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.blog-article-badges img {
  height: 48px;
  width: auto;
  border-radius: 10px;
}

/* "Try it in myMD" feature links at the end of blog posts */
.blog-feature-links {
  margin: 44px 0 0;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-tint);
  border: 1px solid var(--purple-border);
}
.blog-prose .blog-feature-links-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 0 0 14px;
}
.blog-feature-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}
.blog-prose .blog-feature-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--purple-border);
  color: var(--ink);
  font-weight: 400;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}
.blog-prose .blog-feature-link:hover {
  text-decoration: none;
  border-color: rgba(107, 78, 255, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.blog-feature-link-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.blog-feature-link-text strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.blog-feature-link-text small {
  font-size: 12.5px;
  color: var(--body);
}
.blog-feature-link-arrow {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--purple);
  transition: transform 0.15s ease;
}
.blog-feature-link:hover .blog-feature-link-arrow {
  transform: translateX(3px);
}
.blog-chat {
  background: var(--bg-tint);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 24px 0;
}
.blog-chat-turn {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.blog-chat-turn:last-child {
  margin-bottom: 0;
}
.blog-chat-bubble {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.65;
}
.blog-chat-question {
  background: var(--white);
  border: 1px solid var(--purple-border);
}
.blog-chat-answer {
  background: var(--purple-pale);
  border: 1px solid var(--purple-border);
}
.blog-chat-msg {
  margin-bottom: 14px;
}
.blog-ai-conversation {
  margin: 28px 0;
}
.blog-chat-bubble p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}
.blog-chat-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--purple);
  margin-bottom: 4px;
  display: block;
}
.blog-chat-text {
  font-size: 14px;
  color: var(--body);
  line-height: 1.65;
  margin: 0;
}
.page-content-narrow {
  max-width: 720px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 62px;
}
.faq-item {
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--white);
}
.faq-q:hover {
  background: var(--bg-tint);
}
.faq-q::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--purple);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item.is-open .faq-q::after {
  transform: rotate(45deg);
}
.faq-a {
  display: none;
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--body);
  line-height: 1.7;
}
.faq-item.is-open .faq-a {
  display: block;
}
.faq-a a {
  color: var(--purple);
  font-weight: 500;
}
.faq-a a:hover {
  text-decoration: underline;
}

.download-page-wrap {
  padding: calc(var(--nav-height) + 64px) 0 100px;
}
.download-card {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-tint);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
}
.download-card h1 {
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--ink);
}
.download-card > p {
  color: var(--body);
  margin-bottom: 28px;
}
.download-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}
.download-badges img {
  height: 48px;
  width: auto;
  border-radius: 10px;
}
.download-qr {
  margin: 24px auto 0;
}
.download-qr img {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  border: 1px solid var(--purple-border);
  margin: 0 auto;
}
.download-qr-lbl {
  font-size: 12px;
  color: var(--body-light);
  margin-top: 8px;
}
.pricing-section-page {
  padding-top: 64px;
}

/* Sticky download + modal */
.mymd-sticky-download {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  padding: 12px 24px;
  background: var(--purple);
  color: var(--white);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(107, 78, 255, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.25s,
    transform 0.25s,
    visibility 0.25s;
}
.mymd-sticky-download.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mymd-sticky-download:hover {
  background: var(--purple-dark);
  color: var(--white);
}

.download-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26, 16, 53, 0.5);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.download-modal-overlay.is-open {
  display: flex;
}
.download-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.download-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  color: var(--body-light);
  line-height: 1;
  padding: 4px 8px;
}
.download-modal-close:hover {
  color: var(--ink);
}
.download-modal h2 {
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 24px;
}
.download-modal .download-modal-trial {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: -10px 0 24px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-tint);
  border: 1px solid var(--purple-border);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--body);
}
.download-modal-trial-pill {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--purple);
  padding: 4px 10px;
  border-radius: 100px;
}
.download-modal-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.download-modal-badges a {
  display: block;
  line-height: 0;
}
.download-modal-badges img {
  height: 48px;
  width: auto;
  border-radius: 10px;
}
.download-modal-qr {
  margin-top: 24px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.download-modal-qr img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  border: 1px solid var(--purple-border);
  padding: 4px;
  background: var(--white);
}
.download-modal-qr-lbl {
  font-size: 12px;
  color: var(--body-light);
  letter-spacing: 0.04em;
}

/* ===== Apple-style homepage (all phases, scoped) ===== */

/* Phase 1 — selective blends only (not every section) */
.mymd-home .cta-section {
  padding-bottom: clamp(108px, 14vw, 148px);
}
.mymd-home .cta-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: clamp(96px, 12vw, 152px);
  background: linear-gradient(to bottom, transparent, var(--ink));
  pointer-events: none;
  z-index: 0;
}
.mymd-home .footer {
  margin-top: -1px;
}

/* Phase 2 — scroll reveal */
.mymd-home .scroll-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.mymd-home .scroll-reveal.is-revealed {
  opacity: 1;
  transform: none;
}
.mymd-home .scroll-reveal[data-reveal-delay="1"] {
  transition-delay: 0.05s;
}
.mymd-home .scroll-reveal[data-reveal-delay="2"] {
  transition-delay: 0.1s;
}
.mymd-home .scroll-reveal[data-reveal-delay="3"] {
  transition-delay: 0.15s;
}
.mymd-home .scroll-reveal[data-reveal-delay="4"] {
  transition-delay: 0.2s;
}
.mymd-home .scroll-reveal[data-reveal-delay="5"] {
  transition-delay: 0.25s;
}
.mymd-home .scroll-reveal[data-reveal-delay="6"] {
  transition-delay: 0.3s;
}
.mymd-home .scroll-reveal[data-reveal-delay="7"] {
  transition-delay: 0.35s;
}
.mymd-home .scroll-reveal[data-reveal-delay="8"] {
  transition-delay: 0.4s;
}

html.mymd-smooth-scroll {
  scroll-behavior: auto;
}

@media (max-width: 960px) {
  .nav-links,
  .nav-actions .btn-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-promo {
    max-width: 420px;
  }
  .hero-card--ask {
    right: -10px;
    top: 16px;
    max-width: 200px;
  }
  .hero-card--luna {
    left: -12px;
    bottom: 72px;
    max-width: 188px;
  }
  .hero-card--score {
    right: -10px;
    bottom: 28px;
    max-width: 160px;
  }
  .hc-score {
    font-size: 32px;
  }
  .float-val {
    font-size: 12px;
  }
  .phone-float {
    display: none;
  }
  .hero-visual {
    margin-top: 32px;
  }
  .longevity-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .problem-card:first-child {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .problem-card:last-child {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .luna-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .feature-showcase-stage {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }
  .feature-showcase-visual,
  .feature-showcase-media,
  .feature-showcase-panel {
    min-height: 360px;
  }
  .vault-phone-fit {
    transform: scale(0.5);
  }
  .feature-showcase-panel {
    order: 1;
    padding: 20px 16px;
  }
  .feature-showcase-visual {
    order: 2;
  }
  .feature-showcase-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 18px;
  }
  .feature-showcase-tab {
    flex: 0 0 auto;
  }
  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }
  .for-grid {
    grid-template-columns: 1fr 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .blog-list-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .price-trial-banner {
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    text-align: center;
  }
  .section {
    padding: 72px 0;
  }
  .features-grid,
  .for-grid,
  .blog-grid,
  .blog-list-grid {
    grid-template-columns: 1fr;
  }
  .about-pillars,
  .about-purpose-grid,
  .about-split,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .about-row {
    grid-template-columns: 1fr;
  }
  .for-card-detail {
    padding-left: 24px;
  }
  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }
  .longevity-stats {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .mymd-sticky-download {
    bottom: 16px;
    right: 16px;
    left: 16px;
    text-align: center;
    justify-content: center;
  }
  .section-nav {
    display: none;
  }
  .nav-logo-img {
    height: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .phone-float,
  .hero-wash {
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .mymd-home .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.bg-img {
    background-image: url(/images/hero-bg-about.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-bottom: 0;
}