html {
  font-size: 1vw;
}
@media screen and (min-width: 1440px) {
  html {
    font-size: 14.4px;
  }
}
@media screen and (max-height: 790px) and (min-width: 920px) {
  html {
    font-size: 0.78vw;
  }
}
@media screen and (max-width: 1024px) {
  html {
    font-size: 1.1vw;
  }
}
@media screen and (max-width: 560px) {
  html {
    font-size: 1.8vw;
  }
}

body {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  height: 100%;
  font-stretch: condensed;
  background-color: #313131;
}
@media screen and (max-width: 560px) {
  body {
    background-color: #08241B;
  }
}

.text-page {
  background-color: white;
  max-width: 900px;
  margin: 0 auto;
}

.landing {
  position: relative;
  display: block;
  min-height: 100vh;
  overflow: hidden;
}

.landing-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url("../images/doremi-bg-mobile.jpg");
  background-size: cover;
  background-position: 50% 100%;
  z-index: 0;
}
@media screen and (min-width: 560px) {
  .landing-bg {
    background-image: url("../images/doremi-bg.jpg");
  }
}

.landing-container {
  display: flex;
  padding: 5rem 0 0;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 560px) {
  .landing-container {
    padding: 3rem 0;
  }
}

.landing-mascot {
  height: 250px;
  position: absolute;
  bottom: -40px;
  right: 10%;
  pointer-events: none;
}
.landing-mascot > img {
  display: block;
  height: 100%;
}
@media screen and (max-width: 560px) {
  .landing-mascot {
    display: none;
  }
}

.landing-phone {
  margin-left: 10rem;
}
@media screen and (max-width: 560px) {
  .landing-phone {
    display: none;
  }
}

.phone-case {
  width: 25rem;
  position: relative;
  margin-right: 4rem;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  -webkit-user-drag: none;
}
.phone-case > img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
}

.phone-screenshot {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  z-index: 1;
  border-radius: 2rem;
  transition: opacity 400ms ease;
  opacity: 0;
  transition-delay: 300ms;
}

.phone-case.--img-1 .phone-screenshot:nth-child(1) {
  opacity: 1;
  transition-delay: 0ms;
}
.phone-case.--img-2 .phone-screenshot:nth-child(2) {
  opacity: 1;
  transition-delay: 0ms;
}
.phone-case.--img-3 .phone-screenshot:nth-child(3) {
  opacity: 1;
  transition-delay: 0ms;
}
.phone-case.--img-4 .phone-screenshot:nth-child(4) {
  opacity: 1;
  transition-delay: 0ms;
}
.phone-case.--img-5 .phone-screenshot:nth-child(5) {
  opacity: 1;
  transition-delay: 0ms;
}
.phone-case.--img-6 .phone-screenshot:nth-child(6) {
  opacity: 1;
  transition-delay: 0ms;
}
.phone-case.--img-7 .phone-screenshot:nth-child(7) {
  opacity: 1;
  transition-delay: 0ms;
}

