.contact-page-v2 {
    --cpv2-paper: oklch(0.985 0.005 250);
}

.contact-page-v2 .cpv2-hero {
    background: var(--cpv2-paper);
    padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 8vw, 92px);
    border-bottom: 1px solid var(--line);
}

.contact-page-v2 .cpv2-hero__inner {
    max-width: 880px;
}

.contact-page-v2 .cpv2-hero .lv2-eyebrow {
    color: var(--ink-2);
}

.contact-page-v2 .cpv2-hero__title {
    margin: 0 0 var(--s-5);
    font-weight: 700;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.04;
    letter-spacing: -0.025em;
    color: var(--ink);
}

.contact-page-v2 .cpv2-hero__lede {
    margin: 0 0 var(--s-6);
    max-width: 62ch;
    color: var(--ink-2);
    font-size: clamp(16px, 1.3vw, 18px);
    line-height: 1.6;
}

.contact-page-v2 .cpv2-hero__highlights {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.contact-page-v2 .cpv2-hero__highlights li {
    position: relative;
    padding-left: 22px;
    color: var(--ink-2);
}

.contact-page-v2 .cpv2-hero__highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--indigo);
    box-shadow: 0 0 0 4px oklch(0.50 0.16 268 / 0.18);
}

.contact-page-v2 .cpv2-contact__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: oklch(1 0 0 / 0.9);
    font-size: 13px;
}

.contact-page-v2 .cpv2-contact__meta span {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: oklch(1 0 0 / 0.14);
    border: 1px solid oklch(1 0 0 / 0.28);
}

@media (max-width: 980px) {
    .contact-page-v2 .cpv2-hero {
        padding-top: clamp(56px, 14vw, 84px);
    }
}

.contact-page-v2 .cpv2-formcard {
    position: relative;
}

.contact-page-v2 .cpv2-form__alert {
    display: none;
    margin-bottom: var(--s-4);
    padding: 11px 13px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.45;
    border: 1px solid transparent;
}

.contact-page-v2 .cpv2-form__alert.is-visible {
    display: block;
}

.contact-page-v2 .cpv2-form__alert.is-error {
    background: oklch(0.95 0.03 25);
    color: oklch(0.39 0.10 25);
    border-color: oklch(0.86 0.05 25);
}

.contact-page-v2 .cpv2-form__alert.is-success {
    background: oklch(0.96 0.03 155);
    color: oklch(0.38 0.07 155);
    border-color: oklch(0.87 0.05 155);
}

.contact-page-v2 .lv2-form.is-submitting {
    opacity: 0.52;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.contact-page-v2 .lv2-form p.has-error label {
    color: oklch(0.39 0.10 25);
}

.contact-page-v2 .lv2-form p.has-error input,
.contact-page-v2 .lv2-form p.has-error select,
.contact-page-v2 .lv2-form p.has-error textarea {
    border-color: oklch(0.70 0.12 25);
    box-shadow: 0 0 0 3px oklch(0.70 0.12 25 / 0.2);
}

.contact-page-v2 .cpv2-form-success {
    display: none;
    text-align: center;
    padding: clamp(12px, 2vw, 20px) 0;
}

.contact-page-v2 .cpv2-formcard.is-success .lv2-formcard__title,
.contact-page-v2 .cpv2-formcard.is-success .cpv2-form__alert,
.contact-page-v2 .cpv2-formcard.is-success .lv2-form {
    display: none;
}

.contact-page-v2 .cpv2-formcard.is-success .cpv2-form-success {
    display: block;
    animation: contact-success-reveal 460ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.contact-page-v2 .cpv2-form-success h4 {
    margin: 18px 0 10px;
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -0.018em;
    color: var(--ink);
}

.contact-page-v2 .cpv2-form-success p {
    margin: 0 auto;
    max-width: 38ch;
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.55;
}

.contact-page-v2 .cpv2-form-success__check {
    width: 68px;
    height: 68px;
    margin: 0 auto;
    color: oklch(0.56 0.12 155);
}

.contact-page-v2 .cpv2-form-success__check svg {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-page-v2 .cpv2-form-success__circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: contact-check-circle 700ms ease-out forwards;
}

.contact-page-v2 .cpv2-form-success__checkmark {
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 34;
    stroke-dashoffset: 34;
    animation: contact-check-mark 360ms ease-out 380ms forwards;
}

@keyframes contact-success-reveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes contact-check-circle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes contact-check-mark {
    to {
        stroke-dashoffset: 0;
    }
}
