/* ==========================================
   GETPROMPTING BRAND CONSISTENCY
   Final presentation layer for shared rhythm,
   hierarchy, and responsive behavior.
   ========================================== */

:root {
    --gp-page-gutter: clamp(1rem, 3vw, 2rem);
    --gp-section-space: clamp(2.25rem, 3vw, 3rem);
    --gp-section-space-compact: clamp(1.75rem, 2.25vw, 2.25rem);
    --gp-display-secondary: clamp(2rem, 3.2vw, 3rem);
    --gp-display-page: clamp(2.65rem, 5vw, 4.4rem);
    --gp-reading-width: 760px;
}

/* Keep the header deterministic on every page template and during first paint. */
html,
body,
#main-container,
#page,
.site {
    background: var(--gp-white, #ffffff);
}

html body header#header,
html body .site-header,
html body [data-id="header"],
html body [data-row="middle"] {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

html body header#header {
    min-height: 72px !important;
    padding-block: 0 !important;
}

html body header#header [data-row="middle"] {
    min-height: 72px !important;
    padding-block: 0 !important;
}

html body header#header [data-row="middle"] > div {
    min-height: 72px !important;
}

html body header#header [data-id="logo"] img,
html body header#header .site-logo-container img {
    max-height: 44px !important;
    width: auto !important;
}

html body header#header [data-id="menu"] > ul {
    column-gap: clamp(1rem, 1.65vw, 1.65rem) !important;
}

html body header#header [data-id="menu"] a,
html body header#header .main-navigation a {
    font-size: 0.92rem !important;
    font-weight: 650 !important;
    letter-spacing: 0 !important;
    line-height: 1.25 !important;
    text-transform: none !important;
    white-space: nowrap;
}

html body header#header [data-id="menu"] a:hover,
html body header#header [data-id="menu"] a:focus-visible {
    color: var(--gp-secondary) !important;
}

/* Blocksy adds a generic 60px content pad. Custom-designed page shells own
   their spacing, so remove the duplicate gap only where those shells exist. */
body.blog #main > :where(.ct-container, .ct-container-full),
body.archive #main > :where(.ct-container, .ct-container-full),
body.page-id-863 #main > :where(.ct-container, .ct-container-full),
body.page-id-1560 #main > :where(.ct-container, .ct-container-full),
body.page-id-1685 #main > :where(.ct-container, .ct-container-full),
body.page-id-1838 #main > :where(.ct-container, .ct-container-full),
body.page-id-1862 #main > :where(.ct-container, .ct-container-full),
body.page-id-1969 #main > :where(.ct-container, .ct-container-full) {
    padding-top: 0 !important;
}

body.single-post #main > :where(.ct-container, .ct-container-full) {
    padding-top: clamp(1.5rem, 3vw, 2.5rem) !important;
}

.gp-about-modern,
.gp-tools-page,
.gp-free-workflow-library,
.gp-product-page,
.gp-product-modern,
.gp-home-modern {
    margin-top: 0 !important;
}

/* Shared page rhythm. */
.gp-home-section,
.gp-home-approach,
.gp-home-founder,
.gp-about-story,
.gp-about-section,
.gp-about-goal,
.gp-about-final,
.gp-library-section,
.gp-product-page .gp-content-section,
.gp-tools-page > section,
.gp-free-workflow-library > section {
    padding-top: var(--gp-section-space) !important;
    padding-bottom: var(--gp-section-space) !important;
}

.gp-home-newsletter {
    padding-top: var(--gp-section-space-compact) !important;
    padding-bottom: var(--gp-section-space-compact) !important;
}

.gp-home-section__header,
.gp-about-section-header,
.gp-library-section__header,
.gp-product-page .gp-section-intro {
    margin-bottom: clamp(1.25rem, 2vw, 1.75rem) !important;
}

.gp-home-section__header h2,
.gp-home-approach h2,
.gp-home-founder h2,
.gp-about-section-header h2,
.gp-about-goal h2,
.gp-about-final h2,
.gp-library-section__header h2,
.gp-product-page .gp-section-heading,
.gp-tools-page h2 {
    font-size: var(--gp-display-secondary) !important;
    letter-spacing: 0 !important;
    line-height: 1.08 !important;
    text-wrap: balance;
}

.gp-home-section__header p:not(.gp-home-eyebrow),
.gp-about-section-header p:not(.gp-about-eyebrow),
.gp-library-section__header p:not(.gp-library-eyebrow),
.gp-product-page .gp-section-intro p,
.gp-tools-page p {
    line-height: 1.68 !important;
}

