/* Purrspect — Warm Lemonade Soft UI
   Error terracotta (#C2410C) and amber hover (#B45309) are different on purpose. */

:root {
  --bg-ivory: #FAF9F6;
  --card-white: #FFFFFF;
  --surface-inset: #F4F1EA;
  --text-navy: #1E3A8A;
  --text-slate: #475569;
  --accent-amber: #F59E0B;
  --accent-amber-hover: #B45309;
  --accent-teal: #14B8A6;
  --accent-coral: #EA580C;
  --error-terracotta: #C2410C;
  --error-bg: #FFFBEB;
  --cta-on-amber: #1E3A8A;
  --shadow-card: 14px 14px 30px rgba(217, 210, 195, 0.45), -10px -10px 24px rgba(255, 255, 255, 0.9);
  --shadow-card-hover: 18px 20px 36px rgba(217, 210, 195, 0.55), -12px -12px 28px rgba(255, 255, 255, 0.95);
  --shadow-inset: inset 3px 3px 6px rgba(205, 198, 183, 0.45), inset -3px -3px 6px rgba(255, 255, 255, 0.95);
  --spring-ease: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mascot-ink: #1A2744;
  --pupil-x: 0px;
  --pupil-y: 0px;
  --thumb-dog: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6.5' y='10.2' width='11' height='3.6' rx='1.8' fill='%23fff'/%3E%3Ccircle cx='6.2' cy='9.2' r='2.15' fill='%23fff'/%3E%3Ccircle cx='6.2' cy='14.8' r='2.15' fill='%23fff'/%3E%3Ccircle cx='17.8' cy='9.2' r='2.15' fill='%23fff'/%3E%3Ccircle cx='17.8' cy='14.8' r='2.15' fill='%23fff'/%3E%3C/svg%3E");
  --thumb-cat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M3 12.2c4-4.2 9-5 13-3.2 1.7.7 3.4.8 5.1 0-1 1.8-1 3 .2 4.8-1.7-.7-3.4-.5-5.1.3C12 16.2 7 15.6 3 12.2z'/%3E%3Ccircle cx='15.6' cy='11' r='.9' fill='%23F59E0B'/%3E%3C/svg%3E");
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-ivory);
  color: var(--text-slate);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: clip;
}

body.scroll-lock { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

button, input, textarea, select { font: inherit; color: inherit; }

/* Besom by Krišjānis Mežulis / RIT Creative. Free for commercial use. Do not resell the file. */
@font-face {
  font-family: "Besom";
  src: url("assets/fonts/Besom.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }

p, h1, h2, h3, dl, dd { margin: 0; }

ul, ol { margin: 0; padding: 0; }

a { color: var(--text-navy); }

::selection { background: #FDE68A; color: var(--text-navy); }

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-140%);
  background: var(--card-white);
  color: var(--text-navy);
  padding: 8px 12px;
  border-radius: 12px;
  z-index: 5;
}

.skip:focus { transform: none; }

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

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.depth {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
}

.blob {
  position: absolute;
  width: 38vw;
  height: 32vw;
  min-width: 240px;
  min-height: 200px;
  border-radius: 50%;
  filter: blur(10px);
  will-change: transform;
}

.blob-a {
  top: -8vh;
  left: -10vw;
  background: radial-gradient(circle, rgba(253, 224, 140, 0.95) 0%, rgba(253, 224, 140, 0) 70%);
  animation: drift-a 28s ease-in-out infinite alternate;
}

.blob-b {
  right: -12vw;
  bottom: -14vh;
  width: 32vw;
  height: 26vw;
  background: radial-gradient(circle, rgba(254, 240, 190, 0.9) 0%, rgba(254, 240, 190, 0) 72%);
  animation: drift-b 34s ease-in-out infinite alternate;
}

.doodle { position: absolute; overflow: visible; }
.doodle-paws { left: 3vw; bottom: 6vh; width: 64px; opacity: 0.7; }
.doodle-heart { right: 7vw; top: 16vh; width: 40px; opacity: 0.8; }

@media (max-width: 1100px) {
  .doodle-heart { display: none; }
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(8vw, 6vh, 0) scale(1.12); }
}

@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.05); }
  to { transform: translate3d(-6vw, -4vh, 0) scale(0.92); }
}

