:root {
  --canvas: #252d49;
  --surface: #2c3552;
  --surface-raised: #37405d;
  --border: #465291;
  --text: #f8f9ff;
  --muted: #b7bddb;
  --mint: #00ffaa;
  --cyan: #00bbff;
  --violet: #8d67ff;
  --gradient: linear-gradient(102deg, var(--mint) 2%, var(--cyan) 49%, var(--violet) 96%);
  --container: 1280px;
  --container-wide: 1450px;
  --radius: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-400-cyrillic.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-700-cyrillic.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

html {
  scroll-padding-top: 110px;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--text);
  background: var(--canvas);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
}

body.is-locked {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
}

button {
  border: 0;
}

main {
  position: relative;
  z-index: 1;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.container--wide {
  width: min(100% - 48px, var(--container-wide));
}

.section {
  position: relative;
  padding-block: clamp(90px, 8vw, 155px);
}

.section-title {
  width: 100%;
  margin: 0 auto clamp(56px, 7vw, 120px);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(32px, 2.6vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.section-title .circled {
  position: relative;
}

.section-title .circled::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("./../img/medcontent/circled.png");
  width: 110%;
  aspect-ratio: 161/65;
  transform: translate(-55%, -50%);
}

.section-title_mb0 {
  margin-bottom: 0;
}

.section-subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 20px;
  text-align: center;
  color: #b7bddb;
  max-width: 1150px;
  margin: 20px auto clamp(56px, 7vw, 120px);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--canvas);
  background: var(--mint);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  box-shadow: 0 3px 8px #171c31;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 16, 39, 0.45);
}

.button:active {
  transform: translateY(0);
}

.button--primary {
  background: var(--gradient);
}

.button--secondary {
  background: transparent;
  border: 2px solid var(--violet);
}

.button--compact {
  min-height: 54px;
  padding: 12px 20px;
  font-size: 18px;
}

.glass-card {
  border: 1px solid var(--border);
  background: linear-gradient(112deg, rgba(58, 64, 94, 0.7), rgba(70, 82, 145, 0.56));
  border-radius: var(--radius);
  box-shadow: 0 4px 9px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(35px);
  backdrop-filter: blur(35px);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 0 0 5px 5px;
  background: rgba(9, 14, 32, 0.08);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
}

.site-header__inner {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 60px;
  max-width: 1920px;
  margin: 0 auto;
}

.site-header__logo {
  flex: 0 0 54px;
}

.site-header__logo img {
  width: 54px;
  height: 54px;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 20px);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(14px, 1.05vw, 20px);
}

.site-header__nav .site-header__contact {
  display: none;
}

.site-header__nav a {
  padding: 8px 10px;
  transition: color 0.2s ease;
}

.site-header__nav a:hover {
  color: var(--cyan);
}

.site-header__contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 16px;
}

.site-header__contact a {
  transition: color 0.2s ease;
}

.site-header__contact a:hover {
  color: var(--cyan);
}

.site-header__toggle {
  display: none;
}

.scroll-top {
  position: fixed;
  padding: 0;
  right: 2vw;
  bottom: 2vh;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
  z-index: 100;
  scale: 0;
  opacity: 0;
  transform-origin: center;
}

.scroll-top.active {
  scale: 1;
  opacity: 1;
}

.scroll-top:hover {
  opacity: 0.8;
}

.scroll-top svg {
  width: 100%;
  height: 100%;
}

.hero {
  position: relative;
  min-height: 1025px;
  overflow: hidden;
  padding-top: 128px;
  background: #151c36;
  margin-bottom: 20px;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 310px;
  content: "";
  background: linear-gradient(180deg, rgba(21, 28, 54, 0), var(--canvas) 88%);
}

.hero__texture {
  position: absolute;
  inset: -80px 0 0;
  opacity: 0.56;
  background: url("../img/medcontent/hero-bg.png") center 30%/cover no-repeat;
}

