/* ==========================================================================
   Penny Page V2 — Page-specific styles
   Depends on: design-system-v2.css (variables, shared components)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section 1: Hero (.pp-hero)
   -------------------------------------------------------------------------- */

.pp-hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
}

/* Top row: 2-col asymmetric layout. Left is dominated by a powerful H1;
   right carries the supporting copy and CTAs. Desktop only — collapses on mobile. */
.pp-hero__top {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.pp-hero__top-left {
    /* Left col: eyebrow + big headline */
}

.pp-hero__top-right {
    /* Right col: subline + CTAs + trust */
}

.pp-hero__proof {
    font-size: 0.75rem;
    color: #FFA000;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 1.75rem;
}

.pp-hero__headline {
    font-family: var(--v2-font-family, 'Inter', sans-serif);
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--v2-text-primary, #ffffff);
    margin: 0;
    max-width: none;
    /* Auto-balance line lengths so single words don't widow off the edge. */
    text-wrap: balance;
}

.pp-hero__subline {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--v2-text-secondary, rgba(255,255,255,0.78));
    margin: 0 0 2.25rem;
    max-width: none;
}

.pp-hero__cta {
    justify-content: flex-start;
}

/* Ensure hero CTA buttons meet 44px minimum tap target */
.pp-hero__cta .v2-btn {
    min-height: 44px;
}

.pp-hero__trust {
    margin-top: 1rem;
    color: var(--v2-text-faint);
}

/* Bottom row: full container width image + framing caption. */
.pp-hero__visual {
    /* Holds image + caption stack */
}

.pp-hero__screenshot {
    /* Full container width — overrides the previous 700px cap. */
    max-width: none;
    margin: 0;
}

.pp-hero__caption {
    text-align: center;
    /* 5rem top gap clears the image's bloom/glow halo so the caption
       reads as separate copy rather than getting visually washed out. */
    margin: 5rem auto 0;
    max-width: 820px;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    text-wrap: pretty;
}

.pp-hero__caption-accent {
    color: #ffa000;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    text-decoration-color: rgba(255,160,0,0.6);
}

/* --------------------------------------------------------------------------
   Section 2: Trust Bar (.pp-trust-bar)
   -------------------------------------------------------------------------- */

.pp-trust-bar {
    padding: 1.25rem 0;
}

.pp-trust-bar__row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center;
}

.pp-trust-bar__item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pp-trust-bar__stat {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--v2-accent-gold);
}

.pp-trust-bar__label {
    font-size: 0.65rem;
    color: var(--v2-text-faint);
    margin-top: 0.15rem;
    line-height: 1.3;
}

/* --------------------------------------------------------------------------
   Section 3: The Gap (.pp-gap)
   Slim text-only pull-quote module. Question (smaller, secondary) sets up
   the gap; orange answer (dominant) closes it. Compact padding — the section
   exists to land one punch and hand off to the deeper modules below.
   -------------------------------------------------------------------------- */

.pp-gap {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

.pp-gap__quote {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.pp-gap__question {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 1.5rem;
    text-wrap: balance;
}

.pp-gap__answer {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: #FFA000;
    margin: 0;
    text-wrap: balance;
}

.pp-gap__answer-emphasis {
    color: #ffffff;
}

@media (max-width: 768px) {
    .pp-gap {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .pp-gap__question {
        font-size: 1rem;
    }
    .pp-gap__answer {
        font-size: 1.25rem;
    }
}

/* --------------------------------------------------------------------------
   Section 4: How It Works (.pp-how)
   2-col layout: content (eyebrow + headline + numbered steps) on the left,
   responsive YouTube video on the right.
   -------------------------------------------------------------------------- */

.pp-how__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
}

.pp-how__content {
    /* Left col holds eyebrow + headline + numbered steps */
}

.pp-how__headline {
    margin-top: 0.75rem;
    text-wrap: balance;
}

.pp-how__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: none;
    margin: 2rem 0 0;
}

/* Video frame: 16:9 responsive, rounded, soft shadow + subtle gold ring
   so it feels like a sibling of the .v2-screenshot--pop hero treatment. */
.pp-how__video {
    width: 100%;
}

.pp-how__video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #0a1628;
    box-shadow:
        0 0 0 1px rgba(255, 160, 0, 0.4),
        0 0 0 4px rgba(255, 160, 0, 0.06),
        0 30px 60px -15px rgba(4, 24, 53, 0.45),
        0 16px 32px -8px rgba(4, 24, 53, 0.25);
}

