:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #5b6966;
  --line: #dce5df;
  --paper: #fbfcf8;
  --mint: #0e7c7b;
  --coral: #d96c5f;
  --blue: #395b8a;
}

* {
  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(--paper);
}

.shell {
  min-height: 100vh;
}

.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 36px;
}

.hero-copy {
  position: relative;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.language-switch button {
  min-width: 44px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  color: white;
  background: var(--mint);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: 0;
}

.lede {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
}

.language-note {
  margin: 18px 0 0;
  color: var(--blue);
  font-size: 17px;
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.primary {
  color: white;
  background: var(--mint);
}

.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: white;
}

.phone {
  position: relative;
  width: min(100%, 340px);
  min-height: 600px;
  justify-self: end;
  padding: 28px 20px;
  border: 1px solid #cbd7d2;
  border-radius: 34px;
  background: linear-gradient(180deg, #ffffff 0%, #eef6f0 100%);
  box-shadow: 0 28px 70px rgb(23 33 31 / 18%);
}

.phone-top {
  width: 96px;
  height: 6px;
  margin: 0 auto 34px;
  border-radius: 999px;
  background: #c6d1cc;
}

.baby-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 8px;
  color: white;
  background: var(--blue);
}

.baby-card span,
.baby-card small,
.log-row small {
  color: rgb(255 255 255 / 78%);
}

.baby-card strong {
  font-size: 24px;
}

.log-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.log-row span {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.feed span {
  background: var(--mint);
}

.diaper span {
  background: var(--coral);
}

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

.log-row div {
  display: grid;
  gap: 3px;
}

.log-row small {
  color: var(--muted);
}

.band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.band article {
  padding: 32px;
  background: white;
}

.band h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

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

.signature-badge {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-top: 1px solid rgb(23 33 31 / 10%);
  border-left: 1px solid rgb(23 33 31 / 10%);
  border-radius: 12px 0 0;
  background: white;
  color: var(--ink);
  box-shadow: 0 -4px 16px -12px rgb(23 33 31 / 25%);
  font-size: 12px;
  font-weight: 800;
}

.signature-badge span,
.signature-badge a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 8px;
}

.signature-badge a {
  color: var(--ink);
  text-decoration: none;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.signature-badge a[href*="x.com"] + span {
  border-left: 1px solid rgb(23 33 31 / 10%);
}

.signature-badge a:hover {
  color: white;
  background: var(--mint);
}

@media (max-width: 840px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .phone {
    justify-self: stretch;
    width: 100%;
    min-height: 480px;
  }

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

  .signature-badge {
    font-size: 11px;
  }

  .signature-badge span,
  .signature-badge a {
    min-height: 34px;
    padding: 0 7px;
  }
}
