:root {
  color-scheme: light;
  --ink: #29231f;
  --soft-ink: #615247;
  --muted-ink: #8c7a66;
  --cream: #f7edda;
  --cream-light: #fff7e7;
  --cream-deep: #eddbc0;
  --surface: #fff4df;
  --surface-raised: #fffaf0;
  --blush: #f5a8d1;
  --blush-light: #ffd6eb;
  --lemon: #f5d159;
  --powder-blue: #a8c2e6;
  --sage: #9eb86b;
  --shadow: rgba(97, 82, 71, 0.16);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content: min(1120px, calc(100vw - 40px));
  --font-system:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(
      circle at 9% 9%,
      rgba(245, 168, 209, 0.34),
      transparent 25rem
    ),
    radial-gradient(
      circle at 86% 18%,
      rgba(168, 194, 230, 0.34),
      transparent 22rem
    ),
    linear-gradient(180deg, var(--cream-light), var(--cream) 42%, #f6e8cf);
  color: var(--ink);
  font-family: var(--font-system);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(97, 82, 71, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(97, 82, 71, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, black 0%, transparent 86%);
}

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

a {
  color: inherit;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.topbar {
  width: var(--content);
  margin: 0 auto;
  padding: 18px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
  font-size: 1.08rem;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 9px 22px var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--soft-ink);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav a {
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 999px;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(255, 250, 240, 0.78);
  outline: none;
}

.nav .review-link {
  background: var(--ink);
  color: var(--cream-light);
}

.hero {
  width: var(--content);
  min-height: calc(100svh - 68px);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 78px) 0 clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
}

.eyebrow {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--soft-ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 12px;
  background: var(--blush);
  border: 2px solid rgba(41, 35, 31, 0.52);
  border-radius: 999px;
  transform: rotate(-4deg);
}

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

h1 {
  max-width: 9ch;
  margin-bottom: 22px;
  font-size: clamp(3.8rem, 9.2vw, 8rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 34rem;
  margin-bottom: 28px;
  color: var(--soft-ink);
  font-size: clamp(1.1rem, 2.2vw, 1.34rem);
  line-height: 1.55;
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface-raised);
  box-shadow: 0 10px 0 rgba(41, 35, 31, 0.12);
  text-decoration: none;
  font-weight: 950;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 13px 0 rgba(41, 35, 31, 0.12);
  outline: none;
}

.button.primary {
  background: var(--blush);
}

.button.review {
  background: var(--lemon);
}

.hero-board {
  position: relative;
  min-height: 620px;
}

.phone-frame {
  position: absolute;
  inset: 10px 0 auto auto;
  width: min(420px, 78vw);
  padding: 18px;
  border: 3px solid var(--ink);
  border-radius: 44px;
  background: var(--surface);
  box-shadow: 22px 24px 0 rgba(41, 35, 31, 0.13);
  transform: rotate(2deg);
}

.screen {
  min-height: 560px;
  padding: 22px;
  border: 2px solid rgba(41, 35, 31, 0.18);
  border-radius: 32px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 247, 231, 0.92),
      rgba(247, 237, 218, 0.92)
    ),
    var(--cream);
  overflow: hidden;
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.app-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--soft-ink);
  font-weight: 950;
}

.app-lockup img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.age-pill {
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--blush-light);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 950;
}

.calendar-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.calendar-head h2 {
  margin-bottom: 0;
  font-size: 2rem;
  line-height: 1;
}

.calendar-head span {
  color: var(--muted-ink);
  font-weight: 900;
}

.weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.weekdays {
  margin-bottom: 8px;
  color: var(--muted-ink);
  font-size: 0.62rem;
  font-weight: 800;
  text-align: center;
}

.day {
  position: relative;
  aspect-ratio: 0.88;
  border: 1px solid rgba(41, 35, 31, 0.12);
  border-radius: 14px;
  background: rgba(255, 250, 240, 0.58);
  overflow: hidden;
}

.day strong {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: rgba(140, 122, 102, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.day.photo {
  background: rgba(255, 250, 240, 0.82);
}

.day.photo strong {
  display: none;
}

.day.photo::before {
  content: "";
  position: absolute;
  inset: 8px 7px 6px;
  border-radius: 999px 999px 18px 18px;
  background:
    radial-gradient(
      circle at 50% 22%,
      rgba(255, 250, 240, 0.96) 0 18%,
      transparent 19%
    ),
    radial-gradient(
      circle at 50% 68%,
      color-mix(in srgb, var(--blush), white 16%) 0 34%,
      transparent 35%
    ),
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--powder-blue), white 30%),
      color-mix(in srgb, var(--lemon), white 20%)
    );
  filter: drop-shadow(0 2px 1px rgba(97, 82, 71, 0.08));
}

