:root {
  --purple: #920689;
  --pink: #ffd8fc;
  --black: #000000;
  --white: #ffffff;
  --page: #f5f5f5;
  --soft-card: #efefef;
  --soft-text: #555555;
  --button: #2f88a7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", Arial, sans-serif;
  background: var(--page);
  color: var(--black);
}

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

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

.container {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  background: var(--white);
}

.nav {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  width: 138px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 72px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 16px;
  font-weight: 700;
}

.hero {
  background: var(--pink);
  padding: 56px 0 62px;
}

.hero-grid {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(340px, 1.06fr);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  max-width: 370px;
  margin-left: 92px;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(46px, 4.6vw, 68px);
  line-height: 1.04;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-copy p {
  margin: 0;
  max-width: 295px;
  font-size: 18px;
  line-height: 1.35;
}

.hero-image {
  max-width: 610px;
  justify-self: end;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 1.52 / 1;
  object-fit: cover;
}

.products-section,
.intro-section,
.features-section,
.split-section,
.contact-section {
  padding: 88px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 800;
  margin-bottom: 54px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  background: #f5d3f2;
  border-radius: 18px;
  padding: 22px 18px 18px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.product-card img {
  width: 100%;
  max-width: 220px;
  height: 140px;
  object-fit: contain;
}

.product-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.intro-section {
  padding-top: 100px;
  padding-bottom: 70px;
}

.narrow-copy {
  max-width: 760px;
  text-align: center;
}

.intro-title {
  line-height: 1.14;
  margin-bottom: 30px;
}

.narrow-copy p {
  margin: 0 auto;
  max-width: 760px;
  font-size: 22px;
  line-height: 1.45;
}

.narrow-copy p + p {
  margin-top: 18px;
}

.features-section {
  padding-top: 44px;
}

.features-heading {
  font-size: clamp(34px, 3vw, 50px);
  font-weight: 800;
  margin-bottom: 56px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
}

.feature-card {
  background: var(--soft-card);
  border-radius: 18px;
  min-height: 280px;
  padding: 32px 28px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 26px;
  object-fit: contain;
  opacity: 0.9;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  margin: 0;
  max-width: 250px;
  font-size: 16px;
  line-height: 1.35;
  color: #666666;
}

.split-section {
  padding-top: 120px;
  padding-bottom: 46px;
}

.split-grid {
  display: grid;
  align-items: center;
  gap: 72px;
}

.right-image {
  grid-template-columns: minmax(300px, 1fr) minmax(320px, 0.92fr);
}

.left-image {
  grid-template-columns: minmax(320px, 0.92fr) minmax(300px, 1fr);
}

.split-copy {
  max-width: 520px;
}

.split-copy h2 {
  font-size: clamp(38px, 3.4vw, 58px);
  line-height: 1.14;
  font-weight: 800;
  margin-bottom: 26px;
}

.split-copy p {
  margin: 0;
  max-width: 430px;
  font-size: 18px;
  line-height: 1.45;
}

.copy-right {
  justify-self: end;
}

.portrait-image {
  max-width: 430px;
  justify-self: center;
  overflow: hidden;
  border-radius: 80px;
  background: #dddddd;
}

.portrait-image img {
  width: 100%;
  aspect-ratio: 0.74 / 1;
  object-fit: cover;
}

.arched-image {
  width: 100%;
  max-width: 430px;
  aspect-ratio: 0.67 / 1;
  justify-self: center;
  border-radius: 170px 170px 60px 60px;
  background: #d7d7d7;
}

/* Placeholder for the rounded ovulation-test hand photo, which was visible in the design PDF but not included as a separate asset in the uploaded image pack. */
.placeholder-hand {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22), rgba(0,0,0,0.08)),
    linear-gradient(135deg, #9aa4a6, #6e7b7c 45%, #c3b29e 46%, #9c7d62 100%);
}

.contact-section {
  padding-top: 82px;
  padding-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.55fr) minmax(420px, 1fr);
  gap: 64px;
  align-items: start;
  margin-bottom: 40px;
}

.contact-copy h2 {
  font-size: clamp(40px, 3vw, 58px);
  font-weight: 800;
  margin-bottom: 26px;
}

.contact-copy p {
  margin: 0 0 22px;
  max-width: 320px;
  font-size: 18px;
  line-height: 1.5;
}

.contact-card {
  background: #f1f1f1;
  padding: 36px;
  min-height: 270px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

input,
textarea,
button {
  font: inherit;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 2px solid #ececec;
  background: var(--white);
  color: var(--black);
  border-radius: 999px;
  padding: 15px 18px;
  font-size: 14px;
  outline: none;
}

.contact-card textarea {
  min-height: 116px;
  resize: none;
  border-radius: 26px;
  padding-top: 18px;
  margin-bottom: 14px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.contact-card button {
  border: 0;
  border-radius: 999px;
  background: var(--button);
  color: var(--white);
  padding: 15px 32px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.site-footer {
  margin-top: 40px;
  padding: 38px 20px 26px;
  background: var(--purple);
  color: var(--white);
  text-align: center;
}

.footer-logo {
  width: 240px;
  margin: 0 auto 18px;
}

.linkedin {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: #0a66c2;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 20px;
}

.copyright {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .nav-links {
    gap: 36px;
  }

  .hero-copy {
    margin-left: 24px;
  }

  .products-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .right-image,
  .left-image,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .copy-right {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100%, calc(100% - 32px));
  }

  .nav {
    min-height: auto;
    padding: 18px 0;
    flex-direction: column;
  }

  .nav-links {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .hero-grid,
  .products-grid,
  .feature-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    margin-left: 0;
    max-width: 100%;
  }

  .hero-copy p {
    max-width: 100%;
  }

  .products-section,
  .intro-section,
  .features-section,
  .split-section,
  .contact-section {
    padding: 58px 0;
  }

  .contact-card {
    padding: 20px;
  }

  .footer-logo {
    width: 190px;
  }
}
