/* ApprovePost 2026 marketing refresh.
   Scoped to public secondary pages; application and review UI are unaffected. */

.w-marketing-page main {
    overflow: clip;
}

.w-marketing-page .w-breadcrumb {
    margin-bottom: 18px;
}

.w-marketing-page .w-breadcrumb li,
.w-marketing-page .w-breadcrumb a {
    color: #7a8494;
    font-size: 12px;
    font-weight: 650;
}

.w-marketing-page .w-breadcrumb a:hover {
    color: #635bff;
}

.w-marketing-page .w-breadcrumb [aria-current='page'] {
    color: #3d4656;
}

.w-product-page .w-lp-hero {
    position: relative;
    padding: 34px 0 0;
    background:
        radial-gradient(circle at 14% 5%, rgba(99, 91, 255, .14), transparent 31%),
        radial-gradient(circle at 88% 80%, rgba(127, 119, 255, .08), transparent 29%),
        linear-gradient(180deg, #fafaff 0%, #fff 88%);
}

.w-product-page .w-lp-hero::after {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 91, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 91, 255, .025) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, #000, transparent 74%);
    pointer-events: none;
    content: '';
}

.w-product-page .w-lp-hero > .w-container {
    position: relative;
    z-index: 1;
}

.w-product-page .w-lp-hero__inner {
    grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr);
    gap: clamp(46px, 6vw, 78px);
    min-height: 640px;
    padding: 22px 0 76px;
}

.w-product-page .w-lp-hero__copy {
    max-width: 590px;
}

.w-product-page .w-lp-hero__title {
    max-width: 720px;
    margin: 16px 0 22px;
    color: #0a0f1d;
    font-size: clamp(44px, 4.5vw, 62px);
    font-weight: 840;
    line-height: 1.02;
    letter-spacing: -.052em;
    text-wrap: balance;
}

.w-product-page .w-lp-hero__lead {
    max-width: 620px;
    margin-bottom: 28px;
    color: #5b6575;
    font-size: 17px;
    line-height: 1.64;
}

.w-product-page .w-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.w-product-page .w-hero__note {
    margin-top: 15px;
    color: #818999;
    font-size: 12px;
    font-weight: 620;
}

.w-lp-proof {
    position: relative;
    margin: 0;
}

.w-lp-proof__frame {
    position: relative;
    padding: 10px;
    overflow: visible;
    border: 1px solid rgba(99, 91, 255, .22);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(241,240,255,.9));
    box-shadow:
        0 34px 74px rgba(31, 35, 66, .16),
        0 8px 26px rgba(99, 91, 255, .1);
}

.w-lp-proof picture {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(30, 38, 60, .1);
    border-radius: 16px;
    background: #f6f7f9;
}

.w-lp-proof picture img {
    display: block;
    width: 100%;
    height: auto;
}

.w-lp-proof__status {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 780;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .17);
}

.w-lp-proof__status--approved {
    top: -16px;
    right: 22px;
    background: #eaf8f1;
    color: #14784d;
}

.w-lp-proof__status--changes {
    bottom: 28px;
    left: -20px;
    background: #fff7e7;
    color: #8a5711;
}

.w-lp-proof figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 10px 0;
    color: #778091;
    font-size: 11px;
    font-weight: 620;
    line-height: 1.45;
}

.w-lp-proof__brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
    color: #353e4d;
    font-weight: 760;
}

.w-lp-proof__brand img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
}

.w-product-page .w-section--tint {
    background: #f8f8fc;
}

.w-product-page .w-section--band {
    background: linear-gradient(180deg, #f6f5ff, #fbfbff);
}

.w-product-page .w-section--band::before {
    display: none;
}

.w-product-page .w-section--band .w-label,
.w-product-page .w-section--band .w-h2,
.w-product-page .w-section--band .w-h3 {
    color: inherit;
}

.w-product-page .w-section--band .w-lead {
    color: #667085;
}

.w-product-page .w-intent {
    max-width: 920px;
    padding: 34px 38px;
    border: 1px solid #dedcff;
    border-left: 0;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(99,91,255,.06), transparent 52%),
        #fff;
    box-shadow: 0 20px 54px rgba(15, 23, 42, .07);
}

