/* PawReady — warm cream, sage, dusty blue, peach */

:root {
  --pr-cream: #f7f3ec;
  --pr-cream-deep: #ebe4d8;
  --pr-sage: #7a9b8e;
  --pr-sage-dark: #5f7f72;
  --pr-blue: #8fafc4;
  --pr-blue-dark: #6a8fa8;
  --pr-peach: #e8b89a;
  --pr-peach-soft: #f5ddd0;
  --pr-ink: #2c2a26;
  --pr-muted: #6b6560;
  --pr-white: #fffcf8;
  --pr-border: rgba(44, 42, 38, 0.1);
  --pr-shadow: 0 8px 32px rgba(44, 42, 38, 0.08);
  --pr-radius: 14px;
  --pr-font: "DM Sans", system-ui, sans-serif;
  --pr-display: "Fraunces", Georgia, serif;
  --pr-accent: var(--pr-sage);
  --pr-accent-soft: rgba(122, 155, 142, 0.15);
}

[data-pet="dog"] {
  --pr-accent: var(--pr-blue);
  --pr-accent-soft: rgba(143, 175, 196, 0.18);
}

[data-pet="cat"] {
  --pr-accent: var(--pr-sage);
  --pr-accent-soft: rgba(122, 155, 142, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--pr-font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--pr-ink);
  background: var(--pr-cream);
  -webkit-font-smoothing: antialiased;
}

.pr-site {
  min-height: 100vh;
  padding-bottom: 72px;
  position: relative;
  isolation: isolate;
}

.pr-site::before,
.pr-site::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(60px);
  opacity: 0.45;
}

.pr-site::before {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, var(--pr-peach-soft) 0%, transparent 70%);
}

.pr-site::after {
  width: 360px;
  height: 360px;
  bottom: 80px;
  left: -100px;
  background: radial-gradient(circle, var(--pr-accent-soft) 0%, transparent 70%);
}

@media (min-width: 768px) {
  .pr-site { padding-bottom: 0; }
}

/* Nav */
.pr-nav {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--pr-white);
  border-bottom: 1px solid var(--pr-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

@media (min-width: 768px) {
  .pr-nav { display: flex; }
}

.pr-logo {
  font-family: var(--pr-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--pr-ink);
  text-decoration: none;
}

.pr-nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.pr-nav-links a {
  color: var(--pr-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.pr-nav-links a:hover,
.pr-nav-links a.is-active {
  color: var(--pr-accent);
}

.pr-mobile-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--pr-white);
  border-top: 1px solid var(--pr-border);
  z-index: 50;
  padding: 0.35rem 0 calc(0.35rem + env(safe-area-inset-bottom));
}

@media (min-width: 768px) {
  .pr-mobile-nav { display: none; }
}

.pr-mobile-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.68rem;
  color: var(--pr-muted);
  text-decoration: none;
  font-weight: 600;
}

.pr-mobile-nav a span:first-child {
  font-size: 1.1rem;
  line-height: 1;
}

.pr-mobile-nav a.is-active { color: var(--pr-accent); }

/* Main */
.pr-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
}

@media (min-width: 768px) {
  .pr-main { padding: 2.75rem 2rem 3.5rem; }
}

h1, h2, h3 {
  font-family: var(--pr-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: 1.35rem; margin-top: 1.5rem; }

.pr-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pr-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
}

.pr-lead {
  color: var(--pr-muted);
  font-size: 1.05rem;
  max-width: 52ch;
  margin: 0 0 1.5rem;
}

/* Hero */
.pr-hero {
  padding: 1rem 0 2rem;
}

.pr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

/* Buttons */
.pr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.pr-btn:active { transform: scale(0.98); }

.pr-btn-primary {
  background: var(--pr-accent);
  color: var(--pr-white);
  box-shadow: 0 4px 16px var(--pr-accent-soft);
}

.pr-btn-primary:hover {
  filter: brightness(1.05);
}

