/* Write My Pet Book — public marketing (Leo Experience) */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
    --mkt-ivory: #fbf5ed;
    --mkt-cream: #f1e6d8;
    --mkt-forest: #314744;
    --mkt-terracotta: #b84e3b;
    --mkt-ink: #302b27;
    --mkt-muted: #796c61;
    --mkt-paper: #fffaf3;
    --mkt-max: 68rem;
    --mkt-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
    --mkt-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
    --pet-touch-target: 44px;
}

html {
    height: 100%;
    margin: 0;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body.pet-marketing-page {
    margin: 0;
    min-height: 100dvh;
    touch-action: manipulation;
    font-family: var(--mkt-sans);
    font-size: 1rem;
    line-height: 1.55;
    color: var(--mkt-ink);
    background: var(--mkt-ivory);
    transition: opacity 0.22s ease;
}

body.pet-marketing-page.is-sign-in-leaving {
    opacity: 0.35;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    body.pet-marketing-page {
        transition: none;
    }
}

#pet-marketing-root {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    background: var(--mkt-ivory);
    min-height: 100dvh;
}

.pet-marketing-layout {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

.pet-main--marketing {
    flex: 1 1 auto;
    display: block;
    padding: 0;
}

.pet-main-content--marketing {
    padding: 0;
    max-width: none;
}

.pet-marketing-dev-banner {
    position: fixed;
    z-index: 100070;
    left: 50%;
    transform: translateX(-50%);
    top: max(0.35rem, env(safe-area-inset-top, 0px));
    max-width: min(36rem, calc(100% - 1.5rem));
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    line-height: 1.35;
    text-align: center;
    color: #243a5c;
    background: rgba(232, 240, 250, 0.96);
    border: 1px solid rgba(47, 84, 150, 0.28);
    pointer-events: none;
}

/* —— Site shell —— */
.pet-mkt {
    --mkt-pad: clamp(1rem, 4vw, 1.5rem);
    /* Sticky nav clearance for in-page anchor links (#how-it-works, #pricing, …) */
    --mkt-nav-offset: calc(4.75rem + env(safe-area-inset-top, 0px));
}

html:has(.pet-mkt) {
    scroll-padding-top: var(--mkt-nav-offset);
}

.pet-mkt .pet-mkt-section[id] {
    scroll-margin-top: var(--mkt-nav-offset);
}

.pet-mkt-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    /* viewport-fit=cover (PWA / iOS): keep brand + menu below the status bar. */
    padding-top: max(0px, env(safe-area-inset-top, 0px));
    background: color-mix(in srgb, var(--mkt-ivory) 92%, white);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid color-mix(in srgb, var(--mkt-muted) 25%, transparent);
}

.pet-mkt-nav__inner {
    max-width: var(--mkt-max);
    margin-inline: auto;
    padding: 0.35rem var(--mkt-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 3.25rem;
}

.pet-mkt-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    color: var(--mkt-forest);
    font-weight: 700;
    font-size: 0.92rem;
}

.pet-mkt-brand__icon {
    width: 22px;
    height: 22px;
    border-radius: 5px;
}

.pet-mkt-nav__mobile-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
    flex-shrink: 0;
}

.pet-mkt-nav__account {
    color: var(--mkt-ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    min-height: var(--pet-touch-target);
    display: inline-flex;
    align-items: center;
}

.pet-mkt-nav__account:hover,
.pet-mkt-nav__account:focus-visible {
    color: var(--mkt-terracotta);
    outline: none;
}

.pet-mkt-nav__toggle {
    appearance: none;
    border: 1px solid color-mix(in srgb, var(--mkt-muted) 35%, transparent);
    background: var(--mkt-paper);
    color: var(--mkt-ink);
    border-radius: 8px;
    min-height: var(--pet-touch-target);
    padding: 0 0.85rem;
    font: 600 0.88rem var(--mkt-sans);
    cursor: pointer;
}

.pet-mkt-nav__panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem var(--mkt-pad) 0.85rem;
    background: var(--mkt-paper);
    border-bottom: 1px solid color-mix(in srgb, var(--mkt-muted) 22%, transparent);
    box-shadow: 0 12px 28px rgba(48, 43, 39, 0.08);
}

