/* Public homepage — uses brand tokens from site.css (`docs/brand-palette.md`). */

.ph-public-home {
    --ph-home-cream: var(--ph-surface-warm);
    --ph-home-orange: var(--ph-brand-orange);
    --ph-home-orange-dark: var(--ph-brand-orange-dark);
    --ph-home-teal: var(--ph-brand-secondary);
    --ph-home-teal-dark: var(--ph-brand-secondary-dark);
    --ph-home-teal-ink: var(--ph-brand-secondary-ink);
    --ph-home-cta: var(--ph-brand-cta);
    --ph-home-cta-dark: var(--ph-brand-cta-dark);
    --ph-home-ink: var(--ph-brand-ink);
    --ph-home-band-sky: var(--ph-surface-sky);
    --ph-home-band-mint: var(--ph-surface-mint);
    --ph-home-radius-sm: 10px;
    --ph-home-radius-md: 16px;
    --ph-home-radius-lg: 22px;
    --ph-home-radius-xl: 28px;
    --ph-home-footer-bg: color-mix(in srgb, var(--ph-chrome-dark) 82%, var(--ph-home-ink));
    background: var(--ph-home-cream);
    color: var(--ph-home-ink);
}

.ph-public-main {
    overflow-x: clip;
}

.ph-home-wrap {
    width: min(72rem, calc(100% - 2rem));
    margin-inline: auto;
}

@media (min-width: 1280px) {
    .ph-home-wrap {
        width: min(74rem, calc(100% - 3rem));
    }
}

#path-families,
#path-managers,
#plans,
.ph-home-faq-band {
    scroll-margin-top: 6.75rem;
}

/* ——— Header (homepage only) ——— */

.ph-public-home .ph-site-header-inner {
    min-height: 5.85rem;
    padding-block: 0.55rem;
}

.ph-public-home .ph-site-brand .ph-brand-mark {
    width: 4.75rem;
    height: 4.75rem;
    border-radius: 1.15rem;
}

.ph-public-home .ph-site-brand .ph-brand-name {
    font-size: 1.22rem;
}

.ph-public-home .ph-site-brand .ph-brand-tagline {
    font-size: 0.86rem;
}

.ph-public-home .ph-site-header.is-scrolled {
    background: rgb(255 251 243 / 0.97);
}

.ph-public-home .ph-site-header-actions .ph-btn {
    border-radius: 999px;
    font-weight: 600;
}

.ph-public-home a.ph-btn:not(.ph-btn-ghost):not(.ph-btn-danger),
.ph-public-home button.ph-btn:not(.ph-btn-ghost):not(.ph-btn-danger) {
    background: var(--ph-home-cta);
    border-color: var(--ph-home-cta);
    color: var(--ph-white);
}

.ph-public-home a.ph-btn:not(.ph-btn-ghost):not(.ph-btn-danger):hover,
.ph-public-home a.ph-btn:not(.ph-btn-ghost):not(.ph-btn-danger):focus-visible,
.ph-public-home button.ph-btn:not(.ph-btn-ghost):not(.ph-btn-danger):hover,
.ph-public-home button.ph-btn:not(.ph-btn-ghost):not(.ph-btn-danger):focus-visible {
    background: var(--ph-home-cta-dark);
    border-color: var(--ph-home-cta-dark);
    color: var(--ph-white);
}

.ph-public-home .ph-site-header-actions .ph-btn-ghost .ph-icon {
    display: none;
}

@media (min-width: 1080px) {
    .ph-public-home .ph-nav-toggle {
        display: none;
    }

    .ph-public-home .ph-site-nav {
        gap: 0.1rem;
    }
}

/* ——— Hero ——— */

.ph-public-home .ph-home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 1.75rem 0 1.25rem;
    color: var(--ph-brand-dark);
    background:
        radial-gradient(42rem 22rem at 100% -20%, color-mix(in srgb, var(--ph-brand-primary) 28%, transparent), transparent 62%),
        radial-gradient(28rem 18rem at -10% 110%, color-mix(in srgb, var(--ph-brand-lime) 16%, transparent), transparent 58%),
        linear-gradient(180deg, var(--ph-surface-warm) 0%, var(--ph-neutral-50) 100%);
    grid-template-columns: none;
}

.ph-home-hero-glow,
.ph-home-cta-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(18rem 10rem at 12% 18%, color-mix(in srgb, var(--ph-brand-primary) 22%, transparent), transparent 70%),
        radial-gradient(12rem 8rem at 88% 72%, color-mix(in srgb, var(--ph-brand-teal) 12%, transparent), transparent 68%);
}

.ph-hero-stage {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.ph-hero-copy {
    max-width: 38rem;
}

.ph-public-home .ph-home-kicker {
    margin: 0 0 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--ph-home-teal-ink);
}

.ph-public-home .ph-home-hero .ph-home-kicker {
    color: var(--ph-home-orange);
    font-weight: 700;
}

.ph-public-home .ph-home-hero h1 {
    margin: 0;
    font-size: clamp(1.85rem, 5.5vw, 3.15rem);
    line-height: 1.28;
    font-weight: 800;
}

.ph-public-home .ph-home-lead {
    margin: 0.85rem 0 0;
    font-size: clamp(1rem, 2.2vw, 1.12rem);
    line-height: 1.9;
    max-width: 36rem;
    color: var(--ph-neutral-700);
}

.ph-home-hero-actions {
    margin-top: 1.25rem;
}

.ph-public-home .ph-home-hero-actions .ph-btn {
    border-radius: 999px;
    min-height: 2.85rem;
    padding-inline: 1.25rem;
}

.ph-public-home .ph-home-hero-actions a.ph-btn:not(.ph-btn-ghost),
.ph-public-home .ph-home-hero-actions button.ph-btn:not(.ph-btn-ghost) {
    background: var(--ph-home-orange);
    border-color: var(--ph-home-orange);
    color: var(--ph-brand-on-primary);
}

.ph-public-home .ph-home-hero-actions a.ph-btn:not(.ph-btn-ghost):hover,
.ph-public-home .ph-home-hero-actions a.ph-btn:not(.ph-btn-ghost):focus-visible,
.ph-public-home .ph-home-hero-actions button.ph-btn:not(.ph-btn-ghost):hover,
.ph-public-home .ph-home-hero-actions button.ph-btn:not(.ph-btn-ghost):focus-visible {
    background: var(--ph-home-orange-dark);
    border-color: var(--ph-home-orange-dark);
    color: var(--ph-brand-on-primary);
}