.wrap {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header { position: relative; z-index: 2; }

.header-inner,
.footer-inner {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 16px 0 8px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.brand-logo {
  height: 86px;
  width: auto;
}

@media (max-width: 720px) {
  .brand-logo { height: 68px; }
}

.quick-nav { display: flex; gap: 14px; flex-wrap: wrap; }

.quick-nav a {
  color: var(--text-slate);
  text-decoration: none;
  font-weight: 600;
}

.quick-nav a:hover { color: var(--text-navy); }

.hero { padding: 18px 0 8px; }

.eyebrow {
  display: inline-block;
  color: var(--text-navy);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

h1 {
  color: var(--text-navy);
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.lede { margin-top: 10px; max-width: 48ch; font-size: 1.05rem; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.trust-pill {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-navy);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-inset);
}

.welcome-banner {
  margin-top: 18px;
  background: #FFFBEB;
  border-radius: 18px;
  padding: 12px 14px;
  color: var(--text-navy);
  box-shadow: var(--shadow-inset);
}

.welcome-banner .fine { margin-top: 4px; }

@media (min-width: 769px) {
  .welcome-banner { padding-right: 42%; }
}

@media (min-width: 769px) and (max-width: 920px) {
  .page-hub .hero { padding-right: 360px; }
  .welcome-banner { padding-right: calc(360px + 24px); }
}

.calc-card {
  position: relative;
  margin-top: 148px;
  background: var(--card-white);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(180, 160, 120, 0.16);
  padding: 64px 20px 22px;
}

.mascot-slot {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(380px, 108%);
  height: 292px;
  transform: translate(-50%, -66%);
  pointer-events: none;
}

.mascot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  overflow: visible;
  transition: opacity 0.45s var(--spring-ease), transform 0.45s var(--spring-ease);
}

.mascot-dog { bottom: 48px; }
.mascot-cat { bottom: 66px; }

.mascot img {
  display: block;
  width: 100%;
  height: auto;
}

.mascot-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

#calculator[data-pet="dog"] .mascot-cat,
#calculator[data-pet="cat"] .mascot-dog {
  opacity: 0;
  transform: translate3d(0, 10px, 0) scale(0.94);
}

#calculator[data-pet="dog"] .mascot-dog,
#calculator[data-pet="cat"] .mascot-cat {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.mascot-pupil {
  transform-box: fill-box;
  transform-origin: center;
  transform: translate3d(var(--pupil-x), var(--pupil-y), 0);
}

