:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --peach: #f6b49d;
  --pink: #f3a1b6;
  --slate: #566781;
  --slate-dark: #465772;
  --text: #52627c;
  --border: #e7eaf0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--slate);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6em;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.page {
  overflow-x: hidden;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid rgba(231, 234, 240, 0.8);
  height: 72px;
  overflow: visible;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav,
.inner {
  margin: 0 auto;
  max-width: 1200px;
}

.nav {
  align-items: center;
  display: flex;
  height: 72px;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(18px, 4vw, 40px);
}

.logo-link {
  align-items: center;
  display: inline-flex;
  height: 72px;
  min-height: 72px;
  position: relative;
  text-decoration: none;
  width: min(48vw, 420px);
}

.logo-link img {
  display: block;
  height: auto;
  left: 0;
  max-height: 175px;
  max-width: 940px;
  object-fit: contain;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
}

.button {
  align-items: center;
  background: var(--slate);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 32px rgba(86, 103, 129, 0.24);
  color: var(--surface);
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 400;
  justify-content: center;
  letter-spacing: 1.3px;
  min-height: 50px;
  padding: 10px 30px;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-page {
  background: var(--surface);
  padding: 72px clamp(18px, 6vw, 90px);
}

.content-section {
  padding: 70px clamp(18px, 6vw, 90px);
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
}

h1,
h2,
h3 {
  color: var(--slate);
  font-weight: 300;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.2;
  margin: 0 0 20px;
}

h2 {
  font-size: 24px;
  line-height: 1.25em;
  margin: 0 0 18px;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
  margin: 30px 0 10px;
}

p {
  color: var(--text);
  margin: 0 0 18px;
}

ul {
  margin: 0 0 24px;
  padding-left: 22px;
}

li {
  color: var(--text);
  margin: 8px 0;
}

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

.mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.lead-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 24px;
  padding: clamp(22px, 4vw, 34px);
}

.lead-form label {
  color: var(--slate);
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}

.lead-form input,
.lead-form textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--slate);
  display: block;
  font: inherit;
  margin-bottom: 18px;
  min-height: 50px;
  padding: 12px 14px;
  width: 100%;
}

.lead-form textarea {
  min-height: 140px;
  resize: vertical;
}

.hidden-field {
  display: none;
}

.site-footer {
  background: var(--surface);
  color: var(--slate);
  padding: 58px clamp(18px, 6vw, 90px);
}

.footer-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  margin: 0 auto;
  max-width: 1200px;
}

.footer-brand {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.35;
}

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

.footer-col h2 {
  color: var(--slate);
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.footer-col a {
  color: var(--slate);
  display: block;
  font-size: 14px;
  line-height: 2;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .site-header,
  .nav,
  .logo-link {
    height: 66px;
    min-height: 66px;
  }

  .site-header {
    overflow: hidden;
  }

  .logo-link {
    width: 260px;
  }

  .logo-link img {
    max-height: 92px;
    max-width: 260px;
  }

  .grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header,
  .nav,
  .logo-link {
    height: 58px;
    min-height: 58px;
  }

  .nav {
    justify-content: flex-start;
    padding: 0 14px;
  }

  .logo-link {
    width: 280px;
  }

  .logo-link img {
    max-height: 112px;
    max-width: 280px;
  }

  .nav .button {
    display: none;
  }

  .hero-page,
  .content-section {
    padding: 46px 18px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 23px;
  }

  p,
  li {
    font-size: 15px;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    padding: 42px 18px;
  }
}
