/* MomBridge — the site in front of the app.
 *
 * Written to the same tokens the product uses: the lavender ground it opens
 * on, the blue it points with, the ink it writes in, and Poppins, which is the
 * app's own face and is served from here rather than from a font CDN — a page
 * about a mothers' app has no business telling a third party who visited it.
 *
 * No framework and no build step. The whole site is four files and it is meant
 * to be on screen before anybody notices it loading. */

:root {
  --ground: #FBF0EE;
  --sunken: #F5E3E0;
  --card: #FFFFFF;
  --ink: #2B1D1E;
  --ink-soft: #7A5A57;
  --accent: #D2413A;
  --accent-ink: #BC3730;
  --accent-wash: #FCE4E1;
  --sage: #2E7D68;
  --sage-wash: #E3F0EA;
  --hairline: #F1DAD6;

  --page: 1120px;
  --radius: 28px;
  --radius-sm: 18px;

  /* The product's own easing. Everything that moves here moves like the app. */
  --ease: cubic-bezier(.2, .8, .2, 1);
}

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── the bar ──────────────────────────────────────────────────────────── */

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
header.moved { border-bottom-color: var(--hairline); }

header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.3px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  /* The icon carries its own ground now, so the plate is only its shadow. */
  box-shadow: 0 1px 2px rgba(94, 44, 40, .06), 0 4px 12px rgba(94, 44, 40, .05);
}

nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
nav a { color: var(--ink-soft); font-size: 15px; font-weight: 500; }
nav a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 720px) { nav .hide-sm { display: none; } }

/* ── buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 6px rgba(67, 114, 218, .28), 0 10px 24px rgba(67, 114, 218, .18);
}
.btn-primary:hover { box-shadow: 0 4px 10px rgba(67, 114, 218, .32), 0 14px 30px rgba(67, 114, 218, .2); }

.btn-quiet {
  background: var(--card);
  color: var(--ink);
  border-color: var(--hairline);
}

/* ── hero ─────────────────────────────────────────────────────────────── */

.hero { padding: 64px 0 40px; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero { padding: 40px 0 24px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 5.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -1.6px;
  font-weight: 700;
}
.lede {
  margin: 0 0 32px;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 30em;
}

.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-note {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ── the phone ────────────────────────────────────────────────────────── */

.phone {
  width: 320px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 44px;
  background: var(--card);
  padding: 10px;
  box-shadow:
    0 2px 4px rgba(94, 44, 40, .05),
    0 18px 40px rgba(94, 44, 40, .10),
    0 40px 90px rgba(94, 44, 40, .10);
}
.phone-screen {
  border-radius: 35px;
  background: var(--ground);
  overflow: hidden;
  padding: 14px 12px 10px;
}
.phone-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.phone-bar span {
  width: 78px;
  height: 22px;
  border-radius: 999px;
  background: #17100F;
}

.card {
  background: var(--card);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 1px 2px rgba(94, 44, 40, .05), 0 8px 20px rgba(94, 44, 40, .06);
}
.card + .card { margin-top: 12px; }

.row { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-wash);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 600; color: var(--accent-ink);
  flex: none;
}
.who { font-weight: 600; font-size: 14px; }
.where { font-size: 12px; color: var(--ink-soft); }
.tick { color: var(--sage); font-size: 13px; }

.said { margin: 10px 0 0; font-size: 14px; line-height: 1.5; }
.shot {
  margin-top: 10px;
  height: 116px;
  border-radius: 14px;
  background:
    radial-gradient(120% 90% at 20% 15%, #FBCEC5 0%, transparent 60%),
    radial-gradient(100% 80% at 85% 25%, #FADFBE 0%, transparent 65%),
    linear-gradient(160deg, #DEF0EA 0%, #FBE0E9 100%);
}
.chips { display: flex; gap: 8px; margin-top: 10px; }
.chip {
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--sunken);
  color: var(--ink-soft);
}
.chip-live { background: var(--sage-wash); color: var(--sage); font-weight: 500; }

.tabbar {
  margin-top: 12px;
  background: var(--card);
  border-radius: 20px;
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 1px 2px rgba(94, 44, 40, .05), 0 8px 20px rgba(94, 44, 40, .06);
}
.tabbar span { font-size: 11px; color: var(--ink-soft); }
.tabbar span.on { color: var(--accent); font-weight: 600; }

/* ── sections ─────────────────────────────────────────────────────────── */

section { padding: 56px 0; }
.section-head { max-width: 34em; margin-bottom: 36px; }
h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -.9px;
  font-weight: 700;
}
.section-head p { margin: 0; color: var(--ink-soft); font-size: 17px; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.tile {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 1px 2px rgba(94, 44, 40, .05), 0 10px 28px rgba(94, 44, 40, .06);
}
.tile h3 { margin: 16px 0 8px; font-size: 19px; letter-spacing: -.3px; }
.tile p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
.tile .glyph {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--accent-wash);
  display: grid; place-items: center;
}
.tile .glyph svg { width: 22px; height: 22px; }

.band {
  background: var(--card);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: 0 1px 2px rgba(94, 44, 40, .05), 0 10px 28px rgba(94, 44, 40, .06);
}
@media (max-width: 700px) { .band { padding: 28px; } }

.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.points li { display: flex; gap: 14px; align-items: flex-start; }
.points .dot {
  flex: none;
  width: 26px; height: 26px; margin-top: 2px;
  border-radius: 50%;
  background: var(--sage-wash);
  color: var(--sage);
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700;
}
.points strong { display: block; font-weight: 600; }
.points span { color: var(--ink-soft); font-size: 15.5px; }

/* ── footer ───────────────────────────────────────────────────────────── */

footer {
  padding: 48px 0 40px;
  border-top: 1px solid var(--hairline);
  margin-top: 40px;
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } }
.foot h4 {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--ink); font-size: 15px; }
.foot p { margin: 12px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.legal-note {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  color: var(--ink-soft);
  font-size: 13.5px;
}

/* ── legal pages ──────────────────────────────────────────────────────── */

.doc { padding: 48px 0 24px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -1px; }
.doc .updated { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 12px; letter-spacing: -.4px; }
.doc h3 { font-size: 17px; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--ink); font-size: 16.5px; line-height: 1.68; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc .note {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin: 24px 0;
  font-size: 15.5px;
  color: var(--ink-soft);
  box-shadow: 0 1px 2px rgba(94, 44, 40, .05);
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15.5px;
}
.doc th, .doc td {
  text-align: right;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}
.doc th { color: var(--ink-soft); font-weight: 600; font-size: 14px; }
.doc td:first-child, .doc th:first-child { text-align: left; }
@media (max-width: 620px) {
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; text-align: left; }
  .doc th { display: none; }
  .doc td { border: 0; padding: 4px 0; }
  .doc tr { border-bottom: 1px solid var(--hairline); padding: 12px 0; display: block; }
  .doc td:first-child { font-weight: 600; }
}
