:root {
  --bg: #090612;
  --bg-soft: #130d22;
  --panel: rgba(28, 20, 48, 0.8);
  --panel-strong: rgba(37, 27, 62, 0.94);
  --panel-line: rgba(182, 164, 241, 0.18);
  --text: #f5f1ff;
  --muted: #b7afd2;
  --muted-strong: #d7d0ec;
  --primary: #c6adff;
  --primary-deep: #946de3;
  --accent: #ffbf9a;
  --accent-soft: #ffe1d1;
  --success: #93dbbc;
  --shadow: 0 30px 90px rgba(5, 3, 12, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  background:
    radial-gradient(circle at top left, rgba(149, 112, 255, 0.24), transparent 36%),
    radial-gradient(circle at 85% 20%, rgba(255, 191, 154, 0.18), transparent 24%),
    linear-gradient(180deg, #0a0613 0%, #10091c 38%, #0d0817 100%);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  max-width: 100%;
  box-sizing: border-box;
}

main {
  max-width: 100%;
  overflow-x: clip;
}

.section {
  position: relative;
  padding: 6.5rem 0;
  max-width: 100%;
}

.section--tinted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.eyebrow,
.feature-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(198, 173, 255, 0.22);
  border-radius: 999px;
  background: rgba(198, 173, 255, 0.1);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.section-heading h2,
.hero__title,
.philosophy-copy h2,
.download-card h2 {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.section-heading h2,
.philosophy-copy h2,
.download-card h2 {
  margin-top: 1rem;
  font-size: clamp(2.4rem, 4.5vw, 4.3rem);
}

.section-heading p,
.philosophy-copy p,
.download-card p,
.science-copy > p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  transition: border-color 180ms ease;
}

/* Blur lives here — not on .site-header — so position:fixed descendants (menu toggle)
   use the viewport as their containing block (backdrop-filter on an ancestor breaks that). */
.site-header__layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background-color 180ms ease;
}

.site-header.is-scrolled .site-header__layer {
  background: rgba(10, 6, 19, 0.72);
}

.site-header.is-scrolled {
  border-bottom: 1px solid rgba(198, 173, 255, 0.12);
}

.site-header__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 5.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand__wordmark,
.brand--footer {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.brand__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 0 16px rgba(255, 191, 154, 0.6);
}

@media (min-width: 861px) {
  .site-header__inner {
    grid-template-columns: auto;
    justify-items: start;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .site-header__floating {
    position: fixed;
    top: max(0.85rem, calc(env(safe-area-inset-top, 0px) + 0.35rem));
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    max-width: calc(100vw - 5.5rem);
    pointer-events: none;
  }

  .site-header__floating .desktop-nav,
  .site-header__floating .header-cta {
    pointer-events: auto;
  }

  .site-header__floating .header-cta {
    flex: 0 0 auto;
    min-height: 3rem;
    padding: 0 1.45rem;
  }

  .desktop-nav {
    position: static;
    left: auto;
    transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.85rem, 2vw, 1.6rem);
    flex: 0 1 auto;
    max-width: min(38rem, calc(100vw - 14rem));
    padding: 1rem 2.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition:
      background-color 220ms ease,
      border-color 220ms ease,
      box-shadow 220ms ease,
      backdrop-filter 220ms ease;
  }

  .site-header:not(.is-scrolled) .desktop-nav .nav-link {
    text-shadow: 0 1px 3px rgba(5, 3, 12, 0.75);
  }

  .site-header.is-scrolled .desktop-nav {
    border-color: rgba(198, 173, 255, 0.28);
    background: rgba(22, 16, 38, 0.88);
    box-shadow: 0 12px 42px rgba(5, 3, 12, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .site-header.is-scrolled .desktop-nav .nav-link {
    text-shadow: none;
  }
}

.nav-link {
  position: relative;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ff9f94);
  color: #311020;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(255, 159, 148, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover,
.store-badge:hover {
  transform: translateY(-2px);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  padding-top: 3rem;
  padding-bottom: 5rem;
  overflow-x: clip;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 2rem 2.5rem;
}

.hero__aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero__aurora--left {
  top: 8%;
  left: -8%;
  width: 20rem;
  height: 20rem;
  background: rgba(148, 109, 227, 0.22);
}

.hero__aurora--right {
  right: -4%;
  bottom: 3%;
  width: 15rem;
  height: 15rem;
  background: rgba(255, 191, 154, 0.18);
}

.hero__stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 50rem;
  text-align: left;
}

.hero__title {
  margin-top: 1rem;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
}

.hero__title span {
  color: var(--accent-soft);
}

.hero__lede {
  max-width: 39rem;
  margin: 1.35rem 0 0;
  color: var(--muted-strong);
  font-size: 1.1rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.85rem;
  margin-top: 2rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 12.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.15rem;
  background: rgba(7, 6, 12, 0.76);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.store-badge:hover {
  border-color: rgba(198, 173, 255, 0.36);
  box-shadow: 0 24px 60px rgba(7, 6, 12, 0.52);
}

.store-badge__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
}

.store-badge__logo svg {
  width: 100%;
  height: 100%;
}

.store-badge__text {
  display: grid;
  gap: 0.15rem;
}

.store-badge__kicker {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.store-badge__title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
}

.hero__mini-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2.1rem;
}

.proof-pill {
  text-align: left;
  padding: 1rem;
  border: 1px solid rgba(198, 173, 255, 0.16);
  border-radius: 1.15rem;
  background: rgba(16, 11, 30, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.proof-pill strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent-soft);
  font-size: 1.2rem;
  font-weight: 800;
}

.proof-pill span {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero__visual {
  position: relative;
  z-index: 2;
  width: min(100%, 31rem);
  min-height: 32rem;
  justify-self: end;
}

.gallery-card__image,
.philosophy-visual__screen,
.download-card__art,
.hero__family {
  user-select: none;
}

.hero__family {
  position: absolute;
  right: 0;
  top: 0;
  width: min(20rem, 46vw);
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.18));
}

