/* ==========================================
   MODERN HOMEPAGE
   2026-facing homepage shell for GetPrompting
   ========================================== */

body.home .entry-content {
    background: var(--gp-white);
}

.gp-home-modern {
    --home-max: 1180px;
    color: var(--gp-text);
    box-sizing: border-box;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: none !important;
    overflow: hidden;
    width: 100vw;
}

.gp-home-modern a {
    text-underline-offset: 0.2em;
}

.gp-home-hero,
.gp-home-newsletter,
.gp-home-section,
.gp-home-approach,
.gp-home-founder {
    box-sizing: border-box;
    padding-left: max(1.25rem, calc((100vw - var(--home-max)) / 2));
    padding-right: max(1.25rem, calc((100vw - var(--home-max)) / 2));
}

.gp-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.76fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: center;
    min-height: min(760px, calc(100vh - 92px));
    padding-top: clamp(3.5rem, 7vw, 6rem);
    padding-bottom: clamp(3.5rem, 7vw, 6rem);
    background:
        linear-gradient(135deg, rgba(245, 242, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 45%, rgba(236, 249, 255, 0.82) 100%);
    border-bottom: 1px solid rgba(45, 43, 95, 0.12);
    position: relative;
}

.gp-home-hero::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107, 79, 187, 0.32), transparent);
}

.gp-home-hero__content,
.gp-home-hero__visual {
    position: relative;
    z-index: 1;
}

.gp-home-eyebrow {
    margin: 0 0 0.7rem !important;
    color: var(--gp-secondary) !important;
    font-size: 0.78rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.08em;
    line-height: 1.2 !important;
    text-transform: uppercase;
}

.gp-home-hero h1 {
    max-width: 760px;
    margin: 0 0 1.15rem !important;
    color: var(--gp-primary) !important;
    font-size: clamp(3rem, 5.5vw, 5.2rem) !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    line-height: 0.94 !important;
    text-wrap: balance;
}

.gp-home-hero__lead {
    max-width: 670px;
    margin: 0 !important;
    color: var(--gp-text-muted) !important;
    font-size: clamp(1.12rem, 1vw + 0.95rem, 1.38rem) !important;
    line-height: 1.68 !important;
}

.gp-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.gp-home-btn {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 48px;
    padding: 0.82rem 1.2rem;
    text-decoration: none !important;
    transition: transform var(--gp-transition-fast), box-shadow var(--gp-transition-fast), background var(--gp-transition-fast), border-color var(--gp-transition-fast);
}

.gp-home-btn--primary {
    background: var(--gp-gradient-button);
    box-shadow: var(--gp-shadow);
    color: var(--gp-white) !important;
}

.gp-home-btn--secondary {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(107, 79, 187, 0.25);
    color: var(--gp-primary) !important;
}

.gp-home-btn:hover,
.gp-home-btn:focus-visible {
    box-shadow: var(--gp-shadow-lg);
    transform: translateY(-2px);
}

.gp-home-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.25rem;
}

.gp-home-proof span {
    border: 1px solid rgba(45, 43, 95, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--gp-primary);
    font-size: 0.92rem;
    font-weight: 750;
    padding: 0.45rem 0.72rem;
}

.gp-home-system-map {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 247, 255, 0.95) 100%);
    border: 1px solid rgba(45, 43, 95, 0.14);
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(30, 30, 63, 0.16);
    overflow: hidden;
}

.gp-home-system-map__bar {
    align-items: center;
    background: #17142f;
    display: flex;
    gap: 0.35rem;
    min-height: 34px;
    padding: 0 0.9rem;
}

.gp-home-system-map__bar span {
    border-radius: 999px;
    display: block;
    height: 0.52rem;
    width: 0.52rem;
}

.gp-home-system-map__bar span:nth-child(1) {
    background: #8a70d6;
}

.gp-home-system-map__bar span:nth-child(2) {
    background: #42d9ff;
}

.gp-home-system-map__bar span:nth-child(3) {
    background: #c4b5f0;
}

.gp-home-system-map__header {
    padding: 1.25rem 1.25rem 0.7rem;
}

.gp-home-system-map__header p,
.gp-home-system-map__header strong {
    display: block;
    margin: 0;
}