.pr-btn-secondary {
  background: var(--pr-white);
  color: var(--pr-ink);
  border: 1px solid var(--pr-border);
}

.pr-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--pr-accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Cards */
.pr-section { margin-top: 2.5rem; }

.pr-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .pr-card-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

.pr-card {
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  padding: 1.25rem;
  box-shadow: var(--pr-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pr-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(44, 42, 38, 0.1);
}

.pr-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.pr-card p { color: var(--pr-muted); margin: 0 0 0.75rem; font-size: 0.95rem; }

/* Pillars */
.pr-pillar-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .pr-pillar-row { grid-template-columns: repeat(4, 1fr); }
}

.pr-pillar {
  background: var(--pr-white);
  border-radius: var(--pr-radius);
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--pr-border);
}

.pr-pillar-icon {
  display: block;
  color: var(--pr-peach);
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
}

.pr-pillar strong { display: block; font-size: 0.95rem; }
.pr-pillar span { font-size: 0.8rem; color: var(--pr-muted); }

/* Chips */
.pr-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pr-chip {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--pr-border);
  background: var(--pr-white);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.pr-chip:hover { border-color: var(--pr-accent); }

.pr-chip.is-active {
  background: var(--pr-accent);
  color: var(--pr-white);
  border-color: var(--pr-accent);
}

.pr-chip.is-disabled {
  opacity: 0.5;
  cursor: default;
}

/* Forms */
.pr-field {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.pr-field input,
.pr-field textarea,
.pr-field select {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--pr-border);
  border-radius: 10px;
  font: inherit;
  background: var(--pr-white);
}

.pr-field input:focus,
.pr-field textarea:focus,
.pr-field select:focus {
  outline: 2px solid var(--pr-accent-soft);
  border-color: var(--pr-accent);
}

/* Quiz */
.pr-quiz-form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 2.5rem;
}

.pr-quiz-form legend {
  font-weight: 600;
  margin-bottom: 0.85rem;
  font-size: 1.05rem;
  line-height: 1.4;
}

.pr-quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 540px) {
  .pr-quiz-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pr-quiz-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  min-height: 3rem;
  background: var(--pr-white);
  border: 2px solid var(--pr-border);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(44, 42, 38, 0.04);
}

.pr-quiz-option:hover {
  border-color: var(--pr-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 42, 38, 0.08);
}

.pr-quiz-option.is-selected,
.pr-quiz-option:has(input:checked) {
  border-color: var(--pr-accent);
  background: var(--pr-accent-soft);
  box-shadow: 0 0 0 1px var(--pr-accent);
}

.pr-quiz-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pr-quiz-option-label { flex: 1; line-height: 1.35; }

.pr-radio {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  margin-bottom: 0.35rem;
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s;
}

.pr-radio:hover { border-color: var(--pr-accent); }
.pr-radio:has(input:checked) {
  border-color: var(--pr-accent);
  background: var(--pr-accent-soft);
}

.pr-radio input { margin-top: 0.2rem; accent-color: var(--pr-accent); }

/* Progress */
.pr-progress-bar {
  height: 8px;
  background: var(--pr-cream-deep);
  border-radius: 999px;
  overflow: hidden;
  margin: 0.5rem 0;
}

.pr-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pr-sage), var(--pr-blue));
  border-radius: 999px;
  transition: width 0.4s ease;
}

.pr-progress-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pr-progress-header .pr-progress-bar { flex: 1; margin: 0; }

/* Breakdown */
.pr-breakdown-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 1.5rem 0;
}

@media (min-width: 640px) {
  .pr-breakdown-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}

.pr-breakdown-card {
  background: var(--pr-white);
  border-radius: var(--pr-radius);
  padding: 1rem;
  border: 1px solid var(--pr-border);
}

