@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600&display=swap');

:root {
  --color-ink: #0c1014;
  --color-heading: #171b33;
  --color-muted: #535353;
  --color-blue: #4f81e5;
  --color-blue-soft: #f2f7ff;
  --color-blue-line: #86aeff;
  --color-green: #2ebe1a;
  --color-line: #e2e7ed;
  --color-white: #fff;
  --container: 1920px;
  --page-padding: clamp(20px, 5.625vw, 108px);
  --radius: 10px;
  --font: 'Inter Tight', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

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

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 24px;
  border: 0;
  border-radius: var(--radius);
  color: var(--color-white);
  background: var(--color-green);
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.button:hover {
  filter: brightness(.94);
}

.button:active {
  transform: translateY(1px);
}

.button:focus-visible,
a:focus-visible,
input:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(79, 129, 229, .45);
  outline-offset: 3px;
}

.site-header {
  position: relative;
  z-index: 20;
  min-height: 82px;
  padding-block: 16px;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-white);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-inline: var(--page-padding);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  min-width: 157px;
  color: var(--color-heading);
  text-decoration: none;
}

.brand__mark {
  width: 46px;
  height: 48px;
  object-fit: contain;
  transform: scaleY(-1);
}

.brand__name {
  font-size: 24px;
  font-weight: 600;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(36px, 5.83vw, 112px);
  margin-left: auto;
  font-size: 20px;
}

.desktop-nav a {
  white-space: nowrap;
  text-decoration: none;
}

.desktop-nav a:hover {
  color: var(--color-blue);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: clamp(16px, 2.1vw, 40px);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-green);
}

.social-links img {
  object-fit: contain;
}

.button--header {
  min-height: 50px;
  font-size: 16px;
  font-weight: 500;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  min-height: 823px;
  overflow: hidden;
  background: linear-gradient(115.83deg, #fafcfe 10.72%, #caddff 101.23%);
}

.hero__inner {
  position: relative;
  min-height: 823px;
  padding: 120px var(--page-padding) 80px;
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, 860px);
  flex-direction: column;
  align-items: flex-start;
  gap: 42px;
}

.hero__heading-group {
  display: flex;
  width: 860px;
  max-width: 100%;
  flex-direction: column;
  gap: 16px;
}

.hero__title {
  margin: 0;
  font-size: clamp(48px, 3.34vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero__title span {
  color: var(--color-blue);
}

.hero__subtitle {
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(28px, 1.88vw, 36px);
  font-weight: 500;
  line-height: 1.3;
}

.hero-benefits {
  display: flex;
  width: 812px;
  max-width: 100%;
  gap: 20px;
  padding: 0;
  margin: -12px 0 0;
  list-style: none;
}

.hero-benefits li {
  position: relative;
  display: flex;
  min-height: 90px;
  flex: 1 1 0;
  align-items: center;
  padding: 16px 18px 16px 38px;
  border: 1px solid var(--color-blue-line);
  border-radius: var(--radius);
  color: var(--color-blue);
  background: var(--color-blue-soft);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.hero-benefits li::before {
  position: absolute;
  left: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-blue);
  content: '';
}

.lead-form {
  display: flex;
  width: 812px;
  max-width: 100%;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--color-blue);
}

.lead-form__fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.lead-form__fields label,
.lead-form__fields input {
  width: 100%;
}

.lead-form__fields input {
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid rgba(244, 248, 255, .6);
  border-radius: var(--radius);
  color: var(--color-white);
  background: rgba(255, 255, 255, .15);
  font-size: 16px;
  line-height: 1.3;
}

.lead-form__fields input::placeholder {
  color: #e9f1ff;
  opacity: 1;
}

.lead-form__footer {
  display: grid;
  grid-template-columns: minmax(0, 493px) 239px;
  gap: 20px;
  align-items: start;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--color-white);
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
}

.consent input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 0;
  border: 1.5px solid var(--color-green);
  border-radius: 1px;
  accent-color: var(--color-green);
  appearance: none;
}

