
:root {
  --bright-blue: #0178D4;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Segoe UI, Arial;
  font-size: calc(0.7em + 0.5vmin);
}

h1 {
  font-size: 275%;
}

h2 {
  font-size: 200%;
}

h1, h2, h3 {
  font-weight: 500;
}

ul {
  margin: 0;
  padding: 0;
}

main > * {
  padding: 0 2em;
}

button, [button] {
  padding: 0.4em 1em 0.6em;
  color: #fff;
  background: var(--bright-blue);
  border: 2px solid #fff;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

a.cta-link {
  font-weight: 500;
  color: var(--bright-blue);
  text-decoration: none;
}

[flex], .highlights {
  display: flex;
  align-items: center;
  justify-content: center;
}

.max-width {
  max-width: 1440px;
  margin: 0 auto;
}

.highlights {
  padding: 2.5em 0;
  text-align: center;
}

.highlights > * {
  flex: 1 1 0;
  width: 0;
  max-width: 375px;
  margin: 1em 0;
  padding: 0 2em;
}

.highlights > *:first-child {
  margin-left: 0;
}

.highlights > *:last-child {
  margin-right: 0;
}

#header {
  padding: 0.75em 2em;
}

#header img {
  max-height: 1.25em;
}

#hero {
  padding: 1em 2em 2em;
  color: #fff;
  background: #000 url(../images/hero-bk.svg);
}

#hero h1 {
  margin: 0 0 0.25em;
}

#hero p {
  margin: 0.2em 0 3em;
}

#hero .max-width {
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero .max-width > div:first-child  {
  box-sizing: border-box;
  padding: 2em;
}

#hero video {
  flex: 1;
  width: 100%;
  min-width: 250px;
  max-width: 450px;
  margin: 3em 0 2em;
}

/* Use Cases */

#use_cases {
  background: #F5F5F5;
}

#use_cases ul {
  flex-wrap: wrap;
}
#use_cases li {
  min-width: 250px;
}
/* Partners */

#partners .max-width {
  text-align: center;
  padding: 3em;
}

#partners [flex]  {
  flex-wrap: wrap;
}

#partners a  {
  display: block;
  box-sizing: border-box;
  width: calc(25% - 2em);
  min-width: 100px;
  margin: 2em 1em;
  text-decoration: none;
}

#partners a div  {
  margin-top: 0.75em;
  font-size: 1.3em;
  font-weight: 600;
}

/* Learn More */

#learn_more {
  color: #fff;
  background: var(--bright-blue);
  text-align: center;
}

#learn_more .max-width {
  max-width: 800px;
  padding: 1.25em 0 2.25em;
}

#learn_more a {
  display: block;
}

/* Features */

#features .max-width {
  padding: 5em 0 4em;
}

#features ul {
  flex-wrap: wrap;
}

#features li {
  min-width: 250px;
  margin: 0 2em 2em;
}

/* Integration */

#integration {
  text-align: center;
  margin-top: 6em;
}

#integration h2 {
  margin-bottom: 1.75em;
}

#integration .max-width > [flex] {
  flex-wrap: wrap;
}

#integration [flex] [flex] {
  margin: 2em auto;
}


#integration .max-width > [flex] > * {
  width: 50%;
}

#integration a {
  flex: 1 1 0;
  width: 0;
  text-decoration: none;
}

#integration a div  {
  margin-top: 0.75em;
  font-size: 1.3em;
  font-weight: 600;
}

/* Stories */

#stories {
  margin: 6em 0;
}

#stories h2 {
  margin-bottom: 2em;;
  text-align: center;
}

#stories > [flex] {
  align-items: stretch;
  flex-wrap: wrap;
}

#stories li {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  width: 0;
  min-width: 275px;
  max-width: 350px;
  margin: 0 2em 3.5em;
  padding: 1em;
  background: #fff;
  box-shadow: 0 1px 20px 5px rgba(0,0,0,0.2);
}

#stories li [flex] {
  height: 15em;
  background: #000;
}

#stories li:nth-child(2) [flex] {
  background: #144fa8;
}

#stories li:nth-child(3) [flex] {
  background: #f2dc35;
}


#stories img {
  display: block;
}

#stories p {
  flex: 1;
}

/* Get Started */

#get_started a {
  font-size: 1.3em;
  margin-bottom: 6em;
  border-radius: 6px;
}

#footer {
  padding: 1.5em 2em;
  text-align: right;
  background: #f2f2f2;
}

#footer div > * {
  display: inline-block;
  margin: 0.5em 0 0.5em 1em;
  text-decoration: none;
  color: inherit;
}

@media (max-width: 950px) {

  #hero .max-width {
    flex-wrap: wrap;
  }

  #hero .max-width > div:first-child {
    order: 1;
    width: 100%;
    font-size: 80%;
    text-align: center;
  }

  #hero video {
    margin: 3em auto 0;
  }

  #hero a {
    font-size: 1.4em;
  }

  #integration .max-width > [flex] > * {
    width: 100%;
  }
}
