:root {
  --ivory: #fff9f5;
  --paper: #fffdfb;
  --plum: #56384d;
  --plum-deep: #3e2738;
  --mauve: #836878;
  --peach: #f4b293;
  --peach-soft: #fbe8df;
  --sage: #9daf9c;
  --sage-soft: #e8eee6;
  --line: #eaded8;
  --ink: #2b2028;
  --shadow: 0 24px 70px rgba(76, 49, 68, 0.12);
  --radius: 32px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ivory);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(86, 56, 77, 0.08);
  background: rgba(255, 249, 245, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--plum-deep);
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.25rem;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
  color: var(--mauve);
}

.nav-links a:hover,
.footer-links a:hover { color: var(--plum-deep); }

.hero {
  min-height: 760px;
  padding: 86px 0 92px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--sage);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  color: var(--plum);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", ui-sans-serif, sans-serif;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(3.9rem, 7vw, 7.3rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
  line-height: 1.05;
}

.lead {
  max-width: 620px;
  margin: 0;
  color: var(--mauve);
  font-size: clamp(1.12rem, 1.8vw, 1.38rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.store-button {
  min-width: 190px;
  padding: 14px 20px;
  border: 1px solid var(--plum);
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: var(--plum);
  color: white;
  box-shadow: 0 14px 32px rgba(62, 39, 56, 0.14);
}

.store-button.secondary {
  background: transparent;
  color: var(--plum);
  box-shadow: none;
}

.store-button svg { flex: 0 0 auto; }
.store-button small { display: block; opacity: 0.72; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.store-button strong { display: block; font-size: 1rem; line-height: 1.2; }

.microcopy {
  margin: 18px 0 0;
  color: var(--mauve);
  font-size: 0.84rem;
}

.journey-stage {
  position: relative;
  min-height: 560px;
}

.portrait-card {
  position: absolute;
  overflow: hidden;
  border: 10px solid rgba(255,255,255,0.95);
  border-radius: 30px;
  background: white;
  box-shadow: var(--shadow);
}

.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-card span {
  position: absolute;
  left: 15px;
  bottom: 15px;
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(255, 253, 251, 0.9);
  color: var(--plum-deep);
  font-weight: 900;
  font-size: 0.77rem;
  backdrop-filter: blur(10px);
}

.portrait-card.newborn { width: 58%; height: 68%; left: 5%; top: 5%; transform: rotate(-5deg); z-index: 3; }
.portrait-card.age3 { width: 44%; height: 48%; right: 1%; top: 3%; transform: rotate(6deg); z-index: 2; }
.portrait-card.age5 { width: 43%; height: 48%; right: 4%; bottom: 0; transform: rotate(-2deg); z-index: 4; }
.portrait-card.age9 { width: 39%; height: 42%; left: 4%; bottom: -2%; transform: rotate(5deg); z-index: 1; }

.spark {
  position: absolute;
  top: 41%;
  left: 50%;
  z-index: 7;
  width: 72px;
  height: 72px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  transform: rotate(8deg);
  background: var(--peach);
  color: var(--plum-deep);
  box-shadow: 0 18px 34px rgba(86,56,77,.18);
  font-size: 2rem;
}

section { padding: 112px 0; }

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-head p,
.body-copy {
  color: var(--mauve);
  font-size: 1.08rem;
  line-height: 1.72;
}

.how {
  background: var(--plum-deep);
  color: white;
}

.how h2,
.how h3 { color: white; }
.how .eyebrow { color: var(--peach); }
.how .section-head p { color: #dacbd4; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.14);
}

.step {
  min-height: 265px;
  padding: 34px;
  background: var(--plum-deep);
}

.step-number {
  width: 42px;
  height: 42px;
  margin-bottom: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: var(--peach);
  font-weight: 900;
}

.step p { margin: 0; color: #cbbbc5; line-height: 1.55; }

.feature-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature {
  padding: 28px 0;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.feature-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--plum-deep);
  font-weight: 900;
}

.feature p { margin: 0; color: var(--mauve); line-height: 1.55; }

.packages { background: var(--peach-soft); }

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

.package {
  position: relative;
  min-height: 390px;
  padding: 34px;
  border: 1px solid rgba(86,56,77,.14);
  border-radius: var(--radius);
  background: var(--paper);
  display: flex;
  flex-direction: column;
}

.package.featured {
  background: var(--plum);
  color: white;
  transform: translateY(-18px);
}

.package.featured h3,
.package.featured .price { color: white; }
.package.featured p,
.package.featured li { color: #eadfe6; }

.package .tag {
  margin-bottom: 24px;
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.package.featured .tag { color: var(--peach); }
.package p { color: var(--mauve); line-height: 1.5; }
.package ul { padding: 0; margin: 22px 0 0; list-style: none; }
.package li { margin: 12px 0; color: var(--mauve); }
.package li::before { content: "✓"; margin-right: 9px; color: var(--sage); font-weight: 900; }
.price { margin-top: auto; padding-top: 28px; color: var(--plum-deep); font-size: 2.1rem; font-weight: 900; letter-spacing: -0.05em; }
.price small { color: inherit; opacity: .62; font-size: .78rem; font-weight: 700; letter-spacing: 0; }

.trust {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 76px;
  align-items: center;
}

.trust-note {
  padding: 44px;
  border-left: 6px solid var(--sage);
  background: var(--sage-soft);
}

.trust-note strong {
  display: block;
  margin-bottom: 12px;
  color: var(--plum-deep);
  font-size: 1.25rem;
}

.trust-note p { margin: 0; color: var(--mauve); line-height: 1.65; }

.final-cta {
  padding-top: 20px;
  padding-bottom: 120px;
}

.cta-panel {
  min-height: 390px;
  padding: 76px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  border-radius: 42px;
  background: var(--peach);
}

.cta-panel h2 { max-width: 650px; margin-bottom: 0; color: var(--plum-deep); }
.cta-panel .store-button { flex: 0 0 auto; }

.site-footer {
  padding: 42px 0 52px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a { color: var(--mauve); text-decoration: none; font-weight: 700; font-size: .88rem; }
.copyright { color: var(--mauve); font-size: .82rem; }

.legal-hero {
  padding: 88px 0 58px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 { max-width: 820px; font-size: clamp(3rem, 6vw, 6rem); }
.legal-hero .lead { max-width: 780px; }

.legal-wrap {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 70px;
  align-items: start;
  padding-top: 70px;
  padding-bottom: 120px;
}

.legal-nav {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 13px;
}

.legal-nav a { color: var(--mauve); text-decoration: none; font-size: .9rem; font-weight: 700; }
.legal-content h2 { margin-top: 64px; font-size: 2rem; letter-spacing: -0.035em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p,
.legal-content li { color: #66545f; line-height: 1.72; }
.legal-content li { margin: 8px 0; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.legal-content th,
.legal-content td { padding: 16px; border: 1px solid var(--line); vertical-align: top; text-align: left; color: #66545f; line-height: 1.55; }
.legal-content th { background: var(--peach-soft); color: var(--plum-deep); }
.legal-meta { color: var(--mauve); font-size: .88rem; }
.callout { margin: 32px 0; padding: 26px; background: var(--sage-soft); border-left: 5px solid var(--sage); }
.callout p { margin: 0; }

.support-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  padding: 80px 0 120px;
}

.contact-card {
  padding: 36px;
  border-radius: 28px;
  background: var(--plum);
  color: white;
}

.contact-card h2 { color: white; font-size: 2.2rem; }
.contact-card p { color: #eadfe6; line-height: 1.6; }
.contact-card a { color: white; font-weight: 900; }
.faq { border-top: 1px solid var(--line); }
.faq details { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; color: var(--plum-deep); font-weight: 900; font-size: 1.05rem; }
.faq p { color: var(--mauve); line-height: 1.65; }

@media (max-width: 900px) {
  .hero { padding-top: 58px; }
  .hero-grid,
  .feature-layout,
  .trust,
  .support-grid { grid-template-columns: 1fr; }
  .journey-stage { min-height: 600px; margin-top: 30px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .package-grid { grid-template-columns: 1fr; }
  .package.featured { transform: none; }
  .legal-wrap { grid-template-columns: 1fr; gap: 28px; }
  .legal-nav { position: static; grid-template-columns: repeat(2, 1fr); }
  .cta-panel { align-items: flex-start; flex-direction: column; padding: 48px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav { min-height: 70px; }
  .nav-links a:not(:last-child) { display: none; }
  .brand img { width: 40px; height: 40px; }
  h1 { font-size: clamp(3.15rem, 16vw, 4.8rem); }
  .hero { min-height: auto; padding-bottom: 68px; }
  .hero-grid { gap: 24px; }
  .hero-actions { display: grid; }
  .store-button { width: 100%; justify-content: center; }
  .journey-stage { min-height: 470px; }
  .portrait-card { border-width: 6px; border-radius: 22px; }
  .spark { width: 56px; height: 56px; border-radius: 18px; font-size: 1.5rem; }
  section { padding: 80px 0; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: auto; }
  .step-number { margin-bottom: 32px; }
  .cta-panel { min-height: auto; padding: 38px 28px; border-radius: 30px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .legal-hero { padding-top: 58px; }
  .legal-nav { grid-template-columns: 1fr; }
  .legal-content table,
  .legal-content tbody,
  .legal-content tr,
  .legal-content th,
  .legal-content td { display: block; }
  .legal-content th { border-bottom: 0; }
}

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