.pp-how__video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.pp-how__step {
    /* Vertical stack — number label above title, title above description.
       Each child takes full column width for easier scanning. */
    display: block;
}

.pp-how__step-num {
    /* Small uppercase gold label above the title (was a circle badge). */
    display: inline-block;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    color: var(--v2-accent-gold, #FFA000);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 0.4rem;
    padding: 0;
}

.pp-how__step-num::before {
    content: "Step 0";
}

.pp-how__step-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--v2-text-primary);
    margin: 0 0 0.4rem;
    text-wrap: balance;
}

.pp-how__step .v2-body--sm {
    margin: 0;
    line-height: 1.55;
    color: var(--v2-text-secondary);
    text-wrap: pretty;
}

.pp-how__subtext {
    display: block;
    font-size: 0.7rem;
    color: var(--v2-text-faint);
    margin-top: 0.4rem;
    font-style: italic;
}

.pp-how__visual {
    margin-top: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.pp-how__video-slot {
    margin-top: 1.5rem;
    text-align: center;
}

.pp-how__video-link {
    color: var(--v2-accent-gold);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 200ms;
}

.pp-how__video-link:hover {
    color: var(--v2-text-primary);
}

/* Tablet overflow protection — .v2-two-col and .pp-how__layout gap can push
   content past the container at ~768-1024px. Constrain the scenario sections
   and reduce the How It Works gap at the intermediate breakpoint. */
.pp-scenario-roth,
.pp-scenario-medicare {
    overflow-x: hidden;
}

@media (max-width: 1024px) and (min-width: 769px) {
    .pp-how__layout {
        gap: 2rem;
    }
    .pp-scenario-roth .v2-two-col,
    .pp-scenario-medicare .v2-two-col {
        gap: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   Sections 5-6: Scenario Sections (.pp-scenario-roth, .pp-scenario-medicare)
   Use .v2-two-col from design system. Minimal extra styling.
   -------------------------------------------------------------------------- */

.pp-checklist {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.pp-checklist li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.8rem;
    color: var(--v2-text-tertiary);
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

.pp-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--v2-accent-gold);
    opacity: 0.6;
}

.pp-checklist--centered {
    text-align: left;
    display: inline-block;
}

.pp-proof {
    margin-top: 0.75rem;
    color: var(--v2-text-tertiary);
}

/* --------------------------------------------------------------------------
   Section 7: Social Security — Myth vs Reality (.pp-scenario-ss)
   -------------------------------------------------------------------------- */

.pp-myth-reality {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    margin-top: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}

.pp-myth-reality__myth {
    opacity: 0.5;
}

.pp-myth-reality__myth .pp-myth-reality__text {
    color: var(--v2-text-muted);
}

.pp-myth-reality__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--v2-text-tertiary);
    display: block;
    margin-bottom: 0.5rem;
}

.pp-myth-reality__label--gold {
    color: var(--v2-accent-gold);
}

.pp-myth-reality__text {
    font-size: 0.85rem;
    color: var(--v2-text-secondary);
    line-height: 1.6;
}

.pp-myth-reality__text s {
    color: var(--v2-text-tertiary);
}

.pp-myth-reality__arrow {
    color: var(--v2-text-faint);
    font-size: 1.5rem;
    text-align: center;
}

.pp-myth-reality__reality {
    border-left: 2px solid var(--v2-accent-gold);
    padding-left: 1.5rem;
}