.ph-public-home .ph-home-hero-actions a.ph-btn-ghost,
.ph-public-home .ph-home-hero-actions button.ph-btn-ghost {
    background: var(--ph-white);
    border-color: color-mix(in srgb, var(--ph-home-cta) 42%, var(--ph-white));
    color: var(--ph-home-cta-dark);
}

.ph-public-home .ph-home-hero-actions a.ph-btn-ghost:hover,
.ph-public-home .ph-home-hero-actions a.ph-btn-ghost:focus-visible,
.ph-public-home .ph-home-hero-actions button.ph-btn-ghost:hover,
.ph-public-home .ph-home-hero-actions button.ph-btn-ghost:focus-visible {
    background: color-mix(in srgb, var(--ph-home-cta) 10%, var(--ph-white));
    border-color: var(--ph-home-cta);
    color: var(--ph-home-cta-dark);
}

.ph-hero-proof {
    list-style: none;
    margin: 1.1rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ph-hero-proof li {
    padding: 0.32rem 0.75rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ph-home-orange) 14%, var(--ph-white));
    color: var(--ph-home-ink);
    font-size: 0.78rem;
    font-weight: 700;
}

.ph-hero-visual {
    position: relative;
}

.ph-hero-photo-stack {
    position: relative;
    padding-block: 0.2rem 0.85rem;
    padding-inline: 0.25rem 0.85rem;
}

.ph-hero-photo-back {
    position: absolute;
    inset-block-start: 0.7rem;
    inset-block-end: 0.1rem;
    inset-inline-start: 0.85rem;
    inset-inline-end: 0.1rem;
    border-radius: 1.9rem 2.9rem 1.6rem 2.5rem;
    background: var(--ph-home-orange);
    z-index: 0;
}

.ph-hero-slide:nth-child(even) .ph-hero-photo-back {
    background: var(--ph-home-teal);
}

.ph-hero-photo-frame {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 1.7rem 2.6rem 1.5rem 2.35rem;
    aspect-ratio: 4 / 3;
    background: var(--ph-surface-beige);
    box-shadow: 0 18px 40px color-mix(in srgb, var(--ph-home-ink) 12%, transparent);
}

.ph-public-home .ph-home-hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ph-hero-art {
    position: relative;
    min-height: 16rem;
    display: grid;
    place-items: center;
}

.ph-hero-orb {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.ph-hero-orb-gold {
    width: 8rem;
    height: 8rem;
    inset-inline-end: 4%;
    top: 6%;
    background: color-mix(in srgb, var(--ph-brand-primary) 42%, transparent);
}

.ph-hero-orb-mint {
    width: 4.5rem;
    height: 4.5rem;
    inset-inline-start: 6%;
    bottom: 10%;
    background: color-mix(in srgb, var(--ph-brand-lime) 28%, transparent);
}

.ph-hero-orb-sky {
    width: 3rem;
    height: 3rem;
    inset-inline-end: 18%;
    bottom: 18%;
    background: color-mix(in srgb, var(--ph-brand-teal) 22%, transparent);
}

.ph-hero-art .ph-dash-mock {
    position: relative;
    z-index: 1;
    width: min(100%, 22rem);
    transform: rotate(-2deg);
}

@media (min-width: 768px) {
    .ph-hero-stage {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 1.5rem;
        align-items: start;
        padding-block: 0.35rem 0.15rem;
    }

    .ph-hero-copy {
        padding-top: 0.35rem;
    }

    .ph-hero-slide.is-copy-right .ph-hero-stage {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    }

    .ph-hero-slide.is-copy-right .ph-hero-copy {
        order: 2;
    }

    .ph-hero-slide.is-copy-right .ph-hero-visual {
        order: 1;
    }

    .ph-public-home .ph-home-hero {
        padding: 1.15rem 0 0.85rem;
    }
}

@media (min-width: 1024px) {
    .ph-hero-stage {
        gap: 2rem;
        padding-block: 0.5rem 0.2rem;
    }
}

/* Slideshow */

.ph-public-home .ph-home-hero.is-slideshow {
    display: flex;
    padding-bottom: 0.5rem;
}

.ph-hero-track {
    position: relative;
    display: grid;
    width: 100%;
}

.ph-hero-slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.ph-public-home .ph-home-hero.is-slideshow:not(.is-ready) .ph-hero-slide:first-child,
.ph-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.ph-hero-slide-photo {
    object-position: center 35%;
}

.ph-hero-slide.is-copy-right .ph-hero-slide-photo {
    object-position: center 35%;
}

.ph-hero-slide.is-active .ph-hero-slide-photo {
    animation: none;
}

.ph-hero-slide-panel {
    display: contents;
}

.ph-hero-controls {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    margin: 0.15rem auto 0;
    padding: 0.22rem 0.3rem;
    border-radius: 999px;
    background: var(--ph-white);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--ph-home-ink) 10%, transparent);
}

.ph-hero-visual .ph-hero-controls {
    display: flex;
    width: fit-content;
    margin-inline: auto;
}

.ph-hero-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    border-radius: 999px;
    border: 0;
    background: color-mix(in srgb, var(--ph-home-orange) 16%, var(--ph-white));
    color: var(--ph-home-orange-dark);
}

.ph-hero-arrow:hover,
.ph-hero-arrow:focus-visible {
    background: var(--ph-home-orange);
    color: var(--ph-brand-on-primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--ph-focus-ring);
}

.ph-hero-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding-inline: 0.15rem;
}

.ph-hero-dot {
    width: 1.05rem;
    height: 2.35rem;
    min-height: 2.35rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    position: relative;
}

.ph-hero-dot::after {
    content: "";
    position: absolute;
    inset: 50%;
    width: 0.42rem;
    height: 0.42rem;
    margin: -0.21rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ph-home-orange) 45%, var(--ph-neutral-400));
    transition: width 0.2s ease, background-color 0.2s ease, margin 0.2s ease;
}

.ph-hero-dot.is-active::after {
    width: 1rem;
    margin-inline-start: -0.5rem;
    background: var(--ph-home-orange);
}

.ph-hero-progress {
    display: none;
}

.ph-hero-progress.is-paused {
    animation-play-state: paused;
}

@keyframes ph-hero-ken {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

@keyframes ph-hero-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* ——— Sections ——— */

.ph-home-band {
    padding: 4rem 0;
}

@media (max-width: 767px) {
    .ph-home-band {
        padding: 2.75rem 0;
    }
}

.ph-home-band-warm,
.ph-home-stories-band,
.ph-home-gallery-band {
    background: var(--ph-home-band-mint);
}

.ph-home-plans-band {
    position: relative;
    background: var(--ph-home-cream);
}

.ph-home-plans-band::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(22rem, 58%);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(
        to left,
        transparent,
        color-mix(in srgb, var(--ph-home-orange) 22%, transparent) 18%,
        color-mix(in srgb, var(--ph-home-ink) 22%, transparent) 50%,
        color-mix(in srgb, var(--ph-home-orange) 22%, transparent) 82%,
        transparent
    );
    pointer-events: none;
}

