: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: 690px;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0 4rem;
  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(0, .78fr) minmax(540px, 1.22fr);
  gap: clamp(2rem, 5vw, 5rem);
  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(3.8rem, 6.5vw, 6.8rem);
  line-height: .91;
  letter-spacing: -.055em;
}

.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: 610px;
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
}

.hero-actions .button {
  min-height: 54px;
}

.hero-actions .button-light {
  border-color: rgba(11, 48, 64, .22);
}

.trust-row {
  gap: .65rem 1.25rem;
  color: #31535d;
  font-size: .86rem;
}

.trust-row span::before {
  content: "✦";
  color: var(--home-teal);
  margin-right: .45rem;
}

.product-window-wrap {
  min-height: 530px;
  display: grid;
  align-items: start;
}

.hero-product-window {
  position: relative;
  z-index: 2;
  width: 92%;
  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: 260px;
  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-top { top: 40%; left: -4%; }
.floating-card-bottom { right: 25%; bottom: 4%; }

.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.8rem, 3vw, 3rem);
  color: var(--home-ink);
}

.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;
  margin-inline: auto;
  border-radius: 28px;
  background: #f7f1e7;
}

.software-showcase-copy h3 {
  max-width: 540px;
}

.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;
  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(2rem, 5vw, 5rem);
  padding: clamp(2rem, 5vw, 5rem);
  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(2.5rem, 4vw, 4.2rem);
  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: 1rem;
  line-height: 1.7;
}

@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;
  }
}

.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)); }
}

@media (max-width: 760px) {
  .site-header .nav-login { margin-left: 0; }
  .product-hero { padding-top: 3.5rem; min-height: auto; }
  .hero-copy h1 { font-size: clamp(3.2rem, 15vw, 5.1rem); }
  .product-window-wrap { min-height: 360px; }
  .hero-product-window { width: 100%; }
  .hero-pets { height: 155px; width: 50%; right: -2%; bottom: 4%; border-width: 5px; }
  .floating-card { display: none; }
  .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: 2rem; }
  .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; }
}