.floating-card {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 4;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0;
  width: min(100%, 26rem);
  padding: 1rem 1.1rem;
  border: 1px solid rgba(198, 173, 255, 0.2);
  border-radius: 1.15rem;
  background: rgba(17, 11, 28, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.floating-card__icon {
  display: inline-flex;
  grid-column: 1;
  grid-row: 1;
  width: 2.45rem;
  height: 2.45rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(198, 173, 255, 0.12);
  color: var(--primary);
  flex-shrink: 0;
}

.floating-card__icon svg {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
}

.floating-card__state {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  text-align: left;
}

.floating-card__rule {
  grid-column: 1 / -1;
  grid-row: 2;
  height: 1px;
  margin: 0.75rem 0;
  background: rgba(198, 173, 255, 0.22);
}

.floating-card__wake {
  grid-column: 2;
  grid-row: 3;
  min-width: 0;
  text-align: left;
}

.floating-card__label {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-card__value {
  margin: 0.2rem 0 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.star {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  animation: twinkle var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.pain-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pain-card,
.review-card,
.gallery-card,
.feature-card,
.download-card,
.science-panel {
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.pain-card {
  padding: 1.5rem;
}

.pain-card__icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(198, 173, 255, 0.12);
  color: var(--primary);
}

.pain-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.pain-card h3,
.feature-card h3,
.gallery-card__copy span,
.science-copy h2,
.review-card strong {
  letter-spacing: -0.03em;
}

.pain-card h3,
.feature-card h3 {
  margin: 1rem 0 0.55rem;
  font-size: 1.45rem;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  line-height: 1.15;
}

.pain-card p,
.feature-card p,
.gallery-card__copy p,
.review-card footer span,
.philosophy-list li,
.comparison-list__item span {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.screens-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.78fr);
  gap: 2rem 2.5rem;
  align-items: center;
}

.screens-copy {
  display: grid;
  gap: 1rem;
}

.screens-descriptions {
  display: grid;
  gap: 1rem;
}

.screen-description {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  width: 100%;
  padding: 1.35rem;
  border: 1px solid rgba(198, 173, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(18, 12, 31, 0.62);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.screen-description.is-active,
.screen-description:hover {
  border-color: rgba(198, 173, 255, 0.3);
  background: rgba(24, 16, 40, 0.78);
  transform: translateY(-1px);
}

.screen-description__num {
  color: rgba(198, 173, 255, 0.5);
  font-family: 'Fraunces', serif;
  font-size: 1.9rem;
  line-height: 1;
}

.screen-description__body {
  display: grid;
  gap: 0.3rem;
}

.screen-description__body strong {
  font-family: 'Fraunces', serif;
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.1;
}

.screen-description__body span {
  color: var(--muted);
}

.screens-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.screens-control {
  min-width: 5rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(198, 173, 255, 0.18);
  border-radius: 999px;
  background: rgba(18, 12, 31, 0.62);
  color: var(--text);
  cursor: pointer;
}

.screens-dots {
  display: flex;
  gap: 0.55rem;
}

.screens-dot {
  width: 0.7rem;
  height: 0.7rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(198, 173, 255, 0.24);
  cursor: pointer;
}

.screens-dot.is-active {
  background: var(--accent-soft);
}

.screen-phone {
  display: flex;
  justify-content: center;
}

.screen-phone__shell {
  position: relative;
  width: min(21rem, 100%);
  padding: 0.85rem 0.7rem 1rem;
  border-radius: 2.6rem;
  background: linear-gradient(180deg, #090712 0%, #110b1c 100%);
  border: 1px solid rgba(198, 173, 255, 0.18);
  box-shadow: 0 30px 90px rgba(5, 3, 12, 0.55);
}

.screen-phone__notch {
  width: 36%;
  height: 1.25rem;
  margin: 0 auto 0.65rem;
  border-radius: 999px;
  background: #06050b;
}

.screen-phone__viewport {
  overflow: hidden;
  border-radius: 2rem;
  background: #0b0812;
}

.screen-phone__track {
  display: flex;
  width: 100%;
  transition: transform 420ms ease;
}

.screen-phone__slide {
  min-width: 100%;
  margin: 0;
}

.gallery-card__image {
  width: 100%;
  margin: 0;
  border-radius: 2rem;
  filter: none;
}

.features-layout,
.science-grid,
.philosophy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.25rem 2rem;
  align-items: start;
}

.section-heading--sticky {
  position: sticky;
  top: 6.8rem;
}

.feature-stack {
  display: grid;
  gap: 1rem;
}

.feature-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 1.45rem;
}

.feature-card__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 1.4rem;
  background: rgba(198, 173, 255, 0.08);
  border: 1px solid rgba(198, 173, 255, 0.12);
}

.feature-card__icon {
  width: 3.2rem;
  height: 3.2rem;
  object-fit: contain;
}

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 1.4rem 2rem;
  align-items: center;
}

.how-steps {
  display: grid;
  gap: 0.95rem;
}

.how-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.35rem;
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.how-step__num {
  min-width: 3rem;
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(198, 173, 255, 0.5);
}

.how-step__body h3 {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.15;
}

.how-step__body p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.how-step__body span {
  display: inline-flex;
  margin-top: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 191, 154, 0.12);
  color: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.how-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.how-visual__image {
  width: min(23rem, 100%);
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.4));
}

.how-visual__line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 8px;
  background: linear-gradient(90deg, transparent, rgba(198, 173, 255, 0.6), rgba(255, 191, 154, 0.7), transparent);
  box-shadow: 0 0 24px rgba(198, 173, 255, 0.2);
}

