/* ==========================================================================
   Pro Peptide — Homepage v6 (cold-visitor funnel)
   Loaded only on the front page.
   Tokens mirror DESIGN.md v5.
   ========================================================================== */

/* --- Tokens / locals --- */
.pp-home,
.pp-home-hero,
.pp-home-trust,
.pp-home-voice,
.pp-home-popular,
.pp-home-howit,
.pp-home-planner,
.pp-home-cats,
.pp-home-reviews,
.pp-home-faq,
.pp-home-email {
    --pp-blue: #1f9edb;
    --pp-blue-text: #0e6a99;
    --pp-blue-tint: #E8F4FB;
    --pp-blue-deep: #0c5478;
    --pp-red: #ef4444;
    --pp-red-hover: #dc2626;
    --pp-green: #22c55e;
    --pp-green-text: #15803d;
    --pp-green-tint: #F0FDF4;
    --pp-dark: #0f172a;
    --pp-text: #343434;
    --pp-text-2: #6B7280;
    --pp-text-3: #9CA3AF;
    --pp-bg: #FFFFFF;
    --pp-bg-2: #fafafa;
    --pp-bg-3: #F3F4F6;
    --pp-border: #E5E7EB;
    --pp-border-soft: #F3F4F6;
    --pp-shadow-card: 0 2px 12px rgba(0,0,0,0.04);
    --pp-shadow-card-hover: 0 8px 24px rgba(0,0,0,0.08);
    --pp-radius-card: 16px;
    --pp-radius-btn: 12px;
    font-family: 'Montserrat', 'Inter', system-ui, sans-serif;
}

/* --- Reusable stacked heading (C-06 Two-Color Heading) ---
   Renamed from `.pp-section-heading` to dodge the parent theme's flex+lines
   rule on that name (style.css:350). `display: block` on container plus
   block-display children defends against any inherited flex/grid layouts
   from page builders / Elementor wrappers. */