.mascot-collar { transition: fill 0.45s ease; }
.collar-young { fill: #14B8A6; }
.collar-adult { fill: #F59E0B; }
.collar-senior { fill: #EA580C; }

.mascot-ear {
  transform-box: fill-box;
  transform-origin: center bottom;
  transition: transform 0.35s var(--spring-ease);
}

#calculator.has-error .mascot-ear-left { transform: rotate(16deg); }
#calculator.has-error .mascot-ear-right { transform: rotate(-16deg); }
#calculator.is-perk .mascot-ear-left { transform: rotate(-18deg) translateY(-3px); }
#calculator.is-perk .mascot-ear-right { transform: rotate(18deg) translateY(-3px); }

.mascot-tongue {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center top;
  transform: scaleY(0.15);
}

#calculator.is-woof .mascot-tongue {
  opacity: 1;
  transform: scaleY(1);
  transition: transform 0.28s var(--spring-ease), opacity 0.2s ease;
}

.mascot-call {
  position: absolute;
  right: 2px;
  top: -22px;
  margin: 0;
  display: flex;
  align-items: flex-end;
  gap: 0;
  padding: 0.08em 0.04em 0.14em;
  color: var(--mascot-ink);
  -webkit-text-stroke: 0;
  paint-order: fill;
  font-family: "Besom", "Segoe Print", cursive;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  overflow: visible;
}

.call-w,
.call-m { position: relative; }

#calculator.is-woof .mascot-dog .mascot-call,
#calculator.is-meow .mascot-cat .mascot-call {
  animation: call-word 1800ms cubic-bezier(0.22, 0.8, 0.24, 1) forwards;
}

@keyframes call-word {
  0% { opacity: 0; transform: translate3d(0, 10px, 0); }
  18% { opacity: 1; transform: translate3d(0, 0, 0); }
  74% { opacity: 1; transform: translate3d(0, 0, 0); }
  100% { opacity: 0; transform: translate3d(0, -8px, 0); }
}

.mascot-paw { display: none; }

.card-kicker {
  color: var(--text-navy);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.calc-card h2 {
  color: var(--text-navy);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  margin: 4px 0 12px;
}

.pet-toggle {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-inset);
  box-shadow: var(--shadow-inset);
}

.pet-toggle button {
  flex: 1;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-slate);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pet-mark {
  height: 38px;
  width: auto;
  flex: none;
  overflow: visible;
}

.pet-toggle button[aria-pressed="true"] {
  background: var(--card-white);
  color: var(--text-navy);
  box-shadow: var(--shadow-card);
}

.field { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; position: relative; }
.calc-card .field { margin-top: 12px; }

.field > label,
.field legend {
  color: var(--text-navy);
  font-weight: 700;
  padding: 0;
}

.hint { color: var(--text-slate); font-size: 0.92rem; }

input[type="text"],
input[type="search"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1.5px solid transparent;
  background: var(--surface-inset);
  box-shadow: var(--shadow-inset);
  color: var(--text-navy);
}

input:focus,
textarea:focus {
  outline: none;
  background: #FFFFFF;
  box-shadow: var(--shadow-inset), 0 0 0 3px rgba(245, 158, 11, 0.25);
}

input.is-invalid,
textarea.is-invalid,
.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--error-terracotta);
  background: var(--error-bg);
}

.field.is-invalid .choice span {
  background: var(--error-bg);
  box-shadow: inset 0 0 0 2px var(--error-terracotta);
}

.field-error {
  color: var(--error-terracotta);
  background: var(--error-bg);
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 0.92rem;
}

.nudge { animation: field-nudge 0.48s ease; }

@keyframes field-nudge {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-7px); }
  55% { transform: translateX(6px); }
  80% { transform: translateX(-3px); }
}

.breed-pick {
  position: relative;
  display: flex;
  align-items: flex-start;
}

.breed-combo { position: relative; flex: 1; min-width: 0; }

#breed-search { padding-right: 84px; }

.breed-clear {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
  color: var(--text-slate);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.breed-clear-mark { width: 11px; height: 11px; flex: none; }

.breed-clear[hidden] { display: none; }

.breed-clear:hover { color: var(--text-navy); background: transparent; }

.breed-listbox {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: var(--card-white);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  max-height: 280px;
  overflow: auto;
  padding: 8px;
}

.breed-mobile-launcher {
  display: none;
  width: 100%;
  min-height: 52px;
  text-align: left;
  border: 0;
  border-radius: 16px;
  background: var(--surface-inset);
  box-shadow: var(--shadow-inset);
  color: var(--text-navy);
  padding: 12px 84px 12px 14px;
  cursor: pointer;
  font-weight: 600;
}

.choice-row { display: flex; gap: 10px; }

.choice { position: relative; flex: 1; }

.choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 16px;
  background: var(--surface-inset);
  box-shadow: var(--shadow-inset);
  color: var(--text-navy);
  font-weight: 700;
}

.choice input:checked + span {
  background: #fff;
  box-shadow: var(--shadow-card);
  outline: 2px solid var(--accent-amber);
}

.choice input:focus-visible + span {
  box-shadow: var(--shadow-inset), 0 0 0 3px rgba(245, 158, 11, 0.25);
}

.age-slider-wrap { position: relative; padding-top: 52px; }

.age-pill {
  position: absolute;
  left: clamp(20px, var(--thumb-x, 0%), calc(100% - 20px));
  top: 0;
  transform: translateX(-50%);
  background: var(--text-navy);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  min-width: 40px;
  text-align: center;
  padding: 4px 8px;
  line-height: 1.3;
  pointer-events: none;
  transition: transform 0.2s var(--spring-ease);
}

