/* ============================================================
   Pawlentine marketing site
   Direction: candid / warm / scrappy — hand-drawn energy, not a SaaS template.
   Palette / typography match lib/theme/brand_tokens.dart + .impeccable.md
   ============================================================ */

/* ---------- Locally-hosted fonts ---------- */
@font-face {
  font-family: 'Figtree';
  src: url('/assets/Figtree-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('/assets/Figtree-SemiBold.woff2') format('woff2');
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: 'Kalam';
  src: url('/assets/Kalam-Regular.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --rust:        #C17155;
  --rust-deep:   #A85A40;
  --dark-brown:  #4D2C1C;
  --warm-amber:  #EE8B60;
  --peach-cream: #FFE6D3;
  --warm-tan:    #F5D3B7;
  --paper:       #FFF6EC;
  --ink:         #3A2115;
  --ink-soft:    #6B4A38;

  --space-xs:  8px;
  --space-sm:  12px;
  --space-md:  24px;
  --space-lg:  48px;
  --space-xl:  96px;
  --space-2xl: 144px;

  --max-width: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Kalam', cursive;
  font-weight: 700;
  color: var(--dark-brown);
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

p { max-width: 68ch; margin-top: 0; }
a { color: var(--rust-deep); }
a:hover { color: var(--dark-brown); }

/* Italic emphasis in headings */
h1 em, h2 em {
  position: relative;
  font-family: 'Kalam', cursive;
  font-weight: 400;
  color: var(--rust-deep);
  letter-spacing: -0.04em;
}
h1 em::after, h2 em::after {
  content: '';
  position: absolute;
  left: 2%; right: -4%; bottom: 1px;
  height: 7px;
  border-radius: 50%;
  border-top: 3px solid var(--warm-amber);
  transform: rotate(-1deg);
}

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  position: relative;
}

/* ---------- Skip link (accessibility) ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 12px 20px;
  background: var(--dark-brown);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  z-index: 9999;
  border-radius: 0 0 8px 0;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

/* ---------- Focus visible (global) ---------- */
:focus-visible {
  outline: 3px solid var(--rust-deep);
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible, a:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--rust-deep);
  outline-offset: 3px;
}

/* ---------- Icon mask technique ---------- */
/* Recolorable paw / scribble: use CSS mask so any element can
   inherit a color without inlining SVG markup. */
.paw-icon, .paw, .scribble {
  display: inline-block;
  background-color: currentColor;
  -webkit-mask: no-repeat center / contain;
  mask: no-repeat center / contain;
}
.paw-icon, .paw {
  -webkit-mask-image: url('/assets/paw.svg');
  mask-image: url('/assets/paw.svg');
}
.scribble {
  -webkit-mask-image: url('/assets/scribble.svg');
  mask-image: url('/assets/scribble.svg');
}

/* ============ ANNOUNCEMENT BAR ============ */
.announcement {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 7px 20px;
  color: var(--paper);
  background: var(--dark-brown);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.announcement .paw-icon {
  width: 19px; height: 19px;
  color: var(--peach-cream);
  transform: rotate(-10deg);
}

/* ============ NAV ============ */
.site-nav {
  height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(20px, 5vw, 48px);
  border-bottom: 1px solid rgba(77,44,28,.16);
}
.site-nav nav { display: flex; gap: 32px; }
.site-nav nav a { margin: 0; font-size: 13px; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dark-brown);
}
.brand img {
  width: 46px; height: 46px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(90,41,26,.14);
  transform: rotate(-6deg);
}
.brand span { font-family: 'Kalam', cursive; font-weight: 700; font-size: 25px; line-height: 1; }

.site-nav nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
}
.site-nav nav a:hover { color: var(--rust-deep); }

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--dark-brown);
  border-radius: 999px;
  color: var(--dark-brown);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: .25s ease;
}
.nav-cta:hover { color: var(--paper); background: var(--dark-brown); transform: translateY(-2px); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 750px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 34px;
  padding-top: 74px;
  padding-bottom: 94px;
}
.hero-copy { position: relative; z-index: 4; }