.w-product-page .w-intent__label {
    color: #635bff;
}

.w-product-page .w-intent__text {
    color: #303949;
    font-size: 17px;
}

.w-product-page .w-callout,
.w-product-page .w-status,
.w-product-page .w-reviewer,
.w-product-page .w-audience,
.w-product-page .w-boundary__col,
.w-product-page .w-core-feature,
.w-product-page .w-related__product,
.w-product-page .w-post-card {
    border-color: #e3e5ec;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(15, 23, 42, .06);
}

.w-product-page .w-callout {
    padding: 30px;
    background:
        radial-gradient(circle at 100% 0, rgba(99,91,255,.1), transparent 42%),
        #fff;
}

.w-product-page .w-flow__step {
    border-color: #e1e3ea;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .055);
}

.w-product-page .w-flow__number,
.w-product-page .w-reviewer__icon {
    background: #f0efff;
    color: #635bff;
}

.w-product-page .w-boundary__note {
    border-color: #dedcff;
    background: #f5f4ff;
}

.w-product-page .w-section--example {
    background:
        radial-gradient(circle at 90% 10%, rgba(99,91,255,.07), transparent 28%),
        #fff;
}

.w-pricing-page .w-pricing-hero {
    padding-top: 34px;
    background:
        radial-gradient(circle at 50% 0, rgba(99,91,255,.16), transparent 35%),
        linear-gradient(180deg, #fafaff, #fff 82%);
}

.w-pricing-page .w-pricing-hero::after {
    display: none;
}

.w-pricing-page .w-pricing-hero .w-section-header {
    margin-top: 24px;
}

.w-pricing-page .w-proof-strip {
    border: 1px solid #e5e6ed;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15,23,42,.05);
}

.w-pricing-page .w-comparison,
.w-pricing-page .w-active-note,
.w-pricing-page .w-billing-facts {
    border-color: #e1e4eb;
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(15,23,42,.055);
}

.w-content-page .w-blog-hero,
.w-content-page .w-article-page {
    background:
        radial-gradient(circle at 14% 0, rgba(99,91,255,.12), transparent 31%),
        linear-gradient(180deg, #fafaff 0%, #fff 520px);
}

.w-content-page .w-blog-hero {
    padding-top: 36px;
}

.w-content-page .w-blog-hero__inner {
    padding: 24px 0 64px;
}

.w-content-page .w-blog-hero__title,
.w-content-page .w-article-header__title {
    color: #0a0f1d;
    font-weight: 840;
    letter-spacing: -.05em;
    text-wrap: balance;
}

.w-content-page .w-blog-featured {
    border-color: #dedcff;
    background:
        radial-gradient(circle at 95% 0, rgba(99,91,255,.11), transparent 40%),
        #fff;
    box-shadow: 0 22px 60px rgba(15,23,42,.08);
}

.w-content-page .w-article-toc {
    border-color: #dcd9ff;
}

.w-content-page .w-article-prose {
    color: #4f5969;
}

.w-legal-page .w-legal {
    max-width: 900px;
}

.w-legal-page .w-legal > .w-h1 {
    margin-bottom: 10px;
    font-weight: 840;
    letter-spacing: -.045em;
}

.w-legal-page .w-legal-notice,
.w-legal-page .w-legal-toc {
    border-color: #dedcff;
    border-radius: 18px;
    background: #fafaff;
}

.w-contact-page .w-contact-hero {
    background:
        radial-gradient(circle at 12% 0, rgba(99,91,255,.14), transparent 34%),
        linear-gradient(180deg, #fafaff, #fff 80%);
}

.w-contact-page .w-contact-form-card,
.w-contact-page .w-contact-success {
    border-color: #dedcff;
    border-radius: 22px;
    box-shadow: 0 24px 62px rgba(15,23,42,.1);
}

@media (max-width: 1040px) {
    .w-product-page .w-lp-hero__inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .w-product-page .w-lp-hero__copy,
    .w-product-page .w-lp-hero__visual {
        max-width: 760px;
    }
}

@media (max-width: 640px) {
    .w-marketing-page .w-breadcrumb {
        margin-bottom: 12px;
    }

    .w-product-page .w-lp-hero {
        padding-top: 22px;
    }

    .w-product-page .w-lp-hero__inner {
        gap: 30px;
        padding: 16px 0 48px;
    }

    .w-product-page .w-lp-hero__title {
        margin: 12px 0 16px;
        font-size: 36px;
        line-height: 1.04;
    }

    .w-product-page .w-lp-hero__lead {
        margin-bottom: 22px;
        font-size: 15.5px;
        line-height: 1.58;
    }

    .w-product-page .w-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .w-product-page .w-hero__actions .w-btn {
        width: 100%;
    }

    .w-lp-proof__frame {
        padding: 7px;
        border-radius: 20px;
    }

    .w-lp-proof picture {
        border-radius: 14px;
    }

    .w-lp-proof__status {
        min-height: 30px;
        padding-inline: 10px;
        font-size: 9px;
    }

    .w-lp-proof__status--approved {
        top: -13px;
        right: 12px;
    }

    .w-lp-proof__status--changes {
        bottom: 18px;
        left: -8px;
    }

    .w-lp-proof figcaption {
        display: grid;
        gap: 7px;
        padding-inline: 4px;
    }

    .w-product-page .w-intent {
        padding: 26px 22px;
    }

    .w-product-page .w-intent__text {
        font-size: 15.5px;
    }

    .w-pricing-page .w-pricing-hero {
        padding-top: 22px;
    }

    .w-pricing-page .w-pricing-hero .w-section-header {
        margin-top: 18px;
    }

    .w-content-page .w-blog-hero {
        padding-top: 22px;
    }

    .w-content-page .w-blog-hero__inner {
        padding-bottom: 46px;
    }
}

/* ── ERROR PAGES (404, 500) ── */
.w-error-page main {
    min-height: calc(100vh - 280px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.w-error-hero {
    position: relative;
    padding: clamp(48px, 8vw, 84px) 0;
    text-align: center;
    background:
        radial-gradient(ellipse 700px 420px at 50% 15%, rgba(99, 91, 255, 0.10), transparent 60%),
        linear-gradient(180deg, #fafaff 0%, #ffffff 100%);
}

.w-error-hero > .w-container {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin-inline: auto;
}

.w-error-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(99, 91, 255, 0.20);
    box-shadow: 0 4px 14px rgba(99, 91, 255, 0.08);
    font-size: 13px;
    font-weight: 700;
    color: #4a54ea;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}

.w-error-badge__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #635bff;
}

.w-error-badge--500 .w-error-badge__dot {
    background: #e11d48;
}

.w-error-badge--500 {
    border-color: rgba(225, 29, 72, 0.20);
    color: #be123c;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.08);
}

.w-error-title {
    color: #0a0f1d;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 840;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    text-wrap: balance;
}

.w-error-lead {
    color: #5b6575;
    font-size: 16.5px;
    line-height: 1.6;
    max-width: 520px;
    margin-inline: auto;
    margin-bottom: 32px;
}

.w-error-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.w-error-quicklinks {
    margin-top: 12px;
    padding-top: 36px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    text-align: left;
}

.w-error-quicklinks__title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #818999;
    margin-bottom: 16px;
    text-align: center;
}

.w-error-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.w-error-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    text-decoration: none;
    color: #0a0f1d;
    transition: all var(--w-transition);
}

.w-error-card:hover {
    border-color: rgba(99, 91, 255, 0.35);
    background: #fafaff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 91, 255, 0.10);
    color: #4a54ea;
}

.w-error-card__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f1f0ff;
    color: #635bff;
    flex-shrink: 0;
}

.w-error-card__text strong {
    display: block;
    font-size: 13.5px;
    font-weight: 650;
}

.w-error-card__text span {
    display: block;
    font-size: 12px;
    color: #818999;
}