.hero__texture::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(100deg, rgba(19, 26, 51, 0.96) 7%, rgba(20, 28, 54, 0.82) 48%, rgba(20, 28, 54, 0.14) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__copy {
  position: relative;
  z-index: 3;
  width: 936px;
}

.hero h1 {
  margin-bottom: 28px;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(42px, 3.125vw, 60px);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero__lead {
  position: relative;
  max-width: 820px;
  font-size: 23px;
  font-weight: 600;
}

.hero__lead::before {
  position: absolute;
  top: -96px;
  left: -92px;
  width: 184px;
  height: 226px;
  content: "";
  background-image: url("../img/medcontent/hero-buble.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: -1;
}

.hero__actions {
  display: flex;
  gap: 20px;
  margin-top: 80px;
}

.hero__benefits {
  display: grid;
  width: 856px;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 80px;
}

.benefit-card {
  min-height: 155px;
  padding: 30px;
}

.benefit-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.benefit-card h2 {
  color: var(--mint);
  font-size: 20px;
  line-height: 1.15;
}

.benefit-card h2.blue {
  color: var(--cyan);
}

.benefit-card p {
  font-size: 14px;
  font-weight: 700;
}

.benefit-card__icon {
  display: grid;
  width: 51px;
  height: 51px;
  flex: 0 0 51px;
  place-items: center;
}

.benefit-card__icon svg {
  width: 100%;
  height: 100%;
}

.hero__laptop {
  position: absolute;
  top: 0;
  left: 872px;
  width: 1020px;
}

.hero__laptop img {
  max-width: unset;
}

.tasks .section-title {
  margin-bottom: 60px;
}

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr;
  gap: 80px;
  margin: 39px 0 0;
  padding: 0;
  counter-reset: item;
  list-style: none;
}

.process-list::before {
  position: absolute;
  top: 35px;
  right: 0%;
  left: 0%;
  height: 8px;
  content: "";
  background: linear-gradient(90deg, rgba(71, 185, 244, 0) 0%, #47b9f4 50%, rgba(71, 185, 244, 0) 100%);
  border-radius: 10px;
}

.process-list .arrow_line_task {
  width: 32px;
  height: 32px;
  margin-top: 23px;
}

.process-list li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process-list__number {
  z-index: 1;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  margin-bottom: 14px;
  color: var(--text);
  background: linear-gradient(234deg, #0bf 0%, #8d67ff 82.69%);
  border-radius: 50%;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
}

.process-list__number svg {
  width: 44px;
  height: 44px;
}

.process-list strong {
  font-size: 20px;
}

.process-list p {
  max-width: 280px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.formats {
  padding-top: 150px;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}

.format-grid .format-grid_parralax {
  position: absolute;
  top: -94px;
  left: -40px;
  width: calc(100% + 170px);
  height: calc(100% + 185px);
  background-repeat: no-repeat;
  background-image: url(./../img/medcontent/parallax_1.png);
  background-position: 50% 50%;
  background-size: contain;
  pointer-events: none;
}

.format-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.format-card h3 {
  text-transform: uppercase;
  background: linear-gradient(127deg, #0fa 0%, #0bf 50%, #8d67ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 1.3;
  text-transform: uppercase;
  justify-content: space-between;
}

.format-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 20px;
}

.format-card .brief {
  -webkit-backdrop-filter: blur(100px);
  backdrop-filter: blur(100px);
  box-shadow: 0 4px 8px 1px rgba(0, 0, 0, 0.25);
  background: linear-gradient(320deg, rgba(58, 64, 94, 0.7) 0%, rgba(70, 82, 145, 0.7) 100%);
  border: 1px solid #465291;
  border-radius: 10px;
  padding: 18px 36px;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}

.format-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.format-card__list li {
  position: relative;
  display: flex;
  align-content: center;
  padding: 16px 10px;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  gap: 6px;
}

.format-card__info {
  display: flex;
  flex-direction: column;
}

.format-card__list .circle_info {
  display: flex;
  align-items: center;
  gap: 9px;
}

.format-card__list span {
  width: -moz-max-content;
  width: max-content;
  border-radius: 50px;
  padding: 3px 12px;
  color: var(--mint);
  background: rgba(0, 255, 170, 0.1);
  border-radius: 50px;
  font-size: 14px;
}

.format-card__list span.blue {
  color: #0bf;
  background: rgba(0, 187, 255, 0.1);
}

.format-card__list span.violet {
  color: #b28cff;
  background: rgba(162, 124, 255, 0.1);
}

.format-card__list strong {
  margin-top: 6px;
  font-size: 16px;
}

.format-card__list b {
  display: grid;
  min-width: 35px;
  aspect-ratio: 1/1;
  place-items: center;
  color: var(--mint);
  background: rgba(0, 255, 170, 0.05);
  border-radius: 50%;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 11px;
}

.format-card__list .langs_access {
  display: flex;
  align-items: center;
}

.format-card__list .langs_access > div {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.format-card__list .langs_access > div:not(:first-child) {
  margin-left: -9px;
  box-shadow: -7px 0 5px 0 rgba(0, 0, 0, 0.4);
}

.format-card__list .langs_access .ru {
  background: url("../img/medcontent/ru.svg") center/contain no-repeat;
}

.format-card__list .langs_access .eng {
  background: url("../img/medcontent/eng.svg") center/contain no-repeat;
}

ul.format-card__subjects {
  display: grid;
  gap: 12px;
  align-content: start;
  color: var(--text);
  font-size: 17px;
  list-style: disc;
  border: 1px solid #465291;
  border-radius: 10px;
  padding: 12px;
  padding-left: 30px;
}

.format-card__subjects li {
  padding-bottom: 7px;
}

.content-stats {
  display: flex;
  margin-top: 30px;
  gap: 160px;
  overflow: hidden;
  border-radius: var(--radius);
  z-index: 1;
  position: relative;
  -webkit-backdrop-filter: blur(100px);
  backdrop-filter: blur(100px);
  box-shadow: 0 4px 8px 1px rgba(0, 0, 0, 0.25);
  background: url("./../img/medcontent/content-stats.png"), linear-gradient(320deg, rgba(58, 64, 94, 0.7) 0%, rgba(70, 82, 145, 0.7) 100%);
  background-repeat: no-repeat;
  background-position: right;
  background-size: contain;
  padding: 40px 60px;
}

.content-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.content-stats strong,
.about-stats strong {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  line-height: 1;
  font-weight: 700;
  font-size: 60px;
  text-transform: uppercase;
  background: linear-gradient(127deg, #0fa 0%, #0bf 50%, #8d67ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
}

.content-stats span,
.about-stats span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 23px;
}

.platform {
  background: linear-gradient(180deg, transparent, rgba(24, 31, 57, 0.48));
  position: relative;
  padding-bottom: 60px;
}

.platform::before {
  content: "";
  display: block;
  inset: 0;
  position: absolute;
  background-image: url("./../img/medcontent/browser-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.2;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  pointer-events: none;
  z-index: -1;
  background-attachment: fixed;
}

.visual-browser {
  display: flex;
  flex-direction: column;
}

.visual-browser .browser-head {
  border-radius: 20px 20px 0 0;
  border: 1px solid #465291;
  overflow: hidden;
}

.visual-browser .browser-head img {
  width: 100%;
  height: auto;
}

.visual-browser .browser-body {
  display: grid;
  border: 1px solid #465291;
  border-radius: 0 0 20px 20px;
  background: #2c3552;
  overflow: hidden;
  position: relative;
}

.visual-browser .browser-body::before {
  content: "";
  display: block;
  inset: 0;
  position: absolute;
  background-image: url("./../img/medcontent/browser-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.2;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  pointer-events: none;
  background-attachment: fixed;
}

.visual-browser .browser-screen {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-area: 1/1;
  align-items: center;
  padding: 30px 19px 30px 94px;
  overflow: hidden;
  justify-content: space-between;
  background: transparent;
}

.visual-browser .browser-screen:nth-child(1) {
  z-index: 4;
}

.visual-browser .browser-screen:nth-child(2) {
  z-index: 3;
}

.visual-browser .browser-screen:nth-child(3) {
  z-index: 2;
}

.visual-browser .browser-screen:nth-child(4) {
  z-index: 1;
}

.visual-browser .browser-text {
  will-change: transform, opacity;
}

.visual-browser .browser-preview-title {
  position: relative;
  z-index: 0;
}

.visual-browser .browser-preview-title svg {
  position: absolute;
  bottom: 11px;
  right: 90%;
  z-index: -1;
}

.visual-browser .browser-preview-title h4 {
  font-family: "IBM Plex Mono", sans-serif;
  font-weight: 400;
  font-size: 30px;
  color: #d9d9d9;
}

.visual-browser .browser-preview {
  position: relative;
  overflow: hidden;
  clip-path: inset(0);
  will-change: clip-path;
  border-radius: 10px;
  overflow: hidden;
}

.visual-browser .browser-preview svg {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translate(50%, -50%);
  width: 53%;
  aspect-ratio: 1;
  z-index: 1;
}

.visual-browser .browser-preview img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  max-width: 820px;
}

.about {
  overflow: hidden;
  padding-bottom: 200px;
}

.about-inner {
  position: relative;
}

.about-inner::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  top: -60px;
  width: 100%;
  height: calc(100% + 120px);
  background: url("./../img/medcontent/about_bg.png") center/contain no-repeat;
  pointer-events: none;
}

.about .container {
  position: relative;
}

.about-stats {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.9fr;
  gap: 50px;
  position: relative;
  max-width: 1063px;
  margin: 0 auto;
}

.about-stats__parralax {
  position: absolute;
  top: -60px;
  left: -83px;
  width: calc(100% + 166px);
  height: calc(100% + 102px);
  background-image: url("./../img/medcontent/about_circle.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.about-stats .glass-card {
  display: flex;
  min-height: 192px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.about-stats__note {
  color: var(--muted);
  font-size: 14px;
  max-width: 1063px;
  margin: 22px auto 0;
}

.advantages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  aign-items: center;
  justify-content: center;
  gap: 10px 40px;
  margin-top: 100px;
}

.advantage-card {
  display: flex;
  min-height: 80px;
  gap: 18px;
  border: 1px solid #465291;
  border-radius: 10px;
  padding: 15px 30px 15px 20px;
  -webkit-backdrop-filter: blur(100px);
  backdrop-filter: blur(100px);
  box-shadow: 0 4px 8px 1px rgba(0, 0, 0, 0.25);
  background: linear-gradient(320deg, rgba(58, 64, 94, 0.6) 0%, rgba(70, 82, 145, 0.6) 100%);
  width: -moz-fit-content;
  width: fit-content;
  align-items: center;
}

.advantage-card:nth-child(even) {
  margin-right: auto;
}

.advantage-card:nth-child(odd) {
  margin-left: auto;
}

.advantage-card span {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  color: var(--canvas);
  background: var(--gradient);
  border-radius: 50%;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
}

.advantage-card p {
  font-size: 20px;
  font-weight: 600;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 90px 0 65px;
  background: linear-gradient(180deg, #252d49, #1d2540);
}

.site-footer::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.4;
  background: url("./../img/medcontent/platform-bg.jpg") center/cover;
  mix-blend-mode: lighten;
}

.site-footer__inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 1;
}

.site-footer h2 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 40px;
}

.site-footer__lead {
  margin-top: 20px;
  color: var(--muted);
  font-size: 20px;
}

.contact-list {
  display: grid;
  width: 494px;
  gap: 10px;
  margin-top: 30px;
  font-style: normal;
}

.contact-card {
  display: grid;
  min-height: 94px;
  align-items: center;
  grid-template-columns: 50px 1fr 48px;
  gap: 10px;
  padding: 20px;
}

.contact-card a:hover strong {
  color: var(--cyan);
}

.contact-card svg {
  min-width: 48px;
}

a.contact-card:hover strong {
  color: var(--cyan);
}

.contact-card__icon {
  width: 50px;
  height: 50px;
}

.contact-card span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.contact-card small {
  color: var(--muted);
  font-size: 16px;
}

.contact-card strong {
  font-size: 18px;
  font-weight: 600;
  transition: color 0.3s;
}

.site-footer__legal {
  margin-top: 30px;
  font-size: 14px;
}

.site-footer__legal a {
  color: var(--cyan);
  text-decoration: underline;
  transition: color 0.3s;
}

.site-footer__legal a:hover {
  color: var(--mint);
}

.site-footer__logo {
  position: absolute;
  top: 0;
  right: 0;
  width: 447px;
  height: 450px;
  -o-object-fit: contain;
  object-fit: contain;
  pointer-events: none;
  z-index: -1;
}

.tasks {
  overflow: hidden;
}

.tasks::before {
  position: absolute;
  inset: 0;
  content: "";
  background: url("../img/medcontent/task-dots.png") center/1250px auto no-repeat;
}

.tasks .container {
  position: relative;
}

.tasks-map__inner {
  position: relative;
  max-width: 1450px;
  margin: 0 auto;
  aspect-ratio: 1450/560;
}

.tasks-map__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tasks-map__sphere {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(360 * min(100vw - 40px, 1450px) / 1450);
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "IBM Plex Mono", sans-serif;
  font-weight: 700;
  font-size: calc(31 * min(100vw - 40px, 1450px) / 1450);
  text-align: center;
  color: #fff;
}

.tasks-map__list li {
  position: absolute;
  display: flex;
  align-items: center;
  min-height: calc(84 * min(100vw - 40px, 1450px) / 1450);
  padding: calc(20 * min(100vw - 40px, 1450px) / 1450) calc(30 * min(100vw - 40px, 1450px) / 1450);
  font-size: clamp(14px, 20 * min(100vw - 40px, 1450px) / 1450, 20px);
  font-weight: 700;
  border: 1px solid #465291;
  border-radius: 10px;
  -webkit-backdrop-filter: blur(70px);
  backdrop-filter: blur(70px);
  box-shadow: 0 4px 8px 1px rgba(0, 0, 0, 0.25);
  background: linear-gradient(320deg, rgba(58, 64, 94, 0.6) 0%, rgba(70, 82, 145, 0.6) 100%);
}

.tasks-map__list li:nth-child(1) {
  top: calc(70 / 560 * 100%);
  left: calc(126 / 1450 * 100%);
  width: calc(360 / 1450 * 100%);
}

.tasks-map__list li:nth-child(2) {
  top: calc(240 / 560 * 100%);
  left: calc(100 / 1450 * 100%);
  width: calc(320 / 1450 * 100%);
}

.tasks-map__list li:nth-child(3) {
  top: calc(410 / 560 * 100%);
  left: calc(100 / 1450 * 100%);
  width: calc(360 / 1450 * 100%);
}

.tasks-map__list li:nth-child(4) {
  top: calc(70 / 560 * 100%);
  left: calc(913 / 1450 * 100%);
  width: calc(388 / 1450 * 100%);
}

.tasks-map__list li:nth-child(5) {
  top: calc(240 / 560 * 100%);
  left: calc(986 / 1450 * 100%);
  width: calc(414 / 1450 * 100%);
}

.tasks-map__list li:nth-child(6) {
  top: calc(410 / 560 * 100%);
  left: calc(913 / 1450 * 100%);
  width: calc(411 / 1450 * 100%);
}

.tasks-map__sphere_mob {
  display: none;
}

.tasks-map__lines_mob {
  display: none;
}

.modal__hero {
  display: grid;
  min-height: 226px;
  place-items: center;
  margin: 0 -40px 25px;
  background: linear-gradient(rgba(44, 53, 82, 0.52), var(--surface)), url("./../img/medcontent/platform-bg.jpg") center 45%/cover;
}

html {
  scroll-behavior: auto;
}

html.lock {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  padding-right: var(--scrollbar-width);
}

dialog {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 0;
  border: none;
  animation: dialog 300ms ease forwards 1;
  will-change: scale, opacity;
  background-color: transparent;
  transform: translateX(0);
  height: 100%;
  width: 100%;
}

dialog::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  will-change: opacity;
  background: rgba(8, 12, 27, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: backdrop 500ms ease forwards 1;
}

dialog[open=""] {
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

dialog[open=""]::before {
  opacity: 1;
}

dialog .dialog_wrapper {
  overflow: auto;
  position: relative;
  max-height: 100%;
  overscroll-behavior: contain;
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.08);
  background: var(--surface);
  border-radius: 10px;
  padding: 0 40px 40px;
  max-width: 100vw;
  width: -moz-fit-content;
  width: fit-content;
  scrollbar-color: var(--mint) var(--surface);
  scrollbar-width: thin;
}

dialog .dialog_close {
  cursor: pointer;
  background: none;
  outline: none;
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: auto;
  color: #000;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  transition: all 0.2s ease;
}

.dialog_form_wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.dialog_form_wrapper h2 {
  font-family: "Play", sans-serif;
  font-weight: 400;
  font-size: 54px;
  line-height: 1;
  letter-spacing: -0.08em;
  color: #fff;
  margin: 0;
  padding: 0 0 40px;
  position: relative;
  width: 100%;
  text-align: center;
}

.dialog_form_wrapper form {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 867px;
  max-width: 100%;
}

.dialog_form_wrapper input {
  color: #fff;
  border-radius: 0px;
  border: none;
  background-color: transparent;
  border-bottom: 1px solid #404b72;
  padding: 18px 21px;
  line-height: 1.4;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  outline: none;
  width: 100%;
}

.dialog_form_wrapper input:focus {
  border-color: #fff;
}

.dialog_form_wrapper input::-moz-placeholder {
  color: #fff;
}

.dialog_form_wrapper input::placeholder {
  color: #fff;
}

.dialog_form_wrapper button {
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 22px;
  max-height: 52px;
}

.dialog_form_wrapper button:hover span {
  line-height: 42px;
}

.dialog_form_wrapper button span {
  line-height: 52px;
}

.dialog_form_wrapper button:disabled {
  border-color: var(--muted);
  color: var(--muted);
  transform: none !important;
}

.dialog_form_wrapper .checkbox {
  display: flex;
  align-items: flex-start;
  color: #fff;
  font-weight: 400;
  font-size: 14px;
  text-align: justify;
  line-height: 16px;
  gap: 10px;
}

.dialog_form_wrapper .checkbox input {
  accent-color: var(--cyan);
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 0;
}

.dialog_form_wrapper .checkbox a {
  text-decoration: underline;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
  color: var(--cyan);
  transition: color 0.2s ease;
}

.dialog_form_wrapper .checkbox a:hover {
  color: var(--mint);
  text-decoration: none;
}

.dialog_form_wrapper .captcha .captcha_text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-align: justify;
  color: #fff;
  margin-bottom: 2px;
}

.dialog_form_wrapper .captcha img {
  display: block;
  margin-bottom: 2px;
}

.dialog_form_wrapper .response-text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-align: justify;
  color: #fff;
  margin-bottom: 2px;
}

.dialog_form_wrapper .response-text.error {
  color: #fd3131;
  padding: 20px;
  background: #fff;
  border-radius: 6px;
}

#success-modal .dialog_wrapper {
  padding-bottom: 0;
}

#success-modal .modal__hero {
  margin-bottom: 0;
  padding: 40px;
}

#success-modal .modal__hero h2 {
  padding-bottom: 0;
  letter-spacing: normal;
}

