@charset "UTF-8";

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/onest-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../assets/fonts/caveat-latin.woff2") format("woff2");
}

:root {
  --ink: #14243a;
  --ink-soft: #526071;
  --ink-faint: #75808f;
  --blue: #2457e6;
  --blue-dark: #1946c4;
  --blue-light: #e8efff;
  --paper: #f6f6f1;
  --white: #ffffff;
  --line: #dfe3e6;
  --line-soft: #e9ecee;
  --green: #25805d;
  --green-light: #e4f4eb;
  --sand: #eee9dc;
  --navy: #12233a;
  --font-body: "Onest", sans-serif;
  --font-script: "Caveat", cursive;
  --radius-small: 8px;
  --radius: 14px;
  --radius-large: 24px;
  --shadow-small: 0 4px 16px rgba(20, 36, 58, 0.08);
  --shadow: 0 24px 70px rgba(20, 36, 58, 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1240px;
}

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

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

button {
  border: 0;
}

::selection {
  color: var(--white);
  background: var(--blue);
}

:focus-visible {
  outline: 3px solid #7aa2ff;
  outline-offset: 4px;
}

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

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue);
  border-radius: var(--radius-small);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-label,
.mini-label {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-label {
  margin-bottom: 20px;
  color: var(--blue);
}

.section-label-light {
  color: #9eb8ff;
}

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

.section-heading h2,
.contacts-copy h2,
.security-copy h2,
.sync-copy h2,
.faq-intro h2,
.cta-inner h2 {
  font-size: clamp(2.25rem, 8vw, 4.25rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.section-heading > p,
.split-heading > p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.split-heading {
  display: grid;
  gap: 24px;
}

.centered-heading {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.centered-heading > p:last-child {
  max-width: 560px;
  margin: 20px auto 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease) var(--delay, 0ms), transform 0.75s var(--ease) var(--delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (min-width: 768px) {
  .container {
    width: min(100% - 64px, var(--container));
  }

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

  .split-heading {
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.65fr);
    align-items: end;
    gap: 60px;
  }

  .split-heading > p {
    padding-bottom: 6px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