.landing-intro {
  width: 53rem;
  margin: 2.5rem 0;
}
@media screen and (max-width: 560px) {
  .landing-intro {
    margin: 0;
    padding: 2.5rem 0 8rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.landing-logo {
  width: 43rem;
}
.landing-logo svg {
  display: block;
  position: relative;
  fill: #AED1C8;
}
@media screen and (max-width: 560px) {
  .landing-logo svg {
    fill: white;
  }
}

.landing-hero {
  color: white;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 0;
}
@media screen and (max-width: 560px) {
  .landing-hero {
    font-weight: 300;
    font-size: 4rem;
    text-align: center;
    line-height: 1.3;
    margin-top: 1rem;
  }
  .landing-hero span {
    display: block;
  }
}

.landing-p {
  color: white;
  font-weight: 300;
  font-size: 2.2rem;
  width: 80%;
  margin-top: 1rem;
  line-height: 1.2;
}
@media screen and (max-width: 560px) {
  .landing-p {
    font-weight: 500;
    font-size: 2.6rem;
    text-align: center;
    width: 95%;
    letter-spacing: -0.05rem;
    line-height: 1.3;
    margin-top: 2rem;
  }
}

@media screen and (max-width: 560px) {
  .landing-mobile-spacer {
    flex: 1;
  }
}

.mobile-carousel {
  height: 260px;
  margin-top: 2vh;
  width: 100vw;
  overflow-x: scroll;
  display: none;
}
@media screen and (max-width: 560px) {
  .mobile-carousel {
    display: block;
  }
}

.mobile-carousel-wrapper {
  width: 670px;
  display: flex;
  justify-content: flex-start;
}

.mobile-carousel-item {
  width: 120px;
  height: 240px;
  min-width: 100px;
  min-height: 200px;
  position: relative;
  margin-left: 5rem;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.mobile-carousel-item > img {
  -webkit-user-drag: none;
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
}
.mobile-carousel-item::before {
  z-index: 0;
  content: "";
  position: absolute;
  border-radius: 2rem;
  background-color: #000;
  top: 5px;
  bottom: 5px;
  left: 5px;
  right: 5px;
}

.mobile-carousel-screenshot {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background-size: cover;
  z-index: 1;
  border-radius: 12px;
}

html {
  scroll-behavior: smooth;
}

.text-page {
  position: relative;
  padding: 20px 30px 100px;
}
.text-page section h1 {
  font-size: 36px;
}
.text-page section h2 {
  font-size: 28px;
}
.text-page section h3 {
  font-size: 24px;
}
.text-page section p, .text-page section li {
  font-size: 16px;
  font-stretch: normal;
  font-weight: 500;
}
.text-page section p {
  margin: 22px 0;
}
.text-page section a {
  color: #0073fa;
  text-decoration: underline;
}

article {
  margin: 10px 0;
}
article h2 {
  display: block;
  color: black !important;
  border: 0 !important;
  line-height: 1;
  margin: 0;
}

.expand-toggle {
  text-decoration: none !important;
  background-color: #AED1C8;
  border-radius: 10px;
  padding: 15px 20px;
  display: block;
}
.expand-toggle:hover {
  background-color: #b7d7cf;
}

.article-content {
  padding: 0 1.5rem 30px;
  display: none;
}

.text-page-watermark {
  width: 300px;
  position: static;
  margin-top: 50px;
  display: block;
}
.text-page-watermark.--hero {
  fill: black;
  width: 80%;
  margin-top: 30px;
}

.text-page-logo {
  width: 160px;
  height: 160px;
  margin-top: 30px;
}

.pricing-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.5em;
  width: 88%;
  margin-top: 2em;
  font-size: 1rem;
}
.pricing-table .--center .landing-stores {
  margin-top: 20px;
}
.pricing-table .--center a {
  margin: 1rem auto;
}
@media screen and (max-width: 560px) {
  .pricing-table {
    width: 90%;
    margin: 20px auto;
    grid-template-columns: 1fr;
    font-size: 1.8rem;
  }
}

.pricing-box {
  border-radius: 30px;
  border: 4px solid white;
  padding: 1em 1.2em 1.4em;
}
.pricing-box .__header {
  font-size: 2.2em;
  font-stretch: normal;
  font-weight: 700;
  margin-bottom: 5px;
}
.pricing-box .__body {
  color: white;
  font-size: 1.1em;
  font-stretch: normal;
  font-weight: 500;
  letter-spacing: -0.2px;
}
.pricing-box.--free {
  border-color: #7AAA9C;
  background-color: white;
}
.pricing-box.--free .__header {
  color: #7AAA9C;
}
.pricing-box.--free .__body {
  color: #044466;
}
.pricing-box.--single {
  background-color: #7AAA9C;
}
.pricing-box.--single .__header {
  color: #044466;
}
.pricing-box.--teams {
  background-color: #044466;
}
.pricing-box.--teams .__header {
  color: #7AAA9C;
}

.landing-menu, .static-menu {
  font-size: 1.2rem;
  margin-top: 20px;
}
@media screen and (max-width: 560px) {
  .landing-menu, .static-menu {
    order: 999;
    font-size: 2.3rem;
    margin-top: 1.2rem;
  }
  .landing-menu.--on-top, .static-menu.--on-top {
    order: 0;
    margin-bottom: 20px;
  }
}
.landing-menu a, .static-menu a {
  font-weight: 700;
  color: #AED1C8;
  text-transform: uppercase;
  text-decoration: none;
}
.landing-menu a:hover, .static-menu a:hover {
  border-bottom: 1px solid #7AAA9C;
}
.landing-menu a.active, .static-menu a.active {
  pointer-events: none;
  color: white;
}
.landing-menu span, .static-menu span {
  color: white;
  font-weight: 300;
  display: inline-block;
  margin: 0 6px;
  position: relative;
  top: -1px;
  pointer-events: none;
}

.static-menu {
  margin-top: 0;
}
.static-menu a {
  color: #7AAA9C;
}
.static-menu a.active {
  color: #999;
}
.static-menu span {
  color: black;
  font-weight: 300;
}

.landing-stores {
  margin-top: 40px;
  width: 100%;
}
@media screen and (max-width: 560px) {
  .landing-stores {
    margin-top: 20px;
    display: flex;
    justify-content: center;
  }
}

.store {
  width: 14rem;
  display: block;
  margin-top: 1rem;
}
@media screen and (max-width: 560px) {
  .store {
    width: 22rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

.contact-form {
  width: 80%;
}
@media screen and (max-width: 560px) {
  .contact-form {
    width: 85%;
    margin: 20px auto;
  }
}
.contact-form input, .contact-form textarea {
  background-color: white;
  border-radius: 10px;
  display: block;
  width: 100%;
  font-size: 18px;
  padding: 12px 12px;
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
  font-stretch: normal;
}
.contact-form input::-moz-placeholder, .contact-form textarea::-moz-placeholder {
  font-weight: 300;
  font-size: 18px;
  font-stretch: condensed;
  text-transform: uppercase;
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
  font-weight: 300;
  font-size: 18px;
  font-stretch: condensed;
  text-transform: uppercase;
}
.contact-form button {
  display: block;
  text-align: left;
  color: white;
  background-color: #7AAA9C;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  -moz-appearance: none;
       appearance: none;
  padding: 12px 32px;
  font-size: 18px;
  border: 0;
  font-weight: 700;
  border-radius: 10px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 1rem;
  font-family: "Open Sans", sans-serif;
  font-stretch: condensed;
}

.contact-form-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
}
.contact-form-table .__row-single {
  grid-column: span 2;
}
@media screen and (max-width: 560px) {
  .contact-form-table > div {
    grid-column: span 2;
  }
}

.contact-about {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 16px;
  padding: 15px;
  border-radius: 10px;
  font-weight: 500;
  margin-top: 20px;
  line-height: 1.4;
}
@media screen and (max-width: 560px) {
  .contact-about {
    margin-top: 40px;
  }
}
.contact-about > a {
  color: #AED1C8;
}
.contact-about > a:hover {
  border-bottom: 1px solid #7AAA9C;
}