.ph-home-plans-band::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0.42rem;
    height: 0.42rem;
    background: var(--ph-home-orange);
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 1px;
    pointer-events: none;
}

.ph-home-head {
    margin-bottom: 1.75rem;
    max-width: 38rem;
}

.ph-public-home .ph-home-head h2,
.ph-home-faq-intro h2,
.ph-home-cta-card h2 {
    margin: 0;
    font-size: clamp(1.45rem, 3.2vw, 2.1rem);
    line-height: 1.4;
    font-weight: 700;
}

.ph-home-head-note {
    margin: 0.65rem 0 0;
    color: var(--ph-neutral-700);
    line-height: 1.8;
    font-size: 1rem;
}

/* Trust — open strip, no cards */

.ph-home-trust {
    padding: 0.15rem 0 1.75rem;
}

.ph-home-trust-list {
    list-style: none;
    margin: 0;
    padding: 1.15rem 0 0;
    display: grid;
    gap: 0.85rem 1.25rem;
    grid-template-columns: 1fr;
    border-top: 1px solid color-mix(in srgb, var(--ph-brand-gold) 28%, var(--ph-border));
}

.ph-home-trust-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    padding: 0.2rem 0;
    color: var(--ph-neutral-700);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.5;
}

.ph-home-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
    color: var(--ph-brand-primary-dark);
}

.ph-home-trust-list li:nth-child(3n+2) .ph-home-trust-icon,
.ph-home-trust-list li:nth-child(3n) .ph-home-trust-icon {
    background: none;
    color: var(--ph-brand-primary-dark);
}

.ph-home-trust-list .ph-icon {
    width: 1.1rem;
    height: 1.1rem;
}

@media (min-width: 640px) {
    .ph-home-trust-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .ph-home-trust-list {
        grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
        gap: 0.5rem 1.25rem;
    }

    .ph-home-trust-list li:not(:last-child) {
        padding-inline-end: 1rem;
        border-inline-end: 1px solid var(--ph-border);
    }
}

/* Audiences — two path cards, matching the children's-platform split */

.ph-home-audiences {
    --ph-audience-families-bg: var(--ph-home-teal);
    --ph-audience-managers-bg: var(--ph-home-orange);
    padding-top: 2.25rem;
}

.ph-home-audiences .ph-home-head {
    margin-inline: auto;
    text-align: center;
}

.ph-home-audiences .ph-home-kicker {
    color: var(--ph-home-teal-ink);
}

.ph-home-business-types {
    list-style: none;
    margin: 0 auto 1.5rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
}

.ph-home-business-types li {
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ph-brand-primary) 14%, var(--ph-white));
    color: var(--ph-neutral-700);
    font-size: 0.82rem;
    font-weight: 600;
}

.ph-home-audience-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.15rem;
}

.ph-home-audience {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0;
    min-height: 16.5rem;
    padding: 1.85rem 1.5rem 1.5rem;
    padding-inline-end: 4.25rem;
    border-radius: 1.5rem;
    color: var(--ph-white);
}

.ph-home-audience::before,
.ph-home-audience::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.14);
    pointer-events: none;
    z-index: 0;
}

.ph-home-audience::before {
    width: 11rem;
    height: 11rem;
    inset-inline-end: -3.5rem;
    bottom: -4.5rem;
}

.ph-home-audience::after {
    width: 5.5rem;
    height: 5.5rem;
    inset-inline-end: 3.2rem;
    top: -1.6rem;
}

.ph-home-audience.is-families {
    order: 1;
    background: var(--ph-audience-families-bg);
}

.ph-home-audience.is-managers {
    order: 2;
    background: var(--ph-audience-managers-bg);
}

.ph-home-audience-icon {
    position: absolute;
    z-index: 1;
    top: 1.35rem;
    inset-inline-end: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.18);
    color: var(--ph-white);
}

.ph-home-audience-icon .ph-icon {
    width: 1.2rem;
    height: 1.2rem;
}

.ph-home-audience h3,
.ph-home-audience p,
.ph-home-audience .ph-actions {
    position: relative;
    z-index: 1;
}

.ph-home-audience h3 {
    margin: 0;
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--ph-white);
}

.ph-home-audience p {
    margin: 0;
    max-width: 22rem;
    line-height: 1.85;
    color: rgb(255 255 255 / 0.92);
    flex: 1;
}

.ph-home-audience .ph-actions {
    margin-top: 0.85rem;
}

.ph-home-audience-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.45rem 1.25rem;
    border-radius: 999px;
    border: 0;
    background: var(--ph-white);
    color: var(--ph-brand-dark);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.ph-home-audience-cta:hover,
.ph-home-audience-cta:focus-visible {
    background: var(--ph-surface-warm);
    color: var(--ph-brand-dark);
    transform: translateY(-1px);
    outline: none;
    box-shadow: 0 0 0 3px rgb(255 255 255 / 0.45);
}

.ph-home-audience.is-families .ph-home-audience-cta:hover,
.ph-home-audience.is-families .ph-home-audience-cta:focus-visible {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ph-brand-teal) 35%, white);
}

.ph-home-audience.is-managers .ph-home-audience-cta:hover,
.ph-home-audience.is-managers .ph-home-audience-cta:focus-visible {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ph-brand-gold) 45%, white);
}

@media (min-width: 768px) {
    .ph-home-audience-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.35rem;
        align-items: stretch;
    }

    .ph-home-audience {
        padding: 2rem 1.75rem 1.65rem;
        padding-inline-end: 4.5rem;
        min-height: 17.5rem;
    }

    .ph-home-audience-icon {
        top: 1.5rem;
        inset-inline-end: 1.5rem;
    }

    .ph-home-audience.is-managers {
        order: 1;
    }

    .ph-home-audience.is-families {
        order: 2;
    }
}

/* Showcase — six daily-work cards */

.ph-home-showcase {
    background: var(--ph-home-cream);
}

.ph-home-showcase .ph-home-head {
    margin-inline: auto;
    text-align: center;
    max-width: 32rem;
}

.ph-home-feature-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.ph-home-feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    margin: 0;
    min-height: 12.5rem;
    padding: 1.5rem 1.35rem 1.4rem;
    border-radius: 1.35rem;
    background: var(--ph-white);
    box-shadow: 0 10px 28px color-mix(in srgb, var(--ph-brand-ink) 6%, transparent);
}

