body {
  margin: 0;
}
.clean-brand-mark {
  display: block;
  width: 100%;
  height: 100%;
  background-color: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}
.clean-brand-mark--rezhim {
  mask-image: url('https://dcontract-brand-media.storage.yandexcloud.net/v1/chistotaon/logo-rezhim.svg');
}
.clean-brand-mark--chistoty {
  mask-image: url('https://dcontract-brand-media.storage.yandexcloud.net/v1/chistotaon/logo-chistoty.svg');
}
.clean-brand-mark--full {
  mask-image: url('https://dcontract-brand-media.storage.yandexcloud.net/v1/chistotaon/logo-full.svg');
}
:root {
  --clean-blue: #00a5ff;
  --clean-blue-rgb: 0, 165, 255;
  --clean-gray-bg: #747474;
  --clean-gray-track: #b8b8b8;
  --clean-gray-text: #6f6f6f;
  --clean-light: #f4f4f4;
  --clean-white: #fff;
  --clean-black: #111;
  --clean-radius: 999px;
  --clean-font: 'Montserrat', Arial, Helvetica, sans-serif;
  --clean-title-size: clamp(42px, 6vw, 84px);
}

.clean-svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.clean-mode-site,
.clean-mode-site *,
.clean-mode-site *::before,
.clean-mode-site *::after {
  box-sizing: border-box;
}
.clean-mode-site {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: visible;
  font-family: var(--clean-font);
  color: var(--clean-white);
}
.clean-mode-site button,
.clean-mode-site a {
  font: inherit;
}
.clean-main-title {
  margin: 0;
  font-size: var(--clean-title-size);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.018em;
}

