:root {
  --green: #059669;
  --green-dark: #064e3b;
  --ink: #10211b;
  --muted: #61736c;
  --line: #dce8e2;
  --bg: #f6faf8;
  --soft: #e8f8ef;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a { color: inherit; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.brand, .nav, footer nav, .hero-actions, .store-row {
  display: flex;
  align-items: center;
}
.brand { gap: 10px; font-weight: 900; text-decoration: none; letter-spacing: .02em; }
.brand img { width: 38px; height: 38px; border-radius: 12px; }
.nav { gap: 18px; color: #2f4940; font-size: 14px; }
.nav a, footer a, .text-link { text-decoration: none; font-weight: 800; }
.text-link { color: var(--green-dark); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(42px, 7vw, 90px) clamp(18px, 5vw, 72px) 44px;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(48px, 9vw, 88px);
  line-height: .92;
}
.lead {
  color: #405b52;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  max-width: 660px;
}
.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--green-dark);
  background: var(--soft);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
}
.eyebrow.light { color: #d1fae5; background: rgba(255,255,255,.14); }

.btn {
  min-height: 46px;
  padding: 12px 17px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--green);
  color: white;
  text-decoration: none;
  font-weight: 900;
  justify-content: center;
}
.btn.secondary { background: white; color: var(--green-dark); border-color: #b9e9d0; }
.btn.light { background: white; color: var(--green-dark); }
.btn.disabled { pointer-events: none; background: rgba(255,255,255,.2); color: #d1fae5; border-color: rgba(255,255,255,.3); }
.hero-actions, .store-row { gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.app-preview {
  background: #09251c;
  color: white;
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 26px 70px rgba(16, 33, 27, .22);
}
.preview-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.preview-top img { width: 50px; height: 50px; border-radius: 16px; background: white; }
.preview-top span { color: #bbf7d0; font-weight: 900; }
.pet-card, .metric-grid > div, .card, .route-list > div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.pet-card {
  color: var(--ink);
  padding: 18px;
  margin-bottom: 12px;
}
.pet-card strong { display: block; font-size: 24px; }
.pet-card span, .metric-grid span { color: var(--muted); }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.metric-grid > div {
  color: var(--ink);
  padding: 14px;
}
.metric-grid img, .card img { width: 34px; height: 34px; object-fit: contain; display: block; margin-bottom: 10px; }
.metric-grid b { display: block; font-size: 20px; }

.section, .split-section {
  padding: 40px clamp(18px, 5vw, 72px);
}
.section-heading { max-width: 780px; }
h2 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
p { line-height: 1.6; }
.section-heading p, .split-section p { color: var(--muted); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.card { padding: 18px; }
.card h3 { margin: 8px 0; font-size: 18px; }
.card p { color: #526b62; margin: 0; }

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: center;
}
.route-list {
  display: grid;
  gap: 10px;
}
.route-list > div { padding: 16px; }
.route-list strong { display: block; overflow-wrap: anywhere; }
.route-list span { color: var(--muted); }

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr);
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, #064e3b, #059669);
  color: white;
  border-radius: 8px;
  padding: clamp(22px, 5vw, 42px);
}
.download-panel p { color: #d1fae5; }
footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #61736c;
  border-top: 1px solid var(--line);
  background: white;
}
footer nav { gap: 14px; flex-wrap: wrap; }

@media (max-width: 920px) {
  .hero, .split-section, .download-panel { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .nav { display: none; }
  .cards, .metric-grid { grid-template-columns: 1fr; }
  .app-preview { display: none; }
  footer { display: block; }
  footer nav { margin-top: 12px; }
}