.ph-home-feature-card h3 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 700;
}

.ph-home-feature-card p,
.ph-home-benefit-row p {
    margin: 0;
    color: var(--ph-neutral-700);
    line-height: 1.8;
    font-size: 0.95rem;
}

.ph-home-benefit-row h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.ph-home-feature-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    color: var(--ph-white);
}

.ph-home-feature-badge.is-orange {
    background: var(--ph-brand-orange);
}

.ph-home-feature-badge.is-teal {
    background: var(--ph-brand-secondary);
}

.ph-home-feature-badge.is-pink {
    background: var(--ph-brand-cta);
}

.ph-home-feature-badge.is-amber {
    background: color-mix(in srgb, var(--ph-brand-orange) 18%, #f0cc22);
}

.ph-home-feature-badge .ph-icon {
    width: 1.2rem;
    height: 1.2rem;
}

.ph-home-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    background: var(--ph-surface-primary);
    color: var(--ph-brand-primary-dark);
}

.ph-home-feature-icon.ph-icon-teal {
    background: var(--ph-surface-teal);
    color: var(--ph-brand-secondary-ink);
}

.ph-home-feature-icon .ph-icon {
    width: 1.15rem;
    height: 1.15rem;
}

@media (min-width: 640px) {
    .ph-home-feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.15rem;
    }
}

@media (min-width: 960px) {
    .ph-home-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .ph-home-feature-card {
        min-height: 13.25rem;
        padding: 1.7rem 1.5rem 1.5rem;
    }
}

/* Day-in-the-center board — not an admin window */

.ph-dash-mock {
    margin: 0;
}

.ph-dash-mock-board {
    position: relative;
    overflow: hidden;
    border-radius: 1.7rem 2.5rem 1.6rem 2.2rem;
    padding: 1.15rem 1.15rem 1.2rem;
    background:
        radial-gradient(12rem 8rem at 100% 0%, color-mix(in srgb, var(--ph-brand-primary) 32%, transparent), transparent 70%),
        linear-gradient(180deg, var(--ph-white) 0%, var(--ph-surface-warm) 100%);
    box-shadow: 0 18px 36px rgba(44, 24, 16, 0.08);
}

.ph-dash-mock-kicker {
    margin: 0 0 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ph-neutral-700);
}

.ph-dash-mock-scene {
    position: relative;
    height: 10.75rem;
    overflow: hidden;
    border-radius: 1.25rem;
    background:
        linear-gradient(180deg, var(--ph-surface-warm) 0%, var(--ph-surface-beige) 56%, color-mix(in srgb, var(--ph-brand-primary) 26%, var(--ph-surface-beige)) 56.2%, color-mix(in srgb, var(--ph-brand-primary) 18%, var(--ph-neutral-100)) 100%);
}

.ph-dash-window {
    position: absolute;
    inset-inline-end: 1.15rem;
    top: 0.9rem;
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 0.7rem;
    background: color-mix(in srgb, var(--ph-brand-primary) 58%, var(--ph-white));
    box-shadow: inset 0 0 0 3px rgb(255 255 255 / 0.4);
}

.ph-dash-arch {
    position: absolute;
    inset-inline-start: 22%;
    bottom: 2.55rem;
    width: 4.1rem;
    height: 3.2rem;
    border: 0.55rem solid color-mix(in srgb, var(--ph-brand-primary) 78%, var(--ph-brand-primary-dark));
    border-bottom: 0;
    border-radius: 4.2rem 4.2rem 0 0;
}

.ph-dash-slide {
    position: absolute;
    inset-inline-end: 24%;
    bottom: 2.55rem;
    width: 3.35rem;
    height: 2.9rem;
    border-radius: 0 1.7rem 0.2rem 0;
    background: color-mix(in srgb, var(--ph-brand-lime) 18%, var(--ph-white));
}

.ph-dash-plant {
    position: absolute;
    inset-inline-start: 9%;
    bottom: 2.55rem;
    width: 0.55rem;
    height: 1.7rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ph-brand-lime) 55%, var(--ph-neutral-700));
}

.ph-dash-plant::before,
.ph-dash-plant::after {
    content: "";
    position: absolute;
    bottom: 1.15rem;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ph-brand-lime) 48%, var(--ph-neutral-100));
}

.ph-dash-plant::before {
    inset-inline-start: -0.85rem;
}

.ph-dash-plant::after {
    inset-inline-start: 0.35rem;
    width: 0.85rem;
    height: 0.85rem;
    bottom: 1.45rem;
}

.ph-dash-mock-pills {
    list-style: none;
    margin: 0.9rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ph-dash-mock-pills li {
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: var(--ph-white);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ph-brand-dark);
}

/* Security — centered mint band with white cards */

.ph-home-security {
    position: relative;
    background: var(--ph-home-band-mint);
}

.ph-home-security::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0.55rem;
    height: 0.55rem;
    background: var(--ph-home-orange);
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 1px;
}

.ph-home-security .ph-home-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-inline: auto;
    margin-bottom: 2.25rem;
    text-align: center;
    max-width: 22.5rem;
}

.ph-home-security-emblem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 0.85rem;
    border-radius: 1.1rem;
    background: var(--ph-brand-secondary);
    color: var(--ph-white);
}

.ph-home-security-emblem .ph-icon {
    width: 1.55rem;
    height: 1.55rem;
}

.ph-home-benefit-row {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.ph-home-benefit-row li {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: none;
    margin: 0;
    padding: 1.75rem 1.35rem 1.55rem;
    text-align: center;
    border-radius: 1.35rem;
    background: var(--ph-white);
    box-shadow: 0 10px 28px color-mix(in srgb, var(--ph-brand-ink) 6%, transparent);
}

.ph-home-benefit-row .ph-home-feature-badge {
    margin-bottom: 1.05rem;
}

@media (min-width: 768px) {
    .ph-home-benefit-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.15rem;
    }
}

/* Journey — centered three-step path */

.ph-home-journey {
    background: var(--ph-home-cream);
    padding-block: 4.5rem;
}

.ph-home-journey .ph-home-head {
    margin-inline: auto;
    margin-bottom: 2.75rem;
    text-align: center;
    max-width: 36rem;
}

.ph-public-home .ph-home-journey .ph-home-kicker {
    color: var(--ph-home-orange);
}

.ph-home-journey-dots {
    display: flex;
    justify-content: center;
    gap: 0.38rem;
    margin-bottom: 0.85rem;
}

.ph-home-journey-dots > span {
    display: block;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: var(--ph-home-orange);
}

.ph-home-journey-dots > span:nth-child(2) {
    background: var(--ph-home-teal);
}