.age-slider-wrap:active .age-pill {
  transform: translateX(-50%) translateY(-42px);
}

.age-scale {
  display: flex;
  justify-content: space-between;
  color: var(--text-slate);
  font-size: 0.82rem;
  margin-top: 4px;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-amber) var(--thumb-x, 0%), #E7E1D6 var(--thumb-x, 0%));
  box-shadow: none;
  border: 0;
  margin: 0;
}

input[type="range"]:focus { outline: none; }
input[type="range"]:focus-visible { box-shadow: var(--shadow-inset), 0 0 0 3px rgba(245, 158, 11, 0.25); }

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background-color: var(--accent-amber);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  box-shadow: 0 6px 14px rgba(180, 83, 9, 0.28);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background-color: var(--accent-amber);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  box-shadow: 0 6px 14px rgba(180, 83, 9, 0.28);
  cursor: pointer;
}

input[type="range"]::-moz-range-track {
  height: 14px;
  border-radius: 999px;
  background: transparent;
  border: 0;
}

#calculator[data-pet="dog"] input[type="range"]::-webkit-slider-thumb { background-image: var(--thumb-dog); }
#calculator[data-pet="cat"] input[type="range"]::-webkit-slider-thumb { background-image: var(--thumb-cat); }
#calculator[data-pet="dog"] input[type="range"]::-moz-range-thumb { background-image: var(--thumb-dog); }
#calculator[data-pet="cat"] input[type="range"]::-moz-range-thumb { background-image: var(--thumb-cat); }

.zip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: rgba(20, 184, 166, 0.14);
  color: #0F766E;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 0.92rem;
}

.passport {
  margin-top: 16px;
  background: var(--surface-inset);
  box-shadow: var(--shadow-inset);
  border-radius: 20px;
  padding: 14px;
}

.passport-kicker {
  color: var(--text-navy);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.passport dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 12px;
}

.passport dt { font-size: 0.78rem; color: var(--text-slate); }
.passport dd { color: var(--text-navy); font-weight: 700; }
.passport a { font-weight: 700; }

.scenario { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }

.scenario-title { color: var(--text-navy); font-size: 1.45rem; letter-spacing: -0.02em; }

.cost-row { display: flex; flex-direction: column; gap: 6px; }

.cost-row-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-navy);
  font-weight: 700;
}

.cost-range { font-variant-numeric: tabular-nums; white-space: nowrap; }

.cost-swap {
  margin: 0;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-slate);
}

.cost-track {
  height: 14px;
  border-radius: 999px;
  background: var(--surface-inset);
  box-shadow: var(--shadow-inset);
  overflow: hidden;
}

.cost-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  transition: width 0.45s var(--spring-ease);
}

.fill-teal { background: var(--accent-teal); }
.fill-coral { background: var(--accent-coral); }

.benchmark-note {
  background: var(--error-bg);
  color: var(--text-navy);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow-inset);
  font-size: 0.95rem;
}

.insurance-note {
  margin: 10px 2px 0;
  color: var(--text-slate);
  font-size: 0.95rem;
}

.citation { font-size: 0.92rem; }

.insight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.insight-grid article,
.pick-card,
.status-panel,
.care-accordion {
  background: var(--surface-inset);
  box-shadow: var(--shadow-inset);
  border-radius: 18px;
  padding: 14px;
}

.insight-grid h3,
.picks h3,
.scenario h3 { color: var(--text-navy); font-size: 1.05rem; margin-bottom: 6px; }

.scenario ul,
.scenario ol { padding-left: 1.2rem; display: flex; flex-direction: column; gap: 6px; }

.picks { display: flex; flex-direction: column; gap: 8px; }
.pick-card a { font-weight: 700; }

.pick-soon { font-size: 0.92rem; }
.ftc-note { font-size: 0.88rem; }

.lead-form,
.email-capture { display: flex; flex-direction: column; gap: 10px; }

.lead-form h2 { color: var(--text-navy); font-size: 1.45rem; letter-spacing: -0.02em; }