.philosophy-visual {
  position: relative;
  min-height: 34rem;
}

.philosophy-visual__screen {
  width: min(24rem, 72vw);
  margin-left: auto;
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.48));
}

.quote-card {
  position: absolute;
  left: 0;
  bottom: 1rem;
  width: min(25rem, 78vw);
  padding: 1.45rem 1.35rem;
  border: 1px solid rgba(255, 191, 154, 0.22);
  border-radius: 1.55rem;
  background: rgba(19, 12, 31, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.quote-card__stars,
.review-card__stars {
  color: var(--accent);
  letter-spacing: 0.18em;
  font-size: 0.92rem;
}

.quote-card p,
.review-card p {
  margin: 0.7rem 0 0;
  font-family: 'Fraunces', serif;
  font-size: 1.42rem;
  line-height: 1.35;
}

.quote-card span,
.review-card footer {
  display: grid;
  gap: 0.15rem;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.philosophy-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.philosophy-list li {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(198, 173, 255, 0.14);
  border-radius: 1rem;
  background: rgba(16, 11, 30, 0.44);
}

.science-copy h2 {
  margin-top: 1rem;
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-family: 'Fraunces', serif;
  font-weight: 600;
  line-height: 1.02;
}

.science-callout {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(147, 219, 188, 0.08);
  border: 1px solid rgba(147, 219, 188, 0.18);
}

.science-callout strong {
  color: var(--success);
}

.comparison-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.comparison-list__item {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(198, 173, 255, 0.12);
}

.comparison-list__item strong {
  font-size: 1rem;
}

.science-panel {
  position: relative;
  overflow: hidden;
  padding: 1.4rem;
}

.science-panel__bg {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: auto;
  min-height: 14rem;
  object-fit: cover;
  object-position: top center;
  opacity: 0.2;
  filter: brightness(0.62) saturate(0.8);
  pointer-events: none;
}

.science-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 12, 31, 0.18) 0%, rgba(18, 12, 31, 0.42) 44%, rgba(18, 12, 31, 0.88) 100%),
    radial-gradient(circle at 50% 100%, rgba(198, 173, 255, 0.1), transparent 38%);
  pointer-events: none;
}

