body.pb-brand-body {
    background:
        radial-gradient(circle at top, rgba(240, 208, 12, 0.08), transparent 30%),
        linear-gradient(180deg, #0a0a0a 0%, #04130f 55%, #091a15 100%);
    color: var(--text-primary);
    font-family: var(--font-main);
    margin: 0;
    min-height: 100vh;
}

body.pb-brand-body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(240, 208, 12, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(240, 208, 12, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.32;
}

.pb-brand-page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.pb-brand-navbar {
    gap: 18px;
}

.pb-brand-nav-links {
    flex: 1;
    justify-content: center;
}

.pb-brand-nav-cta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 180px;
}

.pb-brand-nav-button {
    padding: 10px 18px;
}

.pb-brand-login-link {
    white-space: nowrap;
}

.pb-icon {
    width: 1em;
    height: 1em;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.pb-icon-fill path,
.pb-icon-fill circle,
.pb-icon-fill rect {
    fill: currentColor;
    stroke: none;
}

.pb-page-hero {
    padding: 148px 0 56px;
}

.pb-page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid rgba(240, 208, 12, 0.2);
    border-radius: 999px;
    color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.02);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.74rem;
}

.pb-page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
    gap: 36px;
    align-items: end;
}

.pb-page-title {
    margin: 18px 0 16px;
    font-size: clamp(2.8rem, 6vw, 4.9rem);
    line-height: 0.96;
    color: var(--white-pearl);
}

.pb-page-lead {
    max-width: 720px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.pb-hero-panel,
.pb-surface-card,
.pb-legal-card,
.pb-auth-card,
.pb-profile-card,
.pb-pricing-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
}

.pb-hero-panel {
    padding: 26px;
    border-radius: 18px;
}

.pb-hero-panel-title {
    margin: 0 0 10px;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-primary);
}

.pb-metric-list,
.pb-bullet-list,
.pb-mini-list,
.pb-feature-list-clean {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pb-metric-list li,
.pb-bullet-list li,
.pb-mini-list li,
.pb-feature-list-clean li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-secondary);
}

.pb-metric-list li + li,
.pb-bullet-list li + li,
.pb-mini-list li + li,
.pb-feature-list-clean li + li {
    margin-top: 14px;
}

.pb-page-section {
    padding: 32px 0 80px;
}

.pb-section-title {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.pb-section-copy {
    color: var(--text-secondary);
    max-width: 760px;
}

.pb-card-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
}

.pb-surface-card,
.pb-pricing-card,
.pb-profile-card,
.pb-auth-card,
.pb-legal-card {
    border-radius: 18px;
    padding: 24px;
}

.pb-card-kicker,
.pb-pricing-kicker,
.pb-legal-number {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
}

.pb-card-title,
.pb-pricing-title,
.pb-profile-title,
.pb-auth-title,
.pb-legal-title {
    margin: 0 0 12px;
    font-size: 1.4rem;
}

.pb-card-copy,
.pb-pricing-copy,
.pb-profile-copy,
.pb-auth-copy,
.pb-legal-copy {
    color: var(--text-secondary);
}

.pb-process-grid,
.pb-legal-grid,
.pb-pricing-grid,
.pb-profile-grid,
.pb-auth-grid,
.pb-stats-grid {
    display: grid;
    gap: 22px;
}

.pb-process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 28px;
}

.pb-process-step {
    position: relative;
    padding: 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pb-step-number {
    color: var(--gold-primary);
    font-size: 2rem;
    font-family: var(--font-heading);
}

.pb-step-title {
    margin: 12px 0 10px;
    font-size: 1.2rem;
}

.pb-step-copy {
    color: var(--text-secondary);
    margin: 0;
}

.pb-page-cta {
    padding: 0 0 88px;
}

.pb-cta-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    gap: 20px;
    align-items: center;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid rgba(240, 208, 12, 0.22);
    background: linear-gradient(135deg, rgba(240, 208, 12, 0.08), rgba(255, 255, 255, 0.02));
}

.pb-cta-card p {
    margin: 10px 0 0;
    color: var(--text-secondary);
}

.pb-pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
}

.pb-pricing-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pb-pricing-tier {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--white-pearl);
}

.pb-pricing-flag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    width: fit-content;
    border-radius: 999px;
    background: rgba(240, 208, 12, 0.1);
    color: var(--gold-primary);
    font-size: 0.8rem;
}

.pb-legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
}

.pb-legal-card {
    min-height: 100%;
}

.pb-legal-copy p:last-child {
    margin-bottom: 0;
}

.pb-auth-grid,
.pb-profile-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
    margin-top: 28px;
}

.pb-auth-card form,
.pb-auth-card .tml,
.pb-auth-card .login,
.pb-auth-card .pmpro_form,
.pb-auth-card .wp-login-form,
.pb-form-shell form,
.pb-form-shell .tml,
.pb-form-shell .login,
.pb-form-shell .pmpro_form,
.pb-form-shell .wp-login-form {
    width: 100%;
}

.pb-auth-card label,
.pb-auth-card .tml label,
.pb-auth-card .pmpro_form label,
.pb-form-shell label,
.pb-form-shell .tml label,
.pb-form-shell .pmpro_form label {
    display: block;
    color: var(--white-pearl);
    margin-bottom: 8px;
    font-weight: 600;
}