.check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--text-navy);
  font-size: 1rem;
  line-height: 1.45;
}

.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent-amber); }

.check a,
.fine-print a,
.footer-nav a,
.legal a {
  color: #1E3A8A;
  text-decoration: underline;
}

.fine, .fine-print { color: var(--text-slate); font-size: 0.92rem; line-height: 1.45; }

.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-primary,
.btn-secondary,
.btn-pill,
.btn-close,
.chip,
.breed-option,
.breed-hit {
  cursor: pointer;
}

.btn-primary,
.btn-secondary,
.btn-pill,
.btn-close {
  border: 0;
  font-weight: 700;
  min-height: 48px;
}

.btn-primary,
.btn-secondary,
.btn-pill { border-radius: 999px; padding: 12px 18px; }

.btn-primary {
  background: var(--accent-amber);
  color: var(--cta-on-amber);
  box-shadow: 0 8px 16px rgba(245, 158, 11, 0.28);
}

.btn-primary.is-unready {
  background: #FDE68A;
  color: #92400E;
  box-shadow: none;
}

.btn-secondary,
.btn-pill {
  background: var(--card-white);
  color: var(--text-navy);
  box-shadow: var(--shadow-card);
}

.btn-close {
  background: var(--surface-inset);
  color: var(--text-navy);
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: var(--shadow-inset);
}

.btn-text {
  border: 0;
  background: transparent;
  color: var(--text-navy);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px 0;
  width: fit-content;
}

button:disabled { cursor: not-allowed; opacity: 0.7; transform: none; }

.toolbar, .share-row { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }

.status-line { min-height: 1.3em; font-size: 0.95rem; }
.status-line.is-error { color: var(--error-terracotta); }

.care-accordion summary {
  cursor: pointer;
  color: var(--text-navy);
  font-weight: 700;
}

.care-accordion ol { margin-top: 10px; }

.empty-search { color: var(--text-slate); padding: 8px 2px; }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 4px;
}

.chip {
  border: 0;
  background: var(--surface-inset);
  color: var(--text-navy);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-inset);
}

.chip[aria-pressed="true"] {
  background: var(--accent-amber);
  color: var(--cta-on-amber);
  box-shadow: none;
}

.breed-option,
.breed-hit {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text-navy);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
}

.breed-option:hover,
.breed-hit:hover,
.breed-option[aria-selected="true"],
.breed-hit:focus-visible { background: var(--surface-inset); }

.breed-hit-kind {
  font-weight: 600;
  color: var(--text-slate);
}

