/* ==========================================================================
   Busi.bio — About & Contact pages
   --------------------------------------------------------------------------
   Scoped styles for the "About us" and "Contact us" pages. The class
   ".vbi-page" is the wrapper, so nothing here can leak into the rest of
   the site.

   The design tokens mirror the landing page (.vbi-landing) so the two
   feel like the same product: one blue accent, one radius, one shadow
   scale, one type ramp.
   ========================================================================== */

.vbi-page {
    --vbi-accent: #206bc4;
    --vbi-accent-dark: #1857a3;
    --vbi-accent-soft: #e8f1fd;
    --vbi-ink: #0f172a;
    --vbi-body: #475569;
    --vbi-muted: #94a3b8;
    --vbi-line: #e8ecf3;
    --vbi-surface: #ffffff;
    --vbi-surface-alt: #f7f9fc;
    --vbi-radius: 18px;
    --vbi-shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 16px rgba(15, 23, 42, .05);
    --vbi-shadow-md: 0 10px 30px rgba(15, 23, 42, .08), 0 2px 8px rgba(15, 23, 42, .04);
    --vbi-shadow-lg: 0 24px 60px rgba(15, 23, 42, .12);

    color: var(--vbi-body);
    background: var(--vbi-surface);
    line-height: 1.7;
    overflow: hidden;
}

.vbi-page h1,
.vbi-page h2,
.vbi-page h3,
.vbi-page h4 {
    color: var(--vbi-ink);
    font-family: inherit;
    line-height: 1.2;
}

.vbi-page p {
    margin: 0;
}

/* --------------------------------- shell --------------------------------- */

.vbi-page__wrap {
    position: relative;
    padding: 64px 0 96px;
}

.vbi-page__wrap::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 460px;
    background:
        radial-gradient(circle at 1px 1px, rgba(32, 107, 196, .14) 1px, transparent 1.6px),
        radial-gradient(circle at 1px 1px, #d6d3e6 1px, transparent 1.6px),
        radial-gradient(900px 380px at 84% -12%, rgba(32, 107, 196, .13), transparent 62%),
        radial-gradient(700px 340px at 6% 4%, rgba(99, 102, 241, .10), transparent 60%),
        linear-gradient(180deg, #fbfdff 0%, #f4f8fd 100%);
    background-size: 22px 22px, 22px 22px, 100% 100%, 100% 100%, 100% 100%;
    z-index: 0;
}

.vbi-page__inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --------------------------------- hero ---------------------------------- */

.vbi-page__hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 68px;
}

.vbi-page__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--vbi-accent-soft);
    color: var(--vbi-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vbi-page__eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.vbi-page__title {
    margin: 18px 0 0;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -.025em;
    color: var(--vbi-ink);
}

.vbi-page__lead {
    margin-top: 18px;
    max-width: 58ch;
    font-size: 17px;
    color: var(--vbi-body);
}

.vbi-page__hero-art {
    display: flex;
    justify-content: center;
}

.vbi-page__hero-art .busi-shot {
    max-width: 460px;
}

.vbi-page__hero-art .busi-illustration {
    height: 300px;
}

/* Buttons placed in the hero. */
.vbi-page__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.vbi-btn--sm {
    width: auto;
    padding: 12px 24px;
    font-size: 14.5px;
}

.vbi-btn--ghost {
    background: transparent;
    color: var(--vbi-accent);
    border: 1px solid var(--vbi-accent);
    box-shadow: none;
}

.vbi-btn--ghost:hover {
    background: var(--vbi-accent-soft);
    color: var(--vbi-accent-dark);
    border-color: var(--vbi-accent-dark);
    box-shadow: none;
}

/* --------------------------------- cards --------------------------------- */

.vbi-page__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* Three quick-contact cards sit right under the hero. */
.vbi-page__grid--contact {
    margin-top: 8px;
}

.vbi-card {
    position: relative;
    padding: 30px 28px;
    border: 1px solid var(--vbi-line);
    border-radius: var(--vbi-radius);
    background: var(--vbi-surface);
    box-shadow: var(--vbi-shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.vbi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vbi-shadow-md);
    border-color: rgba(32, 107, 196, .26);
}

.vbi-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--vbi-accent-soft);
    color: var(--vbi-accent);
    margin-bottom: 18px;
}