/* Match */
.pr-match-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.pr-match-card {
  background: var(--pr-white);
  border: 2px solid var(--pr-border);
  border-radius: var(--pr-radius);
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.pr-match-card.is-winner {
  border-color: var(--pr-accent);
  background: var(--pr-accent-soft);
}

.pr-match-pct {
  font-family: var(--pr-display);
  font-size: 2.5rem;
  color: var(--pr-accent);
}

/* Breeds */
.pr-breed-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .pr-breed-grid { grid-template-columns: repeat(2, 1fr); }
}

.pr-breed-card {
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  padding: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pr-breed-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--pr-shadow);
}

.pr-tags {
  display: block;
  font-size: 0.8rem;
  color: var(--pr-muted);
  margin-top: 0.5rem;
}

.pr-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: var(--pr-peach-soft);
  color: var(--pr-ink);
  margin-top: 0.5rem;
}

/* Costs */
.pr-calc-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .pr-calc-grid { grid-template-columns: repeat(3, 1fr); }
}

.pr-cost-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (min-width: 640px) {
  .pr-cost-summary { grid-template-columns: repeat(4, 1fr); }
}

.pr-cost-item {
  background: var(--pr-white);
  border-radius: var(--pr-radius);
  padding: 1rem;
  border: 1px solid var(--pr-border);
}

.pr-cost-item span:first-child {
  display: block;
  font-size: 0.8rem;
  color: var(--pr-muted);
  margin-bottom: 0.25rem;
}

.pr-cost-num {
  font-family: var(--pr-display);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s, transform 0.3s;
}

.pr-cost-num.pr-cost-updating {
  color: var(--pr-accent);
  transform: scale(1.04);
}

/* Chart */
.pr-chart { margin: 1.5rem 0; }

.pr-chart-row {
  display: grid;
  grid-template-columns: 100px 1fr 80px;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.65rem;
  font-size: 0.85rem;
}

.pr-chart-bar {
  height: 12px;
  background: var(--pr-cream-deep);
  border-radius: 999px;
  overflow: hidden;
}

.pr-chart-bar div {
  height: 100%;
  background: linear-gradient(90deg, var(--pr-peach), var(--pr-sage));
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* Affordability */
.pr-afford-result {
  background: var(--pr-white);
  border-radius: var(--pr-radius);
  padding: 1.25rem;
  border-left: 4px solid var(--pr-muted);
  margin-top: 1rem;
}

.pr-afford-comfortable { border-left-color: var(--pr-sage); }
.pr-afford-possible { border-left-color: var(--pr-blue); }
.pr-afford-tight { border-left-color: var(--pr-peach); }

/* Checklist */
.pr-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.pr-checklist li { margin-bottom: 0.35rem; }

.pr-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  background: var(--pr-white);
  border-radius: 10px;
  border: 1px solid var(--pr-border);
  cursor: pointer;
}

.pr-check:has(input:checked) {
  background: var(--pr-accent-soft);
  text-decoration: line-through;
  color: var(--pr-muted);
}

.pr-check input { accent-color: var(--pr-accent); margin-top: 0.15rem; }

/* Timeline */
.pr-timeline-block {
  background: var(--pr-white);
  border-radius: var(--pr-radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid var(--pr-border);
}

.pr-timeline-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pr-timeline-block li { margin-bottom: 0.35rem; }

/* Dashboard */
.pr-dash-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pr-countdown {
  background: var(--pr-peach-soft);
  padding: 0.85rem 1.15rem;
  border-radius: var(--pr-radius);
  font-size: 0.9rem;
}

.pr-countdown strong {
  font-family: var(--pr-display);
  font-size: 1.5rem;
  display: block;
}

.pr-dash-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .pr-dash-grid { grid-template-columns: repeat(3, 1fr); }
}

.pr-stat-card {
  background: var(--pr-white);
  border-radius: var(--pr-radius);
  padding: 1rem;
  border: 1px solid var(--pr-border);
}

.pr-stat-wide { grid-column: 1 / -1; }

.pr-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pr-muted);
  margin-bottom: 0.25rem;
}