.ph-home-journey-dots > span:nth-child(3) {
    background: var(--ph-brand-lime);
}

.ph-phone-mock {
    width: min(100%, 14.5rem);
}

.ph-phone-shell {
    position: relative;
    border-radius: 2rem;
    padding: 0.7rem 0.65rem 0.9rem;
    background: linear-gradient(180deg, var(--ph-surface-beige), color-mix(in srgb, var(--ph-brand-primary) 24%, var(--ph-surface-beige)));
    box-shadow: 0 18px 36px rgba(44, 24, 16, 0.12);
}

.ph-phone-notch {
    display: block;
    width: 4.5rem;
    height: 0.55rem;
    margin: 0 auto 0.7rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ph-brand-dark) 22%, transparent);
}

.ph-phone-screen {
    display: grid;
    gap: 0.65rem;
    min-height: 16rem;
    padding: 1.1rem 0.95rem;
    border-radius: 1.35rem;
    background: var(--ph-surface-warm);
}

.ph-phone-kicker {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ph-neutral-700);
}

.ph-phone-line {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.ph-phone-otp,
.ph-phone-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.ph-phone-otp {
    background: var(--ph-white);
    color: var(--ph-neutral-700);
    border: 1px dashed var(--ph-border-strong);
}

.ph-phone-cta {
    background: var(--ph-brand-primary);
    color: var(--ph-brand-on-primary);
}

.ph-home-steps {
    list-style: none;
    position: relative;
    margin: 0 auto;
    padding: 0;
    display: grid;
    gap: 2rem;
    max-width: 52rem;
}

.ph-home-steps li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
}

.ph-home-steps li > span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: var(--ph-home-ink);
    color: var(--ph-white);
    font-size: 1.05rem;
    font-weight: 800;
}

.ph-home-steps h3 {
    margin: 0 0 0.4rem;
    font-size: 1.08rem;
    font-weight: 700;
}

.ph-home-steps p {
    margin: 0;
    max-width: 16.5rem;
    color: var(--ph-neutral-700);
    line-height: 1.8;
    font-size: 0.92rem;
}

@media (min-width: 768px) {
    .ph-home-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .ph-home-steps::before {
        content: "";
        position: absolute;
        top: 1.35rem;
        inset-inline: 16.666%;
        height: 1px;
        background-image: repeating-linear-gradient(
            to left,
            color-mix(in srgb, var(--ph-home-ink) 28%, transparent) 0 7px,
            transparent 7px 16px
        );
        pointer-events: none;
        z-index: 0;
    }
}

/* Plans */

.ph-home-plans-band .ph-home-head {
    margin-inline: auto;
    margin-bottom: 1.25rem;
    text-align: center;
    max-width: 36rem;
}

.ph-home-plan-includes {
    list-style: none;
    margin: 0 auto 1.85rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    max-width: 44rem;
}

.ph-home-plan-includes li {
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ph-home-teal) 16%, var(--ph-white));
    color: var(--ph-home-teal-ink);
    font-size: 0.82rem;
    font-weight: 600;
}

.ph-home-plan-includes li.is-label {
    background: color-mix(in srgb, var(--ph-home-teal) 22%, var(--ph-white));
}

.ph-home-plans {
    max-width: 42rem;
}

.ph-home-plans:has(> :nth-child(3)) {
    max-width: none;
}

.ph-home-plans:has(> :only-child) {
    max-width: 24rem;
}

.ph-public-home .ph-home-plans .ph-plan {
    position: relative;
    height: 100%;
    padding: 1.5rem 1.35rem 1.3rem;
    border: 0;
    background: var(--ph-white);
    box-shadow: 0 10px 28px color-mix(in srgb, var(--ph-home-ink) 6%, transparent);
    border-radius: var(--ph-home-radius-lg);
}

.ph-public-home .ph-home-plans .ph-plan.is-demo {
    background: var(--ph-white);
}

.ph-public-home .ph-home-plans .ph-plan.is-featured {
    border: 0;
    padding-top: 1.75rem;
    background: var(--ph-white);
    box-shadow:
        0 14px 32px color-mix(in srgb, var(--ph-home-ink) 8%, transparent),
        0 0 0 2px var(--ph-home-cta);
    transform: none;
    overflow: visible;
}

.ph-public-home .ph-home-plans .ph-plan.is-featured .ph-badge-plan {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    padding: 0.28rem 0.85rem;
}

.ph-public-home .ph-home-plans .ph-plan-kicker {
    margin: 0 0 0.35rem;
    color: var(--ph-neutral-500);
    font-size: 0.8rem;
    font-weight: 600;
}

.ph-public-home .ph-home-plans .ph-plan:hover {
    transform: translateY(-4px);
    border-color: transparent;
}

.ph-home-plans .ph-plan-name {
    margin: 0;
    font-size: 1.28rem;
}

.ph-public-home .ph-home-plans .ph-plan.is-compact .ph-plan-points {
    border-top: 0;
    padding-top: 0.15rem;
}

.ph-public-home .ph-home-plans .ph-plan .ph-actions .ph-btn {
    border-radius: 999px;
    min-height: 2.85rem;
}

.ph-public-home .ph-home-plans a.ph-btn:not(.ph-btn-ghost),
.ph-public-home .ph-home-plans button.ph-btn:not(.ph-btn-ghost) {
    background: var(--ph-home-orange);
    border-color: var(--ph-home-orange);
    color: var(--ph-brand-on-primary);
}

.ph-public-home .ph-home-plans a.ph-btn:not(.ph-btn-ghost):hover,
.ph-public-home .ph-home-plans a.ph-btn:not(.ph-btn-ghost):focus-visible,
.ph-public-home .ph-home-plans button.ph-btn:not(.ph-btn-ghost):hover,
.ph-public-home .ph-home-plans button.ph-btn:not(.ph-btn-ghost):focus-visible {
    background: var(--ph-home-orange-dark);
    border-color: var(--ph-home-orange-dark);
    color: var(--ph-brand-on-primary);
}

.ph-public-home .ph-home-plans a.ph-btn-ghost,
.ph-public-home .ph-home-plans button.ph-btn-ghost {
    background: var(--ph-white);
    border-color: var(--ph-border-strong);
    color: var(--ph-home-ink);
}

.ph-home-plans-enterprise-note {
    margin: 1.25rem 0 0;
    text-align: center;
    color: var(--ph-neutral-700);
    font-size: 0.95rem;
    line-height: 1.7;
}

.ph-home-plans-enterprise-note a {
    font-weight: 700;
    color: var(--ph-home-orange);
}

.ph-public-home .ph-home-more {
    display: block;
    margin: 1.1rem 0 0;
}

