/* PawReady — warm neutrals: cream, stone, sand, taupe (bright palette) */

:root {
  --pr-cream: #FDFCFA;
  --pr-stone: #FAFAF8;
  --pr-sand: #F0EDE8;
  --pr-surface: #F7F5F2;
  --pr-taupe: #A89F96;
  --pr-warm-gray: #6F6A64;
  --pr-charcoal: #4A4540;
  --pr-muted: #918B83;
  --pr-accent: #8BA3AB;
  --pr-accent-soft: #F0F4F5;
  --pr-warm: #D4C9BC;
  --pr-border: rgba(74, 69, 64, 0.06);
  --pr-shadow-color: rgba(74, 69, 64, 0.04);
  --pr-text: var(--pr-charcoal);
  --pr-ink: var(--pr-charcoal);
  --pr-white: #FFFFFF;
  --pr-shadow: 0 8px 32px var(--pr-shadow-color);
  --pr-radius: 16px;
  --pr-radius-lg: 1.5rem;
  --pr-font: "DM Sans", system-ui, sans-serif;
  --pr-display: "Fraunces", "DM Sans", Georgia, serif;
  --pr-blue: var(--pr-accent-soft);
  --pr-blue-dark: var(--pr-accent);
  --pr-blue-soft: var(--pr-accent-soft);
}

[data-pet="dog"] {
  --pr-accent: #8BA3AB;
  --pr-accent-soft: #F0F4F5;
}

[data-pet="cat"] {
  --pr-accent: #A89F96;
  --pr-accent-soft: rgba(168, 159, 150, 0.1);
}

*, *::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;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(250, 250, 248, 0.75), transparent),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(240, 244, 245, 0.45), transparent),
    linear-gradient(165deg, var(--pr-cream) 0%, var(--pr-stone) 42%, var(--pr-cream) 100%);
  position: relative;
  isolation: isolate;
}

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

.pr-site::before {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, var(--pr-sand) 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 {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--pr-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--pr-text);
  text-decoration: none;
}

.pr-logo-paw {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  color: var(--pr-taupe);
}

.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.95rem;
  font-weight: 500;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

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

.pr-nav-links a.is-active {
  color: var(--pr-charcoal);
  background: var(--pr-stone);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--pr-taupe);
}

.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;
  justify-content: center;
  gap: 0.15rem;
  text-align: center;
  min-height: 52px;
  padding: 0.5rem 0.35rem;
  font-size: 0.68rem;
  color: var(--pr-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

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

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

.pr-main--home .pr-home-cover {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2.5rem;
  position: relative;
}

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

/* Cost-first home cover */
.pr-home-cover {
  position: relative;
}

.pr-home-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.02;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='%23F4A4B8'%3E%3Cellipse cx='14' cy='12' rx='4' ry='5'/%3E%3Cellipse cx='34' cy='12' rx='4' ry='5'/%3E%3Cellipse cx='8' cy='22' rx='3.5' ry='4.5'/%3E%3Cellipse cx='40' cy='22' rx='3.5' ry='4.5'/%3E%3Cellipse cx='24' cy='30' rx='7' ry='8'/%3E%3C/g%3E%3Cpath d='M24 38c-1.5 0-2.5 1.2-2.5 2.5 0 1.4 1.1 2.5 2.5 2.5s2.5-1.1 2.5-2.5C26.5 39.2 25.5 38 24 38z' fill='%23E8DEFF'/%3E%3C/svg%3E");
  background-size: 48px 48px;
  z-index: 0;
}

.pr-home-cover > * {
  position: relative;
  z-index: 1;
}

.pr-main--home .pr-welcome-back {
  margin-bottom: 1.25rem;
}

.pr-home-hero {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem 1.25rem 2.25rem;
  border-radius: var(--pr-radius-lg);
  background: linear-gradient(
    165deg,
    var(--pr-stone) 0%,
    var(--pr-accent-soft) 48%,
    var(--pr-cream) 100%
  );
  border: 1px solid var(--pr-border);
  box-shadow: 0 12px 40px rgba(74, 69, 64, 0.04);
}

@media (min-width: 768px) {
  .pr-home-hero {
    padding: 2.75rem 2rem 2.5rem;
  }
}

.pr-home-hero-inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 720px) {
  .pr-home-hero-inner {
    grid-template-columns: 88px 1fr 88px;
    gap: 1.75rem;
  }
}

.pr-home-hero-copy {
  min-width: 0;
}

.pr-home-hero-copy .pr-lead {
  margin-left: auto;
  margin-right: auto;
}

.pr-home-hero-copy .pr-hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

.pr-home-hero-flank {
  display: none;
}

@media (min-width: 720px) {
  .pr-home-hero-flank {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.pr-home-hero-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(74, 69, 64, 0.06);
  border: 4px solid var(--pr-white);
  outline: 3px solid var(--pr-sand);
}

.pr-home-hero-flank--cat .pr-home-hero-photo {
  outline-color: var(--pr-taupe);
}

.pr-home-hero-flank--dog .pr-home-hero-photo {
  outline-color: var(--pr-sand);
}

.pr-home-breed-thumb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.65rem;
  box-shadow: 0 6px 18px rgba(74, 69, 64, 0.05);
  border: 3px solid var(--pr-white);
  outline: 2px solid var(--pr-sand);
  display: block;
}

