.content {
  padding: 4em;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1;
  margin: 0;
  margin-bottom: 1.25rem;
  text-wrap: balance;
  @media (max-width: 900px) {
    font-size: 2.5rem;
  }
}

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

#intro-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 6em;
  margin-top: 2em;
  max-width: 850px;
  width: 100%;
  @media (max-width: 900px) {
    gap: 3em;
  }

  .title-tag {
    background: var(--card-background);
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 27px;
    font-size: 12px;
    margin-bottom: 1.5em;
    color: var(--title-tag);
    /* border: 1px dashed rgba(255, 255, 255, 0.1); */
    border: 1px solid rgba(0,0,0, 0.1);
    a {
      transition: color 100ms;
      &:hover {
        color: var(--text-color);
        /* text-decoration: underline; */
      }
    }
  }

  #hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 700px;
    /* max-width: 824px; */
    /* min-width: 460px; */
    p {
      font-size: 1.25rem;
      text-wrap: balance;
      a {
        font-weight: 500;
        border-bottom: var(--link-underline);
        &:hover { border-bottom: var(--link-underline-hover); }
      }
    }

    .subhead {
      color: var(--subhead);

      .lg {
        @media (max-width: 500px) {
          display: none;
        }
      }
      a {
        color: var(--text-color);
      }
    }

    .download-link {
      font-weight: 500;
      text-decoration: underline;

      text-decoration-color: var(--link-underline-color);
      -webkit-text-decoration-line: underline;
      text-decoration-line: underline;
      text-decoration-style: dotted;
      text-decoration-thickness: 1px;
      text-underline-offset: 4px;

      display: flex;
      align-items: center;
      gap: 2px;
      /* width: 130px; */
      transition: text-decoration-color 100ms;
      /* border-bottom: var(--link-underline); */
      .icon {
        width: 16px;
        height: 16px;
        filter: var(--try-in-browser-icon-filter);
        opacity: 0.5;
        transition: opacity 100ms;
      }
      &:hover {
        text-decoration-color: var(--code-color);
        .icon {
          opacity: 1;
        }
      }
    }

    .download-subtext {
      margin-top: 0.5em;
      font-size: 14px;
      opacity: 0.7;
      display: inline-flex;
      gap: 10px;
      align-items: center;
      &:hover {
        text-decoration: underline;
      }
      .apple-logo {
        width: 14px;
        height: 14px;
        fill: var(--text-color);
      }
      .windows-logo {
        width: 14px;
        height: 14px;
        fill: var(--text-color);
      }
      .linux-logo {
        width: 14px;
        height: 14px;
        fill: var(--text-color);
        filter: var(--linux-logo-filter-inverted);
      }
    }
  }
}



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

.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: 100px;
  transition: background-color 100ms;
  &:has(+ label:hover) {
    background: var(--button-hover-background-color);
  }
}

.small-button svg {
  width: 1em;
  height: 1em;
  fill: var(--button-color);
  margin: 0 8px 0 0;
}
.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;
}

.small-button .android-logo {
  width: 17px;
  aspect-ratio: 200 / 224;
  height: auto;
}

.small-button .android-logo {
  filter: var(--android-logo-filter);
}
.small-button .linux-logo {
  filter: var(--linux-logo-filter);
}

.feature-list {
  display: grid;
  display: flex;
  flex-direction: column;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1em;
  width: 400px;
  @media (max-width: 900px) {
    width: 100%;
  }

  &.horizontal {
    flex-direction: row;
    margin-bottom: 2rem;
    width: 100%;
    @media (max-width: 900px) {
      flex-direction: column;
      margin-bottom: 0;
    }
  }
  .feature-box {
    border-radius: 8px;
    padding: 1em;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    font-size: 14px;
    &.clickable:hover {
      background-color: var(--feature-box-bg-hover);
      cursor: pointer;
    }
    &.active {
      border: 1px solid var(--border-color);
    }
    h3 {
      display: flex;
      align-items: center;
      font-size: 16px;
      gap: 6px;
      margin: 0;
      svg {
        width: 18px;
        height: 18px;
        opacity: 0.7;
        fill: var(--text-color);
      }
    }
    .desc {
      opacity: 0.7;
    }
  }
}

.feature-bento {
  display: flex;
  gap: 1em;

  @media (max-width: 900px) {
    flex-direction: column;
    align-items: center;
    &.reverse {
      flex-direction: column-reverse;
    }
  }

  .demo-video {
    width: 470px;
    max-width: 100%;
  }
}

