/* ============================================================
   MAYBE BABY — US Landing Page
   ============================================================ */

/* ===== Google Fonts fallback: Fraunces + Inter ===== */

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== Design tokens ===== */
:root {
  /* Core palette */
  --magenta:      #C8147A;
  --magenta-deep: #A50F64;
  --teal:         #0E7C8A;
  --teal-deep:    #0A5F6A;
  --off-white:    #F5F5F0;
  --ink:          #1A2B30;
  --gray:         #8A9499;
  --line:         #E4E2DB;

  /* Body text */
  --body-color:   #46565B;
  --body-dark:    #39484C;

  /* On-dark (lens section, footer) */
  --on-dark-text:    #B6C2C5;
  --on-dark-magenta: #FF66B8;
  --on-dark-teal:    #5FD0DD;
  --footer-muted:    #7E8C90;
  --footer-divider:  #2E3E43;

  /* Order / CTA tints */
  --teal-light: #CDEEF2;
  --teal-pale:  #9FE6EE;

  /* Blob gradient */
  --blob-start: #FBE3F0;
  --blob-end:   #F7CFE4;

  /* Typography */
  --font-display: 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Layout */
  --max-width:  1180px;
  --side-pad:   28px;
  --section-py: 92px;
  --header-h:   68px;
}

/* ===== Base ===== */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--body-color);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

strong {
  font-weight: 600;
  color: var(--body-dark);
}

/* ===== Layout ===== */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--side-pad);
}

/* ===== Typography helpers ===== */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 16px;
}

.eyebrow-on-dark {
  color: var(--magenta);
}

.eyebrow-on-teal {
  color: var(--teal-pale);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.1rem);
  line-height: 1.08;
}

h1 em {
  font-style: italic;
  color: var(--magenta);
}

h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  margin-bottom: 20px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.section-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--body-color);
  max-width: 580px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  padding: 13px 26px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}

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

.btn:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--magenta);
  color: #fff;
  border-color: var(--magenta);
}

.btn-primary:hover {
  background: var(--magenta-deep);
  border-color: var(--magenta-deep);
  box-shadow: 0 6px 20px rgba(200, 20, 122, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 20px rgba(26, 43, 48, 0.2);
}

.btn-nav {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  font-size: 0.875rem;
  padding: 10px 22px;
}

.btn-nav:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  box-shadow: 0 4px 14px rgba(14, 124, 138, 0.3);
}

.btn-teal {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.btn-teal:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  box-shadow: 0 6px 20px rgba(14, 124, 138, 0.35);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-price {
  font-weight: 400;
  opacity: 0.85;
}

/* ===== Logo ===== */
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.logo-img {
  display: block;
  height: 44px;
  width: auto;
}

.logo-img-footer {
  height: 57px;
}

/* Text logo — used in footer only (image has white bg, won't work on dark) */
.logo-mark {
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.logo-maybe {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
  color: var(--magenta);
  line-height: 1;
}

.logo-be {
  color: var(--magenta);
}

.logo-baby {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
}

.logo-baby sup {
  font-size: 0.55em;
  font-weight: 400;
  vertical-align: super;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(26, 43, 48, 0.08);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-inline: auto;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--body-color);
  transition: color 0.15s ease;
}

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

.site-nav a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  position: relative;
  height: 554px;
}

.hero-text {
  position: absolute;
  left: var(--side-pad);
  top: 84px;
  width: 576px;
  z-index: 1;
}

.hero-text .eyebrow {
  margin-bottom: 12px;
}

.hero-text h1 {
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--body-color);
  max-width: 500px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 0.82rem;
  color: var(--gray);
  letter-spacing: 0.01em;
}

.hero-visual {
  position: absolute;
  /* start after text column (28px + 576px) + 24px gap */
  left: calc(var(--side-pad) + 576px + 24px);
  top: 82px;
  width: 710px;
  height: 472px;
}

.hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

/* ===== TRUST STRIP ===== */
.trust-strip {
  background: var(--off-white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 28px;
}

.trust-inner {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.trust-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--teal);
  line-height: 1;
}

.trust-label {
  font-size: 0.82rem;
  color: var(--gray);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding-block: var(--section-py);
}

.how-it-works .section-lead {
  margin-bottom: 56px;
  margin-top: 8px;
}

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

.step-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 32px 36px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 43, 48, 0.08);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--magenta);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--ink);
}