.pr-cost-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 520px) {
  .pr-cost-cards {
    grid-template-columns: 1fr;
  }
}

.pr-cost-card {
  border-radius: var(--pr-radius-lg);
  padding: 1.35rem 1.15rem;
  text-align: center;
  box-shadow: var(--pr-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--pr-border);
}

.pr-cost-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 14px 44px rgba(74, 69, 64, 0.06);
}

.pr-cost-card-cat {
  background: var(--pr-white);
  border-top: 3px solid var(--pr-accent);
}

.pr-cost-card-dog {
  background: var(--pr-accent-soft);
  border-top: 3px solid var(--pr-accent);
}

.pr-cost-card strong {
  display: block;
  font-family: var(--pr-display);
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.pr-cost-card .pr-hero-startup {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.pr-cost-card-range {
  display: block;
  font-family: var(--pr-display);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 600;
  margin: 0.5rem 0 0.35rem;
  color: var(--pr-ink);
}

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

.pr-cost-card-foot {
  display: block;
  font-size: 0.78rem;
  color: var(--pr-muted);
  line-height: 1.35;
}

/* Tool hub */
.pr-tool-hub {
  margin-bottom: 2rem;
}

.pr-tool-hub h2 {
  margin-top: 0;
  font-size: 1.45rem;
}

.pr-tool-hub-lead {
  margin: -0.35rem 0 1.25rem;
}

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

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

.pr-tool-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 72px;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius-lg);
  box-shadow: var(--pr-shadow);
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.pr-tool-card:nth-child(4n + 1) { background: var(--pr-white); }
.pr-tool-card:nth-child(4n + 2) { background: var(--pr-surface); }
.pr-tool-card:nth-child(4n + 3) { background: var(--pr-accent-soft); }
.pr-tool-card:nth-child(4n + 4) { background: var(--pr-white); }

.pr-tool-card:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 44px rgba(74, 69, 64, 0.06);
  border-color: rgba(74, 69, 64, 0.08);
}

.pr-tool-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--pr-white);
  color: var(--pr-charcoal);
  box-shadow: 0 4px 12px rgba(74, 69, 64, 0.06);
}

.pr-tool-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.pr-tool-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pr-tool-body strong {
  font-family: var(--pr-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.pr-tool-body .pr-muted {
  font-size: 0.85rem;
  line-height: 1.35;
}

.pr-tool-arrow {
  flex-shrink: 0;
  color: var(--pr-accent);
  font-size: 1.15rem;
  font-weight: 600;
  transition: transform 0.2s;
}

.pr-tool-card:hover .pr-tool-arrow {
  transform: translateX(3px);
}

/* Quick links row */
.pr-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  padding-top: 0.5rem;
  border-top: 1px solid var(--pr-border);
}

.pr-quick-link {
  padding: 0.55rem 1rem;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--pr-border);
  background: var(--pr-white);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--pr-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.pr-quick-link:hover {
  border-color: var(--pr-accent);
  color: var(--pr-accent);
  background: var(--pr-accent-soft);
}

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 rgba(74, 69, 64, 0.12);
}

.pr-btn-primary:hover {
  background: #7A939C;
}

.pr-btn-secondary {
  background: var(--pr-stone);
  color: var(--pr-text);
  border: 1px solid var(--pr-sand);
}

.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(74, 69, 64, 0.06);
}

.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-row--plan {
  grid-template-columns: repeat(2, 1fr);
}

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

@media (min-width: 900px) {
  .pr-pillar-row--plan { grid-template-columns: repeat(6, 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-charcoal);
  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(74, 69, 64, 0.04);
}

.pr-quiz-option:hover {
  border-color: var(--pr-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 69, 64, 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-stone);
  border-radius: 999px;
  overflow: hidden;
  margin: 0.5rem 0;
}

.pr-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pr-accent), var(--pr-accent-soft));
  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-page .pr-match-hint {
  margin-top: 0.35rem;
  font-size: 0.9rem;
}

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

@media (max-width: 639px) {
  .pr-match-cards {
    grid-template-columns: 1fr;
  }
}

.pr-match-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  background: var(--pr-white);
  border: 2px solid var(--pr-border);
  border-radius: var(--pr-radius);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.pr-match-card:hover {
  transform: translateY(-2px);
  border-color: var(--pr-accent);
}

.pr-match-card:focus-visible {
  outline: 2px solid var(--pr-sand);
  outline-offset: 2px;
}

.pr-match-card.is-active,
.pr-match-card.is-winner {
  border-color: var(--pr-accent);
  background: var(--pr-accent-soft);
  box-shadow: 0 0 0 3px var(--pr-accent-soft);
}

.pr-match-card.is-suggested:not(.is-active) {
  border-color: color-mix(in srgb, var(--pr-accent) 45%, var(--pr-border));
}

.pr-match-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--pr-accent);
  color: var(--pr-white);
}

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

.pr-breed-section {
  margin-top: 2.25rem;
  padding-top: 0.5rem;
}

/* Embedded breed directories — native dog catalog + Cats.com iframe */
.pr-breed-embed {
  margin-top: 0.75rem;
}

