:root {
  --accent: #2055e8;
  --label: #5bd4a6;
  --text: #22242a;
  --muted: #6f737d;
  --star: #ffc400;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #f7f7f7;
  color: var(--text);
  font-family: "Montserrat", Arial, sans-serif;
}

a {
  color: inherit;
}

.page {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: #f7f7f7;
}

.landing {
  width: min(1200px, calc(100vw - 48px));
  height: min(960px, calc(100vh - 28px));
  height: min(960px, calc(100svh - 28px));
  display: grid;
  grid-template-rows: 93.46px 735px;
  align-content: start;
  gap: 26.54px;
}

.logo {
  display: block;
  width: 154.37px;
  height: 93.46px;
  line-height: 0;
  transform: rotate(0.54deg);
  transform-origin: center;
}

.logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.content {
  display: grid;
  grid-template-columns: minmax(480px, 728px) minmax(320px, 1fr);
  align-items: start;
  gap: 40px;
  min-height: 0;
}

.visual {
  position: relative;
  width: 728px;
  max-width: 100%;
  aspect-ratio: 728 / 735;
  border-radius: 16px;
  overflow: hidden;
  background: #e8e8e8;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.offer {
  display: grid;
  align-content: center;
  gap: 0;
  width: min(430px, 100%);
  max-width: 430px;
  padding-top: 0;
}

.copy {
  display: grid;
  gap: 8px;
}

h1 {
  width: 307px;
  margin: 0;
  color: var(--accent);
  font-size: 52px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
}

.variant-b h1 {
  width: 430px;
}

.lead {
  width: 337px;
  margin: 0;
  color: #0c0c0c;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 400;
}

.lead span {
  display: block;
  color: var(--accent);
}

.features {
  display: grid;
  gap: clamp(18px, 2.8svh, 28px);
  padding: 0;
  margin: clamp(28px, 3.7svh, 38px) 0 0;
  list-style: none;
}

.features li {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: #0c0c0c;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
}

.features li span {
  width: 328px;
  max-width: 100%;
  margin-left: 21px;
}