.day.photo::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid rgba(255, 250, 240, 0.88);
  border-radius: 13px;
}

.day.milestone {
  background: rgba(255, 214, 235, 0.72);
  border-color: rgba(245, 168, 209, 0.52);
}

.day.milestone strong {
  inset: auto auto auto auto;
  top: 5px;
  left: 5px;
  padding: 3px 5px;
  border-radius: 999px;
  background: rgba(255, 247, 231, 0.72);
  color: rgba(41, 35, 31, 0.76);
  font-size: 0.58rem;
  font-weight: 900;
}

.day.milestone img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  margin: 7% auto;
}

.floating-sticker {
  position: absolute;
  width: 156px;
  filter: drop-shadow(0 16px 14px rgba(97, 82, 71, 0.2));
}

.floating-sticker.one {
  left: -18px;
  top: 40px;
  transform: rotate(-13deg);
}

.floating-sticker.two {
  right: 12px;
  bottom: -10px;
  transform: rotate(11deg);
}

.floating-sticker.three {
  left: 18px;
  bottom: 84px;
  width: 130px;
  transform: rotate(8deg);
}

.section {
  width: var(--content);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) 0;
}

.section-kicker {
  color: var(--muted-ink);
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.96;
}

.section-intro {
  max-width: 690px;
  color: var(--soft-ink);
  font-size: 1.12rem;
  font-weight: 750;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.feature {
  min-height: 240px;
  padding: 24px;
  border: 2px solid rgba(41, 35, 31, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 240, 0.72);
  box-shadow: 0 16px 0 rgba(41, 35, 31, 0.07);
}

.feature:nth-child(2) {
  background: rgba(255, 214, 235, 0.58);
  transform: translateY(24px);
}

.feature:nth-child(3) {
  background: rgba(168, 194, 230, 0.42);
}

.feature h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.feature p,
.review-card p,
.plain-card p,
.review-list li,
.footer p {
  color: var(--soft-ink);
  font-weight: 730;
  line-height: 1.56;
}

.asset-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
}

.sheet-frame {
  border: 3px solid var(--ink);
  border-radius: 34px;
  background: var(--surface-raised);
  padding: 16px;
  box-shadow: 18px 20px 0 rgba(41, 35, 31, 0.1);
  transform: rotate(-1.4deg);
}

.sheet-frame img {
  border-radius: 22px;
}

.review-band {
  width: var(--content);
  margin: clamp(48px, 7vw, 92px) auto;
  padding: clamp(28px, 5vw, 54px);
  border: 3px solid var(--ink);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(245, 209, 89, 0.46), rgba(255, 214, 235, 0.6)),
    var(--surface-raised);
  box-shadow: 20px 22px 0 rgba(41, 35, 31, 0.13);
}

.review-band h2 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.review-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin-top: 26px;
}

.review-card,
.plain-card {
  padding: 22px;
  border: 2px solid rgba(41, 35, 31, 0.16);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.72);
}

.review-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.review-list li {
  position: relative;
  padding-left: 28px;
  margin: 0 0 12px;
}

.review-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--sage);
}

.page-hero {
  width: var(--content);
  margin: 0 auto;
  padding: clamp(44px, 8vw, 92px) 0 clamp(22px, 5vw, 54px);
}

.page-hero h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
}

.page-grid {
  width: var(--content);
  margin: 0 auto;
  padding-bottom: clamp(56px, 8vw, 100px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.full-span {
  grid-column: 1 / -1;
}

.plain-card h2,
.review-card h3 {
  font-size: 1.65rem;
  margin-bottom: 12px;
}

.footer {
  width: var(--content);
  margin: 0 auto;
  padding: 40px 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 2px solid rgba(41, 35, 31, 0.15);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-weight: 900;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .hero,
  .asset-band,
  .review-grid,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-board {
    min-height: 590px;
  }

  .phone-frame {
    inset: 0 auto auto 50%;
    transform: translateX(-50%) rotate(1.5deg);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature:nth-child(2) {
    transform: none;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  :root {
    --content: min(100vw - 28px, 1120px);
  }

  .topbar {
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .nav a {
    padding: 8px 9px;
  }

  h1 {
    max-width: 8.4ch;
  }

  .actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-board {
    min-height: 520px;
  }

  .phone-frame {
    width: min(348px, 92vw);
    padding: 13px;
    border-radius: 34px;
  }

  .screen {
    min-height: 494px;
    padding: 16px;
    border-radius: 25px;
  }

  .floating-sticker {
    width: 112px;
  }

  .floating-sticker.three {
    width: 98px;
  }

  .day {
    border-radius: 10px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
