/*
   Grid
   ========================================================================== */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/**
 * Set up a decent box model on the root element
 */
html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/**
 * Make all elements from the DOM inherit from the parent box-sizing
 * Since `*` has a specificity of 0, it does not override the `html` value
 * making all elements inheriting from the root box-sizing value
 * See: https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
 */
*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

/**
 * Default styles
 * 1. Stops absolute postioned elements creating side scroll
 */
body {
  background: white;
  overflow-x: hidden;
}

/**
* Reset default padding and margin on block elements
*/
h1, h2, h3, h4, p, ul, li, button {
  padding: 0;
  margin: 0;
}

/**
 * Make images responsive
 * 1. Image will never scale up larger than its original size
 */
img {
  max-width: 100%;
  /* 1 */
  height: auto;
}

/* Basic styles for links */
a {
  text-decoration: none;
}

/* Basic styles for list items */
li {
  list-style: none;
}

/**
 * Basic typography style for copy text
 */
body {
  font-family: "Public Sans", sans-serif;
  font-size: 18px;
  padding: 0;
  margin: 0;
}

h1, h2, h3, h4 {
  color: #2d314d;
  font-weight: 300;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.22rem;
}

p {
  color: #9698a6;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
}

@media (min-width: 1110px) {
  h2 {
    font-size: 2.5rem;
  }
  h3 {
    font-size: 1.46rem;
  }
  p {
    font-size: 1.05rem;
    line-height: 1.6;
  }
}

/**
 * Clear inner floats
 */
.clearfix::after {
  clear: both;
  content: '';
  display: table;
}

/**
 * Main content containers
 * 1. Make the container full-width with a maximum width
 * 2. Center it in the viewport
 * 3. Leave some space on the edges, especially valuable on small screens
 */
.container {
  max-width: 1170px;
  /* 1 */
  margin-left: auto;
  /* 2 */
  margin-right: auto;
  /* 2 */
  padding-left: 24px;
  /* 3 */
  padding-right: 24px;
  /* 3 */
  width: 100%;
  /* 1 */
}

@media (min-width: 768px) {
  .container {
    padding-left: 30px;
    /* 3 */
    padding-right: 30px;
    /* 3 */
  }
}

.nav {
  background: white;
  z-index: 5;
  position: relative;
  padding-top: 20px;
  padding-bottom: 21px;
}

.nav__btn {
  display: none;
}

@media (min-width: 768px) {
  .nav__btn {
    display: block;
  }
}

@media (min-width: 768px) {
  .nav {
    padding: 0;
  }
  .nav .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.intro {
  text-align: center;
  position: relative;
  background-color: #fafafa;
}

.intro::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  z-index: 1;
  background: center/cover no-repeat url("../../images/bg-intro-mobile.svg");
  background-color: #fafafa;
  width: 100%;
  height: 280px;
}

@media (min-width: 768px) {
  .intro::after {
    background: no-repeat url("../../images/bg-intro-desktop.svg");
    background-size: 88.4%;
    background-position: 340px -210px;
    background-color: #fafafa;
    height: 100%;
  }
}

@media (min-width: 1110px) {
  .intro::after {
    background-position: 610px -256px;
  }
}

@media (min-width: 1600px) {
  .intro::after {
    background-position: 750px -256px;
  }
}

.intro .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

@media (min-width: 768px) {
  .intro .container {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    height: 655px;
  }
}

.intro__images {
  position: relative;
  height: 280px;
  max-width: 325px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 35px;
  -webkit-box-ordinal-group: 0;
      -ms-flex-order: -1;
          order: -1;
}

@media (min-width: 768px) {
  .intro__images {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    -ms-flex-preferred-size: 51.5%;
        flex-basis: 51.5%;
    max-width: 100%;
    margin-bottom: 0;
  }
}

.intro__mockups {
  position: absolute;
  top: -121px;
  left: -8px;
  z-index: 2;
  min-width: 104%;
}

