html {
  scroll-padding-top: 85px;
}

body {
  color: #1b1b1b;
  font-family: Inter, sans-serif;
  overflow-x: hidden;
}

a:hover {
  color: #1851B4;
  text-decoration: underline;
}

.content p {
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 10px;
}

h1 {
  font-size: 60px;
  font-weight: 800;
  line-height: 64px;
}

h2 {
  font-size: 40px;
  font-weight: 800;
  line-height: 44px;
}

h3 {
  font-size: 28px;
  font-weight: 800;
  line-height: 32px;
}

h4 {
  font-size: 20px;
  font-weight: 800;
  line-height: 24px;
}

p.body1 {
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

p.body2 {
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

p.body3 {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

@media(max-width:768px) {
  h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 44px;
  }

  h2 {
    font-size: 28px;
    font-weight: 800;
    line-height: 32px;
  }

  p.body1 {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
  }
}

.semibold {
  font-weight: 600 !important;
}

.hidden {
  display: none;
}

.text-center {
  text-align: center;
}

a.no-underline {
  text-decoration: none;
}

.button {
  background-color: #2c6bed;
  border: none;
  border-radius: 8px;
  color: #fff;
  // We don't load Inter at a font-weight of 600, so we fall back to the system's default sans-serif font.
  font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica,
    Arial, sans-serif;
  font-weight: 600;
  text-decoration: none;
}

.button[disabled] {
  color: #1b1b1b;
}

.button:hover {
  background-color: #1851B4;
  color: #fff;
  text-decoration: none;
}

.button2 {
  background-color: #fff;
  border-radius: 8px;
  border: 2px solid #2c6bed;
  color: #2c6bed;
  font-size: 20px;
  line-height: 28px;
}

.button2:hover {
  background-color: #fff;
  border-color: #1851B4;
  color: #1851B4;
}

.button-white {
  background-color: #fff;
  color: #2C6BED;
  font-size: 20px;
  line-height: 28px;
  padding: 0 20px;
}

.button-white:hover {
  background-color: #fff;
  color: #1851B4;
}

.trailing-chevron::after {
  content: '\00bb';
  display: inline-block;
  margin-inline-start: 0.25em;
}

.separated-by-pipes {
  li {
    display: inline-block;

    &:not(:first-child) {
      margin-inline-start: 0.5em;
      padding-inline-start: 0.5em;
      border-inline-start: 1px solid #999;
    }
  }
}

/* homepage */

.signal-logo {
  height: 28px;
  vertical-align: middle;
}

body.has-navbar-fixed-top,
html.has-navbar-fixed-top {
  padding-top: 52px;
}

.signal-navbar {
  border-bottom: 1px solid #ebeaeb;
}

@media(min-width:1024px) {

  body.has-navbar-fixed-top,
  html.has-navbar-fixed-top {
    padding-top: 85px;
  }

  .signal-navbar {
    padding: 16px 0;
  }

  .signal-logo {
    height: 44px;
  }
}

.signal-navbar .navbar-brand {
  align-items: center;
  padding-left: 18px;
}

@media(min-width:1024px) {
  .signal-navbar .navbar-brand {
    padding: 0px;
  }
}

.navbar-menu.is-active {
  position: absolute;
  width: 100%;
}

.signal-navbar .navbar-item,
.signal-navbar .navbar-link {
  color: #1b1b1b;
  font-size: 16px;
}

.navbar-link:not(.is-arrowless)::after {
  border-color: #1b1b1b;
}

.navbar-dropdown {
  max-height: 200px;
  overflow: scroll;
}

@media(max-width:1024px) {
  .navbar-link:not(.is-arrowless)::after {
    display: none;
  }
}

.signal-navbar a.navbar-item:hover {
  background-color: inherit;
  text-decoration: none;
}

.signal-navbar a.navbar-item:hover {
  color: #2C6BED;
}

.signal-navbar .language-selector .icon {
  margin-right: 4px;
}

#language-selector-modal .modal-card {
  width: auto;
  max-width: 800px;
}

#language-selector-modal .modal-card-head {
  border-bottom: none;
  background: #fff;
}

#language-selector-modal .delete {
  position: absolute;
  top: 20px;
}

