/* PetHome landing — palette drawn from Nala's coat: Bernese black-brown,
   rust tan-points, warm paper. Display: Bricolage Grotesque. Data: Plex Mono. */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fonts/BricolageGrotesque-800.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('/fonts/InstrumentSans-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('/fonts/InstrumentSans-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('/fonts/InstrumentSans-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/IBMPlexMono-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/IBMPlexMono-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  /* Nala's exact tri-color: white chest, black coat (#100C0C), light-brown points */
  --paper: #FFFEFB;
  --cream: #F7F0E7;
  --fawn: #E7DBCB;
  --coal: #131010;
  --coal-soft: #57493D;
  --rust: #A9724B;
  --rust-deep: #855432;
  --flag: #B3271B;
  --white: #FFFFFF;
  --display: 'Bricolage Grotesque', Georgia, serif;
  --body: 'Instrument Sans', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.landing {
  background: var(--paper);
  color: var(--coal);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust-deep); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 1.02rem;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .12s ease, background-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-rust { background: var(--rust); color: var(--coal); }
.btn-rust:hover { background: var(--rust-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--coal); border-color: var(--coal); }
.btn-ghost:hover { background: var(--coal); color: var(--paper); }
.btn-big { font-size: 1.1rem; padding: 15px 34px; }

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.wordmark {
  font-family: var(--display); font-weight: 800; font-size: 1.5rem;
  color: var(--coal); text-decoration: none; letter-spacing: -0.02em;
}
.wordmark .paw { color: var(--rust); }
.nav .btn { min-height: 42px; padding: 8px 20px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; padding: 44px 0 96px; }
.eyebrow {
  font-family: var(--mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--rust-deep);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.5rem, 5.4vw, 3.9rem);
  line-height: 1.02; letter-spacing: -0.025em;
}
.hero h1 .tl { color: var(--rust); }
.hero-sub { margin: 22px 0 30px; font-size: 1.12rem; color: var(--coal-soft); max-width: 30rem; }
.hero-cta-note { margin-top: 12px; font-size: .88rem; color: var(--coal-soft); }
.hero-proof {
  margin-top: 22px; padding: 10px 16px; max-width: 30rem;
  border-left: 3px solid var(--rust); background: var(--cream);
  border-radius: 0 12px 12px 0; font-size: .95rem; color: var(--coal-soft);
}
.hero-proof strong { color: var(--coal); }

.photo-frame { position: relative; }
.hero-photo {
  width: 100%; height: min(540px, 64vh);
  object-fit: cover; object-position: 50% 72%;
  border-radius: 26px; box-shadow: 0 24px 60px rgba(34, 29, 24, .22);
}
.hero-cap {
  margin-top: 52px; text-align: right; font-family: var(--mono);
  font-size: .78rem; color: var(--coal-soft);
}

/* the signature: a live record card over the photo */
.record-card {
  position: absolute; left: -48px; bottom: -26px; width: min(360px, 92%);
  background: var(--white); border-radius: 16px;
  box-shadow: 0 18px 44px rgba(34, 29, 24, .28);
  padding: 14px 16px 12px;
  font-family: var(--mono); font-size: .8rem; line-height: 1.5;
}
.record-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 8px; margin-bottom: 8px; border-bottom: 2px solid var(--fawn);
  font-weight: 500; letter-spacing: .08em; font-size: .72rem;
}
.record-head .ai {
  background: var(--cream); color: var(--rust-deep);
  padding: 2px 8px; border-radius: 999px; font-size: .66rem;
}
.record-row { display: flex; gap: 10px; padding: 3px 0; opacity: 0; animation: rise .5s ease forwards; }
.record-row:nth-child(2) { animation-delay: .15s; }
.record-row:nth-child(3) { animation-delay: .3s; }
.record-row:nth-child(4) { animation-delay: .45s; }
.record-row:nth-child(5) { animation-delay: .6s; }
.record-row:nth-child(6) { animation-delay: .75s; }
.record-row .tag { flex: 0 0 4.2em; font-weight: 500; color: var(--rust-deep); }
.record-row .hi { color: var(--flag); font-weight: 500; }
.record-foot { margin-top: 8px; padding-top: 7px; border-top: 1px dashed var(--fawn); font-size: .68rem; color: var(--coal-soft); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- story (the night it started — dark) ---------- */
.story { background: var(--coal); color: var(--cream); padding: 88px 0; }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.story-photo img { border-radius: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.story-photo figcaption { font-family: var(--mono); font-size: .75rem; color: #9C8F80; margin-top: 12px; }
.story h2 {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  letter-spacing: -0.02em; margin-bottom: 20px; color: var(--white);
}
.story p { margin-bottom: 16px; color: #D8CCBB; max-width: 34rem; }
.story strong { color: var(--white); }
.story .kicker { color: var(--rust); }
.story-note { font-size: .85rem; color: #9C8F80; }
.story-allpets {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid #4A4038;
  color: var(--fawn); font-weight: 500;
}

/* the bill that didn't happen */
.receipt {
  margin-top: 22px; background: var(--white); border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
  padding: 14px 16px 12px; color: var(--coal);
  font-family: var(--mono); font-size: .8rem; line-height: 1.6;
}
.receipt-head {
  font-size: .7rem; font-weight: 500; letter-spacing: .1em;
  border-bottom: 2px solid var(--fawn); padding-bottom: 7px; margin-bottom: 8px;
}
.receipt-row { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.receipt-row .strike { text-decoration: line-through; color: var(--flag); font-weight: 500; }
.receipt-total {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--fawn);
  font-weight: 500; color: var(--rust-deep);
}

/* ---------- features ---------- */
.features { padding: 88px 0 40px; }
.features h2, .steps h2 {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem); text-align: center; margin-bottom: 44px;
}
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--white); border: 1.5px solid var(--fawn); border-radius: 20px;
  padding: 26px 24px;
}
.feature .ftag {
  display: inline-block; font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .12em; color: var(--rust-deep);
  background: var(--cream); border-radius: 999px; padding: 4px 11px; margin-bottom: 14px;
}
.feature h3 { font-family: var(--display); font-weight: 800; font-size: 1.22rem; letter-spacing: -0.01em; margin-bottom: 10px; }
.feature p { font-size: .96rem; color: var(--coal-soft); }
.feature .q { color: var(--coal); font-weight: 500; }

/* ---------- insurance ---------- */
.insurance { padding: 24px 0 40px; }
.ins-band {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  background: var(--cream); border: 1.5px solid var(--fawn); border-radius: 22px; padding: 32px;
}
.ins-band .ftag {
  font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .12em;
  color: var(--coal); background: var(--rust); border-radius: 999px; padding: 5px 12px;
  white-space: nowrap; margin-top: 4px;
}
.ins-band h2 { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.015em; margin-bottom: 10px; }
.ins-band p { color: var(--coal-soft); margin-bottom: 10px; max-width: 46rem; }
.ins-band .roadmap { font-size: .88rem; }

/* ---------- steps ---------- */
.steps { padding: 56px 0 80px; }
.step-list { list-style: none; padding: 0; max-width: 620px; margin: 0 auto; display: grid; gap: 22px; }
.step-list li { display: flex; gap: 18px; align-items: flex-start; }
.step-n {
  font-family: var(--mono); font-weight: 500; color: var(--rust-deep);
  border: 2px solid var(--rust); border-radius: 999px;
  flex: 0 0 40px; height: 40px; display: flex; align-items: center; justify-content: center;
}
.step-list strong { font-weight: 600; }
.step-list p { color: var(--coal-soft); font-size: .96rem; }
.steps-cta { text-align: center; margin-top: 44px; }

/* ---------- footer ---------- */
.footer { background: var(--coal); color: #B7A997; padding: 40px 0 52px; }
.footer .wordmark { color: var(--paper); font-size: 1.2rem; }
.footer p { font-size: .85rem; margin-top: 12px; max-width: 46rem; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding: 16px 24px 72px; }
  .hero-media { max-width: 460px; margin: 0 auto; width: 100%; }
  .hero-photo { height: min(420px, 52vh); }
  .record-card { left: 12px; bottom: -30px; }
  .hero-cap { margin-top: 52px; text-align: right; }
  .story { padding: 64px 0; }
  .story-grid { grid-template-columns: 1fr; gap: 36px; }
  .story-photo { max-width: 460px; }
  .feature-grid { grid-template-columns: 1fr; }
  .features { padding: 64px 0 28px; }
  .ins-band { grid-template-columns: 1fr; gap: 12px; padding: 24px 20px; }
}
@media (max-width: 480px) {
  body.landing { font-size: 16px; }
  .hero h1 { font-size: 2.35rem; }
  .hero-sub { font-size: 1.03rem; line-height: 1.65; margin: 18px 0 26px; }
  .hero-proof { font-size: .92rem; }
  .record-card { width: calc(100% - 20px); font-size: .76rem; }
  .story p { line-height: 1.7; margin-bottom: 18px; }
  .story h2 { margin-bottom: 24px; }
  .feature { padding: 24px 20px; }
  .steps { padding: 44px 20px 68px; }
  .btn-big { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .record-row { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}


