:root {
  --color-bg: #051b54;
  --color-text: #ffffff;
  --color-muted: #d1daf3;
  --color-blue2-from: #7ea0fa;
  --color-blue2-to: #093095;
  --page-pad-x: max(20px, 10vw);
  --page-pad-y: clamp(48px, 8vh, 100px);
  --section-gap: clamp(32px, 5vw, 60px);

  --fs-welcome: clamp(18px, 0.4vw + 16.5px, 20px);
  --fs-lead: clamp(14px, 0.4vw + 12.5px, 16px);
  --fs-action: clamp(14px, 0.4vw + 12.5px, 16px);
  --fs-btn: clamp(12px, 0.4vw + 10.5px, 14px);
  --fs-requisites: clamp(12px, 1.5vw + 6px, 20px);
  --lh-welcome: 1.5;
  --lh-lead: 1.2;
  --lh-action: 1.2;
  --lh-btn: 1.2;
  --lh-requisites: 1.2;
  --gap-requisites: clamp(12px, 1.5vw + 6px, 24px);
  --gap-requisites-title: 0px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.rounds {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.round {
  position: absolute;
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url('assets/round.svg');
}

.round--1 {
  width: 28.8vw;
  height: 28.8vw;
  top: 0;
  left: 0;
  transform: translate(-40%, -40%);
}

.round--2 {
  width: 42.6vw;
  height: 42.6vw;
  top: -16%;
  right: -8%;
}

.round--3 {
  width: 26.6vw;
  height: 26.6vw;
  bottom: 0;
  left: 20vw;
  transform: translate(-50%, 50%);
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}

.page__top {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--section-gap);
  padding: var(--page-pad-y) var(--page-pad-x) var(--section-gap);
}

.page__bottom {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  padding: 0 var(--page-pad-x) clamp(24px, 5vh, 60px);
}

.page__brand {
  display: block;
  width: min(43vw, 560px);
  max-width: 100%;
  height: auto;
}

.page__operator {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  column-gap: clamp(12px, 2vw, 25px);
  min-width: 0;
}

.page__komit-wrap {
  position: relative;
  height: 100%;
  aspect-ratio: 198 / 216;
  min-width: 0;
  min-height: 0;
}

.page__komit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page__requisites {
  display: flex;
  flex-direction: column;
  gap: var(--gap-requisites);
  min-width: 0;
  font-size: var(--fs-requisites);
  line-height: var(--lh-requisites);
  font-weight: 400;
  color: var(--color-muted);
}

.page__requisites p {
  margin: 0;
}

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

.page__requisites-title {
  margin: 0 0 var(--gap-requisites-title);
  font-size: inherit;
  line-height: inherit;
  font-weight: 700;
  text-transform: uppercase;
}

.page__logo {
  max-width: 100%;
}

.page__logo img {
  display: block;
  width: 55vw;
  max-width: none;
  height: auto;
}

.page__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 52rem;
}

.page__welcome {
  margin: 0;
  font-size: var(--fs-welcome);
  line-height: var(--lh-welcome);
  font-weight: 600;
  color: #ffffff;
}

.page__lead {
  margin: 0;
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  font-weight: 400;
  color: var(--color-muted);
}

.page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(40px, 10vw, 150px);
  width: 100%;
}

.action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  flex: 0 0 auto;
  width: fit-content;
  max-width: 100%;
}

.action__icon {
  width: clamp(56px, 8vw, 80px);
  height: clamp(56px, 8vw, 80px);
}

.action__text {
  margin: 0;
  font-size: var(--fs-action);
  line-height: var(--lh-action);
  font-weight: 600;
  color: var(--color-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 1vw + 6px, 13px) clamp(16px, 2vw + 8px, 30px);
  border: none;
  border-radius: 10px;
  background: linear-gradient(131.23deg, var(--color-blue2-from) 12.3%, var(--color-blue2-to) 128.8%);
  color: #ffffff;
  font-size: var(--fs-btn);
  line-height: var(--lh-btn);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.18s ease;
  max-width: 100%;
}

.btn:hover {
  background: linear-gradient(112.95deg, #3061e2 2.5%, var(--color-blue2-to) 100%);
}

.btn:active {
  background: linear-gradient(var(--color-blue2-to), var(--color-blue2-to));
}

@media (max-width: 1024px) {
  .page__bottom {
    flex-direction: column;
    align-items: center;
  }

  .page__brand {
    width: min(70vw, 420px);
  }
}

@media (max-width: 768px) {
  :root {
    --page-pad-x: 5vw;
    --page-pad-y: 100px;
    --section-gap: 48px;
    --gap-requisites: 0px;
    --gap-requisites-title: 15px;
    --fs-requisites: 12px;
    --lh-requisites: 1.25;
  }

  .round--1 {
    width: 70.3vw;
    height: 70.3vw;
    top: 0;
    left: 0;
    transform: translate(-40%, -50%);
  }

  .round--2 {
    width: 63.9vw;
    height: 63.9vw;
    top: 50vh;
    right: 0;
    transform: translate(50%, -50%);
  }

  .round--3 {
    width: 81vw;
    height: 81vw;
    bottom: 0;
    left: 0;
    transform: translate(-20%, 40%);
  }

  .page__top {
    justify-content: flex-start;
    align-items: center;
  }

  .page__logo {
    align-self: flex-start;
  }

  .page__logo img {
    width: 80vw;
    max-width: none;
  }

  .page__info {
    align-self: stretch;
    align-items: flex-start;
    text-align: left;
  }

  .page__actions {
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }

  .action {
    flex: 0 1 auto;
    max-width: none;
    width: 100%;
  }

  .page__brand {
    display: none;
  }

  .page__bottom {
    justify-content: center;
    padding: 0 5vw 40px;
  }

  .page__operator {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }
}