.step-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--body-color);
}

/* ===== READING THE LENS ===== */
.lens-section {
  background: var(--ink);
  padding-block: var(--section-py);
}

.lens-section h2 {
  color: #fff;
  margin-bottom: 16px;
}

.lens-lead {
  color: var(--on-dark-text);
  max-width: 580px;
  margin-bottom: 72px;
}

.lens-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.lens-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.disc {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 24px;
  flex-shrink: 0;
  display: block;
}

.lens-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 10px;
}

.lens-card h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 12px;
}

.lens-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--on-dark-text);
  max-width: 300px;
}

/* ===== SPLIT FEATURE ===== */
.split-hand-responsive { display: none; }
.split-feature {
  overflow: hidden;
}

/* Full-width grid — NOT constrained by .container */
.split-inner {
  display: grid;
  grid-template-columns: 50.7% 49.3%; /* 730px : 710px at 1440px viewport */
  max-width: 1440px;
  margin-inline: auto;
  align-items: stretch;
  min-height: 543px;
}

/* Left visual column: hand bleeds to left edge, logo floats beside it */
.split-visual {
  position: relative;
  min-height: 543px;
}

.split-hand {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  object-fit: cover;
}

.split-hand-web {
  width: 543px;
  object-position: center center;
}

.split-hand-responsive {
  width: 38.5%; /* 281px / 730px — mb-hand at tablet */
  object-position: top center;
}


/* Right text column */
.split-text {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  padding-right: 130px; /* mirrors container right margin at 1440px */
  padding-left: var(--side-pad);
}

.split-text .eyebrow {
  color: var(--teal);
}

.split-text .section-lead {
  margin-bottom: 32px;
  color: var(--body-color);
}

.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--body-dark);
}

.benefit-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
}

/* ===== THE SCIENCE ===== */
.science-section {
  background: var(--off-white);
  padding-block: var(--section-py);
}

.science-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.science-text .eyebrow {
  margin-bottom: 16px;
  color: var(--magenta);
  font-size: 0.75rem;
}

.science-text h2 {
  margin-bottom: 24px;
}

.science-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body-color);
  margin-bottom: 16px;
}

.science-text p:last-child {
  margin-bottom: 0;
}

.science-refs {
  padding-top: 8px;
}

.ref-item {
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.ref-item:first-child {
  border-top: 1px solid var(--line);
}

.ref-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--body-color);
}

.ref-item strong {
  color: var(--ink);
}

/* ===== FAQ ===== */
.faq-section {
  padding-block: var(--section-py);
}

.faq-inner {
  max-width: 840px;
}

.faq-section .eyebrow {
  margin-bottom: 16px;
}

.faq-section h2 {
  margin-bottom: 48px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

details {
  border-bottom: 1px solid var(--line);
}

details:first-child {
  border-top: 1px solid var(--line);
}

details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--teal);
  transition: color 0.15s ease;
}

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

details > summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  color: var(--magenta);
  transition: transform 0.2s ease;
}

details[open] > summary::after {
  transform: rotate(45deg);
}

details > summary:hover {
  color: var(--teal-deep);
}

details > summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 2px;
}

.faq-answer {
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--body-color);
}

/* ===== ORDER ===== */
.order-section {
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 100%);
  padding-block: var(--section-py);
}

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

.order-section h2 {
  color: #fff;
  margin-bottom: 16px;
  max-width: 700px;
  margin-inline: auto;
}

.order-subtitle {
  font-size: 1rem;
  color: var(--teal-light);
  margin-bottom: 56px;
}

.order-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 776px;
  margin-inline: auto;
}

.order-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px 32px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10, 95, 106, 0.25);
}

.order-card-featured {
  border: 2px solid var(--magenta);
}

.best-price-badge {
  position: absolute;
  top: -14px;
  left: 40px;
  background: var(--magenta);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
}

.order-source {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
}

.order-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.price-big {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}

.price-freq {
  font-size: 0.88rem;
  color: var(--gray);
}

.order-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--body-color);
  margin-bottom: 28px;
  min-height: 48px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink);
  padding-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-brand {
  grid-column: 1 / 2;
}

.logo-footer .logo-maybe {
  color: var(--on-dark-magenta);
}