@media (min-width: 768px) {
  .intro__mockups {
    top: -250px;
    left: 80px;
  }
}

@media (min-width: 1110px) {
  .intro__mockups {
    top: -315px;
    left: 165px;
    min-width: 135.5%;
  }
}

.intro__copy {
  z-index: 2;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .intro__copy {
    text-align: left;
    -ms-flex-preferred-size: 48.5%;
        flex-basis: 48.5%;
    margin: 0;
  }
}

.intro__title {
  font-size: 2.4rem;
  max-width: 400px;
  margin-bottom: 22.5px;
}

@media (min-width: 1110px) {
  .intro__title {
    max-width: 430px;
    font-size: 3.4rem;
  }
}

.intro__subtext {
  margin-bottom: 30px;
}

.intro__btn {
  margin-bottom: 88px;
}

.details {
  background-color: #f3f4f6;
  text-align: center;
  padding-top: 4.25rem;
  padding-bottom: 4.25rem;
}

.details__heading {
  max-width: 400px;
  margin: 0 auto 3.6rem;
}

.details__heading h2 {
  margin: 0 auto 1rem;
}

.details__item {
  max-width: 330px;
  margin: 0 auto;
}

.details__item > :nth-last-child(n+2) {
  margin-bottom: 20px;
}

.details__item:nth-last-child(n+2) {
  margin-bottom: 35px;
}

@media (min-width: 768px) {
  .details {
    padding-top: 6.875rem;
    padding-bottom: 6.875rem;
  }
  .details .container {
    display: -ms-grid;
    display: grid;
    grid-gap: 30px;
    -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2, 1fr);
  }
  .details__heading {
    grid-column: 1 / -1;
    max-width: 620px;
  }
}

@media (min-width: 1110px) {
  .details .container {
    display: -ms-grid;
    display: grid;
    grid-gap: 30px;
    -ms-grid-columns: (1fr)[4];
        grid-template-columns: repeat(4, 1fr);
    text-align: left;
  }
  .details__heading {
    margin-left: 0;
  }
  .item__copy {
    font-size: 0.95rem;
  }
}

.articles {
  background-color: #fafafa;
  padding-top: 5.625rem;
  padding-bottom: 5.5rem;
  text-align: center;
}

.articles__heading {
  font-size: 1.9rem;
  margin-bottom: 2.2rem;
}

@media (min-width: 1110px) {
  .articles__heading {
    font-size: 2.35rem;
  }
}

.article {
  background: white;
  max-width: 330px;
  margin: 0 auto;
}

.article:nth-last-child(n+2) {
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .article:nth-last-child(n+2) {
    margin-bottom: 0;
  }
}

.article__image {
  height: 200px;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  margin-bottom: -4px;
}

.article__textbox {
  text-align: left;
  padding: 30px 30px 42px;
}

.article__author {
  font-size: 10px;
  margin-bottom: 10px;
}

.article__title {
  font-size: 16px;
  margin-bottom: 10px;
}

.article__title:hover, .article__title:active, .article__title:focus {
  cursor: pointer;
  color: #31d35c;
}

.article__copy {
  font-size: 12.5px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .articles {
    padding-bottom: 5rem;
  }
  .articles .container {
    display: -ms-grid;
    display: grid;
    grid-gap: 30px;
    -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2, 1fr);
  }
  .articles__heading {
    grid-column: 1 / -1;
    margin-bottom: 1.425rem;
  }
  .article__textbox {
    padding: 25px 25px 30px;
  }
}

@media (min-width: 1110px) {
  .articles .container {
    display: -ms-grid;
    display: grid;
    grid-gap: 30px;
    -ms-grid-columns: (1fr)[4];
        grid-template-columns: repeat(4, 1fr);
  }
  .articles__heading {
    margin-right: auto;
  }
}

.footer {
  background: #2d314d;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 45px;
}

@media (min-width: 768px) {
  .footer {
    padding-top: 50px;
  }
}

.footer__logo {
  display: inline-block;
  margin-bottom: 30px;
}