.pr-breed-embed-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.pr-breed-embed-tab {
  flex: 1;
  max-width: 12rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  background: var(--pr-white);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.pr-breed-embed-tab:hover {
  background: var(--pr-surface);
}

.pr-breed-embed-tab.is-active {
  border-color: var(--pr-accent);
  background: var(--pr-accent-soft);
  color: var(--pr-accent);
}

.pr-breed-embed-tab:focus-visible {
  outline: 2px solid var(--pr-accent);
  outline-offset: 2px;
}

.pr-breed-embed-count {
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.pr-breed-embed-frame-wrap {
  width: 100%;
  min-height: min(70vh, 640px);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  overflow: hidden;
  background: var(--pr-white);
}

.pr-breed-embed-frame {
  display: block;
  width: 100%;
  min-height: min(70vh, 640px);
  height: 70vh;
  border: none;
  background: var(--pr-surface);
}

.pr-breed-embed-frame--detail {
  min-height: min(60vh, 520px);
  height: 60vh;
}

.pr-breed-embed-fallback-hint {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
}

.pr-breed-embed-calc {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  background: var(--pr-surface);
}

.pr-breed-embed-calc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: flex-end;
  margin-top: 0.5rem;
}

.pr-breed-embed-calc-field {
  flex: 1 1 10rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pr-breed-embed-calc-label {
  font-size: 0.78rem;
}

.pr-breed-embed-calc-field select,
.pr-breed-embed-calc-field input {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius-sm);
  font: inherit;
  background: var(--pr-white);
}

.pr-breed-embed-attribution {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: var(--pr-muted);
  line-height: 1.4;
}

.pr-breed-catalog {
  margin-top: 0.25rem;
}

.pr-breed-catalog-hero {
  margin: 0 0 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: var(--pr-radius);
  background:
    linear-gradient(135deg, var(--pr-stone) 0%, var(--pr-cream) 55%, var(--pr-accent-soft) 100%);
  border: 1px solid var(--pr-border);
}

.pr-breed-catalog-hero-title {
  margin: 0 0 0.35rem;
  font-family: var(--pr-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--pr-charcoal);
}

.pr-breed-catalog-hero-sub {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.pr-breed-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  gap: 0.65rem;
  max-height: min(70vh, 640px);
  overflow-y: auto;
  margin-top: 0.65rem;
  padding: 0.5rem;
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  background:
    linear-gradient(180deg, var(--pr-white) 0%, var(--pr-stone) 100%);
  -webkit-overflow-scrolling: touch;
}

.pr-breed-catalog-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.4rem;
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius-sm);
  background: var(--pr-white);
  font: inherit;
  font-size: 0.78rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.pr-breed-catalog-card:hover {
  border-color: var(--pr-accent);
  background: var(--pr-accent-soft);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--pr-shadow-color);
}

.pr-breed-catalog-photo {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: cover;
  border-radius: var(--pr-radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px var(--pr-shadow-color);
}

.pr-breed-catalog-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  font-size: 1.75rem;
  background: linear-gradient(145deg, var(--pr-accent-soft), var(--pr-stone));
  border-radius: var(--pr-radius-sm);
}

.pr-breed-catalog-name {
  line-height: 1.25;
  word-break: break-word;
  font-weight: 500;
}

.pr-breed-catalog-detail-title {
  margin: 0 0 0.5rem;
  font-family: var(--pr-display);
  font-size: 1.35rem;
  color: var(--pr-charcoal);
}

.pr-breed-catalog-profile {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .pr-breed-catalog-profile {
    grid-template-columns: minmax(200px, 280px) 1fr;
    align-items: start;
  }
}

.pr-breed-catalog-hero-photo {
  border-radius: var(--pr-radius);
  overflow: hidden;
  background: linear-gradient(145deg, var(--pr-accent-soft), var(--pr-stone));
  border: 1px solid var(--pr-border);
  min-height: 180px;
}

.pr-breed-catalog-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
}

.pr-breed-catalog-hero-photo.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  min-height: 200px;
}

.pr-breed-catalog-profile-body {
  padding: 0.85rem 1rem;
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  background: var(--pr-white);
}

.pr-breed-catalog-description {
  margin: 0.65rem 0 0.75rem;
  line-height: 1.55;
  font-size: 0.95rem;
}

.pr-breed-trait-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.25rem 0 0.5rem;
}

.pr-breed-trait-chip {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--pr-charcoal);
  background: var(--pr-accent-soft);
  border: 1px solid var(--pr-border);
  border-radius: 999px;
}

.pr-breed-catalog-detail-body {
  padding: 0.75rem 1rem;
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  background: var(--pr-white);
  min-height: min(40vh, 360px);
}

.pr-breed-catalog-detail-hint {
  margin-top: 1rem;
  font-size: 0.88rem;
}

/* Inline breed directory — master-detail (quick pick legacy) */
.pr-breed-directory {
  margin-top: 0.75rem;
}

.pr-breed-directory-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.5rem;
}

.pr-breed-count {
  font-size: 0.88rem;
  white-space: nowrap;
}

.pr-breed-master-detail {
  display: grid;
  gap: 1rem;
  margin-top: 0.75rem;
}

