body { margin: 0; font-size: 16px; }
input, textarea { font-size: 16px; }

/*! normalize.css v3.0.2 | MIT License | git.io/normalize */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-font-smoothing: antialiased;

  line-height: 1.5;
}

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

* { box-sizing: border-box; }

html {
  height: 100vh;
}

body {
  color: var(--text-color);
  background-color: var(--bg-color);
  /* color: rgba(55, 53, 47, 1); */
  /* background-color: #fffefc; */
  /* background-color: rgb(247, 247, 247); */
  /* padding: 0 72px; */
  margin: 0 auto;
  max-width: 1440px;
  height: 100vh;
  overflow-x: hidden;

  /* New stuff */
  width: calc(100vw - 60px);
}

@media (prefers-color-scheme: light) {
  body:not(.dark) {
    --text-color: rgba(51, 51, 51, 1);
    --bg-color: rgb(247, 247, 247);
    --code-color: rgba(55, 53, 47, 0.8); 
    --icon-filter: invert(25%) sepia(11%) saturate(22%) hue-rotate(335deg) brightness(88%) contrast(80%);
    --button-color: white;
    --button-background-color: rgba(55, 53, 47, 1);
    --try-in-browser-icon-filter: invert(0);
    --link-underline: 1px solid rgba(55, 53, 47, 0.3);
    --link-underline-hover: 1px solid rgba(55, 53, 47, 1);
    --top-bar-background-hover: rgba(51, 51, 51, 0.05);
    --card-background: white;
    --border-color: rgb(228, 227, 226);
  }
  .dark {
    display: none;
  }
}

@media (prefers-color-scheme: dark) {
  body:not(.light) {
    --text-color: #EAEAEA;
    /* --text-color: rgba(255, 255, 255, 0.9); */
    --bg-color: rgb(46, 47, 49);
    --code-color: rgba(255, 255, 255, 0.8); 
    --icon-filter: invert(99%) sepia(31%) saturate(7444%) hue-rotate(194deg) brightness(139%) contrast(84%);
    --button-color: rgba(51, 51, 51, 1);
    --button-background-color: rgb(246,246,246);
    --try-in-browser-icon-filter: invert(1);
    --link-underline: 1px solid rgba(255,255,255, 0.3);
    --link-underline-hover: 1px solid rgba(255,255,255, 1);
    --top-bar-background-hover: rgba(255, 255, 255, 0.07);
    --card-background: rgb(36, 36, 38);
    --border-color: rgba(255, 255, 255, 0.07);
  }
  .light {
    display: none;
  }
}

.primary-button {
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 1px 0px, rgb(40,40,40) 0px 0px 0px 1px, rgba(60, 66, 87, 0.12) 0px 2px 5px 0px;
  background: #474747;
  user-select: none;
  border-radius: 6px;
}

.stacked {
  display: flex;
  flex-direction: column;
}

.sm { display: none; }

h1 {
  font-size: 74px;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1;
  margin: 0;
  margin-bottom: 20px;
}

h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.1;
  margin: 0;
  margin-bottom: 20px;
}

h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.1;
  margin: 0;
  margin-bottom: 20px;
}

h4 {
  font-size: 18px;
  font-weight: 700;
}

p {
  margin: 0;
}

small {
  font-size: 13px;
  opacity: 0.6;
  margin: 5px 0 auto;
  display: block;
}

#main {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  margin-top: 80px;
}

#top-bar {
  justify-content: space-between;
  height: 60px;
  width: 100%;
}

#top-bar a {
  text-decoration: none;
  border: none;
  border-radius: 3px;
  /* background-color: rgba(51, 51, 51, 0.05); */
  padding: 5px 10px;
  margin: 0;
}
#top-bar a:hover {
  background-color: var(--top-bar-background-hover);
}

#top-bar .small-button {
  padding: 5px 16px;
  margin-left: 15px;
}
#top-bar .small-button:hover {
  background: var(--button-background-color);
}

#header p a {
  font-weight: 500;
  border-bottom: var(--link-underline);
}
#hader p a:hover {
  border-bottom: var(--link-underline-hover);
}

.links a, .feature a {
  margin-left: 30px;
  font-weight: 500;
  border-bottom: var(--link-underline);
}

.feature a {
  margin-left: 0px;
}

.links a:hover, .feature a:hover {
  border-bottom: var(--link-underline-hover);
}

