:root {
  --ink: #17211e;
  --muted: #58635d;
  --line: #d8e5df;
  --paper: #f7fbf7;
  --mint: #6be4b5;
  --leaf: #22624c;
  --sun: #f6c14b;
  --sky: #b7d9ff;
  --rose: #f49b9b;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--leaf);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.site-header,
.site-footer {
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px;
}

.site-header {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 18px;
  font-weight: 800;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background: var(--mint);
  border: 2px solid var(--ink);
  display: inline-flex;
  font-size: 13px;
  justify-content: center;
  width: 38px;
}

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

.nav a,
.footer-links a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--leaf);
  text-decoration: underline;
}

.hero,
.section,
.legal,
.support-page {
  margin: 0 auto;
  max-width: 1180px;
  padding: 48px 24px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  min-height: min(720px, calc(100vh - 92px));
  padding-top: 32px;
}

.hero h1,
.legal h1,
.support-hero h1 {
  font-size: clamp(44px, 7vw, 86px);
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0;
  max-width: 760px;
}

.hero h1 {
  text-wrap: balance;
}

.lead {
  color: var(--muted);
  font-size: 20px;
  margin: 24px 0 0;
  max-width: 720px;
}

.eyebrow {
  color: var(--leaf);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

.button {
  border: 2px solid var(--ink);
  color: var(--ink);
  display: inline-flex;
  font-weight: 850;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--sun);
}

.button.secondary {
  background: var(--white);
}

.pet-stage {
  align-items: end;
  background:
    linear-gradient(180deg, rgba(183, 217, 255, 0.55), rgba(107, 228, 181, 0.28)),
    var(--white);
  border: 2px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
  overflow: hidden;
  padding: 20px;
  width: 100%;
}

.pet {
  display: block;
  height: auto;
  image-rendering: auto;
  min-width: 0;
  max-width: 100%;
}

.pet-dog {
  align-self: end;
  transform: translate(10px, 10px);
}

.pet-cat {
  align-self: end;
  transform: translate(-20px, 16px);
}

.split,
.pricing,
.support-grid {
  align-items: start;
  border-top: 2px solid var(--line);
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.section h2,
.legal h2,
.support-grid h2 {
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 16px;
}

.section p,
.legal p,
.support-page p {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 18px;
}

.feature-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li,
.price-box,
.support-grid div {
  background: var(--white);
  border: 2px solid var(--line);
  padding: 18px;
}

.feature-list li::before {
  background: var(--mint);
  border: 2px solid var(--ink);
  content: "";
  display: inline-block;
  height: 12px;
  margin-right: 10px;
  vertical-align: -1px;
  width: 12px;
}

.price-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price-box span,
.price-box small {
  color: var(--muted);
  display: block;
  font-weight: 750;
}

.price-box strong {
  display: block;
  font-size: 44px;
  line-height: 1;
  margin: 10px 0;
}

.legal {
  max-width: 860px;
}

.legal h1 {
  font-size: clamp(42px, 6vw, 68px);
  margin-bottom: 22px;
}

.legal h2 {
  border-top: 2px solid var(--line);
  font-size: 30px;
  margin-top: 34px;
  padding-top: 26px;
}

.legal ul {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 20px;
  padding-left: 22px;
}

.support-hero {
  align-items: center;
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.support-hero img {
  max-width: 220px;
  width: 100%;
}

.site-footer {
  align-items: center;
  border-top: 2px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

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

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero,
  .split,
  .pricing,
  .support-grid,
  .support-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .pet-stage {
    min-height: 300px;
    padding: 14px;
  }

  .pet-dog,
  .pet-cat {
    transform: none;
  }
}

@media (max-width: 540px) {
  .hero,
  .section,
  .legal,
  .support-page {
    padding: 26px 18px;
  }

  .site-header,
  .site-footer {
    padding: 18px;
  }

  .hero h1,
  .legal h1,
  .support-hero h1 {
    font-size: 39px;
    line-height: 1;
  }

  .lead,
  .section p,
  .legal p,
  .support-page p,
  .legal ul {
    font-size: 16px;
  }

  .price-row {
    grid-template-columns: 1fr;
  }

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

  .button {
    min-height: 46px;
    padding: 10px 14px;
  }

  .pet-stage {
    min-height: 238px;
  }

  .pet {
    max-height: 218px;
    object-fit: contain;
    width: 100%;
  }
}