.overline, .kicker {
  color: var(--rust-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.overline { display: flex; align-items: center; gap: 9px; }
.overline-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--warm-amber);
  box-shadow: 0 0 0 5px rgba(238,139,96,.14);
}

.hero h1 {
  max-width: 720px;
  margin: 20px 0 28px;
  font-size: clamp(58px, 6.1vw, 88px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.hero h1 em { display: inline-block; font-size: .94em; transform: rotate(-2deg); }

.hero-sub {
  max-width: 510px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.65;
}
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 36px; }

.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 17px 24px;
  background: var(--dark-brown);
  color: #fff;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 0 #e8bfa8;
  transform: rotate(-1deg);
  transition: .25s ease;
}
.primary-btn:hover { color: white; transform: translateY(-3px) rotate(0); box-shadow: 0 15px 0 #e8bfa8; }
.primary-btn .paw-icon { width: 20px; height: 20px; color: var(--peach-cream); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--dark-brown);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px solid rgba(77,44,28,.16);
  padding-bottom: 5px;
}
.text-link span { color: var(--rust-deep); font-size: 18px; transition: transform .2s; }
.text-link:hover span { transform: translate(3px, -2px); }
.text-link.light { color: white; border-color: rgba(255,255,255,.25); }

.trust-note { display: flex; align-items: center; gap: 14px; margin-top: 48px; }
.trust-note p { margin: 0; color: #876858; font-size: 11px; line-height: 1.45; text-transform: uppercase; letter-spacing: .06em; }
.trust-note strong { color: var(--dark-brown); }
.mini-faces { display: flex; }
.mini-faces span {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  margin-left: -7px;
  background: var(--peach-cream);
  border: 3px solid var(--paper);
  border-radius: 50%;
  font-size: 18px;
}
.mini-faces span:first-child { margin-left: 0; }

/* ---------- Hero collage ---------- */
.hero-collage { position: relative; min-height: 600px; }

.sun-shape {
  position: absolute;
  width: 480px; height: 480px;
  right: 1%; top: 8%;
  border-radius: 42% 58% 61% 39% / 45% 40% 60% 55%;
  background: var(--peach-cream);
  opacity: .72;
}
.sun-shape::before {
  content: '';
  position: absolute;
  inset: -26px;
  border: 1px dashed rgba(193,113,85,.28);
  border-radius: 50%;
  animation: spin 45s linear infinite;
}

.photo-card {
  position: absolute;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 55px rgba(65,35,24,.2);
  border: 8px solid #fff;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-left {
  width: 255px; height: 326px;
  left: 0; bottom: 48px;
  transform: rotate(-8deg);
  border-radius: 3px;
  z-index: 1;
}

.tape {
  position: absolute;
  z-index: 8;
  width: 84px; height: 25px;
  background: rgba(247,225,188,.82);
  backdrop-filter: blur(3px);
  box-shadow: inset 0 0 0 1px rgba(125,84,58,.09);
}
.tape-left  { top: 7px; left: 75px; transform: rotate(5deg); }
.tape-top   { top: 14px; left: 50%; transform: translateX(-50%) rotate(-2deg); }

.profile-phone {
  position: absolute;
  z-index: 3;
  width: 280px; height: 565px;
  right: 7%; top: 0;
  padding: 12px;
  overflow: hidden;
  border: 8px solid var(--dark-brown);
  border-radius: 42px;
  background: #fff8f0;
  box-shadow: 0 36px 75px rgba(78,36,25,.3);
  transform: rotate(3deg);
}
.profile-phone::before {
  content: '';
  position: absolute;
  z-index: 10;
  width: 82px; height: 18px;
  border-radius: 0 0 14px 14px;
  background: var(--dark-brown);
  top: 0; left: 50%;
  transform: translateX(-50%);
}
.phone-top {
  height: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px;
  color: #7b5b4c;
  font-size: 8px;
  font-weight: 800;
}
.profile-photo {
  position: relative;
  height: 348px;
  border-radius: 26px 26px 14px 14px;
  overflow: hidden;
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-gradient {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(37,17,12,.82));
}
.verified {
  position: absolute;
  z-index: 2;
  right: 10px; top: 12px;
  padding: 5px 8px;
  border-radius: 99px;
  background: rgba(255,248,238,.9);
  color: var(--rust-deep);
  font-size: 8px;
  font-weight: 800;
}
.profile-name {
  position: absolute;
  z-index: 2;
  left: 17px; bottom: 15px;
  color: white;
  display: flex;
  flex-direction: column;
}
.profile-name strong { font-size: 21px; }
.profile-name span   { font-size: 9px; margin-top: 4px; opacity: .83; }

.pet-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 9px 3px;
  padding: 8px 10px;
  border: 1px solid #ead9cd;
  border-radius: 12px;
}
.pet-chip > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--peach-cream); }
.pet-chip div    { display: flex; flex-direction: column; }
.pet-chip strong { color: var(--dark-brown); font-size: 10px; }
.pet-chip small  { color: #927363; font-size: 7px; }

/* Decorative phone action buttons — hidden from AT via aria-hidden on wrapper */
.phone-actions {
  display: flex;
  justify-content: center;
  gap: 17px;
  padding-top: 4px;
}
.pa-btn {
  display: grid;
  place-items: center;
  width: 39px; height: 39px;
  border: 1px solid #ead9cd;
  border-radius: 50%;
  background: #fff;
  color: var(--rust-deep);
  font-size: 20px;
  cursor: default;
  user-select: none;
}
.pa-btn.heart {
  width: 48px; height: 48px;
  color: white;
  background: var(--rust-deep);
  border: 0;
  box-shadow: 0 8px 18px rgba(193,113,85,.28);
}

.match-sticker {
  position: absolute;
  z-index: 5;
  right: 0; bottom: 42px;
  width: 154px; height: 154px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  background: var(--rust-deep);
  border: 2px dashed rgba(255,255,255,.7);
  outline: 8px solid var(--rust-deep);
  transform: rotate(-9deg);
  box-shadow: 0 16px 40px rgba(91,39,28,.22);
}
.match-sticker span   { font-family: 'Kalam'; font-size: 14px; }
.match-sticker strong { font-family: 'Kalam'; font-size: 25px; }
.match-sticker small  { margin-top: 5px; }

/* js-motion class added by site.js when motion is safe */
.js-motion .match-sticker {
  animation: float-sticker 3s ease-in-out infinite alternate;
}
@keyframes float-sticker { to { transform: rotate(-9deg) translateY(-5px); } }

.scribble-arrow {
  position: absolute;
  z-index: 4;
  left: 36%; top: 5%;
  color: var(--rust-deep);
  font-family: 'Kalam';
  font-size: 72px;
  transform: rotate(24deg);
}
.floating-paw { position: absolute; color: var(--rust-deep); opacity: .45; }
.floating-paw.one { width: 42px; height: 42px; left: 31%; bottom: 8%; transform: rotate(23deg); }
.floating-paw.two { width: 30px; height: 30px; right: 1%; top: 6%; transform: rotate(-14deg); }

/* ============ CURVE BREAK + MARQUEE ============ */
.curve-break {
  position: relative;
  z-index: 5;
  height: 74px;
  margin: -70px -4vw 12px;
  overflow: hidden;
  pointer-events: none;
}
.curve-break::before, .curve-break::after {
  content: '';
  position: absolute;
  left: -5%; width: 110%; height: 105px;
  border-radius: 0 0 52% 48% / 0 0 100% 100%;
  transform: rotate(-1deg);
}
.curve-break::before { top: -68px; border-bottom: 4px solid var(--warm-amber); }
.curve-break::after  { top: -57px; border-bottom: 1px dashed rgba(193,113,85,.45); }

.marquee {
  overflow: hidden;
  padding: 17px 0;
  color: var(--paper);
  background: var(--rust-deep);
  transform: rotate(-1deg) scale(1.02);
}
.marquee > div {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  font-family: 'Kalam';
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .06em;
  animation: marquee 24s linear infinite;
}
.marquee .paw-icon { width: 22px; height: 22px; color: var(--peach-cream); }

/* ============ WHY SECTION ============ */
.why { padding-top: 145px; padding-bottom: 165px; }

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 62px;
}
.section-heading h2 { margin: 14px 0; font-size: clamp(48px, 6vw, 72px); line-height: 1.08; }
.section-heading h2 em { display: inline-block; font-size: .92em; }
.section-heading > p:last-child {
  color: #816354;
  font-family: 'Kalam';
  font-size: 20px;
  transform: rotate(-1deg);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
  align-items: stretch;
}
.reason-card {
  position: relative;
  min-height: 390px;
  padding: 38px 34px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(70,40,28,.1);
  transition: .35s ease;
}
.reason-card:nth-child(1) { transform: rotate(-2deg); }
.reason-card:nth-child(2) { transform: translateY(20px) rotate(1deg); }
.reason-card:nth-child(3) { transform: rotate(2deg); }
.reason-card:hover        { transform: translateY(-6px) rotate(0); }

