:root {
  --lime: #70fb89;
  --ink: #07191b;
  --pine: #09211a;
  --soft-mint: #eaf7ef;
  --soft-blue: #edf6f8;
}

body { line-height: 1.48; }
h1, h2, h3, h4 { letter-spacing: -.042em; }
h2 { font-size: clamp(44px, 5vw, 72px); line-height: 1.09; }
.section-pad { padding-top: 122px; padding-bottom: 122px; }
.section-intro { margin-bottom: 76px; }
.section-intro p { max-width: 720px; }
.button { border-radius: 14px; transition: transform 160ms cubic-bezier(.23,1,.32,1), background-color 160ms ease, color 160ms ease; }
.button:active { transform: scale(.97); }
.button--lime { box-shadow: 0 8px 22px rgba(23, 223, 98, .12); }
.site-header { background: rgba(8, 30, 26, .95); }
.desktop-nav { gap: 24px; font-weight: 500; }
.eyebrow { letter-spacing: .095em; }
.section-intro h2 { text-wrap: balance; }
.footer { padding-top: 112px; }
.footer-links { gap: 84px; }
.footer-links a { line-height: 1.35; }
.footer-hq { display: block; margin-top: 30px; color: #c1d3c9; font-size: 14px; font-style: normal; line-height: 1.6; }
.footer-hq strong { display: block; margin-bottom: 7px; color: #fff; font-size: 15px; font-weight: 600; }
/* The white editorial footer is shared by every EightyGood route. Whisker360
   carries that treatment without inventing a newsletter or social channels. */
.footer { margin: 7px; padding: 70px 5% 28px; border-radius: 22px; background: #fff; color: #102e25; }
.footer-top { grid-template-columns: minmax(260px, 1fr) minmax(390px, 1.8fr); gap: 5%; padding-bottom: 96px; }
.footer-top p, .footer-hq { color: #52645b; }
.footer-hq strong, .footer-links strong { color: #172e25; }
.wordmark--footer { color: #173d35; }
.footer-links { justify-content: flex-start; gap: clamp(46px, 7vw, 110px); }
.footer-links a { color: #53625a; }
.footer a:hover { color: #178350; }
.footer-bottom { border-color: #d5ded8; color: #5c6d63; }
.text-link { font-size: 17px; font-weight: 700; display: inline-flex; gap: 12px; border-bottom: 2px solid #1bb965; padding: 7px 0; }
.faq-list { max-width: 950px; }
.faq-list details { border-top: 1px solid #afc9b7; padding: 20px 0; }
.faq-list details:last-child { border-bottom: 1px solid #afc9b7; }
.faq-list summary { font-size: 23px; font-weight: 600; letter-spacing: -.03em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 30px; font-weight: 400; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { font-size: 16px; line-height: 1.55; max-width: 800px; color: #465d4d; margin: 17px 0 0; }
.journey-hero { background: linear-gradient(90deg, rgba(7, 28, 25, .95), rgba(7, 41, 33, .59) 55%, rgba(7, 41, 33, .13)), url('/assets/vet-cat-consultation.jpg') 58% center / cover no-repeat; }
.journey-hero-art { display: none; }
.testing-hero { background: linear-gradient(90deg, rgba(7, 28, 25, .94), rgba(7, 41, 33, .65) 55%, rgba(7, 41, 33, .18)), url('/assets/dog-daily-walk.jpg') 59% center / cover no-repeat; }
.testing-hero-orb { opacity: .28; }

/* Echo the quiet lower-right detail in the EightyGood hero, not a floating card. */
.hero { min-height: 700px; }
.hero-shade { background: linear-gradient(0deg, rgba(0, 20, 16, .65), transparent 42%), linear-gradient(90deg, rgba(0, 26, 18, .87) 0%, rgba(0, 31, 26, .63) 43%, rgba(2, 32, 29, .2) 100%), radial-gradient(circle at 80% 80%, rgba(0, 192, 150, .3), transparent 45%); }
.hero-price { position: absolute; z-index: 2; right: 3.8%; bottom: 5.3%; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; min-height: 44px; padding: 4px 0; color: #fff; text-align: right; text-shadow: 0 2px 15px rgba(0, 15, 12, .85); }
.hero-price__lead { color: #e1f7e9; font-size: 12px; font-weight: 700; letter-spacing: .035em; }
.hero-price__amount { font-size: clamp(25px, 2.4vw, 31px); font-weight: 600; line-height: 1.2; letter-spacing: -.045em; white-space: nowrap; }
.hero-price__amount small { font-size: .72em; font-weight: 500; letter-spacing: -.02em; }
.hero-price__annual { font-size: 14px; line-height: 1.4; color: #edf8f0; }
.hero-price__annual span { color: var(--lime); margin-left: 6px; }
.hero-price:hover .hero-price__annual { text-decoration: underline; text-underline-offset: 4px; }

.membership { scroll-margin-top: 105px; }
.membership .section-intro { max-width: 850px; }
.membership .section-intro h2 { margin-top: 22px; }
.membership-panel { grid-template-columns: 1.04fr 1fr; min-height: 560px; border: 1px solid #54d585; border-radius: 22px; box-shadow: 0 30px 70px rgba(12, 49, 33, .14); background: radial-gradient(circle at 82% 95%, rgba(52, 174, 125, .23), transparent 48%), linear-gradient(112deg, #0a2922, #123f32); }
.membership-main { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(40px, 5.5vw, 76px) clamp(34px, 5.7vw, 78px); background: none; }
.membership-main h3 { margin: 28px 0 10px; font-size: clamp(45px, 4vw, 61px); }
.membership .price-line { margin: 18px 0 2px; }
.membership .price-line strong { font-size: clamp(75px, 7vw, 106px); }
.membership .price-line span { font-size: 21px; }
.membership-equivalent { color: #d5ecdd !important; font-size: 16px !important; margin: 0 0 28px !important; }
.membership-buy { min-width: 225px; justify-content: space-between; gap: 28px; background: #b6f7c3; border: 0; cursor: not-allowed; opacity: .76; box-shadow: none; }
.membership-buy:hover, .membership-buy:active { background: #b6f7c3; transform: none; }
.membership-availability { max-width: 350px; color: #d9e9df !important; font-size: 13px !important; line-height: 1.45; margin: 12px 0 0 !important; }
.membership-list { align-content: center; gap: 0; padding: 50px clamp(30px, 5vw, 72px) 50px 18px; }
.membership-list h4 { margin: 0 0 21px; color: #d4f5de; font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
.membership-list > span { display: flex; align-items: flex-start; gap: 13px; padding: 16px 0; border-top: 1px solid rgba(182, 241, 203, .22); font-size: 17px; line-height: 1.3; }
.membership-list > span i { flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; margin-top: -1px; border-radius: 50%; background: #74eea0; color: #092d1e; font-size: 14px; font-style: normal; font-weight: 800; }
.membership-list small { margin-top: 15px; padding-top: 18px; color: #c3dfcc; border-top: 1px solid rgba(182, 241, 203, .3); }
.membership-list small a { color: #a4fbbd; text-decoration: underline; text-underline-offset: 3px; }

.editorial-story { background: #eaf2ef; }
.editorial-story__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(36px, 7vw, 112px); }
.editorial-story__image { display: block; width: 100%; height: auto; aspect-ratio: 1.2; object-fit: cover; object-position: 72% center; border-radius: 22px; }
.editorial-story__copy h2 { margin: 22px 0 24px; }
.editorial-story__copy p { max-width: 530px; font-size: clamp(18px, 1.6vw, 22px); color: #3d5548; }
.editorial-story__copy .text-link { margin-top: 18px; }
.editorial-story__points { display: grid; gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
.editorial-story__points li { padding: 13px 0; border-top: 1px solid #b9d5c5; font-size: 16px; }
.editorial-story__points li span { display: inline-block; width: 42px; color: #1b8650; font-weight: 700; }

.home-questions { background: #fff; }
.home-questions__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8%; align-items: start; }
.home-questions h2 { margin: 20px 0; }
.home-questions p { max-width: 490px; color: #526359; }
.home-questions .faq-list { max-width: none; }
.home-questions .text-link { margin-top: 20px; }

.context-editorial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; margin-top: 70px; border-radius: 20px; overflow: hidden; background: #0c3025; color: white; }
.context-editorial img { display: block; width: 100%; height: 100%; min-height: 470px; object-fit: cover; object-position: 66% center; }
.context-editorial__copy { padding: 55px 10% 55px 0; }
.context-editorial__copy h3 { font-size: clamp(40px, 4vw, 62px); line-height: 1.06; margin: 18px 0 20px; }
.context-editorial__copy p { max-width: 520px; font-size: 18px; color: #d5e7da; }
.context-editorial__copy small { display: block; margin-top: 25px; color: #a8c8b5; font-size: 13px; }

.report-preview { background: #f4f7f5; }
.report-preview__top { display: grid; grid-template-columns: 1fr .75fr; gap: 8%; align-items: end; margin-bottom: 58px; }
.report-preview__top h2 { margin: 22px 0 0; }
.report-preview__top p { margin: 0; max-width: 470px; font-size: 19px; color: #465c50; }
.report-preview__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.report-preview__grid article { display: flex; flex-direction: column; min-height: 305px; padding: 28px; border-radius: 18px; background: #dceee4; }
.report-preview__grid article:nth-child(2) { background: #e3f1f2; }
.report-preview__grid article:nth-child(3) { background: #e4e9f6; }
.report-preview__grid article:nth-child(4) { background: #d5eee0; }
.report-preview__grid article > span { color: #276949; font-size: 13px; font-weight: 700; }
.report-preview__grid h3 { margin: auto 0 13px; font-size: clamp(27px, 2.3vw, 36px); line-height: 1.08; }
.report-preview__grid p { margin: 0; font-size: 15px; color: #4a6255; }
.report-preview__note { max-width: 750px; margin: 24px 0 0; color: #607367; font-size: 13px; }

.subpage-hero { position: relative; display: flex; align-items: center; min-height: 610px; overflow: hidden; color: #fff; background: radial-gradient(circle at 77% 36%, #25846f, transparent 40%), radial-gradient(circle at 95% 90%, #335e83, transparent 37%), linear-gradient(110deg, #09221c, #185b4e); }
.subpage-hero__copy { position: relative; z-index: 2; max-width: 900px; padding: 150px 7% 85px; }
.subpage-hero h1 { margin: 0 0 23px; font-size: clamp(72px, 8vw, 118px); line-height: .98; font-weight: 500; }
.subpage-hero p { max-width: 640px; margin: 0; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.4; color: #e7f4ec; }
.subpage-hero--photo { background: linear-gradient(90deg, rgba(6, 28, 25, .93), rgba(7, 38, 32, .56) 52%, rgba(7, 38, 32, .08)), url('/assets/vet-cat-consultation.jpg') 55% center / cover no-repeat; }
.subpage-hero--photo .subpage-hero__copy { max-width: 790px; }

.mission { display: grid; grid-template-columns: .85fr 1.15fr; gap: 10%; align-items: start; }
.mission h2 { margin: 23px 0; }
.mission__lead { font-size: clamp(22px, 2.35vw, 32px); line-height: 1.38; }
.mission__body p { font-size: 18px; color: #4b6156; max-width: 670px; }
.mission__body p + p { margin-top: 24px; }
.principles--page { background: #f2f7f4; }
.principles--page .principle-grid { grid-template-columns: repeat(3, 1fr); }
.principles--page .principle-grid article { min-height: 365px; background: #fff; }
.principles--page .principle-grid h3 { margin-top: 62px; font-size: 30px; }
.about-evidence { background: #0b2b24; color: #fff; }
.about-evidence__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; }
.about-evidence h2 { margin: 23px 0; }
.about-evidence p { font-size: 19px; color: #c8dfd1; }
.about-evidence ul { margin: 0; padding: 0; list-style: none; }
.about-evidence li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 25px 0; border-top: 1px solid #527766; font-size: 18px; }
.about-evidence li span { color: var(--lime); font-weight: 700; }
.about-evidence li strong { font-weight: 500; }

.faq-page { background: #f5f8f6; }
.faq-page__intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; align-items: start; }
.faq-page__intro h2 { margin: 22px 0; }
.faq-page__intro p { font-size: 18px; color: #4c6055; }
.faq-page .faq-list { max-width: none; }
.faq-category { display: grid; grid-template-columns: .42fr 1fr; gap: 8%; padding-top: 75px; }
.faq-category + .faq-category { margin-top: 18px; }
.faq-category h3 { margin: 0; font-size: 29px; }
.faq-category .faq-list details:first-child { border-top-color: #8ea999; }
.faq-page .faq-list summary { font-size: 22px; }
.faq-page .faq-list summary:focus-visible { outline: 3px solid #4d68eb; outline-offset: 5px; }
.faq-help { padding-top: 30px; font-size: 15px; color: #63786a; }

@media (hover: hover) and (pointer: fine) {
  .button:hover { transform: translateY(-2px); }
  .testing-pillars a:hover { transform: translateY(-4px); }
}

@media (max-width: 1050px) {
  .desktop-nav { gap: 14px; }
  .report-preview__grid { grid-template-columns: repeat(2, 1fr); }
  .principles--page .principle-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .footer { margin: 4px; padding: 64px 6% 27px; border-radius: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 45px; padding-bottom: 60px; }
  .footer-links { gap: clamp(30px, 11vw, 80px); }
  .footer-links a { display: flex; align-items: center; min-height: 44px; }
  h2 { font-size: clamp(40px, 10vw, 56px); }
  .section-pad { padding-top: 76px; padding-bottom: 76px; }
  .section-intro { margin-bottom: 48px; }
  .section-intro h2 { font-size: clamp(40px, 10vw, 56px); }
  .site-header { height: 78px; }
  .hero { min-height: 720px; }
  .hero-content { top: 23%; }
  .hero h1 { font-size: clamp(50px, 12vw, 60px); line-height: 1.03; }
  .hero p { font-size: 17px; line-height: 1.45; }
  .hero { height: 790px; min-height: 790px; }
  .hero-content { top: 20%; }
  .hero-price { left: 4%; right: 4%; bottom: 4%; align-items: flex-start; text-align: left; }
  .hero-price__amount { font-size: 25px; }
  .hero-price__annual { font-size: 13px; }
  .membership-panel { grid-template-columns: 1fr; }
  .membership-main { padding: 42px 7% 35px; }
  .membership-main h3 { font-size: clamp(43px, 10vw, 57px); }
  .membership-list { padding: 10px 7% 42px; }
  .membership-list > span { font-size: 16px; }
  .membership-buy { width: 100%; }
  .testing-hero { min-height: 525px; }
  .testing-hero-content { padding: 130px 5% 75px; }
  .testing-hero h1 { font-size: clamp(57px, 13vw, 76px); line-height: 1; margin: 12px 0 24px; }
  .testing-hero p { font-size: 16px; max-width: 380px; }
  .testing-hero-index { bottom: 22px; }
  .journey-hero { min-height: 620px; background: linear-gradient(90deg, rgba(7, 28, 25, .91), rgba(7, 41, 33, .52)), url('/assets/vet-cat-consultation.jpg') 62% center / cover no-repeat; }
  .journey-hero-content { width: 100%; padding: 150px 5% 70px; }
  .journey-hero h1 { font-size: clamp(52px, 12vw, 68px); line-height: 1.02; margin: 18px 0 25px; }
  .journey-hero p { max-width: 410px; font-size: 17px; }
  .journey-hero-art { display: none; }
  .editorial-story__grid, .home-questions__grid, .context-editorial, .report-preview__top, .mission, .about-evidence__grid, .faq-page__intro, .faq-category { grid-template-columns: 1fr; }
  .editorial-story__grid { gap: 35px; }
  .editorial-story__image { aspect-ratio: 1.05; }
  .context-editorial { gap: 0; margin-top: 44px; }
  .context-editorial img { min-height: 310px; max-height: 410px; }
  .context-editorial__copy { padding: 38px 7%; }
  .report-preview__top { gap: 10px; }
  .report-preview__grid { gap: 10px; }
  .report-preview__grid article { min-height: 240px; padding: 22px; }
  .report-preview__grid h3 { font-size: 27px; }
  .subpage-hero { min-height: 520px; }
  .subpage-hero__copy { padding: 135px 5% 75px; }
  .subpage-hero h1 { font-size: clamp(50px, 12vw, 64px); }
  .subpage-hero p { font-size: 17px; }
  .subpage-hero--photo { background-position: 62% center; }
  .mission { gap: 18px; }
  .mission__lead { font-size: 23px; }
  .faq-category { gap: 17px; padding-top: 53px; }
}

@media (max-width: 470px) {
  .hero { height: 800px; min-height: 800px; }
  .hero-content { top: 17%; }
  .hero-price { bottom: 3%; }
  .report-preview__grid { grid-template-columns: 1fr; }
  .report-preview__grid article { min-height: 205px; }
  .subpage-hero h1 { font-size: 50px; }
  .context-editorial img { min-height: 270px; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: background-color 120ms ease, color 120ms ease; }
  .button:active, .button:hover { transform: none; }
}

@media (hover: none) {
  .button:hover, .testing-pillars a:hover { transform: none; }
}

/* The reference uses a photo-led journey hero, then a quiet centered-gradient
   family for its testing, about, and FAQ pages. Keep that rhythm across routes. */
.gradient-hero {
  min-height: 670px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse 55% 83% at 10% 4%, rgba(43, 129, 148, .85), transparent 78%),
    radial-gradient(ellipse 65% 94% at 92% 45%, rgba(46, 150, 112, .83), transparent 70%),
    radial-gradient(ellipse 54% 78% at 105% 103%, rgba(53, 95, 138, .9), transparent 72%),
    #0b2426;
}
.testing-hero.gradient-hero::before { content: none; }
.testing-hero.gradient-hero .testing-hero-content,
.subpage-hero.gradient-hero .subpage-hero__copy {
  width: min(100%, 990px);
  max-width: none;
  margin: 0 auto;
  padding: 140px 28px 100px;
}
.testing-hero.gradient-hero h1,
.subpage-hero.gradient-hero h1 {
  max-width: 850px;
  margin: 0 auto 34px;
  color: #fff;
  font-size: clamp(68px, 7.5vw, 100px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.042em;
  text-wrap: balance;
}
.testing-hero.gradient-hero p,
.subpage-hero.gradient-hero p {
  max-width: 750px;
  margin: 0 auto;
  color: #f0f6f3;
  font-size: clamp(19px, 1.75vw, 22px);
  line-height: 1.35;
  text-wrap: balance;
}
@media (max-width: 760px) {
  .gradient-hero { min-height: 590px; }
  .testing-hero.gradient-hero .testing-hero-content,
  .subpage-hero.gradient-hero .subpage-hero__copy { padding: 140px 6% 80px; }
  .testing-hero.gradient-hero h1,
  .subpage-hero.gradient-hero h1 { font-size: clamp(51px, 11vw, 78px); }
  .testing-hero.gradient-hero p,
  .subpage-hero.gradient-hero p { font-size: 17px; }
}
.error-hero__copy { max-width: 900px; padding: 140px 28px 90px; color: #fff; }
.error-hero__code { display: block; margin-bottom: 25px; color: #abf4bf; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.error-hero h1 { margin: 0 auto 24px; color: #fff; font-size: clamp(58px, 7.5vw, 100px); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; }
.error-hero p { margin: 0 auto; max-width: 650px; color: #f0f6f3; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.4; }
.error-hero .button-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
@media (max-width: 760px) {
  .error-hero__copy { padding: 140px 6% 80px; }
  .error-hero h1 { font-size: clamp(52px, 11vw, 76px); }
}