.vbi-card__icon svg {
    width: 22px;
    height: 22px;
}

.vbi-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
}

.vbi-card p {
    font-size: 15px;
    color: var(--vbi-body);
}

.vbi-card p + p {
    margin-top: 8px;
}

.vbi-card a {
    color: var(--vbi-accent);
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

.vbi-card a:hover {
    color: var(--vbi-accent-dark);
}

/* --------------------------------- prose --------------------------------- */
/* The body copy of the "About" page: section heading, then paragraphs. */

.vbi-prose {
    max-width: 78ch;
}

.vbi-prose h2 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 18px;
}

.vbi-prose p {
    font-size: 16px;
    color: var(--vbi-body);
    margin: 0 0 14px;
}

.vbi-prose p:last-child {
    margin-bottom: 0;
}

.vbi-page__columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 56px;
    align-items: start;
}

/* -------------------------------- contact -------------------------------- */

.vbi-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

.vbi-contact__form {
    padding: 32px;
    border: 1px solid var(--vbi-line);
    border-radius: 22px;
    background: var(--vbi-surface);
    box-shadow: var(--vbi-shadow-md);
}

.vbi-field {
    margin-bottom: 18px;
}

.vbi-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--vbi-ink);
    margin-bottom: 7px;
}

.vbi-field input,
.vbi-field textarea {
    width: 100%;
    border: 1px solid var(--vbi-line);
    border-radius: 12px;
    background: var(--vbi-surface-alt);
    padding: 12px 14px;
    font: inherit;
    font-size: 15px;
    color: var(--vbi-ink);
    outline: 0;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.vbi-field input::placeholder,
.vbi-field textarea::placeholder {
    color: var(--vbi-muted);
}

.vbi-field input:focus,
.vbi-field textarea:focus {
    border-color: var(--vbi-accent);
    background: var(--vbi-surface);
    box-shadow: 0 0 0 4px rgba(32, 107, 196, .12);
}

.vbi-field textarea {
    min-height: 148px;
    resize: vertical;
}

.vbi-field__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.vbi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 14px 26px;
    border: 0;
    border-radius: 999px;
    background: var(--vbi-accent);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(32, 107, 196, .28);
    transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.vbi-btn:hover {
    background: var(--vbi-accent-dark);
    box-shadow: 0 14px 30px rgba(32, 107, 196, .34);
    transform: translateY(-2px);
}

.vbi-btn svg {
    width: 17px;
    height: 17px;
}

/* Flash messages from the contact form. */
.vbi-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 14.5px;
    font-weight: 600;
    margin-bottom: 22px;
}

.vbi-alert--success {
    background: #dcfce7;
    color: #15803d;
}

.vbi-alert--error {
    background: #fee2e2;
    color: #b91c1c;
}

.vbi-alert svg {
    width: 19px;
    height: 19px;
    flex: none;
    margin-top: 1px;
}

/* Social links inside the contact card. */
.vbi-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.vbi-socials a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--vbi-surface-alt);
    border: 1px solid var(--vbi-line);
    color: var(--vbi-accent);
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.vbi-socials a:hover {
    background: var(--vbi-accent);
    border-color: var(--vbi-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(32, 107, 196, .28);
}

.vbi-socials svg {
    width: 19px;
    height: 19px;
}

/* -------------------------------- responsive ------------------------------ */

@media (min-width: 900px) {
    .vbi-page__hero {
        grid-template-columns: 1.05fr .95fr;
    }

    .vbi-contact {
        grid-template-columns: 1.15fr .85fr;
    }
}

@media (max-width: 640px) {
    .vbi-page__wrap {
        padding: 44px 0 68px;
    }

    .vbi-contact__form {
        padding: 24px 20px;
    }

    .vbi-page__hero-art .busi-illustration {
        height: 220px;
    }

    .vbi-page__hero-art .busi-shot {
        max-width: 100%;
    }
}

/* Respect users who ask for less motion. */
@media (prefers-reduced-motion: reduce) {

    .vbi-card,
    .vbi-btn,
    .vbi-socials a {
        transition: none !important;
        transform: none !important;
    }
}
