:root {
  --text-bright: #FFFFFF;
  --text-dim: #B9B5C2;
  --text-highlight: #FFE176;
  --typeface-sans: 'Marat Sans', -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  --typeface-serif: 'Marat','Palatino',serif;
}

@font-face {
  font-family: 'Marat';
  src: url('/assets/fonts/MaratWeb-Bold.woff2') format('woff2'), url('/assets/fonts/MaratWeb-Bold.woff') format('woff');
  font-weight: 600;
}

@font-face {
  font-family: 'Marat';
  src: url('/assets/fonts/MaratWeb-Medium.woff2') format('woff2'), url('/assets/fonts/MaratWeb-Medium.woff') format('woff');
  font-weight: 500;
}

@font-face {
  font-family: 'Marat';
  src: url('/assets/fonts/MaratWeb-MediumItalic.woff2') format('woff2'), url('/assets/fonts/MaratWeb-MediumItalic.woff') format('woff');
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: 'Marat';
  src: url('/assets/fonts/MaratWeb-Regular.woff2') format('woff2'), url('/assets/fonts/MaratWeb-Regular.woff') format('woff');
  font-weight: 400;
}

@font-face {
  font-family: 'Marat Sans';
  src: url('/assets/fonts/MaratSansWeb-Demibold.woff2') format('woff2'), url('/assets/fonts/MaratSansWeb-Demibold.woff') format('woff');
  font-weight: 600;
}

@font-face {
  font-family: 'Marat Sans';
  src: url('/assets/fonts/MaratSansWeb-Medium.woff2') format('woff2'), url('/assets/fonts/MaratSansWeb-Medium.woff') format('woff');
  font-weight: 500;
}

@font-face {
  font-family: 'Marat Sans';
  src: url('/assets/fonts/MaratSansWeb-Regular.woff2') format('woff2'), url('/assets/fonts/MaratSansWeb-Regular.woff') format('woff');
  font-weight: 400;
}

@font-face {
  font-family: 'Marat Sans';
  src: url('/assets/fonts/MaratSansWeb-Extralight.woff2') format('woff2'), url('/assets/fonts/MaratSansWeb-Extralight.woff') format('woff');
  font-weight: 300;
}

html {
  font-family: var(--typeface-sans);
  font-size: 24px;
  line-height: 1.2;
  color: var(--text-dim);
  background: #1A171F;
}

h1, h2, h3, strong {
  color: var(--text-bright);
}

h1 {
  font-family: var(--typeface-serif);
  font-size: 60px;
  font-weight: 500;
  line-height: 110%;
  margin-bottom: 30px;
}

h2 {
  font-size: 34px;
  font-weight: 500;
  margin-top: 50px;
  margin-bottom: 24px;
}

h3 {
  font-size: 24px;
  font-weight: 500;
  margin-top: 50px;
  margin-bottom: 24px;
}

ul {
  list-style-type: none;
}

li {
  margin-bottom: 0.5rem;
}

strong {
  font-weight: inherit;
}

p {
  font-size: 24px;
  margin-bottom: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

p a, li a {
  text-decoration: underline;
}

a:hover {
  color: var(--text-highlight);
  text-decoration: underline;
}

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

body {
  padding: 3vw;
}

main {
  max-width: 1240px;
  margin: 6vw auto;
}

main.narrow {
  max-width: 800px; 
}

header {
  width: 100%;
  display: flex;
  align-items: center;
}

header .logo {
  display: flex;
  align-items: center;
}

header .logo img {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0px 0px 10px rgba(0,0,0,0.5));
  transition: 0.1s;
}

header .logo:hover img {
  transform: scale(1.1);
}

header .logo span {
  font-size: 24px;
  font-weight: 500;
  padding-left: 18px;
  color: var(--text-bright);
}

header .logo:hover span {
  text-decoration: none;
  color: var(--text-highlight);
}

header .nav {
  font-size: 18px;
  flex-basis: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  margin-top: 24px;
}

header .nav li {
  margin-left: 16px;
}

header .nav li:first-child {
  margin-left: 0;
}

header .nav li a.nav-button {
  display: inline-block;
  padding: 7px 12px 7px 12px;
  margin: 0 4px 8px 0;
  border-radius: 6px;
  background-color: #2F2A39;
  box-shadow: 0px 0px 4px rgba(0,0,0,0.4);
  font-weight: 500;
}

header a, footer a {
  text-decoration: none;
  color: var(--text-dim);
}

footer {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 180px 0 90px 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 150%;
}

footer ul {
  padding-right: 85px;
  padding-bottom: 24px;
}

footer li {
  margin-bottom: 0;
}

footer li.label {
  color: var(--text-bright);
  margin-bottom: 0.4rem;
}

/* hide top navigation on narrow screens, decrease h1 size */
@media only screen and (max-width: 800px) {
  header {
    margin-top: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }
  header .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  h1 {
    font-size: 40px;
  }
}



/* COMPONENTS */

a.button-rounded {
  display: inline-block;
  background-color: var(--text-highlight);
  color: black;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  padding: 9px 28px 9px 28px;
  margin: 12px 12px 12px 0;
  border-radius: 30px;
  transition: 0.1s;
}

a.button-rounded:hover {
  transform: scale(1.05);
}

a.button-rounded:active {
  background-color: #FFF;
}

.download-cta {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
  margin-top: 50px;
}

.download-cta .cta-arrow {
  padding-top: 30px;
}

.download-cta .cta-arrow.left {
  grid-column: 1;
  justify-self: right;
}

.download-cta .download {
  grid-column: 2;
}

.download-cta .download img {
  width: 240px;
  transition: 0.1s;
}

.download-cta .cta-arrow.right {
  grid-column: 3;
  justify-self: left;
  transform: scaleX(-1);
}

.download-cta .free-and-buy {
  grid-column: 1 / 4;
  font-size: 20px;
  margin-top: 8px;
  text-align: center;
}

.download-cta .download img:hover {
  transform: scale(1.09);
  box-shadow: 0px 0px 20px rgba(0,0,0,1);
}

/* hide cta-arrows on narrow screens */
@media only screen and (max-width: 1120px) {
  .download-cta .cta-arrow {
    display: none;
  }
}



/* In conjunction with one-at-a-time.js,
 * scale in and brighten when a video scrolls into view and starts playing. */
video.one-at-a-time {
  opacity: 0.6;
  transform: scale(0.95);
  transition: 0.2s ease-in-out;
}

video.one-at-a-time.playing {
  opacity: 1;
  transform: scale(1);
}

/* Email signup form, used at the bottom of memos and elsewhere around the site. */
#signup-form input {
  font-size: 16px;
  font-weight: 500;
  padding: 12px 16px 12px 16px;
  border: none;
  border-radius: 4px;
}

#signup-form input[type="submit"] {
  -webkit-appearance: button;
  background: #ffe399;
  color: #000000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

#signup-form input[type="submit"]:hover {
  background: #ffffff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

#signup-form input[type="email"] {
  width: 300px;
}

#signup-success {
  color: #359908;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.4;
  padding-top: 2rem;
  display: none;
}

#signup-error {
  color: #ef2c0a;
  padding-top: 0.5rem;
}