.pp-stacked-heading {
    display: block !important;
    text-align: center;
    margin: 0 auto 44px;
    max-width: none;
    padding: 0 16px;
}
.pp-stacked-heading::before,
.pp-stacked-heading::after {
    content: none !important;
    display: none !important;
}
.pp-stacked-heading__eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--pp-blue-text);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.pp-stacked-heading__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    font-size: 36px;
    font-weight: 600;
    color: var(--pp-text);
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 0 12px;
    max-width: none;
}
.pp-stacked-heading__title::before,
.pp-stacked-heading__title::after {
    content: "" !important;
    display: block !important;
    flex: 1 1 0;
    height: 1px;
    background: var(--pp-border);
    min-width: 24px;
}
.pp-stacked-heading__title-text {
    display: inline-block;
    flex-shrink: 0;
}
.pp-stacked-heading--light .pp-stacked-heading__title::before,
.pp-stacked-heading--light .pp-stacked-heading__title::after {
    background: rgba(250,250,250,0.25);
}
.pp-stacked-heading__subtitle {
    display: block;
    font-size: 15px;
    color: var(--pp-text-2);
    line-height: 1.6;
    margin: 0 auto;
    max-width: 640px;
}
.pp-stacked-heading--light .pp-stacked-heading__eyebrow  { color: rgba(250,250,250,0.6); }
.pp-stacked-heading--light .pp-stacked-heading__title    { color: #fafafa; }
.pp-stacked-heading--light .pp-stacked-heading__subtitle { color: rgba(250,250,250,0.7); }
.pp-text-accent { color: var(--pp-blue); }

@media (max-width: 768px) {
    .pp-stacked-heading { margin-bottom: 20px; }
    .pp-stacked-heading__title { font-size: 26px; gap: 14px; }
    .pp-stacked-heading__title::before,
    .pp-stacked-heading__title::after { min-width: 16px; }
    /* PP audit 2026-05-27 — title-text was flex-shrink:0, overflowing the
     * viewport by ~80px at 414/360. Let it shrink + wrap, and clamp the
     * font down so long headlines stay inside the viewport. */
    .pp-stacked-heading__title-text {
        max-width: 100%;
        flex-shrink: 1;
        min-width: 0;
        word-wrap: break-word;
        font-size: clamp(22px, 6vw, 32px);
    }
}

/* --- Reusable buttons --- */
.pp-btn-pri,
.pp-btn-ghost,
.pp-btn-utility-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--pp-radius-btn);
    border: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.pp-btn-pri {
    background: var(--pp-red);
    color: #fafafa;
    box-shadow: 0 8px 24px rgba(239,68,68,0.35);
}
.pp-btn-pri:hover { background: var(--pp-red-hover); color: #fafafa; transform: translateY(-1px); }
.pp-btn-pri:focus-visible { outline: 3px solid var(--pp-blue); outline-offset: 3px; }
.pp-btn-ghost {
    background: rgba(250,250,250,0.05);
    border: 1.5px solid rgba(250,250,250,0.2);
    color: #fafafa;
    font-weight: 600;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.pp-btn-ghost:hover { background: rgba(250,250,250,0.1); color: #fafafa; }
.pp-btn-ghost:focus-visible { outline: 3px solid var(--pp-blue); outline-offset: 3px; }
.pp-btn-utility-dark {
    background: var(--pp-dark);
    color: #fafafa;
    border-radius: 9999px;
    padding: 14px 36px;
    font-weight: 600;
    box-shadow: none;
}
.pp-btn-utility-dark:hover { background: #1f1f1f; color: #fafafa; }
.pp-btn-utility-dark:focus-visible { outline: 3px solid var(--pp-blue); outline-offset: 3px; }

/* ==========================================================================
   1. HERO
   ========================================================================== */
.pp-home-hero {
    position: relative;
    min-height: 520px;
    padding: 80px 64px;
    overflow: hidden;
    color: #fafafa;
    isolation: isolate;
    display: flex;
    align-items: center;
}
.pp-home-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #0c1420;
}
.pp-home-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: block;
    pointer-events: none;
}
.pp-home-hero__gradient {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(8,12,16,0.92) 0%, rgba(8,12,16,0.55) 55%, rgba(8,12,16,0.3) 100%);
}
.pp-home-hero__inner {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}
.pp-home-hero__copy {
    flex: 1;
    max-width: 720px;
}
.pp-home-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(31,158,219,0.15);
    border: 1px solid rgba(31,158,219,0.3);
    color: var(--pp-blue);
    font-size: 11px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.pp-home-hero__h1 {
    font-size: 54px;
    font-weight: 600;
    color: #fafafa;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0 0 16px;
}
.pp-home-hero__h1 .pp-text-accent { color: var(--pp-blue); }
.pp-home-hero__sub-lead {
    font-size: 22px;
    font-weight: 600;
    color: #fafafa;
    line-height: 1.3;
    margin: 0 0 14px;
}
.pp-home-hero__sub {
    font-size: 15px;
    color: rgba(250,250,250,0.78);
    line-height: 1.6;
    max-width: 560px;
    margin: 0 0 28px;
}
.pp-home-hero__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.pp-home-hero__mini {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
    font-size: 11px;
    color: rgba(250,250,250,0.65);
    font-weight: 500;
}
.pp-home-hero__mini-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.pp-home-hero__dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pp-green);
    box-shadow: 0 0 8px rgba(34,197,94,0.6);
}

@media (max-width: 768px) {
    .pp-home-hero { padding: 56px 20px; min-height: 0; }
    .pp-home-hero__inner { flex-direction: column; gap: 0; }
    .pp-home-hero__h1 { font-size: 32px; letter-spacing: -0.5px; }
    .pp-home-hero__sub-lead { font-size: 17px; }
    .pp-home-hero__sub { font-size: 13px; }
    .pp-home-hero__mini { gap: 14px; margin-top: 24px; }
    .pp-home-hero__ctas .pp-btn-pri,
    .pp-home-hero__ctas .pp-btn-ghost { flex: 1 1 auto; justify-content: center; }
    /* Stronger overlay on small screens so stacked text stays legible. */
    .pp-home-hero__gradient {
        background: linear-gradient(180deg, rgba(8,12,16,0.6) 0%, rgba(8,12,16,0.85) 100%);
    }
}

