@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/montserrat/montserrat-v31-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/montserrat/montserrat-v31-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/montserrat/montserrat-v31-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/montserrat/montserrat-v31-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


:root {
  --bg: #fff;
  --soft: #f6f6f4;
  --text: #777;
  --text-dark: #4f4f4f;
  --line: #dedede;
  --accent: #d9c6a9;
  --accent-dark: #b89d74;
  --max: 1600px;
  --shadow: 0 12px 40px rgba(0, 0, 0, .08);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.6;
  font-weight: 400
}

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

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

button,
input,
textarea {
  font: inherit
}

.wrap {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto
}

.section {
  padding: clamp(64px, 8vw, 120px) 0
}

.soft-bg {
  background: var(--soft)
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .72rem;
  color: var(--accent-dark);
  margin-bottom: 14px
}

.eyebrow.light {
  color: #f4eadb
}

h1,
h2,
h3 {
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.12;
  margin: 0 0 22px
}

h1 {
  font-size: clamp(2.7rem, 6vw, 6.3rem)
}

h2 {
  font-size: clamp(2rem, 4.2vw, 4rem)
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.7rem)
}

p {
  margin: 0 0 1.2em
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--text-dark);
  padding: 13px 20px;
  background: var(--text-dark);
  color: #fff;
  cursor: pointer;
  transition: .25s ease
}

.button:hover {
  transform: translateY(-1px);
  background: #333
}

.button-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: #bdbdbd
}

.button-outline:hover {
  background: var(--text-dark);
  color: #fff;
  border-color: var(--text-dark)
}

.button-light {
  border-color: rgba(255, 255, 255, .8);
  background: rgba(0, 0, 0, .12);
  backdrop-filter: blur(3px)
}

.button-light:hover {
  background: #fff;
  color: #444
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: start
}

.intro-copy {
  max-width: 520px
}

.intro-text {
  max-width: 800px;
  font-size: clamp(1rem, 1.3vw, 1.2rem)
}

.narrow {
  max-width: 760px
}

.legal-page {
  max-width: 980px
}

.legal-page h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem)
}

.legal-page h2 {
  font-size: 1.6rem;
  margin-top: 42px
}

.form-server-message {
  margin-top: 32px;
  padding: 18px 22px;
  border: 1px solid var(--line)
}

.form-server-message.ok {
  background: #f1f7f1
}

.form-server-message.error {
  background: #faf3f0
}

@media(max-width:900px) {
  .wrap {
    width: min(calc(100% - 30px), var(--max))
  }

  .intro-section {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .section {
    padding: 70px 0
  }
}