* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Background */

.hero {
  background-color: #E0FBFC;
}

.why {
  background-color: #C2DFE3;
}

.act {
  background-color: #9DB4C0;
}

.faq {
  background-color: #5C6B73;
}

body {
  background-color: #253237;
}

/* Arc background */

[data-arc] {
  position: relative;
}

[data-arc] + * {
  padding-top: 20vh;
}

svg {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;
}

/* Typography */

:root {
  font-size: 18px;
  line-height: 1.4;
}

body {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h1,
h2 {
  font-family: "Fraunces", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings:
    "SOFT" 100,
    "WONK" 0;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.5rem;
  text-align: center;
}

h3,
label,
button {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Layout */

section > div {
  margin-inline: auto;
  padding-inline: 20px;
}

.hero ~ section > div {
  padding-bottom: 30px;
}

.wide {
  max-width: 1000px;
}

.narrow {
  max-width: 680px;
}

h1,
h2 {
  margin-bottom: 45px;
}

h3 {
  margin-bottom: 10px;
}

/* Hero */

.hero {
  min-height: 80vh;
  display: flex;
}

.hero > div {
  margin-block: auto;
}

.hero-content {
  position: relative;
}

.hero-content > * {
  position: relative;
  z-index: 1;
}

@media (min-width: 960px) {
  .hero h1 {
    width: 60%;
  }

  .hero-content::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 100%;
    height: 0;
    padding-bottom: 42.4%;
    transform: translateY(-50%);
    background-image: url('../img/logo.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right center;
  }
}

.hero button {
  box-shadow: 0px 2px 5px 2px #9DB4C0;
  border-color: #253237;
}

.hero button:focus-visible {
  outline-color: #253237;
}

/* Why */

.whys {
  display: flex;
  gap: 36px 60px;
  flex-wrap: wrap;
}

.whys > div {
  flex: 1 0 220px;
}

/* Act */

.act .field {
  border-color: #5C6B73;
}

.act .field:focus-visible,
.act .field:focus-within {
  outline-color: #5C6B73;
}

.act button {
  box-shadow: 0px 2px 5px -1px #253237;
  border-color: #5C6B73;
}

.act button:focus-visible {
  outline-color: #5C6B73;
}

/* Faq */

.questions h3 ~ h3 {
  margin-top: 36px;
}

/* Buttons */

button {
  background: #ffffff;
  cursor: pointer;
  border-radius: 20px;
  font-family: inherit;
  padding: 9px 18px;
  transition: .25s background-color;
  line-height: 1;
  border-width: 2px;
  border-style: solid;
  color: inherit;
}

button:hover,
button:focus,
button:disabled {
  background: #f8f8f8;
}

button:disabled {
  cursor: unset;
}

/* Inputs */

.field {
  background: #fff;
  cursor: text;
  width: 100%;
  border-width: 2px;
  border-style: solid;
  padding-inline: 18px;
  font-family: inherit;
  font-size: 1rem;
  transition: .25s background-color;
  height: 40px;
}

div.field {
  display: flex;
  align-items: center;
}

.field input {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  flex-grow: 1;
}

.field input:focus {
  outline: none;
}

.field:hover,
.field:focus,
.field:focus-within {
  background: #f8f8f8;
}

/* Focus */

button:focus-visible,
.field:focus-visible,
.field:focus-within {
  outline-width: 2px;
  outline-style: solid;
  outline-offset: 2px;
}

/* Form */

label {
  display: block;
  margin-bottom: 2px;
}

label:not(:first-child),
.submit {
  margin-top: 24px;
}

.field + p,
.submit p {
  font-size: 0.8rem;
}

.field + p {
  margin-top: 2px;
}

.submit {
  display: flex;
  align-items: center;
}

.submit button {
  flex: 0 0 auto;
}

.submit p {
  margin-left: 18px;
}
