@charset "UTF-8";

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 246, 241, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-color: rgba(20, 36, 58, 0.08);
  box-shadow: 0 6px 24px rgba(20, 36, 58, 0.04);
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.site-nav {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: none;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
}

.site-nav.is-open {
  display: grid;
}

.site-nav a {
  padding: 12px;
  font-size: 15px;
  font-weight: 500;
}

.nav-actions {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 0;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(20, 36, 58, 0.12) 0.7px, transparent 0.7px);
  background-size: 24px 24px;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, var(--paper) 0%, rgba(246, 246, 241, 0.75) 46%, rgba(246, 246, 241, 0.15) 100%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  gap: 58px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-product {
  position: relative;
  z-index: 1;
  padding-bottom: 54px;
}

.metric-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(20, 36, 58, 0.12);
}

.metric-strip > div {
  padding: 24px 8px;
}

.metric-strip > div:nth-child(odd) {
  border-right: 1px solid rgba(20, 36, 58, 0.12);
}

.metric-strip > div:nth-child(-n+2) {
  border-bottom: 1px solid rgba(20, 36, 58, 0.12);
}

.product-section,
.workflow-section,
.use-cases-section,
.security-section,
.faq-section {
  padding: 88px 0;
}

.product-section,
.use-cases-section,
.faq-section {
  background: var(--white);
}

.workflow-section {
  background: #f0f2f4;
}

.contacts-section {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  color: var(--white);
  background: var(--navy);
}

.contacts-layout {
  display: grid;
  gap: 54px;
}

.contacts-ui {
  position: relative;
}

.security-layout {
  display: grid;
  gap: 54px;
  align-items: center;
}

.security-section {
  background: var(--paper);
}

.sync-section {
  padding: 0 0 88px;
  background: var(--paper);
}

.sync-panel {
  display: grid;
  overflow: hidden;
  background: #e7edfb;
  border: 1px solid #d4def3;
  border-radius: var(--radius-large);
}

.sync-copy {
  padding: 36px 28px;
}

.sync-visual {
  position: relative;
  min-height: 400px;
  padding: 32px 22px 56px;
}

.faq-layout {
  display: grid;
  gap: 48px;
}

.final-cta {
  padding: 24px 0;
  color: var(--white);
  background: var(--white);
}

.cta-inner {
  position: relative;
  overflow: hidden;
  padding: 68px 24px;
  text-align: center;
  background: var(--blue);
  border-radius: var(--radius-large);
}

.site-footer {
  padding: 72px 0 24px;
  background: var(--white);
}

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

.footer-brand {
  grid-column: 1 / -1;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

@media (min-width: 768px) {
  .nav-wrap {
    min-height: 82px;
  }

  .hero {
    padding-top: 82px;
  }

  .product-section,
  .workflow-section,
  .use-cases-section,
  .security-section,
  .faq-section,
  .contacts-section {
    padding: 112px 0;
  }

  .metric-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .metric-strip > div {
    padding: 28px 24px;
    border-right: 1px solid rgba(20, 36, 58, 0.12);
    border-bottom: 0 !important;
  }

  .metric-strip > div:first-child {
    padding-left: 0;
  }

  .metric-strip > div:last-child {
    border-right: 0;
  }

  .sync-copy {
    padding: 52px;
  }

  .sync-visual {
    min-height: 480px;
    padding: 50px 60px 70px;
  }

  .sync-section {
    padding-bottom: 112px;
  }

  .cta-inner {
    padding: 88px 48px;
  }

  .footer-top {
    grid-template-columns: 1.6fr repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (min-width: 1024px) {
  .nav-wrap .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-nav a {
    padding: 8px 0;
    font-size: 14px;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 22px;
  }

  .contacts-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(540px, 1.2fr);
    gap: 82px;
    align-items: center;
  }

  .security-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.75fr);
    gap: 84px;
  }

  .sync-panel {
    grid-template-columns: 0.8fr 1.2fr;
    min-height: 550px;
  }

  .sync-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 64px;
  }

  .sync-visual {
    min-height: 550px;
    padding: 74px 62px;
  }

  .faq-layout {
    grid-template-columns: 0.65fr 1.35fr;
    gap: 100px;
    align-items: start;
  }

  .faq-intro {
    position: sticky;
    top: 130px;
  }
}

@media (min-width: 1200px) {
  .hero {
    padding-top: 90px;
  }

  .hero-layout {
    grid-template-columns: minmax(400px, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 50px;
  }

  .hero-copy {
    padding-bottom: 72px;
  }

  .hero-product {
    margin-right: -58px;
    padding-bottom: 74px;
  }
}

@media (min-width: 1280px) {
  .hero-layout {
    gap: 72px;
  }

  .hero-product {
    margin-right: -88px;
  }

  .contacts-layout {
    gap: 110px;
  }

  .security-layout {
    gap: 112px;
  }
}