/* ==========================================================================
   2. THE PRO PEPTIDE STANDARD (trust section — icon-on-top columns)
   ========================================================================== */
.pp-home-trust {
    background: var(--pp-bg);
    padding: 72px 64px;
    border-bottom: 1px solid var(--pp-border-soft);
}
.pp-home-trust__inner {
    max-width: 1280px;
    margin: 0 auto;
}
.pp-home-trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.pp-home-trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}
.pp-home-trust__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pp-home-trust__icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5; /* CSS overrides the SVG stroke-width="2" — lighter, more refined */
    display: block;
}
.pp-home-trust__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.pp-home-trust__title {
    font-size: 17px;
    font-weight: 600;
    color: var(--pp-text);
    line-height: 1.25;
}
.pp-home-trust__desc {
    font-size: 13px;
    color: var(--pp-text-2);
    line-height: 1.45;
    max-width: 22ch;
}

@media (max-width: 768px) {
    .pp-home-trust { padding: 48px 20px; }
    .pp-home-trust__grid { grid-template-columns: 1fr 1fr; gap: 32px 18px; }
    .pp-home-trust__icon svg { width: 40px; height: 40px; }
    .pp-home-trust__title { font-size: 15px; }
    .pp-home-trust__desc { font-size: 12px; }
}

/* ==========================================================================
   2b. PEPTIDES, EXPLAINED (education — transparent cutout + copy)
   ========================================================================== */
.pp-home-edu {
    background: var(--pp-bg);
    padding: 80px 64px;
    overflow: hidden;
}
.pp-home-edu__inner {
    max-width: 1280px;
    margin: 0 auto;
}
.pp-home-edu__grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    align-items: center;
    gap: 56px;
}
.pp-home-edu__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.pp-home-edu__img {
    height: 442px;
    width: auto;
    max-width: 100%;
    /* Soft diffuse shadow that follows the cutout's alpha — no hard box/outline. */
    filter: drop-shadow(0 22px 34px rgba(15,23,42,0.18)) drop-shadow(0 6px 12px rgba(15,23,42,0.10));
    /* Subtle, intentional nudge toward the copy column. */
    transform: translateX(28px);
}
.pp-home-edu__eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--pp-blue-text);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}
.pp-home-edu__lead {
    font-size: 26px;
    font-weight: 600;
    color: var(--pp-text);
    line-height: 1.25;
    letter-spacing: -0.3px;
    margin: 0 0 22px;
}
.pp-home-edu__body {
    font-size: 16px;
    color: var(--pp-text-2);
    line-height: 1.65;
    margin: 0 0 18px;
    max-width: 56ch;
}
.pp-home-edu__kicker {
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
    color: var(--pp-text);
    line-height: 1.5;
    margin: 26px 0 0;
    padding-left: 16px;
    border-left: 3px solid var(--pp-blue);
}

@media (max-width: 768px) {
    .pp-home-edu { padding: 48px 20px; }
    .pp-home-edu__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .pp-home-edu__img {
        height: 312px;
        transform: none;
    }
    .pp-home-edu__lead { font-size: 22px; }
}

/* ==========================================================================
   3. VOICE BLOCK (brand voice statement, replaces the old 4-card why grid)
   ========================================================================== */
.pp-home-voice {
    background: var(--pp-bg);
    padding: 80px 64px 72px;
    text-align: center;
}
.pp-home-voice__inner {
    max-width: 880px;
    margin: 0 auto;
}
.pp-home-voice__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--pp-blue-text);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}
.pp-home-voice__h2 {
    font-size: 36px;
    font-weight: 600;
    color: var(--pp-text);
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 0 28px;
}
.pp-home-voice__h2 .pp-text-accent { color: var(--pp-blue); }
.pp-home-voice__body {
    font-size: 16px;
    color: var(--pp-text-2);
    line-height: 1.7;
    margin: 0 auto 14px;
    max-width: 720px;
}
.pp-home-voice__body:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
    .pp-home-voice { padding: 56px 20px; }
    .pp-home-voice__h2 { font-size: 26px; }
    .pp-home-voice__body { font-size: 14px; }
}