.pr-stat-card strong {
  font-family: var(--pr-display);
  font-size: 1.5rem;
  display: block;
}

.pr-stat-card span:last-child {
  font-size: 0.85rem;
  color: var(--pr-muted);
}

/* Onboarding */
.pr-onboard {
  max-width: 480px;
  margin: 2rem auto;
}

.pr-onboard-step { margin-bottom: 1.5rem; }

.pr-onboard-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Toxic */
.pr-toxic-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.pr-toxic-card {
  background: var(--pr-white);
  border-radius: var(--pr-radius);
  padding: 1rem;
  border: 1px solid var(--pr-border);
}

.pr-severity-high { border-left: 4px solid #c45c5c; }
.pr-severity-medium { border-left: 4px solid var(--pr-peach); }
.pr-severity-low { border-left: 4px solid var(--pr-blue); }

.pr-disclaimer {
  background: var(--pr-peach-soft);
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Table */
.pr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 1rem 0;
}

.pr-table th,
.pr-table td {
  border: 1px solid var(--pr-border);
  padding: 0.5rem;
  text-align: left;
}

.pr-table th { background: var(--pr-cream-deep); }

/* Placeholder */
.pr-placeholder {
  border-style: dashed;
  opacity: 0.95;
}

/* Task list */
.pr-task-list {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.pr-task-list li { margin-bottom: 0.35rem; }

.pr-muted { color: var(--pr-muted); font-size: 0.9rem; }

/* Footer */
.pr-footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid var(--pr-border);
  text-align: center;
}

@media (min-width: 768px) {
  .pr-footer { padding-bottom: 2rem; }
}

.pr-footer p { margin: 0.35rem 0; font-size: 0.9rem; }

/* Toast */
.pr-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--pr-ink);
  color: var(--pr-white);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 100;
}

@media (min-width: 768px) {
  .pr-toast { bottom: 2rem; }
}

.pr-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--pr-accent);
  outline-offset: 2px;
}

/* —— Cost-first home & calculator —— */

.pr-hero-cost {
  padding: 1.5rem 0 2.5rem;
}

.pr-cost-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0 1rem;
}

.pr-hero-disclaimer {
  margin: 0 0 1.5rem;
  font-size: 0.82rem;
  text-align: center;
}

.pr-cost-preview-card {
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--pr-shadow);
}

.pr-cost-preview-cat { border-top: 3px solid var(--pr-sage); }
.pr-cost-preview-dog { border-top: 3px solid var(--pr-blue); }

.pr-pet-icon {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.pr-cost-preview-num {
  display: block;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  margin: 0.35rem 0;
  color: var(--pr-ink);
}

.pr-cost-preview-num small {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--pr-muted);
}

.pr-btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1.05rem;
}

.pr-section-spaced {
  margin-top: 3.5rem;
  padding-top: 1rem;
}

.pr-card-emphasis {
  border-color: var(--pr-accent);
  background: var(--pr-accent-soft);
}

.pr-cost-xl {
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
  display: block;
  line-height: 1.15;
}

.pr-cost-xl small {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--pr-muted);
}

.pr-cost-lg {
  font-size: 1.35rem;
}

/* Costs page */
.pr-costs-page {
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .pr-costs-page { padding-bottom: 2rem; }
}

.pr-costs-header {
  margin-bottom: 2rem;
}

.pr-cost-sticky {
  position: sticky;
  top: 0;
  z-index: 40;
  margin: 0 -1.25rem 2.5rem;
  padding: 0.85rem 1.25rem;
  background: var(--pr-white);
  border-top: 1px solid var(--pr-border);
  border-bottom: 1px solid var(--pr-border);
  box-shadow: 0 4px 20px rgba(44, 42, 38, 0.06);
}

@media (min-width: 768px) {
  .pr-cost-sticky {
    top: 57px;
    margin: 0 0 2.5rem;
    border-radius: var(--pr-radius);
    border: 1px solid var(--pr-border);
  }
}