@media (min-width: 768px) {
  .pr-breed-master-detail {
    grid-template-columns: minmax(200px, 280px) 1fr;
    align-items: start;
  }
}

.pr-breed-list-wrap {
  max-height: min(65vh, 640px);
  overflow-y: auto;
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  background: var(--pr-white);
  -webkit-overflow-scrolling: touch;
}

.pr-breed-list {
  display: flex;
  flex-direction: column;
}

.pr-breed-list-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: none;
  border-bottom: 1px solid var(--pr-border);
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background 0.15s;
}

.pr-breed-list-card:last-child {
  border-bottom: none;
}

.pr-breed-list-card:hover,
.pr-breed-list-card.is-preview {
  background: var(--pr-surface);
}

.pr-breed-list-card.is-active {
  background: var(--pr-accent-soft);
}

.pr-breed-list-card.is-active.is-preview {
  box-shadow: inset 3px 0 0 var(--pr-accent);
}

.pr-breed-list-photo {
  width: 48px;
  height: 48px;
  border-radius: var(--pr-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--pr-surface);
}

.pr-breed-list-name {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.25;
}

.pr-breed-detail-wrap {
  min-width: 0;
}

.pr-breed-profile-panel {
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  padding: 1rem 1.1rem 1.15rem;
}

.pr-breed-profile-intro h3 {
  margin: 0 0 0.5rem;
  font-family: var(--pr-display);
}

.pr-breed-profile-photo-wrap {
  margin: -0.25rem -0.1rem 0.85rem;
  border-radius: var(--pr-radius-sm);
  overflow: hidden;
  background: var(--pr-surface);
}

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

.pr-breed-profile-name {
  margin: 0 0 0.5rem;
  font-family: var(--pr-display);
  font-size: 1.35rem;
}

.pr-breed-profile-overview {
  margin: 0 0 0.75rem;
  line-height: 1.55;
  font-size: 0.95rem;
}

.pr-breed-profile-stats,
.pr-breed-profile-row,
.pr-breed-profile-care,
.pr-breed-profile-tips {
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.pr-breed-profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin: 1rem 0 0.75rem;
}

.pr-breed-profile-panel.is-selected .pr-btn-secondary.is-active {
  border-color: var(--pr-accent);
  background: var(--pr-accent-soft);
}

.pr-breed-attribution {
  margin: 0.75rem 0 0;
  font-size: 0.72rem;
  color: var(--pr-muted);
  line-height: 1.4;
}

.pr-breed-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.75rem;
}

.pr-breed-section-head h2 {
  margin: 0;
}

.pr-breed-search {
  display: block;
  margin-bottom: 0.75rem;
}

.pr-breed-search input {
  width: 100%;
  max-width: 22rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius-sm);
  font: inherit;
  background: var(--pr-white);
}

.pr-breed-search input:focus {
  outline: 2px solid var(--pr-accent);
  outline-offset: 1px;
}

.pr-breed-grid-wrap {
  max-height: min(70vh, 880px);
  overflow-y: auto;
  margin-top: 0.5rem;
  padding-right: 0.25rem;
  -webkit-overflow-scrolling: touch;
}

.pr-breed-empty {
  padding: 2rem 1rem;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Breeds */
.pr-breed-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 639px) {
  .pr-breed-grid {
    grid-template-columns: 1fr;
  }
}

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

.pr-breed-card {
  display: flex;
  flex-direction: column;
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.pr-breed-card-photo-wrap {
  height: 160px;
  background: var(--pr-stone);
  overflow: hidden;
  border-radius: var(--pr-radius) var(--pr-radius) 0 0;
}

.pr-breed-card-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center;
  display: block;
  outline: 2px solid var(--pr-sand);
  outline-offset: -2px;
}

.pr-breed-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 1rem 1rem;
}

.pr-breed-card h3,
.pr-breed-card-body h3 {
  margin-top: 0.85rem;
  margin-bottom: 0.35rem;
}

.pr-breed-card p,
.pr-breed-card-body p {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
}

.pr-breed-card .pr-tags,
.pr-breed-card-body .pr-tags {
  margin: 0;
}

.pr-breed-card .pr-badge,
.pr-breed-card-body .pr-badge {
  margin-top: 0.35rem;
}

.pr-breed-card h3,
.pr-breed-card p,
.pr-breed-card .pr-tags,
.pr-breed-card .pr-badge,
.pr-breed-card .pr-breed-cost-link,
.pr-breed-card-body h3,
.pr-breed-card-body p,
.pr-breed-card-body .pr-tags,
.pr-breed-card-body .pr-badge,
.pr-breed-card-body .pr-breed-cost-link {
  margin-left: 0;
  margin-right: 0;
}

.pr-breed-card h3 {
  margin-top: 0.85rem;
  margin-bottom: 0.35rem;
}

.pr-breed-card p {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
}

.pr-breed-cost-link {
  margin-top: 0.65rem;
  margin-bottom: 0;
  align-self: flex-start;
}

.pr-breed-learn-more {
  margin-top: 0.35rem;
  align-self: flex-start;
}

.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-stone);
  color: var(--pr-charcoal);
  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-stone);
  border-radius: 999px;
  overflow: hidden;
}

.pr-chart-bar div {
  height: 100%;
  background: linear-gradient(90deg, var(--pr-warm), var(--pr-accent));
  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-accent); }
