:root {
  --lx-main-ink: #111827;
  --lx-main-muted: #586273;
  --lx-main-blue: #2858d8;
  --lx-main-blue-soft: #e8efff;
  --lx-main-warm: #e7a95f;
  --lx-main-line: rgba(17, 24, 39, .14);
  --lx-main-paper: rgba(255, 255, 255, .82);
}

/* Remove the generic corporate content box only on the branded main-site pages. */
.lx-home-page .lx-home-main,
.lx-products-page .lx-products-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.lx-home-layout,
.lx-products-layout {
  width: min(78rem, calc(100% - 2rem));
  margin: 0 auto;
}

.lx-main-kicker {
  margin: 0 0 .7rem;
  color: var(--lx-main-blue);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* Home hero */

.lx-home-hero {
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(2.75rem, 6vw, 5rem);
  border-bottom: 1px solid var(--lx-main-line);
}

.lx-home-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3.35rem, 8vw, 7.6rem);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .91;
}

.lx-home-hero h1 span {
  display: block;
}

.lx-home-hero h1 span:last-child {
  color: var(--lx-main-blue);
}

.lx-home-hero__intro {
  max-width: 43rem;
  margin: 1.6rem 0 0;
  color: var(--lx-main-muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

/* Destination catalogue */

.lx-home-destinations {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.lx-home-section-heading {
  margin-bottom: 1.45rem;
}

.lx-home-section-heading h2,
.lx-home-evidence h2,
.lx-products-catalogue h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
}

.lx-home-destination-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.lx-home-destination {
  position: relative;
  min-height: 16.5rem;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  overflow: hidden;
  border: 1px solid var(--lx-main-line);
  border-radius: 1.25rem;
  background: var(--lx-main-paper);
  color: var(--lx-main-ink);
  text-decoration: none;
  box-shadow: 0 1rem 2.6rem rgba(15, 23, 42, .055);
  transition:
    transform .16s ease,
    border-color .16s ease,
    box-shadow .16s ease;
}

a.lx-home-destination:hover,
a.lx-home-destination:focus-visible {
  border-color: rgba(40, 88, 216, .58);
  box-shadow: 0 1.25rem 3rem rgba(15, 23, 42, .1);
  transform: translateY(-3px);
}

.lx-home-destination--soon {
  background: rgba(248, 250, 252, .66);
}

.lx-home-destination__mark {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  border-radius: .9rem;
  background: var(--lx-main-blue-soft);
  color: var(--lx-main-blue);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.18rem;
  font-weight: 700;
}

.lx-home-destination__body {
  margin-top: auto;
  padding-top: 2.25rem;
}

.lx-home-destination__body strong {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.6rem;
  line-height: 1.05;
}

.lx-home-destination__body p {
  margin: .55rem 0 0;
  color: var(--lx-main-muted);
  font-size: .94rem;
  line-height: 1.42;
}

.lx-home-destination__action,
.lx-home-destination__status {
  display: block;
  margin-top: 1.2rem;
  font-size: .78rem;
  font-weight: 800;
}

.lx-home-destination__action {
  color: var(--lx-main-blue);
}

.lx-home-destination__action b {
  display: inline-block;
  margin-left: .22rem;
  transition: transform .16s ease;
}

a.lx-home-destination:hover .lx-home-destination__action b {
  transform: translateX(.18rem);
}

.lx-home-destination__status {
  color: #7a8493;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Explore miniature tree mark */

.lx-home-destination__mark--explore {
  position: relative;
  grid-template-columns: repeat(4, 1fr);
  gap: .15rem;
  align-items: end;
  padding: .55rem .4rem .65rem;
}

.lx-home-destination__mark--explore::before {
  content: '';
  position: absolute;
  top: .72rem;
  left: 18%;
  right: 18%;
  height: 1.25rem;
  border: solid rgba(40, 88, 216, .42);
  border-width: 1.5px 1.5px 0;
}

.lx-home-destination__mark--explore i {
  z-index: 1;
  width: .42rem;
  height: .42rem;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--lx-main-blue);
}

/* Products tag mark */

.lx-home-destination__mark--product {
  position: relative;
}

.lx-home-destination__mark--product i {
  width: 1.55rem;
  height: 1.15rem;
  display: block;
  border: 2px solid var(--lx-main-blue);
  border-radius: .25rem;
  transform: rotate(-8deg);
}

.lx-home-destination__mark--product i::after {
  content: '';
  position: absolute;
  top: 1.08rem;
  right: 1.15rem;
  width: .28rem;
  height: .28rem;
  border-radius: 50%;
  background: var(--lx-main-blue);
}

/* Explore feature */

.lx-home-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(19rem, .85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  margin: 0 0 clamp(3rem, 6vw, 5rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at 90% 0%, rgba(89, 142, 255, .34), transparent 22rem),
    linear-gradient(135deg, #111827 0%, #172554 100%);
  color: #ffffff;
  box-shadow: 0 1.4rem 3.6rem rgba(17, 24, 39, .16);
}

.lx-home-feature .lx-main-kicker {
  color: #9fbcff;
}

.lx-home-feature h2 {
  max-width: 11ch;
  margin: 0;
  color: #ffffff !important;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .96;
}

.lx-home-feature__copy > p:not(.lx-main-kicker) {
  max-width: 38rem;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, .78) !important;
  font-size: 1.03rem;
  line-height: 1.6;
}

.lx-home-feature__copy > a {
  display: inline-block;
  margin-top: 1.45rem;
  color: #ffffff !important;
  font-weight: 800;
  text-decoration: none;
}

.lx-home-feature__discoveries {
  display: grid;
  gap: .65rem;
}

.lx-home-feature__discoveries > div {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: .1rem .7rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: .9rem;
  background: rgba(255, 255, 255, .07);
}

.lx-home-feature__number {
  grid-row: 1 / span 2;
  color: #9fbcff;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.lx-home-feature__discoveries strong {
  color: #ffffff;
  line-height: 1.2;
}

.lx-home-feature__discoveries small {
  color: rgba(255, 255, 255, .68) !important;
  line-height: 1.35;
}

/* Evidence */

.lx-home-evidence {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(20rem, 1.1fr);
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(1rem, 4vw, 3rem) 0 clamp(4rem, 8vw, 7rem);
}

.lx-home-evidence__copy > p {
  max-width: 40rem;
  margin: 0;
  color: var(--lx-main-muted);
  font-size: 1.06rem;
  line-height: 1.62;
}

.lx-home-evidence__copy nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  margin-top: 1.35rem;
}

.lx-home-evidence__copy a {
  color: var(--lx-main-blue);
  font-weight: 800;
  text-decoration: none;
}

/* Products */

.lx-products-layout {
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.lx-products-hero {
  max-width: 60rem;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.lx-products-back {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: var(--lx-main-muted) !important;
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
}

.lx-products-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .93;
}

.lx-products-hero > p:last-child {
  max-width: 43rem;
  margin: 1.4rem 0 0;
  color: var(--lx-main-muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.lx-products-catalogue {
  padding-top: 2rem;
  border-top: 1px solid var(--lx-main-line);
}

.lx-product-card {
  display: grid;
  grid-template-columns: minmax(18rem, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--lx-main-line);
  border-radius: 1.4rem;
  background: var(--lx-main-paper);
  box-shadow: 0 1rem 2.6rem rgba(15, 23, 42, .055);
}

.lx-product-card__visual {
  min-height: 20rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 25% 20%, rgba(231, 169, 95, .36), transparent 12rem),
    linear-gradient(145deg, #edf3ff 0%, #f8f5ee 100%);
}

.lx-product-label-sheet {
  width: min(17rem, 74%);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  padding: 1.1rem;
  border-radius: .7rem;
  background: rgba(255, 255, 255, .64);
  box-shadow: 0 1rem 2.5rem rgba(17, 24, 39, .11);
  transform: rotate(-4deg);
}

.lx-product-label-sheet i {
  display: block;
  height: 3.2rem;
  border: 1px solid rgba(40, 88, 216, .22);
  border-radius: .4rem;
  background: #ffffff;
}

.lx-product-label-sheet i:nth-child(2),
.lx-product-label-sheet i:nth-child(5) {
  transform: translateY(.28rem);
}

.lx-product-card__status {
  display: inline-block;
  padding: .36rem .58rem;
  border-radius: 999px;
  background: var(--lx-main-blue-soft);
  color: var(--lx-main-blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lx-product-card__copy h3 {
  margin: 1rem 0 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
}

.lx-product-card__copy p {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--lx-main-muted);
  line-height: 1.6;
}

@media (max-width: 62rem) {
  .lx-home-destination-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lx-home-feature {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 44rem) {
  .lx-home-layout,
  .lx-products-layout {
    width: min(100% - 1.25rem, 78rem);
  }

  .lx-home-destination-grid,
  .lx-home-evidence,
  .lx-product-card {
    grid-template-columns: 1fr;
  }

  .lx-home-destination {
    min-height: 14rem;
  }

  .lx-home-feature {
    padding: 1.5rem;
    border-radius: 1.2rem;
  }

  .lx-product-card__visual {
    min-height: 16rem;
  }
}

@media (max-width: 30rem) {
  .lx-home-destination-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lx-home-destination,
  .lx-home-destination__action b {
    transition: none;
  }

  a.lx-home-destination:hover,
  a.lx-home-destination:focus-visible {
    transform: none;
  }
}

/* Bibliography */

.lingex-bibliography {
  padding-left: 2rem;
}

.lingex-bibliography__entry {
  margin: .8rem 0;
  line-height: 1.55;
}

.lingex-bibliography__citation,
.lingex-bibliography__meta {
  display: inline;
}

.lingex-bibliography__meta {
  color: var(--lx-main-muted, #586273);
  white-space: normal;
}

.lingex-bibliography-admin-files {
  display: inline;
}

.lingex-bibliography-admin-files > summary {
  display: inline;
  cursor: pointer;
  color: var(--lx-main-ink, #111827);
  list-style: none;
  white-space: nowrap;
}

.lingex-bibliography-admin-files > summary::-webkit-details-marker {
  display: none;
}

.lingex-bibliography-admin-files > summary::before {
  content: '▸ ';
}

.lingex-bibliography-admin-files[open] > summary::before {
  content: '▾ ';
}

.lingex-bibliography-admin-files > ul {
  margin: .55rem 0 .2rem 1rem;
  padding-left: 1.25rem;
}

.lingex-bibliography-admin-files > ul > li {
  margin: .4rem 0;
}