.app-window {
  border: 1px solid var(--screenshot-border);
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.14902) 0px 10px 30px 0px;
}

.features .subhead, #testimonials .subhead {
  opacity: 0.8;
  margin-bottom: 3em;
  text-wrap: balance;
  a {
    text-decoration: underline;
  }
}

@media (max-width: 900px) {
  .section-heading {
    text-align: center;
  }
  .features {
    display: flex;
    flex-direction: column;
    align-items: center;
    .subhead {
      text-align: center;
    }
  }
}

#testimonials {
  overflow: hidden;
  padding-bottom: 3em;

  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 4rem;

  .subhead {
    text-align: center;
  }
  .content {
    @media (max-width: 900px) {
      padding-top: 4rem;
      padding-bottom: 4rem;
    }
  }
}

.home-rule {
  margin: 7em 0;
  width: 100%;
  @media (max-width: 900px) {
    margin: 4em 0;
  }
}


#pricing-section {
  @media (max-width: 900px) {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #pricing-container {
    display: flex;
    gap: 20px;
    /* justify-content: center; */
    @media (max-width: 600px) {
      flex-direction: column;
      align-items: center;
    }
    h2 {
      font-weight: 500;
    }
    ul {
      margin: 0;
      padding: 0;
      list-style: none;
      li {
        display: flex;
        align-items: center;
        gap: 6px;
        line-height: 2;
      }
    }
    .pricing-tier {
      width: calc(4em + 220px);
      /* display: flex; */
      /* flex-direction: column; */
      /* gap: 1em; */
      border: 2px solid var(--border-color);
      border-radius: 12px;
      padding: 2em;
      .subtle {
        opacity: 0.7;
        font-size: 14px;
      }
      li svg {
        width: 12px;
        height: 12px;
        margin-right: 2px;
        margin-left: 1px;
        fill: var(--text-color);
        opacity: 0.5;
      }
      img {
        width: 15px;
        height: 15px;
        /* margin-right: 6px; */
        filter: var(--icon-filter);
        opacity: 0.5;
      }
      p {
        margin: 1em 0;
        opacity: 0.7;
      }
      .default-button {
        width: 100%;
      }
      .lock-up {
        display: flex;
        gap: 10px;
        align-items: baseline;
        margin-bottom: 1.5em;
      }
      svg.big-icon {
        /* fill: var(--text-color); */
        fill: var(--subhead);
        width: 32px;
        height: 32px;
        position: relative;
        top: 3px;
      }
      h3 {
        margin-bottom: 0;
      }
    }
  }
}

.quotes {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  height: 520px;
  width: 950px;
  max-width: 100%;
  @media (max-width: 720px) {
    height: 650px;
  }
  @media (max-width: 500px) {
    height: 910px;
  }
  .quote {
    flex-shrink: 0;
    background-color: var(--card-background);
    /* background-color: var(--button-background); */
    border-radius: 12px;
    padding: 2em;
    max-width: 22em;
    box-shadow: rgba(0, 0, 0, 0.14902) 0px 10px 30px 0px;
    border: 1px solid var(--screenshot-border);
    font-size: 12px;
    position: relative;
    /* margin: -1.9em; */
    margin: -1em;
    cursor: pointer;
    transition: transform 150ms;
    .quote-byline {
      font-weight: bold;
      margin-top: 1em;
      opacity: 0.5;
    }
    &:hover {
      transform: rotate(0deg) scale(1.2) !important;
      z-index: 99 !important;
    }
  }
}

@media (max-width: 900px) {
  #app-demo {
    display: none;
  }
  .feature-list {
    flex-direction: column;
  }
  .content {
    padding: 1rem 1rem;
  }
  h1 {
    font-size: 2.5rem;
  }
  #hero {
    p {
      font-size: 1rem;
    }
  }
}
/**/
/* // X-Small devices (portrait phones, less than 576px) */
/* // No media query for `xs` since this is the default in Bootstrap */
/**/
/* // Small devices (landscape phones, 576px and up) */
/* @media (min-width: 576px) { ... } */
/**/
/* // Medium devices (tablets, 768px and up) */
/* @media (min-width: 768px) { ... } */
/**/
/* // Large devices (desktops, 992px and up) */
/* @media (min-width: 992px) { ... } */
/**/
/* // X-Large devices (large desktops, 1200px and up) */
/* @media (min-width: 1200px) { ... } */
/**/
/* // XX-Large devices (larger desktops, 1400px and up) */
/* @media (min-width: 1400px) { ... } */