.pr-cost-sticky-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1rem;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .pr-cost-sticky-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pr-cost-sticky-item span:first-child {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pr-muted);
  margin-bottom: 0.2rem;
}

.pr-cost-step {
  margin-bottom: 3rem;
  padding-bottom: 0.5rem;
}

.pr-cost-step h2 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0;
}

.pr-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--pr-accent);
  color: var(--pr-white);
  font-family: var(--pr-font);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.pr-step-hint {
  margin: -0.35rem 0 1rem;
}

.pr-pet-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 420px;
}

.pr-pet-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.25rem 1rem;
  border: 2px solid var(--pr-border);
  border-radius: var(--pr-radius);
  background: var(--pr-white);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.pr-pet-btn span:first-child,
.pr-pet-btn .pr-pet-toggle-icon {
  width: 2.5rem;
  height: auto;
  line-height: 1;
}

.pr-pet-toggle-icon {
  display: block;
  margin-bottom: 0.15rem;
}

.pr-pet-btn:hover {
  border-color: var(--pr-accent);
}

.pr-pet-btn.is-active {
  border-color: var(--pr-accent);
  background: var(--pr-accent-soft);
}

.pr-option-group {
  margin-bottom: 1.25rem;
}

.pr-option-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pr-muted);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pr-preset-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .pr-preset-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pr-preset-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 1rem;
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  background: var(--pr-white);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.pr-preset-card:hover {
  border-color: var(--pr-accent);
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--pr-shadow);
}

.pr-preset-card.is-active {
  border-color: var(--pr-accent);
  background: var(--pr-accent-soft);
}

.pr-preset-card strong {
  font-family: var(--pr-display);
  font-size: 0.95rem;
}

.pr-preset-sub {
  font-size: 0.78rem;
  line-height: 1.3;
}

.pr-learn-links {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--pr-border);
}

.pr-footer-link-grid,
.pr-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.pr-footer-link {
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--pr-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.pr-footer-link:hover {
  border-color: var(--pr-accent);
  color: var(--pr-accent);
}

.pr-section-spaced {
  margin-top: 3rem;
}

.pr-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.pr-ext-link,
a.pr-ext-btn {
  text-decoration: none;
}

.pr-ext-btn {
  display: inline-flex;
  align-items: center;
}

.pr-footer-ext {
  margin-top: 0.75rem;
  font-size: 0.82rem;
}

.pr-footer-ext a {
  color: var(--pr-muted);
}

.pr-footer-ext a:hover {
  color: var(--pr-accent);
}

.pr-saved-vets {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.pr-saved-vet {
  padding: 0.85rem 1rem;
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  margin-bottom: 0.5rem;
}

.pr-supply-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.pr-supply-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--pr-border);
}

.pr-resource-links {
  margin-bottom: 1.5rem;
}

.pr-local-page .pr-card {
  margin-bottom: 1.25rem;
}

.pr-insurance-row {
  margin-bottom: 1rem;
}