#top-bar, #top-bar > a {
  display: flex;
  align-items: center;
}

#top-bar img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

#top-bar span {
  font-weight: 500;
  font-size: 18px;
  color: var(--text-color);
}

#header {
  display: flex;
  flex-direction: column;
  max-width: 824px;
  min-width: 460px;
  margin-right: 60px;
  margin-bottom: 60px;
}

#header p {
  font-size: 19px;
}

#header li {
  font-size: 19px;
  padding-left: 2em;
  margin-bottom: 0.7em;
}

#header.terms {
  max-width: 28em;
}

.changelog {
  min-width: 0;
}

.changelog ul {
  padding: 0;
}

.changelog li img {
  display: block;
}

.changelog li {
  margin: 1em 0 1em 20px;
  padding: 0 0 0 10px;
}

.changelog li img, .changelog li video {
  display: block;
  max-width: 100%;
  margin: 1.5em 0;
}

.changelog a {
  text-decoration: underline;
}

.changelog pre {
  overflow-x: scroll;
}

hr {
  margin: 2em 0;
  border: none;
  border-top: 1px solid var(--border-color);
}

#download-links {
  margin-top: 20px;
  display: grid;
  grid-auto-flow: column;
  column-gap: 20px;
  justify-content: start;
}

#try-in-browser {
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: rgba(55, 53, 47, 0.3);
}

#try-in-browser .icon {
  width: 16px;
  height: 16px;
  margin-left: 6px;
  filter: var(--try-in-browser-icon-filter);
  margin-bottom: -2px;
}

.download-link .apple-logo {
  fill: rgba(55, 53, 47, 1);
  width: 14px;
  height: 14px;
}

.download-link .windows-logo {
  fill: rgba(55, 53, 47, 1);
  width: 13px;
  height: 13px;
}

.download-link .linux-logo {
  width: 16px;
}

.download-link .icon {
  width: 16px;
  margin-bottom: -2px;
  filter: var(--try-in-browser-icon-filter);
  opacity: 0.5;
}

.download-link {
  font-weight: 500;
  border-bottom: var(--link-underline);
}

.download-link:hover {
  border-bottom: var(--link-underline-hover);
}

.download-link.disabled {
  color: rgba(55, 53, 47, 0.3);
  border: none;
  cursor: default;
}

.screenshots {
  position: relative;
  box-sizing: content-box;
  flex-shrink: 0;
  width: 800px;
  height: 600px;
  overflow: hidden;
  border: 1px solid rgba(55, 53, 47, 0.2);
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.14902) 0px 10px 20px 0px;
  /* box-shadow: rgba(0, 0, 0, 0.14902) 0px 10px 20px 0px, */
  /*             rgb(245, 245, 245) 0px -1px 0px 0px; */
}

iframe {
  border: none;
}

/* .screenshots img { */
/*   position: absolute; */
/*   width: 800px; */
/*   height: 600px; */
/*   top: 0; right: 0; bottom: 0; left: 0; */
/*   opacity: 0; */
/*   transition: opacity 0.5s; */
/* } */

.screenshots img.active {
  opacity: 1;
}

.powerfully-simple {
  margin: 200px auto;
  width: 800px;
  max-width: 100%;
  text-align: center;
}

.powerfully-simple p {
  font-size: 18px;
  opacity: 0.6
}

#footer {
  margin-top: 150px;
  border-top: 1px solid rgba(55, 53, 47, .1);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 32px 0 64px;
  font-size: 14px;
}

#footer > section {
  margin-right: 20px;
}

#footer > section.about {
  width: 210px;
}

#footer > section > h4 {
  margin: 0;
}

#footer > section.footer-links {
  display: flex;
  flex-direction: column;
}

#footer a {
}

#footer a:hover {
  text-decoration: underline;
}

.copyright {
  color: rgb(160, 157, 156);
}


/* demos */

.divider {
  margin: 90px 0;
  border-top: 1px solid rgba(55, 53, 47, .1);
}

#demos {
  margin: 0 auto 100px auto;
  display: flex;
  flex-direction: column;
  width: 800px;
}

#demos .screenshots {
  width: 796px;
  height: 594px;
  position: relative;
}

#demos video {
	width: 796px;
  display: block;
  cursor: pointer;
}

#demos .intro-text {
	display: flex;
  align-items: center;
	flex-direction: column;
}