.pr-afford-possible { border-left-color: var(--pr-accent); }
.pr-afford-tight { border-left-color: var(--pr-warm); }

/* 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-surface);
  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-warm); }
.pr-severity-low { border-left: 4px solid var(--pr-blue); }

.pr-disclaimer {
  background: var(--pr-surface);
  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-stone); }

/* 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; }

/* Email signup */
.pr-signup {
  text-align: left;
  max-width: 28rem;
  margin: 0 auto 2rem;
  padding: 1.25rem 1.25rem 1.35rem;
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: 18px;
}

.pr-signup h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.6rem;
  margin: 0.2rem 0 0.4rem;
}

.pr-signup .pr-field { margin-bottom: 0.75rem; }

.pr-signup-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.2rem 0 1rem;
  font-size: 0.92rem;
  line-height: 1.4;
}

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

.pr-signup-status {
  min-height: 1.2rem;
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
}

/* 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-sand);
  outline-offset: 2px;
}

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

@keyframes pr-hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pr-hero-fade {
  animation: pr-hero-fade-in 0.75s ease-out both;
}

.pr-hero-fade-delay {
  animation-delay: 0.18s;
}

.pr-hero-cost {
  padding: 1.75rem 1.25rem 2.5rem;
  background: linear-gradient(165deg, var(--pr-surface) 0%, var(--pr-cream) 42%, rgba(240, 244, 245, 0.3) 100%);
  border-radius: calc(var(--pr-radius) + 2px);
  margin: 0 -0.25rem 0.5rem;
}

@media (min-width: 768px) {
  .pr-hero-cost {
    padding: 3rem 2rem 2.5rem;
  }
}

.pr-hero-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .pr-hero-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 2.5rem;
  }
}

.pr-hero-copy {
  min-width: 0;
}

.pr-hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 1.5rem 0;
}

.pr-hero-illustration {
  display: block;
  width: 100%;
  max-width: min(360px, 100%);
  height: auto;
  flex: 1 1 260px;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(74, 69, 64, 0.12);
  background: var(--pr-white);
}

.pr-hero-photos {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.pr-hero-visual .pr-hero-photo {
  position: static;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(74, 69, 64, 0.14);
  border: 3px solid var(--pr-white);
  transform: none;
}

.pr-hero-photo--dog {
  width: 112px;
  height: 112px;
}

.pr-hero-photo--cat {
  width: 112px;
  height: 112px;
}

@media (min-width: 900px) {
  .pr-hero-visual {
    flex-direction: row;
    max-width: 720px;
    gap: 2rem;
    margin: 0 0 0 auto;
    padding: 2rem 0;
  }

  .pr-hero-photo--dog,
  .pr-hero-photo--cat {
    width: 120px;
    height: 120px;
  }
}

.pr-cost-preview-photo,
.pr-header-breed-photo {
  display: block;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(74, 69, 64, 0.1);
  border: 2px solid var(--pr-white);
  margin: 0 auto 0.65rem;
}

.pr-cost-preview-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  outline: 2px solid var(--pr-sand);
  outline-offset: 2px;
}

.pr-header-breed-photo {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .pr-header-breed-photo {
    margin: 0;
  }
}

.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-accent); }
.pr-cost-preview-dog { border-top: 3px solid var(--pr-accent); }

.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(74, 69, 64, 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: 1rem;
}

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

/* Breed photo headers (replaces primitive illustrations) */

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

.pr-hero-copy .pr-hero-startup {
  margin-left: 0;
  margin-right: 0;
}

/* 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-surface);
}

.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-header-breed-photo,
.pr-empty-state .pr-cost-preview-photo {
  opacity: 0.9;
  margin-bottom: 1rem;
}

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

/* 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, #918B83);
  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, #918B83);
  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 v3 — 3-step flow */
.pr-wizard-page { padding-bottom: 6rem; }

.pr-wizard-progress-v3 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1rem 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}

.pr-wizard-progress-track {
  display: flex;
  gap: 0.35rem;
  width: 100%;
}

.pr-wizard-seg {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--pr-border);
  transition: background 0.25s, transform 0.2s;
}

.pr-wizard-seg.is-done { background: var(--pr-accent); }
.pr-wizard-seg.is-current { background: var(--pr-accent); transform: scaleY(1.5); }

.pr-est-badge-top {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  background: var(--pr-stone);
  color: var(--pr-muted);
  border-radius: 999px;
  border: 1px solid var(--pr-border);
}

.pr-situation-card {
  margin: 0 0 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
}

.pr-situation-card summary.pr-situation-label {
  cursor: pointer;
  list-style: none;
}

.pr-situation-card summary.pr-situation-label::-webkit-details-marker { display: none; }

.pr-situation-label {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pr-ink);
}

.pr-situation-note {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--pr-border);
}

.pr-situation-hint {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
}

.pr-services-group {
  margin-top: 1rem;
}

.pr-services-group:first-child { margin-top: 0.5rem; }

.pr-skip-link-wrap {
  text-align: center;
  margin: 1rem 0 0;
}

.pr-results-dashboard {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pr-results-headline-nums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0.5rem 0 1rem;
}

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

