/* A direct route from the plan selection to a conversation about capacity. */
.mtbx-custom-plan {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, .55fr);
    align-items: center;
    gap: clamp(28px, 5vw, 68px);
    margin-top: 24px;
    padding: clamp(28px, 3.6vw, 44px);
    border: 1px solid #343238;
    border-radius: 22px;
    background: radial-gradient(ellipse at 0 0, rgba(253, 51, 1, .07), transparent 55%), #121214;
    color: #f5f4f1;
}

.mtbx-custom-plan__copy { min-width: 0; }
.mtbx-plan-app-note { margin: 22px 0 0; color: #aaa6af; font-size: 13px; line-height: 1.6; }
.mtbx-custom-plan__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #c4c0c7;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.mtbx-custom-plan__eyebrow::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fd3301;
}
.mtbx-custom-plan h3 {
    margin: 16px 0 12px;
    color: #f5f4f1;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 550;
    letter-spacing: -.045em;
    line-height: 1.1;
}
.mtbx-custom-plan__copy > p {
    max-width: 400px;
    margin: 0;
    color: #aaa6af;
    font-size: 14px;
    line-height: 1.6;
}
.mtbx-custom-plan__action {
    min-width: 0;
    display: grid;
    justify-items: stretch;
    padding-left: clamp(28px, 4vw, 52px);
    border-left: 1px solid #343238;
}
.mtbx-custom-plan__price {
    margin-bottom: 18px;
    color: #f5f4f1;
    font-size: 25px;
    font-weight: 550;
    letter-spacing: -.035em;
}
.mtblack .button.mtbx-contact-cta,
.mtb-contact__actions .button,
.mtblack-business-page .mtb-contact .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 14px 22px;
    border: 1px solid #fd3301;
    border-radius: 999px;
    background: #fd3301;
    color: #fff;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.mtblack .button.mtbx-contact-cta:is(:hover, :focus-visible, :active),
.mtb-contact__actions .button:is(:hover, :focus-visible, :active),
.mtblack-business-page .mtb-contact .button:is(:hover, :focus-visible, :active) {
    border-color: #e72e00;
    background: #e72e00;
    color: #fff;
}
.mtblack .button.mtbx-contact-cta .mtb-svg,
.mtb-contact__actions .button .mtb-svg,
.mtblack-business-page .mtb-contact .button .mtb-svg { flex: 0 0 auto; color: #fff; }
.mtbx-custom-plan__email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 44px;
    margin-top: 4px;
    color: #b7b2bd;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    overflow-wrap: anywhere;
    text-underline-offset: 4px;
}
.mtbx-custom-plan__email:hover { color: #fff; }

/* Preserve the native closed state; only an opened dialog is displayed. */
dialog.mtb-contact {
    box-sizing: border-box;
    width: min(calc(100% - 32px), 560px);
    max-width: none;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 28px;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid #3b383e;
    border-radius: 24px;
    background: #121214;
    color: #f5f4f1;
    color-scheme: dark;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .5);
    font-family: InterVariable, Inter, Arial, sans-serif;
    text-align: left;
}
dialog.mtb-contact[open] { display: block; }
dialog.mtb-contact::backdrop { background: rgba(0, 0, 0, .78); }
.mtb-contact [hidden] { display: none !important; }
body.mtb-contact-open { overflow: hidden; }
.mtb-contact__close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #343238;
    border-radius: 50%;
    background: #1c1b1f;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.mtb-contact__close:hover { background: #2b292f; color: #fff; }
