/* Refreshed home layout (Nov 2026). Loads on top of public-home.css only when the refreshed layout is active. */

/* Hero: AI status pill, platform line, and buttons above the illustration on phones. */
.wp-cinematic-ai-pill { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 36px; margin-bottom: 22px; padding: 5px 12px 5px 10px; border: 1px solid #2c4a6b; border-radius: 999px; background: #0d203ecc; color: #cfe3f3; font-size: 12px; font-weight: 500; transition: border-color .2s, color .2s; }
.wp-cinematic-ai-pill:hover { border-color: #5f8fbd; color: #fff; }
.wp-cinematic-ai-pill > i:first-child { color: #ff9987; text-shadow: 0 0 12px #ff8a7040; font-size: 15px; }
.wp-cinematic-ai-pill > span { padding: 2px 8px; border-radius: 999px; background: #17375a; color: #9ad8f5; font-size: 10px; font-weight: 600; }
.wp-cinematic-ai-pill[data-ai-status='live'] > span { background: #1d5b4c; color: #b4fff0; }
.wp-cinematic-platforms { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; flex-basis: 100%; color: #8fb0cc; font-size: 12px; }
.wp-cinematic-platforms > b { display: inline-flex; align-items: center; gap: 6px; font-weight: inherit; white-space: nowrap; }
.wp-cinematic-platforms i { color: #9ad8f5; font-size: 15px; }
.wp-cinematic-platforms > span { color: #3f5f7f; }
@media (max-width: 699px) {
    .wp-home-refresh .wp-cinematic-inner { grid-template-areas: 'copy' 'actions' 'stage' 'controls'; }
    .wp-home-refresh .wp-cinematic-actions { margin-top: 24px; }
    .wp-home-refresh .wp-cinematic-platforms { justify-content: center; font-size: 11px; }
    .wp-home-refresh .wp-network-stage { margin-top: 22px; }
    .wp-cinematic-ai-pill { font-size: 11px; margin-bottom: 18px; }
}

/* Trust strip: facts only, no logos or statistics. */
.wp-home-trust { border-bottom: 1px solid #e7ecf5; background: #fff; }
.wp-home-trust ul { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; padding-block: 22px; }
.wp-home-trust li { display: flex; align-items: center; color: #53627b; font-size: 12px; font-weight: 500; }
.wp-home-trust li i { margin-right: 8px; color: #315ede; font-size: 17px; }
.wp-home-trust a { display: inline-flex; align-items: center; color: inherit; text-decoration: underline; text-decoration-color: #c7d3ea; text-underline-offset: 3px; }
.wp-home-trust a:hover { color: #315ede; text-decoration-color: currentColor; }

/* How it works: four steps joined by a line that draws in once. */
.wp-home-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.wp-home-steps::before { content: ''; position: absolute; top: 22px; left: 22px; right: calc(25% - 2px); height: 1px; background: linear-gradient(90deg, #3b6cff, #77ead2); transform-origin: left; transform: scaleX(var(--wp-steps-progress, 1)); transition: transform 1.1s ease; }
.wp-home-steps.is-waiting { --wp-steps-progress: 0; }
.wp-home-steps li { position: relative; min-width: 0; }
.wp-home-step-icon { position: relative; display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid #dce6ff; border-radius: 12px; background: #f0f4ff; color: #315ede; font-size: 22px; }
.wp-home-step-number { display: block; margin-top: 22px; color: #64748b; font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.wp-home-steps h3 { margin-top: 6px; color: #1b2559; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.wp-home-steps p { margin-top: 10px; color: #64748b; font-size: 13px; line-height: 1.8; }

/* Capability labels replace the numbers now used by the steps. */
.wp-home-refresh .wp-home-capability-number { text-transform: uppercase; }

/* Transparency. */
.wp-home-transparency-section { background: #f8faff; border-block: 1px solid #e7ecf5; }
.wp-home-transparency { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 90px; }
.wp-home-transparency h2 { margin-top: 16px; }
.wp-home-transparency-links { display: grid; justify-items: start; gap: 12px; }
.wp-home-transparency-links .wp-link { font-size: 13px; }
.wp-home-transparency-list { display: grid; gap: 14px; }
.wp-home-transparency-list article { display: flex; align-items: start; gap: 18px; padding: 22px; border: 1px solid #e0e6f0; border-radius: 14px; background: #fff; }
.wp-home-transparency-list h3, .wp-home-manager-video h3 { color: #24365f; font-size: 16px; font-weight: 600; }
.wp-home-transparency-list p { margin-top: 8px; color: #64748b; font-size: 13px; line-height: 1.8; }

/* Manager points beside the video. */
.wp-home-manager-video { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 72px; }
.wp-home-manager-video h2 { margin-top: 16px; }
.wp-home-manager-video .wp-home-manager-list { gap: 22px; margin-top: 8px; }
.wp-home-manager-video .wp-home-manager-list article + article { padding-top: 22px; }
.wp-home-video-card { margin: 0; }
.wp-home-video-card .wp-home-video { max-height: none; border-radius: 16px; }
.wp-home-video-card figcaption { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: #64748b; font-size: 13px; }
.wp-home-video-card figcaption i { color: #315ede; font-size: 18px; }

/* Pricing preview, filled from the active plans. */
.wp-home-pricing-section { border-top: 1px solid #e7ecf5; }
.wp-home-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.wp-home-plan { display: flex; flex-direction: column; min-width: 0; padding: 26px; border: 1px solid #e0e6f0; border-radius: 14px; background: #fff; }
.wp-home-plan:last-child { border-color: #bccdf7; background: #f6f8ff; }
.wp-home-plan h3 { color: #24365f; font-size: 15px; font-weight: 700; }
.wp-home-plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.wp-home-plan-price strong { color: #1b2559; font-size: 34px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.wp-home-plan-price small { color: #64748b; font-size: 13px; }
.wp-home-plan-meta { margin-top: 14px; color: #64748b; font-size: 12px; line-height: 1.8; }
.wp-home-pricing-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 30px; }
.wp-home-pricing-foot .wp-button { min-height: 48px; border-radius: 8px; font-size: 13px; }

/* Dark closing band to match the hero. */
.wp-home-final-dark { padding-block: 88px; border-bottom: 1px solid #1c3554; background: #071326 radial-gradient(ellipse at 80% 0%, #13528055, transparent 60%); }
.wp-home-final-dark .wp-home-final { padding: 0; border: 0; background: none; }
.wp-home-final-dark h2 { color: #fff; }
.wp-home-final-dark .wp-home-eyebrow { color: #9ac9e6; }
.wp-home-final-dark .wp-home-final p:not(.wp-home-eyebrow) { color: #a7bdd5; }
.wp-home-final-dark .wp-button-primary { color: #08192d; background: #b6eeff; border-color: #d3f6ff; box-shadow: 0 0 32px #7bd6ff18; }
.wp-home-final-dark .wp-button-primary:hover { background: #d3f6ff; color: #08192d; }
.wp-home-final-dark .wp-button:not(.wp-button-primary) { color: #d7e5f5; background: transparent; border-color: #2c4a6b; }
.wp-home-final-dark .wp-button:not(.wp-button-primary):hover { border-color: #5f8fbd; background: #0d203e; }

/* Sticky phone call to action, shown between the hero and the closing band. */
.wp-home-sticky-cta { display: none; }

@media (max-width: 1100px) {
    .wp-home-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
    .wp-home-steps::before { display: none; }
    .wp-home-transparency, .wp-home-manager-video { gap: 45px; }
}
@media (max-width: 900px) {
    .wp-home-manager-video { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .wp-home-trust ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; padding-block: 20px; }
    .wp-home-trust li { align-items: start; font-size: 11px; line-height: 1.5; }
    .wp-home-trust li i { margin-top: -1px; font-size: 16px; }
    .wp-home-steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
    .wp-home-steps li { display: grid; grid-template-columns: 45px minmax(0, 1fr); column-gap: 16px; padding-bottom: 26px; }
    .wp-home-steps li:not(:last-child)::after { content: ''; position: absolute; top: 52px; bottom: 6px; left: 22px; width: 1px; background: #dce6ff; }
    .wp-home-step-icon { grid-row: span 3; }
    .wp-home-step-number { margin-top: 2px; }
    .wp-home-steps p { margin-top: 6px; }
    .wp-home-transparency { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .wp-home-transparency-list article { padding: 18px; gap: 14px; }
    .wp-home-plans { display: flex; gap: 12px; margin-inline: -16px; padding: 2px 16px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .wp-home-plans::-webkit-scrollbar { display: none; }
    .wp-home-plan { flex: 0 0 74%; scroll-snap-align: start; padding: 22px; }
    .wp-home-pricing-foot { flex-direction: column; align-items: stretch; text-align: center; }
    .wp-home-pricing-foot .wp-link { justify-content: center; }
    .wp-home-final-dark { padding-block: 56px 96px; }
    .wp-home-final-dark .wp-home-final { padding: 0; }

    /* Phones: a readable close-up of each screen instead of the whole screen shrunk down. */
    .wp-home-refresh .wp-home-screens.is-enhanced .wp-home-screen-open { height: auto; aspect-ratio: 4 / 5; }
    .wp-home-refresh .wp-home-screens.is-enhanced .wp-home-screen-open img { object-fit: cover; object-position: var(--wp-screen-focus, 0% 0%); }

    .wp-home-sticky-cta { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: block; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #e2e8f0; background: #ffffffeb; backdrop-filter: blur(10px); box-shadow: 0 -8px 24px #1b25590f; transform: translateY(110%); transition: transform .25s ease; }
    .wp-home-sticky-cta[hidden] { display: none; }
    .wp-home-sticky-cta.is-visible { transform: none; }
    .wp-home-sticky-cta .wp-button { width: 100%; min-height: 48px; border-radius: 10px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .wp-home-steps::before, .wp-home-sticky-cta, .wp-cinematic-ai-pill { transition: none; }
}
