#landing-card {
  background-image: url("../static/home-page-banner-background.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 180px 70px 0 70px;
  box-sizing: border-box;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 32px;
}

#landing-card > * {
  min-width: 0;
}

#landing-card > h1 {
  color: var(--gray-3);
  margin: 0;
}

#landing-card > p {
  font-weight: 400;
  font-size: 24px;
  line-height: 36px;
  color: var(--gray-3);
  margin: 0;
}

#demo {
  max-height: 640px;
  display: block;
  max-width: 90vw;
  border-radius: 8px;
  margin: 80px 25px;
  box-shadow: 0px 10px 100px 4px rgba(20, 131, 254, 0.3);
}

#landing-card-image > img {
  display: block;
  width: 100%;
  height: auto;
}

section {
  padding: 120px 70px;
  box-sizing: border-box;
}

#dark-section {
  background-color: var(--gray-1);
  background-image: url("../static/motivation-card-background.svg");
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: center;
}

section > h1 {
  font-weight: 800;
  font-size: 48px;
}

section > h1.centered {
  text-align: center;
}

.section-description {
  font-weight: 400;
  font-size: 24px;
  text-align: center;
  color: var(--gray-1);
  line-height: 150%;
}

#feature-cards-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  margin: 64px 0;
  min-width: 0;
}

#description-section {
  margin: 64px 0;
  display: grid;
  grid-template-columns: 52fr 48fr;
  gap: 60px;
}

#description-section > * {
  min-width: 0;
}

#description-text {
  font-weight: 400;
  font-size: 21px;
  line-height: 150%;
  margin: 0;
  color: var(--gray-3);
}

#use-case-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  height: 48px;
  margin: 32px 0 32px 0;
  border-bottom: 1px solid #b9c0c8;
  box-sizing: border-box;
  position: relative;
  cursor: pointer;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.07);
  padding: 4px;
}

#use-case-tab-slider {
  height: calc(100% - 8px); /* subtract padding */
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1),
    0px 1px 2px 0px rgba(0, 0, 0, 0.06);
  position: absolute;
  left: 0;
  top: 4px;
  transition: width 250ms ease, left 250ms ease;
  z-index: 1;
}

.use-case-tab {
  z-index: 2;
  height: 100%;
  display: grid;
  align-items: center;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  transition: background-color 250ms ease, color 250ms ease;
  border-radius: 4px;
  grid-auto-flow: column;
  gap: 12px;
  justify-content: center;
  color: var(--gray-1);
}

/* reference in index.js */
.use-case-tab-hoverable:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

/* reference in index.js */
.use-case-tab-selected {
  color: var(--primary-intent);
  font-weight: 600;
}

.use-case-tab > span {
  font-weight: 400;
  font-size: 16px;
}

.use-case-tab-panel {
  display: none; /* controlled by index.js */
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
  min-height: 425px;
}

.use-case-tab-panel > video,
.use-case-tab-panel > img {
  min-width: 0;
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  border-radius: 6px;
}

.use-case-tab-panel > p {
  margin: 0;
  color: var(--gray-1);
  font-size: 22px;
  font-weight: 400;
  line-height: 150%;
  min-width: 0;
}

#ai-title {
  font-size: 25px;
  font-weight: 700;
}

#grayscale-tag {
  color: var(--gray-3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

#grayscale-tag > img {
  filter: grayscale(1);
}

.view-all-button,
.view-all-button:visited {
  padding: 6px 24px;
  border-radius: 6px;
  height: 44px;
  background-color: var(--gray-1);
  color: var(--gray-3);
  font-size: 16px;
  font-weight: 600;
  width: fit-content;
  display: grid;
  align-items: center;
  margin: 0 auto;
  box-sizing: border-box;
}

#learn-more-button,
#learn-more-button:visited {
  padding: 6px 24px;
  border-radius: 6px;
  height: 44px;
  background-color: var(--gray-3);
  color: var(--gray-1);
  font-size: 16px;
  font-weight: 600;
  width: fit-content;
  display: grid;
  align-items: center;
  box-sizing: border-box;
  margin: 0 auto;
}

#visual-clarity-card {
  padding: 60px 24px 0px 24px;
  box-sizing: border-box;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(250, 250, 250, 0.1);
  overflow: hidden;
  height: fit-content;
}

#visual-clarity-card > img {
  width: 100%;
  height: auto;
  max-width: 600px;
  display: block;
}

.announcement-tag {
  padding: 6px 16px;
  position: absolute;
  right: 16px;
  top: -16px;
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  border-radius: 12px;
  background: var(--primary-intent);
  box-shadow: 0px 211px 59px 0px rgba(0, 0, 0, 0),
    0px 135px 54px 0px rgba(0, 0, 0, 0), 0px 76px 46px 0px rgba(0, 0, 0, 0.02),
    0px 34px 34px 0px rgba(0, 0, 0, 0.03), 0px 8px 19px 0px rgba(0, 0, 0, 0.03);
}

.ehr-provider {
  padding: 5px;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  min-width: 0;
  display: inline-block;
}

.ehr-provider > img {
  background-color: inherit;
  border: none;
  margin: 0 auto;
  display: block;
  max-width: 100%;
  max-height: 15px;
}

@media (max-width: 1100px) {
  .use-case-tab-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 850px) {
  #description-section {
    grid-template-columns: 1fr;
  }

  #landing-card {
    padding-left: 16px;
    padding-right: 16px;
  }

  section {
    padding: 48px 16px;
  }

  .use-case-tab > svg {
    display: none;
  }
}

@media (max-width: 500px) {
  .use-case-tab > span {
    font-size: 13px;
  }
}