.pr-emergency-card {
  background: var(--pr-white);
  border: 2px solid var(--pr-border);
  border-radius: var(--pr-radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

@media print {
  .pr-nav,
  .pr-mobile-nav,
  .pr-footer,
  .pr-btn,
  .pr-link-btn {
    display: none !important;
  }

  .pr-emergency-card {
    border: 2px solid #000;
    break-inside: avoid;
  }

  .pr-main {
    max-width: none;
    padding: 0;
  }
}

/* Plan hub — personalized tips & accordion */
.pr-dash-header-themed {
  position: relative;
  padding-right: 3rem;
}

.pr-plan-pet-deco {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 2.5rem;
  opacity: 0.35;
  line-height: 1;
}

[data-pet="dog"] .pr-plan-pet-deco { opacity: 0.45; }
[data-pet="cat"] .pr-plan-pet-deco { opacity: 0.4; }

.pr-tip-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 540px) {
  .pr-tip-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .pr-tip-grid { grid-template-columns: repeat(3, 1fr); }
}

.pr-tip-card {
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  padding: 1rem 1.15rem;
  box-shadow: var(--pr-shadow);
}

.pr-tip-icon {
  font-size: 1.35rem;
  display: block;
  margin-bottom: 0.35rem;
}

.pr-tip-card h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.pr-tip-card p {
  font-size: 0.88rem;
  margin: 0 0 0.65rem;
}

.pr-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.pr-accordion {
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  overflow: hidden;
}

.pr-accordion summary {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.15rem 0.65rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  list-style: none;
  align-items: center;
}

.pr-accordion summary::-webkit-details-marker { display: none; }

.pr-accordion-icon {
  grid-row: span 2;
  font-size: 1.25rem;
}

.pr-accordion-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.pr-accordion-preview {
  grid-column: 2;
  font-size: 0.82rem;
}

.pr-accordion-body {
  padding: 0 1.15rem 1rem;
  border-top: 1px solid var(--pr-border);
}

.pr-plan-sections {
  margin-top: 2.5rem;
}

.pr-personalized {
  margin: 2rem 0;
  padding: 1.25rem;
  background: var(--pr-accent-soft);
  border-radius: var(--pr-radius);
  border: 1px solid var(--pr-border);
}

.pr-section-spaced {
  margin-top: 2.5rem;
}

/* Illustrations */
.pr-pet-illustration {
  width: 88px;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}

.pr-hero-cost > .pr-pet-illustration {
  width: 72px;
  opacity: 0.85;
}

.pr-paw-illustration {
  opacity: 0.7;
}

.pr-cost-preview-card .pr-pet-illustration {
  width: 64px;
  margin-bottom: 0.5rem;
}

.pr-quiz-header,
.pr-costs-header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .pr-quiz-header,
  .pr-costs-header-inner {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }

  .pr-quiz-header .pr-pet-illustration,
  .pr-costs-header-inner .pr-pet-illustration {
    margin: 0;
    flex-shrink: 0;
  }
}

.pr-hero-startup {
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--pr-muted);
  margin: 0.35rem 0 0.5rem;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

/* Startup breakdown table */
.pr-startup-table {
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  overflow: hidden;
  box-shadow: var(--pr-shadow);
}

.pr-startup-row {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.65rem 1rem;
  align-items: start;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--pr-border);
  transition: background 0.15s;
}

.pr-startup-row:last-child {
  border-bottom: none;
}

.pr-startup-row:not(.pr-startup-total):hover {
  background: var(--pr-accent-soft);
}

.pr-startup-total {
  background: var(--pr-peach-soft);
}

.pr-startup-icon {
  font-size: 1.15rem;
  line-height: 1.4;
}

.pr-startup-label {
  font-size: 0.92rem;
  line-height: 1.4;
}

.pr-startup-label small {
  display: block;
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.pr-startup-amt {
  font-size: 1rem;
  white-space: nowrap;
}

/* Empty state illustration */
.pr-empty-state {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--pr-white);
  border: 1px dashed var(--pr-border);
  border-radius: var(--pr-radius);
}

.pr-empty-state .pr-pet-illustration {
  opacity: 0.55;
  margin-bottom: 1rem;
}

/* Collapsible startup breakdown */
.pr-startup-details {
  background: transparent;
  border: none;
}

.pr-startup-details summary {
  cursor: pointer;
  list-style: none;
  margin-bottom: 0.75rem;
}

.pr-startup-details summary::-webkit-details-marker { display: none; }

.pr-startup-details summary h2 {
  display: inline;
  margin: 0;
}

.pr-startup-details summary h2 .pr-muted {
  font-family: var(--pr-font);
  font-size: 0.85rem;
  font-weight: 500;
}

.pr-breakdown-details,
.pr-sources-details {
  background: transparent;
  border: none;
}

.pr-breakdown-details summary,
.pr-sources-details summary {
  cursor: pointer;
  list-style: none;
  margin-bottom: 0.75rem;
}