.pet-mkt-nav__panel:not([hidden]) {
    display: flex;
}

.pet-mkt-nav__panel a {
    color: var(--mkt-ink);
    text-decoration: none;
    font-weight: 500;
    padding: 0.55rem 0.25rem;
    border-radius: 6px;
}

.pet-mkt-nav__panel a:hover,
.pet-mkt-nav__panel a:focus-visible {
    color: var(--mkt-terracotta);
    outline: none;
    background: color-mix(in srgb, var(--mkt-cream) 60%, white);
}

@media (min-width: 56rem) {
    .pet-mkt-nav__mobile-actions {
        display: none;
    }

    .pet-mkt-nav__toggle {
        display: none;
    }

    .pet-mkt-nav__panel {
        position: static;
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 1.1rem;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .pet-mkt-nav__panel[hidden] {
        display: flex !important;
    }
}

.pet-mkt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--pet-touch-target);
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pet-mkt-btn--primary {
    background: var(--mkt-terracotta);
    color: #fff;
}

.pet-mkt-btn--primary:hover,
.pet-mkt-btn--primary:focus-visible {
    background: color-mix(in srgb, var(--mkt-terracotta) 88%, black);
    outline: none;
}

.pet-mkt-btn--ghost {
    background: transparent;
    color: var(--mkt-forest);
    border-color: color-mix(in srgb, var(--mkt-forest) 35%, transparent);
}

.pet-mkt-btn--light {
    background: var(--mkt-paper);
    color: var(--mkt-forest);
}

.pet-mkt-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mkt-muted);
}

.pet-mkt-section {
    max-width: var(--mkt-max);
    margin-inline: auto;
    padding: clamp(2.5rem, 6vw, 4rem) var(--mkt-pad);
}

.pet-mkt-section--cream {
    background: var(--mkt-cream);
    max-width: none;
}

.pet-mkt-section--cream > * {
    max-width: var(--mkt-max);
    margin-inline: auto;
}

.pet-mkt-section--forest {
    background: var(--mkt-forest);
    color: var(--mkt-paper);
    max-width: none;
}

.pet-mkt-section--forest > * {
    max-width: var(--mkt-max);
    margin-inline: auto;
}

.pet-mkt-section__title {
    font-family: var(--mkt-serif);
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 0.75rem;
    color: var(--mkt-ink);
}

.pet-mkt-section__title--light {
    color: var(--mkt-paper);
}

.pet-mkt-section__lead {
    margin: 0 0 1rem;
    max-width: 38rem;
    color: var(--mkt-muted);
    font-size: 1.05rem;
}

.pet-mkt-section__lead--light {
    color: color-mix(in srgb, var(--mkt-paper) 88%, var(--mkt-cream));
}

/* Hero */
.pet-mkt-hero {
    max-width: var(--mkt-max);
    margin-inline: auto;
    padding: clamp(1.5rem, 4vw, 2.5rem) var(--mkt-pad) clamp(2rem, 5vw, 3rem);
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 56rem) {
    .pet-mkt-hero {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 2.5rem;
    }
}

.pet-mkt-hero__title {
    font-family: var(--mkt-serif);
    font-size: clamp(2rem, 5vw, 2.85rem);
    font-weight: 600;
    line-height: 1.12;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.pet-mkt-hero__title-accent {
    color: var(--mkt-terracotta);
}

.pet-mkt-hero__lead {
    margin: 0 0 0.75rem;
    font-size: 1.08rem;
    color: var(--mkt-muted);
    max-width: 32rem;
}

.pet-mkt-hero__species {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    color: var(--mkt-ink);
    max-width: 32rem;
}

.pet-mkt-hero__actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.pet-mkt-hero__actions .pet-mkt-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.6rem 0.65rem;
    font-size: clamp(0.76rem, 2.9vw, 0.95rem);
    line-height: 1.25;
    text-align: center;
}

.pet-mkt-hero__note {
    margin: 0;
    font-size: 0.9rem;
    color: var(--mkt-muted);
}