/* Homepage: maintain the strong hero, reduce repeated visual shouting below it. */
.gp-home-hero {
    padding-top: clamp(2.75rem, 5vw, 4.5rem) !important;
    padding-bottom: clamp(2.75rem, 5vw, 4.25rem) !important;
}

.gp-home-section__header {
    max-width: 720px;
}

.gp-home-section__header--split {
    max-width: none;
}

.gp-home-path-card,
.gp-home-topic-card,
.gp-home-product-card {
    box-shadow: 0 10px 28px rgba(30, 30, 63, 0.055) !important;
}

.gp-home-decision-link {
    margin-top: 1.35rem;
}

/* Blog and category library surfaces. */
.gp-blog-library__hero,
.gp-library-hero {
    padding-top: clamp(2.5rem, 4.5vw, 4rem) !important;
    padding-bottom: clamp(2.25rem, 3.5vw, 3.25rem) !important;
}

.gp-blog-library__hero h1,
.gp-library-hero h1 {
    font-size: var(--gp-display-page) !important;
    line-height: 1.04 !important;
    max-width: 900px;
}

.gp-library-nav {
    gap: 0.65rem !important;
}

.gp-library-nav a {
    min-height: 42px;
    padding: 0.7rem 1rem !important;
}

.gp-start-grid,
.gp-library-grid {
    gap: clamp(1rem, 2vw, 1.4rem) !important;
}

.gp-start-card,
.gp-library-card {
    box-shadow: 0 10px 28px rgba(30, 30, 63, 0.055) !important;
}

/* Long-form articles should read like documents, not a card inside a card. */
.single-post .site-main,
.single-post .content-area {
    max-width: 1180px !important;
    padding-inline: var(--gp-page-gutter) !important;
}

.single-post article.post,
.single-post article.type-post {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    max-width: 1040px !important;
    padding: clamp(2rem, 3.5vw, 3.25rem) clamp(1rem, 4vw, 3rem) !important;
}

.single-post article.post:hover,
.single-post article.type-post:hover {
    transform: none !important;
    box-shadow: none !important;
}

.single-post .entry-content {
    font-size: clamp(1.06rem, 1rem + 0.18vw, 1.16rem) !important;
    line-height: 1.76 !important;
}

.single-post .entry-content > :where(p, ul, ol, blockquote, .wp-block-list, .wp-block-quote) {
    max-width: var(--gp-reading-width) !important;
}

.single-post .entry-content h2 {
    font-size: clamp(1.75rem, 1.5rem + 0.7vw, 2.2rem) !important;
    margin-top: clamp(3rem, 6vw, 4rem) !important;
}

.single-post .entry-content h3 {
    font-size: clamp(1.3rem, 1.16rem + 0.4vw, 1.65rem) !important;
}

.single-post .gp-quick-copy,
.single-post [class*="quick-copy"] {
    max-width: 860px;
    margin-inline: auto !important;
}

.single-post .entry-content .gp-quick-copy pre {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 8px !important;
    white-space: pre-wrap !important;
}

.single-post .entry-content .gp-quick-copy__button {
    margin: 0 !important;
}

/* About: tighten the opening and keep the avatar card purposeful. */
.gp-about-hero {
    padding-top: clamp(2.5rem, 4.5vw, 4rem) !important;
    padding-bottom: clamp(2.5rem, 4.5vw, 4rem) !important;
}

.gp-about-hero h1 {
    font-size: var(--gp-display-page) !important;
    line-height: 1.03 !important;
}

.gp-about-avatar-card {
    min-height: 0 !important;
    padding: clamp(2rem, 4vw, 3rem) !important;
}

/* Tools: keep the editorial introduction concise and start the useful material sooner. */
.gp-tools-page {
    padding-top: 0 !important;
    color: var(--gp-text) !important;
}

.gp-tools-page,
.gp-tools-page p,
.gp-tools-page li,
.gp-tools-page strong,
.gp-tools-page h1,
.gp-tools-page h2,
.gp-tools-page h3 {
    color: var(--gp-text) !important;
}

.gp-tools-page a,
.gp-tools-page .gp-tool-card > p:last-child a {
    color: var(--gp-secondary) !important;
    text-decoration-color: rgba(99, 71, 235, 0.32) !important;
}

.gp-tools-page a:hover,
.gp-tools-page a:focus-visible,
.gp-tools-page .gp-tool-card > p:last-child a:hover,
.gp-tools-page .gp-tool-card > p:last-child a:focus-visible {
    color: var(--gp-primary) !important;
    text-decoration-color: currentColor !important;
}

