:root {
  --cream: #f3eee4;
  --paper: #faf7f1;
  --mist: #e4ede6;
  --sage: #7d9b82;
  --sage-deep: #5f7d65;
  --clay: #c4b7a6;
  --sand: #c4a987;
  --ink: #3d3a36;
  --muted: #6d675f;
  --line: rgba(61, 58, 54, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

h1,
h2,
h3,
.brand {
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-weight: 600;
  margin: 0;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 1px 0 var(--line);
}

.langs {
  display: flex;
  gap: 4px;
}

.langs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 800 13px "Nunito", sans-serif;
  letter-spacing: 0.04em;
  padding: 6px 9px;
  border-radius: 8px;
  cursor: pointer;
}

.langs button[aria-pressed="true"] {
  background: var(--sage);
  color: #fff;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  padding: 36px 0 80px;
}

.eyebrow {
  color: var(--sage-deep);
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.hero h1 span {
  color: var(--sage);
}

.hero h1 b {
  font-weight: 600;
}

.lead {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
  margin: 20px 0 30px;
  max-width: 470px;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stores img {
  height: 52px;
  display: block;
}

.price {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  margin: 14px 0 0 4px;
}

.stage {
  --scroll: 0px;
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 32px;
  overflow: hidden;
  background: #a8cee8;
  box-shadow:
    0 30px 60px -20px rgba(61, 58, 54, 0.35),
    0 0 0 10px var(--paper);
}

.stage .scene {
  position: absolute;
  inset: 0;
  background: url(/assets/scenes/cat_meadow.webp) repeat-x;
  background-size: auto 100%;
  background-position: var(--scroll) 0;
}

.stage .cat {
  position: absolute;
  left: 50%;
  bottom: 22%;
  height: 46%;
  translate: -50% 0;
  image-rendering: auto;
}

.voice {
  position: absolute;
  left: 50%;
  top: 18px;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: rgba(250, 247, 241, 0.92);
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 6px 18px rgba(61, 58, 54, 0.12);
}

.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}

.wave i {
  width: 4px;
  height: 4px;
  border-radius: 4px;
  background: var(--sage);
  transition: height 200ms ease;
}

.stage[data-voice="hold"] .wave i {
  animation: hold 900ms ease-in-out infinite;
}

.stage[data-voice="hold"] .wave i:nth-child(2) {
  animation-delay: -300ms;
}

.stage[data-voice="hold"] .wave i:nth-child(3) {
  animation-delay: -600ms;
}

.stage[data-voice="short"] .wave i {
  background: #c98b5e;
  animation: short 700ms ease-out 1;
}

.stage[data-voice="short"] .wave i:nth-child(2) {
  animation-delay: 60ms;
}

.stage[data-voice="short"] .wave i:nth-child(3) {
  animation-delay: 120ms;
}

@keyframes hold {
  50% {
    height: 18px;
  }
  0%,
  100% {
    height: 10px;
  }
}

@keyframes short {
  20% {
    height: 18px;
  }
  100% {
    height: 4px;
  }
}

/* Sections */
section h2 {
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.12;
  margin-bottom: 30px;
}

.shapes {
  padding-bottom: 88px;
}

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

.step {
  border-top: 2px solid var(--tint);
  padding-top: 22px;
}

.step .glyph {
  display: inline-block;
  font: 600 30px/1 "Fraunces", serif;
  font-style: italic;
  color: var(--tint);
  margin-bottom: 14px;
}

.step h3 {
  font-size: 25px;
  margin-bottom: 10px;
}

.step p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
  line-height: 1.6;
  max-width: 300px;
}

.scenes {
  padding-bottom: 88px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--paper);
  border-radius: 24px;
  padding: 10px 10px 16px;
  box-shadow: 0 1px 0 var(--line), 0 14px 30px -18px rgba(61, 58, 54, 0.3);
  transition: translate 300ms ease;
}

.card:hover {
  translate: 0 -4px;
}

.card .art {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.card .art img {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 62%;
  translate: -50% 0;
}

.card h3 {
  font-size: 19px;
  text-align: center;
  margin-top: 12px;
}

.parents {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 48px;
  background: var(--mist);
  border-radius: 32px;
  padding: 44px;
  margin-bottom: 72px;
}

.parents h2 {
  margin-bottom: 14px;
}

.parents .intro p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

.promises {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}

.promises h3 {
  font-size: 20px;
  margin-bottom: 6px;
  padding-left: 18px;
  position: relative;
}

.promises h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

.promises p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  padding-left: 18px;
}

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

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

footer a {
  color: var(--muted);
  text-decoration: none;
}

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

footer .note {
  flex-basis: 100%;
  margin: 6px 0 0;
  font-size: 13px;
  opacity: 0.8;
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .parents {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 24px;
  }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 12px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 520px) {
  .promises {
    grid-template-columns: 1fr;
  }

  .voice {
    font-size: 13px;
  }
}