.gp-home-system-map__header p {
    color: var(--gp-text-muted);
    font-size: 0.85rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gp-home-system-map__header strong {
    color: var(--gp-primary);
    font-size: 1.28rem;
    line-height: 1.2;
}

.gp-home-flow {
    display: grid;
    gap: 0.72rem;
    padding: 0 1.25rem 1.25rem;
}

.gp-home-flow div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.75rem;
    align-items: center;
    border: 1px solid rgba(107, 79, 187, 0.14);
    border-radius: 8px;
    background: var(--gp-white);
    padding: 0.85rem;
}

.gp-home-flow span {
    align-items: center;
    background: var(--gp-gradient-button);
    border-radius: 999px;
    color: var(--gp-white);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 850;
    height: 2.1rem;
    justify-content: center;
    line-height: 1;
    width: 2.1rem;
}

.gp-home-flow strong,
.gp-home-flow em {
    grid-column: 2;
}

.gp-home-flow strong {
    color: var(--gp-primary);
    font-size: 1rem;
    line-height: 1.2;
}

.gp-home-flow em {
    color: var(--gp-text-muted);
    font-size: 0.88rem;
    font-style: normal;
    line-height: 1.35;
    margin-top: 0.15rem;
}

.gp-home-system-map__footer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(45, 43, 95, 0.1);
}

.gp-home-system-map__footer span {
    color: var(--gp-text-muted);
    font-size: 0.84rem;
    font-weight: 750;
    padding: 0.9rem;
    text-align: center;
}

.gp-home-system-map__footer span + span {
    border-left: 1px solid rgba(45, 43, 95, 0.1);
}

.gp-home-newsletter {
    align-items: center;
    background: #17142f;
    color: var(--gp-white);
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.68fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    padding-top: clamp(2rem, 4vw, 3.25rem);
    padding-bottom: clamp(2rem, 4vw, 3.25rem);
}

.gp-home-newsletter .gp-home-eyebrow,
.gp-home-newsletter h2,
.gp-home-newsletter p {
    color: var(--gp-white) !important;
}

.gp-home-newsletter h2 {
    font-size: clamp(1.8rem, 3vw, 3rem) !important;
    line-height: 1.04 !important;
    margin: 0 0 0.8rem !important;
    text-wrap: balance;
}

.gp-home-newsletter p:not(.gp-home-eyebrow) {
    color: rgba(244, 246, 255, 0.82) !important;
    font-size: 1.08rem !important;
    line-height: 1.65 !important;
    max-width: 42rem;
}

.gp-home-newsletter .newsletter-form-wrapper {
    max-width: none !important;
}