/* ==========================================================================
   4. MOST POPULAR (overrides for the universal product card on home)
   ========================================================================== */
.pp-home-popular {
    background: var(--pp-bg);
    padding: 60px 64px 72px;
}
.pp-home-popular__inner {
    max-width: 1280px;
    margin: 0 auto;
}
.pp-home-popular__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.pp-home-popular__cta {
    text-align: center;
    margin-top: 40px;
}

/* Bigger Add-to-Cart on home Most Popular cards (scoped to this section
   only — shop archives + PDP related products keep their normal size). */
.pp-home-popular .pp-product-card__cta {
    height: 50px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
}

/* --- home_popular layout: top row holds [heart] + [Use Peptide Planner],
   image with category pill at bottom-center, body has a big blue title,
   smaller price, full-width Add-to-Cart. Scoped to .pp-product-card--home-popular. */
.pp-product-card--home-popular {
    display: flex;
    flex-direction: column;
}

/* Top row: heart on the left, planner link on the right, same row,
   hugged to the card corners (small inset for breathing room). */
.pp-product-card--home-popular .pp-product-card__top-row {
    display: flex;
    flex-direction: row; /* override base .pp-product-card__top-row { flex-direction: column } (style.css:5009) */
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px 0;
    margin-bottom: 4px;
    min-height: 44px;
}
.pp-product-card--home-popular .pp-product-card__top-row .pp-wishlist-btn {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: 40px !important;
    height: 40px !important;
}
.pp-product-card--home-popular .pp-product-card__planner-link--above {
    font-size: 17px;
    font-weight: 600;
    gap: 6px;
}
.pp-product-card--home-popular .pp-product-card__planner-link--above svg {
    width: 18px;
    height: 18px;
}

/* Category pill: bottom-center of the image area. */
.pp-product-card--home-popular .pp-product-card__image > .pp-product-card__category-pill,
.pp-product-card--home-popular .pp-product-card__image > a.pp-product-card__category-pill {
    top: auto !important;
    right: auto !important;
    bottom: 12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}
.pp-product-card--home-popular .pp-product-card__image > .pp-product-card__category-pill:hover,
.pp-product-card--home-popular .pp-product-card__image > a.pp-product-card__category-pill:hover {
    transform: translateX(-50%) translateY(-1px) !important;
}

/* Title: big, blue. */
.pp-product-card--home-popular .pp-product-card__title {
    font-size: 32px;
    font-weight: 600;
    margin-top: 18px;
}
.pp-product-card--home-popular .pp-product-card__title .pp-product-card__title-link {
    color: var(--pp-blue, #1f9edb);
}
.pp-product-card--home-popular .pp-product-card__title .pp-product-card__title-link:hover {
    color: #1577AD;
}

/* Price: smaller. */
.pp-product-card--home-popular .pp-product-card__price-value {
    font-size: 18px;
}
.pp-product-card--home-popular .pp-product-card__price-from {
    font-size: 9px;
}

/* Add-to-Cart spans the full body width (no inline planner link anymore). */
.pp-product-card--home-popular .pp-product-card__cta-row {
    display: block;
}
.pp-product-card--home-popular .pp-product-card__cta-row .pp-product-card__cta {
    width: 100%;
}

@media (max-width: 1024px) {
    .pp-home-popular__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .pp-home-popular { padding: 96px 28px 64px; }
    .pp-home-popular__grid { gap: 16px; }
}
@media (max-width: 600px) {
    .pp-home-popular { padding: 80px 20px 56px; }
    .pp-home-popular__grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ==========================================================================
   5. HOW IT WORKS
   ========================================================================== */
.pp-home-howit {
    background: var(--pp-bg);
    padding: 60px 64px 72px;
}
.pp-home-howit__inner {
    max-width: 1280px;
    margin: 0 auto;
}
.pp-home-howit__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

/* Connecting line segments: sit between circle centres with a gap each end.
   Circle is 58px (radius 29) + ~12px gap = 41px inset from each centre.
   Column centres sit at 12.5% / 37.5% / 62.5% / 87.5%. */
.pp-home-howit__seg {
    position: absolute;
    top: 28px;
    height: 2px;
    width: calc(25% - 82px);
    background: var(--pp-border);
    z-index: 0;
    border-radius: 2px;
    overflow: hidden;
}
.pp-home-howit__seg:nth-of-type(1) { left: calc(12.5% + 41px); }
.pp-home-howit__seg:nth-of-type(2) { left: calc(37.5% + 41px); }
.pp-home-howit__seg:nth-of-type(3) { left: calc(62.5% + 41px); }
.pp-home-howit__seg-fill {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--pp-blue);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s ease;
}

.pp-home-howit__step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 12px;
}
.pp-home-howit__circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--pp-bg-3);
    color: var(--pp-text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}
