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

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  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: Onest;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/onest-latin.woff2") format("woff2");
  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;
}

:root {
  color-scheme: dark;
  --bg: #060a16;
  --bg-deep: #04060f;
  --surface: #0e1730;
  --text: #eef2fb;
  --muted: #aebfdd;
  --accent: #3b82f6;
  --accent-light: #93c5fd;
  --line: #26385b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Onest, Manrope, sans-serif;
  letter-spacing: -0.035em;
}

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

button {
  font: inherit;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.container {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: -80px;
  left: 16px;
  padding: 12px 16px;
  background: var(--surface);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  background: rgb(6 10 22 / 82%);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 43px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline: auto;
  font-size: 15px;
  font-weight: 600;
}

.site-nav a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  color: #b8c5df;
  transition:
    background 0.2s,
    color 0.2s;
}

.site-nav a:hover {
  background: rgb(255 255 255 / 7%);
  color: #fff;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border-radius: 10px;
  background: linear-gradient(120deg, #2563eb, var(--accent));
  box-shadow: 0 10px 28px -15px rgb(59 130 246 / 80%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.header-link:hover {
  background: #60a5fa;
  color: var(--bg);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid #172544;
  background:
    radial-gradient(ellipse 60% 58% at 50% 37%, rgb(25 72 153 / 28%), transparent 70%),
    radial-gradient(ellipse 40% 45% at 92% 7%, rgb(39 103 221 / 16%), transparent 72%),
    var(--bg-deep);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(147 197 253 / 10%) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(147 197 253 / 10%) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  opacity: 0.45;
  mask-image: radial-gradient(ellipse 80% 75% at 50% 42%, #000 35%, transparent 90%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: min(580px, calc(100svh - 74px));
  padding-block: 64px 78px;
  text-align: center;
}

.hero-mark {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 22px rgb(59 130 246 / 35%));
}

.hero-mark img {
  display: block;
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.hero-eyebrow {
  margin-bottom: 18px;
  color: #c3d7f7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  width: min(100%, 950px);
  margin-bottom: 0;
  font-size: clamp(42px, 5.9vw, 80px);
  font-weight: 800;
  line-height: 1.06;
}

.hero h1 span {
  background: linear-gradient(110deg, #b5d5ff, var(--accent) 65%, #60a5fa);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 0.2s,
    background 0.2s,
    border-color 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(120deg, #2563eb, var(--accent));
  box-shadow: 0 14px 28px -15px rgb(59 130 246 / 85%);
  color: #fff;
}

.button-outline {
  border: 1px solid rgb(190 211 245 / 36%);
  background: rgb(255 255 255 / 4%);
}

.button-outline:hover {
  background: rgb(255 255 255 / 9%);
}

.section {
  padding-block: 88px;
}

.section-heading {
  margin-bottom: 36px;
}

.section h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 750;
  line-height: 1.1;
}

.products {
  background: #080e1e;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.product-row {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 320px;
  padding: 29px;
  border: 1px solid #243557;
  border-radius: 22px;
  background: linear-gradient(145deg, rgb(25 42 78 / 78%), rgb(13 23 46 / 86%) 60%);
  box-shadow:
    inset 0 1px rgb(255 255 255 / 9%),
    0 16px 40px -30px #000;
  transition:
    transform 0.2s,
    border-color 0.2s,
    background 0.2s;
}

.product-row:hover {
  transform: translateY(-5px);
  border-color: #4b78c6;
  background: linear-gradient(145deg, rgb(29 54 99 / 94%), rgb(15 28 57 / 97%) 60%);
}

.product-main {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.product-logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 84px;
  height: 84px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgb(147 197 253 / 15%);
  border-radius: 18px;
  background: #fff;
}

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

.product-main strong {
  font-family: Onest, Manrope, sans-serif;
  font-size: clamp(26px, 2.4vw, 36px);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.product-description {
  max-width: 440px;
  margin-top: 24px;
  color: #b2c2df;
  font-size: 17px;
  line-height: 1.55;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  min-height: 41px;
  margin-top: 28px;
  padding: 10px 15px;
  border: 1px solid #395584;
  border-radius: 9px;
  background: #182847;
  color: #e6efff;
  font-size: 14px;
  font-weight: 700;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.product-row:hover .product-cta {
  border-color: var(--accent);
  background: #2563eb;
  color: #fff;
}

.contact {
  border-top: 1px solid #233457;
  background: radial-gradient(circle at 85% 15%, rgb(59 130 246 / 20%), transparent 42%), #0b1430;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.section-label {
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact h2 {
  margin-top: 16px;
  font-size: clamp(40px, 4.5vw, 66px);
}

.contact-details {
  align-self: end;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  padding-block: 20px;
  border-top: 1px solid #314263;
  font-size: 15px;
}

.contact-row span {
  color: var(--muted);
}

.contact-row a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact-row a:hover {
  color: var(--accent-light);
}

.contact-row strong {
  font-weight: 500;
  line-height: 1.5;
}

.site-footer {
  padding-top: 54px;
  border-top: 1px solid #1b294b;
  background: var(--bg-deep);
}

.footer-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 55px;
}

.footer-top a:first-child {
  width: min(100%, 360px);
}

.footer-logo {
  display: block;
  width: 100%;
  height: auto;
}

.footer-top a:last-child {
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 25px;
  border-top: 1px solid #1e2b4d;
  color: #9fb0cf;
  font-size: 13px;
}

@media (max-width: 900px) {
  .header-link {
    display: none;
  }

  .product-list {
    gap: 14px;
  }

  .product-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-main strong {
    font-size: 28px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 36px, 560px);
  }

  .header-inner {
    flex-wrap: wrap;
    min-height: 68px;
    height: auto;
    gap: 12px;
  }

  .brand-logo {
    height: 39px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid #34466b;
    border-radius: 9px;
    background: rgb(255 255 255 / 4%);
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--text);
    transition:
      transform 0.2s,
      opacity 0.2s;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin: 0;
    padding-bottom: 16px;
  }

  .has-js .header-inner {
    flex-wrap: nowrap;
    height: 68px;
  }

  .has-js .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    width: auto;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }

  .has-js .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-inner {
    min-height: 500px;
    padding-block: 48px 56px;
  }

  .hero-mark {
    width: 84px;
    height: 84px;
    margin-bottom: 20px;
  }

  .hero-mark img {
    width: 70px;
    height: 70px;
  }

  .hero h1 {
    font-size: clamp(39px, 9vw, 58px);
  }

  .hero-actions {
    width: 100%;
  }

  .section {
    padding-block: 62px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section h2 {
    font-size: clamp(38px, 9vw, 52px);
  }

  .product-list {
    grid-template-columns: 1fr;
  }

  .product-row {
    min-height: 270px;
    padding: 23px;
  }

  .product-main {
    align-items: center;
    flex-direction: row;
  }

  .product-logo {
    width: 70px;
    height: 70px;
  }

  .product-main strong {
    font-size: 26px;
  }

  .product-description {
    margin-top: 20px;
    font-size: 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact h2 {
    font-size: 45px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    padding-top: 43px;
  }

  .footer-top {
    display: block;
    padding-bottom: 48px;
  }

  .footer-top a:first-child {
    display: block;
    width: min(100%, 290px);
    margin-bottom: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 37px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .product-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-main strong {
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
