:root {
  --denim: #3d5bae;
  --denim-dark: #2d448a;
  --butter: #f4cb52;
  --apricot: #e5915a;
  --sage: #7aa882;
  --plum: #8e5b7f;
  --cream: #faf4e6;
  --paper: #fffdf6;
  --ink: #1a1a20;
  --ink-soft: #2e2e36;
  --mute: #6d6657;
  --line: #e5dcc6;
  --line-soft: #f0e7cc;
  --wordmark: var(--denim);
}

* {
  box-sizing: border-box;
}

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

.page {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  min-height: 100vh;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sunny-mark {
  position: relative;
  display: inline-block;
  width: 43px;
  height: 64px;
  flex: 0 0 auto;
}

.sunny-mark.small {
  width: 24px;
  height: 36px;
}

.sunny-body,
.sunny-head {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.sunny-body {
  left: 0;
  bottom: 0;
  width: 43px;
  height: 43px;
  background: var(--denim);
}

.sunny-head {
  left: 8px;
  top: 0;
  width: 27px;
  height: 27px;
  background: var(--butter);
}

.small .sunny-body {
  width: 24px;
  height: 24px;
}

.small .sunny-head {
  left: 5px;
  width: 15px;
  height: 15px;
}

.hero-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 88px;
  align-items: center;
}

.copy {
  max-width: 620px;
}

h1 {
  margin: 0;
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-logo {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-logo span:last-child {
  font-size: 76px;
  font-weight: 800;
  color: var(--wordmark);
}

.hero-mark {
  width: 78px;
  height: 116px;
}

.hero-mark .sunny-body {
  width: 78px;
  height: 78px;
}

.hero-mark .sunny-head {
  left: 15px;
  width: 49px;
  height: 49px;
}

.lede {
  margin: 24px 0 0;
  max-width: 560px;
  color: var(--mute);
  font-size: 21px;
  line-height: 1.45;
}

.status {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 6px rgba(122, 168, 130, 0.18);
}

.phone {
  width: min(360px, 86vw);
  margin: 0 auto;
  padding: 14px;
  border-radius: 34px;
  background: var(--ink);
  box-shadow: 0 32px 80px rgba(30, 20, 10, 0.22);
}

.phone-top {
  width: 86px;
  height: 6px;
  margin: 4px auto 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.screen {
  min-height: 620px;
  border-radius: 26px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
}

.screen-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.baby-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: var(--line-soft);
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--denim);
  color: white;
  font-weight: 900;
}

.name-line,
.age-line,
.caption {
  border-radius: 999px;
  background: rgba(26, 26, 32, 0.14);
}

.name-line {
  width: 136px;
  height: 13px;
}

.age-line {
  width: 88px;
  height: 9px;
  margin-top: 8px;
  opacity: 0.65;
}

.message {
  width: 82%;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.message.parent {
  margin-left: auto;
  color: var(--ink);
  background: var(--butter);
}

.message.app {
  background: var(--line-soft);
}

.photo-card {
  margin-top: 22px;
  height: 190px;
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(145deg, #f8d7b7, #f9edcb 54%, #e9edd7);
}

.photo-sunny {
  align-self: flex-end;
  align-self: flex-end;
  margin-bottom: auto;
}

.photo-sunny .sunny-mark {
  width: 36px;
  height: 54px;
}

.photo-sunny .sunny-body {
  width: 36px;
  height: 36px;
  background: var(--plum);
}

.photo-sunny .sunny-head {
  left: 7px;
  width: 23px;
  height: 23px;
}

.caption {
  width: 72%;
  height: 12px;
  background: rgba(255, 253, 246, 0.82);
}

.metrics {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metrics div {
  padding: 14px;
  border-radius: 16px;
  background: var(--line-soft);
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  font-size: 20px;
}

.metrics span {
  margin-top: 4px;
  color: var(--mute);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .hero {
    justify-content: flex-start;
    padding: 24px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-logo {
    gap: 14px;
  }

  .hero-logo span:last-child {
    font-size: 52px;
  }

  .hero-mark {
    width: 54px;
    height: 80px;
  }

  .hero-mark .sunny-body {
    width: 54px;
    height: 54px;
  }

  .hero-mark .sunny-head {
    left: 10px;
    width: 34px;
    height: 34px;
  }

  .lede {
    font-size: 18px;
  }

  .phone {
    transform: none;
  }

  .screen {
    min-height: 520px;
  }
}
