@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 1 1000;
  src: url("./IBMPlexSansV.ttf");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: italic;
  font-weight: 1 1000;
  src: url("./IBMPlexSansV-Italic.ttf");
}

* {
  margin: 0;
  padding: 0;
  border: 0;
  text-decoration: none;
  font-weight: inherit;
  font-style: inherit;
  color: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
  border-collapse: collapse;
  border-spacing: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialised;
  -moz-osx-font-smoothing: grayscale;
}

/* TYPOGRAPHY */

body {
  font-family: "IBM Plex Sans", san-serif;
  font-size: 20px;
  line-height: 1.5;
}

h1 {
  margin: 28px 0 56px;
  font-weight: 600;
  font-size: 56px;
}

h2 {
  margin: 28px 0;
  font-weight: 600;
}

.cta h2 {
  font-size: 32px;
}

h3 {
  margin: 28px 0;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.33);
}

.how-works h3 {
  font-size: 56;
  color: rgba(black, 0.33);
}

p {
  margin: 28px 0;
}

strong {
  font-weight: 600;
}

em {
  color: white;
}

ins {
  text-decoration: underline black;
  font-style: italic;
}

/* LAYOUT */

section.hero {
  background-color: #ff8d2a;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.30);
}

section.cta {
  background-color: #ff8d2a;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.30) inset;
}

.content {
  width: 100%;
  max-width: 1256px;
  margin: auto;
}

section.hero > .content {
  display: grid;
  grid-template-columns: 7fr 5fr;
  grid-template-rows: auto auto;
  padding: 28px 28px 112px;
}

section.hero > .content > .brand {
  grid-column: span 2;
  width: 150px;
  margin-bottom: 112px;
}

@media screen and (max-width: 1000px) {
  h1 {
    font-size: 32px;
    margin-bottom: 28px;
  }

  section.hero > .content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  section.hero > .content > .brand {
    grid-column: span 1;
    margin-bottom: 28px;
  }
}

section.how-works > .content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  column-gap: 28px;
  padding: 56px 28px 56px;
}

section.how-works > .content > img {
  grid-column: span 2;
}

section.how-works > .content > h2 {
  padding-top: 36px;
}

@media screen and (max-width: 1000px) {
  section.how-works > .content {
    grid-template-columns: 1fr;
  }

  section.how-works > .content > img {
    grid-column: span 1;
  }
}

section.ups > .content {
  display: grid;
  grid-template-columns: 3fr 9fr;
  grid-template-rows: auto auto auto;
  gap: 28px;
  padding: 28px 28px 112px;
  border-top: 2px solid black;
}

section.ups > .content > h2 {
  grid-row: span 3;
}

section.ups > .content > div {
  display: grid;
  grid-template-columns: 2fr 3fr 4fr;
  grid-template-rows: auto;
  gap: 28px;
}

section.ups > .content > div:not(:first-of-type) {
  padding-top: 28px;
  border-top: 2px solid black;
}

@media screen and (max-width: 1000px) {
  section.ups > .content {
    grid-template-columns: 1fr;
  }

  section.ups > .content > h2 {
    grid-row: span 1;    
  }

  section.ups > .content > div {
    grid-template-columns: 1fr 3fr;
    row-gap: 0;
  }

  section.ups > .content > div > p {
    grid-column: 2 / 3;
  }
}

section.cta > .content {
  display: grid;
  grid-template-columns: 5fr 3fr 4fr;
  grid-template-rows: auto;
  gap: 28px;
  padding: 56px 28px 112px;
}

section.cta > .content > form {
  grid-column: 3 / 4;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

@media screen and (max-width: 1000px) {
  section.cta > .content {
    grid-template-columns: 1fr;
  }

  section.cta > .content > form {
    grid-column: span 1;
  }
}

input {
  border: 2px solid black;
  padding: 14px 28px;
  font-size: 18px;
  background: inherit;
  color: inherit;
}

input:focus-visible {
  outline: none;
  box-shadow: 4px 4px 0 0 white;
}

input::placeholder {
  color: sienna;
  opacity: 1;
}

button {
  align-self: flex-start;
  padding: 14px 28px;
  font-size: 18px;
  background-color: black;
  color: white;
}

button:hover {
  box-shadow: 4px 4px 0 0 white;
}

img {
  width: 100%;
  mix-blend-mode: multiply;
}