.pr-breakdown-details summary::-webkit-details-marker,
.pr-sources-details summary::-webkit-details-marker { display: none; }

.pr-breakdown-details summary h2,
.pr-sources-details summary h2 {
  display: inline;
  margin: 0;
}

.pr-breakdown-details summary h2 .pr-muted {
  font-family: var(--pr-font);
  font-size: 0.85rem;
  font-weight: 500;
}

.pr-sources-list {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.65rem;
}

.pr-sources-list li {
  line-height: 1.45;
}

.pr-source-num {
  font-variant-numeric: tabular-nums;
  color: var(--pr-muted, #6b6560);
  margin-right: 0.25rem;
}

.pr-methodology-list {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
}

.pr-range-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--pr-muted, #6b6560);
  margin-top: 0.1rem;
}

.pr-startup-label small.pr-range-hint + small.pr-muted {
  margin-top: 0.05rem;
}

.pr-hero-research {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.pr-cost-sticky-item small.pr-muted {
  display: block;
  font-size: 0.72rem;
  margin-top: 0.15rem;
}

/* Cost wizard v2 */
.pr-wizard-page { padding-bottom: 6rem; }

.pr-wizard-progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  padding: 0 1rem 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.pr-wizard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pr-cream-deep);
  border: 1px solid var(--pr-border);
  transition: background 0.2s, transform 0.2s;
}

.pr-wizard-dot.is-done { background: var(--pr-accent); border-color: var(--pr-accent); }
.pr-wizard-dot.is-current { transform: scale(1.25); box-shadow: 0 0 0 2px var(--pr-accent-soft); }

.pr-wizard-step-label {
  width: 100%;
  font-size: 0.85rem;
  color: var(--pr-muted);
}

.pr-wizard-step {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.pr-wizard-big {
  min-height: 120px;
  font-size: 1.35rem;
}

.pr-breed-cost-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}

.pr-breed-cost-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 0.75rem;
  background: var(--pr-white);
  border: 2px solid var(--pr-border);
  border-radius: var(--pr-radius);
  cursor: pointer;
  text-align: center;
  font: inherit;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.pr-breed-cost-card:hover { border-color: var(--pr-accent); }
.pr-breed-cost-card.is-active {
  border-color: var(--pr-accent);
  box-shadow: 0 0 0 3px var(--pr-accent-soft);
}

.pr-breed-emoji { font-size: 2rem; line-height: 1; }

.pr-breed-photo-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--pr-cream-deep);
  flex-shrink: 0;
}

.pr-breed-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pr-breed-photo-hero {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.pr-results-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.pr-results-hero .pr-breed-photo-wrap {
  width: 96px;
  height: 96px;
}

.pr-location-callout,
.pr-rover-compare,
.pr-breed-why,
.pr-typical-callout,
.pr-optional-callout {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.pr-typical-callout {
  padding: 0.65rem 0.85rem;
  background: var(--pr-surface);
  border-radius: var(--pr-radius-sm);
  border-left: 3px solid var(--pr-primary);
}

.pr-optional-callout {
  color: var(--pr-muted);
}

.pr-rover-compare {
  padding: 0.65rem 0.85rem;
  background: var(--pr-peach-soft);
  border-radius: var(--pr-radius-sm);
  border-left: 3px solid var(--pr-accent);
}

.pr-emergency-section.is-highlight {
  border: 2px solid var(--pr-accent);
  border-radius: var(--pr-radius);
  padding: 1rem;
  background: var(--pr-accent-soft);
}

.pr-wizard-profile-chip {
  font-size: 0.85rem;
  color: var(--pr-muted);
  margin: 0 0 0.5rem;
  text-align: center;
}

.pr-wizard-profile-chip span:not(:last-child)::after {
  content: " · ";
}

.pr-welcome-back {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  box-shadow: var(--pr-shadow);
}

.pr-welcome-back-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.pr-plan-breed-thumb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.pr-dash-header-themed.has-breed-bg {
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
}

.pr-dash-header-themed {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem;
}

.pr-countdown-photo {
  background-size: cover;
  background-position: center;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: var(--pr-radius);
  position: relative;
}

.pr-countdown-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  border-radius: inherit;
  z-index: 0;
}

.pr-countdown-photo strong,
.pr-countdown-photo {
  position: relative;
  z-index: 1;
}

.pr-est-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.4rem;
  margin-left: 0.25rem;
  background: var(--pr-peach-soft);
  color: var(--pr-muted);
  border-radius: 4px;
  vertical-align: middle;
}