.pr-result-hero-num .pr-cost-xl {
  display: block;
  margin: 0.25rem 0;
  font-size: clamp(1.75rem, 6vw, 2.25rem);
}

.pr-results-panel {
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  padding: 0.85rem 1rem;
}

.pr-results-panel summary {
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.25rem 0;
  color: var(--pr-ink);
}

.pr-results-panel[open] summary {
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--pr-border);
}

.pr-adjust-panel {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pr-tier-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.pr-tier-compare-card {
  padding: 0.75rem;
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius-sm);
  text-align: center;
  font-size: 0.88rem;
}

.pr-tier-compare-card.is-active {
  border-color: var(--pr-blue);
  background: var(--pr-blue-soft, var(--pr-accent-soft));
}

.pr-tier-compare-card h4 {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
}

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

.pr-emergency-card.is-highlight {
  border-color: var(--pr-blue);
  background: var(--pr-blue-soft, var(--pr-accent-soft));
}

.pr-emergency-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.pr-sticky-simple .pr-cost-sticky-inner {
  grid-template-columns: 1fr 1fr;
}

.pr-quick-estimate-footer {
  margin-top: 1.5rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--pr-border);
  font-size: 0.88rem;
}

.pr-quick-estimate-footer summary {
  cursor: pointer;
  color: var(--pr-muted);
  font-weight: 500;
}

@media (max-width: 480px) {
  .pr-results-headline-nums { grid-template-columns: 1fr; }
  .pr-tier-compare-grid { grid-template-columns: 1fr; }
  .pr-chip-row .pr-chip { min-height: 44px; }
}

/* Cost wizard v2 (legacy helpers) */
.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: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pr-stone);
  border: 1px solid var(--pr-border);
  transition: background 0.2s, transform 0.2s;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pr-wizard-dot-icon { font-size: 0.65rem; line-height: 1; opacity: 0.7; }
.pr-wizard-dot.is-done .pr-wizard-dot-icon,
.pr-wizard-dot.is-current .pr-wizard-dot-icon { opacity: 1; }

.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-wrap {
  max-height: min(52vh, 520px);
  overflow-y: auto;
  margin: 0 -0.25rem;
  padding: 0.25rem;
  -webkit-overflow-scrolling: touch;
}

.pr-breed-search-wrap {
  display: block;
  margin: 0 0 0.75rem;
}

.pr-breed-search {
  width: 100%;
  max-width: 360px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius-sm);
  font: inherit;
  background: var(--pr-white);
}

.pr-breed-search:focus {
  outline: 2px solid var(--pr-accent-soft);
  border-color: var(--pr-accent);
}

.pr-breed-cost-card.is-hidden,
.pr-breed-cost-card-wrap.is-hidden {
  display: none;
}

.pr-breed-cost-card-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pr-breed-search-head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}

.pr-breed-search-subtitle {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.pr-breed-directory-wrap {
  margin: 0 0 0.75rem;
}

.pr-breed-directory-link {
  font-size: 0.9rem;
  font-weight: 600;
}

.pr-breed-learn-more {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  margin-top: 0.15rem;
}

.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: stretch;
  gap: 0.35rem;
  padding: 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 .pr-breed-photo-wrap {
  width: 100%;
  margin-bottom: 0.25rem;
}

.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: 100%;
  height: 120px;
  border-radius: var(--pr-radius);
  overflow: hidden;
  background: var(--pr-stone);
  flex-shrink: 0;
  outline: 2px solid var(--pr-sand);
  outline-offset: -2px;
}

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

.pr-breed-photo-hero {
  width: 120px;
  height: 120px;
  border-radius: var(--pr-radius);
  object-fit: cover;
  flex-shrink: 0;
  outline: 2px solid var(--pr-sand);
}

.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-surface);
  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-welcome-breed {
  font-weight: 600;
  vertical-align: baseline;
}

.pr-match-selected {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  padding: 0.65rem 0.85rem;
  margin: 0 0 1rem;
  border-radius: var(--pr-radius-sm);
  background: var(--pr-accent-soft);
  border: 1px solid var(--pr-border);
}

.pr-pet-editor {
  margin: 1.25rem 0 1.5rem;
}

.pr-pet-editor-hint {
  margin: 0.75rem 0 0;
}

.pr-plan-breed-link {
  font-weight: 600;
}

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

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

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

.pr-acq-preview-card {
  margin-top: 1rem;
  border: 1px solid var(--pr-border);
}

.pr-acq-preview-rows {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.75rem 0;
}

.pr-acq-preview-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--pr-border);
}

.pr-acq-preview-row.is-included { color: var(--pr-muted); }
.pr-acq-preview-row.is-emphasized {
  background: var(--pr-accent-soft);
  padding: 0.5rem 0.65rem;
  border-radius: var(--pr-radius-sm);
  border-bottom: none;
}

.pr-acq-preview-total { margin-top: 0.75rem; font-size: 0.95rem; }

.pr-acq-path-banner {
  margin: 0.5rem 0;
  padding: 0.65rem 1rem;
  background: var(--pr-blue-soft, var(--pr-accent-soft));
  border-radius: var(--pr-radius);
  font-size: 0.95rem;
}

.pr-acq-path-section { margin-top: 0.5rem; }

.pr-path-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1rem 0;
}

