:root {
  --color-primary: #ee53bd;
  --color-secondary: #94167e;
  --color-background: #ffffff;
  --color-section: #fde2f2;
  --color-accent: #aefee8;
  --color-text: #4e3550;
  --color-muted: #7d617d;
  --color-border: rgba(148, 22, 126, 0.12);
  --shadow-soft: 0 22px 60px rgba(148, 22, 126, 0.12);
  --shadow-card: 0 14px 38px rgba(148, 22, 126, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --content-width: 1120px;
  --text-width: 720px;
}

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

html {
  scroll-behavior: smooth;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.94)),
    url("../images/background_main.png") center top / auto 100% fixed repeat-x;
}

body {
  position: relative;
  margin: 0;
  font-family: "Inter", sans-serif;
  background: transparent;
  color: var(--color-text);
  line-height: 1.7;
}

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

a {
  color: inherit;
}

.page-shell {
  position: relative;
  overflow: clip;
  min-height: 100vh;
}

.background-wash {
  display: none;
}

main {
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  padding: 88px 24px;
  overflow: hidden;
  isolation: isolate;
}

.section-white {
  background: rgba(255, 255, 255, 0.84);
}

.section-pink {
  background: rgba(253, 226, 242, 0.78);
}

.hero.section-white {
  background: transparent;
}

.section-white::before,
.section-pink::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/background_main.png");
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.32;
  z-index: -1;
  pointer-events: none;
}

.hero.section-white::before {
  display: none;
}

main > .section:nth-of-type(1).section-white::before {
  background-position: 18% 12%;
}

main > .section:nth-of-type(3).section-white::before {
  background-position: 8% 88%;
}

main > .section:nth-of-type(5).section-white::before {
  background-position: 78% 18%;
}

main > .section:nth-of-type(2).section-pink::before {
  background-position: 88% 12%;
}

main > .section:nth-of-type(4).section-pink::before {
  background-position: 12% 84%;
}

main > .section:nth-of-type(6).section-pink::before {
  background-position: 92% 58%;
}

.content-wrap,
.hero {
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
}

.hero {
  position: relative;
  text-align: center;
  padding-top: 48px;
}

.logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.logo {
  width: 142px;
  filter: drop-shadow(0 12px 24px rgba(148, 22, 126, 0.12));
}

.hero-card,
.opt-in-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.hero-card {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 42px 32px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--color-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  color: var(--color-secondary);
  line-height: 1.14;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  max-width: 14ch;
  margin-inline: auto;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 18px;
}

.lead,
.section-copy,
.section-intro,
.credibility,
.closing-line,
.fine-print,
.prose p,
.emphasis {
  max-width: 36rem;
}

.lead {
  margin: 24px auto 0;
  font-size: 1.1rem;
  color: var(--color-muted);
}

.hero-supporting-line {
  max-width: 34rem;
  margin: 18px auto 0;
  font-size: 0.98rem;
  color: var(--color-secondary);
  opacity: 0.86;
}

.scroll-cue {
  position: absolute;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-secondary);
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 180ms ease, transform 180ms ease;
}

.scroll-cue-left {
  left: 18px;
}

.scroll-cue-right {
  right: 18px;
}

.scroll-cue:hover,
.scroll-cue:focus-visible {
  opacity: 1;
  transform: translateY(1px);
}

.scroll-cue-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.scroll-cue-icon span {
  width: 11px;
  height: 11px;
  border-right: 2px solid rgba(148, 22, 126, 0.55);
  border-bottom: 2px solid rgba(148, 22, 126, 0.55);
  transform: rotate(45deg);
  animation: soft-bounce 1.8s ease-in-out infinite;
}

.scroll-cue-icon span:last-child {
  margin-top: -6px;
  animation-delay: 140ms;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  cursor: pointer;
}

.button-primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(238, 83, 189, 0.3);
}

.hero-card .button-primary {
  margin-top: 32px;
}

.opt-in-form .button-primary {
  margin-top: 0;
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(238, 83, 189, 0.34);
  background: #df3aad;
}

.button-primary:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(174, 254, 232, 0.95);
  outline-offset: 3px;
}

.content-wrap {
  text-align: left;
}

.narrow {
  max-width: 760px;
}

.text-block,
.section-intro,
.section-copy,
.prose,
.credibility,
.emphasis,
.closing-line,
.section-closing,
.about-card,
.opt-in-copy {
  max-width: var(--text-width);
}

.text-block,
.content-wrap > h2,
.content-wrap > .section-copy,
.content-wrap > .section-intro,
.content-wrap > .soft-list,
.content-wrap.prose,
.content-wrap.narrow {
  margin-left: auto;
  margin-right: auto;
}

.text-block > h2,
.content-wrap > h2 {
  text-align: center;
}

