body {
  font-size: 1rem;
  margin: 40px 0 0 0;
}
.box { margin: 80px 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Times New Roman, sans-serif';
  font-weight: bold;
  color: #27282a;
}

h3 {
  font-size: 1.3em;
  font-weight: normal;
}

header a.btn-link {
  font-size: 1rem;
  margin: 5px;
  border-radius: 10px;
}
header a.pill:hover {
  background-color: #336cdddd;
  color: white !important;
}
.support-btn {
  width: 50%;
  margin: auto;
  margin-top: 20px;
  padding: 20px;
  height: 70px !important;
  display: block;
}

footer {
  background-color: #eee;
  padding: 20px 0;
  p {margin-bottom: 0; }
}

h1 { font-size: 2.6rem; letter-spacing: -2px; }

#hero { margin-top: 40px; }
.hero-title { font-size: 2.2rem; }
.hero-subtitle { font-size: 1.3rem; font-weight: normal; margin-bottom: 20px; line-height: 1.4em; }

button {
  font-family: 'Segoe UI';
  font-weight: bold;
  border-radius: 6px !important;
}
small { display: inline-block; }

#accolades {
  border-width: 1px 0px;
  border-style: solid;
  border-color: #ddd;
  padding: 20px 0 14px 0;
}

#preview-image {
  margin-top: 20px;
  box-shadow: 2px 4px 4px #ddd;
}
header a.btn-link, footer a.btn-link { color: #27282a !important; }
#install .btn { padding: 10px 16px; height: auto; font-weight: bold; }
#install .btn img { position: relative; top: 2px; }

details { margin: 10px 0; font-size: 0.9rem; }
details summary { cursor: pointer; font-size: 1.2rem; }

.grayscale { filter: grayscale(100%); }
.browser-list {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.75em;
}

.plan {
  border-radius: 10px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.plan button {
  width: 100%;
  text-align: center;
  border-color: transparent;
  margin-top: 24px;
}
.plan li {
  list-style-type: none;
  position: relative;
  color: #27282a;
}
.plan li::before {
  content: ' ';
  background-size: 16px 16px;
  height: 16px;
  width: 16px;
  display: inline-block;
  margin-right: 8px;
}
.plan-pro { background-color: #ffffff; border: 1px solid rgba(39, 40, 42, 0.3) !important; }
.plan-pro button { background-color: #3c7eff; color: #fff; }
.plan-pro button:hover { background-color: #336cdd; }
.plan-pro button:active, .plan-pro button:focus { background-color: #1c52bd; }
.plan.plan-pro li::before { background-image: url('../icons/check-blue.svg'); }

.mb-0 { margin-bottom: 0 !important; }
.no-border { border: none !important; }
.pt-0 { padding-top: 0 !important; }
.comment { padding: 10px; border-bottom: 1px solid #ddd; }
.comment:last-child { border-bottom: 0; }
.gap-1 { gap: 8px; }

.chip {
  padding: 1rem 1rem;
  background-color: #3C7EFF22;
}
.chip svg { margin-right: 8px; }

.greg-lang {
	align-items: center;
	background-color: rgba(0,170,85,.212);
	border: 1px solid #0a5;
	border-radius: 4px;
	display: inline-flex;
	font-size: .7em;
  color: black;
	gap: 4px;
	padding: 4px 8px;
  margin: 0;
}
a:has(p.greg-lang) {
  &:hover, &:focus, &:active {
    text-decoration: none;
  }
}

/* Animation adjusted from https://stackoverflow.com/a/36267849 */
@keyframes strike {
  0%   { width : 0; opacity: 0; }
  100% { width: 100%; opacity: 1; }
}

.strike {
  position: relative;
}
.strike::after {
  content: ' ';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  border-bottom: 4px solid rgba(0, 0, 0, 0.5);
  animation: strike 2.5s ease-in-out both;
}
.cross-out-anim div:nth-child(1).strike::after { animation-delay: 1s; }
.cross-out-anim div:nth-child(2).strike::after { animation-delay: 2s; }
.cross-out-anim div:nth-child(3).strike::after { animation-delay: 3s; }
.cross-out-anim div:nth-child(4).strike::after { animation-delay: 4s; }
.cross-out-anim div:nth-child(5).strike::after { animation-delay: 5s; }
.cross-out-anim div:nth-child(6).strike::after { animation-delay: 6s; }
.cross-out-anim div:nth-child(7).strike::after { animation-delay: 7s; }

.text-gradient {
  background: #3C7EFF;
  background: radial-gradient(circle farthest-corner at top left, #3C7EFF 0%, #5755D9 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#audiences, #getting-started {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  gap: 24px;
}

#how-it-works #tips {
  margin-left: 20px;
  margin-top: 30px;
}

.step-card {
  margin-top: 10px;
  border: 2px SOLID #ddd;
  border-radius: 16px;
  overflow: clip;
  flex: 1;

  & img {
    border-radius: 10px;
    margin: 8px;
    width: 300px;
    min-height: 225px;
  }

  & div {
    padding: 10px;
  }
}

.go-to-download {
  background-color: #3c7eff !important;
  border: 0 !important;
  color: white !important;
  height: auto !important;
  padding: 20px;
  display: inline-flex;
  gap: 12px;
  margin-bottom: 10px;

  & div {
    text-align: left;

    & strong {
      font-size: 1.1em;
    }
  }
  & img {
    fill: white;
  }
}

#install .btn {
  min-width: 95px;
  min-height: 108px;

  & p {
    margin-bottom: 0;

    & small {
      position: relative;
      top: -10px;
    }
  }
}

figure.figure {
  /* Source: https://codehim.com/html5-css3/image-frame-in-html-and-css/ */
  --c: 50px;
  --p: 30px;
  --d: 10px;
  background: red;
  display: inline-block;
  padding: var(--p);
  background:
    radial-gradient(farthest-side at 0 0, #000, #0000) 0 0 / var(--c) var(--c),
    radial-gradient(farthest-side at 100% 100%, #000, #0000) 100% 100% / var(--c) var(--c),
    linear-gradient(#fff 0 0) 50% 50% / calc(100% - var(--p)) calc(100% - var(--p)),
    linear-gradient(#0000, #000 25% 75%, #0000) 50% 50% / calc(100% - var(--p)) calc(100% - var(--d)),
    linear-gradient(90deg, #0000, #000 25% 75%, #0000) 50% 50% / calc(100% - var(--d)) calc(100% - var(--p)),
    radial-gradient(farthest-side at 0 100%, #00000018, #0000) calc(100% - var(--d) * 0.5) calc(var(--d) * 0.5) / var(--d) var(--d),
    radial-gradient(farthest-side at 100% 0, #00000018, #0000) calc(var(--d) * 0.5) calc(100% - var(--d) * 0.5) / var(--d) var(--d);
  background-repeat: no-repeat;
  clip-path: polygon(0 var(--c), var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%);
}

.price-float {
  background-color: #3c7eff44;
  padding: 20px;
  border-radius: 20px;
  border: 4px double #3c7eff;
  transform: rotate(15deg);
  text-align: center;
  margin-top: 10px;
}
.price-float h4 {
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0;
}
.price-float h5 {
  font-size: 1.5rem;
  margin-bottom: 0;
}
.price-float h5 small {
  font-size: 0.9rem;
  margin-left: 5px;
  opacity: 100%;
}
.price-float small {
  opacity: 80%;
  font-style: italic;
}