.features svg {
  width: 60px;
  height: 60px;
  stroke: var(--accent);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.rating {
  width: 162px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 7px;
  margin-top: clamp(26px, 4svh, 40px);
  margin-left: 2px;
  color: var(--accent);
  font-size: 24px;
  line-height: 24px;
}

.stars {
  color: var(--star);
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 1px;
}

.rating strong {
  width: 35px;
  height: 22px;
  display: inline-block;
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
}

.trust {
  width: 330px;
  height: 20px;
  margin: 4px 0 0 2px;
  color: #0c0c0c;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
}

.cta {
  display: contents;
}

.button {
  width: 330px;
  min-height: 0;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #a73afd;
  color: #fff;
  text-decoration: none;
  margin: 24px 0 0 2px;
  padding: 16px 32px;
  font-size: clamp(16px, 1.45vw, 18px);
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(160, 56, 244, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 25px rgba(160, 56, 244, 0.26);
}

.button:focus-visible,
.privacy:focus-visible {
  outline: 3px solid rgba(32, 85, 232, 0.24);
  outline-offset: 3px;
}

.privacy {
  justify-self: start;
  width: 270px;
  height: 22px;
  margin: 12px 0 0 2px;
  color: rgba(14, 18, 23, 0.5);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  body {
    background: #292929;
  }

  .page {
    background: #292929;
    align-items: start;
    padding: 0;
  }

  .landing {
    width: min(100vw, 430px);
    min-height: 100vh;
    min-height: 100svh;
    height: auto;
    margin: 0 auto;
    padding: 20px 20px calc(96px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    display: block;
  }

  .logo {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .content {
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 16px;
    min-height: auto;
  }

  .visual {
    width: 100%;
    flex: 0 0 auto;
    align-self: stretch;
    aspect-ratio: 335 / 360;
    border-radius: 8px;
  }

  .visual img {
    object-fit: fill;
  }

  .offer {
    width: 100%;
    max-width: none;
    gap: 0;
    align-content: start;
  }

  .copy {
    gap: 4px;
  }

  h1 {
    width: 100%;
    font-size: 22px;
    line-height: 1;
  }

  .variant-b h1 {
    width: 100%;
  }

  .lead {
    width: 100%;
    font-size: 16px;
    line-height: 1.4;
  }

  .features {
    gap: 8px;
    margin: 16px 0 0;
  }

  .features li {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 0;
    font-size: 16px;
    line-height: 1.4;
  }

  .features li span {
    width: 262px;
    margin-left: 8px;
  }

  .features li:nth-child(3) span {
    width: 238px;
  }

  .features svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.55;
  }

  .rating {
    gap: 7px;
    margin-top: 14px;
    margin-left: 0;
    font-size: 24px;
    line-height: 24px;
  }

  .stars {
    font-size: 24px;
    line-height: 24px;
    letter-spacing: 0;
  }

  .trust {
    width: 100%;
    height: 20px;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
  }

  .cta {
    display: block;
    position: fixed;
    left: 50%;
    bottom: 0;
    width: min(100vw, 430px);
    transform: translateX(-50%);
    z-index: 9;
    padding: 15px 15px calc(15px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08);
  }

  .button {
    width: 100%;
    height: 50px;
    min-height: 0;
    border-radius: 10px;
    margin: 0;
    padding: 12px 20px;
    font-size: clamp(11px, 3.9vw, 16px);
  }

  .privacy {
    justify-self: center;
    width: 202px;
    height: 14px;
    margin: 8px auto 0;
    color: rgba(12, 12, 12, 0.5);
    font-size: 12px;
    line-height: 1.2;
  }
}

@media (max-width: 360px) {
  .landing {
    padding-top: 10px;
  }

  .content {
    gap: 10px;
  }

  .offer {
    gap: 0;
  }

  .copy {
    gap: 2px;
  }

  h1 {
    font-size: 20px;
    line-height: 1;
  }

  .lead {
    font-size: 14px;
    line-height: 1.25;
  }

  .features {
    gap: 4px;
    margin-top: 8px;
  }

  .features li {
    grid-template-columns: 26px minmax(0, 1fr);
    font-size: 12px;
    line-height: 1.25;
  }

  .features li span,
  .features li:nth-child(3) span {
    width: calc(100vw - 86px);
    margin-left: 8px;
  }

  .features svg {
    width: 26px;
    height: 26px;
  }

  .rating {
    width: 130px;
    height: 20px;
    margin-top: 6px;
    font-size: 20px;
    line-height: 20px;
  }

  .stars {
    font-size: 20px;
    line-height: 20px;
  }

  .rating strong {
    width: 30px;
    height: 18px;
    font-size: 18px;
    line-height: 18px;
  }

  .trust {
    height: 16px;
    font-size: 11px;
    line-height: 1.25;
  }

  .privacy {
    height: 12px;
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.2;
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .landing {
    height: calc(100svh - 18px);
    gap: 12px;
  }

  .logo {
    width: 132px;
    height: 79.96px;
  }

  .content {
    grid-template-columns: minmax(420px, 620px) minmax(320px, 1fr);
  }

  .offer {
    width: 410px;
    max-width: 410px;
  }

  h1 {
    font-size: 46px;
  }

  .lead {
    font-size: 20px;
    line-height: 1.35;
  }

  .features {
    gap: 16px;
    margin-top: 24px;
  }

  .features li {
    grid-template-columns: 52px minmax(0, 1fr);
    font-size: 19px;
    line-height: 1.35;
  }

  .features li span {
    width: 310px;
    margin-left: 16px;
  }

  .features svg {
    width: 52px;
    height: 52px;
  }

  .rating {
    margin-top: 22px;
  }

  .trust {
    margin-top: 4px;
  }

  .button {
    margin-top: 14px;
  }

  .privacy {
    margin-top: 8px;
  }
}

@media (min-width: 901px) and (max-height: 760px) {
  .landing {
    height: calc(100svh - 14px);
    grid-template-rows: 68px minmax(0, 1fr);
    gap: 10px;
  }

  .logo {
    width: 112px;
    height: 67.9px;
  }

  .content {
    grid-template-columns: minmax(420px, 560px) minmax(300px, 390px);
    gap: 34px;
  }

  .offer {
    width: 390px;
    max-width: 390px;
  }

  h1 {
    width: 292px;
    font-size: 40px;
  }

  .variant-b h1 {
    width: 390px;
  }

  .lead {
    width: 320px;
    font-size: 18px;
    line-height: 1.3;
  }

  .features {
    gap: 12px;
    margin-top: 20px;
  }

  .features li {
    grid-template-columns: 44px minmax(0, 1fr);
    font-size: 18px;
    line-height: 1.3;
  }

  .features li span {
    width: 295px;
    margin-left: 14px;
  }

  .features svg {
    width: 44px;
    height: 44px;
  }

  .rating {
    margin-top: 16px;
  }

  .trust {
    margin-top: 2px;
  }

  .button {
    height: 48px;
    margin-top: 10px;
  }

  .privacy {
    margin-top: 6px;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .landing {
    width: calc(100vw - 48px);
  }

  .content {
    grid-template-columns: minmax(420px, 60%) minmax(260px, 1fr);
    gap: 24px;
  }

  .offer {
    width: 100%;
    max-width: 100%;
  }

  h1,
  .variant-b h1 {
    width: 100%;
    font-size: 38px;
  }

  .lead {
    width: 100%;
    font-size: 17px;
    line-height: 1.3;
  }

  .features {
    gap: 12px;
    margin-top: 18px;
  }

  .features li {
    grid-template-columns: 42px minmax(0, 1fr);
    font-size: 16px;
    line-height: 1.3;
  }

  .features li span {
    width: auto;
    margin-left: 12px;
  }

  .features svg {
    width: 42px;
    height: 42px;
  }

  .rating {
    margin-top: 16px;
  }

  .trust {
    width: 100%;
    font-size: 12px;
  }

  .button {
    width: 100%;
    height: 46px;
    margin-top: 10px;
    font-size: 15px;
  }

  .privacy {
    width: 100%;
    margin-top: 6px;
    font-size: 13px;
  }
}