.pp-scenario-ss__body {
    margin-top: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pp-scenario-ss__visual {
    margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   Product screenshot height: halve displayed height across the Penny page.
   Source images are 1200x750 (1.6:1). Target 1200x375 (3.2:1) — same width,
   half height. object-fit: cover crops navy padding from top/bottom so the
   actual screenshot UI stays centered.
   -------------------------------------------------------------------------- */

.pp-hero__screenshot .v2-screenshot,
.pp-how__visual .v2-screenshot,
.pp-scenario-roth__visual .v2-screenshot,
.pp-scenario-medicare__visual .v2-screenshot,
.pp-scenario-ss__visual .v2-screenshot {
    display: block;
    width: 100%;
    aspect-ratio: 1200 / 375;
    overflow: hidden;
}

.pp-hero__screenshot .v2-screenshot img,
.pp-how__visual .v2-screenshot img,
.pp-scenario-roth__visual .v2-screenshot img,
.pp-scenario-medicare__visual .v2-screenshot img,
.pp-scenario-ss__visual .v2-screenshot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Same halving for placeholder states so layout is consistent before
   Malkley ships the Medicare + SS Optimizer high-res captures. */
.pp-hero__screenshot .v2-screenshot--placeholder,
.pp-how__visual .v2-screenshot--placeholder,
.pp-scenario-roth__visual .v2-screenshot--placeholder,
.pp-scenario-medicare__visual .v2-screenshot--placeholder,
.pp-scenario-ss__visual .v2-screenshot--placeholder {
    aspect-ratio: 1200 / 375;
    min-height: 0;
}

/* --------------------------------------------------------------------------
   v2-screenshot--pop — shared hero-image treatment. Penny page doesn't load
   homepage-v2.css, so the rules are duplicated here. Same recipe as homepage
   and pricing: 32px rounded corners, 2px gold edge ring, multi-color bloom
   (blue + violet + warm gold), drop shadow, hover lift.

   display: block is REQUIRED — <picture> is inline by default, so without it
   overflow:hidden never clips the img and the corners stay sharp.
   -------------------------------------------------------------------------- */
.v2-screenshot--pop {
    display: block;
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow:
        0 0 0 2px rgba(255, 160, 0, 0.7),
        0 0 0 6px rgba(255, 160, 0, 0.1),
        0 0 60px rgba(21, 71, 188, 0.55),
        0 0 120px rgba(21, 71, 188, 0.35),
        0 0 100px rgba(129, 76, 236, 0.28),
        0 0 140px rgba(255, 160, 0, 0.12),
        0 32px 64px -12px rgba(0, 0, 0, 0.55),
        0 16px 32px -8px rgba(0, 0, 0, 0.35);
    transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

.v2-screenshot--pop img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 32px;
}

.v2-screenshot--pop:hover {
    transform: translateY(-6px);
    box-shadow:
        0 0 0 2px rgba(255, 160, 0, 0.85),
        0 0 0 6px rgba(255, 160, 0, 0.15),
        0 0 80px rgba(21, 71, 188, 0.7),
        0 0 150px rgba(21, 71, 188, 0.45),
        0 0 130px rgba(129, 76, 236, 0.38),
        0 0 170px rgba(255, 160, 0, 0.18),
        0 44px 80px -12px rgba(0, 0, 0, 0.65),
        0 22px 40px -8px rgba(0, 0, 0, 0.45);
}

@media (max-width: 768px) {
    .v2-screenshot--pop {
        border-radius: 22px;
        box-shadow:
            0 0 0 2px rgba(255, 160, 0, 0.65),
            0 0 0 5px rgba(255, 160, 0, 0.08),
            0 0 60px rgba(21, 71, 188, 0.4),
            0 0 80px rgba(129, 76, 236, 0.22),
            0 0 100px rgba(255, 160, 0, 0.1),
            0 20px 40px -12px rgba(0, 0, 0, 0.5),
            0 10px 20px -6px rgba(0, 0, 0, 0.3);
    }
    .v2-screenshot--pop img {
        border-radius: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .v2-screenshot--pop,
    .v2-screenshot--pop:hover {
        transition: none;
        transform: none;
    }
}

/* Hero --pop image is naturally wide (1200x417). Override the half-height
   aspect-ratio + object-fit:cover so it renders at its true ratio without
   cropping the chart labels at top/bottom. Other section screenshots keep
   the cropped half-height treatment defined above. */
.pp-hero__screenshot .v2-screenshot--pop {
    aspect-ratio: auto;
}
.pp-hero__screenshot .v2-screenshot--pop img {
    height: auto;
    object-fit: unset;
}

/* --------------------------------------------------------------------------
   Scenario screenshot placeholders (Roth Hendersons + Medicare/IRMAA)
   Stand in for screenshots Justin will provide. Carry the full --pop
   treatment so the layout doesn't shift when real images replace them.
   Inside is a navy fill with a faint dashed inner border + centered
   instructional text addressed to Justin.
   -------------------------------------------------------------------------- */
.pp-scenario-placeholder {
    background: linear-gradient(135deg, #112452 0%, #0a1628 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    /* Halve the .v2-screenshot--pop bloom — placeholder doesn't need full
       hero-strength glow, that was overpowering the request copy inside. */
    box-shadow:
        0 0 0 2px rgba(255, 160, 0, 0.35),
        0 0 0 6px rgba(255, 160, 0, 0.05),
        0 0 60px rgba(21, 71, 188, 0.28),
        0 0 120px rgba(21, 71, 188, 0.17),
        0 0 100px rgba(129, 76, 236, 0.14),
        0 0 140px rgba(255, 160, 0, 0.06),
        0 32px 64px -12px rgba(0, 0, 0, 0.28),
        0 16px 32px -8px rgba(0, 0, 0, 0.17);
}

/* Placeholder is non-interactive — kill the hover lift the .v2-screenshot--pop
   class normally applies. */
.pp-scenario-placeholder:hover {
    transform: none;
    box-shadow:
        0 0 0 2px rgba(255, 160, 0, 0.35),
        0 0 0 6px rgba(255, 160, 0, 0.05),
        0 0 60px rgba(21, 71, 188, 0.28),
        0 0 120px rgba(21, 71, 188, 0.17),
        0 0 100px rgba(129, 76, 236, 0.14),
        0 0 140px rgba(255, 160, 0, 0.06),
        0 32px 64px -12px rgba(0, 0, 0, 0.28),
        0 16px 32px -8px rgba(0, 0, 0, 0.17);
}

/* Override the inherited 1200/375 half-height aspect-ratio with 1200/750 so
   the placeholders are 2x taller. The parent .v2-two-col already vertically
   centers its columns (align-items:center), so the taller box stays
   centered on the y-axis of its column area. Specificity has to be 0,2,0 to
   beat .pp-scenario-roth__visual .v2-screenshot from earlier in the file. */
.pp-scenario-roth__visual .pp-scenario-placeholder,
.pp-scenario-medicare__visual .pp-scenario-placeholder {
    aspect-ratio: 1200 / 750;
}

/* Faint dashed inner border so the box reads as "image goes here." */
.pp-scenario-placeholder::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    pointer-events: none;
}

.pp-scenario-placeholder__inner {
    max-width: 88%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.pp-scenario-placeholder__title,
.pp-scenario-placeholder__hint {
    text-align: center;
}

.pp-scenario-placeholder__label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #FFA000;
    background: rgba(255, 160, 0, 0.1);
    border: 1px solid rgba(255, 160, 0, 0.3);
    padding: 0.4rem 0.85rem;
    border-radius: 100px;
    margin: 0 0 1rem;
}

.pp-scenario-placeholder__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.6rem;
    letter-spacing: -0.005em;
}

.pp-scenario-placeholder__hint {
    font-size: 0.85rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    text-wrap: pretty;
}

@media (max-width: 768px) {
    .pp-scenario-placeholder {
        padding: 1.25rem;
    }
    .pp-scenario-placeholder::before {
        inset: 10px;
        border-radius: 12px;
    }
    .pp-scenario-placeholder__label {
        font-size: 0.6rem;
    }
    .pp-scenario-placeholder__title {
        font-size: 1rem;
    }
    .pp-scenario-placeholder__hint {
        font-size: 0.78rem;
    }
}

/* --------------------------------------------------------------------------
   Section 8: Capabilities Dashboard
   Dark data-environment aesthetic — feels like a financial terminal, not a
   marketing page. 9 dark panels in a 3x3 grid with 1px gridlines between
   them (the grid container bg bleeds through the gaps). Each panel has a
   glowing left-bar accent in its category color.
   -------------------------------------------------------------------------- */

/* Dashboard frame: rounded container, 1px gridlines between panels */
.pp-cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 1080px;
    margin: 0 auto;
    background: #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow:
        0 0 60px rgba(21, 71, 188, 0.06),
        0 24px 48px -12px rgba(15, 23, 42, 0.1);
}

/* Each panel — white fill, the 1px gaps show the gray grid bg as gridlines */
.pp-cap-card {
    background: #ffffff;
    padding: 2rem;
    position: relative;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Glowing left-bar accent — partial height, color-matched, casts a soft glow */
.pp-cap-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: var(--pp-cap-accent, #1547BC);
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 12px var(--pp-cap-glow, rgba(21, 71, 188, 0.25));
    opacity: 0.7;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

.pp-cap-card:hover {
    background: #f8fafc;
}

.pp-cap-card:hover::before {
    opacity: 1;
    box-shadow: 0 0 20px var(--pp-cap-glow, rgba(21, 71, 188, 0.35));
}

/* Accent color variants */
.pp-cap-card--gold {
    --pp-cap-accent: #FFA000;
    --pp-cap-glow: rgba(255, 160, 0, 0.3);
}
.pp-cap-card--blue {
    --pp-cap-accent: #1547BC;
    --pp-cap-glow: rgba(21, 71, 188, 0.35);
}
.pp-cap-card--amber {
    --pp-cap-accent: #d97706;
    --pp-cap-glow: rgba(217, 119, 6, 0.3);
}

.pp-cap-card__tag {
    display: inline-block;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--pp-cap-accent, #d97706);
}

.pp-cap-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

.pp-cap-card__desc {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
    text-wrap: pretty;
}

/* Tablet portrait: 2-col intermediate instead of collapsing straight to 1-col */
@media (max-width: 900px) and (min-width: 481px) {
    .pp-cap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .pp-cap-grid {
        grid-template-columns: 1fr;
        border-radius: 12px;
    }

    .pp-cap-card {
        padding: 1.5rem;
    }
}

.pp-capabilities__header {
    text-align: center;
}

.pp-capabilities__header .v2-headline,
.pp-capabilities__header .v2-body {
    text-align: center;
}

.pp-capabilities__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 700px;
    margin: 2rem auto 0;
}

.pp-capabilities__card {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid var(--v2-border-subtle);
    border-radius: 10px;
    padding: 1.25rem;
    transition: transform 200ms, border-color 200ms;
}

.pp-capabilities__card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.12);
}

