:root {
  --sage: #4f6b58;
  --sage-dark: #073f34;
  --sage-soft: #a8b9ac;
  --cream: #f7f3ee;
  --cream-deep: #eadcc9;
  --clay: #c9876b;
  --ink: #1f2420;
  --muted: #6f6a66;
  --line: #e6ded5;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(43, 33, 24, .12);
  --shadow-soft: 0 14px 34px rgba(43, 33, 24, .10);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 6% 14%, rgba(168, 185, 172, .28), transparent 24%),
    radial-gradient(circle at 92% 18%, rgba(201, 135, 107, .16), transparent 22%),
    linear-gradient(180deg, #fff 0%, #fbf8f2 54%, #fff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(79, 107, 88, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 107, 88, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, .78);
  border-bottom: 1px solid rgba(230, 222, 213, .72);
  backdrop-filter: blur(18px);
}

.brand,
.site-footer div {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--sage-dark);
  font-weight: 900;
  letter-spacing: -.04em;
}

.brand img,
.site-footer img {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(43, 33, 24, .12);
}

.brand span { font-size: 20px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
}

.nav-links a:hover {
  background: var(--cream);
  color: var(--sage-dark);
}

.hero {
  min-height: calc(100svh - 81px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(40px, 6vw, 92px);
  padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 72px);
  overflow: hidden;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(79, 107, 88, .10);
  color: var(--sage);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  color: var(--sage-dark);
  font-size: clamp(54px, 8vw, 108px);
  line-height: .88;
  letter-spacing: -.085em;
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--sage-dark);
  color: var(--white);
  box-shadow: 0 18px 32px rgba(7, 63, 52, .20);
}

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

.hero-visual {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: min(680px, 90vw);
  aspect-ratio: 1;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cream), #fff8ee);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: min(365px, 76vw);
  min-height: 704px;
  padding: 28px;
  border: 10px solid #1d211e;
  border-radius: 46px;
  background:
    radial-gradient(circle at 20% 12%, rgba(168, 185, 172, .26), transparent 24%),
    var(--white);
  box-shadow: 0 30px 70px rgba(31, 36, 32, .24);
  animation: floatPhone 7s ease-in-out infinite;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 900;
}

.app-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.app-top img {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.app-top strong {
  display: block;
  color: var(--sage-dark);
  font-size: 24px;
  letter-spacing: -.04em;
}

.app-top span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.care-card,
.metric-grid div {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.primary-card {
  padding: 24px;
  margin-bottom: 16px;
  background: var(--sage-dark);
  color: var(--white);
}

.primary-card span,
.metric-grid span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.primary-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
  letter-spacing: -.04em;
}

.primary-card p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-weight: 700;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.metric-grid div {
  padding: 18px;
}

.metric-grid span {
  color: var(--muted);
}

.metric-grid strong {
  color: var(--sage-dark);
  font-size: 30px;
  letter-spacing: -.05em;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.timeline span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--clay);
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.pet-stage {
  position: absolute;
  z-index: 3;
  right: 2%;
  bottom: 7%;
  display: flex;
  align-items: flex-end;
  filter: drop-shadow(0 20px 24px rgba(43, 33, 24, .16));
}

.dog { width: 190px; }
.cat { width: 122px; margin-left: -28px; }

.proof-strip,
.feature-section,
.workflow-section,
.privacy-section,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 120px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--line);
  box-shadow: var(--shadow-soft);
}

.proof-strip p {
  margin: 0;
  padding: 28px;
  background: rgba(255, 255, 255, .82);
}

.proof-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--sage-dark);
  font-size: 18px;
  letter-spacing: -.04em;
}

.proof-strip span {
  color: var(--muted);
  line-height: 1.55;
}

.feature-section,
.workflow-section,
.privacy-section {
  padding: 110px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 42px;
}

h2 {
  margin-bottom: 0;
  color: var(--sage-dark);
  font-size: clamp(38px, 5vw, 72px);
  line-height: .95;
  letter-spacing: -.07em;
}

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

.feature-grid article {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-soft);
}

.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
}

h3 {
  margin-bottom: 12px;
  color: var(--sage-dark);
  font-size: 24px;
  letter-spacing: -.05em;
}

.feature-grid p,
.workflow-list p,
.privacy-copy p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.workflow-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.workflow-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.workflow-list span {
  grid-row: span 2;
  color: var(--clay);
  font-size: 18px;
  font-weight: 900;
}

.workflow-list strong {
  color: var(--sage-dark);
  font-size: 26px;
  letter-spacing: -.05em;
}

.workflow-list p {
  margin: 8px 0 0;
}

.privacy-section {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 56px;
  align-items: center;
}

.privacy-copy {
  max-width: 680px;
}

.privacy-copy p {
  margin-top: 22px;
  font-size: 18px;
}

.privacy-links {
  display: grid;
  gap: 14px;
}

.privacy-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  color: var(--sage-dark);
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.privacy-links a::after {
  content: "→";
  color: var(--clay);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 38px 0 54px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  text-align: right;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}

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

  .nav-links {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 610px;
  }

  .proof-strip,
  .feature-grid,
  .workflow-section,
  .privacy-section {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 220px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-links a {
    padding: 8px 0;
  }

  .hero {
    padding: 42px 20px 70px;
  }

  h1 {
    font-size: clamp(46px, 16vw, 64px);
  }

  h2 {
    font-size: 42px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .phone-frame {
    width: min(330px, 88vw);
    min-height: 620px;
    padding: 22px;
    border-width: 8px;
  }

  .pet-stage {
    right: -8px;
    bottom: -10px;
  }

  .dog { width: 145px; }
  .cat { width: 92px; }

  .proof-strip {
    margin-bottom: 70px;
  }

  .feature-section,
  .workflow-section,
  .privacy-section {
    padding: 70px 0;
  }

  .workflow-list li {
    grid-template-columns: 1fr;
  }

  .workflow-list span {
    margin-bottom: 10px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    text-align: left;
  }
}
