:root {
  color-scheme: light;
  --ink: #172823;
  --muted: #64736f;
  --paper: #fff8ef;
  --cream: #f5ecdf;
  --white: #fffdf8;
  --deep: #153b33;
  --mint: #dff3ea;
  --sage: #78a08d;
  --coral: #c85f52;
  --rose: #ffe2dc;
  --gold: #dfb850;
  --blue: #6f8fc5;
  --violet: #8f80c8;
  --line: rgba(23, 40, 35, 0.14);
  --shadow: 0 22px 56px rgba(25, 47, 40, 0.13);
  --card-shadow: 0 14px 34px rgba(25, 47, 40, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(223, 243, 234, 0.86), transparent 30%),
    linear-gradient(225deg, rgba(255, 226, 220, 0.82), transparent 34%),
    linear-gradient(180deg, var(--paper), var(--cream) 56%, #edf7f1);
}

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

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 14px 36px rgba(25, 47, 40, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.brand img {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

nav a {
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
}

nav a:hover {
  color: var(--deep);
  background: rgba(223, 243, 234, 0.72);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 440px);
  gap: 48px;
  align-items: center;
  min-height: 690px;
  padding: 78px 0 80px;
}

.hero-inner {
  max-width: 710px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 62px;
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.62;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 21px;
  line-height: 1.5;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 18px 10px 12px;
  border-radius: 8px;
  color: #fff;
  background: #0a0f0d;
  box-shadow: 0 18px 38px rgba(10, 15, 13, 0.2);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(10, 15, 13, 0.24);
}

.store-logo {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 25%, #fff 0 4px, transparent 5px),
    linear-gradient(135deg, var(--mint), var(--blue));
}

.store-badge small,
.store-badge strong {
  display: block;
  line-height: 1.05;
}

.store-badge small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 760;
}

.store-badge strong {
  margin-top: 2px;
  font-size: 19px;
  white-space: nowrap;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.hero-proof span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 820;
}

.hero-preview {
  width: 100%;
}

.app-window {
  width: 100%;
  max-width: 440px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(223, 243, 234, 0.92), transparent 230px),
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.64));
  box-shadow: var(--shadow);
  animation: floatIn 640ms ease both;
}

.window-header {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.window-header span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}

.window-header span:nth-child(1) {
  background: var(--coral);
}

.window-header span:nth-child(2) {
  background: var(--gold);
}

.window-header span:nth-child(3) {
  background: var(--sage);
}

.profile-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(223, 243, 234, 0.9), rgba(255, 255, 255, 0.82));
}

.profile-row img {
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 8px;
}

.profile-row strong,
.profile-row span {
  display: block;
}

.profile-row strong {
  font-size: 28px;
}

.profile-row span {
  color: var(--muted);
  font-weight: 760;
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.care-tile {
  min-height: 102px;
  padding: 14px 12px;
  border-radius: 8px;
  color: #fff;
}

.care-tile.feed {
  background: var(--coral);
}

.care-tile.sleep {
  background: var(--blue);
}

.care-tile.diaper {
  background: var(--gold);
}

.care-tile span,
.care-tile strong {
  display: block;
}

.care-tile span {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 820;
  opacity: 0.84;
}

.care-tile strong {
  font-size: 17px;
  line-height: 1.18;
}

.ai-note {
  margin-top: 12px;
  padding: 18px;
  border: 1px solid rgba(120, 160, 141, 0.26);
  border-radius: 8px;
  background: var(--white);
}

.ai-note span {
  display: block;
  margin-bottom: 7px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-note p {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 700;
}

.section,
.steps-band,
.ai-section,
.faq-section,
.support-panel {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.compact {
  max-width: 680px;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 0;
  font-size: 18px;
}

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

.feature-grid article,
.steps article,
.privacy-grid article,
.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--card-shadow);
}

.feature-grid article {
  min-height: 224px;
  padding: 24px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.feature-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-grid p,
.steps p,
.privacy-grid p,
.support-panel p,
.faq-list p {
  margin-bottom: 0;
}

.feature-icon {
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 8px;
}

.feed-icon {
  background: var(--coral);
}

.sleep-icon {
  background: var(--blue);
}

.diaper-icon {
  background: var(--gold);
}

.growth-icon {
  background: var(--sage);
}

.health-icon {
  background: var(--violet);
}

.reminder-icon {
  background:
    radial-gradient(circle at 50% 34%, #fff 0 5px, transparent 6px),
    var(--deep);
}

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

.steps article {
  padding: 24px;
}

.steps span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--deep);
  background: var(--mint);
  font-weight: 950;
}

.ai-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 420px);
  gap: 34px;
  align-items: center;
  margin-top: 22px;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 16%, rgba(255, 226, 220, 0.9), transparent 260px),
    linear-gradient(135deg, #ffffff, #eef8f2);
  box-shadow: var(--shadow);
}

.ai-section p {
  max-width: 650px;
  margin-bottom: 0;
  font-size: 18px;
}

.question-panel {
  padding: 22px;
  border-radius: 8px;
  color: #fff;
  background: var(--deep);
}

.question-panel span {
  display: block;
  margin-bottom: 10px;
  color: #b9dacb;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.question-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.35;
}

.question-panel p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
}

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

.privacy-grid article {
  padding: 22px;
}

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

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.faq-list p {
  padding-top: 12px;
}

.faq-list a,
.support-panel a {
  color: var(--deep);
  font-weight: 850;
}

.legal-page {
  padding: 78px 0 82px;
}

.legal-page h1 {
  max-width: 760px;
  margin-bottom: 12px;
}

.legal-updated {
  margin-bottom: 28px;
  font-weight: 720;
}

.legal-card {
  max-width: 860px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--card-shadow);
}

.legal-card h2 {
  margin: 28px 0 8px;
  font-size: 24px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  margin-bottom: 0;
}

.legal-card a {
  color: var(--deep);
  font-weight: 850;
}

.support-hero-text {
  margin-bottom: 0;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 28px;
}

.support-panel {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  align-items: center;
  margin: 76px 0 34px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--card-shadow);
}

.support-panel img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  color: var(--deep);
}

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

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  .hero,
  .ai-section {
    grid-template-columns: 1fr;
  }

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

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 36px;
  }

  .app-window {
    max-width: 100%;
  }

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

@media (max-width: 720px) {
  .site-header,
  main,
  footer {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

  nav {
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  nav a {
    flex: 0 0 auto;
    padding-inline: 10px;
  }

  .hero,
  .section,
  .steps-band,
  .faq-section,
  .support-panel {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .hero {
    gap: 30px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  h2 {
    font-size: 30px;
  }

  .hero-text {
    font-size: 18px;
  }

  .download-row {
    align-items: stretch;
  }

  .store-badge {
    width: 100%;
    justify-content: center;
  }

  .care-grid,
  .feature-grid,
  .steps,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 0;
  }

  .ai-section,
  .support-panel,
  .legal-card {
    padding: 24px;
  }

  .support-panel {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 33px;
  }

  h2 {
    font-size: 27px;
  }

  .brand {
    font-size: 17px;
  }

  .profile-row {
    align-items: flex-start;
  }

  .profile-row img {
    width: 58px;
    height: 58px;
  }
}
