:root{
  --color-gray: #b2b2b2;
  --color-gray--200: #ececec;
  --color-gray--600: #696969;
  --color-gray--800: #2b2b2b;
  --color-gray--900: #1d1d1b;
  --color-white: #fff;
  --color-black: #000;
  --color-green: #3baa35;
  --color-red: #bd332e;

  --gap: 3rem;
  --gap__mobile: 2rem;
  --max-width: 160rem;
  --inner-max-width: 70rem;

  --font-family: helvetica, arial, sans-serif;
  --font-size: 1.6rem;
  --font-weight: 300;
  --line-height: 1.5;

  --font-weight__bold: 700;

  --font-size__l: 3rem;
  --font-size__lm: 2rem;
  --font-size__s: 1.4rem;
  --font-size__xs: 1.2rem;
}


/** Base styles */
html {
  box-sizing: border-box;
}

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

html,
body {
  background-color: var(--color-gray);
  color: var(--color-white);
  padding: 0;
  margin: 0;
}

/** Simple reset */
h1, h2, h3, h4, h5, h6{
  font-weight: normal;
}

p, h1, h2, h3, h4, h5, h6, ol, ul{
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

button {
  background-color: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  padding: 0;
  margin: 0;
  outline: none;
}

/** Base layout */
.wrapper{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gap);
  position: relative;
}

@media screen and (max-width: 800px){
  .wrapper{
    padding: 0 var(--gap__mobile);
  }
}

.inner-wrapper{
  max-width: var(--inner-max-width);
  margin: 0 auto;
  position: relative;
}

.page-component{
  padding: calc(var(--gap) * 2) 0 0 0;
  overflow-x: hidden;
}

.page-headline{
  padding: 0 0 calc(var(--gap) * 2) 0;
}

@media screen and (max-width: 800px){
  .page-component{
    padding: calc(var(--gap__mobile) * 3) 0 0 0;
  }
  
  .page-headline{
    padding: 0 0 calc(var(--gap__mobile) * 2) 0;
  }
}

/** Base typography */
html {
  font-size: 62.5%;
}

body{
  font-family: var(--font-family);
  font-size: var(--font-size);
  font-weight: var(--font-weight);
  line-height: var(--line-height);
}

h1, h2, h3, h4, h5, h6 {
  font-size: var(--font-size__l);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

p{
  font-size: var(--font-size);
}

strong{
  font-weight: 400;
}

a{
  color: var(--color-white);
  text-decoration: none;
  transition: 300ms ease all;
}

a:hover{
  color: var(--color-gray--200);
}

ol{
  list-style: decimal inside;
}

ol li + li{
  margin-top: 0.334em;
}

.preamble{
  font-weight: 400;
  font-size: var(--font-size__lm);
}

.text-flow{
  text-align: center;
}

.text-flow > * + *{
  margin-top: 1em;
}

.block-list{
  list-style: none;
  counter-reset: item;
}

.block-list li{
  margin-top: calc(var(--gap) / 2);
}

.block-list li:before{
  background-color: var(--color-white);
  color: var(--color-gray--800);
  border-radius: 100%;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;

  content: counter(item);
  counter-increment: item;
  margin: 0 auto .25em auto;
  line-height: 1;
  height: 2em;
  width: 2em;
}

@media screen and (max-width: 800px){
  body{
    font-size: var(--font-size__s);
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: 2.4rem;
  }

  p{
    font-size: var(--font-size__s);
  }

  .preamble{
    font-size: var(--font-size);
  }
}

/** Icons */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}

.icon-2x{
  height: 2em;
  width: 2em;
}

/** Buttons */
button{
  border-radius: 0;
}

.button,
a.button{
  border-radius: 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  font-size: var(--font-size);
  line-height: 1.5;
  max-width: 320px;
  padding: 20px 3rem;
  text-align: center;
  text-decoration: none;
  width: 100%;
  transition: all .2s linear;
}

.primary-button,
a.primary-button{
  background-color: var(--color-green);
  border: none;
  color: var(--color-white);
}

.secondary-button,
a.secondary-button{
  background-color: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
}

button[disabled],
input[disabled]{
  opacity: .33;
}

@media screen and (max-width: 800px){
  .button,
  a.button{
    font-size: var(--font-size__s);
    padding: 15px;
  }
}

/** Form elements */
input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
textarea{
  background-color: var(--color-gray--200);
  border: none;
  border-radius: 0;
  color: var(--color-gray--800);
  font-family: var(--font-family);
  font-size: var(--font-size);
  padding: 15px 30px;
}

textarea{
  min-height: 22rem;
  resize: vertical;
  max-width: 100%;
}

@media screen and (max-width: 800px){
  label{
    font-size: var(--font-size__s);
  }

  input[type="text"],
  input[type="password"],
  input[type="number"],
  input[type="email"],
  textarea{
    font-size: var(--font-size__s);
    padding: 15px;
  }
}