.ph-public-home .ph-home-more a {
    font-weight: 700;
    color: var(--ph-brand-magenta);
}

.ph-home-plans-band .ph-home-more {
    text-align: center;
}

.ph-home-plans-band .ph-home-more a {
    color: var(--ph-home-orange);
}

/* Stories */

.ph-home-stories {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.25rem;
}

.ph-home-story {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: var(--ph-home-radius-md);
    transition: transform 0.2s ease;
}

.ph-home-story:hover,
.ph-home-story:focus-visible {
    transform: translateY(-3px);
    outline: none;
}

.ph-home-story img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--ph-home-radius-md);
    background: var(--ph-surface-beige);
}

.ph-home-story h3 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.5;
    font-weight: 700;
}

.ph-home-story p {
    margin: 0.4rem 0 0;
    color: var(--ph-neutral-700);
    font-size: 0.92rem;
    line-height: 1.75;
}

@media (min-width: 800px) {
    .ph-home-stories {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* FAQ */

.ph-home-faq-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(28rem 18rem at 100% -10%, color-mix(in srgb, var(--ph-home-orange) 12%, transparent), transparent 70%),
        var(--ph-home-band-sky);
}

.ph-home-faq-layout {
    display: grid;
    gap: 1.75rem;
    align-items: start;
}

.ph-home-faq-intro .ph-home-head-note {
    margin-bottom: 1.15rem;
    max-width: 28rem;
}

.ph-home-faq-art {
    position: relative;
    width: min(100%, 18rem);
    aspect-ratio: 200 / 148;
    margin: 0 0 1.15rem;
}

.ph-home-faq-orb {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.ph-home-faq-orb-a {
    width: 6.5rem;
    height: 6.5rem;
    inset-inline-end: -1.1rem;
    top: -1.2rem;
    background: color-mix(in srgb, var(--ph-brand-primary) 16%, var(--ph-white));
}

.ph-home-faq-orb-b {
    width: 3.4rem;
    height: 3.4rem;
    inset-inline-start: -0.4rem;
    bottom: 0.4rem;
    background: color-mix(in srgb, var(--ph-brand-lime) 22%, var(--ph-white));
}

.ph-home-faq-orb-c {
    width: 2.2rem;
    height: 2.2rem;
    inset-inline-end: 18%;
    bottom: -0.35rem;
    background: color-mix(in srgb, var(--ph-brand-teal) 22%, var(--ph-white));
}

.ph-home-faq-draw {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
}

.ph-home-faq-ball-m { fill: var(--ph-surface-highlight); }
.ph-home-faq-ball-l { fill: color-mix(in srgb, var(--ph-brand-lime) 28%, var(--ph-white)); }
.ph-home-faq-ball-c { fill: color-mix(in srgb, var(--ph-brand-teal) 30%, var(--ph-white)); }

.ph-home-faq-bubble {
    fill: var(--ph-white);
    stroke: var(--ph-border);
    stroke-width: 1.5;
}

.ph-home-faq-mark,
.ph-home-faq-float {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.ph-home-faq-mark {
    inset-inline-start: 44%;
    top: 34%;
    width: 2.6rem;
    height: 2.6rem;
    background: var(--ph-surface-primary);
    color: var(--ph-brand-primary-dark);
    box-shadow: var(--ph-shadow-sm);
}

.ph-home-faq-mark .ph-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.ph-home-faq-float-child {
    inset-inline-start: 0.15rem;
    bottom: 0.85rem;
    width: 2.15rem;
    height: 2.15rem;
    background: var(--ph-white);
    color: var(--ph-brand-primary-dark);
}

.ph-home-faq-float-spark {
    inset-inline-end: 0.35rem;
    top: 1.1rem;
    width: 1.85rem;
    height: 1.85rem;
    background: var(--ph-white);
    color: var(--ph-brand-lime-dark);
}

.ph-home-faq-float .ph-icon {
    width: 1.05rem;
    height: 1.05rem;
}

.ph-home-faq {
    display: grid;
    gap: 0.65rem;
}

.ph-home-faq details {
    margin: 0;
    border-radius: var(--ph-home-radius-md);
    background: var(--ph-white);
    padding: 0;
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.ph-home-faq details[open] {
    background: var(--ph-white);
    box-shadow: 0 10px 24px rgba(44, 24, 16, 0.06);
}

.ph-home-faq summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    line-height: 1.5;
    min-height: 48px;
    padding: 0.95rem 1rem;
}

.ph-home-faq summary::-webkit-details-marker,
.ph-home-faq summary::marker {
    display: none;
    content: "";
}

.ph-home-faq summary:focus-visible {
    outline: 2px solid var(--ph-brand-primary);
    outline-offset: 2px;
    border-radius: var(--ph-home-radius-md);
}

.ph-home-faq-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    background: var(--ph-surface-primary);
    color: var(--ph-brand-primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
}

.ph-home-faq details[open] .ph-home-faq-index {
    background: var(--ph-brand-primary);
    color: var(--ph-brand-on-primary);
}

.ph-home-faq-q {
    flex: 1 1 auto;
}

.ph-home-faq-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--ph-white);
    color: var(--ph-brand-dark);
    transition: transform 0.25s ease-out, background 0.15s ease-out;
}

.ph-home-faq-toggle .ph-icon {
    width: 1rem;
    height: 1rem;
}

.ph-home-faq details[open] .ph-home-faq-toggle {
    background: var(--ph-surface-primary);
    transform: rotate(180deg);
}

.ph-home-faq-body {
    display: block;
}

.ph-home-faq-body > p {
    margin: 0;
    padding: 0 1rem 1.05rem 1rem;
    padding-inline-start: calc(1rem + 1.85rem + 0.75rem);
    color: var(--ph-neutral-700);
    line-height: 1.85;
}

.ph-home-faq-body a {
    font-weight: 700;
    color: var(--ph-brand-primary-dark);
}

@media (min-width: 900px) {
    .ph-home-faq-layout {
        grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.15fr);
        gap: 2.5rem;
        align-items: center;
    }
}

/* Gallery */

.ph-home-gallery-band {
    background: var(--ph-home-band-mint);
}

.ph-home-gallery {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.ph-home-gallery a {
    display: block;
    overflow: hidden;
    border-radius: var(--ph-home-radius-md);
    aspect-ratio: 1;
}

.ph-home-gallery li:nth-child(1) a,
.ph-home-gallery li:nth-child(6) a {
    border-radius: var(--ph-home-radius-xl);
}

.ph-home-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 0.4s ease;
}

.ph-home-gallery a:hover img,
.ph-home-gallery a:focus-visible img {
    transform: scale(1.05);
}

