@font-face {
  font-family: Manrope;
  src: url("/assets/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #fbfaf7;
  --white: #fff;
  --ink: #191732;
  --muted: #55526a;
  --purple: #5030c5;
  --purple-dark: #3b1fa4;
  --line: #e9e5ed;
  --heading: Manrope, "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 1rem/1.6 var(--body); }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { font-family: var(--heading); }
img { max-inline-size: 100%; display: block; }
a { color: inherit; }
button, summary { cursor: pointer; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
.wrap { width: min(100% - 112px, 1240px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 10px 16px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 79px; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; text-decoration: none; }
.brand img { border-radius: 28%; }
.brand span { font: 800 1.38rem/1 var(--heading); letter-spacing: -.055em; }
.header-nav, .footer-inner nav { display: flex; flex-wrap: wrap; gap: 30px; }
.header-nav a, .footer-inner nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
}
.header-nav a:hover, .footer-inner nav a:hover { color: var(--purple); }
.nav-cta {
  justify-self: end;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 6px 19px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: #eee8fd;
  color: var(--purple-dark);
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 700;
}
.nav-cta:hover { border-color: #d8c8ff; background: #e7dcff; }

.hero { display: grid; grid-template-columns: .98fr 1.02fr; align-items: center; gap: clamp(24px, 3.3vw, 54px); padding-block: 68px 82px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { color: var(--purple-dark); font-size: .8125rem; line-height: 1.45; font-weight: 700; letter-spacing: .115em; text-transform: uppercase; }
.hero h1 {
  margin-block: 18px 23px;
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -.078em;
}
.hero h1 span, .section-intro h2 span { color: var(--purple); }
.hero-description { color: var(--muted); max-width: 425px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 30px; }
.store-link { display: inline-flex; border-radius: 9px; flex: 0 0 auto; transition: transform 160ms ease; }
.store-link:hover { transform: translateY(-2px); }
.store-link img { width: 156px; height: auto; }
.availability { color: var(--muted); font-size: .9375rem; font-weight: 600; }
.hero-art {
  position: relative;
  isolation: isolate;
  min-width: 0;
  height: auto;
  aspect-ratio: 1.16;
  border-radius: 34px;
  background: #c7e3d7;
}
.hero-pets { width: 100%; height: 100%; object-fit: cover; object-position: 62% 48%; border-radius: inherit; }
.phone-image { border-radius: 14% / 7%; }
.hero-phone {
  position: absolute;
  width: 29%;
  height: auto;
  left: 8.7%;
  bottom: 8.7%;
  transform: rotate(-10deg);
  box-shadow: 0 19px 38px #173f3b50, 0 4px 9px #21313228;
}

.section { padding-block: 76px 84px; scroll-margin-top: 24px; }
.section-intro h2, .download h2 {
  font-size: clamp(2rem, 3.7vw, 3.375rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.065em;
}
.section-intro .eyebrow + h2 { margin-block-start: 10px; }
.section-intro h2 + p { margin-block-start: 13px; color: var(--muted); font-size: clamp(1.025rem, 1.4vw, 1.125rem); }
.centered { text-align: center; margin-inline: auto; }
.features { background: var(--white); border-block: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 37px; }
.feature-card { padding: clamp(22px, 2.5vw, 34px); border-radius: 25px; }
.feature-lavender { background: #f3effe; --chip: #e6dbfc; --chip-ink: #4f29b2; }
.feature-mint { background: #eaf6f0; --chip: #d6ede1; --chip-ink: #235a46; }
.feature-peach { background: #fcf1e7; --chip: #f5e0ce; --chip-ink: #834c28; }
.feature-icon { display: grid; place-items: center; width: 49px; height: 49px; border-radius: 15px; background: var(--chip); color: var(--chip-ink); }
.feature-card h3 { margin-top: 21px; font-size: clamp(1.17rem, 1.8vw, 1.42rem); line-height: 1.25; font-weight: 800; letter-spacing: -.05em; }
.feature-card p { margin-top: 10px; color: var(--muted); max-width: 34ch; line-height: 1.58; }

.screenshots { padding-bottom: 70px; }
.gallery-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.gallery-controls { display: flex; gap: 8px; padding-bottom: 3px; }
.gallery-controls button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #ded8e9;
  background: var(--white);
  color: var(--purple-dark);
}
.gallery-controls button:hover:not(:disabled) { background: #eee8fd; }
.gallery-controls button:disabled { cursor: default; color: #7f788b; background: transparent; }
.gallery {
  --gallery-gap: 17px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--gallery-gap) * 3) / 4);
  gap: var(--gallery-gap);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: #b6a6e0 #eee9f5;
  scrollbar-width: thin;
  padding: 0 0 12px;
  list-style: none;
}
.gallery li { scroll-snap-align: start; min-width: 0; }
.gallery img { width: 100%; height: auto; border-radius: 19px; }

.faq { background: var(--white); border-block: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 36px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 17px;
  border-radius: 4px;
  font: 800 1.0625rem/1.45 var(--heading);
  letter-spacing: -.02em;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border: solid var(--purple);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-2px, -2px);
}
.faq-list details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq-list summary:hover { color: var(--purple-dark); }
.faq-list p { color: var(--muted); padding: 0 25px 17px 0; }

.download { margin-block: 64px; }
.download-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 32px;
  padding: clamp(24px, 4.4vw, 54px);
  border-radius: 27px;
  background: linear-gradient(110deg, #ede6fe, #f3eafa 62%, #f9eee9);
}
.download-copy { display: flex; align-items: center; gap: 19px; }
.download-copy img { border-radius: 27%; box-shadow: 0 4px 12px #5030c514; }
.download h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); }
.download p { margin-top: 4px; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; min-height: 85px; padding-block: 14px; }
.footer-inner .brand span { font-size: 1.2rem; }
.footer-inner small { margin-left: auto; color: var(--muted); font-size: .875rem; }
.footer-inner nav { gap: 20px; }

.policy { width: min(100% - 48px, 760px); margin: 64px auto 76px; }
.policy-header { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.policy h1 { font-size: clamp(2.45rem, 5vw, 4rem); line-height: 1.1; font-weight: 800; letter-spacing: -.065em; margin-block: 10px 12px; }
.policy h2 { margin-bottom: 9px; font-size: 1.42rem; line-height: 1.25; letter-spacing: -.04em; font-weight: 800; }
.policy section { margin-top: 27px; }
.policy p, .policy li { color: var(--muted); }
.policy p + p, .policy li + li { margin-top: 10px; }
.policy ul { margin-top: 10px; padding-left: 1.3rem; }
.policy a { color: var(--purple-dark); text-underline-offset: 3px; overflow-wrap: anywhere; }
.policy .policy-source { margin-top: 14px; }
.policy-source a { font-weight: 700; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 72px); }
  .hero { gap: 26px; padding-block: 53px 66px; }
  .hero-art { aspect-ratio: 1.03; }
  .hero-phone { width: 31%; left: 7.5%; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner { min-height: 64px; }
  .header-nav { gap: 14px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 44px 54px; }
  .hero h1 { font-size: clamp(2.95rem, 9.3vw, 4.95rem); }
  .hero-description { max-width: 460px; }
  .hero-art { aspect-ratio: 1.26; max-height: 480px; border-radius: 27px; }
  .hero-phone { width: clamp(105px, 27%, 205px); left: 9%; }
  .section { padding-block: 54px; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 25px; }
  .centered { text-align: left; }
  .feature-card { display: grid; grid-template-columns: auto 1fr; column-gap: 15px; border-radius: 21px; }
  .feature-card h3 { margin-top: 2px; align-self: center; }
  .feature-card p { grid-column: 2; margin-top: 2px; max-width: 50ch; }
  .gallery { --gallery-gap: 12px; grid-auto-columns: calc((100% - var(--gallery-gap) * 2) / 3); }
  .gallery img { border-radius: 14px; }
  .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .download { margin-block: 40px; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { grid-template-columns: 1fr auto; }
  .header-nav { display: none; }
  .brand { gap: 8px; }
  .brand img { width: 31px; height: 31px; }
  .brand span { font-size: 1.26rem; }
  .nav-cta { padding-inline: 14px; }
  .hero-art { aspect-ratio: 1.14; }
  .hero-phone { width: 30%; }
  .hero h1 { margin-block: 13px 16px; }
  .hero-actions { margin-top: 23px; }
  .hero-actions .store-link img { width: 143px; }
  .gallery-header { align-items: start; gap: 12px; }
  .gallery-controls { align-self: end; gap: 5px; padding: 0; }
  .gallery-controls button { width: 44px; height: 44px; }
  .gallery { grid-auto-columns: min(68%, 225px); }
  .download-banner { border-radius: 22px; }
  .download-copy { align-items: flex-start; gap: 13px; }
  .download-copy img { width: 43px; height: 43px; }
  .footer-inner { column-gap: 12px; }
  .footer-inner nav { margin-left: auto; }
  .footer-inner small { order: 2; flex-basis: 100%; margin: 0; }
  .policy { margin-block: 44px 55px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 2.6rem; }
  .gallery-header { flex-wrap: wrap; }
  .gallery-controls { margin-left: auto; }
  .footer-inner nav { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store-link { transition: none; }
}