html:not([dir=rtl]) #language-selector-modal .delete {
  right: 20px;
}

html[dir=rtl] #language-selector-modal .delete {
  left: 20px;
}

#language-selector-modal .modal-card-body {
  display: flex;
  flex-wrap: wrap;
}

#language-selector-modal .navbar-item {
  display: inline-block;
  width: 180px;
}

#language-selector-modal .modal-card-foot {
  padding-top: 0;
  background: #fff;
  border-top: none;
}

.hero.hero-main {
  background-color: #9DBBF8;
  color: #1b1b1b;
  max-height: 760px;
}

@media(min-width:1024px) {
  .hero.hero-main {
    max-height: 680px;
  }
}

.hero-main {
  h1 {
    margin-bottom: 24px;
  }

  @media(min-width:1024px) {
    margin-bottom: 4rem;

    h1 {
      margin-top: 120px;
    }
  }

  .hero-body {
    padding-bottom: 0;
  }

  .subtitle {
    color: #1b1b1b;
    font-size: 20px;
    line-height: 30px;
  }

  .mobile-screenshots {
    position: relative;

    img {
      transform: rotate(22.5deg);
      width: 218px;
    }

    .screenshot1 {
      margin-left: -50px;
      margin-top: 55px;
    }

    @media(min-width:1024px) {
      .screenshot1 {
        margin-left: 0px;
        margin-top: 46px;
        width: 320px;
      }

      .screenshot2 {
        width: 300px;
      }
    }

    .screenshot2 {
      margin-left: -32px;
      position: absolute;
      top: 0px;
    }
  }
}

.section.why-signal h2 {
  margin-bottom: 16px;
}

@media(max-width:768px) {
  .section.why-signal {
    margin-bottom: -40px;
  }
}

.section.information {
  img {
    border-radius: 16px;
  }

  h2 {
    margin-bottom: 32px;
  }

  .columns {
    flex-direction: row-reverse;
  }
}

.section.features {
  background-color: #F6F6F6;
}

.section.features .box {
  background-color: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.12), 0px 0px 2px rgba(0, 0, 0, 0.08);
  height: 100%;
  padding: 30px;
}

.section.features h3 {
  color: #1b1b1b;
  font-size: 28px;
  font-weight: 800;
  line-height: 32px;
  margin-top: 18px;
  margin-bottom: 4px;
}

.section.features img {
  width: 280px;
}

@media(min-width:768px) {
  .section.features img {
    width: 370px;
  }
}