dialog {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

dialog::backdrop { background: transparent; }

dialog[open] {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  display: block;
  overflow: hidden;
}

.scrim-dismiss {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(30, 58, 138, 0.32);
  cursor: pointer;
  z-index: 0;
}

.drawer-panel,
.sheet-panel {
  position: relative;
  z-index: 1;
  background: var(--card-white);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.drawer-panel {
  margin: 16px 16px 16px auto;
  width: min(440px, calc(100% - 32px));
  height: calc(100% - 32px);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  animation: drawer-in 0.42s cubic-bezier(0.22, 0.8, 0.24, 1);
}

.sheet-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(78dvh, var(--vv-height, 78dvh));
  border-radius: 28px 28px 0 0;
  box-shadow: var(--shadow-card);
  animation: sheet-in 0.42s cubic-bezier(0.22, 0.8, 0.24, 1);
}

@keyframes drawer-in {
  from { transform: translate3d(100%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@keyframes sheet-in {
  from { transform: translate3d(0, 100%, 0); }
  to { transform: translate3d(0, 0, 0); }
}

.drawer-top,
.sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 8px;
}

.drawer-top h2,
.sheet-top h2 { color: var(--text-navy); font-size: 1.25rem; }

.sheet-handle {
  width: 48px;
  height: 5px;
  border-radius: 999px;
  background: #E7E0D4;
  margin: 10px auto 0;
}

.drawer-scroll,
.sheet-scroll {
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.drawer-search,
.sheet-search {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--card-white);
  padding-bottom: 4px;
}

.drawer-intro { font-size: 0.95rem; }

.methodology { padding: 42px 0 12px; }

.methodology h2 {
  color: var(--text-navy);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }

.prose h2, .prose h3, .legal h1, .legal h2 { color: var(--text-navy); letter-spacing: -0.02em; }

.prose h3 { font-size: 1.15rem; margin-top: 8px; }

.prose ul, .prose ol { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 6px; }

.steps { display: grid; gap: 10px; margin-top: 8px; }

.step {
  background: var(--card-white);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 14px;
}

.step strong { color: var(--text-navy); }

.site-footer { position: relative; z-index: 1; padding: 28px 0 48px; }

.footer-inner { display: flex; flex-direction: column; gap: 8px; }

.footer-nav { display: flex; gap: 14px 16px; flex-wrap: wrap; align-items: center; }

.privacy-choices { display: inline-flex; align-items: center; gap: 8px; }

.privacy-icon { width: 30px; height: 14px; flex: none; }

.gpc-status { color: var(--text-navy); font-weight: 700; }

.notice-list { display: flex; flex-direction: column; gap: 12px; }

.notice-card {
  background: var(--card-white);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.notice-card h3 { font-size: 1.05rem; }

.notice-card p { margin: 0; }

.opt-out-form { display: flex; flex-direction: column; gap: 10px; max-width: 32rem; }

.legal-main { padding-bottom: 64px; }

.legal h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin: 12px 0; }

.legal h2 { font-size: 1.25rem; margin-top: 8px; }

.noscript {
  position: relative;
  z-index: 1;
  margin: 12px auto;
  width: min(880px, calc(100% - 32px));
  background: var(--error-bg);
  color: var(--text-navy);
  border-radius: 16px;
  padding: 12px 14px;
}

.sticky-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 20;
  justify-content: center;
  min-height: 52px;
  backdrop-filter: blur(10px);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 24;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--card-white);
  color: var(--text-navy);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.94);
  transition: opacity 0.28s ease, transform 0.45s var(--spring-ease), box-shadow 0.28s ease;
}

.to-top svg { width: 22px; height: 22px; display: block; }

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

body.keyboard-open .to-top.is-visible,
body.scroll-lock .to-top.is-visible {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.94);
}

.print-only { display: none; }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover:not(:disabled):not(.is-unready) {
    background: var(--accent-amber-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
  }

.btn-secondary:hover,
.btn-pill:hover,
.pet-toggle button:hover {
  transform: translateY(-2px);
}

  .btn-pill:hover,
  .btn-secondary:hover { box-shadow: var(--shadow-card-hover); }

  .to-top.is-visible:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
  }
}

.btn-primary:active:not(:disabled),
.btn-secondary:active,
.btn-pill:active,
.pet-toggle button:active,
.chip:active,
.to-top.is-visible:active {
  transform: translateY(1px) scale(0.985);
}

.btn-secondary.js-share,
.btn-secondary.js-share:hover,
.btn-secondary.js-share:active {
  transform: none;
}

:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.9);
  outline-offset: 3px;
}

input:focus-visible,
textarea:focus-visible { outline: none; }

@media (max-width: 768px) {
  .calc-card { margin-top: 188px; }
  .mascot-slot { width: 210px; }
  .mascot-dog { bottom: 71px; }
  .mascot-cat { bottom: 81px; }
  .mascot-call { font-size: 40px; top: -46px; right: -16px; left: auto; }
  #welcome-banner:not([hidden]) + #calculator .calc-card { margin-top: 260px; }

  .field,
  .pet-toggle,
  #open-breed-sheet,
  #pet-age,
  #breed-search {
    scroll-margin-bottom: 112px;
  }

  .breed-combo { display: none; }
  .breed-mobile-launcher { display: flex; flex: 1; width: auto; min-width: 0; }
  #breed-search,
  #breed-listbox,
  #breed-empty { display: none !important; }

  body { padding-bottom: 92px; }
  body.results-ready,
  body.keyboard-open { padding-bottom: 24px; }
  body.show-to-top { padding-bottom: 160px; }
  body.results-ready.show-to-top { padding-bottom: 96px; }
  body.keyboard-open.show-to-top { padding-bottom: 24px; }

  .sticky-cta { display: flex; }
  body.results-ready .sticky-cta,
  body.keyboard-open .sticky-cta { display: none; }

  .to-top { right: 16px; bottom: 92px; width: 48px; height: 48px; }
  body.results-ready .to-top { bottom: 20px; }

  .passport dl,
  .insight-grid { grid-template-columns: 1fr; }

  .drawer-panel {
    width: min(440px, calc(100% - 48px));
    height: calc(100% - 24px);
    margin: 12px 12px 12px auto;
    top: auto;
    border-radius: 28px;
  }

  .sheet-panel {
    width: 100%;
    height: min(78dvh, var(--vv-height, 78dvh));
    margin: 0;
    top: auto;
    bottom: 0;
    border-radius: 28px 28px 0 0;
  }
}

