:root {
  --page-bg: #f2f2f2;
  --text: #252a30;
  --line: #3ec4e6;
  --field-border: #d8d8d8;
  --field-text: #6a7077;
  --cta: #4da7e8;
  --cta-hover: #3f99db;
  --cookie-bg: #f1f1f1;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--page-bg);
  color: var(--text);
  font-family: 'Open Sans', sans-serif;
}

.page {
  display: flex;
  justify-content: center;
  padding: 30px 16px 115px;
}

.hero {
  width: 905px;
  max-width: 100%;
  text-align: center;
}

.kicker {
  margin: 0;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 28px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: 0.2px;
  color: #33383f;
}

.separator {
  width: 465px;
  max-width: 100%;
  height: 5px;
  margin: 14px auto 24px;
  background: var(--line);
}

h1 {
  margin: 0 0 23px;
  font-size: 21px;
  line-height: 1.18;
  font-weight: 700;
  color: #1f252b;
}

.subtitle {
  margin: 0 0 21px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 24px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: 0.2px;
  color: #33383f;
}

.lead-form {
  width: 609px;
  max-width: 100%;
  margin: 0 auto;
}

input,
.phone-field {
  width: 100%;
  height: 42px;
  border: 2px solid var(--field-border);
  border-radius: 4px;
  background: #fff;
}

input {
  margin: 0 0 11px;
  padding: 0 14px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #454b53;
}

input::placeholder {
  color: var(--field-text);
  opacity: 1;
}

.phone-field {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 11px;
  margin-bottom: 14px;
}

.phone-field input {
  margin: 0;
  border: 0;
  height: 100%;
  padding: 0;
}

.phone-icon {
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 16px;
}

button[type='submit'] {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 2px;
  background: var(--cta);
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease;
}

button[type='submit']:hover {
  background: var(--cta-hover);
}

.date {
  margin: 10px 0 15px;
  font-size: 13px;
  color: #3c434b;
}

.date strong {
  font-weight: 700;
}

.legal {
  width: 609px;
  max-width: 100%;
  margin: 0 auto;
  font-size: 10px;
  line-height: 1.25;
  color: #5f666f;
}

a {
  color: #2e6fb9;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  min-height: 52px;
  border-top: 1px solid #d8d8d8;
  background: var(--cookie-bg);
  padding: 10px 0;
  z-index: 20;
}

.cookie-inner {
  width: 905px;
  max-width: calc(100% - 24px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 36px;
}

.cookie p {
  margin: 0;
  flex: 1;
  font-size: 10px;
  color: #666d75;
  line-height: 1.3;
}

.accept {
  border: 0;
  border-radius: 5px;
  width: 67px;
  height: 32px;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #3f7ec1;
  cursor: pointer;
}

.close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #8f949c;
  font-size: 18px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
}

.cookie.hidden {
  display: none;
}

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

@media (max-width: 1024px) {
  .kicker {
    font-size: clamp(22px, 3.5vw, 28px);
  }

  h1 {
    font-size: clamp(18px, 3vw, 21px);
  }

  .subtitle {
    font-size: clamp(20px, 3vw, 24px);
  }

  button[type='submit'] {
    font-size: clamp(15px, 2.8vw, 16px);
  }

  .cookie p {
    padding-left: 0;
  }
}

@media (max-width: 700px) {
  .page {
    padding: 18px 12px 135px;
    min-height: 100vh;
    align-items: center;
  }

  input,
  .phone-field,
  button[type='submit'] {
    height: 46px;
  }

  .cookie-inner {
    max-width: calc(100% - 16px);
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    row-gap: 8px;
    padding-right: 28px;
  }

  .cookie p {
    text-align: center;
  }

  .accept {
    margin-left: 0;
  }
}
