/*
 * Contact page (contact.php). Shares the release notes' design language:
 * white dotted hero, bordered white cards, Inter, primary #6366f1.
 */

.vsc {
    --vsc-primary: #6366f1;
    --vsc-ink: #111827;
    --vsc-text: #374151;
    --vsc-muted: #6b7280;
    --vsc-line: #e5e7eb;
    --vsc-soft: #f9fafb;
    color: var(--vsc-ink);
    background: #fff;
}
.vsc-wrap { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .vsc-wrap { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .vsc-wrap { padding: 0 2rem; } }

.vsc-h2 { margin: 0; font-size: 1.375rem; font-weight: 700; letter-spacing: -.015em; }
.vsc-h3 { margin: 0 0 .75rem; font-size: 1rem; font-weight: 700; }
.vsc-muted { margin: 0; color: var(--vsc-muted); font-size: .9375rem; line-height: 1.6; }
.vsc-muted a { color: var(--vsc-text); text-decoration: underline; text-underline-offset: 2px; }
.vsc-link { display: inline-flex; align-items: center; gap: .375rem; color: var(--vsc-primary); font-size: .9375rem; font-weight: 600; text-decoration: none; }
.vsc-link svg { width: 16px; height: 16px; transition: transform .15s; }
.vsc-link:hover svg { transform: translateX(3px); }
.vsc-kicker { margin: 0 0 .75rem; color: var(--vsc-primary); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Hero ---------- */

.vsc-hero {
    position: relative;
    padding: 8.5rem 0 3rem;
    background-color: #fff;
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 22px 22px;
}
.vsc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 85%); pointer-events: none; }
.vsc-hero .vsc-wrap { position: relative; z-index: 1; }
.vsc-eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.25rem; padding: .375rem .875rem; border: 1px solid var(--vsc-line); border-radius: 999px; background: #fff; color: var(--vsc-text); font-size: .8125rem; font-weight: 500; }
.vsc-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #10b981; }
.vsc-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: rgba(16, 185, 129, .25); animation: vsc-pulse 2.4s ease-out infinite; }
@keyframes vsc-pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.vsc-hero__title { max-width: 40rem; margin: 0 0 1rem; font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.vsc-hero__lead { max-width: 38rem; margin: 0; color: #4b5563; font-size: 1.125rem; line-height: 1.7; }

/* ---------- Form and contact options ---------- */

.vsc-main { padding: 0 0 5rem; }
.vsc-main__grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .vsc-main__grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 2rem; } }