.text-block > .section-copy {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.text-block > .soft-list,
.mockup-showcase > .soft-list,
.about-card > .section-copy,
.about-card > .credibility {
  margin-left: auto;
  margin-right: auto;
}

.section-copy-secondary {
  color: var(--color-muted);
}

.section-closing {
  margin: 24px auto 0;
  max-width: 36rem;
  text-align: center;
  color: var(--color-secondary);
  font-weight: 600;
}

.section-intro,
.section-copy,
.prose p,
.credibility {
  margin: 0 0 18px;
  font-size: 1.06rem;
}

.soft-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.soft-list-tight {
  max-width: var(--text-width);
  gap: 16px;
}

.soft-list-tight li {
  padding: 18px 22px 18px 56px;
  border-radius: 22px;
}

.soft-list-tight li::before {
  top: 23px;
  left: 22px;
  width: 14px;
  height: 14px;
  box-shadow: 0 0 0 7px rgba(238, 83, 189, 0.13);
}

.mockup-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  width: min(100%, 980px);
  margin: 32px auto 0;
}

.mockup-cluster {
  position: relative;
  min-height: 432px;
}

.mockup {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 36px rgba(148, 22, 126, 0.14));
}

.mockup-back {
  transform: rotate(-8deg) translate(-24px, 6px);
  opacity: 0.82;
}

.mockup-front {
  transform: rotate(6deg) translate(18px, -4px);
}

.soft-list li {
  position: relative;
  padding: 18px 22px 18px 56px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 22, 126, 0.1);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}

.soft-list li::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #ffffff 0 20%, rgba(255, 255, 255, 0) 22%),
    var(--color-primary);
  box-shadow: 0 0 0 7px rgba(238, 83, 189, 0.13);
}

.emphasis {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  color: var(--color-secondary);
  line-height: 1.28;
}

.prose p:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--color-secondary);
}

.opt-in-card {
  padding: 42px 34px;
  background: linear-gradient(180deg, #ffffff, #fff8fc);
}

.about-card {
  text-align: center;
}

.about-support {
  margin-left: auto;
  margin-right: auto;
}

.about-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.92rem;
  color: rgba(148, 22, 126, 0.72);
  text-decoration: none;
  opacity: 0.8;
  transition: color 180ms ease, opacity 180ms ease, text-decoration-color 180ms ease;
}

.about-link:hover,
.about-link:focus-visible {
  color: rgba(148, 22, 126, 0.92);
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.opt-in-copy {
  margin-left: auto;
  margin-right: auto;
}

.opt-in-copy p,
.fine-print {
  margin: 0;
  color: var(--color-muted);
}

.opt-in-form {
  display: flex;
  gap: 14px;
  max-width: 560px;
  margin: 26px auto 0;
}

input[type="email"] {
  flex: 1 1 300px;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid rgba(148, 22, 126, 0.18);
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--color-text);
  font: inherit;
  box-shadow: inset 0 1px 2px rgba(148, 22, 126, 0.05);
}

input[type="email"]::placeholder {
  color: #9d7b9c;
}

.fine-print {
  margin-top: 14px;
  font-size: 0.95rem;
  text-align: center;
}

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

.closing-line {
  margin: 0 auto;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--color-secondary);
  line-height: 1.3;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: fade-up 800ms ease forwards;
}

.reveal:nth-of-type(2) {
  animation-delay: 80ms;
}

.reveal:nth-of-type(3) {
  animation-delay: 120ms;
}

.reveal:nth-of-type(4) {
  animation-delay: 160ms;
}

.reveal:nth-of-type(5) {
  animation-delay: 200ms;
}

.reveal:nth-of-type(6) {
  animation-delay: 240ms;
}

.reveal:nth-of-type(7) {
  animation-delay: 280ms;
}

.reveal:nth-of-type(8) {
  animation-delay: 320ms;
}

.reveal:nth-of-type(9) {
  animation-delay: 360ms;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes soft-bounce {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
    opacity: 0.6;
  }

  50% {
    transform: rotate(45deg) translateY(4px);
    opacity: 1;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 72px 20px;
  }

  .content-wrap,
  .hero {
    width: min(calc(100% - 40px), var(--content-width));
  }

  .hero {
    padding-top: 36px;
  }

  .hero-card,
  .opt-in-card {
    border-radius: 26px;
  }

  .mockup-showcase,
  .opt-in-form {
    grid-template-columns: 1fr;
    display: grid;
  }

  .button,
  input[type="email"] {
    width: 100%;
  }

  .mockup-cluster {
    min-height: 300px;
    width: min(100%, 320px);
    margin: 0 auto;
  }

}

@media (max-width: 560px) {
  .section {
    padding: 56px 18px;
  }

  .content-wrap,
  .hero {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .hero-card {
    width: min(100%, 680px);
    padding: 28px 20px;
  }

  .scroll-cue {
    bottom: 12px;
    width: 34px;
    height: 34px;
  }

  .scroll-cue-left {
    left: 12px;
  }

  .scroll-cue-right {
    right: 12px;
  }

  .hero-card,
  .opt-in-card {
    padding: 30px 22px;
  }

  .soft-list li {
    padding: 16px 18px 16px 50px;
  }

  .soft-list li::before {
    left: 19px;
  }
}

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

  .button,
  .reveal {
    transition: none;
    animation: none;
    opacity: 1;
    transform: none;
  }
}
