:root {
  --orange: #FF7500;
  --orange-tint: #FFF3E9;
  --orange-ink: #E56A00; /* #FF7500 is 2.7:1 on white; this clears 3:1 for large text */
  --yellow: #FDBF00;
  --blue: #4285F4;
  --ink: #111111;
  --ink-2: #464646;
  --paper: #FFFFFF;
  --paper-2: #F6F4F1;
  --wrap: 1180px;
  --heading: "Poppins", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 "Roboto", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.1; margin: 0; }
h1, h2 { text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
/* The hero glow and the tilted marquee bleed past the edges on purpose; clip them here, not on body, which iOS Safari doesn't always honor */
main { overflow-x: clip; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Nav ---------- */
.nav-bar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(17,17,17,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.brand span { font: 700 25px/1 var(--heading); letter-spacing: -.5px; }
.nav-links { display: none; gap: 30px; align-items: center; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--ink-2); font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--ink); }

/* ---------- Buttons and store badges ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font: 600 16px/1 var(--heading); text-decoration: none;
  transition: transform .2s cubic-bezier(.3,1.6,.5,1), box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--ink); box-shadow: 0 5px 0 #C45A00; }
.btn-primary:hover { box-shadow: 0 7px 0 #C45A00; }
.btn-dark { background: var(--ink); color: var(--paper); }

.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badges a { display: block; transition: transform .2s cubic-bezier(.3,1.6,.5,1); }
.badges a:hover { transform: translateY(-3px); }
.badges img { height: 54px; width: auto; }
/* Google's badge PNG ships with transparent padding above, below and to the right (the badge is 72.5% of its height).
   Size it so the visible badge matches Apple's and cancel the vertical padding; never crop the artwork. */
.badges .play img { height: 69px; margin: -9.5px 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 36px 0 90px; }
/* On phones the glow sits behind the phone mockup, below the text: --orange-ink only clears 3:1 on white */
.hero::before { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; border-radius: 50%;
  right: -240px; bottom: -40px; background: radial-gradient(circle at 40% 40%, #FFE3CC, var(--orange-tint) 60%, transparent 70%); }
.hero-grid { display: grid; gap: 56px; align-items: center; }
/* The puppy and kitten lead the hero, and the headline under them reads as their caption */
.hero-art { width: 100%; max-width: 420px; aspect-ratio: 960 / 580; margin-bottom: 14px; }
.hero h1 { font-size: clamp(44px, 8vw, 80px); font-weight: 800; letter-spacing: -2.5px; margin-bottom: 26px; }
.rotator { display: inline-grid; color: var(--orange-ink); }
.rotator > span { grid-area: 1 / 1; white-space: nowrap; justify-self: start; padding-bottom: .1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M4 12 C 40 2, 70 20, 110 10 S 180 2, 220 12 S 280 16, 296 6' stroke='%23FF7500' stroke-width='7' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") 0 100% / 100% .24em no-repeat; }
.js .rotator > span { opacity: 0; animation: word 7.5s infinite; }
.js .rotator > span:nth-child(2) { animation-delay: 2.5s; }
.js .rotator > span:nth-child(3) { animation-delay: 5s; }
/* Each word owns a third of the cycle and is fully out by 33%, before the next one starts coming in */
@keyframes word {
  0% { opacity: 0; transform: translateY(40%) rotate(4deg); }
  5%, 28% { opacity: 1; transform: none; }
  33%, 100% { opacity: 0; transform: translateY(-40%) rotate(-4deg); }
}
.hero .lead { font-size: 20px; color: var(--ink-2); max-width: 32ch; margin-bottom: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--ink-2); font-size: 15px; }
.trust b { color: var(--orange-ink); margin-right: 4px; }

/* Phone mockup */
.stage { position: relative; justify-self: center; width: 300px; }
.phone { position: relative; width: 300px; height: 610px; border-radius: 48px; background: var(--ink); padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(120,50,0,.45), 0 0 0 2px #2A2A2A inset; transform: rotate(3deg); }
.screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: var(--paper-2); }
.notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: var(--ink); z-index: 3; }
.app-top { display: flex; align-items: center; justify-content: space-between; padding: 48px 18px 10px; }
.app-top .brand img { width: 28px; height: 28px; }
.app-top .brand span { font-size: 19px; }
.app-top .tabs { display: flex; gap: 6px; }
.app-top .tabs b { font: 600 11px/1 var(--heading); padding: 7px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-2); }
.app-top .tabs b.on { background: var(--ink); color: var(--paper); }
.feed { position: relative; height: 470px; }
.card { position: absolute; left: 14px; right: 14px; top: 6px; border-radius: 26px; background: var(--paper);
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.25); overflow: hidden; }
.card .pic { height: 250px; display: grid; place-items: center; position: relative; }
.card .pic > svg { width: 190px; height: 190px; }
.card .pic > img { width: 100%; height: 100%; object-fit: cover; }
.card .dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.card .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.6); }
.card .dots i:first-child { width: 16px; border-radius: 4px; background: #fff; }
.card .fav { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.card .fav svg { width: 18px; height: 18px; }
.card .info { padding: 16px 18px 18px; }
.card .row { display: flex; justify-content: space-between; align-items: baseline; }
.card h3 { font-size: 24px; }
.card .km { font: 600 13px/1 var(--heading); color: var(--ink-2); display: inline-flex; gap: 4px; align-items: center; }
.card .km svg { width: 13px; height: 13px; }
.tags { display: flex; gap: 6px; margin: 10px 0 16px; }
.tags span { white-space: nowrap; font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.card .cta { display: block; text-align: center; padding: 13px; border-radius: 16px; background: var(--orange);
  font: 600 15px/1 var(--heading); color: var(--ink); }
.card.back { transform: translateY(16px) scale(.92); opacity: .55; }
.card.front { z-index: 1; }
.js .card.front { animation: nudge 6s 1.5s infinite; }
@keyframes nudge {
  0%, 70% { transform: none; }
  80% { transform: translateX(-12px) rotate(-3deg); }
  90%, 100% { transform: none; }
}
.tabbar { position: absolute; bottom: 0; left: 0; right: 0; height: 72px; background: var(--paper);
  display: flex; justify-content: space-around; align-items: center; padding-bottom: 8px; }
.tabbar svg { width: 24px; height: 24px; }

.sticker { position: absolute; z-index: 5; background: var(--paper); border-radius: 18px; padding: 11px 15px;
  box-shadow: 0 16px 34px -14px rgba(0,0,0,.35); display: flex; align-items: center; gap: 10px;
  font: 600 14px/1.2 var(--heading); white-space: nowrap; }
.sticker small { display: block; font: 400 12px/1.3 "Roboto", sans-serif; color: var(--ink-2); }
.sticker .ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.sticker .ico svg { width: 18px; height: 18px; }
.s1 { left: -70px; top: 110px; rotate: -5deg; }
.s2 { right: -60px; top: 330px; rotate: 4deg; }
.js .sticker { animation: bob 5s ease-in-out infinite; }
.js .s2 { animation-delay: -2.5s; }
@keyframes bob { 50% { translate: 0 -10px; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--orange); rotate: -2deg; margin: 10px -20px 0; padding: 18px 0; overflow: hidden;
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.marquee-track { display: flex; width: max-content; }
.js .marquee-track { animation: slide 28s linear infinite; }
.marquee span { font: 800 clamp(22px, 3vw, 32px)/1 var(--heading); letter-spacing: -.5px; padding-right: 28px;
  display: inline-flex; align-items: center; gap: 28px; white-space: nowrap; }
.marquee span svg { width: 26px; height: 26px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 110px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 14px/1 var(--heading);
  letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 26px; height: 5px; border-radius: 3px; background: var(--orange); }
.h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 18px; }
.lead2 { color: var(--ink-2); font-size: 18px; max-width: 50ch; }

/* Steps */
.steps { display: grid; gap: 22px; margin-top: 56px; }
.step { position: relative; background: var(--paper); border: 2px solid var(--ink); border-radius: 28px;
  padding: 34px 30px 32px; box-shadow: 6px 6px 0 var(--ink);
  transition: translate .25s, box-shadow .25s, opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.step:hover { translate: -3px -3px; box-shadow: 9px 9px 0 var(--orange); }
.step .num { position: absolute; top: 18px; right: 24px; font: 800 64px/1 var(--heading);
  color: transparent; -webkit-text-stroke: 2px #E2DDD6; }
.step .ico { width: 64px; height: 64px; border-radius: 20px; background: var(--orange); display: grid; place-items: center;
  margin-bottom: 26px; rotate: -6deg; }
.step:nth-child(2) .ico { rotate: 5deg; background: var(--yellow); }
.step:nth-child(3) .ico { rotate: -3deg; }
.step .ico svg { width: 30px; height: 30px; }
.step h3 { font-size: 26px; margin-bottom: 10px; }
.step p { color: var(--ink-2); }

/* Map */
.map-sec { background: var(--paper-2); }
.map-grid { display: grid; gap: 48px; align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .ico { width: 42px; height: 42px; border-radius: 14px; background: var(--paper); border: 2px solid var(--ink);
  display: grid; place-items: center; flex: none; }
.feature-list .ico svg { width: 20px; height: 20px; }
.feature-list li > span:last-child { color: var(--ink-2); font-size: 16px; }
.feature-list b { font-family: var(--heading); display: block; color: var(--ink); }
.map { position: relative; aspect-ratio: 5 / 4; border-radius: 32px; overflow: hidden; border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--orange); background: #F7F1E8; }
.map > svg.streets { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; width: 44px; translate: -50% -100%; filter: drop-shadow(0 6px 6px rgba(0,0,0,.18)); }
.pin img { width: 100%; }
.pin.big { width: 62px; z-index: 2; }
.js .pin { opacity: 0; }
.js .map.in .pin { animation: drop .6s calc(var(--i) * .12s) cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes drop { from { opacity: 0; transform: translateY(-60%); } to { opacity: 1; transform: none; } }
.me { position: absolute; left: 48%; top: 58%; width: 18px; height: 18px; border-radius: 50%; background: var(--blue);
  border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); translate: -50% -50%; }
.me::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; background: rgba(66,133,244,.25); }
.js .me::after { animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.map-card { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; width: min(88%, 360px);
  background: var(--paper); border-radius: 22px; padding: 12px; display: flex; gap: 12px; align-items: center;
  box-shadow: 0 18px 30px -14px rgba(0,0,0,.35); z-index: 3; }
.map-card svg.pet { width: 64px; height: 64px; flex: none; border-radius: 16px; }
.map-card h3 { font-size: 18px; }
.map-card p { font-size: 13.5px; color: var(--ink-2); }
.map-card .go { margin-left: auto; width: 42px; height: 42px; border-radius: 14px; background: var(--orange);
  display: grid; place-items: center; flex: none; }
.map-card .go svg { width: 20px; height: 20px; }

/* Giving a pet up for adoption */
.guardians-sec { padding-bottom: 0; }
.guardians { background: var(--ink); color: var(--paper); border-radius: 40px; margin: 0 12px; overflow: hidden; }
.guardians .lead2 { color: #CFCFCF; }
.guardians .eyebrow { color: var(--orange); }
.g-grid { display: grid; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.checks { list-style: none; padding: 0; margin: 30px 0 38px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.notifs { display: grid; gap: 14px; max-width: 420px; justify-self: center; width: 100%; }
.notif { display: flex; gap: 14px; align-items: center; background: #1E1E1E; border: 1px solid #2E2E2E;
  border-radius: 22px; padding: 14px 16px; }
.notif svg.pet { width: 52px; height: 52px; border-radius: 16px; flex: none; }
.notif b { font-family: var(--heading); font-weight: 600; display: block; font-size: 15.5px; }
.notif span span { color: #BDBDBD; font-size: 14px; }
.notif time { margin-left: auto; align-self: flex-start; font-size: 12px; color: #9A9A9A; white-space: nowrap; }
.notif.hot { background: var(--orange); border-color: var(--orange); color: var(--ink); rotate: -2deg; scale: 1.03; }
.notif.hot span span, .notif.hot time { color: #3A1C00; }
.js .notif { opacity: 0; transform: translateY(20px); }
.js .notifs.in .notif { animation: pop .6s cubic-bezier(.3,1.5,.5,1) forwards; }
.js .notifs.in .notif:nth-child(2) { animation-delay: .25s; }
.js .notifs.in .notif:nth-child(3) { animation-delay: .5s; }
@keyframes pop { to { opacity: 1; transform: none; } }

/* Support */
.support-card { position: relative; overflow: hidden; background: var(--orange-tint); border-radius: 40px;
  padding: 64px 28px 200px; text-align: center; }
.support-card .eyebrow { justify-content: center; }
.support-card .lead2 { margin: 0 auto 34px; }
.support-card .peek { position: absolute; left: 50%; bottom: -130px; width: 280px; translate: -50% 0; }
.js .support-card .peek { transition: transform .8s .2s cubic-bezier(.3,1.5,.5,1); transform: translateY(80px); }
.js .support-card.in .peek { transform: none; }

/* Final call to download */
.final { background: var(--orange); border-radius: 40px; margin: 0 12px; padding: 80px 0; position: relative; overflow: hidden; }
.final::before, .final::after { content: ""; position: absolute; border-radius: 50%; border: 3px solid rgba(17,17,17,.12); }
.final::before { width: 520px; height: 520px; right: -140px; top: -160px; }
.final::after { width: 340px; height: 340px; left: -120px; bottom: -150px; }
.final-grid { display: grid; gap: 30px; align-items: center; position: relative; }
.final h2 { font-size: clamp(38px, 6vw, 66px); font-weight: 800; letter-spacing: -2px; margin-bottom: 18px; }
.final p { font-size: 19px; max-width: 36ch; margin-bottom: 34px; color: #2A1500; }
.lottie { width: 100%; max-width: 360px; aspect-ratio: 1; justify-self: center; }

/* ---------- Footer ---------- */
footer { padding: 56px 0 44px; }
.foot { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.copy { color: #6B6B6B; font-size: 14px; margin-top: 26px; }

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--orange-tint); padding: 64px 0 56px; }
.legal-hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -1.5px; }
.legal-hero .sub { color: var(--ink-2); margin-top: 16px; max-width: 60ch; }
.prose { max-width: 72ch; margin: 0 auto; padding: 56px 20px 96px; line-height: 1.7; }
.prose p { margin-bottom: 1.1em; color: #2A2A2A; }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.prose li { position: relative; padding: 14px 16px 14px 44px; background: var(--paper-2); border-radius: 16px; }
.prose li::before { content: ""; position: absolute; left: 16px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
.prose .btn { margin-top: 16px; }
.legal footer { border-top: 1px solid #ECE8E2; }

/* ---------- Support page ---------- */
.give { max-width: 760px; margin: 0 auto; padding: 56px 20px 96px; }
.give-card { border: 2px solid var(--ink); border-radius: 28px; box-shadow: 8px 8px 0 var(--orange); padding: 36px 28px; text-align: center; }
.give-card h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; letter-spacing: -1px; margin-bottom: 18px; }
.amounts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.amounts span { padding: 10px 18px; border-radius: 999px; background: var(--orange-tint); font: 700 18px/1 var(--heading); }
.amounts span:last-child { background: var(--paper-2); color: var(--ink-2); font-weight: 600; font-size: 15px; }
.give-card .btn { font-size: 18px; padding: 17px 30px; }
.give-card .fine { color: var(--ink-2); font-size: 15px; margin: 18px auto 0; max-width: 44ch; }
.give h3 { font-size: 22px; margin: 56px 0 16px; }
.give ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.give li { position: relative; padding: 14px 16px 14px 44px; background: var(--paper-2); border-radius: 16px; }
.give li::before { content: ""; position: absolute; left: 16px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }

/* ---------- Not found, and the download page (/app) ---------- */
.lost { min-height: calc(100vh - 72px); display: grid; place-items: center; text-align: center; padding: 48px 20px; }
.lost img { width: 180px; margin: 0 auto 32px; rotate: -8deg; }
.lost h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 14px; }
.lost p { color: var(--ink-2); font-size: 18px; margin: 0 auto 32px; max-width: 34ch; }
.lost .badges { justify-content: center; }
/* The store badges keep their own size and sit straight, unlike the tilted logo above them. */
.lost .badges img { width: auto; margin: 0; rotate: none; }
.lost .badges .play img { margin: -9.5px 0; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .steps .step.reveal:nth-child(2) { transition-delay: .12s; }
.js .steps .step.reveal:nth-child(3) { transition-delay: .24s; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .hero { padding: 32px 0 120px; }
  .hero::before { width: 820px; height: 820px; right: -260px; top: -220px; bottom: auto; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .map-grid { grid-template-columns: .9fr 1.1fr; }
  .guardians { margin: 0 24px; }
  .final { margin: 0 24px; }
  .support-card { padding: 80px 48px 220px; }
  .g-grid { grid-template-columns: 1.1fr .9fr; padding-top: 100px; padding-bottom: 100px; }
  .final-grid { grid-template-columns: 1.2fr .8fr; }
}
@media (max-width: 520px) {
  .s1 { left: -14px; top: 70px; }
  .s2 { right: -14px; }
  .stage, .phone { width: 280px; }
  .give-card { padding: 32px 20px; }
  .give-card .btn { font-size: 16px; padding: 16px 22px; white-space: nowrap; }
  .phone { height: 580px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal, .js .pin, .js .notif { opacity: 1; transform: none; }
  .js .support-card .peek { transform: none; }
  .js .rotator > span:first-child { opacity: 1; }
}
