:root {
    --ml-blue: #263fae;
    --ml-navy: #1c2c72;
    --ml-deep: #111733;
    --ml-red: #ed1535;
    --ml-ink: #25262b;
    --ml-copy: #626773;
    --ml-soft: #f3f4f7;
    --ml-line: #dfe2e9;
}

html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ml-ink); background: #fff; font-family: "Aeonik Pro Trial", Arial, sans-serif; }
body, body * { box-sizing: border-box; }
body a { color: inherit; text-decoration: none; }
body button, body input { font: inherit; }
.ml-page { overflow: hidden; }
.ml-nowrap { display: inline-block; white-space: nowrap; }
.ml-shell { width: min(1640px, calc(100% - 80px)); margin: 0 auto; }
#main-header.header { width: min(1640px, calc(100% - 80px)); max-width: 1640px; }
#main-header.header.scroll { z-index: 9000 !important; }

.ml-hero {
    position: relative; min-height: 850px; overflow: hidden; color: #fff;
    background: radial-gradient(circle at 73% 20%, rgba(63,83,194,.92), transparent 34%), linear-gradient(132deg,#111733 0%,#1c2d72 57%,#2441ba 100%);
}
.ml-hero::before { content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none; background-image: linear-gradient(90deg,transparent 49.7%,rgba(255,255,255,.13) 50%,transparent 50.3%),linear-gradient(0deg,transparent 49.7%,rgba(255,255,255,.13) 50%,transparent 50.3%); background-size: 110px 110px; mask-image: linear-gradient(to left,#000,transparent 78%); }
.ml-hero__cubes { position: absolute; right: -300px; bottom: -170px; width: 960px; opacity: .43; transform: rotate(-8deg); pointer-events: none; }
.ml-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,.92fr) minmax(470px,.9fr); gap: 72px; align-items: center; min-height: 715px; padding: 58px 0 82px; }
.ml-breadcrumbs { display: flex; gap: 18px; margin-bottom: 54px; color: rgba(255,255,255,.78); font-size: 16px; }
.ml-breadcrumbs a:hover { color: #fff; }
.ml-brandline { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.ml-brandline img { width: 150px; height: 64px; object-fit: contain; padding: 4px 8px; border-radius: 10px; background: #fff; }
.ml-brandline span { max-width: 220px; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.25; }
.ml-hero h1 { max-width: 760px; margin: 0; font-size: clamp(54px,5.35vw,80px); font-weight: 300; line-height: .98; letter-spacing: -.045em; }
.ml-hero h1 em { color: #8fc1ff; font-style: normal; }
.ml-hero__copy > p { max-width: 650px; margin: 28px 0 0; color: rgba(255,255,255,.8); font-size: 19px; font-weight: 300; line-height: 1.44; }
.ml-hero__actions { display: flex; gap: 16px; align-items: center; margin-top: 34px; }
.ml-button { display: inline-flex; min-height: 58px; align-items: center; justify-content: center; gap: 20px; padding: 0 24px; border: 0; border-radius: 14px; font-size: 16px; font-weight: 500; cursor: pointer; transition: transform .2s ease,box-shadow .2s ease,background .2s ease; }
.ml-button:hover { transform: translateY(-2px); }
.ml-button--white { color: var(--ml-blue); background: #fff; box-shadow: 0 16px 34px rgba(5,10,38,.22); }
.ml-button--red { color: #fff; background: var(--ml-red); box-shadow: 0 16px 34px rgba(122,7,30,.34); }
.ml-button--red:hover { background: #ff2444; }
.ml-button--blue { color: #fff; background: var(--ml-blue); }
.ml-hero__visual { position: relative; width: min(690px,52vw); margin-right: -80px; }
.ml-hero__screen { overflow: hidden; margin: 0; border: 10px solid #fff; border-radius: 24px; background: #fff; box-shadow: 0 38px 75px rgba(4,8,30,.4); transform: rotate(1.4deg); }
.ml-hero__screen img { display: block; width: 100%; height: auto; }
.ml-float-card { position: absolute; display: flex; min-width: 152px; align-items: center; gap: 9px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.24); border-radius: 14px; background: rgba(16,24,65,.82); box-shadow: 0 20px 38px rgba(0,0,0,.22); backdrop-filter: blur(12px); }
.ml-float-card b { color: #fff; font-size: 22px; font-weight: 500; }
.ml-float-card--one { left: -35px; bottom: 55px; }
.ml-float-card--two { right: 12px; top: -31px; }

.ml-placement { padding: 108px 0 62px; background: #fff; }
.ml-heading { margin-bottom: 58px; }
.ml-heading h2 { max-width: 900px; margin: 0; color: var(--ml-navy); font-size: clamp(44px,4.7vw,66px); font-weight: 300; line-height: 1; letter-spacing: -.045em; }
.ml-heading > p { max-width: 610px; margin: 25px 0 0; color: var(--ml-copy); font-size: 18px; line-height: 1.5; }
.ml-heading--row { display: grid; grid-template-columns: 1.15fr .85fr; gap: 76px; align-items: end; }
.ml-heading--row h2 { font-size: clamp(42px,4.25vw,60px); }
.ml-heading--row > p { margin: 0 0 4px; }
.ml-placement__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.ml-placement-card { position: relative; display: flex; min-height: 290px; flex-direction: column; justify-content: space-between; padding: 34px; overflow: hidden; border-radius: 22px; background: var(--ml-soft); }
.ml-placement-card--dark { color: #fff; background: #26272b; }
.ml-placement-card h3 { margin: 0 0 14px; color: var(--ml-navy); font-size: 28px; font-weight: 400; }
.ml-placement-card--dark h3 { color: #fff; }
.ml-placement-card p { max-width: 470px; margin: 0; color: var(--ml-copy); font-size: 18px; line-height: 1.5; }
.ml-placement-card--dark p { color: rgba(255,255,255,.74); }
.ml-chip { align-self: flex-start; padding: 9px 14px; border-radius: 8px; color: var(--ml-blue); background: #fff; font-size: 14px; }
.ml-placement-card__icon { position: absolute; right: 28px; bottom: 22px; display: grid; width: 92px; height: 92px; place-items: center; color: var(--ml-blue); }
.ml-placement-card__icon svg { width: 78px; height: 78px; }
.ml-placement-card--dark .ml-placement-card__icon { color: #7db4ff; }

.ml-section { padding: 120px 0; }
.ml-section--soft { background: var(--ml-soft); }
.ml-products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: minmax(340px,auto); gap: 16px; }
.ml-product { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--ml-soft); }
.ml-product--wide { grid-column: span 2; }
.ml-product--red { color: #fff; background: linear-gradient(145deg,#d7072e,#f51d3f); }
.ml-product--dark { color: #fff; background: #26272b; }
.ml-product--blue { color: #fff; background: linear-gradient(135deg,#19224f,#2b48c5); }
.ml-product figure { height: 235px; margin: 0; overflow: hidden; background: #fff; }
.ml-product figure img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ml-product > div:last-child { display: block; min-height: 152px; padding: 27px; }
.ml-product h3 { margin: 0 0 9px; color: var(--ml-navy); font-size: 27px; font-weight: 400; }
.ml-product--red h3,.ml-product--dark h3,.ml-product--blue h3 { color: #fff; }
.ml-product p { margin: 0; color: var(--ml-copy); font-size: 16px; line-height: 1.48; }
.ml-product--red p,.ml-product--dark p,.ml-product--blue p { color: rgba(255,255,255,.76); }
.ml-product__symbol { display: grid !important; min-height: 235px !important; place-items: center; padding: 0 !important; font-size: 78px; font-weight: 300; }

.ml-comdi { padding-top: 0; }
.ml-comdi__card { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 610px; overflow: hidden; border-radius: 26px; color: #fff; background: linear-gradient(135deg,#131936,#263fae); }
.ml-comdi__copy { display: flex; flex-direction: column; padding: 64px; }
.ml-eyebrow { color: #91c2ff; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ml-comdi h2 { margin: 28px 0 22px; font-size: clamp(38px,3.5vw,54px); font-weight: 300; line-height: 1.02; letter-spacing: -.04em; }
.ml-comdi p { margin: 0; color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.5; }
.ml-comdi ul { display: grid; gap: 12px; margin: 30px 0; padding: 0; list-style: none; }
.ml-comdi li { position: relative; padding-left: 27px; font-size: 16px; line-height: 1.4; }
.ml-comdi li::before { content: ""; position: absolute; top: .46em; left: 0; width: 10px; height: 10px; border-radius: 2px; background: var(--ml-red); box-shadow: 0 0 0 4px rgba(237,21,53,.18); }
.ml-comdi__button { display: inline-flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 30px; align-self: flex-start; margin-top: auto; padding: 0 21px; border: 0; border-radius: 14px; color: var(--ml-navy); background: #fff; font-size: 16px; font-weight: 500; box-shadow: 0 16px 34px rgba(4,8,30,.24); cursor: pointer; transition: transform .2s ease,background .2s ease; }
.ml-comdi__button:hover { background: #f4f6ff; transform: translateY(-2px); }
.ml-comdi figure { min-width: 0; margin: 0; background: #fff; }
.ml-comdi figure img { width: 100%; height: 100%; object-fit: cover; }

.ml-advantages { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.ml-advantage { display: flex; min-height: 310px; flex-direction: column; padding: 29px; border-radius: 21px; background: #fff; }
.ml-advantage--accent { color: #fff; background: var(--ml-red); }
.ml-advantage h3 { margin: auto 0 15px; color: var(--ml-navy); font-size: clamp(20px,1.75vw,24px); font-weight: 400; line-height: 1.15; overflow-wrap: break-word; hyphens: auto; }
.ml-advantage--accent h3 { color: #fff; }
.ml-advantage p { margin: 0; color: var(--ml-copy); font-size: 16px; line-height: 1.48; }
.ml-advantage--accent p { color: rgba(255,255,255,.78); }
.ml-advantage:last-child { grid-column: span 2; color: #fff; background: radial-gradient(circle at 85% 20%,rgba(91,117,233,.7),transparent 35%),linear-gradient(130deg,#141a3c,#263fae); }
.ml-advantage:last-child h3 { color: #fff; }
.ml-advantage:last-child p { max-width: 62%; color: rgba(255,255,255,.75); }
.ml-security { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 16px; overflow: hidden; border-radius: 21px; color: #fff; background: linear-gradient(120deg,#1a214b,#263fae); }
.ml-security > div { display: flex; min-height: 150px; flex-direction: column; justify-content: center; gap: 10px; padding: 26px; border-right: 1px solid rgba(255,255,255,.15); }
.ml-security > div:last-child { border-right: 0; }
.ml-security strong { font-size: 25px; font-weight: 400; }
.ml-security span { color: rgba(255,255,255,.7); font-size: 15px; }

.ml-service-list { border-top: 1px solid var(--ml-line); }
.ml-service-list article { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; min-height: 155px; border-bottom: 1px solid var(--ml-line); }
.ml-service-list h3 { margin: 0; color: var(--ml-navy); font-size: 28px; font-weight: 400; }
.ml-service-list p { max-width: 570px; margin: 0; color: var(--ml-copy); font-size: 17px; line-height: 1.5; }

.ml-tasks { background: #fff; }
.ml-task-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; }
.ml-task { display: flex; min-height: 395px; flex-direction: column; padding: 29px; border-radius: 22px; background: var(--ml-soft); }
.ml-task--blue { color: #fff; background: var(--ml-blue); }
.ml-task--dark { color: #fff; background: #424242; }
.ml-task h3 { margin: auto 0 15px; color: var(--ml-navy); font-size: 25px; font-weight: 500; line-height: 1.14; }
.ml-task--blue h3,.ml-task--dark h3 { color: #fff; }
.ml-task p { margin: 0; color: var(--ml-copy); font-size: 16px; line-height: 1.48; }
.ml-task--blue p,.ml-task--dark p { color: rgba(255,255,255,.74); }

.ml-pricing { background: var(--ml-soft); }
.ml-price-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.ml-price-card { display: flex; min-height: 430px; flex-direction: column; padding: 32px; border-radius: 22px; background: #fff; }
.ml-price-card--blue { color: #fff; background: var(--ml-blue); }
.ml-price-card--dark { color: #fff; background: #26272b; }
.ml-price-card__label { align-self: flex-start; padding: 8px 12px; border-radius: 8px; color: var(--ml-blue); background: var(--ml-soft); font-size: 13px; }
.ml-price-card--blue .ml-price-card__label,.ml-price-card--dark .ml-price-card__label { color: #fff; background: rgba(255,255,255,.13); }
.ml-price-card h3 { margin: 28px 0 12px; color: var(--ml-navy); font-size: 31px; font-weight: 400; }
.ml-price-card--blue h3,.ml-price-card--dark h3 { color: #fff; }
.ml-price-card p { margin: 0; color: var(--ml-copy); font-size: 17px; line-height: 1.48; }
.ml-price-card--blue p,.ml-price-card--dark p { color: rgba(255,255,255,.72); }
.ml-price { display: flex; align-items: center; gap: 8px; margin-top: auto; font-size: clamp(30px,3vw,44px); }
.ml-price small { font-size: 14px; }
.ml-price > span { font-size: 13px; line-height: 1.2; }
.ml-price--text { max-width: 310px; font-size: 35px; line-height: 1.05; }
.ml-price-card button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 58px; margin-top: 28px; padding: 0 20px; border: 1px solid var(--ml-line); border-radius: 14px; color: var(--ml-blue); background: #fff; font-weight: 500; cursor: pointer; }
.ml-pricing__note { margin: 18px 0 0; color: #7a7e87; font-size: 13px; }

.ml-faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; }
.ml-faq__list { border-top: 1px solid var(--ml-line); }
.ml-faq details { border-bottom: 1px solid var(--ml-line); }
.ml-faq summary { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 20px; color: var(--ml-navy); font-size: 22px; cursor: pointer; list-style: none; }
.ml-faq summary::-webkit-details-marker { display: none; }
.ml-faq__question { min-width: 0; }
.ml-faq summary > span:last-child { color: var(--ml-blue); font-size: 32px; font-weight: 300; transition: transform .2s; }
.ml-faq details[open] summary > span:last-child { transform: rotate(45deg); }
.ml-faq details p { max-width: 720px; margin: -6px 0 28px; color: var(--ml-copy); font-size: 17px; line-height: 1.55; }

body.ml-modal-open { overflow: hidden; }
.ml-contact[hidden] { display: none; }
.ml-contact { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; padding: 28px; }
.ml-contact__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(7,15,51,.73); backdrop-filter: blur(7px); cursor: default; }
.ml-contact__dialog { position: relative; width: min(1240px,calc(100vw - 56px)); overflow: hidden; border-radius: 28px; color: #fff; background: radial-gradient(circle at 70% 20%,rgba(64,91,210,.7),transparent 38%),linear-gradient(135deg,#17204d,#263fae); box-shadow: 0 38px 95px rgba(5,11,41,.48); }
.ml-contact__cubes { position: absolute; left: -160px; top: -80px; width: 610px; opacity: .3; pointer-events: none; }
.ml-contact__close { position: absolute; z-index: 4; top: 22px; right: 22px; display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: #fff; background: rgba(255,255,255,.05); cursor: pointer; }
.ml-contact__close span { font-size: 34px; font-weight: 300; line-height: 1; }
.ml-contact__grid { position: relative; z-index: 2; display: grid; grid-template-columns: .82fr 1.18fr; gap: 65px; align-items: center; min-height: 610px; padding: 72px; }
.ml-contact__copy h2 { margin: 25px 0 24px; font-size: clamp(48px,4.8vw,68px); font-weight: 300; line-height: 1; letter-spacing: -.045em; }
.ml-contact__copy > p { margin: 0; color: rgba(255,255,255,.74); font-size: 18px; line-height: 1.48; }
.ml-contact__links { display: grid; gap: 8px; margin-top: 45px; font-size: 19px; }
.ml-form { display: flex; min-height: 410px; flex-direction: column; justify-content: center; padding: 38px 42px; border-radius: 24px; color: var(--ml-ink); background: #fff; }
.ml-form__fields { display: grid; gap: 17px; }
.ml-form label { display: grid; gap: 9px; }
.ml-form label > span { color: var(--ml-copy); font-size: 15px; }
.ml-form input[type="text"],.ml-form input[type="tel"] { width: 100%; min-height: 58px; padding: 0 16px; border: 1px solid #d9dce5; border-radius: 13px; outline: none; font-size: 17px; }
.ml-form input:focus { border-color: var(--ml-blue); box-shadow: 0 0 0 3px rgba(38,63,174,.1); }
.ml-form__consent { display: flex !important; grid-template-columns: auto 1fr; gap: 10px !important; align-items: flex-start; margin-top: 16px; }
.ml-form__consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--ml-blue); }
.ml-form__consent span { font-size: 13px !important; line-height: 1.35; }
.ml-form__consent a { color: var(--ml-blue); text-decoration: underline; }
.ml-form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 24px; }
.ml-form__footer > .whitebyte-recaptcha { flex: 0 0 304px; width: 304px; margin: 0; }
.ml-form__footer .ml-button { flex: 0 0 auto; min-height: 56px; white-space: nowrap; }
.ml-form__status { flex: 0 0 100%; margin: 0; font-size: 14px; line-height: 1.35; }
.ml-form__status.is-error { color: #bd1c32; }
.ml-form__status.is-success { color: #1d7b43; }
.ml-form.is-submitted > :not(.ml-form__footer),.ml-form.is-submitted .ml-form__footer > .whitebyte-recaptcha,.ml-form.is-submitted .ml-form__footer .ml-button { display: none; }
.ml-form.is-submitted .ml-form__consent { display: none !important; }
.ml-form.is-submitted .ml-form__footer { min-height: 200px; margin: 0; align-items: center; }
.ml-form.is-submitted .ml-form__status { color: var(--ml-navy); font-size: 32px; font-weight: 300; line-height: 1.18; }

.ml-reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease,transform .65s ease; }
.ml-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ml-reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1200px) {
    .ml-hero__grid { grid-template-columns: 1fr 1fr; gap: 35px; }
    .ml-hero__visual { width: 56vw; }
    .ml-task-grid { grid-template-columns: repeat(3,1fr); }
    .ml-task { min-height: 330px; }
    .ml-contact__grid { gap: 40px; padding: 60px 48px; }
}

@media (max-width: 1400px) and (min-width: 901px) {
    .ml-hero__visual { width: 100%; margin-right: 0; }
    .ml-float-card--two { right: 10px; }
}

@media (max-width: 900px) {
    .ml-shell,#main-header.header { width: min(100% - 40px,1640px); }
    .ml-hero { min-height: auto; }
    .ml-hero__grid { grid-template-columns: 1fr; padding: 36px 0 88px; }
    .ml-breadcrumbs { margin-bottom: 35px; }
    .ml-hero__visual { width: 100%; margin: 30px 0 0; }
    .ml-heading--row,.ml-comdi__card,.ml-faq__grid,.ml-contact__grid { grid-template-columns: 1fr; gap: 35px; }
    .ml-heading--row > p { margin: 0; }
    .ml-products { grid-template-columns: repeat(2,1fr); }
    .ml-comdi__copy { padding: 48px; }
    .ml-comdi figure { min-height: 420px; }
    .ml-advantages { grid-template-columns: repeat(2,1fr); }
    .ml-price-grid { grid-template-columns: 1fr; }
    .ml-price-card { min-height: 390px; }
    .ml-security { grid-template-columns: repeat(2,1fr); }
    .ml-security > div:nth-child(2) { border-right: 0; }
    .ml-contact__dialog { max-height: calc(100vh - 36px); overflow-y: auto; }
    .ml-contact__grid { min-height: 0; padding: 60px 42px 42px; }
    .ml-contact__copy h2 { max-width: 650px; }
    .ml-contact__links { margin-top: 25px; }
}

@media (max-width: 640px) {
    .ml-shell,#main-header.header { width: min(100% - 28px,1640px); }
    .ml-hero__grid { padding-top: 22px; }
    .ml-brandline { align-items: flex-start; }
    .ml-brandline img { width: 125px; height: 54px; }
    .ml-hero h1 { font-size: 47px; }
    .ml-hero__copy > p { font-size: 17px; }
    .ml-hero__actions { align-items: stretch; flex-direction: column; }
    .ml-button { width: 100%; }
    .ml-float-card { display: none; }
    .ml-placement,.ml-section { padding: 78px 0; }
    .ml-heading { margin-bottom: 38px; }
    .ml-heading h2,.ml-heading--row h2 { font-size: 40px; }
    .ml-placement__grid,.ml-products,.ml-advantages,.ml-task-grid,.ml-security { grid-template-columns: 1fr; }
    .ml-placement-card { min-height: 300px; padding: 27px; }
    .ml-placement-card p { max-width: 75%; font-size: 16px; }
    .ml-product--wide,.ml-advantage:last-child { grid-column: auto; }
    .ml-product figure { height: 220px; }
    .ml-comdi { padding-top: 0; }
    .ml-comdi__copy { padding: 38px 26px; }
    .ml-comdi figure { min-height: 300px; }
    .ml-advantage { min-height: 270px; }
    .ml-advantage:last-child p { max-width: 100%; }
    .ml-security > div { min-height: 125px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
    .ml-service-list article { grid-template-columns: 1fr; gap: 12px; padding: 25px 0; }
    .ml-service-list p { grid-column: auto; }
    .ml-task { min-height: 300px; }
    .ml-faq summary { min-height: 82px; font-size: 19px; }
    .ml-contact { padding: 10px; }
    .ml-contact__dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); border-radius: 20px; }
    .ml-contact__grid { gap: 28px; padding: 64px 20px 24px; }
    .ml-contact__copy h2 { font-size: 43px; }
    .ml-contact__copy > p { font-size: 16px; }
    .ml-form { min-height: 0; padding: 26px 20px; }
    .ml-form__footer { align-items: stretch; flex-direction: column; }
    .ml-form__footer > .whitebyte-recaptcha { flex-basis: auto; width: 100%; }
    .ml-form.is-submitted .ml-form__status { font-size: 27px; }
}

/* Keep the lead form above mobile browser chrome and make the dialog scrollable. */
@media (max-width: 640px) {
    .ml-contact {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        overflow: hidden;
        padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom));
    }
    .ml-contact__dialog {
        width: 100%;
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        scroll-padding-bottom: calc(20px + env(safe-area-inset-bottom));
        border-radius: 18px;
    }
    .ml-contact__close { top: 10px; right: 10px; width: 38px; height: 38px; }
    .ml-contact__grid { gap: 14px; padding: 52px 14px 14px; }
    .ml-contact__copy h2 { max-width: calc(100% - 40px); margin: 8px 0 0; font-size: 34px; line-height: 1.02; }
    .ml-contact__copy > p,
    .ml-contact__links { display: none; }
    .ml-form { min-height: 0; justify-content: flex-start; padding: 17px; border-radius: 16px; }
    .ml-form__fields { gap: 10px; }
    .ml-form label { gap: 5px; }
    .ml-form label > span { font-size: 13px; }
    .ml-form input[type="text"],
    .ml-form input[type="tel"] { min-height: 48px; font-size: 16px; }
    .ml-form__consent { gap: 8px !important; margin-top: 10px; }
    .ml-form__consent span { font-size: 11.5px !important; line-height: 1.3; }
    .ml-form__footer { gap: 8px; margin-top: 14px; }
    .ml-form__footer .ml-button { width: 100%; min-height: 48px; }
    .ml-form__status { font-size: 12px; }
}

@media (max-width: 640px) and (max-height: 700px) {
    .ml-contact__grid { padding-top: 48px; }
    .ml-contact__copy .ml-eyebrow { display: none; }
    .ml-contact__copy h2 { font-size: 30px; }
}