.pp-home-howit__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--pp-text);
    margin: 0 0 8px;
}
.pp-home-howit__desc {
    font-size: 13px;
    color: var(--pp-text-2);
    line-height: 1.6;
    margin: 0 auto;
    max-width: 240px;
}

/* Active state (added once on scroll-in by pp-home.js). Staggered ~300ms. */
.pp-home-howit__grid.is-active .pp-home-howit__step:nth-of-type(1) .pp-home-howit__circle { transition-delay: 0ms; }
.pp-home-howit__grid.is-active .pp-home-howit__step:nth-of-type(2) .pp-home-howit__circle { transition-delay: 300ms; }
.pp-home-howit__grid.is-active .pp-home-howit__step:nth-of-type(3) .pp-home-howit__circle { transition-delay: 600ms; }
.pp-home-howit__grid.is-active .pp-home-howit__step:nth-of-type(4) .pp-home-howit__circle { transition-delay: 900ms; }
.pp-home-howit__grid.is-active .pp-home-howit__seg:nth-of-type(1) .pp-home-howit__seg-fill { transition-delay: 150ms; }
.pp-home-howit__grid.is-active .pp-home-howit__seg:nth-of-type(2) .pp-home-howit__seg-fill { transition-delay: 450ms; }
.pp-home-howit__grid.is-active .pp-home-howit__seg:nth-of-type(3) .pp-home-howit__seg-fill { transition-delay: 750ms; }
.pp-home-howit__grid.is-active .pp-home-howit__circle {
    background: var(--pp-blue);
    color: #fafafa;
}
.pp-home-howit__grid.is-active .pp-home-howit__seg-fill {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .pp-home-howit { padding: 80px 20px 56px; }
    .pp-home-howit__grid { grid-template-columns: 1fr; gap: 36px; }
    .pp-home-howit__step { padding: 0; }
    /* Vertical line/fill between stacked steps.
       2026-06-09 mobile audit (B4): the segment used to span top:58px to
       bottom:-36px — the full height of the step's own title + description —
       so the 2px line drew straight through the centered text. The connector
       now occupies only the 36px grid gap below each step (text-block bottom
       to the next step's circle), so it can never cross copy. */
    .pp-home-howit__seg { display: none; }
    .pp-home-howit__step:not(:last-child)::before {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 36px;
        background: var(--pp-border);
        z-index: 0;
    }
    .pp-home-howit__step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) scaleY(0);
        transform-origin: top center;
        width: 2px;
        height: 36px;
        background: var(--pp-blue);
        z-index: 0;
        transition: transform 0.45s ease;
    }
    .pp-home-howit__grid.is-active .pp-home-howit__step:nth-of-type(1)::after { transition-delay: 150ms; }
    .pp-home-howit__grid.is-active .pp-home-howit__step:nth-of-type(2)::after { transition-delay: 450ms; }
    .pp-home-howit__grid.is-active .pp-home-howit__step:nth-of-type(3)::after { transition-delay: 750ms; }
    .pp-home-howit__grid.is-active .pp-home-howit__step::after {
        transform: translateX(-50%) scaleY(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pp-home-howit__circle,
    .pp-home-howit__seg-fill,
    .pp-home-howit__step::after {
        transition: none !important;
    }
}

/* ==========================================================================
   6. PEPTIDE PLANNER EXPLAINER (dark hero-style, two-column)
   ========================================================================== */
.pp-home-planner {
    background: var(--pp-bg);
    color: var(--pp-text);
    padding: 72px 64px;
}
.pp-home-planner__inner {
    max-width: 1280px;
    margin: 0 auto;
}
/* Intro line tucks just under the stacked heading. */
.pp-home-planner .pp-stacked-heading { margin-bottom: 14px; }
.pp-home-planner__intro {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    color: var(--pp-text-2);
    line-height: 1.6;
}
/* Tight two-column block: text stack (left) + one screenshot (right). */
.pp-home-planner__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
    margin-top: 48px;
}
.pp-home-planner__col-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 26px;
}
.pp-home-planner__block { min-width: 0; }
.pp-home-planner__feature-h {
    font-size: 20px;
    font-weight: 600;
    color: var(--pp-text);
    line-height: 1.25;
    letter-spacing: -0.3px;
    margin: 0 0 8px;
}
.pp-home-planner__feature-b {
    font-size: 15px;
    color: var(--pp-text-2);
    line-height: 1.65;
    margin: 0;
}
.pp-home-planner__col-media { min-width: 0; }
/* Screenshot frame — light, subtle border, soft shadow, rounded. Natural aspect. */
.pp-home-planner__shot {
    display: block;
    width: 100%;
    height: auto;
    background: var(--pp-bg);
    border: 1px solid var(--pp-border-soft, #F3F4F6);
    border-radius: var(--pp-radius-card, 16px);
    box-shadow: 0 4px 24px rgba(52, 52, 52, 0.08);
}
/* When .pp-home-planner__shot is an anchor wrapping an img (Media Library path),
 * the anchor itself shouldn't carry the border/shadow — pass those to the img,
 * and let the anchor be a transparent click target. */
a.pp-home-planner__shot {
    background: transparent;
    border: 0;
    box-shadow: none;
    text-decoration: none;
}
.pp-home-planner__shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}
/* Neutral placeholder (single) until the real screenshot is dropped in. */
.pp-home-planner__shot--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    background: var(--pp-bg-2, #fafafa);
    color: var(--pp-text-3, #9CA3AF);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.pp-home-planner__cta {
    margin-top: 6px;
}
.pp-home-planner__cta .pp-btn-pri {
    padding: 14px 28px;
    font-size: 14px;
    box-shadow: none;
}

@media (max-width: 768px) {
    .pp-home-planner { padding: 48px 20px; }
    .pp-home-planner__intro { font-size: 14px; }
    /* Stack: text blocks (with button) first, single image below. */
    .pp-home-planner__layout { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
    .pp-home-planner__col-media { order: 2; }
    .pp-home-planner__feature-h { font-size: 19px; }
}

/* ==========================================================================
   7. CATEGORIES (color-tile cards, no media)
   Each tile sets --pp-cc (accent) and --pp-cc-tint (background) inline.
   ========================================================================== */
/* Container mirrors the trust section (.pp-home-trust) exactly so the two read
   as a matched set: same max-width, horizontal padding, vertical rhythm, and
   heading-to-content spacing (the .pp-stacked-heading default 44px). */
.pp-home-cats {
    background: var(--pp-bg);
    padding: 72px 64px;
}
.pp-home-cats__inner {
    max-width: 1280px;
    margin: 0 auto;
}
/* 6 categories in a 3+3 grid. */
.pp-home-cats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 52px 40px;
}
/* Flat trust-row treatment: no card border, no circle behind the icon — just the
   colored glyph, bold name, teaser, count. Centered, airy. (Mirrors
   .pp-home-trust__item exactly.) */
.pp-home-cats__tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 0 8px;
    color: var(--pp-text);
    text-decoration: none;
}
.pp-home-cats__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--pp-cc, var(--pp-blue));
}
.pp-home-cats__icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5; /* matches the trust row's refined stroke */
    display: block;
}
.pp-home-cats__title {
    font-size: 17px;
    font-weight: 600;
    color: var(--pp-text);
    line-height: 1.25;
}
.pp-home-cats__teaser {
    font-size: 13px;
    color: var(--pp-text-2);
    line-height: 1.5;
    max-width: 30ch;
}
.pp-home-cats__count {
    font-size: 12px;
    font-weight: 600;
    color: var(--pp-text-3, #9CA3AF);
    line-height: 1.3;
    margin-top: 2px;
}
.pp-home-cats__tile:hover .pp-home-cats__title { color: var(--pp-cc, var(--pp-blue)); }

@media (max-width: 768px) {
    .pp-home-cats { padding: 48px 20px; }
    .pp-home-cats__grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
}

/* ==========================================================================
   8. REVIEWS (white section, dark cards)
   ========================================================================== */
.pp-home-reviews {
    background: #ffffff;
    color: var(--pp-text);
    padding: 60px 64px 72px;
}
.pp-home-reviews__footnote {
    margin: 32px auto 0;
    text-align: center;
    font-size: 13px;
    color: var(--pp-text-2);
    font-style: italic;
}
.pp-home-reviews__inner {
    max-width: 1280px;
    margin: 0 auto;
}
.pp-home-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.pp-home-reviews__card {
    background: #ffffff;
    border: 1px solid var(--pp-border-soft);
    border-radius: var(--pp-radius-card);
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(52,52,52,0.06);
}
.pp-home-reviews__quote { display: block; margin-bottom: 12px; }
.pp-home-reviews__stars { display: inline-flex; gap: 2px; margin-bottom: 14px; }
.pp-home-reviews__headline {
    font-size: 14px;
    font-weight: 600;
    color: var(--pp-text);
    line-height: 1.3;
    margin: 0 0 8px;
}
.pp-home-reviews__text {
    font-size: 13px;
    color: var(--pp-text-2);
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}
.pp-home-reviews__byline {
    padding-top: 16px;
    border-top: 1px solid var(--pp-border-soft);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
}
.pp-home-reviews__person {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pp-home-reviews__name {
    font-size: 13px;
    font-weight: 600;
    color: var(--pp-text);
}
.pp-home-reviews__location {
    font-size: 11px;
    color: var(--pp-text-2);
}
.pp-home-reviews__verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border: 1px solid var(--pp-green);
    border-radius: 999px;
    background: transparent;
    font-size: 9px;
    font-weight: 600;
    color: var(--pp-green-text);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}
.pp-home-reviews__verified svg {
    color: var(--pp-green-text);
}
.pp-home-reviews__aggregate {
    text-align: center;
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.pp-home-reviews__agg-stars { display: inline-flex; gap: 2px; }
.pp-home-reviews__agg-num {
    font-size: 14px;
    color: var(--pp-text);
    font-weight: 600;
}
.pp-home-reviews__agg-meta {
    font-size: 13px;
    color: var(--pp-text-2);
}

@media (max-width: 768px) {
    .pp-home-reviews { padding: 80px 20px 56px; }
    .pp-home-reviews__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   9. FAQ (uses C-02 reusable accordion)
   ========================================================================== */
.pp-home-faq {
    background: var(--pp-bg);
    padding: 60px 64px 72px;
}
.pp-home-faq__inner {
    max-width: 1280px;
    margin: 0 auto;
}
.pp-home-faq__list {
    max-width: 760px;
    margin: 0 auto;
}
.pp-faq-accordion {
    width: 100%;
}
.pp-faq-item {
    border-bottom: 1px solid var(--pp-border);
}
.pp-faq-item__heading { margin: 0; }
.pp-faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    color: var(--pp-text);
    -webkit-appearance: none;
    appearance: none;
}
.pp-faq-q:focus-visible {
    outline: 3px solid var(--pp-blue);
    outline-offset: 2px;
}
.pp-faq-q__text {
    font-size: 15px;
    font-weight: 600;
    color: var(--pp-text);
    padding-right: 16px;
}
.pp-faq-q__chev {
    flex-shrink: 0;
    color: var(--pp-text-2);
    display: inline-flex;
    transition: transform 0.2s ease;
}
.pp-faq-item--open .pp-faq-q__chev { transform: rotate(180deg); }
.pp-faq-a {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--pp-text-2);
    line-height: 1.7;
}
.pp-faq-a p { margin: 0; }
.pp-faq-a[hidden] { display: none; }

@media (max-width: 768px) {
    .pp-home-faq { padding: 80px 20px 56px; }
    .pp-faq-q__text { font-size: 14px; }
}

/* ==========================================================================
   10. EMAIL CAPTURE
   ========================================================================== */
.pp-home-email {
    position: relative;
    padding: 80px 64px;
    background: linear-gradient(135deg, #0f172a 0%, #000000 100%);
    color: #fafafa;
    overflow: hidden;
    isolation: isolate;
}
.pp-home-email__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.pp-home-email__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(31,158,219,0.18) 1px, transparent 0);
    background-size: 32px 32px;
    opacity: 0.3;
}
.pp-home-email__inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.pp-home-email__eyebrow {
    font-size: 11px;
    font-weight: 600;
    color: var(--pp-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}
.pp-home-email__h2 {
    font-size: 34px;
    font-weight: 600;
    color: #fafafa;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.pp-home-email__desc {
    font-size: 14px;
    color: rgba(250,250,250,0.7);
    line-height: 1.6;
    margin: 0 0 28px;
}
.pp-home-email__benefits {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 12px;
    color: rgba(250,250,250,0.6);
}
.pp-home-email__benefits li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.pp-home-email__form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 440px;
    margin: 0 auto;
    position: relative;
}
.pp-home-email__input {
    flex: 1;
    height: 48px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1.5px solid rgba(250,250,250,0.15);
    background: rgba(250,250,250,0.05);
    color: #fafafa;
    font-size: 16px; /* 16px floor: stops iOS Safari zoom-on-focus */
    font-family: inherit;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    outline: none;
}
.pp-home-email__input::placeholder { color: rgba(250,250,250,0.4); }
.pp-home-email__input:focus {
    border-color: var(--pp-blue);
    box-shadow: 0 0 0 3px rgba(31,158,219,0.18);
}
.pp-home-email__btn {
    height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    border: none;
    background: var(--pp-red);
    color: #fafafa;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(239,68,68,0.3);
    transition: background 0.15s, transform 0.15s;
}
.pp-home-email__btn:hover { background: var(--pp-red-hover); }
.pp-home-email__btn:focus-visible { outline: 3px solid var(--pp-blue); outline-offset: 2px; }
.pp-home-email__status {
    width: 100%;
    margin-top: 12px;
    font-size: 13px;
    color: rgba(250,250,250,0.85);
    min-height: 18px;
    flex-basis: 100%;
}
.pp-home-email__status.is-error { color: #fca5a5; }
.pp-home-email__status.is-success { color: #86efac; }
.pp-home-email__small {
    font-size: 11px;
    color: rgba(250,250,250,0.45);
    margin: 14px 0 0;
}
.pp-home-email__visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

@media (max-width: 600px) {
    .pp-home-email { padding: 56px 20px; }
    .pp-home-email__h2 { font-size: 26px; }
    .pp-home-email__form { flex-direction: column; }
    .pp-home-email__benefits { gap: 12px; flex-direction: column; align-items: center; }
}

/* Product card v2 styles live in pp-card-v2.css (loaded site-wide). */

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .pp-home-cats__tile,
    .pp-btn-pri,
    .pp-btn-ghost,
    .pp-btn-utility-dark,
    .pp-faq-q__chev,
    .pp-home-email__btn { transition: none !important; }
}