.lottie-wrapper {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

@media(max-width:1024px) {
  .lottie-wrapper {
    justify-content: center;
  }
}

.lottie-animation {
  background-color: #a5cad5;
  border-radius: 16px;
  padding: 16px;
}

.section.information img,
.section.information .lottie-animation {
  width: 384px;
}

@media(min-width:768px) {

  .section.information img,
  .section.information .lottie-animation {
    width: 680px;
  }
}

.footer {
  background-color: #3C3744;
  color: #E9E9E9;
  font-size: 16px;
  line-height: 22px;
}

.footer strong {
  color: #E9E9E9;
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer a {
  color: #E9E9E9;
}

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

/* icons */

.icon {
  background-repeat: no-repeat;
  height: 16px;
  width: 16px;
}

.icon-3x {
  height: 40px;
  width: 40px;
}

.icon-external-link-alt {
  background-image: url("../images/external-link-alt.svg");
  background-position: center;
  height: 20px !important;
}

button .icon-external-link-alt {
  background-image: url("../images/external-blue.svg");
}

.icon-globe {
  background-image: url("../images/solid_globe.svg");
}

.icon-facebook {
  background-image: url("../images/facebook.svg");
  height: 20px;
  width: 20px;
}

.icon-twitter {
  background-image: url("../images/twitter.svg");
  height: 20px;
  width: 20px;
}

.icon-instagram {
  background-image: url("../images/instagram.svg");
  height: 20px;
  width: 20px;
}

.icon-eye-slash {
  background-image: url("../images/eye-slash.svg");
}

.icon-users {
  background-image: url("../images/users.svg");
}

.icon-dollar-sign {
  background-image: url("../images/dollar.svg");
}

.icon-globe-americas {
  background-image: url("../images/globe-americas.svg");
}

.icon-code {
  background-image: url("../images/code.svg");
}

.icon-certificate {
  background-image: url("../images/solid_certificate.svg");
}

.icon-check-bold {
  background-image: url("../images/check-bold.svg");
}

.icon-chevron-right-bold {
  background-image: url("../images/chevron-right-bold.svg");
}

.icon-save {
  background-image: url("../images/save.svg");
}

.icon-x-bold {
  background-image: url("../images/x-bold.svg");
}

/* download */

.download h2 {
  margin-bottom: 32px;
}

.download h3 {
  margin-bottom: 24px;
}

.download .button {
  margin: 15px 8px;
}

.download .button svg {
  width: 24px;
  height: 24px;
  margin-right: .25rem;
}

.download-window.columns {
  background-color: #9dbbf8;
  border-radius: 12px;
  height: 300px;
  margin: 0;
  margin-bottom: 25px;
}

.download-window .column {
  height: 100%;
  padding-bottom: 0;
}

.download-window .download-window-wrapper {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-end;
  margin: 0 auto;
}

.download .message {
  background: #f6f6f6;
  margin-top: 16px;
}

.download .message-body {
  border: none;
  font-size: 14px;
  line-height: 20px;
}

.download .modal-card-body {
  padding: 0;
}

.download .modal-card-body pre {
  text-align: left;
}

/* blog */

.blog {
  background-color: #f7f7f7;
}

.post {
  img {
    display: block;
    margin: 0 auto;
  }

  .author {
    border-radius: 50%;
    display: block;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -40px;
    width: 80px;
  }
}

.blog-post-preview {
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  margin-bottom: 20px;
  margin-top: 80px;
  padding-bottom: 80px;
  padding-left: 15px;
  padding-right: 15px;

  h3 {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 16px;
    margin-top: 40px;
  }

  @media(max-width:768px) {
    h3 {
      font-size: 24px;
      line-height: 36px;
    }
  }

  h3 a {
    color: #1b1b1b;
  }

  h3 a:hover {
    color: #1b1b1b;
    text-decoration: none;
  }

  p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 20px;
  }
}

.blog-post-header {
  img.author {
    margin-top: 0px;
  }

  h1 {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 16px;
    margin-top: 40px;
  }

  @media(max-width:768px) {
    h1 {
      font-size: 24px;
      line-height: 36px;
    }
  }

  .body2 {
    margin-bottom: 20px;
  }
}

.blog-post-content {
  h1 {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 16px;
    margin-top: 40px;
  }

  h2,
  h3 {
    font-weight: 600;
    margin-top: 60px;
    margin-bottom: 16px;
  }

  h2 {
    font-size: 24px;
    line-height: 36px;
  }

  h3 {
    font-size: 20px;
    line-height: 30px;
  }

  p {
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
  }

  div,
  p {
    margin-bottom: 36px;
  }


  ul {
    list-style-type: disc;
  }

  ul,
  ol {
    margin-left: 30px;
  }

  ul li,
  ol li {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 400;
  }

  @media(max-width:768px) {

    h2,
    h3 {
      margin-top: 30px;
    }

    h2 {
      font-size: 22px;
      line-height: 34px;
    }

    p {
      font-size: 16px;
      line-height: 24px;
    }

    div,
    p {
      margin-bottom: 20px;
    }

    ul li,
    ol li {
      font-size: 16px;
    }
  }

  img.nice-left {
    float: left;
    margin-right: 30px;
  }

  .social-sharing a {
    margin-right: 20px;
  }

  pre.highlight {
    overflow: scroll;
  }

  .littlefoot {

    aside,
    div,
    p {
      margin-bottom: 0px;
    }
  }
}

/* docs */

header.documentation {
  background-color: #f6f6f6;
  margin-bottom: 40px;
  margin-top: 12px;
  padding-bottom: 0;
  padding-top: 0;

  h1 {
    margin-bottom: 24px;
  }
}

.docs {
  h2 {
    margin-bottom: 24px;
  }

  .body2.semibold {
    margin-bottom: 16px;
  }

  .spec {
    margin-bottom: 30px;
  }

  li {
    margin-bottom: 8px;

    a {
      font-weight: 600;
    }
  }
}

/* jobs  */

header.jobs-header {
  background: #e7dfe0;
  margin-top: 12px;
  padding-bottom: 0;
  padding-top: 0;

  h1 {
    margin-bottom: 24px;
  }
}

.jobs {
  margin-top: 40px;

  h2 {
    margin-bottom: 24px;
  }

  h3 {
    margin-top: 16px;
    margin-bottom: 16px;
  }

  .columns:not(:last-child) {
    margin-bottom: 40px;
  }
}

/* addstickers */

p.stickers {
  font-size: 17px;
}

/* android/apk */

.android-screenshot {
  overflow: hidden;
  position: relative;

  img {
    bottom: -223px;
    position: absolute;
    width: 240px;
  }
}

/* brand-assets */
.brand-assets {
  color: #000000;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;

  h1 {
    font-size: 58px;
    line-height: 64px;
    font-weight: 500;
    margin-bottom: 24px;
  }

  h2 {
    font-size: 40px;
    line-height: 48px;
    font-weight: 500;
    margin-top: 64px;
    margin-bottom: 24px;
  }

  h3 {
    font-size: 22px;
    line-height: 32px;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 20px;
  }

  h4 {
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
  }

  .updated {
    color: #565656;
    font-size: 16px;
    line-height: 22px;
  }

  p {
    margin-bottom: 32px;
  }

  .box.assets {
    color: #000000;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    background-color: #f6f6f6;
    box-shadow: none;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    h4 {
      margin-top: 0px;
      margin-bottom: 12px;
    }
    p {
      font-size: 16px;
      line-height: 22px;
      margin-bottom: auto;
    }
    .buttons {
      margin-top: 12px;
    }
    a.button {
      background-color: #e3e8fe;
      color: #020bac;
      .icon {
        margin-left: 0px;
      }
    }
    .icon {
      margin-bottom: -4px;
    }
  }

  .tile.is-ancestor:not(:last-child) {
    margin-bottom: 32px;
  }

  .tile.box {
    border: 1px solid rgba(#000000, 0.16);
    border-radius: 24px;
    padding: 12px;
    box-shadow: none;
  }

  .tile.dont-flex-grow {
    flex-grow: 0;
  }
}

/* account deletion */

.account_deletion {
  color: #000000;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;

  h1 {
    font-size: 58px;
    line-height: 64px;
    font-weight: 500;
    margin-bottom: 24px;
  }

  h4 {
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
  }

  p {
    margin-bottom: 32px;
  }

  .box.request {
    color: #000000;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    background-color: #f6f6f6;
    box-shadow: none;
    border-radius: 24px;
    margin-top: 32px;
    h4 {
      margin-bottom: 12px;
      margin-top: 0;
    }
    p {
      font-size: 16px;
      line-height: 22px;
      margin-bottom: 24px;
    }
  }

  .button.submit {
    background-color: #e3e8fe;
    border-radius: 12px;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: #020bac;
  }

  @media screen and (min-width: 770px) {
    .account-input {
      padding-right: 6px;
    }
    .submit-button {
      padding-left: 6px;
    }
  }

  @media screen and (max-width: 769px) {
    .button.submit {
      width: 100%;
    }
  }

  .input.account {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    border-radius: 12px;
  }
  .input.account::placeholder {
    color: #5e5e5e;
  }
}

/* rtl */

html[dir=rtl] {
  .signal-logo {
    margin-left: 40px;
  }

  .navbar-end {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: auto;
  }

  .mobile-screenshots {
    margin-right: 60px;
  }

  .signal-navbar .language-selector .icon {
    margin-left: 4px;
    margin-right: 0;
  }
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Inter-Regular'),
    url("../fonts/Inter-Regular.woff2") format("woff2");
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Inter-Medium'),
    url("../fonts/Inter-Medium.woff2") format("woff2");
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Inter-SemiBold'),
    url("../fonts/Inter-SemiBold.woff2") format("woff2");
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local('Inter-ExtraBold'),
    url("../fonts/Inter-ExtraBold.woff2") format("woff2");
}

.download-columns {
  align-items: center;
  justify-content: center;
}