.gp-tools-hero {
    padding-top: clamp(2.5rem, 4.5vw, 4rem) !important;
    padding-bottom: var(--gp-section-space-compact) !important;
}

.gp-tools-page h1 {
    font-size: var(--gp-display-page) !important;
    line-height: 1.04 !important;
}

.gp-tools-intro {
    max-width: 800px !important;
}

.gp-tools-page .gp-eyebrow {
    color: var(--gp-secondary) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.gp-tools-page .gp-tool-section {
    margin-bottom: clamp(2rem, 3.5vw, 3rem) !important;
}

.gp-tools-page .gp-tool-section > h2 {
    border-top-color: var(--gp-border) !important;
    font-size: clamp(1.75rem, 2.4vw, 2.3rem) !important;
    line-height: 1.14 !important;
    padding-top: 2rem !important;
}

.gp-tools-page .gp-tool-card {
    border-top-color: var(--gp-border) !important;
    padding-top: 1.35rem !important;
    margin-top: 1.35rem !important;
}

.gp-tools-page .gp-tool-card:first-of-type {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.gp-tools-page .gp-affiliate-disclosure {
    margin-bottom: clamp(2.25rem, 3.5vw, 3.25rem) !important;
    padding: clamp(1.25rem, 2vw, 1.65rem) !important;
    background: var(--gp-purple-50) !important;
    border: 1px solid rgba(99, 71, 235, 0.16) !important;
    border-left: 4px solid var(--gp-secondary) !important;
    border-radius: 8px !important;
}

.gp-tools-page .gp-affiliate-disclosure h2 {
    margin: 0 0 0.6rem !important;
    padding-top: 0 !important;
    border-top: 0 !important;
    font-size: clamp(1.2rem, 1.4vw, 1.45rem) !important;
    line-height: 1.25 !important;
}

.gp-tools-page .gp-affiliate-disclosure p:last-child {
    margin-bottom: 0 !important;
}

.gp-tools-page .gp-tools-final {
    padding-block: var(--gp-section-space-compact) !important;
    border-top: 1px solid var(--gp-border) !important;
}

.gp-tools-page .gp-tools-final,
.gp-tools-page .gp-tools-final h2,
.gp-tools-page .gp-tools-final h3,
.gp-tools-page .gp-tools-final p,
.gp-tools-page .gp-tools-final li,
.gp-tools-page .gp-tools-final strong {
    color: #ffffff !important;
}

.gp-tools-page .gp-tools-final p,
.gp-tools-page .gp-tools-final li {
    color: rgba(255, 255, 255, 0.86) !important;
}

.gp-tools-page .gp-tools-final a {
    color: #ffffff !important;
    text-decoration-color: rgba(255, 255, 255, 0.52) !important;
}

/* Media kit: use the same quiet, practical visual language as the homepage. */
.page-id-1838 .entry-content {
    max-width: none !important;
}

.page-id-1838 .entry-content > .wp-block-separator {
    display: none !important;
}

.page-id-1838 .gp-hero-bg {
    max-width: none !important;
    margin: 0 !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    padding: clamp(2.75rem, 5vw, 4.5rem) var(--gp-page-gutter) !important;
    background: #ffffff !important;
    border-bottom: 1px solid var(--gp-border) !important;
}

.page-id-1838 .gp-hero-bg::before {
    display: none !important;
}

.page-id-1838 .gp-hero-bg > * {
    max-width: 900px;
    margin-inline: auto !important;
}

.page-id-1838 .gp-hero-bg h1 {
    color: var(--gp-primary) !important;
    font-size: var(--gp-display-page) !important;
    line-height: 1.03 !important;
    letter-spacing: 0 !important;
}

.page-id-1838 .gp-hero-bg p {
    max-width: 780px;
    color: var(--gp-muted) !important;
    font-size: clamp(1.1rem, 1.7vw, 1.35rem) !important;
    line-height: 1.6 !important;
}

.page-id-1838 .gp-content-section,
.page-id-1838 .gp-media-callout-spacer {
    max-width: 1120px !important;
    margin-inline: auto !important;
    padding: var(--gp-section-space) var(--gp-page-gutter) !important;
}

.page-id-1838 .gp-content-section h2,
.page-id-1838 .gp-media-callout-spacer > h2 {
    color: var(--gp-primary) !important;
    font-size: var(--gp-display-secondary) !important;
    line-height: 1.12 !important;
    margin-bottom: 1rem !important;
}

.page-id-1838 .gp-content-section > p,
.page-id-1838 .gp-media-callout-spacer > p {
    max-width: 800px;
    margin-inline: auto;
    color: var(--gp-muted) !important;
}

.page-id-1838 .gp-content-section .wp-block-columns {
    gap: clamp(1.25rem, 3vw, 2.5rem) !important;
    margin-top: clamp(1.5rem, 2.5vw, 2.25rem) !important;
}

.page-id-1838 .gp-media-card-column {
    padding: clamp(1.5rem, 3vw, 2.25rem) !important;
    background: var(--gp-surface) !important;
    border: 1px solid var(--gp-border) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 28px rgba(30, 30, 63, 0.055) !important;
}

.page-id-1838 .gp-media-card-column h3,
.page-id-1838 .gp-media-card-column strong {
    color: var(--gp-primary) !important;
}

.page-id-1838 .gp-media-metric strong {
    display: inline-block;
    margin-bottom: 0.25rem;
    color: var(--gp-secondary) !important;
    font-size: clamp(1.8rem, 3vw, 2.5rem) !important;
    line-height: 1 !important;
}

.page-id-1838 .gp-media-callout-spacer .gp-callout-card {
    border-radius: 8px !important;
    box-shadow: 0 18px 42px rgba(30, 30, 63, 0.1) !important;
}

/* Free workflow library. */
.gp-free-workflow-library .gp-free-workflow-hero,
.gp-free-workflow-hero {
    padding-top: clamp(2.5rem, 4.5vw, 4rem) !important;
    padding-bottom: clamp(2.5rem, 4vw, 3.5rem) !important;
}

.gp-free-workflow-hero h1 {
    font-size: var(--gp-display-page) !important;
    line-height: 1.03 !important;
}

.gp-free-workflow-card,
.gp-free-workflow-step,
.gp-free-workflow-requirement {
    box-shadow: 0 10px 28px rgba(30, 30, 63, 0.055) !important;
}

/* Creator Workflow System: show the real product in the first viewport. */
.gp-cws-opening {
    padding-top: clamp(2.5rem, 4vw, 3.75rem) !important;
    padding-bottom: clamp(2.75rem, 4vw, 4rem) !important;
    background: linear-gradient(180deg, #ffffff 0%, #faf9ff 100%) !important;
}

.gp-cws-opening__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
}

/* End the Creator Workflow System page with a calm decision point, not a second hero. */
.gp-product-page.gp-cws-page .gp-surface-section:has(.gp-final-section) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: clamp(2.5rem, 4vw, 3.5rem) var(--gp-page-gutter) !important;
    background: #faf9ff !important;
    border-top: 1px solid var(--gp-border) !important;
}

.gp-product-page.gp-cws-page .gp-surface-section .gp-final-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    max-width: 960px !important;
    padding: 0 !important;
    text-align: left;
}