.pp-capabilities__card h3 {
    font-size: 0.85rem;
    color: var(--v2-text-secondary);
    font-weight: 600;
}

.pp-capabilities__card p {
    font-size: 0.75rem;
    color: var(--v2-text-tertiary);
    margin-top: 0.35rem;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Section 9: Trust Architecture (.pp-trust-arch)
   -------------------------------------------------------------------------- */

.pp-trust-arch {
    text-align: center;
}

.pp-trust-arch .v2-headline,
.pp-trust-arch .v2-eyebrow {
    text-align: center;
}

/* 2-col diagram: AI Layer | connector | Math Layer. Full-width panels
   with substantial padding so the copy inside can breathe and advisors
   can actually read what each layer does for them. */
.pp-trust-arch__diagram {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    max-width: 960px;
    margin: 3rem auto;
    align-items: stretch;
}

.pp-trust-arch__box {
    text-align: left;
    padding: 2.5rem;
    border-radius: 16px;
    position: relative;
}

.pp-trust-arch__box--ai {
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.pp-trust-arch__box--math {
    background: rgba(255, 160, 0, 0.06);
    border: 1px solid rgba(255, 160, 0, 0.15);
}

.pp-trust-arch__box-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 1rem;
}

.pp-trust-arch__box--ai .pp-trust-arch__box-label {
    color: #818cf8;
}

.pp-trust-arch__box--math .pp-trust-arch__box-label {
    color: var(--v2-accent-gold, #FFA000);
}

.pp-trust-arch__box-keywords {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--v2-text-primary, #ffffff);
    line-height: 1.3;
    margin: 0 0 0.75rem;
    text-wrap: balance;
}

.pp-trust-arch__box-action {
    font-size: 0.88rem;
    color: var(--v2-text-tertiary, rgba(255,255,255,0.65));
    line-height: 1.6;
    margin: 0;
    text-wrap: pretty;
}

/* Connector between the two panels */
.pp-trust-arch__arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    gap: 0.5rem;
}

.pp-trust-arch__arrow-line {
    display: block;
    width: 2px;
    height: 48px;
    background: linear-gradient(180deg, rgba(129, 140, 248, 0.4) 0%, rgba(255, 160, 0, 0.4) 100%);
    border-radius: 1px;
}

.pp-trust-arch__arrow-label {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--v2-text-faint, rgba(255,255,255,0.4));
    white-space: nowrap;
}

