:root {
  --bg: #eef3f0;
  --bg-deep: #dfe9e3;
  --ink: #14201b;
  --muted: #4d5f56;
  --line: rgba(20, 32, 27, 0.12);
  --card: rgba(255, 255, 255, 0.72);
  --accent: #0f7a5f;
  --accent-2: #e85d4c;
  --accent-soft: #b7f0d8;
  --pink: #f3c1c8;
  --sky: #b9d4ef;
  --shadow: 0 24px 60px rgba(20, 32, 27, 0.12);
  --radius: 28px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Sora", "Manrope", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 10% -10%, #c8f0df 0%, transparent 55%),
    radial-gradient(900px 600px at 95% 5%, #f7c8c4 0%, transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, #f7faf8 45%, var(--bg-deep) 100%);
  min-height: 100vh;
  line-height: 1.5;
}

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

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.top,
main,
.footer {
  position: relative;
  z-index: 1;
}

.top {
  position: sticky;
  top: 0;
  z-index: 100;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(238, 243, 240, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 32, 27, 0.08);
}

.logo {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.15rem;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 500;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: none;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px rgba(20, 32, 27, 0.18);
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--accent);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.95rem;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 72px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 88px);
}

.brand-mark {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
  background: linear-gradient(120deg, var(--ink) 20%, var(--accent) 70%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.8s ease both;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
  animation: rise 0.9s ease 0.05s both;
}

.lead {
  margin: 18px 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.08rem;
  animation: rise 1s ease 0.1s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  animation: rise 1.05s ease 0.15s both;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  animation: float-in 1.1s ease both;
}

.shot-main {
  position: absolute;
  inset: 6% 28% 22% 0;
  transform: rotate(-2deg);
}

.shot-float {
  position: absolute;
  width: min(52%, 380px);
  right: -2%;
  bottom: -4%;
  top: auto;
  transform: rotate(2deg);
  animation: bob 5s ease-in-out infinite;
  z-index: 2;
  border-radius: 28px;
  overflow: visible;
  box-shadow: 0 28px 60px rgba(20, 32, 27, 0.22);
  border: 3px solid #fff;
  background: #fff;
}

.shot-float img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px;
}

.shot-caption {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  background: #14201b;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(20, 32, 27, 0.18);
}

.hero-glow {
  position: absolute;
  inset: 12% 8%;
  background: radial-gradient(circle, rgba(15, 122, 95, 0.22), transparent 70%);
  filter: blur(10px);
}

.shot {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: #fff;
}

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

.product-media {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 240px;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line);
  border-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.product-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.45s ease;
}

.product:hover .product-media img {
  transform: scale(1.04);
}

.product[data-sku="habits"] .product-media img {
  object-position: right center;
}

.strip {
  max-width: 1180px;
  margin: 0 auto 20px;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.strip span {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line);
  text-align: center;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
}

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