.pet-mkt-book-stack--species {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.45rem, 2vw, 0.7rem);
    width: min(100%, 26rem);
    margin-inline: auto;
}

.pet-mkt-book-stack--species picture {
    display: block;
}

.pet-mkt-book-stack--species img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(48, 43, 39, 0.14);
    object-fit: cover;
    aspect-ratio: 4 / 5;
}

.pet-mkt-book-stack__tile--dog {
    transform: rotate(-2deg);
}

.pet-mkt-book-stack__tile--cat {
    transform: rotate(2.5deg);
}

.pet-mkt-book-stack__tile--horse {
    transform: rotate(1.5deg);
}

.pet-mkt-book-stack__tile--hamster {
    transform: rotate(-1.5deg);
}

/* Meet Leo strip */
.pet-mkt-leo-intro {
    max-width: var(--mkt-max);
    margin-inline: auto;
    padding: 1.25rem var(--mkt-pad) 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid color-mix(in srgb, var(--mkt-muted) 18%, transparent);
}

.pet-mkt-leo-intro__avatar {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(48, 43, 39, 0.12);
}

.pet-mkt-leo-intro__title {
    margin: 0 0 0.25rem;
    font-family: var(--mkt-serif);
    font-size: 1.35rem;
    font-weight: 600;
}

.pet-mkt-leo-intro__body {
    margin: 0;
    color: var(--mkt-muted);
    font-size: 0.98rem;
}

