@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  color-scheme: dark;
  --surface: #080d17;
  --contact: #0e1828;
  --text: #f7f8fb;
  --muted: #c6cbd5;
  --accent: #dcff57;
  --accent-hover: #edffac;
  --rule: #a5adba;
  --outline: #dae0e9;
  --gutter: clamp(20px, 4.2vw, 72px);
  font-family: Manrope, Arial, sans-serif;
}

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
}

h1, h2, h3, p {
  margin: 0;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.container {
  width: min(calc(100% - 2 * var(--gutter)), 1440px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 3;
  top: 12px;
  left: var(--gutter);
  padding: 12px 16px;
  color: var(--surface);
  background: var(--accent);
  transform: translateY(calc(-100% - 24px));
}

.skip-link:focus {
  transform: none;
}

.site-header, .hero, .services, .contact {
  border-bottom: 1px solid var(--rule);
}

.header-layout, .contact-layout, .footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-layout {
  min-height: clamp(73px, 7.82vw, 112px);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1.12vw, 18px);
  font-size: clamp(30px, 3.75vw, 52px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.038em;
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(38px, 5.1vw, 68px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 3.75vw, 58px);
  font-size: clamp(15px, 1.68vw, 22px);
  font-weight: 750;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:not(.button):hover, .footer-brand:hover {
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  min-height: 44px;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}

.button-outline {
  padding: .52em 1.06em;
  border: 1px solid var(--outline);
}

.button-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.button-primary {
  min-height: clamp(49px, 5.05vw, 72px);
  padding: .5em 1em;
  background: var(--accent);
  color: var(--surface);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 800;
}

.button-primary:hover {
  background: var(--accent-hover);
}

.arrow {
  flex: none;
  font-family: Arial, sans-serif;
  font-size: 1.15em;
  font-weight: 400;
  line-height: 1;
}

.hero {
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 44.2% 55.8%;
  align-items: center;
  min-height: clamp(426px, 43.45vw, 650px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-block: clamp(44px, 5vw, 74px) clamp(22px, 2.6vw, 48px);
}

.hero h1 {
  font-size: clamp(46px, 6.58vw, 96px);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.034em;
}

.hero p {
  max-width: 38ch;
  margin-block: clamp(18px, 1.75vw, 28px) clamp(22px, 2.5vw, 38px);
  color: var(--muted);
  font-size: clamp(18px, 1.82vw, 25px);
  line-height: 1.34;
  font-weight: 520;
}

.keep-together {
  white-space: nowrap;
}

.hero-image {
  display: block;
  width: 110%;
  height: auto;
  margin-left: -7%;
  mask-image: linear-gradient(90deg, transparent, black 8% 94%, transparent), linear-gradient(transparent, black 3% 96%, transparent);
  mask-composite: intersect;
}

.services {
  padding-block: clamp(30px, 2.9vw, 48px) clamp(32px, 2.75vw, 48px);
}

.section-title, .contact h2 {
  font-size: clamp(33px, 3.6vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.028em;
}

.section-title {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.1vw, 30px);
  margin-bottom: clamp(24px, 2.45vw, 36px);
}

.section-title::before {
  content: "";
  flex: none;
  width: .18em;
  height: .98em;
  background: var(--accent);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service {
  padding: 1px clamp(16px, 2.3vw, 35px) clamp(9px, 1.3vw, 20px) 0;
}

.service + .service {
  padding-left: clamp(16px, 3.1vw, 48px);
  border-left: 1px solid var(--rule);
}

.service:last-child {
  padding-right: 0;
}

.service-icon {
  display: block;
  width: clamp(49px, 5.75vw, 76px);
  height: clamp(49px, 5.75vw, 76px);
  margin-bottom: clamp(6px, .65vw, 12px);
  color: var(--accent);
}

.service h3 {
  margin-bottom: clamp(10px, 1vw, 16px);
  font-size: clamp(19px, 2.46vw, 35px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.038em;
}

.service p, .contact p {
  font-size: clamp(16px, 1.54vw, 23px);
  font-weight: 525;
  line-height: 1.36;
}

.contact {
  background: var(--contact);
}

.contact-layout {
  min-height: clamp(138px, 12.9vw, 198px);
  gap: 28px;
  padding-block: 27px;
}

.contact p {
  margin-top: 8px;
  color: var(--muted);
  font-size: clamp(16px, 1.72vw, 24px);
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  width: fit-content;
  font-size: clamp(23px, 2.85vw, 41px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.035em;
  text-decoration: none;
  white-space: nowrap;
}

.email-address {
  text-decoration: underline;
  text-underline-offset: .25em;
  text-decoration-thickness: 2px;
}

.email-link:hover {
  color: var(--accent);
}

.footer-layout {
  min-height: clamp(64px, 6.75vw, 96px);
  gap: 16px;
  font-size: clamp(15px, 1.64vw, 23px);
}

.footer-brand {
  font-size: clamp(21px, 2.18vw, 31px);
  font-weight: 800;
  letter-spacing: -.055em;
  text-decoration: none;
}

@media (max-width: 900px) {
  .contact-layout {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    padding: 39px 0 8px;
  }

  .hero h1 {
    font-size: clamp(38px, 9.3vw, 62px);
    line-height: 1;
  }

  .hero-image {
    justify-self: center;
    width: min(108%, 520px);
    margin: 0 0 12px;
  }

  .service-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service, .service + .service {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
    column-gap: 14px;
    padding: 16px 0;
    border-left: none;
  }

  .service + .service {
    border-top: 1px solid var(--rule);
  }

  .service-icon {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    margin: 0;
  }

  .service h3 {
    font-size: 22px;
    margin-bottom: 5px;
  }

  .services {
    padding-bottom: 18px;
  }

  .section-title {
    margin-bottom: 14px;
  }

  .section-title, .contact h2 {
    font-size: clamp(28px, 8vw, 33px);
  }
}

@media (max-width: 520px) {
  .header-layout {
    flex-wrap: wrap;
    gap: 8px;
    padding-block: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    font-size: clamp(13px, 3.85vw, 15px);
  }

  .button-outline {
    padding-inline: .5em;
  }
}