@media (min-width: 769px) {
  #breed-sheet { display: none !important; }
  .calc-card { margin-top: 8px; padding: 36px 32px 28px; }
  .mascot-slot {
    left: auto;
    right: -1%;
    width: 360px;
    height: 300px;
    transform: translate(0, -64%);
  }
  .mascot-dog { bottom: 58px; }
  .mascot-cat { bottom: 77px; }
  .mascot-call {
    font-size: 34px;
    top: 16%;
    left: auto;
    right: calc(100% + 10px);
  }
}

@media (min-width: 769px) {
  .page-breed .hero,
  .page-guide .hero {
    min-height: 292px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-right: 360px;
  }

  .page-breed .hero h1,
  .page-guide .hero h1 {
    max-width: 18ch;
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  }
}

.dossier,
.guide-body { margin-top: 28px; }

.calc-card .dossier { margin-top: 18px; }

.calc-card .bento article,
.calc-card .related-card {
  background: var(--surface-inset);
  box-shadow: var(--shadow-inset);
}

#dossier,
#guide-body { scroll-margin-top: 24px; }

.dossier h2,
.guide-body h2 { color: var(--text-navy); margin: 22px 0 10px; }

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bento article,
.related-card {
  background: var(--card-white);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  padding: 18px;
  color: var(--text-navy);
  text-decoration: none;
}

.related-card h3 { margin-bottom: 6px; }
.related-card p,
.bento p,
.guide-body p { color: var(--text-slate); }

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dossier ol,
.dossier ul,
.guide-body ol,
.guide-body ul {
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.share-url {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 960px) {
  .bento,
  .related-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob,
  .depth,
  .to-top,
  .mascot,
  .mascot-collar,
  .mascot-ear,
  .cost-fill,
  .age-pill,
  .drawer-panel,
  .sheet-panel { animation: none; transition: none; }
  .nudge,
  .mascot-call { animation: none; }
  #calculator.is-woof .mascot-call,
  #calculator.is-meow .mascot-call { opacity: 1; }
}

@media print {
  .page-hub .no-print,
  .page-hub .site-header,
  .page-hub .site-footer,
  .page-hub .hero,
  .page-hub .methodology,
  .page-hub .ambient,
  .page-hub .sticky-cta,
  .page-hub .to-top,
  .page-hub .calc-inputs,
  .page-hub .mascot-slot,
  .page-hub .mascot-paw,
  .page-hub .lead-form,
  .page-hub .email-capture,
  .page-hub .personal-field,
  .page-hub .share-row,
  .page-hub .toolbar,
  .page-hub dialog,
  .page-hub .btn-primary,
  .page-hub .btn-secondary,
  .page-hub .btn-text,
  .page-hub .honeypot {
    display: none !important;
  }

  body.page-hub {
    background: #fff;
    padding: 0;
    color: #1c1917;
  }

  .page-hub .calc-card {
    box-shadow: none;
    margin: 0;
    padding: 0;
  }

  .page-hub .print-only { display: block; }

  .page-hub .print-brand {
    color: #1E3A8A;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .page-hub details,
  .page-hub details > * { display: block !important; }

  .page-hub .cost-fill,
  .page-hub .benchmark-note {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