@keyframes dialog {
  from {
    transform: translateX(100vw);
    opacity: 0;
  }
}

@keyframes backdrop {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 1500px) {
  .content-stats {
    gap: 100px;
  }

  .site-header__inner {
    padding-inline: 28px;
  }

  .hero__laptop {
    left: 760px;
    width: 920px;
  }
}

@media (max-width: 1279px) {
  .visual-browser .browser-screen {
    padding-left: 80px;
  }

  .visual-browser .browser-preview-title svg {
    width: 60px;
    height: 60px;
    right: 100%;
    bottom: unset;
    top: -12px;
  }

  .site-header__toggle {
    position: relative;
    z-index: 3;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    order: 3;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
  }

  .site-header__toggle-lines,
  .site-header__toggle-lines::before,
  .site-header__toggle-lines::after {
    display: block;
    width: 22px;
    height: 2px;
    content: "";
    background: currentColor;
    transition: transform 0.25s var(--ease);
  }

  .site-header__toggle-lines::before {
    transform: translateY(-7px);
  }

  .site-header__toggle-lines::after {
    transform: translateY(5px);
  }

  .site-header__toggle[aria-expanded=true] .site-header__toggle-lines {
    background: transparent;
  }

  .site-header__toggle[aria-expanded=true] .site-header__toggle-lines::before {
    transform: translateY(0) rotate(45deg);
  }

  .site-header__toggle[aria-expanded=true] .site-header__toggle-lines::after {
    transform: translateY(-2px) rotate(-45deg);
  }

  .site-header__contact {
    display: none;
  }

  .site-header__nav {
    position: fixed;
    top: 74px;
    right: 0;
    display: flex;
    width: min(420px, 100%);
    height: calc(100dvh - 74px);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 40px 40px 40px;
    font-size: 22px;
    background: #202943;
    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s var(--ease);
    z-index: 100;
  }

  .site-header__nav.is-open {
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .site-header__nav.is-open .site-header__contact {
    display: flex;
    margin-top: auto;
    align-items: flex-start;
  }

  .site-header__inner > .button {
    margin-left: auto;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 100px;
  }

  .hero__copy {
    width: min(760px, 100%);
    width: 100%;
  }

  .hero__laptop {
    position: relative;
    left: 28%;
    width: 92%;
    margin-top: -210px;
    opacity: 0.38;
    pointer-events: none;
    display: none;
  }

  .hero__benefits {
    width: 100%;
  }

  .tasks::before {
    background-size: cover;
  }

  .tasks-map {
    min-height: auto;
  }

  .tasks-map__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .tasks-map__list li:nth-child(even) {
    transform: none;
  }

  .process-list {
    gap: 30px;
  }

  .format-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding-bottom: 16px;
  }

  .format-grid_parralax {
    display: none;
  }

  .format-card {
    scroll-snap-align: start;
  }

  .about-stats {
    gap: 20px;
  }

  .about-stats .glass-card {
    padding: 24px 16px;
  }

  .about-stats strong,
  .content-stats strong {
    font-size: 42px;
  }

  .advantages {
    gap: 10px;
  }

  .site-footer__logo {
    width: 34vw;
  }

  .modal__dialog {
    padding-inline: 56px;
  }
}