.logo-footer .logo-baby {
  color: var(--on-dark-teal);
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--on-dark-text);
  margin-top: 20px;
  max-width: 280px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.footer-nav a {
  font-size: 0.92rem;
  color: var(--on-dark-text);
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-nav a:focus-visible {
  outline: 2px solid var(--on-dark-teal);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-divider {
  border-top: 1px solid var(--footer-divider);
  margin-inline: var(--side-pad);
}

.footer-bottom {
  padding-block: 32px;
}

.footer-disclaimer {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--footer-muted);
}

/* ===== RESPONSIVE — Tablet ≤ 1023px ===== */
@media (max-width: 1023px) {
  :root {
    --section-py: 72px;
    --side-pad: 40px;
  }

  /* --- Typography --- */
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2.5rem; }

  /* --- Hero: keep absolute positioning, adjust values for tablet --- */
  .hero-inner {
    max-width: 100%;
    height: 479px;
  }

  .hero-text {
    top: 48px;
    width: 335px;
  }

  .hero-lead {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-visual {
    left: calc(var(--side-pad) + 335px + 17px);
    top: 48px;
    width: calc(100% - var(--side-pad) - 335px - 17px);
    height: 431px;
  }

  .hero-img {
    object-fit: cover;
    object-position: left top;
  }

  /* --- Trust strip: 4 in a row --- */
  .trust-inner {
    gap: 40px;
  }

  /* --- How it works: single column --- */
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* --- Reading the lens: stacked, centered --- */
  .lens-cards {
    grid-template-columns: 1fr;
    max-width: 370px;
    margin-inline: auto;
    gap: 36px;
  }

  .lens-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .disc {
    width: 220px;
    height: 220px;
    margin-bottom: 24px;
  }

  .lens-card p {
    max-width: none;
  }

  /* --- Split feature: swap to mb-hand image --- */
  .split-hand-web { display: none; }
  .split-hand-responsive { display: block; }

  .split-inner {
    grid-template-columns: 37.5% 62.5%;
    max-width: 100%;
    min-height: 556px;
  }

  .split-visual {
    min-height: 556px;
  }

  .split-hand {
    width: 100%;
    object-position: top center;
  }


  .split-text {
    padding-left: 16px;
    padding-right: var(--side-pad);
  }

  /* --- Science: single column --- */
  .science-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* --- FAQ --- */
  .faq-inner {
    max-width: 100%;
  }

  /* --- Order: two cards side by side --- */
  .order-cards {
    grid-template-columns: 1fr 1fr;
    max-width: 720px;
  }

  /* --- Footer: 3-column --- */
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }

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

/* ===== RESPONSIVE — Mobile ≤ 767px ===== */
@media (max-width: 767px) {
  :root {
    --section-py: 56px;
    --side-pad: 20px;
  }

  /* --- Typography --- */
  h1 { font-size: 2rem; }
  h2 { font-size: 2rem; }
  .section-lead { font-size: 0.925rem; }

  /* --- Header --- */
  .site-nav { display: none; }
  .header-inner { justify-content: space-between; }

  /* --- Hero: image on top, text below --- */
  .hero-inner {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    padding: 0;
    gap: 0;
  }

  .hero-visual {
    position: static;
    left: auto;
    top: auto;
    order: -1;
    width: 100%;
    height: 234px;
    flex: none;
  }

  .hero-img {
    object-fit: cover;
    object-position: center top;
  }

  .hero-text {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    padding: 32px var(--side-pad) 40px;
  }

  .hero-lead {
    font-size: 0.925rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  /* --- Trust strip: 2×2 grid --- */
  .trust-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    justify-items: center;
  }

  /* --- How it works --- */
  .section-lead br { display: none; }

  .steps {
    gap: 20px;
  }

  /* --- Reading the lens --- */
  .lens-cards {
    max-width: 350px;
  }

  /* --- Split feature: hand bleeds left, text section below --- */
  .split-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
  }

  .split-visual {
    min-height: 0;
    overflow: hidden;
  }

  .split-hand {
    position: static;
    display: block;
    width: 71.5%;
    height: auto;
  }

  .split-hand-web { display: none; }


  .split-text {
    background: var(--off-white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 24px var(--side-pad) 32px;
  }

  /* --- Science --- */
  .science-inner {
    gap: 32px;
  }

  /* --- Order: stacked --- */
  .order-cards {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  /* --- Footer: single column --- */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .footer-tagline {
    max-width: 100%;
  }
}

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

  .btn,
  .step-card,
  .order-card,
  details > summary::after {
    transition: none;
  }
}