.rust-card  { color: white;             background: var(--rust-deep); }
.cream-card { color: var(--dark-brown); background: var(--peach-cream); }
.dark-card  { color: var(--peach-cream); background: var(--dark-brown); }

.card-number {
  position: absolute;
  top: 25px; right: 25px;
  font-family: 'Kalam';
  font-size: 13px;
  opacity: .55;
}
.reason-icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  margin-bottom: 60px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 25px;
}
.reason-card h3 { font-family: 'Kalam'; font-size: 31px; line-height: 1.08; }
.reason-card p  { max-width: 300px; color: currentColor; opacity: .78; font-size: 14px; line-height: 1.55; }

.hand-note {
  position: absolute;
  right: 25px; bottom: 24px;
  font-family: 'Kalam';
  font-size: 16px;
  transform: rotate(-5deg);
}
.chat-bubble, .verified-note {
  position: absolute;
  right: 24px; bottom: 24px;
  padding: 9px 13px;
  border-radius: 15px 15px 3px 15px;
  background: white;
  color: var(--rust-deep);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 7px 20px rgba(78,41,28,.1);
  transform: rotate(2deg);
}
.verified-note { border-radius: 999px; color: var(--dark-brown); background: var(--warm-tan); }

/* ============ HOW SECTION ============ */
.how-section { padding: 135px 0; background: #f7eadc; }
.how-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 100px;
}
.how-photo {
  position: relative;
  min-height: 620px;
  border: 12px solid white;
  box-shadow: 0 26px 70px rgba(76,39,26,.16);
  transform: rotate(-2deg);
  overflow: hidden;
}
.how-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-caption {
  position: absolute;
  right: -2px; bottom: 22px;
  padding: 13px 17px;
  color: var(--dark-brown);
  background: #fff4bb;
  font-family: 'Kalam';
  font-size: 16px;
  transform: rotate(4deg);
  box-shadow: 0 8px 22px rgba(75,39,25,.13);
}
.how-copy h2 { margin: 14px 0 40px; font-size: clamp(48px, 5vw, 68px); line-height: 1.03; }

