:root {
  --text-bright: rgba(0,0,0,1);
  --text-dim: rgba(0,0,0,0.7);
  --text-highlight: #4A13BE;
  --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';
  src: url('/assets/fonts/MaratWeb-RegularItalic.woff2') format('woff2'), url('/assets/fonts/MaratWeb-RegularItalic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
}

@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;
  font-display: fallback;
  line-height: 1.3;
  color: var(--text-bright);
  background: #eae9e8;
}

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

h1 {
  font-family: var(--typeface-serif);
  font-size: 80px;
  font-weight: 600;
  line-height: 1.0;
  color: #230b4c;
  margin: 3vw auto 20px auto;
}

h2 {
  font-size: 34px;
  font-weight: 500;
  margin-top: 32px;
  margin-bottom: 10px;
}

h3 {
  font-size: 30px;
  font-weight: 400;
  margin-top: 24px;
  margin-bottom: 10px;
}

hr {
  margin: 9vw auto 9vw auto;
  max-width: 500px;
  border: none;
  height: 5px;
  background: rgba(0,0,0,0.7);
}

ul {
  list-style-type: none;
}

li {
  margin-bottom: 0.5rem;
}

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;
}

.widthS {
  max-width: 940px;
  margin: auto;
  padding: 0 30px 0 30px;
}

.widthM {
  max-width: 1080px;
  margin: auto;
  padding: 0 30px 0 30px;
}

.widthL {
  max-width: 1200px;
  margin: auto;
  padding: 0 30px 0 30px;
}

.widthXL {
  max-width: 1500px;
  margin: auto;
  padding: 0 30px 0 30px;
}

.widthXXL {
  max-width: 1800px;
  margin: auto;
  padding: 0 30px 0 30px;
}

.width100 {
  max-width: 100%;
  padding: 0 30px 0 30px;
}

header {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 15px 30px 30px;
}

header .switcher {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}

header .logo img, footer .logo img {
  position: relative;
  top: 10px;
  height: 36px;
}

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

header .logo:hover {
  color: inherit;
  text-decoration: none;
}

header .nav {
  font-size: 20px;
  font-weight: 500;
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  margin-top: 12px;
}

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

header .nav li a {
  color: var(--text-bright);
}

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: rgba(255, 255, 255, 1);
  box-shadow: 0px 0px 4px rgba(0,0,0,0.1);
  font-weight: 500;
}

header .pulldown .pulldown-arrow {
  color: var(--text-dim);
}

header ul.pulldown-content {
  display: none;
  position: absolute;
  background-color: rgba(255,255,255,1);
  border-radius: 6px;
  min-width: 8em;
  padding: 10px 15px 0px 15px;
  box-shadow: 0px 0px 4px rgba(0,0,0,0.1);
  z-index: 100;
}

header ul.pulldown-content a {
  color: #000000;
}

/* weird override needed for previous style on nav first-child */
header ul.pulldown-content > li {
  margin-left:  0;
}

header .pulldown:hover .pulldown-content {
  display: block;
}

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

header .nav li a.downloadlink {
  font-size: 18px;
  font-weight: 500;
  padding: 4px 10px 4px 8px;
  background: rgba(255, 255, 255, 1);
  border-radius: 6px;
  color: #000000;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
}

footer {
  max-width: 1200px;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 180px auto 90px auto;
  font-size: 20px;
  font-weight: 500;
  line-height: 150%;
  gap: 85px;
}

footer ul {
  padding-bottom: 24px;
}

footer li {
  margin-bottom: 0;
}

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


/* COMPONENTS */

a.button-rounded {
  display: inline-block;
  background-color: var(--text-highlight);
  color: #fff;
  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;
}

/* 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;
}



nav.submenu {
  text-align: center;
  margin: 0px 0 60px;
}

nav.submenu a, .nextprev-nav a {
  display: inline-block;
  font-size: 20px;
  font-weight: 500;
  background: rgba(0,0,0,0.1);
  padding: 5px 16px 5px 16px;
  height: 36px;
  border-radius: 20px;
  transition: transform 0.1s;
  margin-top: 5px;
}

nav.submenu a:hover, .nextprev-nav a:hover {
  background: rgba(0,0,0,0.2);
  color: rgba(0,0,0,1);
}

nav.submenu a:active, .nextprev-nav a:active {
  transform: scale(0.9);
}

nav.submenu a.active {
  background: rgba(255,255,255,1);
  color: rgba(0,0,0,1);
  cursor: default;
}

nav.submenu a {
  text-decoration: none;
}

.nextprev-nav {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dim);
  margin: 100px 0 0 auto;
  max-width: 400px;
  text-align: right;
  border-top: 1px solid rgba(0,0,0,0.2);
  padding-top: 20px;
}

.nextprev-nav a {
  margin-left: 5px;
}

header .sites {
  display: flex;
  gap: 30px;
  font-size: 20px;
  font-weight: 500;
  margin-left: 25px;
}

header .sites a {
  color: var(--text-bright);
}

header .sites .badge {
  margin-left: 6px;
  background: #5608c8;
  padding: 2px 5px 2px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 14px;
  color: rgba(255,255,255,1);
}

header .sites a.active {
  border-bottom: 3px solid #5608c8;
  font-weight: 500;
}

header .sites a.active:hover {
  text-decoration: none;
}

.site-switcher ul.pages {
  display: flex;
  gap: 10px;
  font-size: 18px;
  font-weight: 500;
}

.site-switcher ul.pages a {
  text-decoration: none;
}

.site-switcher ul.pages a:hover {
  text-decoration: underline;
}






@media only screen and (max-width: 1200px) {
  /* less page padding on small screens */
  .widthS, .widthM, .widthL, .widthXL, .widthXXL, .width100 {
    padding: 0 3vw 0 3vw;
  }
  
  /* reshuffle top navigation on narrow screens */
  header {
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  header .sites {
    margin-bottom: 20px;
  }
  header .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  h1 {
    font-size: 50px;
  }

  /* footer becomes a single column on a phone */
  footer {
    flex-direction: column;
    gap: 24px;
  }
  footer ul {
    width: 300px;
    max-width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  header .sites {
    margin-left: 0;
    gap: 10px;
    width: 100%;
    justify-content: space-around;
    
  }
  header .logo {
    width: 100%;
    text-align: center;
    margin-bottom: 25px;
  }
  header .badge {
    display: none;
  }
}