#demos .intro-text p {
	max-width: 600px;
	text-align: center;
}

#subjects {
  list-style: none;
  margin: 50px 170px;
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

#subjects > li {
  font-size: 16px;
  font-weight: 600;
  opacity: 0.6;
  cursor: pointer;
}

#subjects > li:hover {
  opacity: 0.8;
  cursor: pointer;
}

#subjects > li.not-clickable {
  cursor: default;
}

#subjects > li.not-clickable:hover {
  opacity: 0.6;
  cursor: default;
}

#subjects > li.active {
  opacity: 1;
}

#subjects > li.active > span {
  border-bottom: 2px solid currentColor; 
}

#features {
  margin: 180px auto 0;
  /* display: grid; */
  /* grid-template-columns: 1fr 1fr; */
  /* grid-gap: 50px 50px; */
  /* width: 800px; */

  display: flex;
  flex-wrap: wrap;
  gap: 100px 60px;
  width: 1000px;
}

.feature {
  width: 400px;
  max-width: 100%;
  align-self: center;
}

.feature h4 {
  display: flex;
  align-items: center;
  margin: 0 0 10px;
  font-size: 21px;
}

.demo-video {
  width: 470px;
  max-width: 100%;
  /* width: 100% !important; */
  height: auto !important;
}

.feature h4 .icon {
  color: red;
  margin-right: 12px;
  width: 26px;
  height: 26px;
  filter: var(--icon-filter);
  opacity: 0.5;
}

.pro-feature {
  background-color: rgb(225, 98, 89);
  color: white;
  font-size: 8px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 10px;
  position: relative;
  bottom: 5px;
}

.video-overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	background-color: rgba(247, 247, 247, 0.4);
	display: flex;
	justify-content: center;
	align-items: center;
  cursor: pointer;
}

.video-overlay:hover {
	background-color: rgba(247, 247, 247, 0.2);
}

.play-video-button {
	background-color: rgba(55, 53, 47, 1);
	color: white;
	padding: 5px 40px 7px;
	border-radius: 50px;
	font-size: 21px;
	font-weight: 500;
}

#final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 120px 0 0;
}


.cta-button {
  background-color: rgba(55, 53, 47, 1);
  color: white;
  font-size: 21px;
  padding: 4px 18px 5px;
  border-radius: 21px;
  display: flex;
  align-items: center;
}

.cta-button .apple-logo,
.cta-button .windows-logo,
.cta-button .linux-logo,
.cta-button .android-logo {
  width: 21px;
  height: 21px;
  fill: white;
  margin: -1px 10px 1px 0;
}

.cta-button .linux-logo, .small-button .linux-logo {
  filter: brightness(10);
}

.cta-fine-print {
  margin-top: 20px;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.5;
  text-align: center;
}

.small-button {
  color: var(--button-color);
  background: var(--button-background-color);
  text-decoration: none;
  padding: 5px 16px 6px;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;

  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 1px 0px, rgb(40,40,40) 0px 0px 0px 1px, rgba(60, 66, 87, 0.12) 0px 2px 5px 0px;
  /* background: #474747; */
  user-select: none;
  border-radius: 6px;
}
.small-button .apple-logo,
.small-button .windows-logo,
.small-button .linux-logo,
.small-button .android-logo,
.small-button .icon {
  width: 17px;
  height: 17px;
  fill: var(--button-color);
  margin: 0 8px 0 0;
}

#pricing-headline {
  text-align: center;
}

#pricing {
  display: flex;
  justify-content: center;
  align-content: stretch;
  margin-bottom: 40px;
}

#free, #pro {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 20px;
}

#free > h3, #pro > h3 {
  /* text-transform: uppercase; */
  font-size: 21px;
}

