* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: #172033;
  background: #fbfcfe;
  line-height: 1.65;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1120px;
  margin: auto;
  padding-left: 24px;
  padding-right: 24px;
}


/* HEADER */

header {
  border-bottom: 1px solid #e8ebf0;
  background: #ffffff;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 25px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -1px;
}

.logo span {
  font-weight: 500;
}

nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  font-size: 14px;
  color: #526078;
}

nav a:hover {
  color: #172033;
}


/* HERO */

.hero {
  padding-top: 100px;
  padding-bottom: 105px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.7px;
  color: #65728a;
}

.hero h1,
.page h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -3px;
  max-width: 900px;
  margin: 18px 0;
}

.lead {
  font-size: 20px;
  color: #5b667a;
  max-width: 760px;
}


/* BUTTONS */

.actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 10px;
  background: #172033;
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.btn.secondary {
  background: white;
  color: #172033;
  border: 1px solid #d9dee7;
}

.btn:hover {
  opacity: 0.9;
}


/* CONTENT */

.section {
  padding: 60px 24px 100px;
}

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

.grid article,
.stack article,
.steps > div,
.contactbox {
  background: #ffffff;
  border: 1px solid #e5e9ef;
  border-radius: 16px;
  padding: 26px;
}


/* PINTEREST BAND */

.band {
  background: #eef2f7;
  padding: 75px 0;
}

.band h2 {
  font-size: 36px;
  line-height: 1.15;
  max-width: 760px;
}

.textlink {
  font-weight: 700;
}


/* INNER PAGES */

.page {
  padding-top: 85px;
  padding-bottom: 100px;
}

.stack {
  display: grid;
  gap: 16px;
  margin-top: 45px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 50px;
}

.steps strong {
  font-size: 13px;
  letter-spacing: 1px;
}


/* NOTICE */

.notice {
  margin-top: 35px;
  padding: 20px;
  background: #fff8df;
  border: 1px solid #eadca9;
  border-radius: 12px;
}


/* LEGAL */

.legal {
  max-width: 850px;
  padding-top: 70px;
  padding-bottom: 100px;
}

.legal h1 {
  font-size: 52px;
  line-height: 1.1;
}

.legal h2 {
  margin-top: 38px;
}


/* CONTACT */

.contactbox {
  max-width: 650px;
  margin-top: 40px;
}

.small {
  font-size: 13px;
  color: #737d8e;
}


/* FOOTER */

footer {
  border-top: 1px solid #e8ebf0;
  background: #ffffff;
  padding: 35px 0;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.foot a {
  margin-left: 20px;
  text-decoration: none;
  color: #526078;
}

.copyright {
  text-align: center;
  color: #8a93a2;
  font-size: 12px;
  margin: 25px 0 0;
}


/* MOBILE */

@media (max-width: 760px) {

  nav {
    gap: 12px;
  }

  .nav {
    align-items: flex-start;
    padding-top: 18px;
    padding-bottom: 18px;
    flex-direction: column;
  }

  .hero {
    padding-top: 65px;
  }

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

  .hero h1,
  .page h1 {
    letter-spacing: -2px;
  }

  .foot {
    flex-direction: column;
  }

  .foot a {
    margin-left: 0;
    margin-right: 18px;
  }
}