/* HERO */
.clean-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 80px 24px;
  background: radial-gradient(circle at 50% 42%, #8a8a8a 0%, var(--clean-gray-bg) 58%, #686868 100%);
  transition: background 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.clean-hero.is-active {
  background: radial-gradient(circle at 50% 42%, #fff 0%, var(--clean-light) 62%, #ebebeb 100%);
}
.clean-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(960px, 100%);
  text-align: center;
}
.clean-hero__title {
  max-width: 930px;
  margin-bottom: 58px;
  color: var(--clean-white);
  transition:
    color 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.clean-hero.is-active .clean-hero__title {
  color: var(--clean-black);
  transform: translateY(-8px);
}

/* SWITCH */
.clean-switch {
  position: relative;
  display: block;
  width: min(860px, 92vw);
  padding: 0;
  border: 0;
  border-radius: var(--clean-radius);
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.clean-switch:focus-visible {
  outline: 4px solid rgba(var(--clean-blue-rgb), 0.38);
  outline-offset: 10px;
}
.clean-switch__track {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  aspect-ratio: 6.9669/1;
  overflow: hidden;
  border-radius: var(--clean-radius);
  background: var(--clean-gray-track);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    0 20px 50px rgba(0, 0, 0, 0.14);
  transition:
    background 700ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 700ms ease,
    transform 250ms ease;
}
.clean-switch:hover .clean-switch__track {
  transform: scale(1.012);
}
.clean-switch:active .clean-switch__track {
  transform: scale(0.992);
}
.clean-switch.is-active .clean-switch__track {
  background: var(--clean-blue);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.16),
    0 26px 74px rgba(var(--clean-blue-rgb), 0.3);
}
.clean-switch__thumb {
  position: absolute;
  top: 9%;
  bottom: 9%;
  left: 1.3%;
  z-index: 5;
  width: 54.5%;
  border-radius: var(--clean-radius);
  background: var(--clean-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition:
    transform 850ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 600ms ease;
}
.clean-switch.is-active .clean-switch__thumb {
  transform: translateX(80.4%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.clean-switch__off-text {
  position: absolute;
  top: 50%;
  right: 11%;
  z-index: 7;
  color: var(--clean-gray-text);
  font-size: clamp(20px, 2.7vw, 34px);
  font-weight: 500;
  line-height: 1.2;
  transform: translateY(-50%);
  transition:
    opacity 250ms ease,
    transform 500ms ease;
}
.clean-switch.is-active .clean-switch__off-text {
  opacity: 0;
  transform: translateY(-50%) translateX(20px);
}
.clean-switch__logo-part {
  position: absolute;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}
.clean-switch__logo-part svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.clean-switch__logo-part use {
  fill: currentColor;
}
.clean-switch__logo-part--rezhim {
  left: 6.2%;
  width: 34.5%;
  color: var(--clean-white);
  transform: translateY(7px) scale(0.98);
  transition:
    opacity 320ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.clean-switch.is-active .clean-switch__logo-part--rezhim {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 270ms;
}
.clean-switch__logo-part--chistoty {
  right: 7.1%;
  width: 43.3%;
  color: var(--clean-blue);
  transform: translateY(7px) scale(0.98);
  transition:
    opacity 75ms ease,
    transform 150ms ease;
}
.clean-switch.is-active .clean-switch__logo-part--chistoty {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 360ms ease 400ms,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1) 350ms;
}
.clean-switch__pulse {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--clean-radius);
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  pointer-events: none;
}
.clean-switch.is-pulsing .clean-switch__pulse {
  animation: cleanSwitchPulse 2.4s ease-out infinite;
}
@keyframes cleanSwitchPulse {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  8% {
    opacity: 0.5;
    transform: scale(1);
  }
  50%,
  100% {
    opacity: 0;
    transform: scale(1.14, 1.45);
  }
}
.clean-hero__hint {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  transition:
    opacity 400ms ease,
    color 500ms ease,
    transform 500ms ease;
}
.clean-hero.is-active .clean-hero__hint {
  opacity: 0;
  color: rgba(17, 17, 17, 0.58);
  transform: translateY(8px);
}
.clean-hero__scroll-hint {
  position: absolute;
  top: calc(100% + 84px);
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clean-blue);
  opacity: 0;
  transform: translateX(-50%) translateY(15px);
  pointer-events: none;
  transition:
    opacity 500ms ease 750ms,
    transform 600ms ease 750ms;
}
.clean-hero.is-active .clean-hero__scroll-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.clean-hero__arrow {
  width: 18px;
  height: 18px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
  animation: cleanArrowMove 1.6s ease-in-out infinite;
}
@keyframes cleanArrowMove {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  50% {
    transform: translateY(7px) rotate(45deg);
  }
}

/* MARKETPLACES */
.clean-marketplaces {
  --scroll-progress: 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 140svh;
  padding: 150px 24px 110px;
  overflow: visible;
  isolation: isolate;
  background: var(--clean-blue);
  color: rgb(
    calc(17 + 238 * var(--scroll-progress)),
    calc(17 + 238 * var(--scroll-progress)),
    calc(17 + 238 * var(--scroll-progress))
  );
}
.clean-marketplaces__background {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 15%, #fff 0%, var(--clean-light) 62%, #ebebeb 100%);
  opacity: calc(1 - var(--scroll-progress));
  pointer-events: none;
}
.clean-marketplaces__content {
  width: min(1080px, 100%);
  text-align: center;
}
.clean-full-logo {
  position: relative;
  width: min(697px, 90vw);
  aspect-ratio: 696.69/100;
  margin: 0 auto 70px;
}
.clean-full-logo__svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.clean-full-logo__svg use {
  fill: currentColor;
}
.clean-full-logo__svg--blue {
  color: var(--clean-blue);
  opacity: calc(1 - var(--scroll-progress));
}
.clean-full-logo__svg--white {
  color: var(--clean-white);
  opacity: var(--scroll-progress);
}
.clean-marketplaces__title {
  max-width: 900px;
  margin: 0 auto 76px;
  color: rgb(calc(0 + 255 * var(--scroll-progress)), calc(165 + 90 * var(--scroll-progress)), 255);
}
.clean-marketplaces__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  width: 100%;
}
.clean-marketplace-icon {
  display: block;
  flex: 0 0 auto;
  border-radius: 50%;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.clean-marketplace-icon:focus-visible {
  outline: 4px solid rgba(255, 255, 255, 0.78);
  outline-offset: 10px;
}
.clean-marketplace-icon__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(132px, 17vw, 214px);
  aspect-ratio: 1;
  overflow: visible;
  border-radius: 50%;
  filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.08));
  transition:
    transform 440ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 440ms ease;
}
.clean-marketplace-icon__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transition: transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
}
.clean-marketplace-icon__image--yandex {
  width: 124%;
  height: 124%;
  max-width: none;
  transform: translateX(-1%);
}
.clean-marketplace-icon:hover .clean-marketplace-icon__circle {
  transform: translateY(-12px) scale(1.055);
  filter: drop-shadow(0 28px 28px rgba(0, 0, 0, 0.18));
}
.clean-marketplace-icon:hover .clean-marketplace-icon__image {
  transform: scale(1.025) rotate(-1deg);
}
.clean-marketplace-icon--yandex:hover .clean-marketplace-icon__image--yandex {
  transform: translateX(-1%) scale(1.025) rotate(-1deg);
}
.clean-marketplace-icon:active .clean-marketplace-icon__circle {
  transform: translateY(-4px) scale(0.965);
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.12));
  transition-duration: 120ms;
}