.pricing-panel {
  background-color: var(--card-background);
  width: 260px;
  flex-grow: 1;
  padding: 20px;
  /* box-shadow: 3px 3px rgba(0,0,0,0.04); */
  box-shadow: 0 7px 14px 0 rgba(60,66,87,0.06), 0 3px 6px 0 rgba(0,0,0,0.06);
  border-radius: 8px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-panel > ul {
  list-style: none;
  margin: 0;
  line-height: 2.5;
  padding: 0;
  width: 100%;
}

.pricing-panel .crossed-out {
  text-decoration: line-through;
  opacity: 0.3;
  position: relative;
}

.pricing-panel li {
  display: flex;
  align-items: center;
}
.pricing-panel .icon {
  width: 15px;
  height: 15px;
  margin-right: 6px;
  filter: var(--icon-filter);
}
.pricing-panel .icon.close {
  opacity: 0.3;
}

/* .crossed-out::after { */
/*   border-bottom: 0.125em solid currentColor; */
/*   content: ""; */
/*   left: 0; */
/*   margin-top: calc(0.125em / 2); */
/*   position: absolute; */
/*   right: 0; */
/*   top: 50%; */
/* } */

.pricing-panel > .download {
  text-align: center;
  font-weight: 600;
  border-bottom: var(--link-underline);
  margin: 16px 0 40px;
}

.pricing-panel > .windows,
.pricing-panel > .mac,
.pricing-panel > .linux,
.pricing-panel > .browser {
  display: none;
}

.price {
  /* text-align: center; */
}

.price > .price-big {
  font-size: 42px;
  font-weight: bold;
}

#pricing-section {
  padding-top: 100px;
}

#pricing-section .intro-text p {
  max-width: 600px;
  margin: 0 auto;
}

#inner-phone-preview {
  position: absolute;
  bottom: -20px;
  right: 40px;
  background: rgb(247, 247, 247);
  border-radius: 35px;
}

/* CSS for phones and such */

@media (max-width: 767.98px) {
  body {
    padding: 0 25px;
    width: auto;
  }

  h1 {
    font-size: 52px;
  }

  h3 {
    font-size: 21px;
  }

  .sm { display: unset; }
  .lg { display: none !important; }

  #header {
    margin-right: unset;
    margin-bottom: unset;
    max-width: unset;
    min-width: unset;
  }

  #main .screenshots {
    display: none;
  }

  #phone-preview {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }
  #inner-phone-preview {
    position: relative;
    bottom: unset;
    right: unset;
  }

  #header p {
    font-size: 16px;
  }

  #download-links {
    display: none;
  }

  .desktop-try-in-browser {
    display: none;
  }

  .stacked #demos {
    display: none;
    order: 1;
  }

  .stacked .divider.one {
    order: 2;
  }

  .stacked #features {
    order: 3;
  }

  .stacked .divider.sm {
    order: 4;
  }

  .stacked #pricing-section {
    order: 5;
  }

  .stacked #final-cta {
    order: 6;
    margin-top: 60px;
  }

  .divider {
    margin: 50px 0;
  }

  #demos {
    width: unset;
    margin-bottom: 30px;
  }

  #demos video {
    width: 100%;
  }

  #demos .screenshots {
    width: unset;
    height: unset;
  }

  .play-video-button {
    font-size: 14px;
    padding: 3px 20px 5px;
  }

  #subjects {
    margin: 0;
  }

  #subjects > li {
    font-size: 14px;
  }

  #demos .intro-text {
    align-items: unset;
    margin-top: 40px;
  }

  #demos .intro-text p {
    font-size: 14px;
    text-align: unset;
  }

  #demos #subjects {
    order: 1;
    margin-bottom: 20px;
  }

  #demos .screenshots {
    order: 2;
  }

  #demos .intro-text {
    order: 3;
  }

  #features {
    display: unset;
    width: unset;
    margin: 0;
  }

  #features .feature {
    margin-bottom: 50px;
  }

  .feature h4 {
    font-size: 16px;
  }

  .feature p {
    font-size: 14px;
  }

  #features .feature .icon {
    width: 18px;
    height: 18px;
  }

  #footer {
    margin-top: 40px;
    flex-direction: column;
  }

  #footer .footer-links {
    margin-top: 30px;
  }

  #pricing-section .intro-text h3 {
    margin-top: 40px;
  }

  #pricing-section .intro-text p {
    font-size: 14px;
  }

  #pricing-section .intro-text p br {
    display: none;
  }

  #pricing-section {
    padding-top: 40px;
  }

  #pricing-section .intro-text h3#pricing-headline {
    margin-top: 0;
  }

  #pricing {
    flex-direction: column;
  }

  #pro {
    margin-top: 40px;
  }
  .powerfully-simple {
    margin: 120px auto;
  }
  .demo-video {
    margin-bottom: 50px;
  }
}


.windows, .mac, .linux, .iphone, .android, .browser {
  display: none;
}
