/* 09-polish.css - Shared polish and commitment strip
 * Part of the Pulsar67 marketing stylesheet bundle.
 * Load order is defined in templates/layouts/_marketing_styles.html
 */

/* ============================================================
   Public site shared polish and components
   ============================================================ */

html {
    scroll-behavior: smooth;
}

::selection {
    background: rgba(109, 93, 252, .22);
}

a:focus-visible,
button:focus-visible,
.p67-btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--p67-primary);
    outline-offset: 2px;
}

/* Billing steps strip */
.p67-steps {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.p67-step {
    background: #ffffff;
    border: 1px solid var(--p67-border);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(31, 28, 70, .06);
    padding: 1.5rem;
    position: relative;
    transition: box-shadow .18s ease, transform .18s ease;
}

.p67-step:hover {
    box-shadow: 0 18px 44px rgba(31, 28, 70, .1);
    transform: translateY(-3px);
}

.p67-step-number {
    align-items: center;
    background: var(--p67-primary-soft);
    border-radius: 10px;
    color: var(--p67-primary-dark);
    display: inline-flex;
    font-family: var(--p67-heading-font);
    font-size: 1.1rem;
    font-weight: 900;
    height: 40px;
    justify-content: center;
    margin-bottom: .9rem;
    width: 40px;
}

.p67-step h3 {
    font-size: 1.1rem;
    font-weight: 850;
    margin-bottom: .4rem;
}

.p67-step p {
    color: var(--p67-muted);
    font-size: .95rem;
    line-height: 1.55;
    margin: 0;
}

/* Closing call-to-action band */
.p67-cta-band {
    align-items: center;
    background:
        radial-gradient(120% 160% at 100% 0%, rgba(109, 93, 252, .3), rgba(57, 49, 129, 0) 55%),
        linear-gradient(135deg, #2a2456 0%, #393181 55%, #4a3f9e 100%);
    border-radius: 18px;
    box-shadow: 0 22px 54px rgba(31, 28, 70, .22);
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
    padding: 2.25rem 2.5rem;
}

.p67-cta-band h2 {
    color: #ffffff;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    margin-bottom: .35rem;
}

.p67-cta-band p {
    color: rgba(233, 231, 255, .82);
    margin: 0;
}

.p67-cta-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.p67-cta-band .p67-btn-ghost {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .35);
    color: #ffffff;
}

.p67-cta-band .p67-btn-ghost:hover {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .6);
    color: #ffffff;
}

/* Rendered article / CMS prose typography */
.p67-public-rendered-article .p67-container,
.p67-public-rendered-page .p67-container {
    max-width: 1100px;
}

.p67-public-rendered-article p,
.p67-public-rendered-article li {
    font-size: 1.02rem;
    line-height: 1.75;
    max-width: 72ch;
}

.p67-public-rendered-article h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    margin-top: 2.2rem;
}

.p67-public-rendered-article h3 {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    margin-top: 1.6rem;
}

.p67-public-rendered-article code {
    background: rgba(90, 82, 184, .08);
    border-radius: 6px;
    color: var(--p67-primary-dark);
    font-size: .92em;
    padding: .12em .4em;
}

.p67-public-rendered-article pre {
    background: #1d1a38;
    border-radius: 12px;
    color: #e9e7ff;
    overflow-x: auto;
    padding: 1.1rem 1.25rem;
}

.p67-public-rendered-article pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.p67-public-rendered-article img {
    border-radius: 12px;
    height: auto;
    max-width: 100%;
}

.p67-public-rendered-article blockquote {
    border-left: 3px solid var(--p67-primary);
    color: var(--p67-muted);
    margin: 1.4rem 0;
    padding: .25rem 0 .25rem 1.1rem;
}

/* Footer link polish */
.p67-footer a {
    transition: color .15s ease;
}

@media (max-width: 767.98px) {
    .p67-cta-band {
        padding: 1.6rem 1.5rem;
    }
}

/* Blog card gradient covers (replaces the repeated banner image) */
.p67-blog-card-cover {
    align-items: center;
    background:
        radial-gradient(120% 160% at 100% 0%, rgba(109, 93, 252, .35), rgba(57, 49, 129, 0) 55%),
        linear-gradient(135deg, #2a2456 0%, #393181 60%, #4a3f9e 100%);
    display: flex;
    flex-direction: column;
    gap: .35rem;
    justify-content: center;
    min-height: 150px;
}

.p67-blog-cover-mark {
    align-items: center;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 12px;
    color: #ffffff;
    display: inline-flex;
    font-family: var(--p67-heading-font);
    font-size: 1.5rem;
    font-weight: 900;
    height: 52px;
    justify-content: center;
    text-transform: uppercase;
    width: 52px;
}

.p67-blog-cover-label {
    color: rgba(233, 231, 255, .85);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Readability fixes: keep dark text inside the white contact card even
   though the surrounding hero is dark-themed. */
.p67-contact-hero .p67-contact-card h2 {
    color: var(--p67-text);
}

.p67-contact-hero .p67-contact-card p {
    color: var(--p67-text-muted);
}

.p67-contact-hero .p67-contact-card label {
    color: var(--p67-text);
}

/* Stronger default eyebrow contrast on light heroes */
.p67-eyebrow {
    background: rgba(90, 82, 184, .12);
    border-color: rgba(90, 82, 184, .3);
}

/* Commitment strip buttons (static pricing page) */
.p67-commitment-strip button {
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: rgba(255, 255, 255, .85);
    cursor: pointer;
    font-size: .82rem;
    font-weight: 800;
    padding: .45rem .9rem;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.p67-commitment-strip button small {
    color: inherit;
    display: none;
    font-weight: 600;
    opacity: .75;
}

.p67-commitment-strip button:hover {
    background: rgba(255, 255, 255, .1);
    color: #ffffff;
}

.p67-commitment-strip button.is-active {
    background: rgba(255, 255, 255, .92);
    color: var(--p67-primary-dark);
}

.p67-commitment-strip button.is-active small {
    display: inline-flex;
}