.footer__social-icons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 35px;
}

.footer__social-icons svg {
  width: 24px;
}

.footer__social-icons svg:hover path,
.footer__social-icons svg:focus path {
  fill: #31d35c;
}

.footer__social-icons li:nth-last-of-type(n + 2) {
  margin-right: 15px;
}

@media (min-width: 768px) {
  .footer__social-icons {
    margin-bottom: 0;
  }
}

.footer__menu {
  font-weight: 300;
  font-size: 14px;
  margin-bottom: 35px;
}

.footer__menu div:nth-last-of-type(n + 2) li {
  margin-bottom: 20px;
}

.footer__menu li:nth-last-of-type(n + 2) {
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .footer__menu {
    margin-bottom: 0;
  }
  .footer__menu div:nth-last-of-type(n + 2) li:last-child {
    margin-bottom: 0;
  }
}

@media (min-width: 1110px) {
  .footer__menu {
    text-align: left;
  }
}

.footer__menu a {
  color: white;
}

.footer__menu a:hover, .footer__menu a:active, .footer__menu a:focus {
  color: #31d35c;
}

.footer__btn {
  margin-bottom: 28px;
}

.attribution {
  background-color: #2d314d;
  color: #9698a6;
  font-size: 11px;
  text-align: center;
  padding: 2rem 0 1rem;
}

.attribution a {
  color: #f3f4f6;
}

@media (min-width: 768px) {
  .footer .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
  .footer__menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .footer__menu div:first-child {
    margin-right: 35px;
  }
}

@media (min-width: 1110px) {
  .footer .container {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  .footer .container div:last-child {
    margin-left: auto;
  }
  .footer__menu div {
    margin-left: 125px;
    margin-right: 125px;
  }
  .footer__menu div:first-child {
    margin-right: 125px;
  }
}

.btn {
  color: white;
  background: -webkit-gradient(linear, right top, left top, from(#31d35c), to(#2bb7da));
  background: linear-gradient(to left, #31d35c, #2bb7da);
  font-size: 14.5px;
  border: none;
  border-radius: 50px;
  padding: 13px 35px;
}

.btn:hover, .btn:active, .btn:focus {
  opacity: 0.7;
  cursor: pointer;
}

.logo img:hover, .logo img:active, .logo img:focus {
  cursor: pointer;
}

.nav__menu {
  background: white;
  text-align: center;
  display: none;
  border-radius: 5px;
  margin-left: 25px;
  margin-right: 25px;
  padding-top: 17px;
  padding-bottom: 17px;
}

.nav__menu a {
  color: #2d314d;
  display: block;
  padding: 13px 0;
}

.nav__menu--active {
  display: block;
  position: absolute;
  top: 88px;
  left: 0;
  right: 0;
}

.hamburger {
  background: center/contain no-repeat url("../../images/icon-hamburger.svg");
  width: 28px;
  height: 28px;
  float: right;
  cursor: pointer;
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}

.hamburger--active {
  background-image: url("../../images/icon-close.svg");
  width: 23px;
  height: 23px;
}

.modal-background {
  display: none;
  position: fixed;
  z-index: 3;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-background--active {
  display: block;
}

@media (min-width: 768px) {
  .nav__menu {
    display: inline-block;
    padding: 0;
  }
  .nav__menu li {
    display: inline-block;
    margin-right: 30px;
  }
  .nav__menu li:last-child {
    margin-right: 0;
  }
  .nav__menu a {
    color: #9698a6;
    font-size: 14.5px;
    border-bottom: 3px solid white;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .nav__menu a:hover, .nav__menu a:active, .nav__menu a:focus {
    color: #2d314d;
    -o-border-image: linear-gradient(to left, #31d35c, #2bb7da) 1;
       border-image: -webkit-gradient(linear, right top, left top, from(#31d35c), to(#2bb7da)) 1;
       border-image: linear-gradient(to left, #31d35c, #2bb7da) 1;
  }
}
/*# sourceMappingURL=main.css.map */