/*
  Figma redesign for the compare pages: /vercel-alternative/ (vercel-alternative.css)
  and the compare_vs layout (/compare/*, compare-vs.css). Both share the .vs-* markup.
  Loaded after the page stylesheet, so it only overrides it:

  - Hero: the /for pages' look - white with the footer's diagonal purple/blue/cream
    bands, no rounded tinted box.
  - Type: Author everywhere, lighter weights (matches header, footer, /for and v2 pages).
  - Colour: one brand purple (#8657f3) instead of the violet-to-blue gradient.
  - Buttons: flat purple, 5px radius.
*/

/* --- Tokens --------------------------------------------------- */
.vs,
.vs-faq {
    --ink: #1e1e1e;
    --violet: #8657f3;
    --violet-dark: #7343e0;
    --grad: #8657f3;
    font-family: 'Author', sans-serif !important;
    font-weight: 375;
}

/* --- Type ----------------------------------------------------- */
.vs h1,
.vs h2,
.vs h3 {
    letter-spacing: 0;
}

.vs-head h2,
.vs-faq h2.faq_desc {
    font-weight: 420;
    line-height: 1.05;
}

.vs h3,
.vs-faq h3 {
    font-weight: 494 !important;
    letter-spacing: 0;
}

.vs-eyebrow {
    font-size: 16px;
    font-weight: 375;
    letter-spacing: 0;
    color: var(--violet);
}

.vs p,
.vs li {
    font-weight: 375;
    color: #1e1e1e;
}

.vs .vs-head p {
    font-size: 20px;
    line-height: 1.3;
    color: #1e1e1e;
}

.vs-link {
    font-weight: 494;
}

.vs b,
.vs strong {
    font-weight: 494;
}

/* --- Buttons -------------------------------------------------- */
.vs-btn {
    min-height: 43px;
    padding: 10px 30px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 494;
    line-height: 22.05px;
    box-shadow: none;
}

.vs-btn--grad,
.vs-btn--grad:hover {
    background: #8657f3;
    box-shadow: none;
    transform: none;
}

.vs-btn--grad:hover {
    background: #7343e0;
}

.vs-btn--ghost {
    border: 1px solid #8657f3;
    color: #8657f3 !important;
}

.vs-btn--ghost:hover {
    background: #8657f30d;
    color: #7343e0 !important;
}

/* --- 1. Hero -------------------------------------------------- */
.vs-hero {
    margin: 0;
    padding: 172px 0 80px; /* clears the fixed site header */
    border-radius: 0;
    overflow: visible;
    background-color: #fff;
    background-image:
        radial-gradient(ellipse 46% 52% at 50% 46%, #fff 0%, rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0) 70%, #fff 100%),
        linear-gradient(
            24deg,
            rgba(210, 190, 255, 0) 41.3%,
            rgba(134, 87, 243, 0.44) 52.2%,
            #bdceff 58.5%,
            rgba(254, 236, 179, 0.25) 65.7%,
            rgba(255, 255, 255, 0) 77%
        ),
        linear-gradient(
            336deg,
            rgba(210, 190, 255, 0) 41.3%,
            rgba(134, 87, 243, 0.44) 52.2%,
            #bdceff 58.5%,
            rgba(254, 236, 179, 0.25) 65.7%,
            rgba(255, 255, 255, 0) 77%
        );
    background-position: center, center, left top, right top;
    background-size: 100% 100%, 100% 100%, 50% 100%, 50% 100%;
    background-repeat: no-repeat;
}

.vs-hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 495;
    line-height: 1;
    color: #1e1e1e;
}

/* Accent words: solid brand purple instead of gradient text */
.vs-hero h1 span {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: #8657f3;
}

.vs .vs-hero-sub {
    font-size: 20px;
    line-height: 1.3;
    color: #1e1e1e;
}

.vs-stars {
    color: #8657f3;
}

.vs-trust-text {
    color: #1e1e1e;
}

.vs-try-label {
    font-size: 16px;
    font-weight: 375;
    letter-spacing: 0;
    color: #8657f3;
}

/* Upload box sits in the hero's right column, not as a full-bleed stage */
.vs-try .upload-lib-stage {
    width: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.vs-try .upload-lib-card {
    padding: 24px 24px;
}

.vs-try .upload-lib-hint {
    display: none;
}

/* --- 2. Logo row (shared brand-logos.html) -------------------- */
.vs-logos .uc2-upload-brands-label {
    margin-top: 0;
}

.vs-try .upload-lib-card {
    border-radius: 13.48px;
}

/* --- Components: bring the 600-800 weights down to the redesign's 494 ---- */
.vs h2,
.vs th,
.vs label,
.vs small,
.vs output,
.vs a,
.vs span[class^="vs-"],
.vs .vs-card-tag,
.vs .vs-setup-label,
.vs .vs-setup-result,
.vs .vs-vs,
.vs .vs-col-name,
.vs .vs-yn,
.vs .vs-checked-date,
.vs .vs-lane-name,
.vs .vs-badge,
.vs .vs-result,
.vs .vs-price-name,
.vs .vs-plan,
.vs .vs-amount,
.vs .vs-save,
.vs .vs-who-name,
.vs .vs-step-num,
.vs .vs-initials {
    font-weight: 494;
    letter-spacing: 0;
}

.vs h2,
.vs .vs-amount {
    font-weight: 420;
}

.vs span:not([class]) {
    font-weight: inherit;
}

.vs .vs-end h2,
.vs .vs-related h2 {
    font-weight: 420;
    letter-spacing: 0;
}

.vs .vs-checked .vs-checked-date {
    font-weight: 494;
}

/* --- Closing banner: solid brand purple, square-ish corners --- */
.vs-end {
    border-radius: 10px;
    background: #8657f3;
    box-shadow: none;
}

.vs .vs-end h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
}

.vs .vs-end p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.vs-end .vs-btn--grad,
.vs-end .vs-btn--grad:hover {
    background: #fff;
    color: #8657f3 !important;
    box-shadow: none;
}

.vs-end .vs-btn--ghost {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff !important;
}

.vs-end .vs-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* --- Related links: same look as the v2 pages' Related Links --- */
.vs .vs-related h2 {
    font-size: 40px;
    line-height: 50px;
    color: #1e1e1e;
}

.vs-related-row {
    gap: 10px;
}

.vs-related-row a {
    height: 42px;
    padding: 10px;
    border: 1px solid #8657f333;
    border-radius: 5px;
    background: #8657f303;
    font-size: 18px;
    font-weight: 494;
    line-height: 100%;
    color: #1e1e1e !important;
}

.vs-related-row a:hover {
    border-color: #8657f333;
    background: #8657f30d;
    color: #1e1e1e !important;
}

/* Nothing under 16px on the compare pages: shared pieces that are smaller elsewhere */
.vs-logos .uc2-upload-brands-label,
.vs-try .tu-recaptcha-terms {
    font-size: 16px;
}
