/* Compare pages (/alternatives/*): the "#1" hero, the comparison table's frame, the point cards, the Ask AI block
   and the closing band. Founder 2026-10-23, after Telnyx's compare pages: "no, #1 is better." Built by
   tools/build-alternatives.py; versioned as ?v= there. Light only, like the rest of the site. */

.vx-hero {
    position: relative;
    overflow: hidden;
    padding: 8.5rem 1.5rem 4rem;
    text-align: center;
    background:
        radial-gradient(60% 55% at 12% 18%, rgba(224, 231, 255, 0.9) 0%, transparent 62%),
        radial-gradient(50% 50% at 88% 12%, rgba(250, 232, 255, 0.75) 0%, transparent 60%),
        radial-gradient(70% 60% at 50% 105%, rgba(209, 250, 229, 0.6) 0%, transparent 60%),
        #faf9f7;
}
/* a faint grid that fades out toward the edges, so the headline sits on something */
.vx-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, #000 25%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, #000 25%, transparent 75%);
}
.vx-hero-in { position: relative; z-index: 1; max-width: 64rem; margin: 0 auto; }

.vx-h1 {
    margin: 0 auto;
    max-width: 22ch;
    font-size: clamp(2.4rem, 6.2vw, 4.6rem);
    line-height: 1.05;
    padding-bottom: 0.06em;           /* room for descenders at this size */
    font-weight: 800;
    letter-spacing: -0.035em;
    color: #0f172a;
    text-wrap: balance;
}
.vx-num { color: #4338ca; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .vx-num {
        background: linear-gradient(100deg, #059669 0%, #4338ca 55%, #a21caf 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
}
.vx-sub {
    margin: 1.4rem auto 0;
    max-width: 40rem;
    font-size: clamp(1.15rem, 2.1vw, 1.45rem);
    font-weight: 600;
    line-height: 1.4;
    color: #1e293b;
    text-wrap: balance;
}
.vx-lede { margin: 1rem auto 0; max-width: 44rem; font-size: 1.05rem; line-height: 1.7; color: #475569; }
.vx-cta { margin-top: 2rem; }

.vx-compare { padding: 3.5rem 1.5rem 1rem; }
.vx-compare-in { max-width: 60rem; margin: 0 auto; }
.vx-compare-in.vx-wide { max-width: 72rem; }
.vx-fine { max-width: 46rem; margin: 1rem auto 0; text-align: center; font-size: 0.75rem; line-height: 1.6; color: #64748b; }

.vx-points {
    max-width: 68rem;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 1rem;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    align-content: start;
}
.vx-point { background: #fff; border: 1px solid rgba(15, 23, 42, 0.08); border-radius: 1rem; padding: 1.5rem; }
.vx-point h2 { margin: 0 0 0.5rem; font-size: 1.1rem; font-weight: 700; line-height: 1.3; color: #0f172a; }
.vx-point p { margin: 0; line-height: 1.65; color: #475569; }

.vx-ask { padding: 2.5rem 1.5rem 0.5rem; }
.vx-ask h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: #0f172a; margin: 0 0 0.5rem; }

.vx-close {
    margin-top: 2.5rem;
    padding: 4rem 1.5rem;
    text-align: center;
    background:
        radial-gradient(ellipse 80% 80% at 80% 20%, rgba(250, 232, 255, 0.45) 0%, transparent 50%),
        radial-gradient(ellipse 60% 60% at 20% 80%, rgba(224, 231, 255, 0.45) 0%, transparent 50%),
        #ffffff;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
}
.vx-close h2 { margin: 0 0 0.75rem; font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; color: #0f172a; }
.vx-close p { margin: 0 auto 1.75rem; max-width: 36rem; color: #475569; line-height: 1.6; }

@media (max-width: 640px) {
    .vx-hero { padding: 7rem 1rem 3rem; }
    .vx-compare, .vx-points, .vx-ask, .vx-close { padding-left: 1rem; padding-right: 1rem; }
}
