:root {
  --magenta: #780f5a;
  --magenta-hover: #5e0c47;
  --magenta-soft: #f3e4e8;
  --ink: #1c1917;
  --muted: #57534e;
  --paper: #f7f3f0;
  --surface: #ffffff;
  --line: #eadfd8;
  --blush: #f4d6e2;
  --mist: #d9e4ee;
  --footer: #1c1917;
  --footer-text: #d6d3d1;
  --shadow: 0 18px 40px rgba(28, 25, 23, 0.08);
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Nunito", sans-serif;
  --radius: 28px;
  --radius-sm: 16px;
  --pill: 999px;
  --wrap: 1120px;
  --header-h: 76px;
}

[data-theme="dark"] {
  --magenta: #c45a9a;
  --magenta-hover: #d478ae;
  --magenta-soft: #3a242f;
  --ink: #f5f0f1;
  --muted: #a8a29e;
  --paper: #1a1618;
  --surface: #252022;
  --line: #3f3a3c;
  --blush: #4a2a3a;
  --mist: #2c333c;
  --footer: #120f10;
  --footer-text: #a8a29e;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
.btn {
  font-family: inherit;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.muted {
  color: var(--muted);
}

.accent {
  color: #780f5a;
}

[data-theme="dark"] .accent {
  color: var(--magenta);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--pill);
  border: 1.5px solid transparent;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: none;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-solid {
  background: #780f5a;
  color: #fff;
  border-color: #780f5a;
}

.btn-solid:hover {
  background: #5e0c47;
  border-color: #5e0c47;
}

.btn-ghost {
  border-color: var(--line);
  background: var(--surface);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  min-width: 172px;
  padding: 7px 18px 7px 12px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border: 1px solid #111;
}

.badge svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.badge small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
  line-height: 1;
}

.badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.badge-play svg {
  width: 24px;
  height: 24px;
}

.footer .badge {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.footer .stores {
  flex-direction: column;
  align-items: flex-start;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo img {
  height: 44px;
  width: auto;
  border-radius: 12px;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.nav-extra {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pop {
  position: relative;
}

.pop__list {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.pop.is-open .pop__list {
  display: grid;
}

.pop__list a {
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.pop__list a:hover {
  background: var(--blush);
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

[data-theme="light"] .icon-sun,
[data-theme="dark"] .icon-moon {
  display: none;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  padding: 72px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.lead {
  margin-top: 20px;
  max-width: 34ch;
  font-size: 1.12rem;
  color: var(--muted);
}

.checks {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: var(--ink);
}

.checks b {
  flex: none;
  width: 1.4em;
  font-family: var(--font-display);
  font-weight: 800;
  color: #780f5a;
}

[data-theme="dark"] .checks b {
  color: var(--magenta);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

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

.chips span {
  padding: 6px 12px;
  border-radius: var(--pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 580px;
}

.hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #780f5a;
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .hero-lines {
  opacity: 0.45;
}

.hero-phone {
  position: relative;
  z-index: 1;
  width: min(62%, 270px);
  margin: 36px auto;
  transform: rotate(-8deg);
  filter: drop-shadow(0 24px 36px rgb(28 25 23 / 0.22));
}

.hero-phone img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 44px;
}

.hero-phone .hero-phone-dark {
  display: none;
}

[data-theme="dark"] .hero-phone .hero-phone-light {
  display: none;
}

[data-theme="dark"] .hero-phone .hero-phone-dark {
  display: block;
}

.health-card {
  --tilt: 0deg;
  position: absolute;
  z-index: 2;
  width: 168px;
  padding: 14px 16px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  animation: float-card 4.8s ease-in-out infinite;
}

.health-card small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.health-card strong {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #780f5a;
}

[data-theme="dark"] .health-card {
  background: #2a2427;
  border-color: #4a4246;
}

[data-theme="dark"] .health-card strong {
  color: #e8c5d8;
}

.health-card--a {
  --tilt: -8deg;
  left: -2%;
  top: 10%;
  animation-delay: 0s;
}

.health-card--b {
  --tilt: -4deg;
  left: -4%;
  bottom: 14%;
  animation-delay: 0.7s;
}

.health-card--c {
  --tilt: 7deg;
  right: -2%;
  top: 42%;
  animation-delay: 1.3s;
}

@keyframes float-card {
  0%, 100% { transform: rotate(var(--tilt)) translateY(0); }
  50% { transform: rotate(var(--tilt)) translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .health-card {
    animation: none;
    transform: rotate(var(--tilt));
  }
}

.band {
  padding: 88px 0;
}

.band-alt {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: center;
}

.photo-frame {
  position: relative;
  background: var(--mist);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
}

.photo-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.photo-circle {
  width: min(100%, 340px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: var(--blush);
}

.photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-copy p {
  margin-top: 18px;
  max-width: 46ch;
}

.split-copy .btn {
  margin-top: 28px;
}

.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  padding: 36px 0;
}

.step:nth-child(even) .step-copy {
  order: -1;
}

.step-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #780f5a;
  margin-bottom: 8px;
}

[data-theme="dark"] .step-kicker {
  color: var(--magenta);
}

.step-num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 0.8;
  color: var(--blush);
  margin: 0 0 8px;
}

.step-copy p {
  margin-top: 14px;
  max-width: 40ch;
  color: var(--muted);
}

.panel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20px 20px, rgb(255 255 255 / 0.35) 2px, transparent 2.5px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 1;
}

.panel-blush { background: var(--blush); }
.panel-mist { background: var(--mist); }

.panel img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center 20%;
}

.panel-card {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  width: 210px;
  padding: 14px 16px;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--line);
}

.panel-card strong {
  display: block;
  font-size: 14px;
}

.panel-card small {
  color: var(--muted);
  font-size: 12px;
}

.ok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #3f6b4a;
}

[data-theme="dark"] .ok {
  color: #8fbf9a;
}

.faq-head {
  max-width: 36rem;
  margin-bottom: 36px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 22px;
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  font-size: 16px;
}

summary::-webkit-details-marker {
  display: none;
}

details[open] summary {
  border-bottom: 1px solid var(--line);
}

details p {
  padding: 16px 0 20px;
  color: var(--muted);
}

.cta {
  background: #780f5a;
  color: #fff;
  border-radius: 32px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  max-width: 16ch;
}

.cta .btn-solid {
  background: #fff;
  color: #780f5a;
  border-color: #fff;
}

.cta .btn-solid:hover {
  background: var(--magenta-soft);
  border-color: var(--magenta-soft);
}

.footer {
  padding: 64px 0 28px;
  background: var(--footer);
  color: var(--footer-text);
  margin-top: 88px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer p,
.footer li {
  color: var(--footer-text);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.footer li {
  margin-bottom: 8px;
}

.footer h3 {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid #44403c;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #44403c;
  font-size: 14px;
}

.partners {
  display: flex;
  align-items: center;
  gap: 18px;
}

.partners img {
  height: 28px;
  width: auto;
  filter: grayscale(1) brightness(2);
  opacity: 0.7;
}

.app-page {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  padding: 48px 0 80px;
}

@media (max-width: 900px) {
  .nav,
  .header .pop {
    display: none;
  }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    padding: 20px 20px 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }

  .nav.is-open .nav-extra {
    display: block;
  }

  .header .pop.is-mobile-open {
    display: block;
    position: static;
  }

  .header .pop.is-mobile-open .pop__list {
    position: static;
    display: grid;
    box-shadow: none;
    margin-top: 8px;
  }

  .menu-btn {
    display: inline-block;
  }

  .hero-grid,
  .split,
  .step,
  .footer-grid,
  .cta,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }

  .step:nth-child(even) .step-copy {
    order: 0;
  }

  .step:nth-child(even) .step-copy {
    order: 0;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-phone {
    width: min(56%, 220px);
  }

  .health-card {
    width: 148px;
    padding: 12px 14px;
  }

  .cta {
    padding: 32px 24px;
  }

  .hero,
  .band {
    padding: 56px 0;
  }

  .header-actions .btn-ghost {
    display: none;
  }
}
