:root {
  --purple: #4a3d8c;
  --purple-deep: #3c3278;
  --ink: #2c2654;
  --muted: #7d7694;
  --green: #3dce86;
  --green-deep: #2fbf74;
  --cream: #fffaf4;
  --line: #f0e6dc;
  --header-h: 76px;
  --shadow: 0 16px 50px rgba(120, 100, 160, 0.12);
  --content: 1120px;
  --gutter: 24px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: clip;
}

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

button,
input {
  font: inherit;
}

h1,
h2,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

figure {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(124, 92, 230, 0.45);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: 0;
  z-index: 50;
  background: #fff;
  color: var(--purple);
  padding: 8px 12px;
  border-radius: 8px;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip:focus {
  clip: auto;
  clip-path: none;
  top: 12px;
}

.container {
  width: min(var(--content), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.header.is-scrolled,
.header.is-open {
  background: rgba(255, 252, 248, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(80, 60, 100, 0.06);
}

.header-inner {
  width: min(var(--content), calc(100% - var(--gutter) * 2));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 16px;
  color: var(--purple-deep);
}

.brand-text small {
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #9a93b2;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  margin-left: auto;
}

.nav a {
  color: #6e6886;
  font-size: 17px;
  font-weight: 500;
}

.nav a.is-active {
  color: var(--ink);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  place-items: center;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-icon {
  display: block;
  width: 24px;
  height: 24px;
}

.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 48px) 0 128px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 246, 220, 0.95) 0 70px, transparent 150px),
    radial-gradient(ellipse 55% 45% at 82% 62%, rgba(255, 214, 176, 0.55), transparent 70%),
    linear-gradient(180deg, #f3e4ff 0%, #fde4cf 40%, #e5f5c4 74%, #fffaf4 100%);
}

.hero-bg,
.sleep-scene {
  display: block;
  width: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}

.sleep-scene {
  height: auto;
  border-radius: 32px;
  opacity: 0;
}

.hero-bg.is-on,
.sleep-scene.is-on {
  opacity: 1;
}

.bg-placeholder,
.scene-placeholder {
  position: absolute;
  z-index: 2;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.01em;
}

.bg-placeholder {
  left: 24px;
  bottom: 88px;
  color: rgba(74, 61, 140, 0.72);
  background: rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  padding: 4px 10px;
}

.scene-placeholder {
  left: 24px;
  bottom: 24px;
  color: rgba(255, 255, 255, 0.82);
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 8px 10px;
}

.has-bg.is-filled .bg-placeholder,
.has-bg.is-filled .scene-placeholder {
  display: none;
}

.hero-hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  pointer-events: none;
  background:
    radial-gradient(80% 120% at 18% 130%, #d7f0ae 0%, transparent 62%),
    radial-gradient(70% 130% at 62% 150%, #c6e89a 0%, transparent 64%),
    radial-gradient(50% 120% at 92% 140%, #b7e3c4 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: start;
}

.hero-copy {
  max-width: 560px;
  text-align: start;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.03em;
}

.spark {
  font-size: 0.42em;
  color: #f0b429;
  vertical-align: super;
}

.slogan {
  margin-top: 14px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.35;
  font-weight: 800;
  color: var(--purple-deep);
}

.lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.hero-lead {
  max-width: 420px;
  margin-top: 16px;
}

.title {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.35;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.02em;
}

.product-copy .title {
  line-height: 1.52;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 22px 8px 16px;
  border-radius: 999px;
  background: #373140;
  color: #fff;
  transition: filter 0.15s ease;
}

.store:hover {
  filter: brightness(1.06);
}

.store[data-store="android"] {
  background: linear-gradient(180deg, #879952 0%, #799347 52%, #6d8740 100%);
}

.store-icon {
  flex: none;
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

.store span {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.12;
}

.store small {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02em;
}

.store strong {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}


.slot {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1.5px dashed rgba(140, 120, 170, 0.45);
}

.slot img[data-asset] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  z-index: 2;
}

.slot.is-filled {
  border-color: transparent;
  background: transparent;
}

.slot.is-filled img {
  opacity: 1;
}

.slot.is-filled .slot-label,
.slot.is-filled .slot-fallback {
  display: none;
}

.slot-label {
  position: relative;
  z-index: 1;
  padding: 8px;
  text-align: center;
  color: #8a7e96;
  font-size: 12px;
  line-height: 1.45;
}

.slot-label code {
  display: block;
  margin-top: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  word-break: break-all;
}

.slot-logo {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 13px;
  border: 0;
  background: linear-gradient(180deg, #ffe7bf, #f3c98a);
}

.slot-fallback {
  font-weight: 800;
  color: #6a4b2a;
}

.feature-bar {
  position: relative;
  z-index: 3;
  margin-top: -68px;
}

.feature-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 22px;
}

.feature-item + .feature-item {
  box-shadow: inset 1px 0 0 var(--line);
}

.feature-item strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.feature-item em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}

.feature-icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
}

.feature-icon svg {
  display: block;
}

.icon-moon { background: #e7f0ff; color: #5b8def; }
.icon-cal { background: #fff1df; color: #f0a04b; }
.icon-paw { background: #ffe6ef; color: #ee7eaa; }
.icon-chart { background: #e5f8ee; color: #3cbe7a; }

.block {
  padding: 64px 0;
}

.pets-growth-band {
  padding: 64px 0;
  background:
    radial-gradient(ellipse 72% 55% at 88% 38%, rgba(255, 226, 240, 0.55), transparent 58%),
    radial-gradient(ellipse 65% 50% at 12% 72%, rgba(215, 245, 228, 0.6), transparent 52%),
    linear-gradient(118deg, #fff9f4 0%, #faf4ff 38%, #f4faf6 72%, #fff8f2 100%);
}

.pets-growth-band .block {
  padding: 0;
}

.pets-growth-band #pets {
  padding-bottom: 48px;
}

/* 暂时隐藏成长蜕变模块，恢复时删除下方规则 */
#growth {
  display: none;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
}

.phone {
  width: 196px;
  margin: 0 -6px;
}

.phone-left { transform: rotate(-8deg) translateY(18px); }
.phone-right { transform: rotate(7deg) translateY(14px); }
.phone-center { width: 214px; z-index: 2; }

.slot-phone {
  width: 100%;
  aspect-ratio: 1170 / 2532;
  height: auto;
  border-radius: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  display: block;
}

.slot-phone:not(.is-filled) {
  border-radius: 24px;
  box-shadow: none;
}

.slot-phone:not(.is-filled)::before,
.slot-phone:not(.is-filled)::after {
  content: none;
  display: none;
}

.tone-warm:not(.is-filled) { background: linear-gradient(180deg, #fff8ef, #ffe7c8); }
.tone-mint:not(.is-filled) { background: linear-gradient(180deg, #f3fff8, #d9f5e4); }
.tone-sky:not(.is-filled) { background: linear-gradient(180deg, #f4f8ff, #d9e8ff); }

.slot-phone.is-filled {
  overflow: hidden;
  border-radius: min(32px, 12%);
  box-shadow: 0 14px 28px rgba(70, 50, 90, 0.1);
}

.slot-phone.is-filled img {
  object-fit: contain;
  border-radius: inherit;
}

.slot-phone .slot-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  color: var(--purple-deep);
}

.checks {
  display: grid;
  gap: 22px;
  margin-top: 40px;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #4d466c;
  font-size: 17px;
  line-height: 1.7;
}

.tick {
  width: 24px;
  height: 24px;
  flex: none;
  margin-top: 2px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #879952 0%, #799347 52%, #6d8740 100%);
}

.pets-grid {
  display: grid;
  grid-template-columns: minmax(300px, 348px) 1fr;
  gap: 28px;
  align-items: center;
}

.pets-grid > div:first-child .title {
  line-height: 1.52;
}

.pets-grid > div:first-child .lead {
  margin-top: 26px;
  line-height: 2.05;
}

.pet-rows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.pet-list {
  display: grid;
  justify-content: center;
  justify-items: center;
  gap: 12px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: 548px;
}

.pet-list--3 {
  grid-template-columns: repeat(3, 108px);
}

.pet-list--4 {
  grid-template-columns: repeat(4, 108px);
}

.pet-list--3 > li:nth-child(1) .slot-pet:not(.is-filled) { background: #fff3d4; }
.pet-list--3 > li:nth-child(2) .slot-pet:not(.is-filled) { background: #ffe4ef; }
.pet-list--3 > li:nth-child(3) .slot-pet:not(.is-filled) { background: #e5f0ff; }

.pet-list--4 > li:nth-child(1) .slot-pet:not(.is-filled) { background: #ffe7d4; }
.pet-list--4 > li:nth-child(2) .slot-pet:not(.is-filled) { background: #e7f8df; }
.pet-list--4 > li:nth-child(3) .slot-pet:not(.is-filled) { background: #dcecff; }
.pet-list--4 > li:nth-child(4) .slot-pet:not(.is-filled) { background: #f3e8ff; }

.pet {
  text-align: center;
}

.slot-pet {
  width: 108px;
  height: 108px;
  margin-inline: auto;
  border-radius: 50%;
  overflow: hidden;
  border: 0;
  isolation: isolate;
}

.slot-pet.is-filled {
  box-shadow: 0 10px 16px rgba(90, 70, 40, 0.12);
}

.slot-pet.is-filled img,
.slot-deer.is-filled img {
  object-fit: cover;
  border-radius: 50%;
  max-width: none;
  filter: none;
}

.pet figcaption,
.stage figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: #8b849c;
}

.slot-pet .slot-label {
  font-size: 10px;
  padding: 6px;
  word-break: break-all;
}

.growth-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(248px, 292px);
  gap: 28px 32px;
  align-items: center;
  padding: 36px 40px;
  border-radius: 32px;
  background: #fdfdfd;
  box-shadow: 0 10px 40px rgba(120, 160, 120, 0.06);
}

.growth-stages {
  min-width: 0;
}

.growth-divider {
  align-self: stretch;
  width: 1px;
  min-height: 140px;
  background: linear-gradient(
    180deg,
    rgba(200, 190, 220, 0) 0%,
    rgba(200, 190, 220, 0.45) 14%,
    rgba(200, 190, 220, 0.45) 86%,
    rgba(200, 190, 220, 0) 100%
  );
}

.growth-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.growth-copy .title {
  line-height: 1.45;
}

.growth-copy .lead {
  margin-top: 18px;
  line-height: 1.9;
}

.stages {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.stage {
  flex: 1;
  text-align: center;
}

.slot-deer {
  width: min(170px, 100%);
  height: 188px;
  margin-inline: auto;
  border-radius: 28px;
  border: 0;
  background: rgba(255, 255, 255, 0.8);
}

.stage:nth-child(1) .slot-deer:not(.is-filled) { background: #fff6e4; }
.stage:nth-child(3) .slot-deer:not(.is-filled) { background: #eefae4; }
.stage:nth-child(5) .slot-deer:not(.is-filled) { background: #fff1c9; }

.stage-arrow {
  flex: none;
  color: #e2b15c;
  display: grid;
  place-items: center;
}

.sleep-banner {
  position: relative;
  margin: 0;
  border-radius: 32px;
  overflow: hidden;
  line-height: 0;
  background:
    radial-gradient(circle at 18% 78%, rgba(90, 180, 255, 0.35), transparent 42%),
    radial-gradient(circle at 80% 18%, rgba(190, 150, 255, 0.38), transparent 36%),
    linear-gradient(100deg, #1b2a6b 0%, #3a2d88 48%, #6b4bb8 100%);
}

.sleep-banner:not(.is-filled) {
  aspect-ratio: 2172 / 724;
}

.sleep-banner.has-bg.is-filled {
  background: none;
}

.sleep-banner .scene-placeholder {
  line-height: 1.6;
}

.download {
  padding: 28px 0 72px;
  text-align: center;
}

.download-lead {
  max-width: 460px;
  margin: 12px auto 0;
}

.download .actions {
  justify-content: center;
}

.footer {
  padding: 0 0 calc(28px + env(safe-area-inset-bottom, 0px));
  color: var(--muted);
  font-size: 13px;
  background: #fffaf7;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1.15fr) minmax(0, 1fr) auto;
  gap: 0;
  align-items: stretch;
  padding-top: 40px;
  border-top: 1px solid #ebe3da;
}

.footer-logo {
  align-self: start;
  padding-right: 32px;
}

.footer-entity,
.footer-meta {
  display: grid;
  gap: 10px;
  align-content: start;
  border-left: 1px solid #e5dcd3;
  padding-inline: 32px;
}

.footer-entity p,
.footer-meta p {
  color: #7d7694;
  line-height: 1.75;
}

.legal {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  align-self: start;
  gap: 0;
  padding-left: 32px;
  border-left: 1px solid #e5dcd3;
}

.legal a {
  color: #6f6886;
  font-size: 13px;
  white-space: nowrap;
}

.legal a + a::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  margin-inline: 16px;
  background: #d9d0c8;
  vertical-align: middle;
}

.legal a:hover {
  color: var(--purple);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #ebe3da;
  color: #9a91a8;
  font-size: 12px;
  line-height: 1.6;
}

.footer-copy {
  margin: 0;
  white-space: nowrap;
}

.footer-note {
  display: none;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(240, 235, 228, 0.75);
  color: #9a91a8;
  font-size: 11px;
  line-height: 1.55;
}

.footer-info-icon {
  flex: none;
  margin-top: 1px;
  color: #b5adb8;
}

.doc-body {
  min-height: 100vh;
}

.doc-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.doc {
  width: min(760px, calc(100% - var(--gutter) * 2));
  margin: 24px auto 72px;
  padding: 40px 40px 48px;
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.doc h1 {
  margin: 18px 0 12px;
  font-size: 32px;
  color: var(--purple);
}

.doc p {
  color: #5c5678;
  line-height: 1.8;
}

.doc .back {
  color: var(--purple);
  font-weight: 700;
  font-size: 14px;
}

@media (max-width: 980px) {
  :root {
    --safe-top: 0px;
    --brand-gap: 10px;
    --header-body: 62px;
    --header-h: var(--header-body);
  }

  .header {
    padding-top: 0;
    height: var(--header-h);
    box-sizing: border-box;
    background: transparent;
  }

  .header.is-scrolled,
  .header.is-open {
    background: rgba(255, 252, 248, 0.92);
  }

  .header-inner {
    position: relative;
    width: min(var(--content), calc(100% - var(--gutter) * 2));
    height: var(--header-body);
    max-height: var(--header-body);
    align-items: flex-start;
    align-content: flex-start;
    padding-top: var(--brand-gap);
    box-sizing: border-box;
  }

  .brand {
    gap: var(--brand-gap);
  }

  .nav-toggle {
    display: inline-grid;
    align-self: flex-start;
    background: transparent;
    box-shadow: none;
  }

  .header.is-scrolled .nav-toggle,
  .header.is-open .nav-toggle {
    background: transparent;
    box-shadow: none;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 8px 12px 12px;
    border-radius: 16px;
    background: rgba(255, 252, 248, 0.98);
    box-shadow: 0 16px 30px rgba(60, 40, 80, 0.1);
  }

  .header.is-open .nav {
    display: flex;
  }

  .nav a {
    padding: 14px 10px;
    font-size: 16px;
    border-radius: 10px;
  }

  .nav a.is-active {
    background: rgba(74, 61, 140, 0.06);
  }

  .hero {
    margin-top: calc(var(--header-h) * -1);
    padding: calc(var(--header-h) + 24px) 0 100px;
    min-height: 0;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(
        180deg,
        rgba(255, 250, 244, 0.38) 0%,
        rgba(255, 250, 244, 0.22) 28%,
        transparent 52%
      ),
      linear-gradient(
        100deg,
        rgba(255, 250, 244, 0.72) 0%,
        rgba(255, 250, 244, 0.55) 38%,
        rgba(255, 250, 244, 0.14) 62%,
        transparent 78%
      );
  }

  .hero-inner {
    z-index: 2;
  }

  .hero-copy {
    max-width: 19em;
  }

  .hero h1 {
    font-size: clamp(32px, 8.4vw, 38px);
  }

  .slogan {
    font-size: clamp(18px, 4.8vw, 22px);
    margin-top: 10px;
  }

  .hero-lead {
    font-size: 12px;
    margin-top: 12px;
    line-height: 1.38;
  }

  .hero-bg.is-on {
    object-position: 72% 38%;
  }

  .hero .actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    max-width: 100%;
    gap: 10px;
    margin-top: 24px;
  }

  .hero .actions .store {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    padding: 8px 12px;
    gap: 8px;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }

  .hero .actions .store-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
  }

  .hero .actions .store span {
    flex: 0 1 auto;
  }

  .hero .actions .store small,
  .hero .actions .store strong {
    white-space: nowrap;
  }

  .hero .actions .store[data-store="app-store"] small {
    font-size: 11px;
    letter-spacing: 0.01em;
  }

  .hero .actions .store[data-store="app-store"] strong {
    font-size: 13px;
  }

  .feature-bar {
    margin-top: -56px;
  }

  .feature-card {
    position: relative;
    isolation: isolate;
    border-radius: 28px;
    box-shadow: var(--shadow);
    grid-template-columns: 1fr 1fr;
  }

  .feature-card::before,
  .feature-card::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 1;
    background: var(--line);
  }

  .feature-card::before {
    left: 50%;
    top: 16px;
    bottom: 16px;
    width: 1px;
    transform: translateX(-50%);
  }

  .feature-card::after {
    top: 50%;
    left: 16px;
    right: 16px;
    height: 1px;
    transform: translateY(-50%);
  }

  .feature-item + .feature-item {
    box-shadow: none;
  }

  .feature-item:nth-child(2),
  .feature-item:nth-child(3),
  .feature-item:nth-child(4) {
    box-shadow: none;
  }

  .feature-item {
    padding: 18px 14px;
  }

  .block {
    padding: 36px 0;
  }

  #product.block {
    padding-top: 44px;
  }

  .pets-growth-band {
    padding: 28px 0 36px;
  }

  .pets-growth-band #pets {
    padding-bottom: 0;
  }

  #pets > .container {
    background: #fff;
    border-radius: 28px;
    padding: 26px 20px 22px;
    box-shadow: var(--shadow);
  }

  #pets .pets-grid {
    gap: 18px;
    align-items: start;
    justify-items: start;
  }

  #pets .pets-grid > div:first-child {
    text-align: start;
    width: 100%;
  }

  .pet-rows {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 14px;
    margin-top: 8px;
    padding-bottom: 4px;
    overflow: visible;
  }

  .pet-list {
    display: grid;
    justify-content: start;
    justify-items: center;
    gap: 10px 16px;
    max-width: none;
    width: 100%;
  }

  .pet-list--3 {
    grid-template-columns: repeat(3, 72px);
  }

  .pet-list--4 {
    grid-template-columns: repeat(4, 72px);
  }

  .slot-pet {
    width: 72px;
    height: 72px;
    flex: none;
    margin-inline: 0;
    border-radius: 50%;
    overflow: hidden;
  }

  #sleep.block {
    padding-bottom: 40px;
  }

  .hero-inner,
  .product-grid,
  .pets-grid,
  .growth-card,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-grid {
    gap: 40px;
  }

  .product-copy {
    order: -1;
  }

  .product-copy .checks {
    margin-top: 22px;
    gap: 14px;
  }

  .product-copy .checks li {
    line-height: 1.55;
  }

  .phones {
    min-height: 0;
    justify-content: center;
    max-width: 100%;
    margin-top: 8px;
    padding-inline: 0;
  }

  .phone-left {
    transform: rotate(-7deg) translateY(10px);
  }

  .phone-right {
    transform: rotate(6deg) translateY(8px);
  }

  .pets-grid > div:first-child .title {
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.45;
  }

  .pets-grid > div:first-child .lead {
    margin-top: 16px;
    line-height: 1.85;
  }

  .footer-grid {
    padding-top: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 0;
    align-items: start;
  }

  .footer-grid::before {
    content: "";
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    height: 0;
    margin-top: 6px;
    border-top: 1px solid #ebe3da;
  }

  .footer-logo {
    padding-right: 0;
    grid-column: 1;
    grid-row: 1;
  }

  .footer-entity,
  .footer-meta,
  .legal {
    border-left: none;
    padding-left: 0;
    padding-right: 0;
  }

  .footer-entity {
    grid-column: 2;
    grid-row: 1;
    border-top: none;
    border-left: none;
    position: relative;
    padding: 0 0 0 14px;
    font-size: 12px;
    line-height: 1.65;
    gap: 8px;
  }

  .footer-entity::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 22px;
    width: 1px;
    background: #e5dcd3;
  }

  .footer-meta {
    grid-column: 1;
    grid-row: 3;
    display: grid;
    grid-template-columns: 1fr;
    padding-top: 28px;
    margin-top: 0;
    font-size: 12px;
    line-height: 1.65;
    gap: 8px;
  }

  .legal {
    grid-column: 2;
    grid-row: 3;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 28px 0 0 14px;
    margin-top: 0;
    border-left: none;
    position: relative;
  }

  .legal::before {
    content: "";
    position: absolute;
    left: 0;
    top: 28px;
    bottom: 0;
    width: 1px;
    background: #e5dcd3;
  }

  .legal a {
    font-size: 12px;
    line-height: 1.65;
  }

  .legal a + a::before {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 20px;
    padding-top: 16px;
  }

  .footer-note {
    display: flex;
  }

  .footer-copy {
    white-space: normal;
    text-align: center;
  }

  .growth-divider {
    width: 100%;
    height: 1px;
    min-height: 0;
    background: linear-gradient(
      90deg,
      rgba(200, 190, 220, 0) 0%,
      rgba(200, 190, 220, 0.45) 12%,
      rgba(200, 190, 220, 0.45) 88%,
      rgba(200, 190, 220, 0) 100%
    );
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 20px;
  }

  .container,
  .header-inner,
  .doc {
    width: min(var(--content), calc(100% - var(--gutter) * 2));
  }

  .hero h1 {
    font-size: clamp(30px, 7.8vw, 36px);
  }

  .slogan {
    font-size: clamp(17px, 4.5vw, 21px);
  }

  .hero-lead {
    max-width: none;
    font-size: 12px;
    line-height: 1.38;
  }

  .feature-card {
    grid-template-columns: 1fr 1fr;
    border-radius: 22px;
    overflow: hidden;
  }

  .feature-item {
    padding: 18px 16px;
    gap: 10px;
  }

  .feature-item strong {
    font-size: 15px;
  }

  .feature-item em {
    font-size: 12px;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .checks li {
    font-size: 15px;
    gap: 10px;
    line-height: 1.5;
  }

  .checks {
    margin-top: 18px;
    gap: 12px;
  }

  .product-copy .title {
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.45;
  }

  .phones {
    margin-top: 8px;
  }

  .phone {
    width: min(30vw, 112px);
    margin: 0 -3px;
  }

  .phone-center {
    width: min(34vw, 122px);
  }

  .slot-phone .slot-label {
    font-size: 11px;
  }

  .slot-phone .slot-label code {
    font-size: 9px;
  }

  .actions {
    align-items: stretch;
    gap: 12px;
    margin-top: 22px;
  }

  .sleep-banner {
    border-radius: 20px;
  }

  .sleep-scene {
    border-radius: 20px;
  }

  .footer-entity,
  .footer-meta,
  .legal a {
    font-size: 12px;
    line-height: 1.65;
  }

  .growth-card,
  .doc {
    padding: 24px 18px;
  }

  .stages {
    flex-direction: column;
  }

  .stage-arrow {
    transform: rotate(90deg);
  }

  .legal {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 22px;
  }

  .container,
  .header-inner {
    width: min(var(--content), calc(100% - var(--gutter) * 2));
  }

  .brand-text small {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .hero {
    padding: calc(var(--header-h) + 32px) 0 88px;
  }

  .hero .actions {
    margin-top: 32px;
  }

  .feature-bar {
    margin-top: -52px;
  }

  #product.block {
    padding-top: 52px;
  }

  .block {
    padding: 40px 0;
  }

  .pets-growth-band {
    padding: 40px 0;
  }

  .pet-rows {
    gap: 12px;
  }

  .pet-list {
    gap: 8px 12px;
  }

  .pet-list--3 {
    grid-template-columns: repeat(3, 64px);
  }

  .pet-list--4 {
    grid-template-columns: repeat(4, 64px);
  }

  .slot-pet {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
  }

  .phone {
    width: min(28vw, 96px);
  }

  .phone-center {
    width: min(32vw, 104px);
  }

  .phone-left,
  .phone-right {
    transform: rotate(-4deg) translateY(6px);
  }

  .phone-right {
    transform: rotate(4deg) translateY(6px);
  }

  .footer-grid {
    column-gap: 18px;
    row-gap: 0;
  }

  .legal a + a::before {
    margin-inline: 12px;
  }

  .hero-copy {
    max-width: 17.5em;
  }

  .hero h1 {
    font-size: 32px;
  }

  .slogan {
    font-size: 16px;
  }

  .hero-lead {
    font-size: 10px;
    font-weight: 700;
    margin-top: 10px;
    line-height: 1.32;
  }

  .product-copy .checks {
    margin-top: 16px;
    gap: 10px;
  }
}

@media (max-width: 390px) {
  .hero {
    padding: calc(var(--header-h) + 32px) 0 88px;
    min-height: 0;
  }

  .hero-bg.is-on {
    object-position: 78% 34%;
  }

  .hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(255, 250, 244, 0.32) 0%,
        rgba(255, 250, 244, 0.14) 26%,
        transparent 48%
      ),
      linear-gradient(
        102deg,
        rgba(255, 250, 244, 0.68) 0%,
        rgba(255, 250, 244, 0.52) 34%,
        rgba(255, 250, 244, 0.1) 52%,
        transparent 66%
      );
  }

  .hero-hills {
    height: 120px;
    opacity: 0.85;
  }
}

@media (max-width: 560px) {
  .feature-card {
    grid-template-columns: 1fr 1fr;
  }
}

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