/* Главная РАМКАД. Общая навигация и кабинет используют собственные стили. */
.page-home{background:#fff;--ram-ink:#082b4e;--ram-text:#4c657b;--ram-blue:#168fc7;--ram-line:#dce8f0;--ram-soft:#f1f7fb}
.page-home .site-main{padding-top:0;padding-bottom:0}
.ram-home{font:400 16px/1.65 "Segoe UI",Arial,sans-serif;color:var(--ram-text);min-width:0}
.ram-home h1,.ram-home h2,.ram-home h3{color:var(--ram-ink);font-family:"Segoe UI",Arial,sans-serif;letter-spacing:-.045em;font-weight:750;overflow-wrap:normal}
.ram-home h1{font-size:clamp(44px,4.7vw,72px);line-height:1.07;margin:0 0 25px}
.ram-home h2{font-size:clamp(32px,3.2vw,48px);line-height:1.15;margin:0 0 22px}
.ram-home h3{font-size:21px;line-height:1.3;letter-spacing:-.025em;margin:0 0 12px}
.ram-home p{margin:0}
.ram-home em{font-style:normal;color:var(--ram-blue)}
.ram-workspace h2 em,.ram-tools h2 em,.ram-workflow h2 em{font-weight:400}
.ram-home .ram-overline{font-size:14px;text-transform:uppercase;letter-spacing:.09em;font-weight:650;color:#2588b4;margin:0 0 20px}
.ram-home .ram-small{font-size:14px;line-height:1.6;margin-top:18px;max-width:470px;color:#597389}
.ram-home .ram-lead{max-width:510px;font-size:18px;line-height:1.7}
.ram-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.ram-button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:13px 23px;border:1px solid transparent;border-radius:8px;background:#1488ba;color:white;font-size:15px;font-weight:650;line-height:1.4;text-decoration:none;text-align:center;transition:background .18s,box-shadow .18s}
.ram-button:hover{background:#0d719e;color:white;box-shadow:0 6px 18px #1488ba24}
.ram-button:active{background:#095e86}
.ram-button-light{background:#fff;border-color:#c7dce9;color:var(--ram-ink)}
.ram-button-light:hover{background:#eef6fb;color:var(--ram-ink)}
.ram-home a:focus-visible,.ram-home summary:focus-visible{outline:3px solid #168fc7;outline-offset:5px}
/* Иллюстрация поддерживает первый экран, сохраняя контраст текста. */
.ram-hero{position:relative;isolation:isolate;min-height:730px;display:flex;align-items:center;padding:70px 0 95px}
.ram-hero-picture{position:absolute;z-index:-2;inset:0 -20px;overflow:hidden}
.ram-hero-picture img{width:100%;height:100%;object-fit:cover;object-position:center}
.ram-hero::before{content:"";position:absolute;inset:0 -20px;z-index:-1;background:linear-gradient(90deg,#fff 0%,#fffffff9 24%,#ffffffed 35%,#ffffff85 47%,#ffffff00 64%),linear-gradient(0deg,#fff 0%,#ffffff00 15%)}
.ram-hero-copy{position:relative;width:52%;padding:0 16px}
.ram-hero-benefits{display:grid;gap:12px;margin-top:24px;font-size:15px;color:#234863;font-weight:600}
.ram-hero-benefits span{display:flex;align-items:center;gap:12px}
.ram-hero-benefits svg{width:25px;height:25px;fill:none;stroke:#278eb8;stroke-width:1.5;flex:none}
.ram-hero-caption{position:absolute;right:25px;bottom:35px;display:flex;flex-direction:column;align-items:flex-end;color:#36576c;font-size:14px;background:#ffffffd9;border:1px solid #ffffffc0;border-radius:10px;padding:12px 18px;backdrop-filter:blur(10px)}
.ram-hero-caption>span{font-size:19px;letter-spacing:.07em;font-weight:800;color:#173b53}
.ram-hero-caption b{color:#ef9a23}
.ram-materials{display:grid;grid-template-columns:1.1fr 1fr .8fr .8fr 1.2fr;align-items:center;gap:25px;padding:32px 16px;border-top:1px solid var(--ram-line);border-bottom:1px solid var(--ram-line);font-size:15px}
.ram-materials p{font-size:14px;line-height:1.6}
.ram-materials strong{color:var(--ram-ink)}
.ram-materials>div{display:flex;align-items:center;gap:14px;font-weight:600;color:#284d67}
.ram-materials svg{width:37px;height:37px;flex:none;fill:#7fa7bc;fill-rule:evenodd}
.ram-materials .ram-format{display:block;border-left:1px solid var(--ram-line);padding-left:24px}
.ram-format strong{display:block;letter-spacing:.03em;font-size:20px}
.ram-format span{font-size:14px;font-weight:400}
.ram-section{padding:95px 16px}
.ram-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:45px;margin-bottom:40px}
.ram-section-heading h2{margin-bottom:0}
.ram-section-heading>p{max-width:360px;font-size:16px}
/* Статичный редактор повторяет структуру приложения без запуска CAD-ядра. */
.ram-workbench{overflow:hidden;border:1px solid #d5e3ec;border-radius:14px;box-shadow:0 22px 65px -35px #153e664d;background:#fff}
.ram-editor-header{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:53px;padding:10px 15px;border-bottom:1px solid #dbe5ed;font-size:12px}
.ram-editor-header>strong{display:inline-flex;align-items:center;gap:5px;color:#234663;font-size:16px;letter-spacing:.08em;white-space:nowrap}
.ram-editor-header b{color:#efa02c;font-weight:500}
.ram-editor-header>div{display:flex;gap:5px}
.ram-editor-header>div>span{border:1px solid #d6e3ed;border-radius:5px;padding:5px 9px;color:#44617a;white-space:nowrap}
.ram-editor-header .ram-editor-export{background:#269fce;border-color:#269fce;color:#fff}
.ram-editor-tabs{display:flex;gap:4px;padding:5px 10px 0;background:#eaf1f6;border-bottom:1px solid #d9e4ed;font-size:12px;color:#466780}
.ram-editor-tabs span{padding:5px 18px;border:1px solid #d5e2ec;border-bottom:0;border-radius:7px 7px 0 0;background:#e1eaf1}
.ram-editor-tabs .ram-editor-tab-active{background:#f7fafc;border-top:2px solid #269fce;color:#1684b7;padding-top:4px}
.ram-editor-tools{display:flex;gap:0;background:#f5f8fb;border-bottom:1px solid #dae5ed;padding:8px 10px 5px;color:#396a88;overflow:hidden}
.ram-editor-tools>div{display:flex;justify-content:center;position:relative;gap:20px;padding:0 18px 20px;border-right:1px solid #d7e4ee}
.ram-editor-tools>div:last-child{border:0}
.ram-editor-tools span{display:flex;flex-direction:column;align-items:center;gap:1px;font-size:10px;white-space:nowrap}
.ram-editor-tools i{font:400 22px/1.25 "Segoe UI",sans-serif;color:#227c9d;height:28px}
.ram-editor-tools small{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:9px;letter-spacing:.06em;color:#7890a5}
.ram-workbench-body{display:grid;grid-template-columns:180px minmax(0,1fr) 190px;min-height:490px}
.ram-editor-sidebar{padding:20px 13px;background:#fff;font-size:11px}
.ram-editor-stock{border-right:1px solid #d9e5ee}
.ram-editor-parameters{border-left:1px solid #d9e5ee}
.ram-home .ram-editor-sidebar h3{margin:0 0 17px;color:#7a91a5;font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:700}
.ram-home .ram-editor-sidebar h4{font-size:13px;color:#34495d;margin:0 0 17px;font-weight:650}
.ram-editor-field{display:flex;flex-direction:column;gap:4px;margin-bottom:12px;min-width:0}
.ram-editor-field>span{color:#7a8d9e;line-height:1.4;font-size:10px}
.ram-editor-field strong{display:flex;justify-content:space-between;gap:4px;align-items:center;font-size:11px;line-height:1.4;font-weight:400;color:#42576b;padding:8px 7px;background:#fbfcfe;border:1px solid #dae4ed;border-radius:5px;min-width:0}
.ram-editor-field i{font-style:normal;color:#8092a0}
.ram-editor-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 8px}
.ram-editor-apply{border:1px solid #d7e3ed;border-radius:5px;padding:7px;text-align:center;color:#47627a}
.ram-editor-operations{padding-top:16px;margin-top:18px;border-top:1px solid #dce5ed;text-transform:uppercase;font-size:10px;font-weight:650;letter-spacing:.08em;color:#7891a6}
.ram-editor-operations b{display:inline-block;margin-left:5px;background:#eaf6fc;padding:0 5px;color:#269fce}
.ram-editor-viewport{min-width:0;display:flex;flex-direction:column;background:#ecf2f6}
.ram-editor-viewbar{display:flex;align-items:center;gap:10px;padding:7px 10px;background:#f8fbfd;border-bottom:1px solid #dbe5ed;font-size:11px;color:#456983;white-space:nowrap}
.ram-editor-viewbar>div{margin-left:auto;display:flex;gap:5px}
.ram-editor-viewbar>div>span,.ram-editor-view-active{padding:3px 6px;background:#fff;border:1px solid #d7e4ef;border-radius:4px}
.ram-editor-view-active{color:#269fce}
.ram-editor-facebar{display:flex;align-items:center;gap:10px;padding:7px 12px;background:#f7fafc;border-bottom:1px solid #dce5ed;font-size:10px;color:#869bb0}
.ram-editor-facebar strong{display:flex;align-items:center;justify-content:space-between;gap:25px;border:1px solid #dae5ee;border-radius:4px;padding:4px 8px;font-weight:400;color:#42647d;background:#fff}
.ram-editor-facebar i{font-style:normal}
.ram-editor-size{margin-left:auto;white-space:nowrap}
.ram-model-canvas{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-width:0;min-height:350px;background:#ecf2f6}
.ram-model-canvas img{display:block;width:100%;height:auto;max-height:470px;object-fit:contain}
.ram-editor-axis{position:absolute;top:25px;left:22px;color:#3292bb;font-size:11px;line-height:1.35}
.ram-editor-legend{position:absolute;bottom:18px;left:20px;display:flex;gap:16px;color:#7e94a6;font-size:10px}
.ram-editor-legend span::before{content:"";display:inline-block;width:12px;height:2px;margin-right:6px;vertical-align:middle;background:#2385a6}
.ram-editor-legend span:nth-child(2)::before{background:#d79a36}
.ram-editor-legend span:nth-child(3)::before{background:#ff765e}
.ram-editor-footer{display:flex;justify-content:space-between;gap:15px;padding:8px 15px;border-top:1px solid #dce6ee;font-size:10px;color:#8197aa}
.ram-workspace-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;margin-top:38px}
.ram-workspace-benefits article{border-left:2px solid #b9dae9;padding-left:22px}
.ram-workspace-benefits h3{font-size:19px}
/* Чередование светлых секций отделяет этапы без лишних внешних карточек. */
.ram-process{display:grid;grid-template-columns:.95fr 1.05fr;gap:90px;background:linear-gradient(120deg,#f0f7fc,#fafcfe);border-radius:20px;padding:65px 55px}
.ram-process-intro{align-self:center}
.ram-process-intro>p:not(.ram-overline){max-width:370px;margin:0 0 27px}
.ram-process-list article{display:flex;gap:22px;padding:24px 0;border-bottom:1px solid #d9e7f0}
.ram-process-list article:first-child{padding-top:0}
.ram-process-list article:last-child{padding-bottom:0;border-bottom:0}
.ram-process-icon{width:58px;height:58px;flex:none;display:grid;place-items:center;background:#e1eff8;border:1px solid #d5e7f2;border-radius:13px}
.ram-process-icon svg{width:32px;height:32px;fill:none;stroke:#3f87ac;stroke-width:1.4}
.ram-process-list h3{margin-bottom:6px}
.ram-process-list p{font-size:15px}
.ram-tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.ram-tool-art{height:160px;position:relative;overflow:hidden;background:linear-gradient(140deg,#f6fbfe,#e5f0f7);border:1px solid #e4eef5;border-radius:12px;margin-bottom:23px;display:flex;align-items:center;justify-content:center;gap:20px}
.ram-tool-art-holes::before{content:"";position:absolute;width:90%;height:84px;background:linear-gradient(#cfdee6,#adc4d0);border:1px solid #94b1c2;transform:skewY(-8deg)}
.ram-tool-art-holes span{position:relative;width:34px;height:34px;background:#f6fafc;border:2px solid #7e9ead;border-radius:50%;transform:skewY(-8deg)}
.ram-tool-art-holes span:last-child{border-radius:12px;width:68px}
.ram-tool-art-mark span{font-size:58px;font-weight:500;color:#bf822e;transform:skewY(-8deg)}
.ram-tool-art-mark i{width:100px;border-bottom:2px dashed #78a6bf;transform:rotate(-8deg)}
.ram-tool-art-mark b{font-size:54px;font-weight:300;color:#6599b7}
.ram-tool-art-joint span{width:130px;height:65px;background:linear-gradient(#cadce7,#97b5c8);border:1px solid #7f9fb3;clip-path:polygon(0 0,80% 0,80% 30%,100% 30%,100% 70%,80% 70%,80% 100%,0 100%);transform:rotate(-12deg)}
.ram-tool-art-joint span:last-child{transform:rotate(168deg);margin-left:-10px}

.ram-faq{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px}
.ram-faq details{border-bottom:1px solid var(--ram-line)}
.ram-faq summary{position:relative;list-style:none;cursor:pointer;padding:23px 34px 23px 0;color:var(--ram-ink);font-weight:650;font-size:18px;line-height:1.4}
.ram-faq summary::-webkit-details-marker{display:none}
.ram-faq summary::after{content:"+";position:absolute;right:2px;top:20px;font-size:25px;font-weight:400;color:#4087ad}
.ram-faq details[open] summary::after{content:"−"}
.ram-faq details p{padding:0 25px 24px 0}
.ram-start{display:flex;justify-content:space-between;align-items:center;gap:35px;padding:55px 60px;margin:0 16px 80px;background:radial-gradient(ellipse at 95% 10%,#c6e7f7,transparent 60%),#edf6fc;border:1px solid #d7eaf6;border-radius:18px}
.ram-start h2{font-size:clamp(30px,3vw,44px);margin-bottom:17px}
.ram-start .ram-button{flex:none}
.page-home .site-footer{background:#fff;border-top:1px solid var(--ram-line);font-size:14px;color:#657e92}
@media(min-width:1600px){.ram-hero{min-height:780px}.ram-hero-copy{padding-left:16px}}
@media(max-width:1100px){.ram-hero{min-height:690px}.ram-hero-copy{width:59%}.ram-hero::before{background:linear-gradient(90deg,#fff 0%,#fffffff5 30%,#ffffffbe 48%,#ffffff00 78%),linear-gradient(0deg,#fff,transparent 20%)}.ram-materials{grid-template-columns:repeat(3,1fr);gap:22px}.ram-materials>p{display:none}.ram-materials .ram-format{display:none}.ram-section{padding:70px 8px}.ram-process{padding:45px 30px;gap:40px}.ram-workbench-body{grid-template-columns:155px minmax(0,1fr) 165px}.ram-editor-tools>div{gap:13px;padding-inline:13px}.ram-editor-reference{display:none}.ram-editor-viewbar>div>span:last-child{display:none}.ram-workspace-benefits{gap:22px}.ram-section-heading{gap:30px}.ram-section-heading>p{max-width:310px}.ram-tool-grid{gap:22px}.ram-start{padding:40px;margin-inline:8px}}
@media(max-width:800px){.ram-hero{padding:45px 0 350px;min-height:0}.ram-hero-copy{width:100%;padding:0}.ram-hero h1{font-size:clamp(42px,7vw,60px)}.ram-hero-picture{inset:auto -16px 0;height:440px}.ram-hero-picture img{object-position:70% 58%}.ram-hero::before{inset:0 -16px;background:linear-gradient(180deg,#fff 0%,#fff 40%,#ffffffb3 53%,transparent 70%,#fff 100%)}.ram-hero-caption{right:0;bottom:20px}.ram-hero .ram-lead{max-width:570px}.ram-hero-benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ram-section-heading{display:block}.ram-section-heading>p{max-width:600px;margin-top:22px}.ram-process{grid-template-columns:1fr;gap:38px;padding:35px 28px}.ram-process-intro>p:not(.ram-overline){max-width:600px}.ram-workspace-benefits{grid-template-columns:1fr}.ram-tool-grid{grid-template-columns:1fr;gap:36px}.ram-tool-grid article{display:grid;grid-template-columns:210px 1fr;gap:0 28px}.ram-tool-art{grid-row:span 2;margin:0;height:160px}.ram-tool-grid h3{align-self:end}.ram-tool-grid p{align-self:start}.ram-faq{grid-template-columns:1fr;gap:15px}.ram-start{padding:35px;align-items:flex-start;flex-direction:column}.ram-workbench-body{grid-template-columns:1fr;min-height:0}.ram-editor-sidebar{display:none}.ram-editor-header>div>span:not(.ram-editor-export){display:none}.ram-editor-tools>div{gap:14px;padding-inline:14px}.ram-editor-tools>div:nth-child(n+3){display:none}.ram-editor-viewbar>div{display:none}.ram-model-canvas{min-height:310px}.ram-model-canvas img{min-height:260px}.ram-section{padding-block:60px}.ram-process{padding:35px 28px}.ram-materials{padding-inline:0;gap:16px}.ram-materials>div{gap:9px;font-size:14px}.ram-materials svg{width:29px;height:29px}}
@media(max-width:480px){.ram-home .ram-overline{font-size:12px;letter-spacing:.07em;margin-bottom:16px}.ram-home .ram-lead{font-size:16px}.ram-hero{padding-top:32px;padding-bottom:295px}.ram-hero-picture{height:345px}.ram-hero h1{font-size:42px}.ram-hero-benefits{grid-template-columns:1fr;font-size:14px;gap:10px}.ram-actions{gap:10px;margin-top:24px}.ram-actions .ram-button{width:100%}.ram-button{font-size:14px;min-height:49px}.ram-hero .ram-small{font-size:13px}.ram-hero-caption{padding:8px 12px;font-size:12px}.ram-hero-caption>span{font-size:16px}.ram-materials{gap:12px;padding-block:24px}.ram-materials>div{flex-direction:column;align-items:flex-start;font-size:12px;line-height:1.4}.ram-home h2{font-size:31px}.ram-section{padding-inline:0;padding-block:48px}.ram-editor-header{padding:10px 12px}.ram-editor-header>strong{font-size:14px}.ram-editor-tools>div{gap:12px;padding-inline:9px}.ram-editor-tools>div:nth-child(2)>span:nth-child(n+3){display:none}.ram-editor-tabs span{padding-inline:13px}.ram-editor-facebar{gap:8px;font-size:9px}.ram-editor-facebar strong{gap:14px}.ram-editor-size{font-size:9px}.ram-model-canvas{min-height:245px}.ram-model-canvas img{min-height:225px}.ram-editor-legend{gap:12px;left:13px;font-size:9px}.ram-editor-axis{left:15px;top:17px}.ram-editor-footer{font-size:9px;padding-inline:12px}.ram-process{padding:28px 20px;border-radius:14px}.ram-process-list article{gap:15px}.ram-process-icon{width:44px;height:44px;border-radius:10px}.ram-process-icon svg{width:26px;height:26px}.ram-process-list h3{font-size:18px}.ram-tool-grid article{display:block}.ram-tool-art{margin-bottom:20px;height:150px}.ram-tool-grid h3{font-size:21px}.ram-faq summary{font-size:16px}.ram-start{margin:0 0 45px;padding:28px 22px}.ram-start .ram-button{width:100%}}
@media(prefers-reduced-motion:reduce){.ram-home *{transition:none!important;scroll-behavior:auto}}
/* На узком экране изображение начинается после текста и кнопок. */
@media(max-width:800px){.ram-hero::before{background:none}.ram-hero-picture::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#fff 0%,#ffffff70 20%,transparent 48%,#fff 100%)}}
@media(max-width:480px){.ram-hero{padding-bottom:315px}.ram-hero-picture{height:300px}.ram-hero h1{font-size:clamp(33px,10.2vw,42px)}}

/* Объёмные иллюстрации и чередование графических секций. */
.ram-hero-benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:550px}
.ram-hero-benefits img{width:58px;height:58px;object-fit:contain;mix-blend-mode:multiply;flex:none}
.ram-hero-benefits span{gap:10px;font-size:14px;line-height:1.45}
.ram-workflow{background:transparent;margin-top:15px}
.ram-workflow-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block:1px solid #d2e4f1;background:#ffffff80}
.ram-workflow-grid article{padding:20px 25px 30px;border-right:1px solid #d7e6f1;min-width:0}
.ram-workflow-grid article:last-child{border-right:0}
.ram-workflow-grid img{width:100%;height:180px;object-fit:contain;margin-bottom:18px;mix-blend-mode:multiply}
.ram-workflow-grid h3{font-size:20px}
.ram-workflow-grid p{font-size:15px;color:#647e95}
.ram-ribbon-icon{width:24px;height:24px;display:block;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;margin-bottom:4px;flex:none}
.ram-editor-tools>div{gap:17px;padding-inline:15px}
.ram-editor-tools span{color:#287896}
.ram-home section[id]{scroll-margin-top:25px}
.ram-visual-section{position:relative;isolation:isolate;min-height:760px;display:flex;align-items:center;padding:75px 16px;margin-bottom:35px;overflow:hidden}
.ram-tools-picture{position:absolute;inset:0 -20px;z-index:-2}
.ram-tools-picture img{width:100%;height:100%;object-fit:cover;object-position:center}
.ram-visual-section::before{content:"";position:absolute;inset:0 -20px;z-index:-1;background:linear-gradient(90deg,#fff 0%,#fffffff7 22%,#ffffffe8 33%,#ffffff55 49%,transparent 63%),linear-gradient(0deg,#fff,transparent 14%,transparent 86%,#fff)}
.ram-tools-copy{width:49%;max-width:680px}
.ram-tools-copy h2{font-size:clamp(32px,3.3vw,49px)}
.ram-tools-lead{font-size:17px;max-width:470px;margin-bottom:27px!important}
.ram-tools-list{display:grid;gap:12px;max-width:550px}
.ram-tools-list article{display:flex;align-items:center;gap:16px;padding:15px 18px 15px 10px;border:1px solid #cce2f2;border-radius:15px;background:#ffffffed;box-shadow:0 10px 28px #1f639308}
.ram-tools-list img{width:76px;height:76px;flex:none;object-fit:contain;mix-blend-mode:multiply}
.ram-tools-list h3{font-size:18px;margin-bottom:5px}
.ram-tools-list p{font-size:14px;line-height:1.5;color:#607e97}
.ram-workspace{padding-top:60px}
@media(max-width:1100px){.ram-workflow-grid article{padding-inline:17px}.ram-workflow-grid img{height:145px}.ram-hero-benefits{grid-template-columns:1fr}.ram-tools-copy{width:55%}.ram-visual-section::before{background:linear-gradient(90deg,#fff 0%,#fffffffa 30%,#ffffffa8 49%,transparent 76%),linear-gradient(0deg,#fff,transparent 18%,transparent 80%,#fff)}.ram-editor-tools>div{gap:11px;padding-inline:12px}.ram-ribbon-icon{width:22px;height:22px}}
@media(max-width:800px){.ram-hero-benefits{grid-template-columns:repeat(2,minmax(0,1fr));max-width:600px}.ram-workflow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ram-workflow-grid article:nth-child(2){border-right:0}.ram-workflow-grid article:nth-child(-n+2){border-bottom:1px solid #d7e6f1}.ram-workflow-grid img{height:160px}.ram-visual-section{min-height:0;display:block;padding-bottom:420px;margin-bottom:0}.ram-tools-copy{width:100%;max-width:600px}.ram-tools-picture{inset:auto -16px 0;height:460px}.ram-tools-picture img{object-position:75% 60%}.ram-visual-section::before{background:linear-gradient(0deg,#fff,transparent 15%,transparent 300px,#fff 450px)}.ram-tools-picture::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#fff,transparent 35%,transparent 80%,#fff)}.ram-tools-list{max-width:600px}.ram-editor-tools>div{gap:14px}}
@media(max-width:480px){.ram-hero-benefits{grid-template-columns:1fr;gap:8px}.ram-hero-benefits img{width:45px;height:45px}.ram-workflow-grid article{padding:15px 12px 22px}.ram-workflow-grid img{height:120px;margin-bottom:10px}.ram-workflow-grid h3{font-size:17px;letter-spacing:-.025em}.ram-workflow-grid p{font-size:14px;line-height:1.55}.ram-tools-copy h2{font-size:32px}.ram-tools-list article{padding:12px 12px 12px 6px;gap:10px}.ram-tools-list img{width:62px;height:62px}.ram-tools-list h3{font-size:16px}.ram-tools-list p{font-size:14px}.ram-visual-section{padding-bottom:335px}.ram-tools-picture{height:350px}.ram-visual-section::before{background:none}.ram-tools-picture::after{background:linear-gradient(180deg,#fff,transparent 25%,transparent 80%,#fff)}.ram-editor-tools>div{gap:12px;padding-inline:9px}}

/* Первый экран: предметный заголовок и условия пробной работы. */
.ram-home .ram-hero h1{font-size:clamp(36px,4vw,60px);line-height:1.12}
.ram-hero-notes{max-width:510px;margin-top:25px}
.ram-home .ram-hero-notes .ram-small{margin-top:0;max-width:none}
.ram-home .ram-hero-notes .ram-small+.ram-small{margin-top:10px}
@media(max-width:800px){.ram-hero-notes{max-width:570px}.ram-home .ram-hero h1{font-size:clamp(34px,5.3vw,48px)}}
@media(max-width:480px){.ram-home .ram-hero h1{font-size:clamp(27px,7.7vw,36px)}}

/* Фоны экранов с изображениями доходят до краёв окна, текст сохраняет общий контейнер.
   Единицы cqw учитывают реальную ширину страницы без полосы прокрутки. */
@supports (width: 1cqw) {
    .page-home { container-type: inline-size; }
    .ram-home .ram-hero,
    .ram-home .ram-visual-section {
        margin-inline: calc((100% - 100cqw) / 2);
        padding-inline: calc((100cqw - 100%) / 2);
    }
    .ram-hero-picture,
    .ram-hero::before,
    .ram-tools-picture,
    .ram-visual-section::before { inset-inline: 0; }
}
.ram-hero-notes .ram-lead { max-width: none; }

/* Стрелка и чекбокс в статичном примере редактора не зависят от шрифта. */
.ram-editor-facebar .ram-face-arrow{display:block;position:static;flex:0 0 12px;width:12px;height:12px;margin:0;align-self:center;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.ram-editor-facebar .ram-editor-reference{align-items:center;gap:6px}
.ram-reference-checkbox{display:inline-block;box-sizing:border-box;flex:0 0 13px;width:13px;height:13px;vertical-align:middle;margin-right:6px;border:1px solid #869bb0;border-radius:2px;background:#fff}

/* На мобильных заголовок редактора переносится только по доступной ширине. */
@media(max-width:800px){#ramWorkspaceTitle .ram-workspace-title-break{display:none}#ramWorkspaceTitle em{display:inline}}

/* Дополнительный отступ перед редактором на настольных экранах. */
@media(min-width:1101px){.ram-workspace{padding-top:120px}}

/* Общая левая линия контента без повторного отступа внутри секций. */
.ram-home .ram-hero-copy{padding-inline:0}
.ram-home .ram-workspace,
.ram-home .ram-workflow,
.ram-home .ram-faq{padding-inline:0}
/* Переход к заголовку не включает верхний отступ всей секции. */
#ramWorkspaceTitle{scroll-margin-top:25px}

/* Дополнительный промежуток перед третьим экраном соответствует прибавке перед вторым. */
@media(min-width:1101px){.ram-home .ram-visual-section{margin-top:60px}}

/* Заголовок третьего экрана на мобильных переносится по ширине окна. */
@media(max-width:800px){#ramToolsTitle .ram-tools-title-break{display:none}#ramToolsTitle em{display:inline}.ram-tools .ram-hero-caption{right:16px}}

/* Между вторым и третьим экранами один отступ, без сложения внутренних полей. */
@media(max-width:800px){
    .ram-home .ram-workspace{padding-bottom:0}
    .ram-home .ram-workspace + .ram-visual-section{padding-top:0}
}

/* Промежутки после третьего и четвёртого экранов задаются один раз. */
.ram-home .ram-visual-section{margin-bottom:0}
.ram-home .ram-workflow{margin-top:0;padding-top:60px;padding-bottom:0}
.ram-home .ram-faq{padding-top:60px}
@media(min-width:1101px){
    .ram-home .ram-workflow,
    .ram-home .ram-faq{padding-top:120px}
}
/* На мобильных строка заголовка определяется доступной шириной. */
@media(max-width:800px){
    #ramWorkflowTitle .ram-workflow-title-break{display:none}
    #ramWorkflowTitle em{display:inline}
}

/* Вопросы оформлены отдельными карточками в общей палитре главной. */
.ram-home .ram-faq{align-items:start;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.ram-faq-intro{min-width:0}
.ram-faq-list{display:grid;gap:12px;min-width:0}
.ram-faq-list details{border:1px solid #cce2f2;border-radius:16px;background:#fff;box-shadow:0 10px 28px #1f639308;overflow:hidden}
.ram-faq-list details[open]{border-color:#88c6e2}
.ram-faq-list summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 24px;font-size:18px;line-height:1.45;overflow-wrap:anywhere}
.ram-faq-list summary::after{position:static;display:flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#edf7fc;color:#168fc7;font:400 24px/1 Arial,sans-serif}
.ram-faq-list details[open] summary::after{background:#168fc7;color:#fff}
.ram-faq-list details p{padding:0 24px 24px;line-height:1.65;overflow-wrap:anywhere}
.ram-faq-list summary:focus-visible{outline:3px solid #168fc7;outline-offset:-4px;border-radius:15px}
@media(max-width:800px){
    .ram-home .ram-faq{grid-template-columns:1fr;gap:24px}
    #ramFaqTitle .ram-faq-title-break{display:none}
    #ramFaqTitle em{display:inline}
    .ram-faq-list summary{padding:18px;font-size:16px;gap:12px}
    .ram-faq-list details p{padding:0 18px 20px;font-size:15px}
    .ram-faq-list summary::after{flex-basis:30px;width:30px;height:30px}
}

/* Контактная карточка занимает всю ширину вводной колонки. */
.ram-faq-description{font-size:16px;line-height:1.7}
.ram-faq-support{box-sizing:border-box;width:100%;margin-top:28px;padding:28px;border:1px solid #d5eaf4;border-radius:18px;background:#f0f8fc;box-shadow:none}
.ram-faq-support h3{font-size:22px;margin-bottom:12px}
.ram-faq-support p{font-size:16px;line-height:1.7}
.ram-faq-support .ram-button{width:100%;box-sizing:border-box;margin-top:24px}
@media(max-width:800px){.ram-faq-support{margin-top:24px;padding:24px}}
@media(max-width:480px){.ram-faq-support{padding:22px}.ram-faq-support h3{font-size:20px}}

/* Полноширинный подвал с общим для страницы контейнером. */
.ram-footer{margin-top:25px;background:#1c222a;color:#dbe4ec;border-radius:32px 32px 0 0;font:400 15px/1.65 "Segoe UI",Arial,sans-serif}
.ram-footer-inner{box-sizing:border-box;max-width:1480px;margin:auto;padding:52px 20px 28px}
.ram-footer a{color:#e4ecf3;text-decoration:none;transition:color .15s}
.ram-footer a:hover{color:#7ac9ed}
.ram-footer a:focus-visible{outline:2px solid #7ac9ed;outline-offset:5px}
.ram-footer-top{display:flex;align-items:center;gap:24px;padding-bottom:32px;border-bottom:1px solid #ffffff1a}
.ram-footer .ram-footer-brand{font-size:27px;font-weight:800;letter-spacing:.05em;white-space:nowrap;color:#fff}
.ram-footer-brand span{color:#ffab48}
.ram-footer p{margin:0}
.ram-footer-top>p{border-left:1px solid #ffffff26;padding-left:24px;color:#aebdcb;font-size:14px}
.ram-footer .ram-footer-phone{margin-left:auto;font-size:21px;font-weight:700;white-space:nowrap}
.ram-footer .ram-footer-up{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border-radius:50%;background:#168fc7;color:#fff;font-size:24px}
.ram-footer-grid{display:grid;grid-template-columns:.85fr 1.2fr 1.2fr 1fr;gap:32px;padding:34px 0}
.ram-footer-grid h2{margin:0 0 18px;font-size:13px;line-height:1.5;text-transform:uppercase;letter-spacing:.08em;color:#7ac9ed;font-weight:650}
.ram-footer-grid a{display:block;width:fit-content;margin-bottom:9px}
.ram-footer-grid p{margin-bottom:9px;overflow-wrap:anywhere}
.ram-footer-grid>div,.ram-footer-grid>nav{min-width:0}
.ram-footer-bottom{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #ffffff1a;padding-top:22px;color:#aebdcb;font-size:13px}
@media(max-width:1100px){.ram-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ram-footer-top>p{display:none}}
@media(max-width:800px){.ram-footer{margin-top:12px;border-radius:24px 24px 0 0}.ram-footer-inner{padding:32px 16px 24px}.ram-footer-top{flex-wrap:wrap;gap:16px}.ram-footer .ram-footer-brand{font-size:22px}.ram-footer .ram-footer-phone{font-size:17px}.ram-footer-grid{gap:26px}.ram-footer-bottom{flex-direction:column;gap:6px}}
@media(max-width:480px){.ram-footer-grid{grid-template-columns:1fr}.ram-footer-top{display:grid;grid-template-columns:1fr auto}.ram-footer .ram-footer-phone{grid-column:1;grid-row:2;margin:0}.ram-footer .ram-footer-up{grid-column:2;grid-row:1 / 3}.ram-footer-grid{padding-block:28px}}

/* Бейджи на изображениях повторяют размеры логотипа шапки сайта. */
.ram-hero-caption>span{display:inline-flex;align-items:center;gap:4px;font-size:22px;line-height:1.5;letter-spacing:.05em;font-weight:800}
.ram-hero-caption .ram-caption-icon{display:block;flex:0 0 40px;width:40px;height:40px;object-fit:contain}
@media(max-width:1000px){.ram-hero-caption>span{font-size:20px}}
@media(max-width:480px){.ram-hero-caption .ram-caption-icon{flex-basis:36px;width:36px;height:36px}}

/* Компактный график в колонке контактов. */
.ram-footer-grid .ram-footer-hours{margin:12px 0;font-size:13px;line-height:1.65;color:#aebdcb}

/* Иконка демонстрационного редактора масштабируется вместе с надписью. */
.ram-editor-header .ram-editor-brand-icon{display:block;width:1.25em;height:1.25em;flex:0 0 auto;object-fit:contain}

/* Одинаковая вертикальная привязка стрелок имитации селектов в редакторе. */
.ram-editor-field .ram-field-arrow{display:block;position:static;flex:0 0 12px;width:12px;height:12px;margin:0;align-self:center;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}

/* Тарифы используют типографику и палитру главной страницы. */
.ram-pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.ram-price{display:flex;flex-direction:column;min-width:0;padding:30px;border:1px solid var(--ram-line);border-radius:18px;background:#fff;box-shadow:0 10px 28px rgb(8 43 78 / 3%)}
.ram-price-saving{border-color:#9fcfe4;background:linear-gradient(150deg,#edf8fd,#f8fcff)}
.ram-price-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;min-height:32px;margin-bottom:26px}
.ram-home .ram-price-heading h3{margin:0;font-size:22px;letter-spacing:-.025em}
.ram-price-badge{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border-radius:7px;background:#d9eef8;color:#126789;font-size:12px;font-weight:650;white-space:nowrap;line-height:1.4}
.ram-price-amount{color:var(--ram-ink);font-size:clamp(30px,3vw,44px);line-height:1.15;letter-spacing:-.045em;font-weight:750;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.ram-home .ram-price-caption{margin-top:10px;font-size:13px;line-height:1.6;color:#637c91}
.ram-price-includes{display:grid;gap:12px;margin:26px 0 30px;padding-top:24px;border-top:1px solid var(--ram-line);font-size:14px;line-height:1.6}
.ram-price-includes span{position:relative;padding-left:17px}
.ram-price-includes span::before{content:"";position:absolute;left:0;top:.65em;width:5px;height:5px;border-radius:50%;background:#168fc7}
.ram-price .ram-button{justify-content:space-between;gap:16px;margin-top:auto;width:100%;min-height:48px;padding:12px 16px;font-size:14px}
.ram-price .ram-button svg{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ram-home .ram-pricing-note{margin-top:20px;color:#637c91;font-size:13px;line-height:1.6}
@media(max-width:1100px){.ram-pricing-grid{gap:14px}.ram-price{padding:24px}.ram-price-amount{font-size:34px}}
@media(max-width:800px){.ram-pricing-grid{grid-template-columns:1fr}.ram-price{padding:26px}.ram-price-heading{margin-bottom:20px}.ram-price-amount{font-size:40px}.ram-price-includes{margin-block:22px}.ram-price .ram-button{justify-content:center}.ram-price .ram-button svg{margin-left:4px}}

/* Векторная стрелка имеет симметричные поля и не зависит от метрик шрифта. */
.ram-footer .ram-footer-up{display:grid;place-items:center;padding:0;line-height:1}
.ram-footer-up svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* Маска повторяет силуэт выбранной иконки и наследует цвет всей ссылки. */
.ram-footer .ram-footer-brand{display:inline-flex;align-items:center;gap:4px;color:#fff}
.ram-footer .ram-footer-brand>span{color:inherit}
.ram-footer .ram-footer-brand:hover,.ram-footer .ram-footer-brand:focus-visible{color:#7ac9ed}
.ram-footer-brand-icon{display:block;flex:0 0 40px;width:40px;height:40px;background-color:currentColor;-webkit-mask:url('/assets/site/ramcad-icon-343.png') center/contain no-repeat;mask:url('/assets/site/ramcad-icon-343.png') center/contain no-repeat}
@media(max-width:800px){.ram-footer-brand-icon{flex-basis:36px;width:36px;height:36px}}

/* Один внешний интервал между экранами; поля иллюстрации остаются внутри её экрана. */
.page-home{--ram-section-gap:120px}
.ram-home>.ram-section{margin-block:var(--ram-section-gap) 0;padding-block:0}
.ram-home>.ram-visual-section{padding-block:75px}
@media(max-width:1100px){.page-home{--ram-section-gap:60px}}
@media(max-width:800px){.ram-home>.ram-visual-section{padding-top:0;padding-bottom:420px}}
@media(max-width:480px){.ram-home>.ram-visual-section{padding-bottom:335px}}
.page-home .ram-footer{margin-top:var(--ram-section-gap)}

/* В мобильной шапке подвала логотип и телефон образуют компактную группу. */
@media(max-width:800px){.ram-footer-top{row-gap:2px}}
@media(max-width:480px){.ram-footer-top{row-gap:0}.ram-footer .ram-footer-phone{line-height:1.3}}

/* Тарифы выровнены по общим краям контента, как редактор и блок возможностей. */
.ram-home .ram-pricing{padding-inline:0}

/* На мобильном экране обе плашки логотипа имеют одинаковый отступ справа. */
@media(max-width:800px){.ram-hero>.ram-hero-caption{right:16px}}

/* Колонки без фоновой заливки; кнопки остаются различимыми на белой странице. */
.ram-pricing .ram-pricing-grid{gap:0;padding:10px 0;background:transparent;border:1px solid #e4eef5;border-radius:22px;overflow:hidden}
.ram-pricing .ram-price{position:relative;padding:32px 32px 30px;border:0;border-radius:0;background:transparent;box-shadow:none}
.ram-pricing .ram-price+.ram-price{border-left:1px solid #d5e5ef}
.ram-pricing .ram-price-heading{min-height:40px;margin:0;gap:12px}
.ram-pricing .ram-price-heading h3{margin:0;font-size:29px;font-weight:650;line-height:1.25;letter-spacing:-.035em}
.ram-pricing .ram-price-badge{min-height:0;padding:6px 10px;border-radius:6px;background:#dceff9;color:#11688f;font-size:12px;line-height:1.25}
.ram-price-body{display:flex;flex-direction:column;flex:1;padding:0}
.ram-pricing .ram-price-amount{margin-top:42px;font-size:clamp(38px,3.7vw,54px);line-height:1.1;letter-spacing:-.05em;white-space:nowrap;overflow-wrap:normal}
.ram-pricing .ram-price-caption{margin:12px 0 0;font-size:13px;line-height:1.7;color:#627d91}
.ram-pricing .ram-price .ram-button{margin-top:34px;justify-content:space-between;min-height:52px;padding:14px 18px;border:1px solid #dce3e9;border-radius:9px;background:#f3f5f7;color:#0c4e71;font-size:14px;box-shadow:none;transition:background .18s,border-color .18s}
.ram-pricing .ram-price .ram-button:hover{background:#e9edf1;border-color:#c5d0da}
.ram-pricing .ram-price .ram-button:focus-visible{outline:3px solid #168fc766;outline-offset:4px}
.ram-pricing .ram-price .ram-button svg{width:19px;height:19px;margin:0}
.ram-pricing .ram-price-saving::before{content:"";position:absolute;top:-10px;left:32px;right:32px;height:4px;border-radius:0 0 5px 5px;background:#168fc7}
.ram-pricing .ram-price-saving .ram-price-heading h3{color:#168fc7}
.ram-pricing .ram-price-saving .ram-button{background:#168fc7;border-color:#168fc7;color:#fff}
.ram-pricing .ram-price-saving .ram-button:hover{background:#107cab;border-color:#107cab}
@media(min-width:801px) and (max-width:1100px){.ram-pricing .ram-price{padding-inline:22px}.ram-pricing .ram-price-heading h3{font-size:24px}.ram-pricing .ram-price-badge{padding:5px 7px;font-size:11px}.ram-pricing .ram-price-amount{font-size:38px}}
@media(max-width:800px){.ram-pricing .ram-pricing-grid{grid-template-columns:1fr;padding:0 24px;border-radius:18px}.ram-pricing .ram-price{padding:26px 0}.ram-pricing .ram-price+.ram-price{border-left:0;border-top:1px solid #d5e5ef}.ram-pricing .ram-price-heading h3{font-size:27px}.ram-pricing .ram-price-amount{margin-top:24px;font-size:44px}.ram-pricing .ram-price .ram-button{margin-top:24px}.ram-pricing .ram-price-saving::before{top:0;left:0;right:auto;width:44px}.ram-pricing .ram-price-caption{font-size:12px}}
@media(prefers-reduced-motion:reduce){.ram-pricing .ram-price .ram-button{transition:none}}
