
html, body {
    margin: 0;
    padding: 0;
    background: var(--pp-bg);
    font-family: var(--pp-font-ui);
    color: var(--pp-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
a { color: inherit; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    background: var(--pp-text);
    color: var(--pp-text-on-dark);
    border-radius: 8px;
    z-index: 100;
    font-weight: 600;
}

.pp-wrap {
    max-width: 840px;
    margin: 0 auto;
    padding: 0 24px;
}
@media (min-width: 768px) {
    .pp-wrap { padding: 0 40px; }
}

/* Nav --------------------------------------------------------- */
.pp-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250, 249, 247, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--pp-border);
}
.pp-nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.pp-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.pp-brand-mark {
    width: 32px; height: 32px;
    border-radius: 10px;
    background: var(--pp-primary);
    overflow: hidden;
    display: flex;
}
.pp-brand-mark img, .pp-brand-mark picture { width: 32px; height: 32px; object-fit: cover; }
.pp-brand-name {
    font-family: var(--pp-font-display);
    font-weight: 700;
    font-size: 21px;
    color: var(--pp-text);
    letter-spacing: -0.4px;
}
.pp-nav-cta {
    background: var(--pp-text);
    color: var(--pp-text-on-dark);
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

/* Breadcrumbs -------------------------------------------------- */
.pp-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 22px;
    font-size: 13px;
    color: var(--pp-neutral-ink);
    font-weight: 500;
}
.pp-crumbs a { text-decoration: none; }
.pp-crumbs a:hover { text-decoration: underline; }
.pp-crumbs span[aria-current] { color: var(--pp-text); font-weight: 600; }

/* Hero -------------------------------------------------------- */
.pp-hero { padding: 22px 0 8px; }
.pp-name {
    font-family: var(--pp-font-display);
    font-weight: 700;
    font-size: clamp(28px, 4.4vw, 38px);
    color: var(--pp-text);
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.12;
}
.pp-lede {
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--pp-neutral-ink);
    max-width: 640px;
}

/* Section ----------------------------------------------------- */
.pp-section { margin-top: 34px; }
.pp-section-title {
    font-family: var(--pp-font-ui);
    font-weight: 700;
    font-size: 22px;
    color: var(--pp-text);
    margin: 0 0 12px;
    letter-spacing: -0.2px;
}

/* Card -------------------------------------------------------- */
.pp-card {
    background: var(--pp-card);
    border: 1px solid var(--pp-border);
    border-radius: 14px;
    box-shadow: var(--pp-shadow-card);
}
.pp-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pp-dir-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 640px) {
    .pp-dir-grid { grid-template-columns: 1fr 1fr; }
}

/* Guide cards -------------------------------------------------- */
.pp-guide-card {
    padding: 18px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 140ms var(--pp-ease-out), box-shadow 140ms var(--pp-ease-out);
}
.pp-guide-card:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07); }
.pp-guide-card:active { transform: scale(0.985); }
.pp-guide-card-title {
    font-family: var(--pp-font-ui);
    font-weight: 700;
    font-size: 18px;
    color: var(--pp-text);
    line-height: 1.25;
}
.pp-guide-card-teaser {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--pp-neutral-ink);
    flex: 1;
}
.pp-guide-card-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--pp-text);
}
.pp-guide-costs { padding: 16px 18px; }

/* Price block -------------------------------------------------- */
.pp-price-block {
    padding: 20px;
    border-left: 4px solid var(--pp-primary);
}
.pp-price-headline {
    font-family: var(--pp-font-ui);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.35;
    color: var(--pp-text);
}
.pp-price-headline strong { white-space: nowrap; }
/* The answer leads as one figure; what it measures and its caveats follow. */
.pp-price-eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pp-neutral-ink); }
.pp-price-figure { margin: 6px 0 4px; font-family: var(--pp-font-display); font-size: 44px; line-height: 1.05; color: var(--pp-text); white-space: nowrap; }
.pp-price-sub { margin: 0; font-size: 15px; line-height: 1.4; color: var(--pp-neutral-ink); }
.pp-price-sub strong { color: var(--pp-text); white-space: nowrap; }
.pp-price-note {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--pp-neutral-ink);
}
/* The next step sits right under the answer: someone who searched "what does
   a dog walker cost" has it in the first screen, and the way to act on it
   used to be a 27px pill 2.8 screens further down. The "Compare …" card near
   the end stays as the end-of-article repeat. */
.pp-price-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.pp-price-actions a { min-height: 48px; justify-content: center; text-align: center; }
.pp-price-actions .pp-service-chev { color: inherit; margin-right: -4px; }
@media (max-width: 479px) {
    .pp-price-actions { flex-direction: column; }
    .pp-price-actions a { width: 100%; }
}
.pp-price-listings {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.pp-price-listing {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 0;
    border-top: 1px solid var(--pp-border);
}
.pp-price-listing:first-child { border-top: 0; }
.pp-price-listing-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    text-decoration: none;
}
.pp-price-listing-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--pp-text);
}
.pp-price-listing-main:hover .pp-price-listing-name { text-decoration: underline; }
.pp-price-listing-svc {
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--pp-neutral-ink);
}
.pp-price-listing-price {
    flex: none;
    font-weight: 700;
    font-size: 15px;
    color: var(--pp-text);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* FAQ ---------------------------------------------------------- */
.pp-faq-item { padding: 16px 18px; }
.pp-faq-q { font-weight: 700; font-size: 15px; color: var(--pp-text); }
.pp-faq-a {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--pp-neutral-ink);
}