/* Pillars row: wider cards, more room */
.pp-trust-arch__pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pp-trust-arch__pillar {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(30, 41, 59, 0.3);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.pp-trust-arch__pillar:hover {
    background: rgba(30, 41, 59, 0.45);
    border-color: rgba(255, 160, 0, 0.15);
}

.pp-trust-arch__pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 160, 0, 0.08);
    border: 1px solid rgba(255, 160, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.pp-trust-arch__pillar h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--v2-text-secondary);
}

.pp-trust-arch__pillar p {
    font-size: 0.7rem;
    color: var(--v2-text-muted);
    margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   Section 10: Practice Intelligence (.pp-pi)
   -------------------------------------------------------------------------- */

.pp-pi__phases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pp-pi__phase {
    background: rgba(255, 160, 0, 0.04);
    border: 1px solid rgba(255, 160, 0, 0.12);
    border-radius: 14px;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.pp-pi__phase:hover {
    background: rgba(255, 160, 0, 0.07);
    border-color: rgba(255, 160, 0, 0.25);
}

/* Meaningful SVG icons inside a gold-tinted circle */
.pp-pi__phase-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 160, 0, 0.1);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-pi__phase h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.4rem;
}

.pp-pi__phase p {
    font-size: 0.85rem;
    color: var(--v2-text-tertiary, rgba(255,255,255,0.65));
    margin: 0;
    line-height: 1.5;
    text-wrap: pretty;
}

