:root {
    --pg-bg: #0a0a0a;
    --pg-bg-deep: #060708;
    --pg-panel: #111318;
    --pg-panel-soft: #171b24;
    --pg-text: #f5f4ef;
    --pg-muted: #8a8f98;
    --pg-line: #2a2d34;
    --pg-accent: #c4002f;
    --pg-accent-dark: #930024;
    --pg-success: #2d9a57;
    --pg-warning: #c58400;
    --pg-error: #9f3d3d;
    --pg-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    --pg-nav-height: 104px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--pg-text);
    background: radial-gradient(circle at 20% 0%, rgba(196, 0, 47, 0.22), transparent 34%),
        radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.08), transparent 30%),
        linear-gradient(180deg, var(--pg-bg) 0%, var(--pg-bg-deep) 100%);
    font-family: "Source Sans 3", "Trebuchet MS", sans-serif;
}

.wp-site-blocks {
    overflow: visible;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Cormorant Garamond", Georgia, serif;
    letter-spacing: 0.01em;
    color: var(--pg-text);
}

p,
li,
label,
input,
select,
textarea,
button {
    font-family: "Source Sans 3", "Trebuchet MS", sans-serif;
}

a {
    color: var(--pg-accent);
}

.pg-page-shell {
    overflow: clip;
    padding-bottom: 4.5rem;
}

header.wp-block-template-part {
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0px);
    z-index: 110;
}

.pg-sticky-nav.wp-block-group {
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 110;
}

.pg-top-strip {
    position: relative;
    background: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pg-top-strip p {
    margin: 0;
    padding: 0.7rem 0.8rem;
    color: rgba(245, 244, 239, 0.86);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.pg-site-header {
    position: relative;
    border-bottom: 1px solid var(--pg-line);
    backdrop-filter: blur(8px);
    background: rgba(8, 9, 11, 0.76);
}

.pg-site-header .wp-block-group.alignwide {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.pg-site-title {
    margin: 0;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245, 244, 239, 0.92);
}

.pg-site-title a {
    color: inherit;
    text-decoration: none;
}

.pg-nav-apply .wp-block-button__link {
    font-size: 0.72rem;
    padding: 0.75rem 1rem;
}

.wp-block-button__link,
.pg-next,
.pg-submit,
.pg-modal-cta {
    border: 1px solid rgba(196, 0, 47, 0.35);
    border-radius: 8px;
    background: linear-gradient(180deg, var(--pg-accent) 0%, var(--pg-accent-dark) 100%);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.wp-block-button__link:hover,
.pg-next:hover,
.pg-submit:hover,
.pg-modal-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 24px rgba(196, 0, 47, 0.36);
    filter: brightness(1.04);
}

.pg-primary-cta .wp-block-button__link {
    animation: pgPulse 2.4s ease-in-out infinite;
}

@keyframes pgPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(196, 0, 47, 0.45);
    }

    50% {
        box-shadow: 0 0 0 9px rgba(196, 0, 47, 0);
    }
}

.pg-reading-column {
    max-width: 800px;
    margin-inline: auto;
}

.pg-hero {
    position: relative;
    padding: clamp(4.2rem, 10vw, 8rem) 1.4rem clamp(2.2rem, 6vw, 4rem);
}

.pg-hero::before,
.pg-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(0.4px);
    pointer-events: none;
}

.pg-hero::before {
    width: min(40vw, 380px);
    height: min(40vw, 380px);
    right: -10vw;
    top: -9vw;
    background: radial-gradient(circle, rgba(196, 0, 47, 0.28), transparent 72%);
}

.pg-hero::after {
    width: min(32vw, 300px);
    height: min(32vw, 300px);
    left: -9vw;
    bottom: -11vw;
    background: radial-gradient(circle, rgba(245, 244, 239, 0.08), transparent 76%);
}