.pb-auth-card input[type="text"],
.pb-auth-card input[type="email"],
.pb-auth-card input[type="password"],
.pb-auth-card textarea,
.pb-auth-card select,
.pb-form-shell input[type="text"],
.pb-form-shell input[type="email"],
.pb-form-shell input[type="password"],
.pb-form-shell textarea,
.pb-form-shell select {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(4, 19, 15, 0.7);
    color: var(--white-pearl);
    padding: 14px 16px;
    margin-bottom: 16px;
}

.pb-auth-card input[type="submit"],
.pb-auth-card button,
.pb-auth-card .button,
.pb-auth-card .btn,
.pb-form-shell input[type="submit"],
.pb-form-shell button,
.pb-form-shell .button,
.pb-form-shell .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    padding: 14px 20px;
    background: linear-gradient(90deg, var(--gold-primary) 0%, var(--gold-accent) 100%);
    color: #000;
    font-weight: 700;
    cursor: pointer;
}

.pb-form-shell {
    margin-top: 18px;
}

.pb-form-shell .pmpro_form {
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.pb-form-shell .pmpro_form h2,
.pb-form-shell .pmpro_form h3,
.pb-form-shell .pmpro_form legend {
    color: var(--white-pearl);
}

.pb-form-shell .pmpro_form hr,
.pb-form-shell .pmpro_form .pmpro_spacer {
    display: none;
}

.pb-form-shell .pmpro_form .pmpro_checkout-field,
.pb-form-shell .pmpro_form .pmpro_member_profile_edit-fields,
.pb-form-shell .pmpro_form .lite {
    color: var(--text-secondary);
}

.pb-form-shell .pmpro_form .pmpro_form_fields {
    display: grid;
    gap: 18px;
}

.pb-form-shell .pmpro_form .pmpro_checkout-field-group,
.pb-form-shell .pmpro_form .pmpro_cols-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.pb-form-shell .pmpro_form .pmpro_btn,
.pb-form-shell .pmpro_form input[type="submit"],
.pb-form-shell .pmpro_form button[type="submit"] {
    border-radius: 999px;
    padding: 14px 22px;
    border: 0;
    background: linear-gradient(90deg, var(--gold-primary) 0%, var(--gold-accent) 100%);
    color: #000;
    font-weight: 700;
}

.pb-form-shell .pmpro_form .pmpro_btn-cancel,
.pb-form-shell .pmpro_form a.button-secondary,
.pb-form-shell .pmpro_form .pmpro_btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white-pearl);
}

.pb-form-shell .pmpro_form a {
    color: var(--gold-primary);
}

.pb-form-shell .pmpro_form .pmpro_message,
.pb-form-shell .pmpro_form .pmpro-levels-message,
.pb-form-shell .pmpro_form .pmpro_error {
    margin-bottom: 18px;
    border-radius: 14px;
    border: 1px solid rgba(240, 208, 12, 0.16);
    background: rgba(240, 208, 12, 0.08);
    color: var(--white-pearl);
    padding: 14px 16px;
}

.pb-form-shell .pmpro_form .pmpro_error {
    border-color: rgba(255, 93, 93, 0.28);
    background: rgba(255, 93, 93, 0.1);
}

.pb-form-shell .pmpro_form .pmpro_show_password {
    color: var(--gold-primary);
}

.pb-form-shell .pmpro_form .description,
.pb-form-shell .pmpro_form .lite,
.pb-form-shell .pmpro_form .pmpro_form_hint {
    color: var(--text-secondary);
}

.pb-form-shell .pmpro_form .pmpro_submit {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
}

.pb-form-shell .pmpro_form .pmpro_submit .pmpro_btn-cancel {
    text-decoration: none;
}

.pb-auth-meta,
.pb-profile-meta {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.pb-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pb-meta-row span:first-child {
    color: var(--text-secondary);
}

.pb-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.pb-profile-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(240, 208, 12, 0.08);
    color: var(--text-secondary);
}

.pb-member-terms-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    display: grid;
    gap: 14px;
}

.pb-member-terms-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-secondary);
}

.pb-member-terms-form {
    margin-top: 22px;
}

.pb-member-terms-check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 18px;
    color: var(--white-pearl);
}

.pb-member-terms-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--gold-primary);
}

.pb-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 22px;
}

.pb-stat-box {
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pb-stat-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pb-stat-value {
    display: block;
    margin-top: 8px;
    font-size: 1.6rem;
    font-family: var(--font-heading);
    color: var(--white-pearl);
}

.pb-brand-footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.pb-inline-icon {
    margin-right: 8px;
    vertical-align: -0.15em;
}

@media (max-width: 1080px) {
    .pb-page-hero-grid,
    .pb-legal-grid,
    .pb-auth-grid,
    .pb-profile-grid,
    .pb-pricing-grid,
    .pb-card-grid,
    .pb-process-grid,
    .pb-stats-grid {
        grid-template-columns: 1fr;
    }

    .pb-cta-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .pb-brand-navbar {
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .pb-brand-nav-links {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .pb-brand-nav-cta {
        min-width: auto;
    }

    .pb-page-hero {
        padding-top: 168px;
    }
}

@media (max-width: 600px) {
    .pb-page-title {
        font-size: 2.55rem;
    }

    .pb-page-lead,
    .pb-section-copy {
        font-size: 1rem;
    }

    .pb-page-hero,
    .pb-page-section,
    .pb-page-cta {
        padding-left: 0;
        padding-right: 0;
    }

    .pb-hero-panel,
    .pb-surface-card,
    .pb-legal-card,
    .pb-auth-card,
    .pb-profile-card,
    .pb-pricing-card {
        padding: 20px;
        border-radius: 16px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .pb-profile-actions {
        flex-direction: column;
    }
}