/* Pull-quote: gold left border, generous padding, bigger text */
.pp-pi__quote {
    max-width: 760px;
    margin: 3.5rem auto 0;
    text-align: left;
    border: none;
    border-left: 4px solid #FFA000;
    padding: 2rem 0 2rem 2.5rem;
    position: relative;
}

.pp-pi__quote-text {
    font-size: 1.25rem;
    font-weight: 500;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
    margin: 0 0 1rem;
    text-wrap: pretty;
}

.pp-pi__quote-attribution {
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 600;
    color: #FFA000;
    letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Section 11: FAQ — styled container with card treatment
   -------------------------------------------------------------------------- */

.pp-faq__container {
    max-width: 720px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.04),
        0 8px 24px -4px rgba(15, 23, 42, 0.06);
    border: 1px solid #e2e8f0;
}

.pp-faq__list {
    max-width: 100%;
    margin: 0;
}

.v2-faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.v2-faq-item:last-child {
    border-bottom: none;
}

.v2-faq-item__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    text-align: left;
    gap: 1rem;
    transition: color 0.2s ease;
}

.v2-faq-item__question:hover {
    color: #d97706;
}

.v2-faq-item__chevron {
    transition: transform 300ms;
    flex-shrink: 0;
}

.v2-faq-item--open .v2-faq-item__chevron {
    transform: rotate(180deg);
}

.v2-faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 400ms ease-out;
}

.v2-faq-item--open .v2-faq-item__answer {
    max-height: 500px;
}

.v2-faq-item__answer p {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.65;
    padding: 0 0 1.25rem;
}

/* --------------------------------------------------------------------------
   Section 12: Final CTA (.pp-cta)
   -------------------------------------------------------------------------- */

.pp-cta {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    text-align: center;
}

.pp-cta .v2-headline {
    max-width: 600px;
    margin: 0 auto;
}

.pp-cta .v2-body {
    text-align: center;
    max-width: 420px;
    margin: 0.75rem auto 0;
}

.pp-cta .v2-btn-row {
    justify-content: center;
}

.pp-cta__pricing {
    font-size: 0.75rem;
    color: var(--v2-text-faint);
    margin-top: 1.5rem;
}

