@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter-latin-variable.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

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

html {
  color-scheme: light;
  scroll-padding-block: 16px;
}

body {
  margin: 0;
  background: #fafafa;
  color: #1a1a1a;
  font-family: Inter, Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #0b2545;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid #0b2545;
  outline-offset: 6px;
}

.skip {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 10;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 8px 16px;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  background: #fff;
  color: #0b2545;
  text-decoration: none;
}

.skip:focus,
.skip:focus-visible {
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  overflow: visible;
}

.shell {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.header {
  padding: 40px 0 32px;
  border-bottom: 1px solid #e2e5e9;
}

.logo {
  display: inline-block;
  padding: 4px;
  background: #fff;
  line-height: 0;
}

.logo img {
  display: block;
  width: 165px;
  height: auto;
}

.hero {
  position: relative;
  isolation: isolate;
  padding-block: 40px;
}

.hero__background {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  background: url("assets/hero-agreement.svg") right bottom / 780px auto no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #fafafa 0%, rgb(250 250 250 / 96%) 48%, rgb(250 250 250 / 82%) 100%);
}

.hero__copy {
  max-width: 620px;
}

h1 {
  margin: 0;
  color: #0b2545;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.tagline {
  margin: 20px 0 0;
  color: #0b2545;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.2;
}

.pitch {
  max-width: 54ch;
  margin-top: 36px;
}

.pitch p {
  margin: 0;
}

.pitch p + p {
  margin-top: 16px;
}

.email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 28px;
  color: #0b2545;
  text-decoration: underline;
  text-decoration-color: #0b2545;
  text-underline-offset: 5px;
  scroll-margin-block: 16px;
}

.footer {
  padding: 28px 0 32px;
  border-top: 1px solid #e2e5e9;
}

.footer address {
  display: grid;
  margin: 0;
  font-size: 14px;
  font-style: normal;
  line-height: 1.65;
  color: #1a1a1a;
}

@media (min-width: 800px) {
  body {
    font-size: 18px;
  }

  .shell {
    width: min(1200px, calc(100% - 96px));
  }

  .logo img {
    width: 200px;
  }

  .hero {
    padding-block: 72px;
    min-height: 580px;
  }

  .hero__background {
    background-size: 100% auto;
    background-position: right center;
  }

  .hero::after {
    background: linear-gradient(90deg, #fafafa 0%, rgb(250 250 250 / 98%) 35%, rgb(250 250 250 / 85%) 52%, rgb(250 250 250 / 15%) 76%, rgb(250 250 250 / 0%) 100%);
  }

  .hero__copy {
    max-width: 55%;
  }

  .tagline span {
    display: block;
  }

  h1 {
    font-size: 56px;
  }

  .tagline {
    font-size: 32px;
  }

  .footer address {
    grid-template-columns: max-content max-content;
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    column-gap: 48px;
  }
}

@media (min-width: 1024px) {
  .shell {
    width: min(1200px, calc(100% - 128px));
  }
}