.mtb-contact__close .mtb-svg { width: 18px; height: 18px; }
.mtb-contact__eyebrow {
    display: block;
    padding-right: 44px;
    margin-bottom: 14px;
    color: #ff8c6d;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .1em;
    line-height: 1.5;
    text-transform: uppercase;
}
.mtb-contact__title {
    padding-right: 32px;
    margin: 0;
    color: #f5f4f1;
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 550;
    letter-spacing: -.045em;
    line-height: 1.1;
}
.mtb-contact__intro {
    margin: 16px 0 24px;
    color: #aaa6af;
    font-size: 14px;
    line-height: 1.6;
}
.mtb-contact__form { display: grid; gap: 18px; }
.mtb-contact__fields { display: grid; gap: 18px; min-width: 0; margin: 0; padding: 0; border: 0; }
.mtb-contact__route { padding: 20px; border: 1px solid #3b383e; border-radius: 14px; background: #1b1a1e; }
.mtb-contact__route p { margin: 0 0 18px; color: #c6c0ce; font-size: 14px; line-height: 1.6; }
.mtblack .mtb-contact__route .button { width: 100%; min-height: 48px; background: #fd3301; border-color: #fd3301; color: #fff; white-space: normal; }
.mtb-contact__billing-note { margin: 0; color: #aaa6af; font-size: 12px; line-height: 1.6; }
.mtb-contact__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mtb-contact__field { display: grid; align-content: start; gap: 8px; min-width: 0; }
.mtb-contact__field > span,
.mtb-contact__field > label { color: #e8e5eb; font-size: 13px; font-weight: 550; line-height: 1.5; }
.mtb-contact__field small { color: #aaa6af; font-size: 12px; font-weight: 400; }
.mtb-contact__field :is(input, textarea, select) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #444047;
    border-radius: 10px;
    background: #1b1a1e;
    color: #f5f4f1;
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
}
.mtb-contact__field textarea { min-height: 104px; resize: vertical; }
.mtb-contact__field :is(input, textarea)::placeholder { color: #8f8995; opacity: 1; }
.mtb-contact__field :is(input, textarea, select):focus-visible { border-color: #fd3301; outline: 2px solid #fd3301; outline-offset: 2px; }
.mtb-contact__actions { display: grid; gap: 8px; margin-top: 2px; }
.mtb-contact__actions .button { width: 100%; min-height: 52px; }
.mtb-contact__actions .button:disabled { opacity: .65; cursor: wait; }
.mtb-contact__email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    color: #c6c0ce;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    overflow-wrap: anywhere;
    text-underline-offset: 4px;
}
.mtb-contact__email:hover { color: #fff; }
.mtb-contact__status {
    margin: 18px 0 0;
    color: #ffc8b9;
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.mtb-contact__status:empty { display: none; }
.mtb-contact__status:not(:empty) { padding: 14px 16px; border: 1px solid #594139; border-radius: 10px; background: #261c19; }
.mtb-contact__success,
.mtb-contact__status.mtb-contact__success { color: #b7e3c8; border-color: #305442; background: #16261e; }
.mtb-contact :is(button, a):focus-visible,
.mtbx-custom-plan a:focus-visible,
.mtbx-faq__contact:focus-visible,
.mtb-footer-contact:focus-visible { outline: 2px solid #ff8c6d; outline-offset: 4px; }
.mtbx-faq__contact { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; margin-top: 26px; color: #625e67; font-size: 14px; line-height: 1.6; font-weight: 600; overflow-wrap: anywhere; text-underline-offset: 4px; }
.mtbx-faq__actions { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0 0 22px; }
.mtbx-faq__actions a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #29252c; font-size: 13px; font-weight: 600; }
.mtbx-faq__actions .mtb-svg { width: 16px; height: 16px; }
.mtblack-business-page .mtbx-faq__grid { display: block; }
.mtbx-faq .mtbx-faq__grid > header { margin-bottom: 42px; }
.mtbx-faq .mtbx-faq__grid > header h2 { max-width: none; }
.mtbx-faq .mtbx-faq__contact { margin-top: 16px; }
.mtbx-faq__columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); }
.mtbx-faq__column { min-width: 0; }
@media (max-width: 760px) {
    .mtbx-faq__columns { grid-template-columns: 1fr; gap: 0; }
    .mtbx-faq .mtbx-faq__grid > header { margin-bottom: 28px; }
}
.mtb-footer-contact { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }

@media (max-width: 760px) {
    .mtbx-custom-plan { grid-template-columns: 1fr; gap: 26px; padding: 28px; }
    .mtbx-custom-plan__action { padding: 24px 0 0; border-top: 1px solid #343238; border-left: 0; }
    .mtbx-custom-plan__price { font-size: 24px; }
}
@media (max-width: 540px) {
    dialog.mtb-contact { padding: 26px 20px 20px; border-radius: 20px; }
    .mtb-contact__row { grid-template-columns: 1fr; gap: 18px; }
    .mtb-contact__close { top: 12px; right: 12px; }
    .mtb-contact__title { padding-right: 28px; }
    .mtbx-custom-plan { padding: 26px 22px; }
}