.pr-path-compare-table th,
.pr-path-compare-table td {
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--pr-border);
  text-align: center;
}

.pr-path-compare-table th:first-child,
.pr-path-compare-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.pr-path-compare-table th.is-selected,
.pr-path-compare-table td.is-selected {
  background: var(--pr-accent-soft);
  font-weight: 600;
}

.pr-path-compare-details,
.pr-acq-impact-details {
  margin-top: 0.75rem;
}

.pr-ghost-compare {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--pr-muted);
}

.pr-ghost-path {
  display: inline;
  font-size: inherit;
}

.pr-startup-row.is-emphasized {
  background: var(--pr-accent-soft);
  border-radius: var(--pr-radius-sm);
  padding: 0.35rem 0.5rem;
}

.pr-family-spay-prompt { 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-charcoal);
}

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

/* —— Evidence breakdown & visuals —— */

.pr-step-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
  padding: 1.35rem 1.75rem;
  background: var(--pr-white);
  border-radius: var(--pr-radius);
  border: 1px solid var(--pr-border);
  box-shadow: var(--pr-shadow);
}

.pr-step-flow-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.pr-step-flow-photo {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pr-white);
  box-shadow: 0 4px 12px rgba(74, 69, 64, 0.1);
  flex-shrink: 0;
}

.pr-step-flow-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pr-accent-soft);
  color: var(--pr-accent);
  flex-shrink: 0;
}

.pr-step-flow-icon-circle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pr-step-flow-arrow { color: var(--pr-muted); margin: 0 0.15rem; }

.pr-steps-grid .pr-step-card { position: relative; transition: transform 0.2s, box-shadow 0.2s; }
.pr-steps-grid .pr-step-card:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(74, 69, 64, 0.1); }

.pr-premium-banner {
  padding: 0.75rem 1rem;
  background: var(--pr-blue-soft);
  border: 1px solid var(--pr-blue);
  border-radius: var(--pr-radius-sm);
  font-size: 0.92rem;
  margin: 0.5rem 0;
}

.pr-results-headline-block { margin: 0.75rem 0; }
.pr-results-headline { font-size: 1.05rem; margin: 0.35rem 0; }

.pr-bare-vs-rec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1rem 0;
}

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

.pr-mini-stat-rec { border-color: var(--pr-accent); background: var(--pr-accent-soft); }

.pr-stacked-bar {
  display: flex;
  height: 28px;
  border-radius: 999px;
  overflow: hidden;
  margin: 1rem 0 0.75rem;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.08);
}

.pr-stacked-seg { display: block; min-width: 2px; transition: width 0.4s ease; }

.pr-stacked-legend { display: flex; flex-direction: column; gap: 0.35rem; }

.pr-stacked-legend-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  border-radius: var(--pr-radius-sm);
}

.pr-breakdown-seg summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  border-radius: var(--pr-radius-sm);
  list-style: none;
}

.pr-breakdown-seg summary::-webkit-details-marker { display: none; }
.pr-breakdown-seg[open] summary { background: var(--pr-accent-soft); }

.pr-breakdown-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

.pr-breakdown-seg-icon {
  width: 20px;
  height: 20px;
  color: var(--pr-muted);
  flex-shrink: 0;
}

.pr-breakdown-seg-icon svg { width: 100%; height: 100%; }

.pr-breakdown-seg-body {
  padding: 0.5rem 0.65rem 0.75rem 2.5rem;
  font-size: 0.9rem;
}

.pr-formula-callout {
  padding: 0.85rem 1rem;
  background: var(--pr-surface);
  border-radius: var(--pr-radius-sm);
  border-left: 3px solid var(--pr-accent);
  margin: 0.75rem 0;
  font-size: 0.92rem;
}

.pr-math-table { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 0.75rem; }

.pr-math-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--pr-border);
  font-size: 0.9rem;
}

.pr-math-row small { grid-column: 1 / -1; }

.pr-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-top: 0.75rem;
}

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

.pr-compare-table th { font-size: 0.75rem; text-transform: uppercase; color: var(--pr-muted); }

.pr-source-info {
  position: relative;
  display: inline-flex;
  cursor: help;
}

.pr-source-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--pr-muted);
  color: var(--pr-white);
  font-size: 0.65rem;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, serif;
}

.pr-source-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 260px;
  padding: 0.5rem 0.65rem;
  background: var(--pr-ink);
  color: var(--pr-white);
  font-size: 0.78rem;
  border-radius: 6px;
  z-index: 50;
  font-style: normal;
  line-height: 1.4;
}

.pr-source-tooltip a { color: var(--pr-blue-dark); }

.pr-source-info:hover .pr-source-tooltip,
.pr-source-info:focus .pr-source-tooltip { display: block; }

.pr-how-calculate { margin: 1.5rem 0; }
.pr-how-calculate summary { cursor: pointer; }
.pr-how-calculate summary h3 { display: inline; margin: 0; }

.pr-calc-steps { padding-left: 1.25rem; margin: 0.75rem 0; }
.pr-calc-steps li { margin-bottom: 0.5rem; }

.pr-breed-photo-xl { width: 120px !important; height: 120px !important; }
.pr-breed-photo-xl .pr-breed-photo { width: 120px; height: 120px; }