.pet-mkt-leo-listen {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.65rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid color-mix(in srgb, var(--mkt-forest) 35%, transparent);
    border-radius: 999px;
    background: var(--mkt-paper);
    color: var(--mkt-forest);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.pet-mkt-leo-listen:hover,
.pet-mkt-leo-listen:focus-visible {
    background: color-mix(in srgb, var(--mkt-forest) 8%, var(--mkt-paper));
    outline: 2px solid color-mix(in srgb, var(--mkt-forest) 40%, transparent);
    outline-offset: 2px;
}

.pet-mkt-leo-listen:disabled {
    opacity: 0.65;
    cursor: wait;
}

.pet-mkt-leo-listen__icon {
    font-size: 0.72rem;
    line-height: 1;
}

.pet-mkt-leo-video {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.pet-mkt-leo-video[hidden] {
    display: none !important;
}

.pet-mkt-leo-video__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(24, 20, 18, 0.72);
}

.pet-mkt-leo-video__dialog {
    position: relative;
    z-index: 1;
    width: min(42rem, 100%);
    max-height: min(90vh, 48rem);
    background: #0d0c0b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    outline: none;
}

.pet-mkt-leo-video__close {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.pet-mkt-leo-video__close:hover,
.pet-mkt-leo-video__close:focus-visible {
    background: rgba(0, 0, 0, 0.75);
    outline: 2px solid rgba(255, 255, 255, 0.45);
    outline-offset: 2px;
}

.pet-mkt-leo-video__player {
    display: block;
    width: 100%;
    max-height: min(90vh, 48rem);
    background: #000;
}

/* How it works */
.pet-mkt-steps {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 2rem;
    counter-reset: mkt-step;
}

.pet-mkt-step {
    display: grid;
    gap: 1rem;
    align-items: start;
    counter-increment: mkt-step;
}

@media (min-width: 48rem) {
    .pet-mkt-step {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

.pet-mkt-step__copy {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
    row-gap: 0.35rem;
    align-items: start;
}

.pet-mkt-step__copy::before {
    content: counter(mkt-step);
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, var(--mkt-terracotta) 75%, var(--mkt-forest));
    background: linear-gradient(
        165deg,
        var(--mkt-paper) 0%,
        color-mix(in srgb, var(--mkt-cream) 55%, var(--mkt-paper)) 100%
    );
    box-shadow:
        0 2px 8px color-mix(in srgb, var(--mkt-ink) 8%, transparent),
        inset 0 1px 0 color-mix(in srgb, white 70%, transparent);
    font-family: var(--mkt-serif);
    font-size: 1.15rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: var(--mkt-terracotta);
}

.pet-mkt-step h3 {
    margin: 0 0 0.35rem;
    grid-column: 2;
    font-family: var(--mkt-serif);
    font-size: 1.25rem;
}

.pet-mkt-step p {
    margin: 0;
    grid-column: 2;
    color: var(--mkt-muted);
}

.pet-mkt-step__visual img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(48, 43, 39, 0.1);
    object-fit: contain;
}

.pet-mkt-sample-q {
    margin: 0.65rem 0 0;
    padding: 0.65rem 0.85rem;
    background: var(--mkt-paper);
    border-radius: 10px;
    font-size: 0.92rem;
    font-style: italic;
    color: var(--mkt-forest);
}

.pet-mkt-step__visual--prose blockquote {
    margin: 0;
    padding: 1rem 1.1rem;
    background: var(--mkt-paper);
    border-left: 3px solid var(--mkt-terracotta);
    border-radius: 0 10px 10px 0;
    font-family: var(--mkt-serif);
    font-size: 0.95rem;
    line-height: 1.5;
}

.pet-mkt-step__caption {
    margin: 0.5rem 0 0;
    font-size: 0.78rem;
    color: var(--mkt-muted);
}

.pet-mkt-steps-bridge {
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid color-mix(in srgb, var(--mkt-muted) 22%, transparent);
    display: grid;
    gap: 1.25rem;
    max-width: 36rem;
}

.pet-mkt-steps-bridge__voice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.pet-mkt-testimonial {
    margin: 0;
    max-width: 36rem;
}

.pet-mkt-testimonial--steps {
    max-width: none;
}

.pet-mkt-section > .pet-mkt-testimonial {
    margin-top: 1.25rem;
    margin-bottom: 0.25rem;
}

.pet-mkt-testimonial__quote {
    margin: 0;
    padding: 0;
    border: none;
}

.pet-mkt-testimonial__quote p {
    margin: 0;
    font-family: var(--mkt-serif);
    font-size: 1.05rem;
    line-height: 1.55;
    font-style: italic;
    color: var(--mkt-ink);
}

.pet-mkt-testimonial__cite {
    margin: 0.5rem 0 0;
    font-size: 0.92rem;
    font-style: normal;
    color: var(--mkt-muted);
}

.pet-mkt-testimonial--forest .pet-mkt-testimonial__quote p {
    color: color-mix(in srgb, var(--mkt-paper) 92%, white);
}

.pet-mkt-testimonial--forest .pet-mkt-testimonial__cite {
    color: color-mix(in srgb, var(--mkt-paper) 70%, white);
}

.pet-mkt-testimonial--cream .pet-mkt-testimonial__quote p {
    color: var(--mkt-ink);
}

.pet-mkt-spread {
    margin: 1.5rem 0 0;
}

.pet-mkt-spread img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 48px rgba(48, 43, 39, 0.16);
    object-fit: contain;
}

.pet-mkt-spread figcaption {
    margin-top: 0.65rem;
    font-size: 0.82rem;
    color: var(--mkt-muted);
    text-align: center;
}

/* Book gallery */
.pet-mkt-books {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (min-width: 40rem) {
    .pet-mkt-books {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pet-mkt-book-card {
    text-align: center;
}

.pet-mkt-book-card img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 14rem;
    margin-inline: auto;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(48, 43, 39, 0.12);
}

.pet-mkt-book-card h3 {
    margin: 0.75rem 0 0.35rem;
    font-family: var(--mkt-serif);
}

.pet-mkt-book-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--mkt-muted);
}

.pet-mkt-creators-voice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin: 1.25rem 0 0;
}

.pet-mkt-creators-voice__avatar {
    border-radius: 50%;
}

.pet-mkt-pricing-summary {
    margin: 0 0 1.1rem;
    max-width: 36rem;
    font-family: var(--mkt-serif);
    font-size: clamp(1.12rem, 2.8vw, 1.28rem);
    font-weight: 600;
    line-height: 1.45;
    color: var(--mkt-ink);
}

.pet-mkt-includes {
    margin: 0 0 1.25rem;
    padding-left: 1.15rem;
    color: var(--mkt-muted);
    max-width: 38rem;
    display: grid;
    gap: 0.55rem;
}