.pp-cta__pricing a {
    color: var(--v2-text-tertiary);
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Section 13: Go Deeper
   Color-coded journey cards with left-border accents, tinted backgrounds,
   hover lift + glow. Full-width CTA card at the bottom.
   -------------------------------------------------------------------------- */

.pp-deeper__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pp-deeper-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    border-radius: 14px;
    border-left: 4px solid var(--pp-deeper-accent, #1547BC);
    background: var(--pp-deeper-bg);
    text-decoration: none;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pp-deeper-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 32px -8px rgba(0, 0, 0, 0.3),
        0 0 24px var(--pp-deeper-glow, rgba(21, 71, 188, 0.15));
}

/* Blue: content depth (articles, methodology) */
.pp-deeper-card--blue {
    --pp-deeper-accent: #1547BC;
    --pp-deeper-bg: rgba(21, 71, 188, 0.06);
    --pp-deeper-glow: rgba(21, 71, 188, 0.2);
}

/* Amber: comparison pages */
.pp-deeper-card--amber {
    --pp-deeper-accent: #d97706;
    --pp-deeper-bg: rgba(217, 119, 6, 0.06);
    --pp-deeper-glow: rgba(217, 119, 6, 0.2);
}

/* Gold: premium destinations (pricing) */
.pp-deeper-card--gold {
    --pp-deeper-accent: #FFA000;
    --pp-deeper-bg: linear-gradient(135deg, rgba(255, 160, 0, 0.08) 0%, rgba(255, 160, 0, 0.03) 100%);
    --pp-deeper-glow: rgba(255, 160, 0, 0.2);
}

/* CTA card: spans full width, dark navy with gold accents, instant hover */
.pp-deeper-card--cta {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    background: linear-gradient(135deg, #041835 0%, #041E88 100%);
    border-left: 4px solid #FFA000;
    padding: 2.5rem 3rem;
    /* Faster transition so the card reacts instantly on hover */
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.pp-deeper-card--cta:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, #061e42 0%, #0a2fa0 100%);
    box-shadow:
        0 20px 40px -10px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 160, 0, 0.15);
}

.pp-deeper-card--cta__content {
    flex: 1;
}

.pp-deeper-card--cta .pp-deeper-card__tag { color: #FFA000; }
.pp-deeper-card--cta .pp-deeper-card__title { color: #ffffff; font-size: 1.4rem; margin-bottom: 0.75rem; }
.pp-deeper-card--cta .pp-deeper-card__desc { color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; line-height: 1.65; }
.pp-deeper-card--cta .pp-deeper-card__arrow {
    color: #FFA000;
    font-size: 2rem;
    margin-top: 0;
    transition: transform 0.15s ease;
}
.pp-deeper-card--cta:hover .pp-deeper-card__arrow {
    transform: translateX(6px);
}

.pp-deeper-card__tag {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--pp-deeper-accent, #1547BC);
    margin: 0 0 0.6rem;
}

.pp-deeper-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.pp-deeper-card__desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.55;
    margin: 0;
    flex: 1;
    text-wrap: pretty;
}

.pp-deeper-card__arrow {
    display: block;
    font-size: 1.1rem;
    color: var(--pp-deeper-accent, #1547BC);
    margin-top: auto;
    padding-top: 0.75rem;
    transition: transform 0.2s ease;
}

.pp-deeper-card:hover .pp-deeper-card__arrow {
    transform: translateX(4px);
}

@media (max-width: 900px) and (min-width: 481px) {
    .pp-deeper__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pp-deeper-card--cta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .pp-deeper__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .pp-deeper-card--cta {
        flex-direction: column;
        gap: 1rem;
        padding: 1.75rem;
    }
}

/* Legacy .pp-further styles retained for ACF fallback */
.pp-further .v2-headline,
.pp-further .v2-body {
    text-align: center;
}

.pp-further__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.pp-further__card {
    padding: 1.25rem;
    background: rgba(30, 41, 59, 0.2);
    border: 1px solid var(--v2-border-subtle);
    border-radius: 10px;
    transition: transform 200ms, border-color 200ms;
}

.pp-further__card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.1);
}

.pp-further__card h3 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.pp-further__card h3 a {
    color: var(--v2-text-secondary);
    text-decoration: none;
}

.pp-further__card h3 a:hover {
    color: var(--v2-accent-gold);
}

.pp-further__card .v2-body--sm {
    margin-top: 0.35rem;
    line-height: 1.5;
    color: var(--v2-text-tertiary);
    font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   White section overrides for Penny page
   -------------------------------------------------------------------------- */

.pp-how--light {
    background: #ffffff;
}
.pp-how--light .v2-headline,
.pp-how--light .v2-eyebrow,
.pp-how--light h2 {
    color: #0f172a;
}
.pp-how--light .v2-eyebrow {
    color: #d97706;
}
.pp-how--light .pp-how__step-num {
    color: #d97706; /* warm amber for white background */
}
.pp-how--light .pp-how__step-title {
    color: #0f172a;
}
.pp-how--light .pp-how__step .v2-body--sm {
    color: #475569;
}
.pp-how--light .pp-how__subtext {
    color: #94a3b8;
}

.pp-capabilities--light {
    background: #f8fafc;
}
.pp-capabilities--light .v2-headline,
.pp-capabilities--light h2 {
    color: #0f172a;
}
.pp-capabilities--light .v2-body,
.pp-capabilities--light p:not(.v2-eyebrow) {
    color: #475569;
}
.pp-capabilities--light .pp-capabilities__card {
    background: #ffffff;
    border-color: #e2e8f0;
}
.pp-capabilities--light .pp-capabilities__card h3 {
    color: #0f172a;
}
.pp-capabilities--light .pp-capabilities__card p {
    color: #64748b;
}

.pp-faq--light {
    background: #ffffff;
}
.pp-faq--light .v2-headline,
.pp-faq--light h2 {
    color: #0f172a;
}
.pp-faq--light .v2-faq-item {
    border-color: #e2e8f0;
}
.pp-faq--light .v2-faq-item__question {
    color: #0f172a;
}
.pp-faq--light .v2-faq-item__question:hover {
    color: #1547BC;
}
.pp-faq--light .v2-faq-item__answer p {
    color: #475569;
}

/* --------------------------------------------------------------------------
   Responsive: Tablet (768px)
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
    .pp-trust-bar__row {
        gap: 1.5rem;
    }

    .pp-how__grid {
        grid-template-columns: 1fr;
    }

    .pp-how__layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .pp-how__video-frame {
        border-radius: 12px;
    }

    .pp-trust-arch__diagram {
        grid-template-columns: 1fr;
    }

    .pp-trust-arch__box {
        padding: 1.75rem;
        text-align: center;
    }

    .pp-trust-arch__arrow {
        flex-direction: row;
        padding: 1rem 0;
    }

    .pp-trust-arch__arrow-line {
        width: 48px;
        height: 2px;
    }

    .pp-trust-arch__pillars {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .pp-myth-reality {
        grid-template-columns: 1fr;
    }

    .pp-myth-reality__arrow {
        transform: rotate(90deg);
    }

    .pp-capabilities__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pp-trust-arch__diagram {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .pp-trust-arch__arrow {
        transform: rotate(90deg);
    }

    .pp-trust-arch__pillars {
        flex-direction: column;
        align-items: center;
    }

    .pp-trust-arch__pillar {
        max-width: 100%;
        width: 100%;
    }

    .pp-pi__phases {
        grid-template-columns: repeat(2, 1fr);
    }

    .pp-further__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pp-faq__list {
        max-width: 100%;
    }

    .pp-hero__top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
        text-align: center;
    }

    .pp-hero__proof,
    .pp-hero__headline,
    .pp-hero__subline,
    .pp-hero__trust {
        text-align: center;
        max-width: 100%;
    }

    .pp-hero__headline {
        font-size: 2.1rem;
    }

    .pp-hero__cta {
        justify-content: center;
    }

    .pp-hero__caption {
        font-size: 0.95rem;
        margin-top: 3rem;
    }
}

/* --------------------------------------------------------------------------
   Responsive: Small mobile (480px)
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {
    .pp-hero {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .pp-trust-bar__row {
        gap: 1rem;
    }

    .pp-capabilities__grid {
        grid-template-columns: 1fr;
    }

    .pp-further__grid {
        grid-template-columns: 1fr;
    }

    .pp-faq .v2-faq-item__question {
        padding-left: 0;
        padding-right: 0;
    }
}
