:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #101426;
  --muted: #667085;
  --line: #e8eaf2;
  --purple: #6d36ea;
  --purple-2: #a344f4;
  --green: #2fac66;
  --soft: #f7f8fc;
  --soft-2: #f4f7ff;
  --shadow: 0 26px 70px rgba(37, 42, 75, .11);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Roboto, Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}

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

.container {
  width: min(1200px, calc(100% - 92px));
  margin: 0 auto;
}

.topbar {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(232, 234, 242, .45);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
  width: min(1440px, calc(100% - 92px));
  min-height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.logo-mark {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 34px;
  border: 3px solid var(--purple);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(109, 54, 234, .16), rgba(255, 255, 255, .88));
}

.logo-mark::before {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 10px;
  height: 10px;
  border-left: 3px solid var(--purple);
  border-bottom: 3px solid var(--purple);
  border-radius: 0 5px 0 4px;
  background: #fff;
}

.logo-mark::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    var(--purple)
    url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.2 4L3.8 6.4L8.8 1' stroke='white' stroke-width='2' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E")
    center / 10px 8px no-repeat;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  color: #5f6878;
  font-size: 15px;
  font-weight: 400;
}

.nav a:hover,
.footer-links a:hover,
.document a:hover {
  color: var(--purple);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.topbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(90deg, var(--purple), var(--purple-2));
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(109, 54, 234, .18);
}

.document-main {
  padding: 70px 0 86px;
  background:
    radial-gradient(circle at 18% 0%, rgba(109, 54, 234, .08), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f8f9fd 100%);
}

.document {
  width: min(980px, 100%);
}

.document h1 {
  margin: 0 0 14px;
  color: #101426;
  font-size: 46px;
  line-height: 1.08;
  font-weight: 900;
}

.date,
.lead {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
  font-weight: 500;
}

.document h2 {
  margin: 36px 0 12px;
  color: #101426;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
}

.document p,
.document li {
  color: #394256;
  font-size: 17px;
}

.document p {
  margin: 0 0 14px;
}

.document ul {
  margin: 0;
  padding-left: 22px;
}

.document a {
  color: var(--purple);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.notice,
.requisites,
.info-card,
.tariff-card {
  border: 1px solid #dde4f0;
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 44px rgba(37, 42, 75, .06);
}

.notice,
.requisites {
  margin: 0 0 30px;
  padding: 22px 24px;
}

.requisites {
  margin-top: 16px;
  margin-bottom: 0;
  background: var(--soft);
}

.requisites p:last-child {
  margin-bottom: 0;
}

.tariff-page .document {
  width: min(1200px, calc(100% - 92px));
}

.tariff-page .hero {
  max-width: 780px;
  margin-bottom: 34px;
}

.tariff-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  padding: 34px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--purple);
  background: #f0e9ff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.tariff-card h2 {
  margin: 0 0 12px;
  font-size: 30px;
}

.tariff-text {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}

.features {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.features li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  color: #344054;
  font-size: 17px;
  font-weight: 600;
}

.check {
  width: 22px;
  height: 17px;
  margin-top: 3px;
  border-left: 5px solid var(--green);
  border-bottom: 5px solid var(--green);
  transform: rotate(-45deg);
}

.price-box {
  align-self: start;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--soft);
  text-align: center;
}

.price-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 700;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #071026;
  font-size: 58px;
  line-height: 1;
  font-weight: 900;
}

.price span {
  font-size: 32px;
}

.term {
  margin: 0 0 22px;
  color: #344054;
  font-size: 17px;
  font-weight: 700;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(90deg, var(--purple), var(--purple-2));
  font-size: 18px;
  font-weight: 900;
}

.document a.cta {
  color: #fff;
  text-decoration: none;
}

.document a.cta:hover {
  color: #fff;
}

.note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.info-card {
  padding: 24px;
}

.info-card h2 {
  margin-top: 0;
}

.footer {
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  color: #495466;
  font-size: 13px;
  font-weight: 600;
}

.footer-brand p {
  margin: 5px 0 0;
  color: #5f6979;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 400;
}

.footer-support {
  margin: 7px 0 0;
  color: #5f6979;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 400;
}

.footer-support a {
  color: #111827;
  font-weight: 600;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #5f6979;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 400;
}

.footer-requisites {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
}

.footer-requisites p {
  margin: 0;
}

.footer-requisites .footer-support {
  text-align: right;
}

.footer-requisites strong,
.requisites strong {
  color: #344054;
  font-weight: 600;
}

@media (max-width: 900px) {
  .container,
  .topbar-inner {
    width: min(100% - 32px, 1200px);
  }

  .tariff-page .document {
    width: min(100% - 32px, 1200px);
  }

  .topbar-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 0;
  }

  .nav,
  .nav-actions {
    justify-content: flex-start;
  }

  .nav {
    gap: 20px;
    flex-wrap: wrap;
  }

  .topbar-cta {
    min-height: 42px;
    padding: 0 18px;
    font-size: 14px;
  }

  .document-main {
    padding: 44px 0 62px;
  }

  .document h1 {
    font-size: 34px;
  }

  .date,
  .lead {
    font-size: 17px;
  }

  .tariff-card,
  .info-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .tariff-card {
    padding: 22px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-requisites {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .footer-requisites .footer-support {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .document h1 {
    font-size: 30px;
  }

  .document p,
  .document li,
  .features li {
    font-size: 15px;
  }
}