.vsc-card { padding: 1.5rem; border: 1px solid var(--vsc-line); border-radius: 1.25rem; background: #fff; }
.vsc-card--soft { background: var(--vsc-soft); }
.vsc-card--soft .vsc-channels__icon { margin-bottom: 1rem; }
.vsc-card--soft .vsc-muted { margin-bottom: 1rem; }
.vsc-form-card { padding: 1.75rem; box-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 24px 48px -32px rgba(49, 46, 129, .3); scroll-margin-top: 6rem; }
@media (min-width: 640px) { .vsc-form-card { padding: 2.25rem; } }
.vsc-side { display: flex; flex-direction: column; gap: 1.5rem; }

.vsc-label { display: block; margin-bottom: .5rem; color: var(--vsc-ink); font-size: .875rem; font-weight: 600; }
.vsc-label em { color: var(--vsc-muted); font-style: normal; font-weight: 400; }

.vsc-trust { display: flex; flex-wrap: wrap; gap: .625rem 1.5rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.vsc-trust li { display: inline-flex; align-items: center; gap: .5rem; color: var(--vsc-text); font-size: .875rem; font-weight: 500; }
.vsc-trust svg { width: 18px; height: 18px; color: #10b981; }

.vsc-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.vsc-step + .vsc-step, .vsc-callout + .vsc-step { margin-top: 2rem; }
.vsc-step__title { display: flex; align-items: center; gap: .625rem; margin: 0 0 1rem; padding: 0; color: var(--vsc-ink); font-size: 1rem; font-weight: 700; }
.vsc-step__n { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 50%; background: var(--vsc-ink); color: #fff; font-size: .75rem; font-weight: 700; }

.vsc-intents { display: grid; gap: .75rem; }
@media (min-width: 560px) { .vsc-intents { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vsc-intent { position: relative; display: block; cursor: pointer; }
.vsc-intent input { position: absolute; opacity: 0; pointer-events: none; }
.vsc-intent__box { display: grid; grid-template-columns: auto 1fr; gap: .125rem .875rem; height: 100%; padding: 1rem; border: 1px solid var(--vsc-line); border-radius: 1rem; background: #fff; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.vsc-intent__icon { grid-row: span 2; display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: .75rem; background: var(--vsc-soft); color: var(--vsc-muted); transition: background-color .15s, color .15s; }
.vsc-intent__icon svg { width: 20px; height: 20px; }
.vsc-intent strong { align-self: end; color: var(--vsc-ink); font-size: .9375rem; }
.vsc-intent__box > span:last-child { color: var(--vsc-muted); font-size: .8125rem; line-height: 1.45; }
.vsc-intent:hover .vsc-intent__box { border-color: #c7d2fe; }
.vsc-intent input:checked + .vsc-intent__box { border-color: var(--vsc-primary); background: #fafaff; box-shadow: 0 0 0 1px var(--vsc-primary), 0 8px 20px -12px rgba(99, 102, 241, .5); }
.vsc-intent input:checked + .vsc-intent__box .vsc-intent__icon { background: var(--vsc-primary); color: #fff; }
.vsc-intent input:focus-visible + .vsc-intent__box { box-shadow: 0 0 0 3px rgba(99, 102, 241, .3); }

.vsc-callout { display: flex; flex-wrap: wrap; align-items: center; gap: .875rem 1rem; margin-top: 1rem; padding: 1rem 1.125rem; border: 1px solid #e0e7ff; border-radius: 1rem; background: #f5f7ff; }
.vsc-callout[hidden] { display: none; }
.vsc-callout__icon { display: inline-flex; flex: none; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: .625rem; background: #fff; color: var(--vsc-primary); }
.vsc-callout__icon svg { width: 18px; height: 18px; }
.vsc-callout > div { display: flex; flex: 1 1 14rem; flex-direction: column; }
.vsc-callout strong { color: var(--vsc-ink); font-size: .9375rem; }
.vsc-callout div span { color: var(--vsc-muted); font-size: .8125rem; }

.vsc-sizes { display: flex; flex-wrap: wrap; gap: .5rem; }
.vsc-sizes label { position: relative; cursor: pointer; }
.vsc-sizes input { position: absolute; opacity: 0; pointer-events: none; }
.vsc-sizes span { display: inline-flex; min-width: 4.5rem; justify-content: center; padding: .5rem .875rem; border: 1px solid var(--vsc-line); border-radius: .75rem; background: #fff; color: var(--vsc-text); font-size: .875rem; font-weight: 500; font-variant-numeric: tabular-nums; transition: border-color .15s, background-color .15s, color .15s; }
.vsc-sizes label:hover span { border-color: #c7d2fe; }
.vsc-sizes input:checked + span { border-color: var(--vsc-primary); background: #eef2ff; color: #4338ca; font-weight: 600; }
.vsc-sizes input:focus-visible + span { box-shadow: 0 0 0 3px rgba(99, 102, 241, .25); }
[data-for][hidden] { display: none !important; }

.vsc-fields { display: grid; gap: 1.125rem; }
@media (min-width: 640px) { .vsc-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vsc-field--wide { grid-column: 1 / -1; } }
.vsc-field input, .vsc-field textarea {
    display: block;
    width: 100%;
    padding: .6875rem .875rem;
    border: 1px solid #d1d5db;
    border-radius: .75rem;
    background: #fff;
    color: var(--vsc-ink);
    font: inherit;
    font-size: .9375rem;
    line-height: 1.5;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.vsc-field textarea { min-height: 8.5rem; resize: vertical; }
.vsc-field input::placeholder, .vsc-field textarea::placeholder { color: #9ca3af; }
.vsc-field input:focus, .vsc-field textarea:focus { border-color: var(--vsc-primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, .15); }
.vsc-field.is-invalid input, .vsc-field.is-invalid textarea { border-color: #ef4444; }
.vsc-field.is-invalid input:focus, .vsc-field.is-invalid textarea:focus { box-shadow: 0 0 0 3px rgba(239, 68, 68, .15); }
.vsc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.vsc-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--vsc-line); }
.vsc-form__foot .vsc-muted { font-size: .8125rem; }
.vsc-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-width: 10rem; padding: .75rem 1.5rem; border: 0; border-radius: .75rem; background: var(--vsc-primary); color: #fff; font: inherit; font-size: .9375rem; font-weight: 600; cursor: pointer; transition: background-color .15s, box-shadow .15s; }
.vsc-btn:hover { background: #4f46e5; box-shadow: 0 10px 24px -10px rgba(99, 102, 241, .7); }
.vsc-btn:focus-visible { outline: 3px solid rgba(99, 102, 241, .35); outline-offset: 2px; }
@media (max-width: 639px) { .vsc-btn { width: 100%; } }
.vsc-btn[disabled] { opacity: .7; cursor: progress; }
.vsc-btn .vsc-spinner { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: vsc-spin .8s linear infinite; }
@keyframes vsc-spin { to { transform: rotate(360deg); } }
.vsc-btn--ghost { min-width: 0; padding: .5625rem 1rem; border: 1px solid #c7d2fe; background: #fff; color: #4338ca; font-size: .875rem; text-decoration: none; }
.vsc-btn--ghost:hover { border-color: var(--vsc-primary); background: #eef2ff; box-shadow: none; }
.vsc-spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(99, 102, 241, .25); border-top-color: var(--vsc-primary); border-radius: 50%; animation: vsc-spin .8s linear infinite; }
.vsc-form__error { margin: 1rem 0 0; padding: .75rem 1rem; border-radius: .75rem; background: #fef2f2; color: #b91c1c; font-size: .875rem; }

.vsc-sent { padding: 1rem 0; outline: none; }
.vsc-sent__icon { display: inline-flex; width: 48px; height: 48px; margin-bottom: 1.25rem; align-items: center; justify-content: center; border-radius: 50%; background: #d1fae5; color: #047857; }
.vsc-sent__icon svg { width: 24px; height: 24px; }
.vsc-sent p { margin: .75rem 0 1.25rem; color: #4b5563; font-size: 1rem; line-height: 1.65; }

.vsc-sent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }

.vsc-next ol { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.vsc-next li { position: relative; display: flex; flex-direction: column; gap: .125rem; padding: 0 0 1.125rem 2.5rem; counter-increment: step; }
.vsc-next li:last-child { padding-bottom: 0; }
.vsc-next li::before { content: counter(step); position: absolute; top: 0; left: 0; display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border: 1px solid #c7d2fe; border-radius: 50%; background: #eef2ff; color: #4338ca; font-size: .75rem; font-weight: 700; }
.vsc-next li:not(:last-child)::after { content: ""; position: absolute; top: 30px; bottom: 4px; left: 12.5px; width: 1px; background: #e0e7ff; }
.vsc-next strong { color: var(--vsc-ink); font-size: .9375rem; }
.vsc-next span { color: var(--vsc-muted); font-size: .875rem; line-height: 1.5; }

.vsc-channels { margin: 0; padding: 0; list-style: none; }
.vsc-channels li + li { border-top: 1px solid #f3f4f6; }
.vsc-channels a { display: flex; align-items: center; gap: .875rem; padding: .875rem 0; color: inherit; text-decoration: none; }
.vsc-channels li:first-child a { padding-top: .25rem; }
.vsc-channels li:last-child a { padding-bottom: 0; }
.vsc-channels__icon { display: inline-flex; flex: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: .75rem; background: #eef2ff; color: var(--vsc-primary); }
.vsc-channels__icon svg { width: 20px; height: 20px; }
.vsc-channels__text { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.vsc-channels__label { color: var(--vsc-muted); font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.vsc-channels__value { overflow: hidden; color: var(--vsc-ink); font-size: .9375rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.vsc-channels__arrow { color: #d1d5db; transition: color .15s, transform .15s; }
.vsc-channels__arrow svg { width: 18px; height: 18px; }
.vsc-channels a:hover .vsc-channels__value { color: var(--vsc-primary); }
.vsc-channels a:hover .vsc-channels__arrow { color: var(--vsc-primary); transform: translateX(3px); }

.vsc-office { display: flex; gap: .875rem; }
.vsc-office .vsc-h3 { margin-bottom: .25rem; }
.vsc-office address { color: var(--vsc-muted); font-size: .9375rem; font-style: normal; line-height: 1.6; }
.vsc-social { display: flex; gap: .5rem; margin: 1.25rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid #f3f4f6; list-style: none; }
.vsc-social a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--vsc-line); border-radius: 50%; color: var(--vsc-muted); transition: color .15s, border-color .15s; }
.vsc-social a:hover { border-color: var(--vsc-primary); color: var(--vsc-primary); }
.vsc-social svg { width: 16px; height: 16px; }

/* ---------- FAQ ---------- */

.vsc-faq { padding: 5rem 0; border-top: 1px solid var(--vsc-line); background: var(--vsc-soft); scroll-margin-top: 4rem; }
.vsc-faq__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
    .vsc-faq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 4rem; }
    .vsc-faq__intro { position: sticky; top: 6.5rem; align-self: start; }
}
.vsc-faq__title { margin: 0 0 1rem; font-size: clamp(1.75rem, 3.5vw, 2.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; }
.vsc-faq__intro .vsc-muted { margin-bottom: 1.5rem; }
.vsc-faq__list { border: 1px solid var(--vsc-line); border-radius: 1.25rem; background: #fff; }
.vsc-faq__item + .vsc-faq__item { border-top: 1px solid var(--vsc-line); }
.vsc-faq__item summary {
    position: relative;
    padding: 1.25rem 3.5rem 1.25rem 1.5rem;
    color: var(--vsc-ink);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    list-style: none;
    cursor: pointer;
}
.vsc-faq__item summary::-webkit-details-marker { display: none; }
.vsc-faq__item summary::before, .vsc-faq__item summary::after { content: ""; position: absolute; top: 50%; right: 1.5rem; width: 12px; height: 2px; border-radius: 1px; background: var(--vsc-muted); transition: transform .2s, background-color .2s; }
.vsc-faq__item summary::after { transform: rotate(90deg); }
.vsc-faq__item[open] summary::after { transform: rotate(0deg); }
.vsc-faq__item[open] summary::before, .vsc-faq__item[open] summary::after { background: var(--vsc-primary); }
.vsc-faq__item summary:hover { color: var(--vsc-primary); }
.vsc-faq__item summary:focus-visible { outline: 2px solid rgba(99, 102, 241, .4); outline-offset: -2px; border-radius: 1rem; }
.vsc-faq__answer { padding: 0 1.5rem 1.375rem; color: #4b5563; font-size: .9375rem; line-height: 1.7; }
.vsc-faq__answer p { margin: 0 0 .75rem; }
.vsc-faq__answer p:last-child { margin-bottom: 0; }
.vsc-faq__answer ul { display: grid; gap: .375rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .vsc-faq__answer ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vsc-faq__answer li { position: relative; padding-left: 1.5rem; }
.vsc-faq__answer li::before { content: ""; position: absolute; top: .45em; left: .125rem; width: 10px; height: 6px; border-bottom: 2px solid var(--vsc-primary); border-left: 2px solid var(--vsc-primary); transform: rotate(-45deg); }

/* ---------- Calendly modal ---------- */

.vsc-modal { width: min(64rem, calc(100vw - 2rem)); height: min(47rem, calc(100vh - 2rem)); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: 1.25rem; background: #fff; box-shadow: 0 40px 80px -20px rgba(17, 24, 39, .45); overflow: hidden; }
.vsc-modal[open] { display: flex; flex-direction: column; animation: vsc-pop .2s ease-out; }
.vsc-modal::backdrop { background: rgba(17, 24, 39, .55); backdrop-filter: blur(3px); }
@keyframes vsc-pop { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }
.vsc-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--vsc-line); }
.vsc-modal__title { margin: 0 0 .125rem; color: var(--vsc-ink); font-size: 1.125rem; font-weight: 700; }
.vsc-modal__head .vsc-muted { font-size: .875rem; }
.vsc-modal__close { display: inline-flex; flex: none; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--vsc-line); border-radius: 50%; background: #fff; color: var(--vsc-muted); cursor: pointer; transition: color .15s, border-color .15s; }
.vsc-modal__close:hover { border-color: var(--vsc-ink); color: var(--vsc-ink); }
.vsc-modal__close svg { width: 18px; height: 18px; }
.vsc-modal__body { position: relative; flex: 1; min-height: 0; }
.vsc-modal__body .vsc-calendly, .vsc-modal__body iframe { width: 100%; height: 100%; min-width: 0; }
.vsc-modal__loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .625rem; color: var(--vsc-muted); font-size: .9375rem; }
.vsc-modal.is-loaded .vsc-modal__loading { display: none; }

@media (prefers-reduced-motion: reduce) {
    .vsc-modal[open] { animation: none; }
    .vsc-live::after, .vsc-btn .vsc-spinner { animation: none; }
}
.vsc-spinner--light { border-color: rgba(255, 255, 255, .45); border-top-color: #fff; }