.science-panel__table {
  position: relative;
  z-index: 2;
}

.science-panel__head,
.science-panel__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 0;
}

.science-panel__head {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.science-panel__row {
  border-top: 1px solid rgba(198, 173, 255, 0.1);
}

.science-panel__row strong {
  color: var(--accent-soft);
}

.download-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(25, 17, 42, 0.96) 0%, rgba(20, 13, 35, 0.98) 100%);
}

.download-card__bg {
  position: absolute;
  left: 0;
  top: 0;
  width: min(32rem, 42%);
  opacity: 0.42;
  filter: brightness(0.55) saturate(0.75);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 38%,
    rgba(0, 0, 0, 0.35) 72%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 38%,
    rgba(0, 0, 0, 0.35) 72%,
    transparent 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.download-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 15, 39, 0.92) 0%, rgba(23, 15, 39, 0.78) 36%, rgba(23, 15, 39, 0.88) 100%),
    radial-gradient(circle at 0% 0%, rgba(198, 173, 255, 0.1), transparent 28%);
  pointer-events: none;
}

.download-card__copy,
.download-card__art {
  position: relative;
  z-index: 1;
}

.review-card {
  padding: 1.5rem;
}

.review-card footer strong {
  font-size: 0.95rem;
}

.download-section {
  padding-top: 5rem;
  padding-bottom: 7rem;
}

.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  align-items: center;
  gap: 1rem;
  padding: 1.75rem;
}

.download-card__art {
  justify-self: end;
  max-height: 13rem;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.2));
}

.site-footer {
  padding: 0 0 2rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(198, 173, 255, 0.12);
}

.site-footer p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.3rem;
  align-items: flex-start;
}

.site-footer__links a {
  color: var(--muted);
  font-weight: 700;
}

