:root {
  color-scheme: light;
  --ink: #26364d;
  --muted: #627084;
  --paper: #fffaf0;
  --paper-strong: #fff3d8;
  --mint: #d9f0df;
  --sky: #cfeaf7;
  --leaf: #6da878;
  --coral: #ef8b72;
  --plum: #7b638f;
  --butter: #ffd67b;
  --line: rgba(38, 54, 77, 0.14);
  --shadow: 0 18px 42px rgba(38, 54, 77, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(180deg, rgba(207, 234, 247, 0.78), rgba(255, 250, 240, 0.95) 38%, rgba(217, 240, 223, 0.58)),
    var(--paper);
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 250, 240, 0.88);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid rgba(38, 54, 77, 0.16);
  border-radius: 8px;
  background: var(--butter);
  box-shadow: inset 0 -4px rgba(239, 139, 114, 0.24);
  font-size: 20px;
  line-height: 1;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  min-height: 40px;
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 214, 123, 0.42);
  outline: none;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(23, 38, 58, 0.68), rgba(23, 38, 58, 0.28) 45%, rgba(255, 250, 240, 0.15)),
    url("backyard-base.jpg");
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 28%;
  content: "";
  background: linear-gradient(180deg, rgba(255, 250, 240, 0), var(--paper));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  padding: 96px 0 140px;
}

.hero-copy {
  width: min(610px, 100%);
  color: #fffaf0;
  text-shadow: 0 2px 18px rgba(17, 25, 39, 0.45);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--butter);
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  max-width: 12em;
  font-size: 48px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 20px;
}

p {
  margin: 0;
}

.hero-lede {
  max-width: 34em;
  margin-top: 20px;
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #26364d;
  background: var(--butter);
  box-shadow: 0 10px 22px rgba(17, 25, 39, 0.2);
}

.button.secondary {
  color: #fffaf0;
  border-color: rgba(255, 250, 240, 0.72);
  background: rgba(38, 54, 77, 0.18);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 3px solid rgba(255, 214, 123, 0.46);
  outline-offset: 2px;
}

.hero-pets {
  position: absolute;
  right: 0;
  bottom: 54px;
  z-index: 2;
  display: flex;
  align-items: end;
  gap: 0;
}

.hero-pets .cat {
  width: 150px;
  margin-right: -30px;
  filter: drop-shadow(0 16px 18px rgba(38, 54, 77, 0.22));
}

.hero-pets .dog {
  width: 210px;
  filter: drop-shadow(0 18px 20px rgba(38, 54, 77, 0.24));
}

.section {
  position: relative;
  padding: 74px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.42);
}

.section.mint {
  background: rgba(217, 240, 223, 0.58);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 10px;
}

.card p,
.text-block p,
.privacy-block p,
.privacy-block li {
  color: var(--muted);
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 214px;
}

.feature-card::before {
  display: block;
  width: 44px;
  height: 8px;
  margin-bottom: 18px;
  border-radius: 4px;
  content: "";
  background: var(--coral);
}

.feature-card:nth-child(2)::before {
  background: var(--leaf);
}

.feature-card:nth-child(3)::before {
  background: var(--plum);
}

.story-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.text-block {
  display: grid;
  gap: 16px;
}

.pet-stage {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--sky) 0 45%, var(--mint) 45% 100%);
  box-shadow: var(--shadow);
}

.pet-stage::before {
  position: absolute;
  right: 10%;
  bottom: 22%;
  left: 10%;
  height: 72px;
  border-radius: 50%;
  content: "";
  background: rgba(109, 168, 120, 0.22);
}

.pet-stage img {
  position: absolute;
  width: 178px;
  filter: drop-shadow(0 14px 14px rgba(38, 54, 77, 0.18));
}

.pet-stage .orange {
  bottom: 60px;
  left: 10%;
}

.pet-stage .grey {
  right: 10%;
  bottom: 92px;
}

.pet-stage .sleep {
  right: 32%;
  bottom: 34px;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.75);
}

.step::before {
  counter-increment: step;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  content: counter(step);
  color: var(--ink);
  background: var(--butter);
  font-weight: 900;
}

.step h3 {
  margin-bottom: 6px;
}

.note {
  border-left: 6px solid var(--leaf);
  background: rgba(217, 240, 223, 0.64);
}

.pricing-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 250px;
}

.pricing-card.highlight {
  border-color: rgba(239, 139, 114, 0.34);
  background: linear-gradient(180deg, rgba(255, 243, 216, 0.92), rgba(255, 255, 255, 0.76));
}

.tag {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 214, 123, 0.56);
  font-size: 14px;
  font-weight: 800;
}

.paid-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.paid-list li + li {
  margin-top: 6px;
}

.privacy-block {
  display: grid;
  gap: 18px;
}

.privacy-block ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.policy-meta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px;
  border-radius: 8px;
  background: var(--ink);
  color: #fffaf0;
  box-shadow: var(--shadow);
}

.contact-band p {
  color: rgba(255, 250, 240, 0.78);
}

.contact-band .button {
  color: var(--ink);
  background: var(--butter);
}

.site-footer {
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  justify-content: space-between;
}

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

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

@media (max-width: 860px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 0;
  }

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

  .hero,
  .hero-inner {
    min-height: 690px;
  }

  .hero-inner {
    padding-top: 74px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 26px;
  }

  .hero-pets {
    right: 50%;
    transform: translateX(50%);
    width: 256px;
    justify-content: center;
  }

  .hero-pets .cat {
    width: 120px;
  }

  .hero-pets .dog {
    width: 166px;
  }

  .grid.three,
  .grid.two,
  .story-band,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .contact-band {
    justify-items: start;
  }
}

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

  .site-nav a {
    padding-right: 10px;
    padding-left: 10px;
  }

  .hero,
  .hero-inner {
    min-height: 730px;
  }

  .hero-copy {
    max-width: 100%;
  }

  h1 {
    font-size: 34px;
  }

  .hero-lede,
  .section-head p {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }

  .card,
  .step {
    padding: 20px;
  }

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

  .pet-stage img {
    width: 132px;
  }
}