.pet-mkt-includes li {
    line-height: 1.45;
}

.pet-mkt-pricing-note {
    font-size: 0.82rem;
    color: var(--mkt-muted);
    max-width: 36rem;
    margin: 0 0 1.25rem;
}

.pet-mkt-closing {
    text-align: center;
}

.pet-mkt-closing__leo {
    margin: 0 auto 1rem;
    display: block;
    width: min(11rem, 52vw);
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
}

.pet-mkt-closing__ctas {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    width: min(100%, 20rem);
    margin: 0 auto;
}

.pet-mkt-closing__ctas .pet-mkt-btn {
    width: 100%;
    box-sizing: border-box;
}

.pet-mkt-closing__ctas .pet-welcome-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: none;
    gap: 0.65rem;
}

.pet-mkt-closing__ctas .pet-btn {
    width: 100%;
    box-sizing: border-box;
}

.pet-mkt-closing__leo-voice {
    max-width: 28rem;
    margin: 0 auto 1.25rem;
    font-style: italic;
    color: color-mix(in srgb, var(--mkt-paper) 90%, var(--mkt-cream));
}

.pet-mkt-welcome-actions .pet-welcome-actions {
    justify-content: center;
    margin-top: 0;
}

.pet-mkt-footer {
    max-width: var(--mkt-max);
    margin-inline: auto;
    padding: 2rem var(--mkt-pad) 1rem;
    text-align: center;
    color: var(--mkt-muted);
    font-size: 0.85rem;
}

.pet-mkt-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    margin-bottom: 0.75rem;
}

.pet-mkt-footer__nav a {
    color: var(--mkt-forest);
    text-decoration: none;
    font-weight: 600;
}

/* Legacy action buttons (auth-aware footer actions) */
.pet-welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.pet-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--pet-touch-target);
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
}

.pet-btn-primary {
    background: var(--mkt-terracotta);
    color: #fff;
}

.pet-btn-ghost {
    background: transparent;
    color: var(--mkt-forest);
    border-color: color-mix(in srgb, var(--mkt-forest) 30%, transparent);
}

.pet-welcome-signin {
    margin: 0.85rem 0 0;
    font-size: 0.92rem;
    color: var(--mkt-muted);
    text-align: center;
}

.pet-welcome-signin a {
    color: var(--mkt-forest);
    font-weight: 700;
}

.pet-welcome-account-muted {
    text-align: center;
    font-size: 0.88rem;
    color: var(--mkt-muted);
}

/* Dev / Admin journey footer (marketing shell) */
.pet-journey-footer-badges {
    display: none;
    flex: 0 0 auto;
    box-sizing: border-box;
    width: min(100%, 42rem);
    max-width: 42rem;
    margin-inline: auto;
    margin-top: auto;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding:
        0.625rem 1rem
        calc(0.875rem + env(safe-area-inset-bottom, 0px));
}

.pet-journey-footer-badges__slot {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 0;
}

.pet-journey-footer-badges__slot--dev,
[data-wmb-journey-footer-dev],
.pet-journey-footer-badges__slot--admin,
[data-wmb-journey-footer-admin] {
    justify-content: center;
}

.pet-journey-footer-badges.has-badges,
.pet-journey-footer-badges:has(.wmb-dev-cache-panel),
.pet-journey-footer-badges:has(.wmb-admin-badge-panel:not(.wmb-admin-badge-panel--hidden)) {
    display: flex;
}

.pet-journey-footer-badges .wmb-admin-badge-panel__toggle,
.pet-journey-footer-badges .wmb-dev-cache-panel__toggle {
    border: 0;
    background: transparent;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    padding: 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: underline;
    text-underline-offset: 0.14em;
    text-transform: none;
    color: #0f766e;
}

.pet-journey-footer-badges .wmb-admin-badge-panel__toggle {
    color: #64748b;
}

.pet-journey-footer-badges .wmb-dev-cache-panel__toggle--build-update {
    color: #dc2626;
    font-weight: 700;
}
