@font-face {
    font-family: "Material Symbols Outlined";
    src: url("../activities/stitch/fonts/material-symbols-outlined.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 700;
    font-display: block;
}

@font-face {
    font-family: Inter;
    src: url("../activities/stitch/fonts/inter-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../activities/stitch/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}

.stitch-activity .material-symbols-outlined {
    display: inline-block;
    font-family: "Material Symbols Outlined";
    font-style: normal;
    font-weight: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

.stitch-activity {
    line-height: 1.5;
    color: #181c22;
    background: #f4f6f9;
}

.stitch-activity .stitch-contact[data-stitch-contact] { position: fixed; inset: 0; z-index: 1000; }
.stitch-activity .stitch-contact:not(.is-open) { display: none; }
.stitch-activity .stitch-contact--license { background: rgb(24 28 34 / 40%); }
.stitch-activity .stitch-contact-panel { max-height: 92dvh; overflow-y: auto; }
.stitch-activity .stitch-contact-sheet { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
.stitch-activity button.stitch-contact-close {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 8px;
    color: #4e5969;
}
.stitch-activity button.stitch-contact-close:hover { background: #edf2fa; color: #003da6; }
.stitch-activity .stitch-contact-icon { display: block; width: 20px; height: 20px; flex: 0 0 auto; }
.stitch-activity .stitch-contact-icon--submit { fill: currentColor; stroke: none; }
.stitch-activity button[data-activity-choice][aria-pressed="true"] {
    color: #fff;
    background-color: #003da6;
    border-color: #003da6;
    font-weight: 600;
}
.stitch-activity--mobile button[data-activity-choice][aria-pressed="true"] {
    color: #003da6;
    background-color: #e7effd;
    border-color: #a9c5ee;
}
.stitch-activity input:is([type="radio"], [type="checkbox"]) { accent-color: #003da6; }
html:has(.stitch-activity--mobile) { scrollbar-gutter: auto; scrollbar-width: none; }
.stitch-activity--mobile .stitch-board-content { overflow: clip; }
.stitch-activity [id] { scroll-margin-top: 72px; }
.stitch-activity [hidden] { display: none !important; }
.stitch-activity [data-activity-disclosure][aria-expanded="true"] :is(.faq-arrow, .faq-icon, .accordion-arrow, .material-symbols-outlined:last-child) { transform: rotate(180deg); }
.stitch-activity :is(a, button, [role="button"]):focus-visible { outline: 2px solid #0754d6; outline-offset: 3px; }
.stitch-activity [data-lead-message] { font-size: 13px; }
.stitch-activity [data-lead-message]:empty { display: none; }
.stitch-activity [data-lead-message][data-type="error"] { color: #b91c1c; }
.stitch-activity [data-lead-message][data-type="success"] { color: #007753; }

.stitch-activity [data-stitch-board] {
    --consult-accent: #bd3824;
    --consult-hover: #c7462c;
    --consult-pressed: #a52e1b;
    --consult-shadow: 0 4px 14px rgb(189 56 36 / 32%);
}

.stitch-activity [data-stitch-board] :is(.activity-primary-consult, .activity-quick__submit) {
    min-height: 48px;
    background: var(--consult-accent);
    color: #fff;
    font-weight: 700;
    box-shadow: var(--consult-shadow);
    cursor: pointer;
    transition: background-color 250ms cubic-bezier(.16, 1, .3, 1), box-shadow 250ms cubic-bezier(.16, 1, .3, 1);
}

.stitch-activity [data-stitch-board] .activity-primary-consult {
    border-radius: 8px;
    animation: activity-consult-halo 2.2s ease-in-out 4;
}

.stitch-activity [data-stitch-board] .activity-primary-consult .material-symbols-outlined {
    color: inherit;
}

.stitch-activity [data-stitch-board] [data-contact-service]:not(.activity-primary-consult) {
    transition: box-shadow 180ms ease, transform 180ms ease;
}

@media (hover: hover) {
    .stitch-activity [data-stitch-board] :is(.activity-primary-consult, .activity-quick__submit):hover:not(:disabled) {
        background: var(--consult-hover);
        box-shadow: 0 6px 20px rgb(199 70 44 / 42%);
    }

    .stitch-activity [data-stitch-board] [data-contact-service]:not(.activity-primary-consult):hover {
        box-shadow: 0 4px 12px rgb(24 28 34 / 15%);
    }
}

.stitch-activity [data-stitch-board] :is(.activity-primary-consult, .activity-quick__submit):active:not(:disabled) {
    background: var(--consult-pressed);
    animation: none;
}

@media (prefers-reduced-motion: no-preference) {
    .stitch-activity [data-stitch-board] [data-contact-service]:not(.activity-primary-consult):active {
        transform: translateY(1px);
    }
}

.stitch-activity [data-stitch-board] .activity-quick__submit:disabled {
    cursor: wait;
}

@keyframes activity-consult-halo {
    0%, 100% {
        transform: translateY(0);
        box-shadow: var(--consult-shadow), 0 0 0 0 rgb(255 137 104 / 0%);
    }
    36% {
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgb(189 56 36 / 45%), 0 0 0 4px rgb(255 137 104 / 65%);
    }
    70% {
        transform: translateY(0);
        box-shadow: var(--consult-shadow), 0 0 0 10px rgb(255 137 104 / 0%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .stitch-activity [data-stitch-board] :is(.activity-primary-consult, .activity-quick__submit, [data-contact-service]) {
        animation: none;
        transition: none;
        transform: none;
    }
}

/* The two Stitch consultation cards share the form and use separate PC and mobile layouts. */
.stitch-activity .activity-quick {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: 1200px;
    margin: -24px auto 56px;
    padding-inline: 16px;
    color: #111827;
}

.stitch-activity .activity-quick__card {
    padding: 32px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 20px 25px -5px rgb(15 23 42 / 10%), 0 8px 10px -6px rgb(15 23 42 / 10%);
}

.stitch-activity .activity-quick__heading {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.stitch-activity .activity-quick__badge {
    display: grid;
    flex: 0 0 32px;
    height: 32px;
    place-items: center;
    border-radius: 8px;
    background: #fef2f2;
    color: #dc2626;
}

.stitch-activity .activity-quick__badge svg { width: 20px; height: 20px; }
.stitch-activity .activity-quick__heading h2 { margin: 0; font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -.025em; }
.stitch-activity .activity-quick__heading p { margin: 4px 0 0; font-size: 12px; line-height: 16px; color: #6b7280; }
.stitch-activity .activity-quick__indicators { display: flex; align-self: center; gap: 16px; margin-left: auto; }
.stitch-activity .activity-quick__indicators span { display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 4px; white-space: nowrap; font-size: 12px; line-height: 16px; color: #047857; background: #ecfdf5; }
.stitch-activity .activity-quick__indicators span:nth-child(2) { color: #1d4ed8; background: #eff6ff; }
.stitch-activity .activity-quick__indicators span:nth-child(3) { color: #92400e; background: #fffbeb; }
.stitch-activity .activity-quick__indicators svg { width: 14px; height: 14px; }
.stitch-activity .activity-quick form { margin-top: 20px; }
.stitch-activity .activity-quick__topics { min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
.stitch-activity .activity-quick__topics legend { margin-bottom: 8px; padding: 0; font-size: 12px; line-height: 16px; font-weight: 600; color: #374151; }
.stitch-activity .activity-quick__options { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.stitch-activity .activity-quick__options label { position: relative; cursor: pointer; }

.stitch-activity .activity-quick__radio {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.stitch-activity .activity-quick__options label span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 6px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
}

.stitch-activity .activity-quick__radio:checked + span { background: #fef2f2; border-color: #dc2626; color: #b91c1c; font-weight: 600; }
.stitch-activity .activity-quick__radio:focus-visible + span { outline: 2px solid #0754d6; outline-offset: 2px; }
.stitch-activity .activity-quick__fields { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); align-items: center; gap: 12px; padding-top: 4px; }
.stitch-activity .activity-quick__input { position: relative; min-width: 0; }

.stitch-activity .activity-quick__input svg {
    position: absolute;
    top: 50%;
    left: 12px;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.stitch-activity .activity-quick__input input {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 12px 0 36px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    font-size: 14px;
    box-shadow: 0 1px 2px rgb(15 23 42 / 5%);
}

.stitch-activity .activity-quick__input input:focus { border-color: #bd3824; outline: 1px solid #bd3824; }
.stitch-activity .activity-quick__input input::placeholder { color: #6b7280; }
.stitch-activity .activity-quick__submit { display: flex; justify-content: center; align-items: center; gap: 6px; width: 100%; border: 0; border-radius: 8px; font-size: 14px; }
.stitch-activity .activity-quick__submit svg, .stitch-activity .activity-quick__privacy svg { flex: 0 0 auto; width: 16px; height: 16px; }
.stitch-activity .activity-quick__privacy { display: flex; align-items: center; gap: 4px; margin: 16px 0 0; font-size: 11px; line-height: 16px; color: #6b7280; }
.stitch-activity .activity-quick__privacy svg { width: 14px; height: 14px; }

.stitch-activity--mobile .activity-quick { margin: -8px auto 20px; padding-inline: 14px; }
.stitch-activity--mobile .activity-quick__card { padding: 16px; border-color: #dbeafe; border-radius: 16px; background: linear-gradient(#fff, rgb(239 246 255 / 30%), #fff); box-shadow: 0 2px 10px rgb(15 87 220 / 6%); }
.stitch-activity--mobile .activity-quick__heading { align-items: center; gap: 12px; padding-bottom: 10px; }
.stitch-activity--mobile .activity-quick__badge { flex-basis: 40px; height: 40px; border-radius: 12px; background: #2563eb; color: #fff; box-shadow: 0 4px 6px rgb(59 130 246 / 20%); }
.stitch-activity--mobile .activity-quick__heading h2 { font-size: 16px; line-height: 22px; letter-spacing: normal; }
.stitch-activity--mobile .activity-quick__heading p { margin-top: 2px; }
.stitch-activity--mobile .activity-quick form { margin-top: 14px; }
.stitch-activity--mobile .activity-quick__topics { margin-bottom: 14px; }
.stitch-activity--mobile .activity-quick__options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stitch-activity--mobile .activity-quick__options label span { min-height: 36px; padding-inline: 4px; background: #f9fafb; }
.stitch-activity--mobile .activity-quick__radio:checked + span { background: #eff6ff; border-color: #0f57dc; color: #0a3b9a; }
.stitch-activity--mobile .activity-quick__fields { grid-template-columns: 1fr; gap: 14px; padding-top: 0; }
.stitch-activity--mobile .activity-quick__input svg { left: 14px; }
.stitch-activity--mobile .activity-quick__input input { height: 44px; padding-left: 40px; border-color: #e5e7eb; }
.stitch-activity--mobile .activity-quick__input input:focus { border-color: #bd3824; }
.stitch-activity--mobile [data-stitch-board] .activity-quick__submit { min-height: 46px; font-size: 15px; }
.stitch-activity--mobile .activity-quick__privacy { justify-content: center; margin-top: 12px; }