.pr-result-hero-card {
  grid-column: 1 / -1;
  background: var(--pr-accent-soft);
  border-color: var(--pr-accent);
}

.pr-tier-tab-default { font-weight: 700; }

.pr-breed-cost-card {
  transition: transform 0.2s, box-shadow 0.2s;
}

.pr-breed-cost-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 69, 64, 0.1);
}

.pr-compat-meter { margin: 0.75rem 0; }

.pr-compat-track {
  height: 10px;
  background: var(--pr-stone);
  border-radius: 999px;
  overflow: hidden;
}

.pr-compat-fill {
  height: 100%;
  width: var(--compat-pct);
  background: var(--compat-color);
  border-radius: 999px;
  transition: width 0.6s ease;
}

.pr-compat-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.35rem;
  color: var(--pr-muted);
}

.pr-progress-ring {
  position: relative;
  width: var(--ring-size);
  height: var(--ring-size);
  margin: 0 auto 0.35rem;
}

.pr-progress-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  line-height: 1.2;
}

.pr-progress-ring-label strong { font-size: 1rem; }
.pr-progress-ring-label small { color: var(--pr-muted); font-size: 0.65rem; }

.pr-stat-ring { text-align: center; }

@keyframes pr-count-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); color: var(--pr-accent); }
  100% { transform: scale(1); }
}

.pr-cost-updating,
.pr-count-up { animation: pr-count-pulse 0.35s ease; }

.pr-link-inline { color: var(--pr-accent); font-weight: 600; cursor: pointer; background: none; border: none; font: inherit; text-decoration: underline; }

/* First-time photo guides */
.pr-guide-hero {
  position: relative;
  border-radius: var(--pr-radius-lg);
  overflow: hidden;
  margin: 0 0 1.25rem;
}

.pr-guide-hero img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.pr-guide-hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1.25rem 1.2rem;
  background: linear-gradient(transparent, rgba(28, 24, 20, 0.78));
  color: #fff;
}

.pr-guide-hero-copy h1,
.pr-guide-hero-copy p {
  color: #fff;
  margin: 0.2rem 0 0;
}

.pr-guide-hero-copy h1 {
  font-family: var(--pr-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.pr-guide-hero-copy p:last-child {
  font-family: var(--pr-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 400;
  line-height: 1.35;
  max-width: 36rem;
}

.pr-guide-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pr-muted);
}

.pr-guide-hero-copy .pr-guide-kicker { color: rgba(255, 255, 255, 0.82); }

.pr-guide-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .pr-guide-grid { grid-template-columns: 1fr 1fr; }
}

.pr-guide-card {
  display: flex;
  flex-direction: column;
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--pr-shadow);
}

.pr-guide-card img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.pr-guide-card div { padding: 0.85rem 1rem 1.05rem; }

.pr-guide-card h2 {
  font-family: var(--pr-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0.3rem 0 0.4rem;
}

.pr-guide-card p:last-child {
  margin: 0;
  color: var(--pr-warm-gray);
  font-size: 1.05rem;
  line-height: 1.45;
}

.pr-guide-figure { margin: 1.1rem 0 1.25rem; }

.pr-guide-figure img {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: var(--pr-radius);
}

.pr-guide-figure figcaption {
  margin-top: 0.45rem;
  font-size: 0.95rem;
  color: var(--pr-muted);
}

.pr-guide h1 {
  font-family: var(--pr-display);
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0.35rem 0 0.75rem;
}

.pr-guide .pr-lead {
  font-family: var(--pr-display);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: var(--pr-charcoal);
  max-width: 38rem;
}

.pr-guide p {
  font-size: 1.15rem;
  line-height: 1.65;
}

.pr-guide .pr-guide-kicker {
  font-family: var(--pr-font);
  font-size: 0.85rem;
  font-style: normal;
  letter-spacing: 0.06em;
}

.pr-guide h2 {
  font-family: var(--pr-display);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
}

.pr-guide-compare {
  display: grid;
  gap: 0.75rem;
  margin: 0.75rem 0 1.25rem;
}

@media (min-width: 640px) {
  .pr-guide-compare { grid-template-columns: 1fr 1fr; }
}

.pr-guide-compare article {
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  padding: 0.9rem 1rem;
}

.pr-guide-compare h3 {
  font-family: var(--pr-display);
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}

.pr-guide-compare p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.5;
}

.pr-guide-note {
  margin-top: 1.25rem;
  color: var(--pr-muted);
  font-size: 0.9rem;
}

.pr-guide-back { margin: 0 0 0.75rem; }

.pr-guide-next {
  display: block;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--pr-radius);
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  text-decoration: none;
  color: inherit;
}

.pr-guide-next span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pr-muted);
}

.pr-guide-next strong {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--pr-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pr-match-guides { margin: 1.35rem 0 1.6rem; }

.pr-match-guides-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.pr-match-guides h2 {
  font-family: var(--pr-display);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
  margin: 0;
}

.pr-guide-grid--match .pr-guide-card img { height: 168px; }

.pr-guide-grid--match .pr-guide-card h2 { font-size: 1.28rem; }

@media (min-width: 900px) {
  .pr-guide-grid--match { grid-template-columns: 1fr 1fr 1fr; }
}