.steps { list-style: none; padding: 0; margin: 0; }
.steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(77,44,28,.16);
}
.steps li:last-child { border-bottom: 1px solid rgba(77,44,28,.16); }
.steps li > span {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  color: white;
  background: var(--rust-deep);
  font-family: 'Kalam';
  font-size: 13px;
}
.steps strong { font-family: 'Kalam'; color: var(--dark-brown); font-size: 21px; }
.steps p      { margin: 6px 0 0; color: #806252; font-size: 13px; line-height: 1.5; }

/* ============ PAWZONE SECTION ============ */
.pawzone {
  position: relative;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: center;
  max-width: 1280px;
  margin: 145px auto;
  padding: 82px;
  overflow: hidden;
  border-radius: 40px;
  background: var(--dark-brown);
  color: var(--peach-cream);
  box-shadow: 0 28px 80px rgba(55,27,19,.2);
}
.feature-label {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 99px;
  color: var(--peach-cream);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pawzone h2       { color: white; font-size: clamp(48px, 5vw, 68px); line-height: 1; }
.pawzone h2 em    { color: var(--peach-cream); font-size: .8em; }
.pawzone-copy > p { max-width: 430px; margin: 28px 0; color: #d9bba9; font-size: 15px; line-height: 1.7; }

/* Map card */
.map-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 9px solid #f8eadb;
  border-radius: 30px;
  background: #dbcbb8;
  box-shadow: 0 28px 50px rgba(20,8,4,.35);
  transform: rotate(1.5deg);
}
.road { position: absolute; display: block; background: #f5eadc; }
.road-one   { width: 120%; height: 54px; left: -10%; top: 42%; transform: rotate(-11deg); }
.road-two   { width: 58px; height: 120%; left: 48%; top: -10%; transform: rotate(8deg); }
.road-three { width: 100%; height: 32px; left: 0; bottom: 17%; transform: rotate(16deg); }

.block, .park {
  position: absolute;
  border-radius: 15px;
  background: #c0a990;
  border: 3px solid rgba(255,255,255,.3);
}
.block-one   { width: 150px; height: 120px; left: 6%;  top: 8%;    }
.block-two   { width: 120px; height: 150px; right: 6%; top: 8%;    }
.block-three { width: 160px; height: 100px; left: 8%;  bottom: 5%; }
.park { width: 170px; height: 125px; right: 5%; bottom: 4%; background: #9eaf8e; border-radius: 48% 30% 52% 35%; }

.map-pin {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px 7px 7px;
  border-radius: 99px;
  background: white;
  color: var(--dark-brown);
  box-shadow: 0 8px 22px rgba(54,29,20,.2);
  font-size: 9px;
  font-weight: 800;
  cursor: default;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.map-pin:hover, .map-pin:focus {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(54,29,20,.3);
  outline: none;
}
.map-pin:focus-visible {
  outline: 2px solid var(--rust-deep);
  outline-offset: 2px;
}
.map-pin b { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--peach-cream); }
.cafe-pin  { left: 13%; top: 29%; }
.park-pin  { right: 11%; bottom: 22%; }
.vet-pin   { right: 14%; top: 22%; }

.you-pin {
  position: absolute;
  z-index: 4;
  left: 43%; top: 48%;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,.2));
}
.you-pin > span {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 5px solid white;
  border-radius: 50%;
  background: var(--rust-deep);
  font-size: 23px;
}
.you-pin b {
  margin-top: 4px;
  padding: 4px 7px;
  border-radius: 99px;
  color: white;
  background: var(--dark-brown);
  font-size: 8px;
}
.distance-pill {
  position: absolute;
  left: 20px; bottom: 18px;
  padding: 10px 13px;
  border-radius: 12px;
  background: rgba(255,255,255,.88);
  color: var(--dark-brown);
  font-size: 10px;
  font-weight: 800;
}

/* ============ SAFETY ============ */
.safety { padding-bottom: 145px; }
.safety-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
  align-items: center;
  padding: 78px 90px;
  overflow: hidden;
  border: 1px solid rgba(77,44,28,.16);
  border-radius: 4px;
  background: #f9e2ce;
  transform: rotate(-.5deg);
}
.safety-copy h2             { margin: 12px 0 24px; font-size: clamp(48px, 5vw, 66px); line-height: 1; }
.safety-copy > p:last-child { max-width: 500px; color: #775747; font-size: 15px; line-height: 1.65; }
.safety-stamps { display: grid; gap: 13px; }
.safety-stamps div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 20px;
  border-radius: 15px;
  color: var(--dark-brown);
  background: rgba(255,255,255,.7);
}
.safety-stamps span {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  color: white;
  background: var(--rust-deep);
  font-size: 15px;
}
.safety-stamps strong { font-family: 'Kalam'; font-size: 17px; }
.safety-paw {
  position: absolute;
  right: -15px; bottom: -18px;
  width: 140px; height: 140px;
  color: var(--rust-deep);
  opacity: .12;
  transform: rotate(-18deg);
}

/* ============ WAITLIST ============ */
.waitlist {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
  text-align: center;
  color: white;
  background: var(--rust-deep);
}
.waitlist::before, .waitlist::after {
  content: '';
  position: absolute;
  width: 330px; height: 330px;
  border: 60px solid rgba(255,255,255,.07);
  border-radius: 50%;
}
.waitlist::before { left: -180px; top: -190px; }
.waitlist::after  { right: -180px; bottom: -210px; }

.waitlist-inner { position: relative; z-index: 2; }
.waitlist .kicker        { color: var(--paper); }
.waitlist h2             { margin: 18px 0 20px; color: white; font-size: clamp(50px, 6vw, 76px); line-height: .98; }
.waitlist h2 em          { color: #ffd4c0; }
.waitlist-inner > p:not(.kicker) { color: var(--paper); max-width: none; }
.big-paw {
  position: absolute;
  left: 7%; top: 0;
  width: 90px; height: 90px;
  color: rgba(255,255,255,.13);
  transform: rotate(-15deg);
}

.waitlist-form {
  display: flex;
  width: min(540px, 100%);
  margin: 34px auto 0;
  padding: 6px;
  border-radius: 15px;
  background: white;
  box-shadow: 0 16px 40px rgba(77,31,25,.2);
}
.waitlist-form input {
  flex: 1;
  min-width: 0;
  padding: 15px 16px;
  border: 0;
  outline: 0;
  color: var(--dark-brown);
  background: transparent;
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
}
.waitlist-form button {
  padding: 15px 20px;
  border: 0;
  border-radius: 11px;
  background: var(--dark-brown);
  color: white;
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.waitlist-form button:hover   { background: var(--rust-deep); }
.waitlist-form button:disabled { opacity: .65; cursor: not-allowed; }
.waitlist-form[hidden] { display: none; }

/* Waitlist result / aria-live region */
.waitlist-result {
  min-height: 1.5em;
  margin: 14px auto 0;
  width: min(540px, 100%);
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
  text-align: center;
  transition: opacity 0.3s;
}

/* Consent note */
.consent-note {
  margin: 14px auto 0;
  width: min(540px, 100%);
  font-size: 10px;
  color: var(--paper);
  line-height: 1.5;
}
.consent-note a { color: var(--paper); text-decoration: underline; }

.waitlist-inner small { display: block; color: var(--paper); font-size: 10px; margin-top: 8px; }

/* ============ FOOTER ============ */
.footer {
  min-height: 220px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 25px;
  padding-top: 55px;
  padding-bottom: 55px;
}
.footer > p   { margin: 0; text-align: center; color: #846454; font-family: 'Kalam'; }
.footer > div { display: flex; justify-content: flex-end; gap: 24px; }
.footer > div a {
  margin: 0;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.footer > div a:hover { color: var(--rust-deep); }
.footer > small {
  grid-column: 1 / -1;
  padding-top: 25px;
  border-top: 1px solid rgba(77,44,28,.16);
  text-align: center;
  color: var(--ink-soft);
  font-size: 10px;
}

/* ============ LEGAL / SUPPORTING PAGES ============ */
.legal-page {
  padding: var(--space-lg) 0 var(--space-2xl);
  max-width: 760px;
  margin: 0 auto;
}
.legal-page h1 { font-size: clamp(36px, 5vw, 56px); }
.legal-page .updated {
  color: var(--ink-soft);
  font-size: 14px;
  margin: var(--space-sm) 0 var(--space-lg);
}
.legal-page h2 {
  font-size: 23px;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}
.legal-page h3 {
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin-top: var(--space-md);
  margin-bottom: 6px;
}
.legal-page p, .legal-page li { font-size: 15.5px; color: var(--ink-soft); max-width: 70ch; }
.legal-page ul { padding-left: 22px; }

.draft-notice {
  background: var(--peach-cream);
  padding: 18px 22px;
  border-radius: 16px;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: var(--space-lg);
  transform: rotate(-0.5deg);
}
.draft-notice strong { color: var(--dark-brown); }

.support-card {
  background: var(--peach-cream);
  border-radius: 22px;
  padding: clamp(24px, 5vw, 40px);
  margin: var(--space-md) 0 var(--space-lg);
  transform: rotate(-0.6deg);
}
.support-card h3 { margin-top: 0; }
.support-card a.email {
  display: inline-block;
  margin-top: 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--rust-deep);
}

/* ============ SCROLL REVEAL ============
   Content is visible by default.
   JS adds .js-reveal BEFORE observing, so only animated when JS is available.
   .js-reveal.in plays the reveal animation.
   ======================================== */
.js-reveal { opacity: 0; transform: translateY(22px); }
.js-reveal.in { animation: reveal-in 0.7s var(--ease) forwards; }

/* ============ KEYFRAMES ============ */
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes reveal-in { to { opacity: 1; transform: translateY(0); } }

/* ============ RESPONSIVE — tablet ============ */
@media (max-width: 940px) {
  .site-nav { grid-template-columns: 1fr auto; }
  .site-nav nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-copy { text-align: center; }
  .overline, .hero-actions, .trust-note { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-collage { width: min(650px, 100%); margin: 0 auto; }
  .reason-grid { grid-template-columns: 1fr; max-width: 650px; margin: auto; }
  .reason-card:nth-child(n) { min-height: 310px; transform: none; }
  .how-grid, .pawzone, .safety-card { grid-template-columns: 1fr; }
  .how-grid { gap: 70px; }
  .pawzone { padding: 60px 40px; }
  .safety-card { gap: 40px; padding: 60px 50px; }
  .footer { grid-template-columns: 1fr; text-align: center; }
  .footer .brand { margin: auto; }
  .footer > div { justify-content: center; }
}

/* ============ RESPONSIVE — mobile ============ */
@media (max-width: 640px) {
  .wrap { padding-left: 15px; padding-right: 15px; }
  .announcement { font-size: 9px; letter-spacing: .07em; gap: 7px; }
  .site-nav { height: 72px; }
  .brand span { font-size: 21px; }
  .brand img  { width: 39px; height: 39px; }
  .nav-cta    { padding: 10px 13px; font-size: 11px; }
  .nav-cta span { display: none; }
  .hero { min-height: auto; padding-top: 55px; padding-bottom: 80px; }
  .hero h1   { font-size: clamp(50px, 16vw, 69px); }
  .hero-sub  { font-size: 16px; }
  .hero-actions { flex-direction: column; gap: 26px; }
  .trust-note   { margin-top: 44px; }
  .hero-collage { min-height: 500px; margin-top: 20px; }
  .sun-shape    { width: 330px; height: 330px; top: 15%; right: -12%; }
  .profile-phone { width: 225px; height: 455px; right: 2%; border-width: 6px; border-radius: 34px; }
  .profile-photo { height: 275px; }
  .pet-chip      { margin-top: 7px; }
  .pa-btn        { width: 31px; height: 31px; font-size: 16px; }
  .pa-btn.heart  { width: 39px; height: 39px; }
  .photo-left    { width: 170px; height: 230px; left: -15px; bottom: 20px; }
  .match-sticker { width: 105px; height: 105px; right: -4px; bottom: 4px; }
  .match-sticker strong { font-size: 18px; }
  .match-sticker span   { font-size: 11px; }
  .scribble-arrow { display: none; }
  .why { padding-top: 100px; padding-bottom: 120px; }
  .section-heading h2 { font-size: 48px; }
  .how-section { padding: 95px 0; }
  .how-photo   { min-height: 410px; }
  .how-copy h2 { font-size: 47px; }
  .pawzone   { width: 100%; margin: 100px 0; padding: 70px 23px; border-radius: 0; }
  .pawzone h2 { font-size: 46px; }
  .map-card  { min-height: 420px; }
  .map-pin span { display: none; }
  .safety    { padding-bottom: 100px; }
  .safety-card { padding: 55px 24px; border-radius: 0; }
  .safety-copy h2 { font-size: 48px; }
  .waitlist  { padding: 105px 0; }
  .waitlist h2 { font-size: 47px; }
  .waitlist-form {
    flex-direction: column;
    gap: 5px;
    background: transparent;
    box-shadow: none;
  }
  .waitlist-form input  { min-height: 54px; border-radius: 12px; background: white; }
  .waitlist-form button { min-height: 54px; border-radius: 12px; }
}
