.ln-contact-modal[hidden] { display: none !important; }
.ln-contact-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 24px;
    font-family: "DM Sans", Arial, sans-serif;
    color: #f5f8f9;
}
.ln-contact-modal,
.ln-contact-modal * { box-sizing: border-box; }
.ln-contact-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 7, 12, .84);
    backdrop-filter: blur(7px);
}
.ln-contact-modal__dialog {
    position: relative;
    width: min(720px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 38px;
    border: 1px solid rgba(89, 201, 232, .42);
    border-radius: 18px;
    background: linear-gradient(145deg, #101c26, #09131b 72%);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .58);
}
.ln-contact-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(168, 183, 192, .34);
    border-radius: 50%;
    background: #13212b;
    color: #f5f8f9;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}
.ln-contact-modal__close:hover,
.ln-contact-modal__close:focus-visible { border-color: #59c9e8; color: #59c9e8; }
.ln-contact-modal__eyebrow {
    display: block;
    margin: 0 58px 10px 0;
    color: #59c9e8;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.ln-contact-modal h2 {
    margin: 0 58px 10px 0;
    color: #f5f8f9;
    font: 600 clamp(1.8rem, 4vw, 2.5rem)/1.08 "Space Grotesk", "DM Sans", Arial, sans-serif;
}
.ln-contact-modal__intro { margin: 0 0 26px; color: #a8b7c0; }
.ln-contact-modal form,
.ln-contact-modal label { display: grid; gap: 8px; }
.ln-contact-modal form { gap: 18px; }
.ln-contact-modal label { color: #dbe5e9; font-size: .86rem; font-weight: 700; }
.ln-contact-modal label > span { color: #59c9e8; }
.ln-contact-modal__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ln-contact-modal__grid > label { min-width: 0; }
.ln-contact-modal input,
.ln-contact-modal select,
.ln-contact-modal textarea {
    width: 100%;
    border: 1px solid rgba(168, 183, 192, .28);
    border-radius: 9px;
    background: #0a151d;
    color: #f5f8f9;
    font: inherit;
    font-weight: 500;
    outline: none;
}
.ln-contact-modal input,
.ln-contact-modal select { min-height: 48px; padding: 0 13px; }
.ln-contact-modal textarea { min-height: 132px; padding: 13px; resize: vertical; }
.ln-contact-modal input:focus,
.ln-contact-modal select:focus,
.ln-contact-modal textarea:focus { border-color: #59c9e8; box-shadow: 0 0 0 3px rgba(89, 201, 232, .13); }
.ln-contact-modal__submit {
    justify-self: start;
    min-height: 50px;
    padding: 0 21px;
    border: 0;
    border-radius: 7px;
    background: linear-gradient(110deg, #00a99d, #23bfe7);
    color: #041019;
    font: 800 .9rem "DM Sans", Arial, sans-serif;
    cursor: pointer;
}
.ln-contact-modal__submit:hover { filter: brightness(1.08); }
.ln-contact-modal__submit:disabled { cursor: wait; opacity: .65; }
.ln-contact-modal__message { min-height: 1.4em; margin: 0; color: #a8b7c0; }
.ln-contact-modal__message.is-error { color: #ffaaaa; }
.ln-contact-modal__message.is-success { color: #8de0b3; }
.ln-contact-modal__honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
body.ln-contact-modal-open { overflow: hidden; }
@media (max-width: 640px) {
    .ln-contact-modal { padding: 10px; }
    .ln-contact-modal__dialog { max-height: calc(100vh - 20px); padding: 28px 20px; border-radius: 14px; }
    .ln-contact-modal__grid { grid-template-columns: 1fr; }
    .ln-contact-modal__close { top: 12px; right: 12px; }
}