/* Why-list card (mirrors api/directory.js) --------------------- */
.pp-dir-why { padding: 6px 20px; }
.pp-dir-why ul {
    margin: 14px 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pp-dir-why li {
    font-size: 14px;
    line-height: 1.55;
    color: var(--pp-neutral-ink);
}
.pp-dir-why strong { color: var(--pp-text); }

/* Cross-link card ---------------------------------------------- */
.pp-events-crosslink {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.pp-events-crosslink p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--pp-neutral-ink);
    max-width: 460px;
}
/* Sized as a real tap target (44px), not the 27px/12px pill it was — on
   these pages it is the link to the providers the article is about. The
   label may wrap: at 14px, "Pet boarding in Fredericksburg, VA" is wider
   than a 320px screen's card, and nowrap pushed it out of the page. */
.pp-service-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    background: var(--pp-text);
    color: var(--pp-text-on-dark);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}
.pp-service-cta svg { color: inherit; }
.pp-service-cta:active { transform: scale(0.97); }
.pp-service-chev { color: var(--pp-text-tertiary); flex-shrink: 0; }

/* Pills -------------------------------------------------------- */
.pp-dir-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pp-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--pp-card);
    border: 1px solid var(--pp-border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pp-neutral-ink);
    line-height: 1.2;
}
.pp-pill-link { text-decoration: none; min-height: 40px; }
.pp-pill-link:hover { color: var(--pp-text); border-color: var(--pp-text-tertiary); }

/* CTA block --------------------------------------------------- */
.pp-cta {
    margin-top: 40px;
    padding: 28px 24px;
    border-radius: 22px;
    background: var(--pp-primary);
    position: relative;
    overflow: hidden;
}
.pp-cta-paws {
    position: absolute;
    right: -40px; top: -30px;
    color: var(--pp-text);
    opacity: 0.14;
    pointer-events: none;
}
.pp-cta h2 {
    font-family: var(--pp-font-ui);
    font-weight: 700;
    font-size: 26px;
    color: var(--pp-text);
    margin: 0 0 6px;
    letter-spacing: -0.3px;
    position: relative;
}
.pp-cta p {
    font-size: 15px;
    color: var(--pp-text);
    opacity: 0.78;
    margin: 0 0 18px;
    line-height: 1.5;
    position: relative;
    max-width: 480px;
}
.pp-cta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
}
.pp-btn-primary {
    background: var(--pp-text);
    color: var(--pp-text-on-dark);
    border: none;
    border-radius: 14px;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: transform 180ms var(--pp-ease-out);
}
.pp-btn-secondary {
    background: var(--pp-card);
    color: var(--pp-text);
    border: 1px solid var(--pp-border);
    border-radius: 14px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: transform 180ms var(--pp-ease-out);
}
.pp-btn-primary:active, .pp-btn-secondary:active, .pp-nav-cta:active { transform: scale(0.97); }

/* Footer ------------------------------------------------------ */
.pp-footer {
    margin-top: 80px;
    background: var(--pp-text);
    color: rgba(253,252,250,0.72);
}
.pp-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 24px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: space-between;
    align-items: flex-start;
}
.pp-footer-brand {
    display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.pp-footer p { font-size: 13px; line-height: 1.55; margin: 0; max-width: 280px; }
.pp-footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.pp-footer-links a { font-size: 14px; color: inherit; text-decoration: none; }
.pp-footer-links a:hover { color: rgba(253,252,250,0.95); }
.pp-footer-contact { font-size: 13px; line-height: 1.7; }
.pp-footer-contact a { color: inherit; text-decoration: none; }
.pp-footer-contact a:hover { color: rgba(253,252,250,0.95); }
.pp-footer-bottom {
    max-width: 1180px;
    margin: 28px auto 0;
    padding: 20px 24px 24px;
    border-top: 1px solid rgba(253,252,250,0.12);
    display: flex; justify-content: space-between;
    flex-wrap: wrap; gap: 8px;
    font-size: 12px;
}

/* Error page -------------------------------------------------- */
.pp-error {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
}
.pp-error-card {
    background: var(--pp-card);
    border: 1px solid var(--pp-border);
    border-radius: 22px;
    box-shadow: var(--pp-shadow-card);
    padding: 36px 28px;
    text-align: center;
    max-width: 440px;
    width: 100%;
}
.pp-error-card img { display: inline-block; border-radius: 16px; }
.pp-error-card h1 {
    font-family: var(--pp-font-display);
    font-weight: 700;
    font-size: 24px;
    color: var(--pp-text);
    margin: 18px 0 8px;
    letter-spacing: -0.3px;
}
.pp-error-card p {
    font-size: 15px;
    color: var(--pp-text-secondary);
    margin: 0 0 22px;
    line-height: 1.5;
}
.pp-error-card .pp-btn-primary { background: var(--pp-primary); color: var(--pp-text); }