.consent input:checked {
  background: var(--color-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='m3 8 3 3 7-7 1 1-8 8-4-4z'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.button--lead {
  width: 239px;
  min-height: 62px;
  font-size: 16px;
}

.lead-form__status {
  margin: 0;
  color: var(--color-white);
}

.lead-form__status:empty {
  display: none;
}

.lead-form__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.hero__visual {
  position: absolute;
  pointer-events: none;
}

.hero__visual--desktop {
  z-index: 1;
  top: -20px;
  left: max(46.35vw, calc(var(--page-padding) + 832px));
  width: min(67.45vw, 1295px);
  height: 863px;
}

.hero__visual--desktop .hero__laptop {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__visual--desktop .hero__phone {
  position: absolute;
  top: 366px;
  left: 55px;
  width: 252px;
  height: 471px;
  overflow: hidden;
}

.hero__visual--desktop .hero__phone img,
.hero__visual--mobile .hero__phone img {
  position: absolute;
  top: -9.95%;
  left: -110.74%;
  width: 322.36%;
  height: 115.17%;
  max-width: none;
}

.hero__visual--mobile {
  display: none;
}

.site-footer {
  padding: 32px var(--page-padding);
  color: var(--color-muted);
  border-top: 1px solid var(--color-line);
}

.content-page {
  padding: 64px var(--page-padding);
}

@media (max-width: 1500px) {
  .desktop-nav {
    gap: 36px;
    font-size: 18px;
  }

  .site-header__actions {
    gap: 20px;
  }

  .social-links {
    display: none;
  }

  .hero__copy {
    width: min(58vw, 860px);
  }

  .hero__visual--desktop {
    width: 67vw;
  }
}

@media (max-width: 1023px) {
  .site-header {
    min-height: 70px;
    padding: 11px 20px;
  }

  .site-header__inner {
    padding: 0;
  }

  .brand {
    min-width: auto;
    gap: 9px;
  }

  .brand__mark {
    width: 46px;
    height: 48px;
  }

  .brand__name {
    font-weight: 500;
  }

  .desktop-nav,
  .site-header__actions {
    display: none;
  }

  .menu-toggle {
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    place-items: center;
    background: var(--color-green);
    cursor: pointer;
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px 20px 30px;
    border-bottom: 1px solid var(--color-line);
    background: var(--color-white);
    box-shadow: 0 18px 30px rgba(12, 16, 20, .08);
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav a:not(.button) {
    font-size: 20px;
    text-decoration: none;
  }

  .hero {
    min-height: 0;
    background: linear-gradient(94.25deg, #fafcfe 10.72%, #caddff 101.23%);
  }

  .hero__inner {
    min-height: 0;
    padding: 50px 20px;
  }

  .hero__copy {
    width: 100%;
    align-items: center;
    gap: 20px;
  }

  .hero__heading-group {
    width: 100%;
    gap: 12px;
    text-align: center;
  }

  .hero__title {
    font-size: clamp(32px, 7vw, 48px);
  }

  .hero__subtitle {
    font-size: clamp(24px, 5vw, 32px);
  }

  .hero__visual--desktop {
    display: none;
  }

  .hero__visual--mobile {
    position: relative;
    display: block;
    width: min(100%, 560px);
    height: auto;
    aspect-ratio: 348 / 188;
  }

  .hero__visual--mobile .hero__laptop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero__visual--mobile .hero__phone {
    position: absolute;
    top: 32.5%;
    left: 5.2%;
    width: 21%;
    height: 73%;
    overflow: hidden;
  }

  .hero-benefits {
    width: min(100%, 560px);
    flex-direction: column;
    gap: 8px;
    margin: 0;
  }

  .hero-benefits li {
    min-height: 58px;
    flex: none;
    padding: 8px 12px 8px 27px;
    font-size: 18px;
  }

  .hero-benefits li::before {
    left: 10px;
  }

  .lead-form {
    width: min(100%, 560px);
    gap: 10px;
    padding: 20px;
  }

  .lead-form__fields {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lead-form__footer {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .button--lead {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 32px;
  }

  .hero__subtitle {
    font-size: 24px;
  }

  .lead-form {
    width: 100%;
  }
}