.gp-product-page.gp-cws-page .gp-final-copy {
    max-width: 680px;
    margin: 0;
}

.gp-product-page.gp-cws-page .gp-final-copy h2 {
    margin-bottom: 0.7rem !important;
    color: var(--gp-primary) !important;
    font-size: clamp(1.8rem, 3vw, 2.55rem) !important;
    line-height: 1.1 !important;
}

.gp-product-page.gp-cws-page .gp-final-copy p {
    margin-bottom: 0 !important;
    color: var(--gp-text-muted) !important;
}

.gp-product-page.gp-cws-page .gp-final-actions {
    margin: 0 !important;
}

.gp-product-page.gp-cws-page .gp-final-actions .gp-btn-white {
    background: var(--gp-gradient-button) !important;
    border: 0 !important;
    color: #ffffff !important;
    box-shadow: var(--gp-shadow) !important;
}

@media (max-width: 760px) {
    .gp-product-page.gp-cws-page .gp-surface-section .gp-final-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .gp-product-page.gp-cws-page .gp-final-copy {
        margin-inline: auto;
    }

    .gp-product-page.gp-cws-page .gp-final-actions .gp-btn-white {
        width: 100%;
    }
}

.gp-cws-opening__copy {
    text-align: left;
}

.gp-cws-opening__copy .gp-kicker {
    margin-bottom: 1.25rem;
    background: var(--gp-purple-50) !important;
    color: var(--gp-secondary) !important;
}

.gp-cws-opening__copy .gp-product-title {
    color: var(--gp-primary) !important;
    font-size: clamp(2.6rem, 4.6vw, 4.45rem) !important;
    line-height: 1.02 !important;
    margin: 0 0 1.1rem !important;
    text-wrap: balance;
}

.gp-cws-opening__copy .gp-product-subheadline {
    color: var(--gp-primary) !important;
    font-size: clamp(1.22rem, 1.8vw, 1.65rem) !important;
    line-height: 1.35 !important;
    margin: 0 0 1rem !important;
    max-width: 640px;
    text-align: left;
}

