/* Lexama home. Measures and colors come from the approved mockup; do not change them by eye. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --sans: "Geist", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #ffffff;
  color: #0f172a;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
a {
  color: #2563eb;
}
a:hover {
  color: #0f172a;
}
:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 4px;
}
main:focus {
  outline: none;
}

/* The mockup's 1200 px up to a 1600 px window, then wider, up to 1440 px from a 1920 px window. Carlos
   chose it from three options; most references sit at 1250 to 1440 there. */
.lx-wrap {
  max-width: clamp(1200px, 75vw, 1440px);
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.lx-skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
.lx-skip:focus {
  top: 12px;
}
.lx-skip:hover {
  color: #ffffff;
}

/* Buttons */
.lx-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  text-align: center;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.lx-btn:hover {
  background: #1e293b;
  color: #ffffff;
}
.lx-btn--sm {
  min-height: 44px;
  font-size: 0.875rem;
}
.lx-btn--md {
  min-height: 48px;
  font-size: 0.9375rem;
}
.lx-btn--lg {
  min-height: 52px;
  font-size: 1rem;
}

/* Header */
.lx-header {
  border-bottom: 1px solid #eef2f6;
  background: #ffffff;
}
.lx-header__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.lx-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.lx-logo img {
  display: block;
  height: 30px;
  width: auto;
}
.lx-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 28px;
}
.lx-navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
}
.lx-navlinks a {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
.lx-navlinks a:hover {
  color: #0f172a;
}
/* The language menu: the classic globe, then the list. */
.lx-langs {
  position: relative;
  margin-inline: -10px;
}
.lx-langs summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 8px;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
.lx-langs summary::-webkit-details-marker {
  display: none;
}
.lx-langs[open] summary {
  background: #f1f5f9;
  color: #0f172a;
}
@media (hover: hover) {
  .lx-langs summary:hover {
    background: #f1f5f9;
    color: #0f172a;
  }
}
.lx-langs__list {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  min-width: 176px;
  padding: 6px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 24px -12px rgba(15, 23, 42, 0.18), 0 1px 2px rgba(15, 23, 42, 0.06);
}
.lx-langs__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 8px;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
.lx-langs__list a:hover {
  background: #f8fafc;
  color: #0f172a;
}
.lx-langs__list a[aria-current] {
  color: #0f172a;
}

/* Hero */
.lx-hero {
  position: relative;
  background: linear-gradient(180deg, #f3f6fb 0%, #f8fafc 45%, #ffffff 100%);
}
.lx-hero__in {
  position: relative;
  padding-top: clamp(56px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.lx-h1 {
  font-size: clamp(3rem, 7.6vw, 6rem);
  line-height: 0.96;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: #0f172a;
  overflow-wrap: break-word;
}
.lx-lead {
  max-width: 580px;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: #475569;
  text-wrap: pretty;
}
/* Where the page itself grows, this text can too: three lines, under 80 characters each, clear of the knot. */
@media (min-width: 1600px) {
  .lx-lead {
    max-width: 760px;
    text-wrap: balance;
  }
}
.lx-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}
.lx-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 4px;
  color: #0f172a;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.lx-more:hover {
  color: #0f172a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The drawn knot sits behind everything, faint, like the one in Principles. Only this layer clips
   it, so the example's shadow can still fade out below the hero. */
.lx-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.lx-heroknot {
  position: absolute;
  right: -150px;
  top: 8px;
  width: clamp(640px, 57vw, 821.21px);
  height: auto;
  opacity: 0.14;
}
@media (max-width: 720px) {
  .lx-heroknot {
    right: -190px;
  }
}
@media (max-width: 480px) {
  .lx-heroknot {
    width: 460px;
    right: -170px;
    top: 4px;
  }
  .lx-more {
    padding-left: 0;
  }
}

/* The product example */
.lx-preview-wrap {
  position: relative;
  margin-top: clamp(24px, 4vw, 48px);
}
/* The kit selector: same frame, another business. The line under the chosen kit is drawn like the logo. */
#lx-muestra {
  scroll-margin-top: 24px;
}
.lx-kitsel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 16px;
  margin-bottom: 12px;
}
.lx-kitsel[hidden] {
  display: none;
}
.lx-kitsel__label {
  font-size: 0.875rem;
  color: #64748b;
}
.lx-kitsel__tabs {
  display: flex;
  flex-wrap: wrap;
}
.lx-kitsel__tab {
  position: relative;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  background: none;
  color: #475569;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}
.lx-kitsel__tab:hover,
.lx-kitsel__tab[aria-selected="true"] {
  color: #0f172a;
}
.lx-kitsel__line {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2563eb, #0891b2);
  transform: scaleX(0);
  transform-origin: left;
}
.lx-kitsel__tab[aria-selected="true"] .lx-kitsel__line {
  transform: scaleX(1);
}
/* On a phone the five fit on one line, and the first lines up with the page's left edge. */
@media (max-width: 480px) {
  .lx-kitsel__tabs {
    margin-left: -6px;
  }
  .lx-kitsel__tab {
    padding: 0 6px;
  }
  .lx-kitsel__line {
    left: 6px;
    right: 6px;
  }
}
.lx-kitsel__stop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-left: auto;
  padding: 0 4px;
  border: 0;
  background: none;
  color: #475569;
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}
/* It keeps its space, so nothing moves under a finger when the pass ends. */
.lx-kitsel__stop {
  visibility: hidden;
}
.lx-kitsel__stop.is-on {
  visibility: visible;
}
.lx-kitsel__stop:hover {
  color: #0f172a;
}
/* All the examples share one cell, so the page doesn't jump when the kit changes. */
.lx-previews {
  display: grid;
}
.lx-previews__panel {
  grid-area: 1 / 1;
  min-width: 0;
  visibility: hidden;
  opacity: 0;
}
.lx-previews__panel.is-active {
  visibility: visible;
  opacity: 1;
}
.lx-previews__panel .lx-preview {
  height: 100%;
  box-sizing: border-box;
}
.lx-preview {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03), 0 32px 64px -24px rgba(15, 23, 42, 0.22), 0 12px 24px -12px rgba(15, 23, 42, 0.08);
}
.lx-prev-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid #eef2f6;
  background: #ffffff;
}
.lx-prev-org {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lx-prev-badge {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #475569;
}
/* The school's name comes first: it has to hold its own beside Lexama's logo. */
.lx-prev-name {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}
.lx-prev-crumb {
  font-size: 0.8125rem;
  color: #64748b;
}
.lx-prev-logo {
  display: block;
  height: 20px;
  width: auto;
  flex-shrink: 0;
}
.lx-prev-mark {
  display: none;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.lx-prev-body {
  display: flex;
  flex-wrap: wrap;
}
.lx-side {
  flex: 0 1 208px;
  min-width: 0;
  padding: 14px 10px;
  background: #fbfcfd;
  border-right: 1px solid #eef2f6;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lx-side__item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #475569;
}
.lx-side__item.is-active {
  background: #ffffff;
  color: #0f172a;
  font-weight: 500;
  box-shadow: 0 0 0 1px #e2e8f0, 0 1px 2px rgba(15, 23, 42, 0.06);
}
.lx-prev-main {
  flex: 999 1 520px;
  min-width: 0;
  padding: clamp(18px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.lx-prev-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 24px;
}
.lx-prev-head__in {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lx-prev-date {
  font-size: 0.8125rem;
  color: #64748b;
}
.lx-prev-summary {
  font-size: 1.5rem;
  line-height: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.lx-prev-summary span {
  display: inline-block;
  color: #2563eb;
}
.lx-prev-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.lx-prev-left {
  flex: 1.25 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lx-prev-right {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lx-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #64748b;
}
.lx-waiting {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
}
.lx-waiting__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 16px;
}
.lx-waiting__row + .lx-waiting__row {
  border-top: 1px solid #eef2f6;
}
/* An icon inside its own square is centered on all of the text, not its first line (Carlos, 2026-11-05). */
.lx-waiting__main {
  flex: 1 1 268px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.lx-waiting__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eff6ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lx-waiting__text {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lx-waiting__title {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #0f172a;
}
.lx-waiting__detail {
  font-size: 0.8125rem;
  line-height: 1.1875rem;
  color: #64748b;
  text-wrap: pretty;
}
.lx-waiting__btns {
  display: flex;
  gap: 8px;
}
.lx-fakebtn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.8125rem;
  font-weight: 500;
}
.lx-fakebtn--dark {
  border-color: #0f172a;
  background: #0f172a;
  color: #ffffff;
}
.lx-ran {
  display: flex;
  flex-direction: column;
}
.lx-ran__row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
}
.lx-ran__row + .lx-ran__row {
  border-top: 1px solid #f1f5f9;
}
.lx-ran__time {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.25rem;
  color: #64748b;
  width: 40px;
  flex-shrink: 0;
}
/* The check is centered on the text's first line. */
.lx-ran__check {
  height: 20px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.lx-ran__text {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #0f172a;
}

/* The demo: one frame for every business, with the same pieces filled in differently. */
.lx-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.lx-demo [hidden] {
  display: none !important;
}
.lx-demo {
  display: flex;
  flex-direction: column;
}
.lx-demo .lx-prev-body {
  flex: 1 1 auto;
}
.lx-demo .lx-waiting__main {
  flex-basis: 220px;
}
.lx-demo button {
  font: inherit;
  cursor: pointer;
}
.lx-demo button:disabled {
  cursor: default;
}
.lx-demo .lx-side__item {
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  font-size: 0.875rem;
}
.lx-demo .lx-side__item:hover {
  color: #0f172a;
  background: #f1f5f9;
}
.lx-demo .lx-side__item.is-active,
.lx-demo .lx-side__item.is-active:hover {
  background: #ffffff;
  color: #0f172a;
  font-weight: 500;
}
.lx-demo .lx-side__item svg {
  flex-shrink: 0;
}
.lx-screens {
  display: grid;
}
.lx-screen {
  grid-area: 1 / 1;
  align-self: start;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  visibility: hidden;
}
/* "inherit", not "visible": inside a hidden kit, the open screen has to stay hidden too. */
.lx-screen.is-active {
  visibility: inherit;
}
.lx-prev-summary .lx-plain {
  display: inline;
  color: #0f172a;
}
.lx-prev-note {
  margin-top: 2px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #475569;
}
.lx-demo .lx-prev-left,
.lx-demo .lx-prev-right {
  gap: 20px;
}
.lx-prev-cols--wide .lx-prev-left {
  flex: 2.4 1 440px;
}
.lx-prev-cols--wide .lx-prev-right {
  flex: 1 1 220px;
}
.lx-block {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lx-empty {
  padding: 16px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #475569;
}
.lx-demo .lx-fakebtn:hover {
  background: #f8fafc;
}
.lx-demo .lx-fakebtn--dark:not(.is-done):hover {
  background: #1e293b;
}
.lx-demo .lx-waiting {
  overflow: hidden;
}
.lx-draft {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f8fafc;
}
.lx-draft p {
  font-size: 0.875rem;
  line-height: 1.3125rem;
  color: #0f172a;
}
/* A button that already did its job says so, and stays where it was. */
.lx-once svg {
  display: none;
  margin-right: 6px;
  flex-shrink: 0;
}
.lx-once.is-done {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #475569;
  cursor: default;
}
.lx-once.is-done svg {
  display: block;
}
.lx-actionline {
  display: flex;
}
.lx-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 12px;
}
.lx-stat {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  color: inherit;
  text-align: left;
}
.lx-stat--go {
  position: relative;
  padding-right: 34px;
}
.lx-stat--go:hover {
  background: #f8fafc;
}
.lx-stat__chev {
  position: absolute;
  top: 18px;
  right: 12px;
  display: flex;
  transform: rotate(-90deg);
}
.lx-stat .lx-meter {
  margin-top: 6px;
}
.lx-stat__value {
  font-size: 1.25rem;
  line-height: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.lx-stat__label {
  font-size: 0.8125rem;
  line-height: 1.1875rem;
  color: #475569;
}
/* Progress bars: rail and fill rounded at both ends. */
.lx-meter {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}
.lx-meter::-webkit-progress-bar {
  border-radius: 999px;
  background: #e2e8f0;
}
.lx-meter::-webkit-progress-value {
  border-radius: 999px;
  background: #2563eb;
}
.lx-meter::-moz-progress-bar {
  border-radius: 999px;
  background: #2563eb;
}
.lx-meters {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lx-meters li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
}
.lx-meters .lx-meter {
  grid-column: 1 / -1;
}
.lx-meters__name {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #0f172a;
}
.lx-meters__value {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #475569;
  font-variant-numeric: tabular-nums;
}
.lx-pays,
.lx-timeline {
  display: flex;
  flex-direction: column;
}
.lx-pays li,
.lx-timeline li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
}
.lx-pays li + li,
.lx-timeline li + li {
  border-top: 1px solid #f1f5f9;
}
.lx-pays__main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.lx-pays__who {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #0f172a;
}
.lx-pays__how {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.1875rem;
  color: #64748b;
}
.lx-pays__amount {
  flex-shrink: 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.lx-timeline__time {
  flex-shrink: 0;
  width: 66px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.25rem;
  color: #64748b;
}
.lx-timeline__count {
  flex-shrink: 0;
  font-size: 0.8125rem;
  line-height: 1.25rem;
  color: #475569;
}
.lx-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}
/* Vermilion means "needs a look": the dot carries it, and the words stay dark enough to read. */
.lx-chip--review {
  background: #fff7f1;
  color: #0f172a;
}
.lx-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d55e00;
  flex-shrink: 0;
}
.lx-search {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 320px;
}
.lx-search svg {
  position: absolute;
  left: 13px;
  pointer-events: none;
}
.lx-search input {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  padding: 0 14px 0 34px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
  font-size: 0.875rem;
}
.lx-search input::placeholder {
  color: #64748b;
}
@media (pointer: coarse) {
  .lx-search input {
    font-size: 1rem;
  }
}
.lx-rowshead {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 44px 0 14px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #64748b;
}
.lx-rows {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}
.lx-rows > li + li {
  border-top: 1px solid #eef2f6;
}
.lx-row__sum {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto 16px;
  align-items: center;
  gap: 4px 14px;
  min-height: 48px;
  padding: 8px 14px;
  cursor: pointer;
  list-style: none;
}
.lx-row__sum::-webkit-details-marker {
  display: none;
}
.lx-row__sum:hover {
  background: #f8fafc;
}
.lx-row__sum:focus-visible {
  outline-offset: -2px;
}
.lx-row__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.lx-row__name {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #0f172a;
}
.lx-row__sub {
  font-size: 0.8125rem;
  line-height: 1.1875rem;
  color: #64748b;
}
.lx-row__val {
  grid-column: 3;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #0f172a;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.lx-row__val--muted {
  font-weight: 400;
  color: #475569;
}
.lx-row__chev {
  grid-column: 4;
  display: flex;
}
.lx-row[open] .lx-row__chev {
  transform: rotate(180deg);
}
.lx-row__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 2px 14px 14px;
}
.lx-facts {
  margin: 0;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lx-facts div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
}
.lx-facts dt {
  font-size: 0.8125rem;
  line-height: 1.25rem;
  color: #64748b;
}
.lx-facts dd {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.25rem;
  color: #0f172a;
}
.lx-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 12px;
}
.lx-fund {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.lx-fund__name {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #0f172a;
}
.lx-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 12px;
}
.lx-bcol {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
}
.lx-bcol__head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.lx-bcol__count {
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.lx-bcards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lx-bcard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
}
.lx-bcard__name {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #0f172a;
}
.lx-bcard__amount {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.lx-bcard__sub {
  align-self: center;
  font-size: 0.8125rem;
  line-height: 1.1875rem;
  color: #64748b;
}
.lx-demo .lx-bcard__btn {
  min-height: 32px;
  padding: 0 10px;
}
.lx-agenda {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr));
  gap: 12px;
}
.lx-agenda__col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lx-slots {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lx-slot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
}
.lx-slot--open {
  gap: 6px;
  border: 1px dashed #d55e00;
}
.lx-slot--open .lx-fakebtn {
  min-height: 36px;
}
.lx-slot__who {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #0f172a;
}
.lx-slot__what {
  font-size: 0.8125rem;
  line-height: 1.1875rem;
  color: #475569;
}
.lx-slot .lx-chip {
  margin-top: 4px;
}
.lx-week {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.lx-day {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  background: #f8fafc;
}
.lx-day.is-today {
  background: #eff6ff;
}
.lx-day.is-today .lx-label {
  color: #0f172a;
}
.lx-day ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lx-class {
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
}
.lx-class__name {
  font-size: 0.8125rem;
  line-height: 1.1875rem;
  color: #0f172a;
}
.lx-threads {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  min-height: 300px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}
.lx-convs {
  border-right: 1px solid #eef2f6;
  background: #fbfcfd;
}
.lx-conv {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid #eef2f6;
  background: none;
  color: inherit;
  text-align: left;
}
.lx-conv:hover {
  background: #f1f5f9;
}
.lx-conv[aria-current="true"] {
  background: #ffffff;
  box-shadow: inset 3px 0 0 #2563eb;
}
.lx-conv:focus-visible {
  outline-offset: -2px;
}
.lx-conv__who {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #0f172a;
}
.lx-conv__preview {
  font-size: 0.8125rem;
  line-height: 1.1875rem;
  color: #64748b;
}
.lx-conv__wait {
  margin-top: 4px;
}
.lx-thread {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
}
.lx-msgs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lx-msg {
  max-width: 85%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.3125rem;
  color: #0f172a;
}
.lx-msg--in {
  align-self: flex-start;
  background: #f1f5f9;
}
.lx-msg--out {
  align-self: flex-end;
  background: #eff6ff;
}
.lx-suggest {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.lx-suggest p {
  font-size: 0.875rem;
  line-height: 1.3125rem;
  color: #0f172a;
}
.lx-history {
  display: flex;
  flex-direction: column;
}
.lx-history li {
  display: grid;
  grid-template-columns: 44px minmax(90px, 150px) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
}
.lx-history li + li {
  border-top: 1px solid #f1f5f9;
}
.lx-history__who {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #0f172a;
}
.lx-rules {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}
.lx-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 8px 14px;
}
.lx-rule + .lx-rule {
  border-top: 1px solid #eef2f6;
}
.lx-rule__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #0f172a;
}
.lx-rule__state {
  flex-shrink: 0;
  min-width: 78px;
  text-align: right;
  font-size: 0.8125rem;
  color: #475569;
}
.lx-switch {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #64748b;
}
.lx-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
}
.lx-switch[aria-checked="true"] {
  background: #2563eb;
}
.lx-switch[aria-checked="true"]::after {
  transform: translateX(18px);
}

/* The small screens inside the three steps. All of a step's screens share one cell, so nothing jumps. */
.lx-procs {
  flex: 1 1 auto;
  display: grid;
}
.lx-proc {
  grid-area: 1 / 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03), 0 12px 24px -16px rgba(15, 23, 42, 0.16);
  visibility: hidden;
}
.lx-proc.is-active {
  visibility: inherit;
}
.lx-proc [hidden] {
  display: none !important;
}
.lx-proc button {
  font: inherit;
  cursor: pointer;
}
.lx-proc button:disabled {
  cursor: default;
}
.lx-proc .lx-fakebtn {
  min-height: 36px;
  font-size: 0.8125rem;
}
.lx-proc .lx-fakebtn:hover {
  background: #f8fafc;
}
.lx-proc .lx-fakebtn--dark:not(.is-done):hover {
  background: #1e293b;
}
.lx-proc__top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border-bottom: 1px solid #eef2f6;
}
.lx-proc__org {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0f172a;
}
.lx-proc__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
}
.lx-proc__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0f172a;
}
.lx-proc__accent {
  color: #2563eb;
}
.lx-proc__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lx-proc__sources .lx-chip {
  gap: 5px;
}
.lx-proc__facts {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lx-proc__facts li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.lx-proc__facts .lx-stat__value {
  font-size: 1rem;
  line-height: 1.5rem;
}
.lx-proc__facts--two {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2px 18px;
}
.lx-proc__doubt {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff7f1;
}
.lx-proc__doubt .lx-label {
  color: #475569;
}
.lx-proc__doubt p {
  font-size: 0.8125rem;
  line-height: 1.25rem;
  color: #0f172a;
}
.lx-proc__answers {
  display: flex;
  gap: 8px;
}
.lx-proc__noted {
  font-weight: 500;
}
.lx-proc__foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.lx-proc__ask {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
}
/* The box under each small screen, for what isn't right: typed, or as a voice note. */
.lx-proc__talk {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid #eef2f6;
}
.lx-proc__said {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lx-proc__said .lx-msg {
  padding: 7px 10px;
  font-size: 0.8125rem;
  line-height: 1.25rem;
  overflow-wrap: anywhere;
}
.lx-proc__note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 2px;
  font-size: 0.75rem;
  line-height: 1.125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: #475569;
}
.lx-proc__note svg {
  flex: none;
  margin-top: 2px;
}
/* All of a step's screens share one cell: what's said in a hidden one can't make the one on screen taller. */
.lx-proc:not(.is-active) .lx-proc__said {
  display: none;
}
.lx-proc__field {
  position: relative;
  display: flex;
  align-items: center;
}
.lx-proc__field input {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  padding: 0 44px 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
  font-size: 0.875rem;
  text-overflow: ellipsis;
}
.lx-proc__field input::placeholder {
  color: #64748b;
  opacity: 1;
}
.lx-proc button.lx-proc__tell {
  position: absolute;
  right: 3px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: #2563eb;
}
.lx-proc__tell svg + svg,
.lx-proc__tell.is-on svg:first-child {
  display: none;
}
.lx-proc__tell.is-on svg + svg {
  display: block;
}
@media (hover: hover) {
  .lx-proc button.lx-proc__tell:not(:disabled):not([aria-disabled="true"]):hover {
    background: #eff6ff;
  }
}
@media (pointer: coarse) {
  /* 16 px keeps an iPhone from zooming in on the box; the question doesn't need them. */
  .lx-proc__field input {
    min-height: 44px;
    font-size: 1rem;
  }
  .lx-proc__field input::placeholder {
    font-size: 0.875rem;
  }
  .lx-proc button.lx-proc__tell {
    right: 0;
    width: 44px;
    height: 44px;
  }
}
.lx-proc__tools,
.lx-proc__tasks {
  display: flex;
  flex-direction: column;
}
.lx-proc__tools li,
.lx-proc__tasks li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.lx-proc__tools li + li,
.lx-proc__tasks li + li {
  border-top: 1px solid #f1f5f9;
}
.lx-proc [data-needs-on][aria-disabled="true"]:not(.is-done) {
  opacity: 0.5;
  cursor: default;
}
.lx-proc__week {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lx-proc .lx-ran__row {
  padding: 6px 0;
}
.lx-proc .lx-draft {
  flex: 0 0 auto;
}
/* What Lexama built, inside the preview: the page a customer would open, or a board, on its own white sheet. It's a
   picture, so nothing in it reacts, and its buttons don't look like the demo's own. */
.lx-built {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lx-mini {
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
}
.lx-mini__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.lx-mini__org {
  font-size: 0.8125rem;
  line-height: 1.1875rem;
  font-weight: 600;
  color: #0f172a;
}
.lx-mini__title {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: #0f172a;
}
.lx-mini__who {
  font-size: 0.8125rem;
  line-height: 1.1875rem;
  color: #475569;
}
.lx-mini__amount {
  margin-top: 4px;
  font-size: 1.25rem;
  line-height: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.lx-mini__slots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.lx-mini__slots .lx-chip {
  font-variant-numeric: tabular-nums;
}
.lx-mini__pay {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.lx-mini__btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 500;
}
.lx-mini__btn--main {
  border-color: #cbd5e1;
  background: #f1f5f9;
  color: #0f172a;
}
.lx-mini .lx-meters {
  margin-top: 10px;
  gap: 10px;
}

/* Under this width the menu goes above the screen, and only the open screen takes up room. */
@media (max-width: 880px) {
  .lx-procs {
    display: block;
  }
  .lx-proc {
    display: none;
  }
  .lx-proc.is-active {
    display: flex;
  }
  .lx-kitsel__stop {
    display: none;
  }
  .lx-previews {
    display: block;
  }
  .lx-previews__panel {
    display: none;
  }
  .lx-previews__panel.is-active {
    display: block;
  }
  .lx-demo .lx-side {
    flex: 1 1 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2px 4px;
    padding: 8px 10px;
    border-right: 0;
    border-bottom: 1px solid #eef2f6;
  }
  .lx-demo .lx-side__item {
    width: auto;
    min-height: 44px;
    padding: 0 10px;
  }
  .lx-demo .lx-side__item svg {
    display: none;
  }
  .lx-screens {
    display: block;
  }
  .lx-screen {
    display: none;
  }
  .lx-screen.is-active {
    display: flex;
  }
  .lx-week {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .lx-threads {
    grid-template-columns: 1fr;
  }
  .lx-convs {
    border-right: 0;
    border-bottom: 1px solid #eef2f6;
  }
  .lx-row__sum {
    grid-template-columns: minmax(0, 1fr) auto 16px;
  }
  .lx-row__sum .lx-chip {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
  }
  .lx-row__val {
    grid-column: 2;
    grid-row: 1;
  }
  .lx-row__chev {
    grid-column: 3;
    grid-row: 1;
  }
  .lx-rule {
    flex-wrap: wrap;
  }
  .lx-rule__text {
    flex-basis: 100%;
  }
  .lx-rule__state {
    min-width: 0;
    margin-left: auto;
  }
  .lx-history li {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .lx-history .lx-ran__text {
    grid-column: 2;
  }
  .lx-facts div {
    grid-template-columns: 110px minmax(0, 1fr);
  }
}

/* Shared section heads */
.lx-eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}
.lx-h2 {
  font-size: clamp(2.125rem, 4.4vw, 3.25rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #0f172a;
}

/* Three loops */
.lx-how {
  padding: clamp(88px, 10vw, 136px) 0;
}
.lx-how__in {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.lx-how__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* After the three steps, the next one: what was just seen, and the button beside it. */
.lx-how__next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 48px;
  padding: 28px 32px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}
.lx-how__said {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lx-how__seen {
  font-size: 1.625rem;
  line-height: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
  text-wrap: balance;
}
.lx-how__now {
  font-size: 1.0625rem;
  line-height: 1.625rem;
  color: #475569;
  text-wrap: pretty;
}
.lx-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  row-gap: 48px;
}
.lx-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 8px clamp(0px, 2.4vw, 32px);
  border-left: 1px solid #e2e8f0;
}
.lx-col:first-child {
  padding-left: 0;
  border-left: none;
}
.lx-col__knot {
  height: 104px;
  display: flex;
  align-items: center;
}
.lx-col__knot svg {
  display: block;
  overflow: visible;
}
.lx-col__name {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.lx-col__num {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #2563eb;
}
.lx-col__name h3 {
  font-size: 1.625rem;
  line-height: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.lx-col__body {
  font-size: 1rem;
  line-height: 1.625rem;
  color: #475569;
  text-wrap: pretty;
}
.lx-col__see {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Kits */
.lx-kits {
  padding: clamp(88px, 10vw, 128px) 0;
  background: #f8fafc;
  border-top: 1px solid #eef2f6;
  border-bottom: 1px solid #eef2f6;
}
.lx-kits__in {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.lx-kits__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lx-kits__head .lx-h2 {
  text-wrap: balance;
}
/* In em, so the line keeps under 80 characters at the text's smaller size too. */
.lx-kits__head .lx-lead {
  max-width: 34em;
  text-wrap: pretty;
}
/* Flex, not the mockup's grid: at any width the last row fills up, with no gray blocks. */
.lx-kitgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: #e2e8f0;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
}
.lx-kit {
  box-sizing: border-box;
  flex: 1 1 200px;
  background: #ffffff;
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lx-kit h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0f172a;
}
.lx-kit p {
  font-size: 0.9375rem;
  line-height: 1.4375rem;
  color: #475569;
}
/* The whole card takes you to its example. */
.lx-kit:has(.lx-kit__see) {
  position: relative;
}
.lx-kit:has(.lx-kit__see:hover) {
  background: #f8fafc;
}
.lx-kit__see {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
.lx-kit__see::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* Principles */
.lx-principles {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 10vw, 128px) 0;
  background: #080d1a;
}
.lx-principles__mark {
  position: absolute;
  right: -120px;
  top: -80px;
  width: 560px;
  height: auto;
  opacity: 0.07;
  pointer-events: none;
}
.lx-principles__in {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.lx-principles__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lx-principles .lx-eyebrow {
  color: #60a5fa;
}
.lx-principles .lx-h2 {
  color: #f8fafc;
}
.lx-prgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 40px;
}
.lx-pr {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid #1a2d4a;
}
.lx-pr h3 {
  font-size: 1.1875rem;
  line-height: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #f1f5f9;
}
.lx-pr p {
  font-size: 1rem;
  line-height: 1.625rem;
  color: #94a3b8;
}

/* Contact */
.lx-contact {
  padding: clamp(96px, 11vw, 152px) 0;
}
.lx-contact__in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.lx-contact__mark {
  width: 88px;
  height: 88px;
}
.lx-contact__title {
  max-width: 820px;
  font-size: clamp(2.25rem, 5.2vw, 4rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #0f172a;
  text-wrap: balance;
}
.lx-contact__lead {
  max-width: 560px;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: #475569;
  text-wrap: pretty;
}
.lx-contact__act {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.lx-contact__alt {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.8125rem;
  color: #64748b;
}
.lx-contact__alt a {
  color: inherit;
}
.lx-contact__alt a:hover {
  color: #0f172a;
}

/* Footer */
.lx-footer {
  border-top: 1px solid #eef2f6;
}
/* Like most references: the brand and short columns on top, then a bar with the copyright and one
   language menu. Legal links go in the bar, beside the copyright, once those pages exist. */
.lx-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px 64px;
  padding-top: 48px;
}
.lx-footer__sign {
  display: block;
  height: 20px;
  width: auto;
}
.lx-footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 80px;
}
.lx-footer__col h2 {
  margin: 0 0 6px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: #0f172a;
}
.lx-footer__col a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #64748b;
  font-size: 0.875rem;
  text-decoration: none;
}
.lx-footer__col a:hover {
  color: #0f172a;
}
.lx-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  margin-top: 40px;
  padding-block: 12px;
  border-top: 1px solid #eef2f6;
}
.lx-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 20px;
}
.lx-footer__rights {
  font-size: 0.875rem;
  color: #64748b;
}
.lx-footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #64748b;
  font-size: 0.875rem;
  text-decoration: none;
}
.lx-footer__legal a:hover {
  color: #0f172a;
}
.lx-langs--up summary {
  color: #64748b;
  font-weight: 400;
}
.lx-langs--up .lx-langs__list {
  top: auto;
  bottom: calc(100% + 6px);
}

/* Legal pages: one comfortable column. */
.lx-legal > * {
  max-width: 720px;
}
.lx-legal {
  padding-block: clamp(48px, 7vw, 88px);
}
.lx-legal h1 {
  margin: 0 0 12px;
  font-size: clamp(2.125rem, 4.4vw, 3.25rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #0f172a;
}
.lx-legal h2 {
  margin: 40px 0 12px;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0f172a;
}
.lx-legal p,
.lx-legal li {
  font-size: 1rem;
  line-height: 1.625rem;
  color: #475569;
}
.lx-legal p {
  margin: 0 0 14px;
}
.lx-legal ul {
  margin: 0 0 14px;
  padding-left: 20px;
  list-style: disc;
}
.lx-legal li {
  margin-bottom: 8px;
}
.lx-legal strong {
  font-weight: 600;
  color: #0f172a;
}
/* Only a draft shows these; a normal build refuses blanks. Vermilion means "needs review". */
.lx-todo {
  padding: 0 4px;
  border: 1px solid #d55e00;
  border-radius: 4px;
  background: none;
  color: #0f172a;
}
.lx-legal__draft {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid #d55e00;
  border-radius: 6px;
  color: #0f172a;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* 404 */
.lx-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
}
.lx-404__block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.lx-404__block h1 {
  font-size: clamp(2.125rem, 4.4vw, 3.25rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.lx-404__block p {
  font-size: 1.0625rem;
  line-height: 1.6875rem;
  color: #475569;
}
.lx-404 .lx-btn {
  margin-top: 8px;
}

/* Where the mockup's layout breaks. Everything below is a fix, not a redesign. */
@media (min-width: 1100px) {
  .lx-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lx-col:last-child {
    padding-right: 0;
  }
  /* The three cards share rows, so their titles, texts and labels line up. */
  @supports (grid-template-rows: subgrid) {
    .lx-cols {
      grid-template-rows: repeat(4, auto);
      row-gap: 0;
    }
    .lx-col {
      display: grid;
      grid-row: span 4;
      grid-template-rows: subgrid;
      row-gap: 18px;
    }
    .lx-col__see {
      margin-top: 0;
    }
      }
}
@media (max-width: 1099px) {
  .lx-cols {
    grid-template-columns: 1fr;
  }
  .lx-col {
    padding-inline: 0;
    border-left: none;
  }
  .lx-col__body,
  }
/* On a phone the knot goes beside the step's name, and the week's summary stays out to keep the page short. */
@media (max-width: 639px) {
  .lx-col {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    row-gap: 12px;
  }
  .lx-col__knot {
    height: auto;
  }
  .lx-col__knot svg {
    display: block;
    width: 56px;
    height: auto;
  }
  .lx-col__body,
  .lx-col__see {
    grid-column: 1 / -1;
  }
  .lx-proc__week {
    display: none;
  }
  .lx-how__next {
    padding: 22px 20px;
  }
  .lx-how__seen {
    font-size: 1.375rem;
    line-height: 1.75rem;
  }
  .lx-how__now {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}
@media (min-width: 640px) and (max-width: 1099px) {
  .lx-col {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 32px;
    row-gap: 12px;
  }
  .lx-col__knot {
    grid-row: 1 / span 3;
  }
  .lx-col__see {
    margin-top: 6px;
  }
}
@media (min-width: 860px) and (max-width: 1099px) {
  .lx-kit {
    flex-basis: 260px;
  }
}
@media (max-width: 1023px) {
  .lx-prgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
}
@media (max-width: 899px) {
  .lx-prgrid {
    grid-template-columns: 1fr;
  }
  .lx-pr p {
    max-width: 640px;
  }
}
@media (max-width: 880px) {
  .lx-side {
    display: none;
  }
}
/* Under this width the section links don't fit beside the button; the footer still has them. */
@media (max-width: 920px) {
  .lx-navlinks {
    display: none;
  }
}
/* The same button sits in the hero, in the first screen. */
@media (max-width: 600px) {
  .lx-nav .lx-btn {
    display: none;
  }
}
.lx-prev-name,
.lx-prev-crumb {
  white-space: nowrap;
}
/* On a phone the logo would outweigh the business's name, so only the knot stays. */
@media (max-width: 600px) {
  .lx-prev-logo {
    display: none;
  }
  .lx-prev-mark {
    display: block;
  }
}
/* On a phone the open screen is already marked in the menu, and a long name can take two lines. */
@media (max-width: 480px) {
  .lx-prev-crumb {
    display: none;
  }
  .lx-prev-org {
    min-width: 0;
  }
  .lx-prev-name {
    white-space: normal;
    line-height: 1.25rem;
  }
}
@media (max-width: 344px) {
  html[lang="en"] .lx-h1 {
    font-size: 2.6875rem;
  }
}
/* The longest title lines scale down on a phone, to stay on one line each. */
@media (max-width: 400px) {
  html[lang="fr"] .lx-h1 {
    font-size: calc((100vw - 40px) / 7.5);
  }
  html[lang="it"] .lx-h1,
  html[lang="de"] .lx-h1 {
    font-size: calc((100vw - 40px) / 7.1);
  }
}
html[lang="de"] .lx-col__body,
html[lang="de"] .lx-kit p,
html[lang="de"] .lx-kit h3,
html[lang="de"] .lx-waiting__detail,
html[lang="de"] .lx-waiting__title,
html[lang="de"] .lx-stat__label,
html[lang="de"] .lx-row__name,
html[lang="de"] .lx-row__sub,
html[lang="de"] .lx-facts dt,
html[lang="de"] .lx-facts dd,
html[lang="de"] .lx-bcard__sub,
html[lang="de"] .lx-slot__what,
html[lang="de"] .lx-class__name,
html[lang="de"] .lx-rule__text,
html[lang="de"] .lx-ran__text,
html[lang="de"] .lx-proc__title,
html[lang="de"] .lx-pays__who,
html[lang="de"] .lx-pays__how,
html[lang="de"] .lx-proc__doubt p,
html[lang="de"] .lx-proc__said .lx-msg {
  hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
  -webkit-hyphenate-limit-before: 4;
  -webkit-hyphenate-limit-after: 4;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .lx-previews__panel {
    transition: opacity 0.35s ease, visibility 0.35s;
  }
  .lx-btn {
    transition: background-color 0.15s ease;
  }
  .lx-more svg {
    transition: transform 0.15s ease;
  }
  .lx-more:hover svg {
    transform: translateX(3px);
  }
  .lx-proc__tell.is-on svg + svg {
    animation: lx-sample 0.7s ease-in-out infinite alternate;
  }
}

@keyframes lx-sample {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes lxdraw{from{stroke-dasharray:0 1}to{stroke-dasharray:1 0}}
@keyframes lxo0{0%,37.232%{stroke-dasharray:0 1;stroke-opacity:0}37.242%{stroke-opacity:1}41.903%,100%{stroke-dasharray:1 0;stroke-opacity:1}}
@keyframes lxo1{0%,51.870%{stroke-dasharray:0 1;stroke-opacity:0}51.880%{stroke-opacity:1}60.016%,100%{stroke-dasharray:1 0;stroke-opacity:1}}
@keyframes lxo2{0%,14.680%{stroke-dasharray:0 1;stroke-opacity:0}14.690%{stroke-opacity:1}26.517%,100%{stroke-dasharray:1 0;stroke-opacity:1}}
@media (prefers-reduced-motion: no-preference){
.lx-hk-main{animation:lxdraw 3s cubic-bezier(0.5,0.02,0.3,1) 0.1s both}
.lx-hk-o0{animation:lxo0 3s linear 0.1s both}
.lx-hk-o1{animation:lxo1 3s linear 0.1s both}
.lx-hk-o2{animation:lxo2 3s linear 0.1s both}
}