.gp-home-newsletter .newsletter-form {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.gp-home-newsletter .newsletter-form .form-disclaimer,
.gp-home-newsletter .newsletter-form .form-disclaimer em {
    color: var(--gp-text) !important;
}

.gp-home-section {
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.gp-home-section + .gp-home-section,
.gp-home-approach,
.gp-home-founder {
    border-top: 1px solid rgba(45, 43, 95, 0.1);
}

.gp-home-section__header {
    max-width: 780px;
    margin-bottom: 1.5rem;
}

.gp-home-section__header--split {
    align-items: end;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    max-width: none;
}

.gp-home-section__header h2,
.gp-home-approach h2,
.gp-home-founder h2 {
    color: var(--gp-primary) !important;
    font-size: clamp(2rem, 4vw, 3.55rem) !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    line-height: 1.02 !important;
    margin: 0 0 0.85rem !important;
    text-wrap: balance;
}

.gp-home-section__header p:not(.gp-home-eyebrow),
.gp-home-approach p,
.gp-home-founder p {
    color: var(--gp-text-muted) !important;
    font-size: 1.06rem !important;
    line-height: 1.68 !important;
    margin: 0 !important;
    max-width: 45rem;
}

.gp-home-path {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.gp-home-path-card,
.gp-home-topic-card,
.gp-home-product-card {
    background: var(--gp-white);
    border: 1px solid rgba(45, 43, 95, 0.12);
    border-radius: 8px;
    box-shadow: var(--gp-shadow);
    min-width: 0;
}

.gp-home-path-card {
    padding: 1.25rem;
}

.gp-home-path-card span {
    color: var(--gp-secondary);
    display: block;
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.gp-home-path-card h3,
.gp-home-topic-card h3,
.gp-home-product-card h3 {
    color: var(--gp-primary) !important;
    font-size: clamp(1.15rem, 1.3vw, 1.35rem) !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
    margin: 0 0 0.55rem !important;
}

.gp-home-path-card h3 a,
.gp-home-topic-card a:not(.gp-home-btn) {
    color: inherit !important;
    text-decoration: none !important;
}

.gp-home-path-card h3 a:hover,
.gp-home-topic-card a:not(.gp-home-btn):hover {
    color: var(--gp-secondary) !important;
    text-decoration: underline !important;
}

.gp-home-path-card p,
.gp-home-topic-card p,
.gp-home-product-card p {
    color: var(--gp-text-muted) !important;
    font-size: 0.98rem !important;
    line-height: 1.62 !important;
    margin: 0 !important;
}

.gp-home-topic-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.gp-home-topic-card {
    display: flex;
    flex-direction: column;
    padding: 1.15rem;
}

.gp-home-topic-card__label {
    color: var(--gp-secondary) !important;
    font-size: 0.78rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.08em;
    line-height: 1.2 !important;
    margin: 0 0 0.75rem !important;
    text-transform: uppercase;
}

.gp-home-topic-card a:not(.gp-home-btn) {
    color: var(--gp-secondary) !important;
    font-weight: 800;
    margin-top: auto;
    padding-top: 1rem;
}

.gp-home-text-link {
    align-items: center;
    border: 1px solid rgba(107, 79, 187, 0.22);
    border-radius: 999px;
    color: var(--gp-primary) !important;
    display: inline-flex;
    font-weight: 800;
    min-height: 42px;
    padding: 0.6rem 0.92rem;
    text-decoration: none !important;
    white-space: nowrap;
}

.gp-home-text-link:hover,
.gp-home-text-link:focus-visible {
    background: var(--gp-purple-50);
    color: var(--gp-secondary) !important;
}

.gp-home-approach,
.gp-home-founder {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.gp-home-approach {
    background: linear-gradient(180deg, #ffffff 0%, #faf9ff 100%);
}

.gp-home-process {
    counter-reset: none;
    display: grid;
    gap: 0.72rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gp-home-process li {
    align-items: center;
    background: var(--gp-white);
    border: 1px solid rgba(107, 79, 187, 0.14);
    border-radius: 8px;
    color: var(--gp-primary);
    display: flex;
    font-weight: 800;
    gap: 0.8rem;
    min-height: 54px;
    padding: 0.8rem 0.95rem;
}

.gp-home-process span {
    color: var(--gp-secondary);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}

.gp-home-founder a:not(.gp-home-btn) {
    color: var(--gp-secondary) !important;
    font-weight: 800;
}

.gp-home-product-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 242, 255, 0.92) 100%);
    padding: clamp(1.25rem, 3vw, 2rem);
}

.gp-home-product-card .gp-home-btn {
    margin-top: 1.15rem;
}

@media (max-width: 820px) {
    .gp-home-hero,
    .gp-home-newsletter,
    .gp-home-approach,
    .gp-home-founder {
        grid-template-columns: 1fr;
    }

    .gp-home-hero {
        min-height: 0;
    }

    .gp-home-hero__visual {
        max-width: 560px;
    }
}

@media (max-width: 760px) {
    .gp-home-hero,
    .gp-home-newsletter,
    .gp-home-section,
    .gp-home-approach,
    .gp-home-founder {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .gp-home-hero h1 {
        font-size: clamp(2.35rem, 12vw, 3.35rem) !important;
    }

    .gp-home-hero {
        padding-top: 2.35rem;
        padding-bottom: 2.5rem;
    }

    .gp-home-hero__lead {
        font-size: 1.05rem !important;
        line-height: 1.58 !important;
    }

    .gp-home-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .gp-home-btn {
        width: 100%;
    }

    .gp-home-proof {
        gap: 0.45rem;
    }

    .gp-home-proof span {
        font-size: 0.84rem;
        padding: 0.38rem 0.58rem;
    }

    .gp-home-hero__visual {
        display: none;
    }

    .gp-home-path,
    .gp-home-topic-grid,
    .gp-library-grid {
        grid-template-columns: 1fr !important;
    }

    .gp-home-section__header--split {
        align-items: start;
        flex-direction: column;
    }

    .gp-home-text-link {
        width: 100%;
        justify-content: center;
    }

    .gp-home-newsletter .newsletter-form {
        padding: 1rem;
    }
}

@media (min-width: 761px) and (max-width: 1040px) {
    .gp-home-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
