@font-face{font-family:Angst;src:url("fonts/Angst-Normal.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Suisse Intl";src:url("fonts/SuisseIntl-Regular.otf") format("opentype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Suisse Intl";src:url("fonts/SuisseIntl-SemiBold.otf") format("opentype");font-style:normal;font-weight:600 900;font-display:swap}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;color:#1a212f;background:#f7f5f2;font:16px/1.4 "Suisse Intl",Arial,sans-serif}a{color:inherit;text-decoration:none}a:focus-visible{outline:3px solid #ffc10e;outline-offset:4px}.wrap{width:min(1120px,calc(100% - 64px));margin:auto}header{background:white;border-bottom:1px solid #d9d9d9}header .wrap{height:80px;display:flex;align-items:center;justify-content:space-between}header img{display:block;width:240px}nav{display:flex;gap:28px;color:#365845;font-size:.94rem}nav a:hover{text-decoration:underline}main{padding-top:28px}h1,h2{font-family:Angst,Georgia,serif;font-weight:400}h1,h2{font-size:2.05rem;letter-spacing:-.035em;line-height:1.15;margin:32px 0 17px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.card,.social{background:white;border:1px solid #d9d9d9;border-radius:12px;display:flex;align-items:center;gap:15px;padding:20px;min-height:98px;transition:background .15s,border-color .15s}.card:hover,.social:hover{background:#f0f5ed;border-color:#87a18c}.card strong,.social strong{display:block;font-size:1.05rem;line-height:1.25}.card small,.social small{display:block;color:#617068;font-size:.88rem;margin-top:5px}.icon{width:47px;height:47px;display:grid;place-items:center;flex:none;background:#eef4ef;color:#105c2e;border-radius:12px}.card:nth-child(2n) .icon{background:#fff4cf;color:#105c2e}.icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.social{min-height:78px;padding:13px 18px}.social .icon{background:var(--brand);color:white;border-radius:50%;font-size:.85rem;font-weight:700;width:37px;height:37px}.social strong{font-size:1rem}footer{margin:35px 0 0;padding:21px 0 26px;border-top:1px solid #dedfd8;color:#56655a;font-size:.875rem}footer .wrap{display:flex;justify-content:space-between;gap:16px}@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.wrap{width:calc(100% - 32px)}header .wrap{height:65px}header img{width:184px}nav{gap:10px;font-size:.85rem}nav a:first-child{display:none}main{padding-top:15px}.grid{grid-template-columns:1fr;gap:9px}h1,h2{margin:24px 0 13px;font-size:1.8rem}.card{padding:13px 16px;min-height:74px}.social{min-height:67px}footer .wrap{flex-wrap:wrap}}

#projects h1{margin-top:0}
.newsletter{margin-top:32px;padding:24px 28px;border:1px solid #d5dfd3;border-radius:14px;background:#edf3eb}
.newsletter h2{margin:0 0 16px}.newsletter form{max-width:720px}.newsletter label{font-size:1rem}
.subscribe-row{display:flex;gap:10px;margin:6px 0 12px}.subscribe-row input,.subscribe-row button{font:inherit;padding:13px 16px;border-radius:8px}
.subscribe-row input{flex:1;min-width:0;border:1px solid #879d8f;background:white}.subscribe-row button{border:0;background:#105c2e;color:white;font-weight:600;cursor:pointer}
.subscribe-row button:hover{background:#154a2d}.consent{display:flex;align-items:flex-start;gap:9px;cursor:pointer}.newsletter .consent{font-size:.9rem}
.consent input{accent-color:#105c2e;width:19px;height:19px;flex:none;margin:1px 0}.newsletter :focus-visible{outline:3px solid #986c19;outline-offset:3px}.newsletter [role=status]:empty{display:none}
@media(max-width:640px){.newsletter{padding:18px}.subscribe-row{flex-direction:column}}

/* Фирменные цвета и типографика msdm.ru. */
header{border-top:5px solid #105c2e}header .wrap{height:94px}
nav{color:#105c2e}nav a{padding:8px 0;border-bottom:2px solid transparent}nav a:hover{border-color:#ffc10e;text-decoration:none}
main{padding-top:40px}h1,h2{color:#105c2e;letter-spacing:0;line-height:1.2}h1{font-size:2.5rem}h2{font-size:2rem}
.card,.social{border-radius:4px}.card:hover,.social:hover{background:#fff;border-color:#105c2e;box-shadow:0 3px 12px #105c2e0d}
.card strong,.social strong{font-weight:600}.icon{border-radius:4px}#social{margin-top:36px}


footer{border-color:#d9d9d9}footer a{color:#105c2e}
@media(max-width:640px){header .wrap{height:72px}main{padding-top:24px}h1{font-size:2rem}h2{font-size:1.75rem}.card strong{font-size:1rem}#social{margin-top:28px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card,.social{transition:none}}

.social .icon img{display:block;width:22px;height:22px;object-fit:contain}.social .icon:has(img[src^="icons/max.svg"]){background:transparent}

.social .icon img[src^="icons/max.svg"]{width:32px;height:32px}

.newsletter{color:#162e22}.newsletter h2{font-family:Georgia,"Times New Roman",serif;font-size:2.05rem;letter-spacing:-.035em;line-height:1.15;color:inherit}@media(max-width:640px){.newsletter h2{font-size:1.8rem}}

.ask-question__agreements{display:grid;gap:16px;margin-top:16px}.newsletter .checkbox__container{display:flex;align-items:flex-start;gap:10px;font-size:.9rem;line-height:1.5;cursor:pointer}.checkbox__container input{flex:none;width:19px;height:19px;margin:2px 0 0;accent-color:#105c2e}.checkbox__container a{text-decoration:underline;text-underline-offset:3px}.checkbox__container a:hover{color:#105c2e}.legal-links{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:12px 24px;margin-top:20px;font-size:.875rem}.legal-links a{text-decoration:underline;text-underline-offset:3px}.legal-document{padding-bottom:24px}.legal-document__content{line-height:1.65;overflow-wrap:anywhere}.legal-document__content h1{font-size:clamp(1.6rem,4vw,2.5rem)}.legal-document__content ul,.legal-document__content ol{padding-left:24px}.legal-document__content li{margin-bottom:10px}.legal-document__content table{width:100%;border-collapse:collapse;margin:20px 0;table-layout:fixed}.legal-document__content td,.legal-document__content th{border:1px solid #d9d9d9;padding:12px;vertical-align:top}.legal-document__content td p{margin:0}.legal-document__section-title{margin-top:28px}.legal-document__content a{text-decoration:underline;color:#105c2e}