.gp-cws-opening__copy .gp-product-support,
.gp-cws-opening__copy .gp-small-note {
    margin-left: 0;
    margin-right: 0;
    max-width: 620px;
    text-align: left;
}

.gp-cws-opening__copy .gp-hero-actions {
    justify-content: flex-start;
    margin-top: 1.75rem;
}

.gp-cws-hero-proof {
    margin: 0;
    min-width: 0;
}

.gp-cws-hero-proof__frame {
    overflow: hidden;
    background: #17142f;
    border: 1px solid rgba(45, 43, 95, 0.16);
    border-radius: 8px;
    box-shadow: 0 28px 60px rgba(30, 30, 63, 0.18), 0 8px 20px rgba(30, 30, 63, 0.1);
}

.gp-cws-hero-proof__frame img {
    display: block;
    width: 100%;
    height: auto;
}

.gp-cws-hero-proof__caption {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    background: #17142f;
    color: #f8f7ff;
    font-size: 0.82rem;
    font-weight: 700;
}

.gp-cws-hero-proof__caption span {
    min-width: 0;
    text-align: center;
}

.gp-product-page .gp-content-section {
    padding-inline: var(--gp-page-gutter) !important;
}

.gp-product-page .gp-card,
.gp-product-page .gp-screenshot-card,
.gp-product-page .gp-faq-item,
.gp-product-page .gp-step-card,
.gp-product-page .gp-bullet-card,
.gp-product-page .gp-list-card,
.gp-product-page .gp-cws-choice,
.gp-product-page .gp-pricing-panel {
    border-radius: 8px !important;
    box-shadow: 0 10px 28px rgba(30, 30, 63, 0.055) !important;
}

.gp-product-page .gp-screenshot-frame,
.gp-product-page .gp-cws-video-frame {
    border-radius: 8px !important;
}

.gp-product-page .gp-kicker {
    background: var(--gp-purple-50) !important;
    color: var(--gp-secondary) !important;
}

/* Footer: keep the compact two-column information architecture. */
.gp-site-footer {
    margin-top: 0 !important;
}

@media (max-width: 1080px) {
    html body header#header [data-id="menu"] > ul {
        column-gap: 0.85rem !important;
    }

    html body header#header [data-id="menu"] a {
        font-size: 0.84rem !important;
    }

    .gp-cws-opening__grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .gp-cws-opening__grid {
        grid-template-columns: 1fr;
    }

    .gp-cws-opening__copy,
    .gp-cws-opening__copy .gp-product-subheadline,
    .gp-cws-opening__copy .gp-product-support,
    .gp-cws-opening__copy .gp-small-note {
        text-align: center;
    }

    .gp-cws-opening__copy .gp-product-support,
    .gp-cws-opening__copy .gp-small-note {
        margin-left: auto;
        margin-right: auto;
    }

    .gp-cws-opening__copy .gp-hero-actions {
        justify-content: center;
    }

    .gp-cws-hero-proof {
        max-width: 720px;
        margin-inline: auto;
    }
}

@media (max-width: 689px) {
    :root {
        --gp-section-space: 2rem;
        --gp-section-space-compact: 1.75rem;
    }

    html body header#header,
    html body header#header [data-row="middle"],
    html body header#header [data-row="middle"] > div {
        min-height: 68px !important;
    }

    .gp-home-hero,
    .gp-about-hero,
    .gp-blog-library__hero,
    .gp-library-hero,
    .gp-tools-hero,
    .gp-free-workflow-hero,
    .gp-cws-opening {
        padding-top: 2.25rem !important;
        padding-bottom: 2.5rem !important;
    }

    .single-post article.post,
    .single-post article.type-post {
        padding: 2.5rem 0 !important;
    }

    .gp-cws-opening__copy .gp-product-title {
        font-size: clamp(2.35rem, 12vw, 3.25rem) !important;
    }

    .gp-cws-opening__copy .gp-hero-actions a {
        width: 100%;
    }

    .gp-cws-hero-proof__caption {
        align-items: center;
        flex-direction: column;
    }
}

@media (min-width: 1800px) {
    .gp-home-hero__inner,
    .gp-blog-library,
    .gp-product-page .gp-product-shell,
    .gp-tools-page > section > div {
        max-width: 1240px !important;
        margin-inline: auto !important;
    }

    .gp-about-modern {
        --about-max: 1240px;
    }

    .gp-free-workflow-library {
        --workflow-max: 1240px;
    }
}
