/* The home page for visitors who are not signed in (Pages/Shared/_Landing.cshtml): Vuexy's front-page
   styles (the parts the page uses), plus a few pieces of its own. Signed-in visitors never see it. */

body {
  background-color: var(--bs-paper-bg);
  font-family: 'Public Sans', var(--bs-body-font-family);
}

.section-py {
  padding-block: 6.25rem;
}

@media (max-width: 1199.98px) {
  .section-py {
    padding-block: 5rem;
  }
}

@media (max-width: 767.98px) {
  .section-py {
    padding-block: 3rem;
  }
}

/* ---------- Navbar: the floating bar at the top (Vuexy landing-navbar) ---------- */

nav.layout-navbar {
  position: fixed;
  z-index: 1030;
  inset-block-start: 0;
  inset-inline: 0;
  backdrop-filter: saturate(100%) blur(6px);
}

.landing-navbar {
  --bs-front-navbar-bg: rgba(var(--bs-paper-bg-rgb), 0.38);
  --bs-front-navbar-border-color: rgba(var(--bs-paper-bg-rgb), 0.68);
  border: 2px solid var(--bs-front-navbar-border-color);
  background-color: var(--bs-front-navbar-bg);
  margin-block-start: 1rem;
  padding-block: 0.614rem;
  border-radius: 0.375rem;
}

.landing-navbar .navbar-nav .nav-link {
  color: var(--bs-heading-color);
  margin-inline-end: 0.625rem;
  padding: 0.5rem 0.625rem;
  font-weight: 500;
}

.landing-navbar .navbar-nav .nav-link:hover {
  color: var(--bs-primary);
}

.wl-brand-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
}

.wl-brand-text {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--bs-heading-color);
}

/* ---------- Hero ---------- */

.wl-hero {
  padding-block-start: 9rem;
}

.wl-hero h1 {
  max-width: 48rem;
  margin-inline: auto;
}

.wl-lede {
  max-width: 38rem;
  margin-inline: auto;
}

/* The hero's one sentence stays on one line on a desktop. */
.wl-hero .wl-lede {
  max-width: 60rem;
}

/* The soft gradient block behind the screenshots (the hero's tint from Vuexy's landing page). */
.wl-glow {
  background: linear-gradient(138deg, #eae8fd 0%, #fce5e6 100%);
  border-radius: 1.5rem;
  padding: 2rem;
}

[data-bs-theme='dark'] .wl-glow {
  background: linear-gradient(138deg, #2d2a4a 0%, #3a2a3d 100%);
}

@media (max-width: 575.98px) {
  .wl-glow {
    padding: 1rem;
    border-radius: 1rem;
  }
}

/* A browser window around a screenshot. */
.wl-window {
  overflow: hidden;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  background: var(--bs-paper-bg);
  box-shadow: 0 1.5rem 3rem rgba(47, 43, 61, 0.18);
}

.wl-window-bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  height: 2rem;
  padding: 0 0.875rem;
  border-bottom: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
}

.wl-window-bar span {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
}

.wl-window-bar span:nth-child(1) {
  background: #ff5f57;
}

.wl-window-bar span:nth-child(2) {
  background: #febc2e;
}

.wl-window-bar span:nth-child(3) {
  background: #28c840;
}

.wl-window-bar .wl-url {
  margin-inline: auto;
  font-size: 0.75rem;
  color: var(--bs-secondary-color);
}

.wl-window img {
  display: block;
  width: 100%;
  height: auto;
}

.wl-window.wl-crop img {
  max-height: 560px;
  object-fit: cover;
  object-position: top left;
}

/* A phone, overlapping the window's corner on wide screens. */
.wl-stack {
  position: relative;
}

.wl-phone {
  width: 15rem;
  padding: 0.625rem;
  border-radius: 2.25rem;
  background: #1c1b22;
  box-shadow: 0 1.5rem 3rem rgba(47, 43, 61, 0.25);
}

.wl-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.75rem;
}

.wl-stack .wl-phone {
  position: absolute;
  right: -1rem;
  bottom: -2rem;
}

@media (max-width: 991.98px) {
  .wl-stack .wl-phone {
    display: none;
  }
}

/* ---------- Sections ---------- */

.wl-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-weight: 700;
}

.wl-step-text {
  max-width: 20rem;
  margin-inline: auto;
}

.wl-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  font-size: 1rem;
}

.wl-rounded-top {
  border-radius: 3.75rem 3.75rem 0 0;
}

.wl-rounded {
  border-radius: 3.75rem;
}

@media (max-width: 767.98px) {
  .wl-rounded-top {
    border-radius: 2rem 2rem 0 0;
  }

  .wl-rounded {
    border-radius: 2rem;
  }
}

.wl-swatch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem 0.375rem 0.375rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 50rem;
  font-size: 0.8125rem;
  font-weight: 500;
}

.wl-swatch i {
  display: inline-block;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
}

/* ---------- Footer (Vuexy landing-footer) ---------- */

.landing-footer {
  --bs-footer-text: #fff;
  --bs-footer-bottom-text: #d3d4dc;
  --bs-footer-bottom-bg: #282c3e;
  --bs-footer-top-bg: #241d31;
  margin-top: 3rem;
}

.landing-footer .footer-top {
  padding-block: 3.6875rem 2.4375rem;
  border-radius: 3.75rem 3.75rem 0 0;
  background-color: var(--bs-footer-top-bg);
}

@media (max-width: 767.98px) {
  .landing-footer .footer-top {
    padding-block: 3rem;
    border-radius: 2rem 2rem 0 0;
  }
}

.landing-footer .footer-link,
.landing-footer .footer-text {
  color: var(--bs-footer-text);
  opacity: 0.78;
}

.landing-footer .footer-link:hover {
  opacity: 1;
}

.landing-footer .footer-title {
  color: var(--bs-footer-text);
  opacity: 0.92;
}

.landing-footer .footer-logo-description {
  max-width: 385px;
}

.landing-footer .footer-bottom {
  background-color: var(--bs-footer-bottom-bg);
}

.landing-footer .footer-bottom-text {
  color: var(--bs-footer-bottom-text);
}

/* The light/dark screenshot pairs. */
picture {
  display: block;
}