/* CONTACTS */
.clean-contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(940px, 100%);
  margin: 180px auto 0;
  text-align: center;
}
.clean-contacts__title {
  margin: 0 0 78px;
}
.clean-contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 42px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}
.clean-contact-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.clean-contact-item__label {
  margin: 0;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 500;
  line-height: 1.45;
  opacity: 0.72;
}
.clean-contact-item a {
  color: inherit;
  font-size: clamp(24px, 4vw, 47px);
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition:
    opacity 250ms ease,
    transform 250ms ease;
}
.clean-contact-item a:hover {
  opacity: 0.72;
  transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 760px) {
  :root {
    --clean-title-size: clamp(34px, 9.2vw, 48px);
  }
  .clean-main-title {
    line-height: 1.15;
    letter-spacing: -0.022em;
  }
  .clean-hero {
    padding: 56px 20px 72px;
  }
  .clean-hero__content {
    max-width: 560px;
  }
  .clean-hero__title {
    margin-bottom: 38px;
  }
  .clean-switch {
    width: 100%;
    max-width: 560px;
  }
  .clean-switch__track {
    aspect-ratio: 6.1/1;
  }
  .clean-switch__thumb {
    top: 8%;
    bottom: 8%;
    left: 1.4%;
    width: 54%;
  }
  .clean-switch.is-active .clean-switch__thumb {
    transform: translateX(81%);
  }
  .clean-switch__logo-part--rezhim {
    left: 6%;
    width: 35%;
  }
  .clean-switch__logo-part--chistoty {
    right: 6%;
    width: 44%;
  }
  .clean-switch__off-text {
    right: 9%;
    font-size: clamp(17px, 5vw, 24px);
  }
  .clean-hero__scroll-hint {
    top: calc(100% + 44px);
  }

  .clean-marketplaces {
    min-height: auto;
    padding: 88px 20px 96px;
  }
  .clean-marketplaces__content {
    max-width: 560px;
  }
  .clean-full-logo {
    width: 100%;
    max-width: 540px;
    margin-bottom: 52px;
  }
  .clean-marketplaces__title {
    max-width: 350px;
    margin: 0 auto 54px;
    font-size: clamp(30px, 7.4vw, 40px);
    line-height: 1.16;
    letter-spacing: -0.018em;
  }
  .clean-marketplaces__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 24px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    align-items: center;
    justify-items: center;
  }
  .clean-marketplace-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
  }
  .clean-marketplace-icon__circle {
    width: min(34vw, 160px);
    height: min(34vw, 160px);
  }
  .clean-marketplace-icon--yandex {
    grid-column: 1/-1;
    justify-self: center;
  }
  .clean-marketplace-icon__image--yandex {
    width: 124%;
    height: 124%;
    max-width: none;
    transform: translateX(-1%);
  }

  .clean-contacts {
    width: 100%;
    max-width: 560px;
    margin: 112px auto 0;
    padding-bottom: 44px;
  }
  .clean-contacts__title {
    margin-bottom: 44px;
    font-size: clamp(30px, 7.4vw, 40px);
    line-height: 1.16;
    letter-spacing: -0.018em;
  }
  .clean-contact-item {
    padding: 28px 0;
    gap: 14px;
  }
  .clean-contact-item__label {
    font-size: clamp(15px, 4.2vw, 20px);
    line-height: 1.4;
  }
  .clean-contact-item a {
    font-size: clamp(20px, 5.4vw, 31px);
    line-height: 1.25;
  }
}

@media (max-width: 390px) {
  .clean-marketplaces__title,
  .clean-contacts__title {
    font-size: clamp(24px, 7.6vw, 32px);
  }
  .clean-marketplace-icon__circle {
    width: 136px;
    height: 136px;
  }
  .clean-marketplaces__links {
    gap: 28px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clean-mode-site *,
  .clean-mode-site *::before,
  .clean-mode-site *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