.pg-kicker {
    margin-bottom: 0.8rem;
    color: var(--pg-muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    font-weight: 700;
}

.pg-micro {
    color: var(--pg-muted);
}

.pg-section {
    padding: clamp(2.4rem, 6vw, 4.6rem) 1.4rem;
}

.pg-interrupt {
    text-align: center;
}

.pg-interrupt ul,
.pg-pricing ul {
    display: inline-block;
    text-align: left;
}

.pg-inline-cta {
    margin-top: 1.1rem;
    color: var(--pg-accent);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 700;
}

.pg-card {
    height: 100%;
    padding: 1.4rem;
    border-radius: 14px;
    border: 1px solid var(--pg-line);
    background: rgba(17, 19, 24, 0.85);
    box-shadow: var(--pg-shadow);
}

.pg-negative {
    border-color: rgba(159, 61, 61, 0.45);
}

.pg-positive {
    border-color: rgba(45, 154, 87, 0.45);
}

.pg-flow .wp-block-column {
    border: 1px solid var(--pg-line);
    border-radius: 10px;
    background: rgba(17, 19, 24, 0.65);
    padding: 0.55rem;
}

.pg-contrast-block {
    border-top: 1px solid var(--pg-line);
    border-bottom: 1px solid var(--pg-line);
    background: linear-gradient(125deg, rgba(17, 19, 24, 0.9), rgba(23, 27, 36, 0.92));
}

.pg-phase-card {
    height: 100%;
    border: 1px solid var(--pg-line);
    border-radius: 12px;
    background: rgba(17, 19, 24, 0.85);
    padding: 1rem 1rem 1.1rem;
}

.pg-phase-title {
    margin: 0 0 0.35rem;
    color: var(--pg-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    font-size: 0.72rem;
}

.pg-safety-box {
    border: 1px solid rgba(138, 143, 152, 0.32);
    border-radius: 14px;
    padding: 1.2rem;
    background: linear-gradient(140deg, rgba(17, 19, 24, 0.95), rgba(23, 27, 36, 0.86));
}

.pg-pricing {
    text-align: center;
}

.pg-pricing p.has-x-large-font-size {
    margin: 0.5rem 0;
    color: #fff;
    text-shadow: 0 0 18px rgba(196, 0, 47, 0.4);
}

.pg-application-block {
    border-top: 1px solid var(--pg-line);
    border-bottom: 1px solid var(--pg-line);
    background: linear-gradient(180deg, rgba(9, 10, 12, 0.95) 0%, rgba(15, 17, 23, 0.95) 100%);
}

#apply {
    scroll-margin-top: calc(var(--pg-nav-height) + 1rem);
}

.pg-form {
    margin-top: 1.3rem;
    border: 1px solid var(--pg-line);
    border-radius: 16px;
    padding: clamp(1rem, 2.7vw, 2rem);
    background: rgba(10, 11, 14, 0.93);
    box-shadow: var(--pg-shadow);
}

.pg-form-progress {
    margin-bottom: 1rem;
}

.pg-progress-label {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    color: var(--pg-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.pg-progress-track {
    overflow: hidden;
    height: 8px;
    border-radius: 999px;
    background: #1a1d26;
}

#pg-progress-fill {
    display: block;
    height: 100%;
    width: 11%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pg-accent), #ef4a71);
    transition: width 0.3s ease;
}

.pg-step {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
}

.pg-step.is-active {
    display: block;
    animation: pgFadeIn 0.35s ease;
}

@keyframes pgFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pg-step legend {
    margin-bottom: 0.75rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.45rem, 3.3vw, 2rem);
    line-height: 1.05;
    font-weight: 600;
}