.section-head h2,
.product h3,
.bundle h3,
.how strong,
.faq summary,
.buy-card h3 {
  font-family: var(--display);
  letter-spacing: -0.04em;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-grid-5 {
  grid-template-columns: repeat(3, 1fr);
}

.product-grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

.product,
.bundle,
.steps li,
.faq details {
  background: var(--card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  padding: 0;
}

.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product h3 {
  margin: 0;
  font-size: 1.35rem;
}

.product p {
  margin: 10px 0 0;
  color: var(--muted);
}

.product ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.product li {
  padding: 7px 0 7px 18px;
  position: relative;
}

.product li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.price-row,
.bundle-buy {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.price-old {
  margin-left: 8px;
  color: #8a9a92;
  text-decoration: line-through;
  font-weight: 600;
}

.bundle {
  margin-top: 18px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(120deg, rgba(183, 240, 216, 0.75), rgba(255, 255, 255, 0.7) 45%, rgba(243, 193, 200, 0.55));
}

.eyebrow {
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.bundle h3 {
  margin: 0;
  font-size: 1.8rem;
}

.bundle p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 36rem;
}

.phone-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.phone-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  counter-reset: phone;
}

.phone-steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  counter-increment: phone;
}

.phone-steps li::before {
  content: "0" counter(phone);
  font-family: var(--display);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
}

.phone-steps span {
  color: var(--muted);
}

.phone-shot {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.phone-shot img {
  width: 100%;
  display: block;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: step;
}

.steps li {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-increment: step;
}

.steps li::before {
  content: "0" counter(step);
  font-family: var(--display);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
}

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

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

.faq details {
  padding: 8px 20px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-weight: 700;
  font-size: 1.1rem;
}

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

.faq p {
  margin: 0 0 16px;
  color: var(--muted);
}

.pay-panel {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 28px 28px;
  border-radius: 28px;
  background: #121916;
  color: #f4f8f6;
  text-align: center;
  box-shadow: 0 24px 50px rgba(18, 25, 22, 0.18);
}

.pay-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.pay-option {
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 72px;
  padding: 14px 16px;
  background: #0f7a5f;
  box-shadow: 0 12px 28px rgba(15, 122, 95, 0.35);
  text-decoration: none;
  line-height: 1.25;
}

.pay-option strong {
  font-size: 16px;
}

.pay-option span {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
}

.pay-option-alt {
  background: #1a2822;
  border: 1px solid rgba(159, 217, 196, 0.25);
  box-shadow: none;
}

.pay-option-alt:hover {
  background: #24342c;
}

.pay-note {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(244, 248, 246, 0.65);
}

.pay-support {
  margin: 18px 0 8px;
  font-size: 15px;
  color: rgba(244, 248, 246, 0.75);
}

.pay-support a {
  color: #9fd9c4;
  text-decoration: none;
  font-weight: 700;
}

.pay-legal {
  margin: 0;
  font-size: 11px;
  line-height: 1.3;
  color: rgba(244, 248, 246, 0.5);
  white-space: nowrap;
}

.pay-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.pay-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: #1a1f71;
}

.pay-logo.mc { color: #eb001b; }
.pay-logo.mir { color: #0ca750; }

.pay-hint {
  margin: 0 0 14px;
  font-weight: 700;
  color: rgba(244, 248, 246, 0.88);
}

.pay-legal {
  margin: 0;
  font-size: 11px;
  line-height: 1.3;
  color: rgba(244, 248, 246, 0.5);
  white-space: nowrap;
}

.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.footer-legal {
  margin-top: 16px;
  max-width: 42rem;
  font-size: 13px;
  line-height: 1.45;
}

.footer-legal p {
  margin: 0 0 4px;
}

.legal-page h2 {
  margin: 28px 0 12px;
  font-size: 1.15rem;
}

.legal-page ul {
  margin: 0 0 24px;
  padding-left: 1.2em;
  color: var(--muted);
}

.legal-page li {
  margin-bottom: 6px;
}

.buy-dialog {
  border: none;
  border-radius: 24px;
  padding: 0;
  max-width: 440px;
  width: calc(100% - 32px);
  background: transparent;
}

.buy-dialog::backdrop {
  background: rgba(20, 32, 27, 0.45);
  backdrop-filter: blur(4px);
}

.buy-card {
  margin: 0;
  padding: 28px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line);
  position: relative;
}

.buy-card .close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--muted);
}

.buy-hint {
  color: var(--muted);
  font-size: 0.95rem;
}

.buy-card #buy-action {
  width: 100%;
  margin-top: 8px;
}

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.legal-page h1 {
  font-family: var(--display);
  letter-spacing: -0.04em;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bob {
  0%,
  100% {
    transform: rotate(4deg) translateY(0);
  }
  50% {
    transform: rotate(4deg) translateY(-10px);
  }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero,
  .product-grid,
  .product-grid-5,
  .phone-layout,
  .steps,
  .strip {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 12px;
  }

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

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

  .footer-links {
    justify-content: flex-start;
  }

  .pay-options {
    grid-template-columns: 1fr;
  }

  .pay-legal {
    white-space: normal;
    font-size: 10px;
  }
}