.site-footer__links a:hover {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-float {
  animation: floatY 6s ease-in-out infinite;
}

.anim-float-alt {
  animation: floatYAlt 7.5s ease-in-out infinite;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes floatYAlt {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.18;
  }
  50% {
    opacity: 0.85;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero__grid,
  .features-layout,
  .screens-layout,
  .how-grid,
  .science-grid,
  .philosophy-grid,
  .download-card {
    grid-template-columns: 1fr;
  }

  .section-heading--sticky {
    position: static;
  }

  .hero__visual {
    min-height: 32rem;
    justify-self: center;
    width: min(100%, 31rem);
    margin-inline: auto;
  }

  .hero__family {
    right: auto;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    width: min(20rem, 78vw);
  }

  .floating-card {
    left: 0.75rem;
    right: 0.75rem;
    width: min(26rem, calc(100% - 1.5rem));
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .hero__content {
    text-align: center;
  }

  .store-badges {
    justify-content: center;
  }

  .hero__lede {
    margin-left: auto;
    margin-right: auto;
  }

}

@media (max-width: 860px) {
  .site-header__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 4.5rem;
  }

  .site-header__floating {
    display: none;
  }

  .menu-toggle {
    position: fixed;
    top: max(0.65rem, calc(env(safe-area-inset-top, 0px) + 0.35rem));
    right: max(0.65rem, calc(env(safe-area-inset-right, 0px) + 0.35rem));
    z-index: 50;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.32rem;
    width: 3.35rem;
    height: 3.35rem;
    padding: 0;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    -webkit-tap-highlight-color: transparent;
    transition:
      background-color 220ms ease,
      border-color 220ms ease,
      box-shadow 220ms ease,
      backdrop-filter 220ms ease;
  }

  .site-header.is-scrolled .menu-toggle,
  .menu-toggle[aria-expanded='true'] {
    border-color: rgba(198, 173, 255, 0.22);
    background: rgba(16, 11, 30, 0.78);
    box-shadow: 0 10px 36px rgba(5, 3, 12, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .site-header.is-scrolled .menu-toggle span,
  .menu-toggle[aria-expanded='true'] span {
    filter: none;
  }

  .site-header.is-scrolled .menu-toggle:hover {
    background: rgba(24, 17, 42, 0.88);
    border-color: rgba(198, 173, 255, 0.32);
  }

  .menu-toggle[aria-expanded='true'] {
    background: rgba(28, 20, 48, 0.92);
    border-color: rgba(255, 191, 154, 0.35);
  }

  @media (hover: hover) {
    .site-header:not(.is-scrolled) .menu-toggle:not([aria-expanded='true']):hover {
      background: rgba(16, 11, 30, 0.42);
      border-color: rgba(198, 173, 255, 0.18);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }
  }

  .menu-toggle span {
    display: block;
    width: 1.35rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(5, 3, 12, 0.65));
    transition: transform 220ms ease, opacity 220ms ease;
    transform-origin: center;
  }

  .menu-toggle[aria-expanded='true'] span:nth-child(1) {
    transform: translateY(calc(2px + 0.16rem)) rotate(45deg);
  }

  .menu-toggle[aria-expanded='true'] span:nth-child(2) {
    transform: translateY(calc(-2px - 0.16rem)) rotate(-45deg);
  }

  body.mobile-menu-open {
    overflow: hidden;
    touch-action: none;
  }

  /* Inner contains the fixed menu toggle; without this, z-index:50 on the button is trapped
     below sibling .mobile-nav (40). Lift the bar above the overlay so the close control stays visible. */
  body.mobile-menu-open .site-header {
    z-index: 60;
  }

  body.mobile-menu-open .site-header__inner {
    z-index: 45;
  }

  .mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background:
      radial-gradient(ellipse 100% 60% at 50% 0%, rgba(148, 109, 227, 0.12), transparent 50%),
      linear-gradient(180deg, rgba(22, 24, 46, 0.97) 0%, rgba(12, 11, 24, 0.98) 100%);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 260ms ease, visibility 260ms ease;
  }

  .mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav__panel {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: none;
    min-height: min(100vh, 100dvh);
    box-sizing: border-box;
    margin: 0;
    padding: max(5.25rem, calc(env(safe-area-inset-top, 0px) + 4.25rem)) max(1.75rem, env(safe-area-inset-right))
      max(1.75rem, env(safe-area-inset-bottom)) max(1.75rem, env(safe-area-inset-left));
    border: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-nav__list {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: center;
    width: 100%;
    min-height: 0;
  }

  .mobile-nav .nav-link {
    display: block;
    margin: 0;
    padding: 1.15rem 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font-size: 1.22rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    text-align: left;
    transition: color 160ms ease, background-color 160ms ease;
  }

  .mobile-nav .nav-link::after {
    display: none;
  }

  .mobile-nav .nav-link:hover,
  .mobile-nav .nav-link:focus-visible {
    color: var(--accent-soft);
    background-color: rgba(255, 255, 255, 0.03);
    outline: none;
  }

  .mobile-nav .nav-link.is-active {
    color: var(--accent-soft);
    background-color: transparent;
  }

  .header-cta--mobile {
    display: inline-flex;
    justify-content: center;
    align-self: center;
    width: 100%;
    max-width: 22rem;
    margin-top: 2rem;
    flex-shrink: 0;
    min-height: 3.25rem;
    padding: 0 1.5rem;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 999px;
  }

  @media (prefers-reduced-motion: reduce) {
    .mobile-nav {
      transition: none;
    }

    .menu-toggle span {
      transition: none;
    }
  }

  .hero__mini-proof,
  .pain-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .download-section {
    padding-inline: 0;
  }

  .download-section .download-card {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 5rem 0;
  }

  .hero {
    padding-top: 1.4rem;
  }

  .hero__title {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .hero__lede {
    font-size: 1rem;
  }

  .hero__visual {
    min-height: 25rem;
  }

  .hero__family {
    right: auto;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    width: min(16rem, 72vw);
    top: 0;
  }

  .floating-card {
    left: 0.65rem;
    right: 0.65rem;
    width: min(22rem, calc(100% - 1.3rem));
    max-width: calc(100% - 1.3rem);
    margin-left: auto;
    margin-right: auto;
    column-gap: 0.85rem;
    padding: 0.95rem 1rem;
    box-sizing: border-box;
  }

  .floating-card__rule {
    margin: 0.65rem 0;
  }

  .screen-description {
    grid-template-columns: 1fr;
  }

  .how-step {
    grid-template-columns: 1fr;
  }

  .quote-card p {
    font-size: 1.18rem;
  }

  .philosophy-visual {
    min-height: auto;
    padding-bottom: 13rem;
  }

  .philosophy-visual__screen {
    margin: 0 auto;
  }

  .quote-card {
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
  }

  .download-card__art {
    justify-self: start;
  }
}
