:root {
  --home-ink: #0b3040;
  --home-teal: #075a60;
  --home-teal-dark: #073f49;
  --home-mint: #dff5ef;
  --home-cream: #fffaf1;
  --home-gold: #f2bd58;
  --home-coral: #e9865c;
}

body {
  background: var(--home-cream);
  color: var(--home-ink);
  overflow-x: hidden;
}

/* Marketing content must remain readable even when a visitor scrolls quickly
   or a browser captures the entire page before scroll animations run. */
body .reveal,
body .reveal.reveal-delay,
body .reveal.reveal-delay-more {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.site-header {
  background: linear-gradient(90deg, #073f49, #075a60);
  border: 0;
  color: #fff;
}

.site-header .brand,
.site-header .site-nav > a:not(.button) {
  color: #fff;
}

.site-header .brand img {
  background: #fff;
  border-radius: 50%;
}

.site-header .nav-login {
  margin-left: auto;
}

.site-header .button-gold {
  background: var(--home-gold);
  border-color: var(--home-gold);
  color: #173743;
  box-shadow: none;
}

.product-hero {
  min-height: 0;
  padding: clamp(2.25rem, 3.5vw, 3.5rem) 0 2.5rem;
  background:
    radial-gradient(circle at 85% 12%, rgba(243, 189, 88, .22), transparent 24rem),
    linear-gradient(120deg, #fffaf1 0%, #fffdf9 55%, #e8f3ec 100%);
  overflow: hidden;
}

.product-hero-grid {
  grid-template-columns: minmax(420px, .95fr) minmax(520px, 1.05fr);
  gap: clamp(2rem, 3.5vw, 3.75rem);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 5;
}

.hero-copy .eyebrow {
  color: var(--home-teal);
}

.hero-copy h1 {
  max-width: 700px;
  font-size: clamp(2.5rem, 3.1vw, 3.75rem);
  line-height: .98;
  letter-spacing: -.055em;
  margin-bottom: 18px;
}

.hero-copy h1 em,
.section-heading h2 em,
.audience-heading h2 em,
.impact-copy h2 em {
  color: var(--home-coral);
  font-weight: 500;
}

.hero-lede {
  max-width: 540px;
  margin: 0 0 18px;
  font-size: clamp(.98rem, 1.1vw, 1.1rem);
  line-height: 1.55;
}

.hero-actions .button {
  min-height: 44px;
  padding-inline: 16px;
}

.hero-actions { gap: 10px; }

.hero-actions .button-light {
  border-color: rgba(11, 48, 64, .22);
}

.trust-row {
  gap: .4rem .85rem;
  margin-top: 18px;
  color: #31535d;
  font-size: .76rem;
}

.trust-row span::before {
  content: "✦";
  color: var(--home-teal);
  margin-right: .45rem;
}

.product-window-wrap {
  min-height: 360px;
  display: grid;
  align-items: start;
}

.hero-product-window {
  position: relative;
  z-index: 2;
  width: 88%;
  margin-left: auto;
  transform: rotate(.25deg);
  box-shadow: 0 28px 70px rgba(9, 47, 58, .2);
}

.hero-pets {
  position: absolute;
  z-index: 4;
  width: 47%;
  height: 170px;
  right: -5%;
  bottom: -2%;
  object-fit: cover;
  object-position: center;
  border-radius: 50% 50% 20px 20px;
  border: 8px solid rgba(255,255,255,.84);
  box-shadow: 0 24px 50px rgba(9, 47, 58, .2);
}

.floating-card { transform: scale(.86); transform-origin: center; }
.floating-card-top { top: 32%; left: -4%; }
.floating-card-bottom { right: 25%; bottom: 4%; }

/* Keep the homepage energetic while avoiding oversized, slow-scrolling sections. */
main .section {
  padding: clamp(3.75rem, 5vw, 5.5rem) 0;
}

main .section-heading {
  margin-bottom: clamp(2.25rem, 3vw, 3.25rem);
}

main .section h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.live-impact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 1.8vw, 1.5rem) 0;
  color: #fff;
  background:
    radial-gradient(circle at 8% 15%, rgba(242, 189, 88, .22), transparent 23rem),
    radial-gradient(circle at 92% 90%, rgba(223, 245, 239, .14), transparent 26rem),
    linear-gradient(135deg, #073f49, #075a60 55%, #06464d);
}

.live-impact-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: radial-gradient(circle, #fff 1px, transparent 1.5px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent, #000 45%, #000);
}

.live-impact-section .shell { position: relative; z-index: 1; }

.impact-first {
  padding: clamp(1rem, 1.8vw, 1.5rem) 0;
}

.live-impact-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: .65rem;
}

.live-impact-heading h1,
.live-impact-heading h2 {
  max-width: 700px;
  margin: 0;
  color: #fff;
  font-family: "Newsreader", serif;
  font-size: clamp(1.5rem, 2vw, 2.25rem);
  line-height: .98;
}

.live-impact-heading h1 em,
.live-impact-heading h2 em {
  color: var(--home-gold);
  font-weight: 500;
}

.live-impact-intro { max-width: 320px; }
.live-impact-intro p { margin: 0 0 .35rem; color: rgba(255, 255, 255, .82); font-size: .88rem; }
.live-impact-intro a { color: var(--home-gold); font-weight: 700; }

.live-impact-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.impact-stat-card {
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  color: var(--home-ink);
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(0, 24, 31, .12);
}

.impact-stat-featured {
  grid-column: span 1;
  color: #173743;
  background: linear-gradient(135deg, #f2bd58, #ffd98c);
}

.impact-stat-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  color: #fff;
  background: var(--home-teal);
  border-radius: 50%;
  font-size: 1rem;
}

.impact-stat-featured .impact-stat-icon { color: var(--home-ink); background: rgba(255, 255, 255, .55); }

.impact-stat-card strong {
  display: block;
  font-family: "Newsreader", serif;
  font-size: clamp(1.35rem, 1.8vw, 1.85rem);
  line-height: .9;
  letter-spacing: -.035em;
}

.impact-stat-card > span:last-child {
  margin-top: 5px;
  color: #41616a;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.live-impact-status {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: .72rem;
}

.purpose-strip {
  background: #fff;
  border-top: 1px solid #eae1d2;
  border-bottom: 1px solid #eae1d2;
}

.purpose-grid {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 1rem;
  text-align: center;
}

.purpose-grid p {
  font-family: "Newsreader", serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  color: var(--home-ink);
}

.purpose-grid { min-height: 92px; }

.purpose-grid p em { color: var(--home-coral); }
.purpose-grid blockquote { display: none; }

.product-tour-section {
  background: #fff;
}

.product-tour-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.product-feature-card {
  min-height: 310px;
  padding: 1.7rem;
  border: 1px solid #e8e0d2;
  border-radius: 18px;
  background: linear-gradient(155deg, #fff, #fffbf4);
  box-shadow: 0 12px 26px rgba(43, 58, 53, .06);
}

.product-feature-card:nth-child(2) .feature-icon { background: #ffe4d6; color: #c86139; }
.product-feature-card:nth-child(3) .feature-icon { background: #fff0bd; color: #97701b; }
.product-feature-card:nth-child(4) .feature-icon { background: #d8f2f3; color: #176b75; }

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #dff5ef;
  color: var(--home-teal);
  font-size: 1.5rem;
}

.product-feature-card h3 {
  font-family: "Newsreader", serif;
  font-size: 1.75rem;
}

.software-showcase {
  max-width: 1120px;
  gap: clamp(24px, 3vw, 40px);
  margin-top: 42px;
  padding: clamp(24px, 3vw, 40px);
  margin-inline: auto;
  border-radius: 28px;
  background: #f7f1e7;
}

.software-showcase-copy h3 {
  max-width: 540px;
  font-size: clamp(1.75rem, 2.5vw, 2.4rem);
}

.software-showcase .compact-product-window img {
  width: 100%;
  height: auto;
}

.how-section {
  background: linear-gradient(90deg, #f7f2e9, #fffdf8);
}

.steps-grid {
  position: relative;
  max-width: 1120px;
  margin-inline: auto;
}

.step-card {
  min-height: 320px;
  padding: 30px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e7e0d4;
  text-align: center;
}

.step-card.featured {
  background: #fff;
  color: var(--home-ink);
  border-color: #e7e0d4;
  transform: none;
}

.step-card .step-number,
.step-card.featured .step-number {
  display: block;
  color: var(--home-teal);
  background: transparent;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-align: center;
}

.step-card .step-symbol,
.step-card.featured .step-symbol {
  width: 76px;
  height: 76px;
  margin: 34px auto 28px;
  color: var(--home-teal);
  background: #dff5ef;
  border-radius: 22px;
  font-size: 2.15rem;
}

.step-card h3,
.step-card.featured h3 {
  color: var(--home-ink);
  font-size: 1.5rem;
}

.step-card p,
.step-card.featured p {
  color: #49666e;
  font-size: 1rem;
}

.audience-section {
  background: #fff;
}

.audience-heading h2 {
  color: var(--home-ink);
}

.audience-section .audience-heading h2 em {
  color: var(--home-coral);
}

.audience-section .eyebrow {
  color: var(--home-teal);
}

.audience-heading > p {
  margin-bottom: 4px;
  color: #304f58;
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.65;
}

.audience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.audience-card {
  min-height: 330px;
  padding: 200px 1.25rem 1.25rem;
  justify-content: flex-end;
  border-radius: 18px;
  overflow: hidden;
  background-color: #e8f1ed;
  background-position: center top;
  background-size: 100% 185px;
  background-repeat: no-repeat;
  box-shadow: 0 12px 28px rgba(20, 57, 60, .08);
  color: var(--home-ink);
}

.audience-card span { color: #49666e; }

.audience-food-bank { background-image: url('/assets/pet-pantry-food-boxes.jpg'); }
.audience-rescue { background-image: url('/assets/pet-pantry-volunteers.jpg'); }
.audience-foster { background-image: url('/assets/cat-feeding.jpg'); }
.audience-community { background-image: url('/assets/pet-pantry-community-delivery.jpg'); }

.audience-card strong {
  font-family: "Newsreader", serif;
  font-size: 1.55rem;
}

.mission-section {
  background: #fff9ef;
  padding-top: 72px;
}

.audience-section { padding-bottom: 72px; }

.mission-photo,
.mission-photo img {
  border-radius: 24px;
}

.comparison-section { display: none; }

.security-section {
  padding-bottom: 2rem;
  background: #fff;
}

.security-card {
  max-width: 1120px;
  gap: clamp(24px, 3vw, 40px);
  padding: clamp(30px, 3vw, 46px);
  margin-inline: auto;
  border-radius: 28px;
  background: var(--home-teal-dark);
}

.impact-showcase {
  padding-top: 2rem;
  background: #fff;
}

.impact-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1.5rem, 3vw, 3rem);
  border-radius: 28px;
  background: linear-gradient(120deg, #fff9ed, #eff7f2);
  max-width: 1120px;
  margin-inline: auto;
}

.impact-copy h2 {
  margin: .5rem 0 2rem;
  font-family: "Newsreader", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.impact-points {
  display: grid;
  gap: 1.35rem;
}

.impact-points div {
  display: grid;
  gap: .25rem;
  padding-left: 1.15rem;
  border-left: 3px solid var(--home-gold);
}

.impact-points span { color: #527078; }
.impact-window { box-shadow: 0 24px 54px rgba(7, 63, 73, .18); }
.impact-window img { width: 100%; height: auto; }

.roadmap-section {
  background: var(--home-teal);
  color: #fff;
}

.roadmap-section .eyebrow,
.roadmap-section h2,
.roadmap-section p { color: #fff; }
.roadmap-section h2 em { color: var(--home-gold); }
.roadmap-grid { max-width: 1120px; }
.inventory-card,
.inventory-card h3,
.inventory-card p,
.inventory-card a { background: #fff; color: var(--home-ink); }

.faq-section {
  position: relative;
  background: #fffaf1;
}

.faq-layout {
  grid-template-columns: .72fr 1.28fr;
  max-width: 1120px;
  margin-inline: auto;
}

.faq-heading::after {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-top: 2rem;
  border-radius: 20px;
  background: url('/assets/pets-together.jpg') center 42% / cover;
}

.faq-list details {
  background: #fff;
  margin-bottom: 14px;
  border: 1px solid #e2ddd2;
  border-radius: 16px;
  box-shadow: 0 7px 20px rgba(27, 60, 64, .055);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.faq-list details:hover {
  border-color: #b8d8d2;
  box-shadow: 0 11px 26px rgba(27, 60, 64, .09);
  transform: translateY(-2px);
}

.faq-list details[open] {
  border-color: #77b9af;
  box-shadow: 0 13px 30px rgba(7, 90, 96, .11);
}

.faq-list summary {
  position: relative;
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 22px 78px 22px 26px;
  color: var(--home-ink);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--home-teal);
  background: #dff5ef;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.faq-list details[open] summary {
  color: var(--home-teal-dark);
  background: #f6fbf9;
}

.faq-list details[open] summary::after {
  content: "−";
  color: #fff;
  background: var(--home-teal);
}

.faq-list details p {
  max-width: none;
  margin: 0;
  padding: 0 78px 26px 26px;
  color: #405e66;
  font-size: .78rem;
  line-height: 1.7;
}

.decision-list {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.decision-list > div {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 19px 22px 19px 56px;
  border: 1px solid #e2ddd2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(27, 60, 64, .055);
}

.decision-list > div::before {
  content: "✓";
  position: absolute;
  left: 20px;
  top: 20px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--home-teal);
  font-size: .75rem;
  font-weight: 700;
}

.decision-list strong {
  color: var(--home-ink);
  font-size: .7rem;
}

.decision-list span {
  color: #405e66;
  font-size: .95rem;
  line-height: 1.55;
}

@media (max-width: 560px) {
  .faq-list summary {
    min-height: 76px;
    padding: 19px 66px 19px 20px;
    font-size: 1rem;
  }

  .faq-list summary::after {
    right: 16px;
    width: 34px;
    height: 34px;
  }

  .faq-list details p {
    padding: 0 20px 22px;
  }

  .decision-list > div {
    padding: 18px 18px 18px 52px;
  }

  .decision-list > div::before {
    left: 18px;
  }
}

.final-cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, #064751 0%, #064751 48%, rgba(6,71,81,.18) 72%, rgba(6,71,81,.02) 100%),
    url('/assets/pet-pantry-hero.jpg') right center / 58% auto no-repeat;
  padding: 0;
}

.final-cta-inner {
  width: min(1180px, calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  min-height: 440px;
  padding: 56px 0;
}

.final-cta-inner h2 {
  width: min(580px, 46vw);
  max-width: none;
  font-family: "Newsreader", serif;
  font-size: clamp(2.8rem, 3.5vw, 3.8rem);
  line-height: .98;
}

.final-cta-inner > img {
  display: none;
}

.final-cta p:not(.eyebrow) {
  width: min(560px, 45vw);
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  font-size: 1.05rem;
}

.final-cta .hero-actions {
  width: min(580px, 46vw);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button-outline-light {
  color: #fff;
  border-color: rgba(255,255,255,.7);
  background: transparent;
}

.site-footer {
  background: #073f49;
}

@media (max-width: 1080px) {
  .product-hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .product-window-wrap { max-width: 900px; width: 100%; margin: 0 auto; }
  .product-tour-grid,
  .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-impact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header .nav-login { margin-left: 0; }
  .product-hero { padding-top: 2rem; min-height: auto; }
  .hero-copy h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .product-window-wrap { min-height: 270px; }
  .hero-product-window { width: 100%; }
  .hero-pets { height: 120px; width: 50%; right: -2%; bottom: 4%; border-width: 5px; }
  .floating-card { display: none; }
  .live-impact-heading { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .live-impact-grid { gap: 10px; }
  .impact-stat-card { min-height: 86px; padding: 12px; }
  .impact-stat-featured { grid-column: span 1; }
  .product-tour-grid,
  .audience-grid,
  .impact-grid,
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-heading,
  .faq-list { min-width: 0; width: 100%; }
  .product-feature-card { min-height: auto; }
  .purpose-grid { padding-block: 1.25rem; }
  .purpose-grid p { font-size: 1.35rem; }
  .impact-grid { padding: 1.5rem; }
  .final-cta { background: var(--home-teal-dark); }
  .final-cta-inner { width: min(100% - 36px, 680px); min-height: 0; padding: 68px 0; }
  .final-cta-inner h2,
  .final-cta p:not(.eyebrow),
  .final-cta .hero-actions { width: 100%; }
  .final-cta-inner > img { display: none; }
}

@media (max-width: 460px) {
  .live-impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .impact-stat-featured { grid-column: auto; }
}