@media (min-width: 800px) {
    .ph-home-gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.85rem;
    }
}

/* Final CTA */

.ph-home-cta {
    position: relative;
    overflow: hidden;
    padding: 0.5rem 0 0;
    background:
        radial-gradient(32rem 16rem at 80% 0%, color-mix(in srgb, var(--ph-brand-primary) 35%, transparent), transparent 70%),
        radial-gradient(24rem 14rem at 0% 100%, color-mix(in srgb, var(--ph-brand-lime) 16%, transparent), transparent 68%),
        var(--ph-surface-warm);
}

.ph-home-cta-body {
    position: relative;
    z-index: 1;
    padding-bottom: 1.5rem;
}

.ph-home-cta-wave {
    display: block;
    height: 2.35rem;
    margin-bottom: -1px;
    color: var(--ph-home-footer-bg, color-mix(in srgb, var(--ph-chrome-dark) 82%, var(--ph-brand-dark)));
    pointer-events: none;
}

.ph-home-cta-wave svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.ph-home-cta-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    padding: 1.75rem 1.5rem;
    border-radius: var(--ph-home-radius-xl);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--ph-brand-primary) 38%, var(--ph-white)) 0%, var(--ph-white) 58%);
    box-shadow: 0 18px 40px rgba(44, 24, 16, 0.08);
}

.ph-home-cta-card h2 {
    max-width: 28rem;
}

.ph-home-cta-note {
    margin: 0.65rem 0 0;
    max-width: 32rem;
    color: var(--ph-neutral-700);
    line-height: 1.8;
}

.ph-home-cta-card .ph-btn {
    border-radius: 999px;
}

.ph-home-cta-card .ph-btn-ghost:hover,
.ph-home-cta-card .ph-btn-ghost:focus-visible {
    background: var(--ph-white);
    border-color: var(--ph-brand-primary);
}

@media (max-width: 640px) {
    .ph-home-cta-card {
        padding: 1.35rem 1.15rem;
    }

    .ph-home-cta-card .ph-actions,
    .ph-home-hero-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .ph-home-cta-card .ph-actions .ph-btn,
    .ph-home-hero-actions .ph-btn,
    .ph-public-home .ph-site-footer-cta .ph-btn {
        width: 100%;
    }
}

/* Footer on homepage — warm premium, scoped so other pages keep the shared footer. */

.ph-public-home {
    --ph-home-footer-bg: color-mix(in srgb, var(--ph-chrome-dark) 82%, var(--ph-brand-dark));
    --ph-home-footer-text: color-mix(in srgb, var(--ph-surface-warm) 94%, transparent);
    --ph-home-footer-muted: color-mix(in srgb, var(--ph-surface-warm) 62%, transparent);
    --ph-home-footer-line: color-mix(in srgb, var(--ph-brand-gold) 22%, transparent);
}

.ph-public-home .ph-site-footer {
    margin-top: 0;
    box-shadow: none;
    overflow-x: clip;
    overflow-y: visible;
    border-top: 0;
    background: var(--ph-home-footer-bg);
    color: var(--ph-home-footer-text);
}

.ph-public-home .ph-site-footer-pattern {
    display: none;
}

.ph-public-home .ph-site-footer-deco {
    position: absolute;
    inset-inline-end: -1.5rem;
    top: 1.25rem;
    width: 9.5rem;
    height: 6.5rem;
    color: color-mix(in srgb, var(--ph-brand-gold) 28%, transparent);
    pointer-events: none;
    z-index: 0;
}

.ph-public-home .ph-site-footer-deco svg {
    display: block;
    width: 100%;
    height: 100%;
}

.ph-public-home .ph-site-footer-main {
    display: grid;
    gap: 1.5rem;
    padding: 2rem 0 1.75rem;
    align-items: start;
}

.ph-public-home .ph-site-footer-brand {
    order: 1;
}

.ph-public-home .ph-site-footer-cta {
    order: 2;
}

.ph-public-home .ph-site-footer-group,
.ph-public-home .ph-site-footer-nav {
    order: 3;
}

.ph-public-home .ph-site-footer-contact {
    order: 6;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.ph-public-home .ph-site-footer-social {
    order: 7;
    max-width: none;
    margin-top: 0.25rem;
    padding-top: 0.35rem;
    border-top: 0;
}

.ph-public-home .ph-site-footer-kicker {
    margin: 0 0 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--ph-brand-gold);
}

.ph-public-home .ph-site-footer-kicker::before {
    display: none;
}

.ph-public-home .ph-site-footer-mark {
    display: inline-flex;
}

.ph-public-home .ph-site-footer-mark .ph-brand-tagline {
    display: none;
}

.ph-public-home .ph-site-footer-mark .ph-brand-name {
    font-size: 1.15rem;
}

.ph-public-home .ph-site-footer-statement {
    margin: 0.85rem 0 0;
    max-width: 22rem;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.7;
    color: var(--ph-home-footer-text);
}

.ph-public-home .ph-site-footer-blurb {
    margin: 0.55rem 0 0;
    max-width: 24rem;
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--ph-home-footer-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ph-public-home .ph-site-footer-cta {
    margin: 1.1rem 0 0;
}

.ph-public-home .ph-site-footer-cta .ph-btn {
    border-radius: 999px;
    min-height: 2.75rem;
    padding-inline: 1.35rem;
}

.ph-public-home .ph-site-footer-group {
    margin: 0;
    border-top: 1px solid var(--ph-home-footer-line);
    padding-top: 0.15rem;
}

.ph-public-home .ph-site-footer-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    list-style: none;
    cursor: pointer;
    min-height: 2.75rem;
    margin: 0;
    padding: 0.15rem 0;
}

.ph-public-home .ph-site-footer-group > summary::-webkit-details-marker,
.ph-public-home .ph-site-footer-group > summary::marker {
    display: none;
    content: "";
}

.ph-public-home .ph-site-footer-group > summary:focus-visible {
    outline: 2px solid var(--ph-brand-gold);
    outline-offset: 3px;
    border-radius: 8px;
}

.ph-public-home .ph-site-footer-chevron {
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
    color: var(--ph-brand-gold);
    transition: transform 0.2s ease;
}

.ph-public-home .ph-site-footer-group[open] .ph-site-footer-chevron {
    transform: rotate(180deg);
}

.ph-public-home .ph-site-footer-nav {
    padding-inline-start: 0;
    border-inline-start: 0;
}

.ph-public-home .ph-site-footer-nav ul {
    gap: 0.15rem;
    padding-bottom: 0.55rem;
}

.ph-public-home .ph-site-footer-nav ul ul {
    margin-top: 0.2rem;
    padding-bottom: 0;
    padding-inline-start: 0.75rem;
}