.pg-choice,
.pg-check {
    display: block;
    margin-bottom: 0.62rem;
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    border: 1px solid #353a46;
    background: rgba(20, 23, 30, 0.7);
    color: var(--pg-text);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.pg-choice:hover,
.pg-check:hover {
    border-color: rgba(196, 0, 47, 0.55);
    background: rgba(24, 28, 38, 0.88);
}

.pg-choice input,
.pg-check input {
    margin-right: 0.55rem;
    width: auto;
    accent-color: var(--pg-accent);
}

.pg-form label {
    display: block;
    margin: 0.75rem 0 0.35rem;
    color: rgba(245, 244, 239, 0.95);
    font-weight: 600;
}

.pg-form input,
.pg-form textarea,
.pg-form select {
    width: 100%;
    border: 1px solid #363c49;
    border-radius: 9px;
    background: #0f1117;
    color: #fff;
    padding: 0.74rem 0.8rem;
    font-size: 0.97rem;
}

.pg-form input:focus,
.pg-form textarea:focus,
.pg-form select:focus {
    outline: none;
    border-color: rgba(196, 0, 47, 0.75);
    box-shadow: 0 0 0 1px rgba(196, 0, 47, 0.34);
}

.pg-step-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.pg-prev {
    border-radius: 8px;
    border: 1px solid #353a46;
    background: transparent;
    color: #fff;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    padding: 0.8rem 1rem;
    cursor: pointer;
}

.pg-next,
.pg-submit {
    cursor: pointer;
    padding: 0.85rem 1.2rem;
}

.pg-feedback {
    min-height: 1.25rem;
    margin-top: 0.65rem;
    color: #ff9ead;
    font-size: 0.9rem;
}

.pg-loading,
.pg-result {
    margin-top: 1rem;
    border-radius: 12px;
    border: 1px solid var(--pg-line);
    background: rgba(17, 19, 24, 0.85);
    padding: 1.05rem 1.15rem;
}

.pg-loading h3,
.pg-result h3 {
    margin-top: 0;
}

.pg-result--accept {
    border-color: rgba(45, 154, 87, 0.7);
}

.pg-result--conditional {
    border-color: rgba(197, 132, 0, 0.8);
}

.pg-result--nurture,
.pg-result--reject {
    border-color: rgba(159, 61, 61, 0.72);
}

.pg-result-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.pg-result-tag {
    border: 1px solid #3a4050;
    border-radius: 999px;
    padding: 0.28rem 0.6rem;
    font-size: 0.73rem;
    color: rgba(245, 244, 239, 0.9);
    letter-spacing: 0.03em;
}

.pg-restart {
    margin-top: 0.95rem;
    border: 1px solid #353a46;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    padding: 0.72rem 0.95rem;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    cursor: pointer;
}

.pg-final-close {
    text-align: center;
}

.pg-footer {
    padding: 2rem 1.4rem 2.6rem;
    border-top: 1px solid var(--pg-line);
    background: rgba(6, 7, 8, 0.95);
}

.pg-post-card {
    border: 1px solid var(--pg-line);
    border-radius: 12px;
    padding: 1rem;
    background: rgba(17, 19, 24, 0.8);
}

.pg-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.pg-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.pg-sticky-cta {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 80;
    display: none;
    border-radius: 10px;
    border: 1px solid rgba(196, 0, 47, 0.35);
    background: linear-gradient(180deg, var(--pg-accent), var(--pg-accent-dark));
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.95rem 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.pg-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.74);
    padding: 1.1rem;
}

.pg-modal[hidden] {
    display: none !important;
}

.pg-modal-dialog {
    position: relative;
    width: min(460px, 100%);
    border: 1px solid var(--pg-line);
    border-radius: 14px;
    background: linear-gradient(160deg, #101217, #171b24);
    box-shadow: var(--pg-shadow);
    padding: 1.1rem 1.1rem 1.35rem;
}

.pg-modal-close {
    position: absolute;
    right: 0.7rem;
    top: 0.7rem;
    border: 1px solid #3a4050;
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    padding: 0.3rem 0.46rem;
}

.pg-modal-cta {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 0.85rem 1rem;
}

body.pg-modal-open {
    overflow: hidden;
}

@media (max-width: 980px) {
    .pg-phase-grid,
    .pg-split {
        flex-direction: column;
    }

    .pg-page-shell {
        padding-bottom: 6.5rem;
    }

    .pg-sticky-cta {
        display: block;
    }
}

@media (max-width: 680px) {
    .pg-top-strip p {
        letter-spacing: 0.08em;
        font-size: 0.66rem;
    }

    .pg-site-header .wp-block-group.alignwide {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .pg-step-actions {
        justify-content: stretch;
    }

    .pg-step-actions button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .pg-reveal,
    .pg-primary-cta .wp-block-button__link {
        transition: none;
        animation: none;
        opacity: 1;
        transform: none;
    }
}