.pr-sticky-disclaimer {
  font-size: 0.75rem;
  color: var(--pr-muted);
  text-align: center;
  margin: 0 0 0.5rem;
  font-style: italic;
}

.pr-source-link {
  font-size: 0.78rem;
  color: var(--pr-blue-dark);
  text-decoration: none;
  white-space: nowrap;
}

.pr-source-link:hover { text-decoration: underline; }

.pr-source-inline {
  display: block;
  margin-top: 0.15rem;
}

.pr-est-note {
  display: block;
  font-size: 0.72rem;
  color: var(--pr-muted);
  font-style: italic;
}

.pr-acq-footnote,
.pr-acq-callout {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--pr-accent-soft);
  border-radius: var(--pr-radius);
  font-size: 0.9rem;
  line-height: 1.5;
}

.pr-results-lead {
  font-size: 0.95rem;
  color: var(--pr-muted);
  margin: 0.35rem 0 0;
}

.pr-sources-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 1rem 0;
}

.pr-sources-table th,
.pr-sources-table td {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid var(--pr-border);
  text-align: left;
  vertical-align: top;
}

.pr-sources-table th {
  font-weight: 600;
  background: var(--pr-cream-deep);
}

.pr-sources-table a {
  color: var(--pr-blue-dark);
  word-break: break-all;
}

.pr-bc-spca-card { margin-top: 1rem; }

.pr-strikethrough-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem;
}

.pr-strikethrough-list li { color: var(--pr-muted); }

.pr-included-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  font-size: 0.72rem;
  background: var(--pr-accent-soft);
  border-radius: 4px;
  color: var(--pr-sage-dark);
}

.pr-startup-row.is-included .pr-startup-label { color: var(--pr-muted); }

.pr-lifestyle-grid {
  display: grid;
  gap: 0.65rem;
}

.pr-lifestyle-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.85rem 1rem;
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  cursor: pointer;
}

.pr-lifestyle-item.is-active { border-color: var(--pr-accent); background: var(--pr-accent-soft); }

.pr-wizard-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: flex-end;
}

.pr-tier-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.pr-tier-tab {
  padding: 0.5rem 1rem;
  border: 1px solid var(--pr-border);
  border-radius: 999px;
  background: var(--pr-white);
  font: inherit;
  cursor: pointer;
}

.pr-tier-tab.is-active {
  background: var(--pr-accent);
  color: var(--pr-white);
  border-color: var(--pr-accent);
}

.pr-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pr-result-card {
  padding: 1rem;
  background: var(--pr-white);
  border-radius: var(--pr-radius);
  border: 1px solid var(--pr-border);
}

.pr-result-wide { grid-column: 1 / -1; }

.pr-driver-list { display: flex; flex-direction: column; gap: 0.5rem; }

.pr-driver-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  background: var(--pr-white);
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.pr-driver-btn.is-on { border-color: var(--pr-accent); background: var(--pr-accent-soft); }
.pr-driver-btn.is-off { opacity: 0.65; text-decoration: line-through; }

.pr-wizard-sticky { margin-bottom: 1rem; }

@media (max-width: 767px) {
  .pr-wizard-step { padding-bottom: 5rem; }
  .pr-wizard-nav { position: sticky; bottom: 72px; background: var(--pr-cream); padding: 0.75rem 0; z-index: 10; }
}