.ph-public-home .ph-site-footer-nav a {
    min-height: 2.75rem;
    padding: 0.2rem 0;
    color: var(--ph-home-footer-text);
}

.ph-public-home .ph-site-footer-nav a::before {
    display: none;
}

.ph-public-home .ph-site-footer-nav a:hover,
.ph-public-home .ph-site-footer-nav a:focus-visible {
    color: var(--ph-brand-gold);
    text-decoration: underline;
    text-underline-offset: 0.28rem;
    outline: none;
}

.ph-public-home .ph-site-footer-contact-row {
    min-height: 2.5rem;
    align-items: center;
    gap: 0.65rem;
}

.ph-public-home .ph-site-footer-contact-row .ph-icon {
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0;
    color: var(--ph-brand-gold);
}

.ph-public-home .ph-site-footer-contact-row a:focus-visible {
    outline: 2px solid var(--ph-brand-gold);
    outline-offset: 3px;
    border-radius: 6px;
}

.ph-public-home .ph-site-footer-more {
    margin-top: 0.65rem;
    padding-top: 0;
    border-top: 0;
}

.ph-public-home .ph-site-footer-contact-page {
    min-height: 2.75rem;
    padding: 0;
    border: 0;
    background: none;
    border-radius: 0;
    color: var(--ph-brand-gold);
    font-size: 0.9rem;
}

.ph-public-home .ph-site-footer-contact-page:hover,
.ph-public-home .ph-site-footer-contact-page:focus-visible {
    background: none;
    color: var(--ph-brand-primary);
    text-decoration: underline;
    text-underline-offset: 0.28rem;
}

.ph-public-home .ph-site-footer-social-list {
    gap: 0.55rem;
}

.ph-public-home .ph-site-footer-social-link {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--ph-surface-warm) 16%, transparent);
    background: color-mix(in srgb, var(--ph-surface-warm) 6%, transparent);
    color: var(--ph-home-footer-text);
    transform: none;
    box-shadow: none;
}

.ph-public-home .ph-site-footer-social-link .ph-icon {
    width: 1.15rem;
    height: 1.15rem;
}

.ph-public-home .ph-site-footer-social-link:hover,
.ph-public-home .ph-site-footer-social-link:focus-visible {
    color: var(--ph-brand-on-primary);
    background: var(--ph-brand-gold);
    border-color: var(--ph-brand-gold);
    transform: none;
    box-shadow: none;
}

.ph-public-home .ph-site-footer-social-link:focus-visible {
    box-shadow: 0 0 0 3px var(--ph-focus-ring);
}

.ph-public-home .ph-site-footer-bottom {
    gap: 0.75rem 1.5rem;
    padding: 1rem 0 1.35rem;
    border-top: 1px solid var(--ph-home-footer-line);
    color: var(--ph-home-footer-muted);
}

.ph-public-home .ph-site-footer-bottom-links a {
    min-height: 2.5rem;
    color: var(--ph-home-footer-muted);
}

.ph-public-home .ph-site-footer-bottom-links a + a::before {
    background: var(--ph-home-footer-line);
}

.ph-public-home .ph-site-footer-bottom-links a:hover,
.ph-public-home .ph-site-footer-bottom-links a:focus-visible {
    color: var(--ph-brand-gold);
}

@media (min-width: 768px) {
    .ph-public-home .ph-site-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem 2rem;
        padding-top: 2.15rem;
    }

    .ph-public-home .ph-site-footer-brand {
        grid-column: 1 / -1;
    }

    .ph-public-home .ph-site-footer-group {
        border-top: 0;
        padding-top: 0;
    }

    .ph-public-home .ph-site-footer-group > summary {
        min-height: 0;
        padding: 0;
        cursor: default;
        pointer-events: none;
    }

    .ph-public-home .ph-site-footer-group > ul {
        display: grid !important;
    }

    .ph-public-home .ph-site-footer-chevron {
        display: none;
    }

    .ph-public-home .ph-site-footer-nav a {
        min-height: 0;
        padding: 0.28rem 0;
    }

    .ph-public-home .ph-site-footer-social {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .ph-public-home .ph-site-footer-main {
        grid-template-columns: minmax(16rem, 1.35fr) repeat(3, minmax(10.5rem, 0.82fr)) minmax(13rem, 1.05fr);
        gap: 2rem 1.5rem;
        padding-top: 2.35rem;
        padding-bottom: 2rem;
    }

    .ph-public-home .ph-site-footer-brand {
        grid-column: 1;
        order: 1;
    }

    .ph-public-home .ph-site-footer-group,
    .ph-public-home .ph-site-footer-nav {
        grid-column: auto;
        order: 2;
    }

    .ph-public-home .ph-site-footer-contact {
        grid-column: auto;
        order: 3;
    }

    .ph-public-home .ph-site-footer-social {
        grid-column: 1 / -1;
        order: 8;
        padding-top: 0.5rem;
        border-top: 1px solid var(--ph-home-footer-line);
    }

    .ph-public-home .ph-site-footer-nav a {
        min-height: 2.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ph-public-home .ph-site-footer-chevron,
    .ph-public-home .ph-site-footer-social-link,
    .ph-public-home .ph-site-footer-cta .ph-btn,
    .ph-public-home .ph-site-footer-nav a {
        transition: none;
    }

    .ph-public-home .ph-site-footer-group[open] .ph-site-footer-chevron {
        transform: none;
    }
}

/* Motion */

.ph-js .ph-public-home [data-reveal] {
    opacity: 0.22;
    transform: translateY(8px);
    transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.ph-js .ph-public-home [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .ph-public-home .ph-hero-slide,
    .ph-public-home .ph-hero-progress,
    .ph-public-home .ph-home-faq details,
    .ph-public-home .ph-home-faq-toggle,
    .ph-public-home .ph-home-audience,
    .ph-public-home .ph-home-story,
    .ph-public-home .ph-home-gallery img {
        animation: none !important;
        transition: none !important;
    }

    .ph-hero-slide.is-active .ph-hero-slide-photo {
        animation: none;
    }

    .ph-js .ph-public-home [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .ph-home-audience:hover,
    .ph-home-audience-cta:hover,
    .ph-home-audience-cta:focus-visible,
    .ph-home-story:hover,
    .ph-public-home .ph-home-plans .ph-plan:hover {
        transform: none;
    }
}

@media (max-width: 374px) {
    .ph-home-wrap {
        width: min(72rem, calc(100% - 1.25rem));
    }

    .ph-public-home .ph-home-hero h1 {
        font-size: 1.7rem;
    }
}