@media (max-width: 1023px) {
  .content-stats {
    justify-content: space-between;
    background: linear-gradient(320deg, rgba(58, 64, 94, 0.7) 0%, rgba(70, 82, 145, 0.7) 100%);
    gap: 40px;
  }

  .tasks-map__sphere {
    display: none;
  }

  .tasks-map__sphere_mob {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
  }

  .tasks-map__lines {
    display: none;
  }

  .tasks-map__lines_mob {
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
  }

  .tasks-map__inner {
    margin-left: -24px;
    padding-left: 24px;
  }

  .tasks-map__list {
    padding-left: 126px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .tasks-map__list li {
    width: 220px !important;
    font-size: 14px;
    padding: 10px;
    position: static;
    font-weight: 500;
  }
}

@media (max-width: 769px) {
  .visual-browser .browser-screen {
    grid-template-columns: 1fr;
  }

  .visual-browser .browser-preview-title h4 {
    margin-left: 65px;
  }
}

@media (max-width: 767px) {
  .content-stats {
    flex-direction: column;
    padding: 40px;
  }

  .visual-browser .browser-body::before {
    display: none;
  }

  .about-inner::before {
    display: none;
  }

  .advantage-card {
    margin: 0;
    width: 100%;
  }

  .tasks-map__inner {
    margin-left: -16px;
    padding-left: 16px;
  }

  .tasks-map__list {
    padding-left: 134px;
  }

  .container,
  .container--wide {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding-block: 50px;
  }

  .section-title {
    margin-bottom: 42px;
    font-size: clamp(24px, 6vw, 36px);
  }

  .site-header__inner {
    min-height: 74px;
    padding: 10px 16px;
  }

  .site-header__logo,
  .site-header__logo img {
    width: 46px;
    height: 46px;
  }

  .site-header__inner > .button {
    display: none;
  }

  .site-header__nav {
    width: 100%;
  }

  .hero {
    padding-top: 50px;
  }

  .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(31px, 9.6vw, 43px);
    line-height: 1.18;
  }

  .hero__lead {
    font-size: 18px;
  }

  .hero__lead::before {
    width: 48px;
    height: 48px;
    top: -20px;
    left: -20px;
  }

  .hero__actions {
    display: grid;
    gap: 12px;
    margin-top: 46px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__benefits {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .benefit-card {
    min-height: auto;
    padding: 22px;
  }

  .hero__laptop {
    left: 0;
    width: 128%;
    margin: 48px 0 0 8%;
    opacity: 0.82;
    transform: perspective(900px) rotateY(-5deg);
  }

  .tasks-map__list {
    grid-template-columns: 1fr;
  }

  .tasks-map__list li {
    min-height: 78px;
    font-size: 17px;
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 23px;
    padding-top: 70px;
    padding-bottom: 70px;
    grid-template-rows: auto 32px auto 32px auto;
  }

  .process-list::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 34px;
    width: 11px;
    height: auto;
    background: linear-gradient(0deg, rgba(71, 185, 244, 0) 0%, #47b9f4 50%, rgba(71, 185, 244, 0) 100%);
  }

  .process-list .arrow_line_task {
    margin-top: 0;
    transform: rotate(90deg) translate(0px, 74px);
  }

  .process-list li {
    min-height: 90px;
    align-items: flex-start;
    padding-left: 98px;
    text-align: left;
  }

  .process-list__number {
    position: absolute;
    top: 0;
    left: 0;
  }

  .process-list p {
    max-width: none;
  }

  .format-card {
    padding: 26px;
  }

  .format-card h3 {
    font-size: 30px;
  }

  .format-card p {
    font-size: 17px;
  }

  .content-stats {
    grid-template-columns: 1fr;
  }

  .content-stats div {
    min-height: 130px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .content-stats div:last-child {
    border-bottom: 0;
  }

  .platform-preview {
    overflow: hidden;
    border-radius: 12px;
  }

  .platform-preview img {
    width: 155%;
    max-width: none;
    transform: translateX(-9%);
  }

  .visual-browser .browser-body {
    display: flex;
    flex-direction: column;
  }

  .visual-browser .browser-screen {
    grid-area: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 34px 20px;
    clip-path: none;
    will-change: auto;
  }

  .visual-browser .browser-text,
  .visual-browser .browser-preview {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    will-change: auto;
  }

  .visual-browser .browser-preview-title h4 {
    font-size: 24px;
  }

  .visual-browser .browser-preview-title svg {
    right: auto;
    left: -12px;
  }

  .visual-browser .browser-preview svg {
    width: min(72vw, 300px);
    height: min(72vw, 300px);
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-stats .glass-card {
    min-height: 145px;
  }

  .advantages {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .advantage-card:nth-child(2),
  .advantage-card:nth-child(4) {
    transform: none;
  }

  .advantage-card p {
    font-size: 17px;
  }

  .site-footer {
    padding-top: 78px;
  }

  .site-footer__inner {
    flex-direction: column;
  }

  .site-footer__content,
  .contact-list {
    width: 100%;
  }

  .site-footer h2 {
    font-size: 32px;
  }

  .site-footer__lead {
    font-size: 17px;
  }

  .contact-card {
    grid-template-columns: 50px 1fr 48px;
    padding: 16px;
  }

  .contact-card small {
    font-size: 13px;
  }

  .contact-card strong {
    font-size: 15px;
  }

  .site-footer__logo {
    width: 72vw;
    height: auto;
    align-self: center;
    margin-top: 36px;
    opacity: 0.55;
  }

  .scroll-top {
    width: 56px;
    height: 56px;
  }

  .modal {
    padding: 10px;
  }

  .modal__dialog {
    max-height: calc(100dvh - 20px);
    padding: 0 20px 34px;
  }

  .modal__hero {
    min-height: 150px;
    margin-bottom: 22px;
  }

  .modal__hero h2 {
    font-size: 30px;
  }

  .modal__close {
    top: 14px;
    right: 14px;
  }

  .request-form {
    gap: 16px;
  }

  .request-form .button {
    width: 100%;
  }
}

@media (width <= 1023px) {
  .modal__hero {
    margin: 0 -16px 25px;
  }

  dialog .dialog_wrapper {
    width: 100vw;
    padding: 0 16px 40px;
  }
}

@media (width <= 767px) {
  dialog {
    max-width: 100vw;
    max-height: 100vh;
  }

  dialog .dialog_wrapper {
    box-shadow: none;
    height: 100vh;
    border-radius: 0;
  }

  .dialog_form_wrapper h2 {
    font-size: 40px;
  }

  #success-modal .dialog_wrapper {
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .visual-browser .browser-body {
    display: flex;
    flex-direction: column;
  }

  .visual-browser .browser-screen {
    grid-area: auto;
    clip-path: none !important;
    will-change: auto;
  }

  .visual-browser .browser-text,
  .visual-browser .browser-preview {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    will-change: auto;
  }
}