/* Hisan Lab — interactive landing page */

.lx-page {
  --lx-bg: var(--ua-paper, #efe9de);
  --lx-ink: var(--ua-ink, #14251f);
  --lx-muted: var(--ua-muted, #53615a);
  --lx-line: var(--ua-line, rgba(20, 37, 31, .16));
  --lx-surface: #f8f4ec;
  --lx-surface-2: #e6dfd1;
  --lx-accent: #ad4022;
  --lx-green: #17382d;
  --lx-green-2: #20483a;
  --lx-orange: #d9522d;
  --lx-terracotta: #b84224;
  --lx-lime: #dfff63;
  --lx-on-lime: #17382d;
  --lx-cream: #fbf7ef;
  --lx-grid: rgba(20, 37, 31, .06);
  --lx-shadow: 0 28px 60px -32px rgba(20, 37, 31, .42);
  --lx-shadow-soft: 0 14px 34px -22px rgba(20, 37, 31, .38);
  --lx-glow-lime: rgba(214, 245, 80, .38);
  --lx-glow-orange: rgba(217, 82, 45, .16);
  --lx-display: "DM Serif Display", Georgia, serif;
  --lx-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lx-ease: cubic-bezier(.2, .8, .2, 1);
  position: relative;
  display: block;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--lx-ink);
  background: var(--lx-bg);
  font-family: var(--lx-sans);
}

html.theme-dark .lx-page {
  --lx-surface: #17211c;
  --lx-surface-2: #1d2a23;
  --lx-accent: #f47a52;
  --lx-grid: rgba(242, 239, 231, .045);
  --lx-shadow: 0 30px 70px -34px rgba(0, 0, 0, .8);
  --lx-shadow-soft: 0 16px 38px -24px rgba(0, 0, 0, .75);
  --lx-glow-lime: rgba(223, 255, 99, .16);
  --lx-glow-orange: rgba(244, 122, 82, .15);
}

.lx-page *,
.lx-page *::before,
.lx-page *::after {
  box-sizing: border-box;
}

/* The shared interior script fades whole sections in; this page choreographs its own reveals. */
body .lx-page .interior-motion-target {
  opacity: 1;
  translate: none;
}

.lx-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.lx-i {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lx-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.lx-shell {
  width: min(calc(100% - 48px), 1180px);
  margin-inline: auto;
}

:where(.lx-page) a {
  color: inherit;
  text-decoration: none;
}

.lx-page button {
  font-family: inherit;
}

.lx-page :focus-visible {
  outline: 3px solid var(--lx-accent);
  outline-offset: 3px;
}

/* Reveal choreography (enabled by lab-redesign.js) */
.lx-page [data-lx-reveal] {
  transition: opacity .75s var(--lx-ease), transform .75s var(--lx-ease);
  transition-delay: var(--lx-delay, 0ms);
}

.lx-page.lx-js [data-lx-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(28px);
}

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

.lx-hero {
  position: relative;
  z-index: 2;
  isolation: isolate;
  padding: 26px 0 72px;
}

.lx-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(var(--lx-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--lx-grid) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 68% 42%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 70% at 68% 42%, #000 20%, transparent 78%);
}

.lx-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.lx-glow {
  position: absolute;
  border-radius: 50%;
}

.lx-glow-a {
  top: -220px;
  right: -140px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, var(--lx-glow-lime), transparent 64%);
}

.lx-glow-b {
  bottom: -320px;
  left: -260px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, var(--lx-glow-orange), transparent 62%);
}

.lx-hero-grid > * {
  min-width: 0;
}

.lx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.lx-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--lx-muted);
  font: 700 12px/1 var(--lx-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lx-breadcrumb a:hover {
  color: var(--lx-ink);
}

.lx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 8px 15px 8px 12px;
  border: 1px solid var(--lx-line);
  border-radius: 999px;
  color: var(--lx-ink);
  background: color-mix(in srgb, var(--lx-surface) 72%, transparent);
  font: 700 13px/1 var(--lx-sans);
  letter-spacing: .01em;
}

.lx-ping {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7fbf2a;
}

html.theme-dark .lx-ping {
  background: var(--lx-lime);
}

.lx-ping::after {
  position: absolute;
  inset: -4px;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: #7fbf2a;
  content: "";
  animation: lx-ping 2.2s var(--lx-ease) infinite;
}

html.theme-dark .lx-ping::after {
  color: var(--lx-lime);
}

@keyframes lx-ping {
  0% { opacity: .75; transform: scale(.6); }
  80%, 100% { opacity: 0; transform: scale(1.9); }
}

.lx-hero h1 {
  max-width: 640px;
  margin: 0;
  color: var(--lx-ink);
  font: 400 clamp(3.25rem, 6vw, 5.6rem)/.93 var(--lx-display);
  letter-spacing: -.045em;
}

.lx-hero h1 em {
  display: block;
  color: var(--lx-accent);
  font-style: italic;
}

.lx-scribble {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.lx-scribble svg {
  position: absolute;
  left: -2%;
  bottom: -.1em;
  width: 104%;
  height: .28em;
  overflow: visible;
  fill: none;
  stroke: #9bc41f;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: lx-draw 1.1s .45s var(--lx-ease) forwards;
}

html.theme-dark .lx-scribble svg {
  stroke: var(--lx-lime);
}

@keyframes lx-draw {
  to { stroke-dashoffset: 0; }
}

.lx-lede {
  max-width: 540px;
  margin: 26px 0 0;
  color: var(--lx-muted);
  font: 500 clamp(1rem, 1.3vw, 1.125rem)/1.65 var(--lx-sans);
}

/* Search */

.lx-search {
  position: relative;
  z-index: 20;
  max-width: 560px;
  margin-top: 30px;
}

.lx-search-field {
  display: flex;
  height: 62px;
  align-items: center;
  gap: 12px;
  padding: 0 12px 0 20px;
  border: 1px solid var(--lx-line);
  border-radius: 18px;
  color: var(--lx-muted);
  background: var(--lx-surface);
  box-shadow: var(--lx-shadow-soft);
  cursor: text;
  transition: border-color .2s, box-shadow .2s;
}

.lx-search-field:focus-within {
  border-color: color-mix(in srgb, var(--lx-accent) 65%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lx-accent) 16%, transparent), var(--lx-shadow-soft);
}

.lx-search-field input {
  width: 100%;
  min-width: 0;
  height: 100%;
  flex: 1;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--lx-ink);
  background: transparent;
  font: 600 16px/1 var(--lx-sans);
  -webkit-appearance: none;
  appearance: none;
}

.lx-search-field input:focus-visible {
  outline: none;
}

.lx-search-field input::placeholder {
  color: var(--lx-muted);
  opacity: .82;
}

.lx-search-field input::-webkit-search-cancel-button {
  cursor: pointer;
}

.lx-page kbd,
.lx-kbd {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  padding: 0 6px;
  border: 1px solid var(--lx-line);
  border-bottom-width: 2px;
  border-radius: 7px;
  color: var(--lx-muted);
  background: var(--lx-bg);
  font: 700 12px/1 var(--lx-sans);
}

.lx-search-field .lx-kbd {
  flex: 0 0 auto;
  margin-right: 6px;
}

.lx-search-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  padding: 8px;
  border: 1px solid var(--lx-line);
  border-radius: 20px;
  background: var(--lx-surface);
  box-shadow: 0 40px 80px -30px rgba(10, 20, 16, .5);
  animation: lx-pop .18s var(--lx-ease);
}

@keyframes lx-pop {
  from { opacity: 0; transform: translateY(-6px) scale(.985); }
}

.lx-search-label {
  margin: 8px 12px 8px;
  color: var(--lx-muted);
  font: 800 11px/1 var(--lx-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lx-search-results {
  display: grid;
  gap: 2px;
  max-height: min(56vh, 420px);
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.lx-search-results a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 9px 12px 9px 9px;
  border-radius: 13px;
  color: var(--lx-ink);
}

.lx-search-results [aria-selected="true"] a {
  background: color-mix(in srgb, var(--lx-ink) 7%, transparent);
}

.lx-search-results .lx-result-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 11px;
  color: var(--lx-on-lime);
  background: var(--tone, var(--lx-lime));
}

.lx-search-results b {
  display: block;
  overflow: hidden;
  font: 700 15px/1.25 var(--lx-sans);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lx-search-results small {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--lx-muted);
  font: 500 13px/1.3 var(--lx-sans);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lx-search-results mark {
  color: var(--lx-accent);
  background: none;
}

.lx-search-results em {
  color: var(--lx-muted);
  font: 700 11px/1 var(--lx-sans);
  font-style: normal;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lx-search-empty {
  padding: 14px 12px 12px;
  color: var(--lx-muted);
  font: 500 14px/1.55 var(--lx-sans);
}

.lx-search-empty b {
  color: var(--lx-ink);
}

.lx-page .lx-search-empty a {
  color: var(--lx-accent);
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.lx-search-foot {
  display: flex;
  gap: 16px;
  margin: 6px 0 0;
  padding: 10px 12px 4px;
  border-top: 1px solid var(--lx-line);
  color: var(--lx-muted);
  font: 600 12px/1 var(--lx-sans);
}

.lx-search-foot span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lx-search-foot kbd {
  min-width: 20px;
  height: 20px;
  font-size: 11px;
}

/* Quick actions */

.lx-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.lx-quick > a,
.lx-dice {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--lx-line);
  border-radius: 999px;
  color: var(--lx-ink);
  background: color-mix(in srgb, var(--lx-surface) 60%, transparent);
  font: 700 14px/1 var(--lx-sans);
  cursor: pointer;
  transition: transform .2s var(--lx-ease), border-color .2s, background-color .2s;
}

.lx-quick > a:hover {
  border-color: color-mix(in srgb, var(--lx-ink) 40%, transparent);
  transform: translateY(-2px);
}

.lx-dice {
  border-color: transparent;
  color: var(--lx-on-lime);
  background: var(--lx-lime);
  box-shadow: 0 10px 24px -14px rgba(120, 150, 20, .8);
}

.lx-dice:hover {
  transform: translateY(-2px) rotate(-1.5deg);
}

.lx-dice.is-rolling .lx-i {
  animation: lx-spin .5s linear infinite;
}

@keyframes lx-spin {
  to { transform: rotate(360deg); }
}

.lx-surprise:empty {
  display: none;
}

.lx-surprise {
  max-width: 560px;
  margin-top: 12px;
}

.lx-surprise-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px 10px 10px 10px;
  border: 1px dashed color-mix(in srgb, var(--lx-accent) 55%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--lx-surface) 85%, transparent);
  animation: lx-pop .25s var(--lx-ease);
}

.lx-surprise-card .lx-result-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  color: var(--lx-on-lime);
  background: var(--tone, var(--lx-lime));
}

.lx-surprise-card b {
  display: block;
  font: 400 22px/1.05 var(--lx-display);
  letter-spacing: -.01em;
}

.lx-surprise-card small {
  display: block;
  margin-top: 4px;
  color: var(--lx-muted);
  font: 500 13px/1.35 var(--lx-sans);
}

.lx-surprise-card.is-rolling b {
  opacity: .7;
}

.lx-surprise-card .lx-go {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--lx-bg);
  background: var(--lx-ink);
  font: 800 13px/1 var(--lx-sans);
  white-space: nowrap;
}

.lx-surprise-card.is-rolling .lx-go {
  visibility: hidden;
}

/* Stats */

.lx-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 38px;
  max-width: 560px;
  margin: 34px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--lx-line);
}

.lx-stats div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
}

.lx-stats dd {
  margin: 0;
  color: var(--lx-ink);
  font: 400 34px/1 var(--lx-display);
  letter-spacing: -.03em;
}

.lx-stats dt {
  color: var(--lx-muted);
  font: 700 11px/1.2 var(--lx-sans);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Specimen: interactive cube */

.lx-specimen {
  position: relative;
  width: 100%;
  max-width: 560px;
  justify-self: end;
}

.lx-specimen-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font: 700 12px/1 var(--lx-sans);
}

.lx-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--lx-line);
  border-radius: 999px;
  color: var(--lx-ink);
  background: color-mix(in srgb, var(--lx-surface) 70%, transparent);
  letter-spacing: .02em;
}

.lx-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lx-orange);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lx-orange) 22%, transparent);
}

.lx-hint {
  color: var(--lx-muted);
  letter-spacing: .02em;
  transition: opacity .3s;
}

.lx-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1120 / 1000;
}

.lx-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.lx-rings ellipse {
  fill: none;
  stroke: color-mix(in srgb, var(--lx-ink) 20%, transparent);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.lx-rings .is-dashed {
  stroke-dasharray: 3 9;
}

.lx-nodes {
  position: absolute;
  inset: 0;
}

.lx-node {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  place-items: center;
  border: 1px solid var(--lx-line);
  border-radius: 50%;
  color: var(--lx-ink);
  background: var(--lx-surface);
  box-shadow: var(--lx-shadow-soft);
  will-change: transform;
  transition: background-color .2s, color .2s;
}

.lx-node .lx-i {
  width: 21px;
  height: 21px;
}

.lx-node::after {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  padding: 6px 9px;
  border-radius: 8px;
  color: var(--lx-bg);
  background: var(--lx-ink);
  content: attr(data-label);
  font: 700 12px/1 var(--lx-sans);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity .2s, transform .2s;
}

.lx-node:hover {
  color: var(--lx-on-lime);
  background: var(--lx-lime);
}

.lx-node:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.lx-node.is-front {
  z-index: 3;
}

.lx-cube-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  outline: none;
  cursor: grab;
  touch-action: pan-y;
  transform: translate(-50%, -50%);
  perspective: 1100px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.lx-cube-stage.is-dragging {
  cursor: grabbing;
}

.lx-cube-stage:focus-visible {
  box-shadow: 0 0 0 3px var(--lx-accent);
}

.lx-cube-stage::after {
  position: absolute;
  inset: 8%;
  border: 2px solid var(--lx-lime);
  border-radius: 50%;
  content: "";
  opacity: 0;
  pointer-events: none;
}

.lx-cube-stage.is-solved::after {
  animation: lx-solved 1.1s var(--lx-ease);
}

@keyframes lx-solved {
  0% { opacity: .9; transform: scale(.7); }
  100% { opacity: 0; transform: scale(1.25); }
}

.lx-cube {
  --cubie: clamp(40px, 5.2vw, 62px);
  --step: calc(var(--cubie) * 1.05);
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transform: rotateX(-26deg) rotateY(-38deg);
}

.lx-cubie {
  position: absolute;
  top: calc(var(--cubie) / -2);
  left: calc(var(--cubie) / -2);
  width: var(--cubie);
  height: var(--cubie);
  transform-style: preserve-3d;
}

.lx-face {
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: #141816;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: var(--r) translateZ(calc(var(--cubie) / 2));
}

.lx-face.is-sticker::after {
  position: absolute;
  inset: 5%;
  border-radius: 16%;
  content: "";
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 46%),
    var(--c);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .14);
}

.lx-cube-shadow {
  position: absolute;
  bottom: 13%;
  left: 50%;
  z-index: 0;
  width: 40%;
  height: 7%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(10, 20, 16, .42), transparent 70%);
  filter: blur(4px);
  transform: translateX(-50%);
  pointer-events: none;
}

html.theme-dark .lx-cube-shadow {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .8), transparent 70%);
}

.lx-cube-ui {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: -6px;
}

.lx-moves {
  display: flex;
  min-height: 26px;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 5px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
}

.lx-moves li {
  display: grid;
  min-width: 30px;
  height: 26px;
  place-items: center;
  padding: 0 7px;
  border: 1px solid var(--lx-line);
  border-radius: 8px;
  color: var(--lx-muted);
  font: 800 12px/1 var(--lx-sans);
  animation: lx-pop .2s var(--lx-ease);
}

.lx-moves li.is-current {
  border-color: var(--lx-accent);
  color: var(--lx-bg);
  background: var(--lx-accent);
}

.lx-moves li.is-past {
  opacity: .4;
}

.lx-moves li.is-note {
  border-color: transparent;
  color: var(--lx-muted);
  font-weight: 700;
  letter-spacing: .04em;
}

.lx-moves li.is-done {
  border-color: transparent;
  color: var(--lx-on-lime);
  background: var(--lx-lime);
}

.lx-cube-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--lx-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--lx-surface) 88%, transparent);
  box-shadow: var(--lx-shadow-soft);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.lx-pill {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border: 1px solid var(--lx-line);
  border-radius: 999px;
  color: var(--lx-ink);
  background: transparent;
  font: 800 14px/1 var(--lx-sans);
  cursor: pointer;
  transition: transform .18s var(--lx-ease), background-color .2s, opacity .2s, border-color .2s;
}

.lx-pill .lx-i {
  width: 17px;
  height: 17px;
}

.lx-pill:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--lx-ink) 45%, transparent);
}

.lx-pill:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.lx-pill-lime {
  border-color: transparent;
  color: var(--lx-on-lime);
  background: var(--lx-lime);
}

.lx-pill-lime:hover:not(:disabled) {
  border-color: transparent;
}

.lx-page .lx-pill-link {
  border-color: transparent;
  color: var(--lx-bg);
  background: var(--lx-ink);
}

.lx-pill-link:hover:not(:disabled) {
  border-color: transparent;
}

/* ---------- Marquee ---------- */

.lx-marquee {
  position: relative;
  z-index: 1;
  width: 104%;
  margin: 0 0 0 -2%;
  padding: 20px 0 18px;
  overflow: hidden;
  color: var(--lx-lime);
  background: var(--lx-green);
  transform: rotate(-1.4deg);
}

html.theme-dark .lx-marquee {
  color: var(--lx-green);
  background: var(--lx-lime);
}

.lx-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: lx-marquee 42s linear infinite;
}

.lx-marquee span {
  padding: 0 22px;
  font: italic 400 clamp(28px, 3.6vw, 46px)/1 var(--lx-display);
  letter-spacing: -.02em;
  white-space: nowrap;
}

.lx-marquee i {
  color: var(--lx-orange);
  font-size: clamp(16px, 2vw, 24px);
  font-style: normal;
}

html.theme-dark .lx-marquee i {
  color: var(--lx-terracotta);
}

@keyframes lx-marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Section heads ---------- */

.lx-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 24px 56px;
  align-items: end;
  margin-bottom: 40px;
}

.lx-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--lx-accent);
  font: 800 12px/1 var(--lx-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.lx-eyebrow b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
  letter-spacing: 0;
}

.lx-head h2 {
  max-width: 720px;
  margin: 0;
  color: var(--lx-ink);
  font: 400 clamp(2.6rem, 5.2vw, 4.5rem)/.95 var(--lx-display);
  letter-spacing: -.04em;
}

.lx-head h2 em {
  display: block;
  color: var(--lx-accent);
  font-style: italic;
}

.lx-head > p {
  max-width: 440px;
  margin: 0 0 6px;
  color: var(--lx-muted);
  font: 500 16px/1.65 var(--lx-sans);
}

/* ---------- Bento ---------- */

.lx-play {
  padding: clamp(84px, 10vw, 132px) 0 clamp(72px, 8vw, 110px);
}

.lx-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.lx-tile {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--lx-line);
  border-radius: 28px;
  color: var(--lx-ink);
  background: var(--lx-surface);
}

.lx-tile-canvas { grid-column: span 7; }
.lx-tile-cube { grid-column: span 5; }
.lx-tile-react { grid-column: span 5; }
.lx-tile-growth { grid-column: span 7; }

.lx-tile-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  align-items: flex-end;
}

.lx-tile-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--lx-accent);
  font: 800 12px/1 var(--lx-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lx-tile-kicker .lx-i {
  width: 17px;
  height: 17px;
}

.lx-tile h3 {
  margin: 0;
  color: inherit;
  font: 400 clamp(2rem, 3vw, 2.6rem)/1 var(--lx-display);
  letter-spacing: -.03em;
}

.lx-tile h3 em {
  font-style: italic;
}

.lx-tile-copy {
  max-width: 460px;
  margin: 14px 0 0;
  color: var(--lx-muted);
  font: 500 15px/1.6 var(--lx-sans);
}

.lx-tile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font: 800 14px/1 var(--lx-sans);
  transition: gap .2s var(--lx-ease), color .2s;
}

.lx-tile-link .lx-i {
  width: 16px;
  height: 16px;
}

.lx-tile-link:hover {
  gap: 10px;
  color: var(--lx-accent);
}

.lx-tile-note {
  margin: 14px 2px 0;
  color: var(--lx-muted);
  font: 500 14px/1.5 var(--lx-sans);
}

/* Canvas tile */

.lx-tile-canvas {
  background: var(--lx-surface-2);
}

html.theme-dark .lx-tile-canvas {
  background: #1b2621;
}

.lx-paper {
  position: relative;
  min-height: 380px;
  flex: 1;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 20px;
  background-color: #fbf8f1;
  background-image: radial-gradient(rgba(23, 56, 45, .16) 1px, transparent 1.2px);
  background-size: 22px 22px;
  box-shadow: inset 0 0 0 1px rgba(20, 37, 31, .08), 0 18px 40px -26px rgba(0, 0, 0, .5);
}

.lx-paper canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  cursor: none;
  touch-action: none;
}

.lx-paper-prompt {
  position: absolute;
  top: 44%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(23, 56, 45, .45);
  font: italic 400 clamp(26px, 3vw, 34px)/1 var(--lx-display);
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity .35s, transform .35s;
}

.lx-paper-prompt .lx-i {
  width: 26px;
  height: 26px;
  stroke-width: 1.5;
}

.lx-paper.has-ink .lx-paper-prompt {
  opacity: 0;
  transform: translate(-50%, -60%);
}

.lx-brush-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 10px;
  height: 10px;
  border: 1.5px solid rgba(20, 37, 31, .75);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .8);
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s, width .15s, height .15s;
}

.lx-paper.is-hovering .lx-brush-cursor {
  opacity: 1;
}

.lx-brush-cursor.is-eraser {
  border-style: dashed;
  background: rgba(255, 255, 255, .35);
}

.lx-dock {
  position: absolute;
  bottom: 14px;
  left: 50%;
  z-index: 3;
  display: flex;
  max-width: calc(100% - 24px);
  align-items: center;
  gap: 6px;
  padding: 7px;
  overflow-x: auto;
  border-radius: 999px;
  color: #f4efe6;
  background: rgba(20, 30, 26, .92);
  box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .6);
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  scrollbar-width: none;
}

.lx-dock::-webkit-scrollbar {
  display: none;
}

.lx-dock-group {
  display: flex;
  flex: 0 0 auto;
  gap: 3px;
}

.lx-dock-sep {
  width: 1px;
  height: 22px;
  flex: 0 0 auto;
  margin: 0 2px;
  background: rgba(255, 255, 255, .16);
}

.lx-swatch,
.lx-size,
.lx-tool {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transition: background-color .15s, transform .15s, opacity .15s;
}

.lx-swatch::before {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  content: "";
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  transition: transform .15s var(--lx-ease);
}

.lx-swatch[aria-pressed="true"] {
  box-shadow: inset 0 0 0 2px #f4efe6;
}

.lx-swatch[aria-pressed="true"]::before {
  transform: scale(.82);
}

.lx-size i {
  width: var(--d);
  height: var(--d);
  border-radius: 50%;
  background: currentColor;
  opacity: .6;
}

.lx-size[aria-pressed="true"] i {
  opacity: 1;
}

.lx-size[aria-pressed="true"],
.lx-tool[aria-pressed="true"] {
  color: var(--lx-on-lime);
  background: var(--lx-lime);
}

.lx-tool .lx-i {
  width: 18px;
  height: 18px;
}

.lx-swatch:hover,
.lx-size:hover:not([aria-pressed="true"]),
.lx-tool:hover:not(:disabled):not([aria-pressed="true"]) {
  background-color: rgba(255, 255, 255, .1);
}

.lx-tool:disabled {
  cursor: default;
  opacity: .35;
}

/* Cube Studio tile */

.lx-tile-cube {
  --cube-accent: #f08a5d;
  border-color: rgba(255, 255, 255, .06);
  color: #f5f0e7;
  background:
    radial-gradient(circle at 88% 8%, rgba(217, 82, 45, .32), transparent 42%),
    #181716;
}

.lx-tile-cube .lx-tile-kicker {
  color: var(--cube-accent);
}

.lx-tile-cube h3 em {
  color: var(--cube-accent);
}

.lx-tile-cube .lx-tile-copy {
  color: #c2bbb0;
}

.lx-scan {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin: 24px 0 24px;
}

.lx-phone {
  position: relative;
  width: 132px;
  height: 236px;
  padding: 9px;
  border: 2px solid rgba(255, 255, 255, .22);
  border-radius: 28px;
  background: #0d0d0c;
  box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .9);
}

.lx-phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 2;
  width: 38px;
  height: 9px;
  border-radius: 99px;
  background: #0d0d0c;
  transform: translateX(-50%);
}

.lx-phone-screen {
  position: relative;
  display: grid;
  height: 100%;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .08), transparent 60%),
    #22201e;
}

.lx-phone-label {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  color: #d8d1c6;
  font: 700 10px/1 var(--lx-sans);
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}

.lx-scan-face {
  display: grid;
  grid-template-columns: repeat(3, 26px);
  gap: 4px;
  padding: 6px;
  border-radius: 10px;
  background: #0f0f0e;
  box-shadow: 0 0 0 2px rgba(240, 138, 93, .5), 0 0 0 7px rgba(240, 138, 93, .12);
}

.lx-scan-face i {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .1);
  transition: background-color .25s, transform .25s var(--lx-ease), box-shadow .25s;
}

.lx-scan-face i.is-locked {
  background: var(--c);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18);
  transform: scale(1.04);
}

.lx-scan-line {
  position: absolute;
  top: 26%;
  left: 12%;
  right: 12%;
  height: 2px;
  border-radius: 2px;
  background: var(--cube-accent);
  box-shadow: 0 0 14px 3px rgba(240, 138, 93, .55);
  opacity: 0;
}

.lx-scan.is-scanning .lx-scan-line {
  animation: lx-scan 1.1s ease-in-out;
}

@keyframes lx-scan {
  0% { opacity: 0; top: 30%; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; top: 70%; }
}

.lx-scan-side {
  display: grid;
  min-width: 0;
  gap: 16px;
}

.lx-net {
  display: grid;
  grid-template-columns: repeat(4, 34px);
  grid-template-rows: repeat(3, 34px);
  gap: 4px;
}

.lx-net-face {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  padding: 2px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .3s var(--lx-ease), box-shadow .3s;
}

.lx-net-face i {
  border-radius: 2px;
  background: rgba(255, 255, 255, .08);
  transition: background-color .3s;
}

.lx-net-face.is-filled {
  background: #0f0f0e;
  box-shadow: none;
  animation: lx-land .35s var(--lx-ease);
}

.lx-net-face.is-filled i {
  background: var(--c);
}

.lx-net.is-checked .lx-net-face {
  box-shadow: 0 0 0 1.5px #7ed48f;
}

@keyframes lx-land {
  from { transform: scale(1.35); }
}

.lx-net [data-face="U"] { grid-area: 1 / 2; }
.lx-net [data-face="L"] { grid-area: 2 / 1; }
.lx-net [data-face="F"] { grid-area: 2 / 2; }
.lx-net [data-face="R"] { grid-area: 2 / 3; }
.lx-net [data-face="B"] { grid-area: 2 / 4; }
.lx-net [data-face="D"] { grid-area: 3 / 2; }

.lx-scan-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: lx-step;
}

.lx-scan-steps li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 6px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: #bdb6ab;
  font: 700 12px/1 var(--lx-sans);
  counter-increment: lx-step;
  transition: background-color .3s, color .3s, border-color .3s;
}

.lx-scan-steps li::before {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  content: counter(lx-step);
  font-size: 10px;
}

.lx-scan-steps li.is-on {
  border-color: transparent;
  color: #1a1100;
  background: var(--cube-accent);
}

.lx-scan-steps li.is-on::before {
  background: rgba(0, 0, 0, .14);
}

.lx-scan-steps li.is-done {
  color: #f5f0e7;
  border-color: rgba(240, 138, 93, .5);
}

.lx-scan-note {
  min-height: 1.4em;
  margin: 0;
  color: #d8d1c6;
  font: 600 13px/1.4 var(--lx-sans);
}

.lx-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 800 15px/1 var(--lx-sans);
  transition: transform .2s var(--lx-ease), background-color .2s, border-color .2s, gap .2s var(--lx-ease);
}

.lx-btn .lx-i {
  width: 17px;
  height: 17px;
}

.lx-btn:hover {
  gap: 12px;
  transform: translateY(-2px);
}

.lx-btn-warm {
  align-self: flex-start;
  margin-top: auto;
  color: #fff8ef !important;
  background: var(--lx-terracotta);
}

.lx-btn-warm:hover {
  background: #c94d2c;
}

/* Reaction tile */

.lx-tile-react {
  gap: 18px;
}

.lx-best {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  padding: 8px 13px;
  border: 1px solid var(--lx-line);
  border-radius: 999px;
  color: var(--lx-muted);
  background: var(--lx-bg);
  font: 700 10px/1 var(--lx-sans);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lx-best b {
  color: var(--lx-ink);
  font: 800 14px/1 var(--lx-sans);
  letter-spacing: 0;
  text-transform: none;
}

.lx-react-pad {
  position: relative;
  display: flex;
  min-height: 210px;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  color: #fff8ef;
  background: linear-gradient(150deg, #c64c2b, #9c3a21);
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background .12s linear, transform .15s var(--lx-ease);
}

.lx-react-pad:active {
  transform: scale(.992);
}

.lx-react-pad::before {
  position: absolute;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  content: "";
  animation: lx-breathe 2.6s ease-in-out infinite;
}

.lx-react-big {
  position: relative;
  font: 400 clamp(2.4rem, 4vw, 3.4rem)/1 var(--lx-display);
  letter-spacing: -.03em;
}

.lx-react-small {
  position: relative;
  max-width: 300px;
  font: 600 14px/1.45 var(--lx-sans);
  text-align: center;
}

.lx-react-dots {
  display: none;
  gap: 6px;
}

.lx-react-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: lx-dot 1s ease-in-out infinite;
}

.lx-react-dots i:nth-child(2) { animation-delay: .15s; }
.lx-react-dots i:nth-child(3) { animation-delay: .3s; }

@keyframes lx-dot {
  0%, 100% { opacity: .25; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}

@keyframes lx-breathe {
  0%, 100% { opacity: .5; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.12); }
}

.lx-react-pad[data-state="wait"] {
  color: #e9f0ec;
  background: linear-gradient(150deg, #1d3a30, #11261f);
}

.lx-react-pad[data-state="wait"]::before {
  display: none;
}

.lx-react-pad[data-state="wait"] .lx-react-dots {
  display: flex;
}

.lx-react-pad[data-state="go"] {
  color: var(--lx-on-lime);
  background: var(--lx-lime);
  transition: none;
}

.lx-react-pad[data-state="go"]::before {
  border-color: rgba(23, 56, 45, .35);
  animation-duration: .6s;
}

.lx-react-pad[data-state="go"] .lx-react-big {
  font-size: clamp(3.4rem, 6vw, 4.6rem);
}

.lx-react-pad[data-state="early"],
.lx-react-pad[data-state="missed"] {
  background: linear-gradient(150deg, #5b2a22, #3a1a15);
}

.lx-react-pad[data-state="result"] .lx-react-big {
  font-size: clamp(3.2rem, 5.6vw, 4.4rem);
}

.lx-tile-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  font: 800 14px/1 var(--lx-sans);
}

.lx-tile-foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--lx-line);
  transition: border-color .2s, color .2s;
}

.lx-tile-foot a:hover {
  border-color: currentColor;
  color: var(--lx-accent);
}

.lx-tile-foot .lx-i {
  width: 16px;
  height: 16px;
}

/* Growth tile */

.lx-tile-growth {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 26px;
  align-items: stretch;
  border-color: transparent;
  color: #f4f1e8;
  background:
    radial-gradient(circle at 0% 100%, rgba(223, 255, 99, .14), transparent 45%),
    var(--lx-green);
}

html.theme-dark .lx-tile-growth {
  border-color: rgba(255, 255, 255, .06);
  background:
    radial-gradient(circle at 0% 100%, rgba(223, 255, 99, .12), transparent 45%),
    #1c4336;
}

.lx-tile-growth .lx-tile-kicker {
  color: var(--lx-lime);
}

.lx-tile-growth .lx-tile-copy {
  color: rgba(244, 241, 232, .76);
}

.lx-goals {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  counter-reset: lx-goal;
}

.lx-goals a {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 9px;
  border: 1px solid rgba(244, 241, 232, .2);
  border-radius: 15px;
  color: #f4f1e8;
  background: rgba(255, 255, 255, .035);
  font: 700 15px/1.25 var(--lx-sans);
  counter-increment: lx-goal;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--lx-ease);
}

.lx-goals a::before {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(244, 241, 232, .28);
  border-radius: 10px;
  content: counter(lx-goal, upper-alpha);
  font: 800 12px/1 var(--lx-sans);
  transition: border-color .2s, background-color .2s;
}

.lx-goals a::after {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-left: auto;
  content: "";
  background: currentColor;
  opacity: .55;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s var(--lx-ease), opacity .2s;
}

.lx-goals a:hover,
.lx-goals a:focus-visible {
  border-color: var(--lx-lime);
  color: var(--lx-on-lime);
  background: var(--lx-lime);
}

.lx-goals a:hover::before,
.lx-goals a:focus-visible::before {
  border-color: rgba(23, 56, 45, .3);
  background: rgba(23, 56, 45, .08);
}

.lx-goals a:hover::after,
.lx-goals a:focus-visible::after {
  opacity: 1;
  transform: translateX(3px);
}

.lx-goals a:focus-visible {
  outline-color: var(--lx-lime);
}

.lx-report {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: rgba(8, 20, 16, .28);
}

.lx-report-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  color: rgba(244, 241, 232, .66);
  font: 700 11px/1 var(--lx-sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lx-report-body {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lx-ring {
  position: relative;
  display: grid;
  width: 108px;
  height: 108px;
  flex: 0 0 auto;
  place-content: center;
  text-align: center;
}

.lx-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.lx-ring circle {
  fill: none;
  stroke: rgba(255, 255, 255, .12);
  stroke-width: 9;
}

.lx-ring .lx-ring-value {
  stroke: var(--lx-lime);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.6s .35s var(--lx-ease);
}

.lx-tile-growth.is-in .lx-ring-value,
.lx-page:not(.lx-js) .lx-ring-value {
  stroke-dashoffset: 28;
}

.lx-ring b {
  font: 400 34px/1 var(--lx-display);
}

.lx-ring small {
  margin-top: 3px;
  color: rgba(244, 241, 232, .66);
  font: 700 10px/1 var(--lx-sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lx-bars {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lx-bars li {
  display: grid;
  gap: 5px;
}

.lx-bars span {
  color: rgba(244, 241, 232, .8);
  font: 600 12px/1 var(--lx-sans);
}

.lx-bars i {
  position: relative;
  height: 6px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, .1);
}

.lx-bars i::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #b9e03c, var(--lx-lime));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--lx-ease);
}

.lx-bars li:nth-child(2) i::after { transition-delay: .1s; }
.lx-bars li:nth-child(3) i::after { transition-delay: .2s; }
.lx-bars li:nth-child(4) i::after { transition-delay: .3s; }
.lx-bars li:nth-child(5) i::after { transition-delay: .4s; }

.lx-tile-growth.is-in .lx-bars i::after,
.lx-page:not(.lx-js) .lx-bars i::after {
  transform: scaleX(var(--v));
}

.lx-report-gap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(244, 241, 232, .66);
  font: 700 11px/1.3 var(--lx-sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lx-report-gap b {
  color: #ffb393;
  font: 700 14px/1.3 var(--lx-sans);
  letter-spacing: 0;
  text-transform: none;
}

.lx-report-plan {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--lx-on-lime);
  background: var(--lx-lime);
  font: 600 13px/1.35 var(--lx-sans);
}

.lx-report-plan b {
  display: block;
  font-weight: 800;
}

/* ---------- Full index ---------- */

.lx-index {
  padding: clamp(72px, 9vw, 120px) 0;
  border-top: 1px solid var(--lx-line);
}

.lx-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.lx-filters button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid var(--lx-line);
  border-radius: 999px;
  color: var(--lx-ink);
  background: transparent;
  font: 700 14px/1 var(--lx-sans);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}

.lx-filters button span {
  display: grid;
  min-width: 24px;
  height: 22px;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--lx-ink) 8%, transparent);
  font-size: 12px;
}

.lx-filters button:hover {
  border-color: color-mix(in srgb, var(--lx-ink) 45%, transparent);
}

.lx-filters button[aria-pressed="true"] {
  border-color: var(--lx-ink);
  color: var(--lx-bg);
  background: var(--lx-ink);
}

.lx-filters button[aria-pressed="true"] span {
  background: color-mix(in srgb, var(--lx-bg) 18%, transparent);
}

.lx-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lx-grid > li {
  --tone: #e7efcf;
  min-width: 0;
}

.lx-grid > li[hidden] {
  display: none;
}

.lx-grid > li.is-feature {
  grid-column: span 2;
}

.lx-grid > li.is-entering {
  animation: lx-card-in .45s var(--lx-ease) both;
  animation-delay: var(--lx-delay, 0ms);
}

@keyframes lx-card-in {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
}

.lx-grid > li[data-cat="growth"] { --tone: var(--lx-lime); }
.lx-grid > li[data-cat="file"] { --tone: #e9dfcc; }
.lx-grid > li[data-tone="orange"] { --tone: #ffb393; }
.lx-grid > li[data-tone="coral"] { --tone: #ffc0ad; }
.lx-grid > li[data-tone="purple"] { --tone: #cdbdff; }
.lx-grid > li[data-tone="blue"] { --tone: #b5d0ff; }
.lx-grid > li[data-tone="mint"] { --tone: #a9ecd2; }
.lx-grid > li[data-tone="yellow"] { --tone: #ffe28a; }
.lx-grid > li[data-tone="lime"] { --tone: #e4ff8a; }

.lx-card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  height: 100%;
  min-height: 214px;
  flex-direction: column;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--lx-line);
  border-radius: 22px;
  color: var(--lx-ink);
  background: var(--lx-surface);
  isolation: isolate;
  transition: transform .28s var(--lx-ease), border-color .28s, box-shadow .28s;
}

.lx-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: radial-gradient(260px circle at var(--mx) var(--my), color-mix(in srgb, var(--tone) 38%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity .3s;
}

.lx-card:hover,
.lx-card:focus-visible {
  border-color: color-mix(in srgb, var(--lx-ink) 30%, transparent);
  box-shadow: var(--lx-shadow);
  transform: translateY(-4px);
}

.lx-card:hover::before,
.lx-card:focus-visible::before {
  opacity: 1;
}

.lx-card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: #17382d;
  background: var(--tone);
  transition: transform .3s var(--lx-ease);
}

.lx-card-icon .lx-i {
  width: 23px;
  height: 23px;
}

.lx-card:hover .lx-card-icon {
  transform: rotate(-6deg) scale(1.06);
}

.lx-card-body {
  display: block;
  margin-top: auto;
  padding-top: 24px;
}

.lx-card-body b {
  display: block;
  font: 400 25px/1.05 var(--lx-display);
  letter-spacing: -.02em;
}

.lx-card-body small {
  display: block;
  margin-top: 8px;
  color: var(--lx-muted);
  font: 500 14px/1.5 var(--lx-sans);
}

.lx-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--lx-line);
  color: var(--lx-muted);
  font: 800 11px/1.2 var(--lx-sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lx-card-meta em {
  font-style: normal;
}

.lx-card-meta .lx-i {
  width: 17px;
  height: 17px;
  color: var(--lx-ink);
  transition: transform .25s var(--lx-ease);
}

.lx-card:hover .lx-card-meta .lx-i {
  transform: translate(3px, -3px);
}

.lx-card-art {
  display: none;
}

/* Studio feature cards */

.lx-grid > li.is-feature .lx-card {
  min-height: 250px;
  padding: 26px;
  padding-right: 42%;
  border-color: transparent;
}

.lx-grid > li.is-cube .lx-card {
  --tone: #f08a5d;
  color: #f5f0e7;
  background:
    radial-gradient(circle at 85% 20%, rgba(217, 82, 45, .38), transparent 50%),
    #181716;
}

.lx-grid > li.is-canvas .lx-card {
  --tone: #fbf8f1;
  color: #fff8ef;
  background:
    radial-gradient(circle at 90% 90%, rgba(255, 214, 170, .3), transparent 55%),
    var(--lx-terracotta);
}

.lx-grid > li.is-feature .lx-card-body b {
  font-size: clamp(30px, 3vw, 38px);
}

.lx-grid > li.is-feature .lx-card-body small,
.lx-grid > li.is-feature .lx-card-meta {
  color: inherit;
  opacity: .92;
}

.lx-grid > li.is-feature .lx-card-meta {
  border-color: rgba(255, 255, 255, .22);
}

.lx-grid > li.is-feature .lx-card-meta .lx-i {
  color: inherit;
}

.lx-grid > li.is-cube .lx-card-icon {
  color: #1a1100;
}

.lx-grid > li.is-canvas .lx-card-icon {
  color: var(--lx-terracotta);
}

.lx-grid > li.is-feature .lx-card-art {
  position: absolute;
  top: 50%;
  right: 5%;
  display: block;
  width: 34%;
  max-width: 190px;
  aspect-ratio: 1;
  pointer-events: none;
  transform: translateY(-50%);
  transition: transform .5s var(--lx-ease);
}

.lx-grid > li.is-feature .lx-card:hover .lx-card-art {
  transform: translateY(-50%) rotate(-6deg) scale(1.05);
}

.lx-card-art svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.is-cube .lx-card-art .t { fill: #ffffff; }
.is-cube .lx-card-art .l { fill: #00a957; }
.is-cube .lx-card-art .r { fill: #e52232; }
.is-cube .lx-card-art .g { fill: none; stroke: #181716; stroke-width: 3.5; stroke-linecap: round; }
.is-cube .lx-card-art path:not(.g) { stroke: #181716; stroke-width: 3.5; stroke-linejoin: round; }

.is-canvas .lx-card-art .s1 { fill: none; stroke: #dfff63; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.is-canvas .lx-card-art .s2 { fill: none; stroke: #fbf8f1; stroke-width: 6; stroke-linecap: round; opacity: .85; }
.is-canvas .lx-card-art .d { fill: #17382d; }

.lx-grid > li.is-feature .lx-card::before {
  display: none;
}

/* Promises */

.lx-promises {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.lx-promises li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-top: 1px solid var(--lx-line);
}

.lx-promises .lx-i {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  color: var(--lx-accent);
}

.lx-promises b {
  display: block;
  color: var(--lx-ink);
  font: 400 22px/1.1 var(--lx-display);
}

.lx-promises p {
  margin: 6px 0 0;
  color: var(--lx-muted);
  font: 500 14px/1.55 var(--lx-sans);
}

/* ---------- Closing CTA ---------- */

.lx-cta {
  padding: 0 0 clamp(72px, 9vw, 120px);
}

.lx-cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px 48px;
  align-items: end;
  overflow: hidden;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 34px;
  color: #f4f1e8;
  background:
    radial-gradient(circle at 100% 0%, rgba(223, 255, 99, .16), transparent 42%),
    var(--lx-green);
  isolation: isolate;
}

html.theme-dark .lx-cta-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(223, 255, 99, .14), transparent 42%),
    #1c4336;
}

.lx-cta-art {
  position: absolute;
  top: -70px;
  right: -40px;
  z-index: -1;
  width: 420px;
  height: 420px;
  fill: none;
  stroke: rgba(223, 255, 99, .22);
  stroke-width: 1.4;
  animation: lx-float 14s ease-in-out infinite;
}

@keyframes lx-float {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(8deg) translateY(10px); }
}

.lx-cta .lx-eyebrow {
  color: var(--lx-lime);
}

.lx-cta h2 {
  max-width: 720px;
  margin: 0;
  color: #f4f1e8;
  font: 400 clamp(2.5rem, 5vw, 4.4rem)/.96 var(--lx-display);
  letter-spacing: -.04em;
}

.lx-cta h2 em {
  display: block;
  color: var(--lx-lime);
  font-style: italic;
}

.lx-cta-copy > p:last-child {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(244, 241, 232, .78);
  font: 500 16px/1.65 var(--lx-sans);
}

.lx-cta-actions {
  display: grid;
  gap: 10px;
}

.lx-btn-lime {
  color: var(--lx-on-lime) !important;
  background: var(--lx-lime);
}

.lx-btn-ghost {
  border-color: rgba(244, 241, 232, .34);
  color: #f4f1e8 !important;
}

.lx-btn-ghost:hover {
  border-color: #f4f1e8;
}

.lx-cta-panel :focus-visible {
  outline-color: var(--lx-lime);
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .lx-tile-growth {
    grid-template-columns: minmax(0, 1fr);
  }

  .lx-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lx-grid > li.is-feature {
    grid-column: span 3;
  }

  .lx-grid > li.is-feature .lx-card {
    padding-right: 40%;
  }
}

@media (max-width: 960px) {
  .lx-hero {
    padding-bottom: 56px;
  }

  .lx-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .lx-hero h1 {
    max-width: 720px;
  }

  .lx-specimen {
    justify-self: center;
    margin-top: 12px;
  }

  .lx-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .lx-tile-canvas,
  .lx-tile-cube,
  .lx-tile-react,
  .lx-tile-growth {
    grid-column: span 12;
  }

  .lx-tile-growth {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  }

  .lx-promises {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .lx-cta-panel {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .lx-cta-actions {
    grid-auto-flow: column;
    justify-content: start;
  }
}

@media (min-width: 761px) and (max-width: 960px) {
  .lx-tile-cube {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 32px;
    align-content: start;
  }

  .lx-tile-cube > :not(.lx-scan) {
    grid-column: 1;
  }

  .lx-tile-cube > .lx-scan {
    grid-column: 2;
    grid-row: 1 / span 4;
    margin: 0;
  }

  .lx-tile-cube .lx-btn-warm {
    margin-top: 22px;
  }
}

@media (max-width: 760px) {
  .lx-tile-growth {
    grid-template-columns: minmax(0, 1fr);
  }

  .lx-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .lx-grid > li.is-feature {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .lx-shell {
    width: min(calc(100% - 32px), 1180px);
  }

  .lx-hero {
    padding-top: 18px;
  }

  .lx-breadcrumb {
    display: none;
  }

  .lx-hero h1 {
    font-size: clamp(2.75rem, 13.2vw, 3.6rem);
  }

  .lx-lede {
    margin-top: 20px;
    font-size: 16px;
  }

  .lx-search {
    margin-top: 24px;
  }

  .lx-search-field {
    height: 58px;
    padding-left: 16px;
  }

  .lx-search-field .lx-kbd,
  .lx-search-foot {
    display: none;
  }

  .lx-quick {
    flex-wrap: nowrap;
    margin-inline: -16px;
    padding: 2px 16px 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .lx-quick::-webkit-scrollbar {
    display: none;
  }

  .lx-quick > a,
  .lx-dice {
    flex: 0 0 auto;
  }

  .lx-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 14px;
    margin-top: 26px;
  }

  .lx-stats dd {
    font-size: 28px;
  }

  .lx-stats dt {
    font-size: 10px;
    letter-spacing: .07em;
  }

  .lx-specimen-top {
    font-size: 11px;
  }

  .lx-node {
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
  }

  .lx-node .lx-i {
    width: 18px;
    height: 18px;
  }

  .lx-node::after {
    display: none;
  }

  .lx-cube-stage {
    width: 64%;
  }

  .lx-cube {
    --cubie: clamp(30px, 10.4vw, 44px);
  }

  .lx-cube-actions {
    border-radius: 24px;
  }

  .lx-pill {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .lx-marquee {
    padding: 15px 0 13px;
  }

  .lx-head {
    margin-bottom: 28px;
  }

  .lx-filters {
    flex-wrap: nowrap;
    margin-inline: -16px;
    padding: 2px 16px 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .lx-filters::-webkit-scrollbar {
    display: none;
  }

  .lx-filters button {
    flex: 0 0 auto;
  }

  .lx-head > p {
    font-size: 15px;
  }

  .lx-tile {
    padding: 20px;
    border-radius: 24px;
  }

  .lx-tile-head {
    align-items: flex-start;
  }

  .lx-paper {
    min-height: 340px;
    margin-top: 18px;
    border-radius: 16px;
  }

  .lx-swatch,
  .lx-size,
  .lx-tool {
    width: 32px;
    height: 32px;
  }

  .lx-dock {
    bottom: 10px;
    width: calc(100% - 20px);
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 12px;
    padding: 6px;
    border-radius: 20px;
  }

  .lx-dock-sep {
    display: none;
  }

  .lx-scan {
    gap: 16px;
  }

  .lx-phone {
    width: 116px;
    height: 208px;
  }

  .lx-scan-face {
    grid-template-columns: repeat(3, 22px);
  }

  .lx-scan-face i {
    width: 22px;
    height: 22px;
  }

  .lx-net {
    grid-template-columns: repeat(4, 28px);
    grid-template-rows: repeat(3, 28px);
    gap: 3px;
  }

  .lx-btn-warm {
    align-self: stretch;
  }

  .lx-react-pad {
    min-height: 190px;
  }

  .lx-report-body {
    gap: 14px;
  }

  .lx-ring {
    width: 92px;
    height: 92px;
  }

  .lx-ring b {
    font-size: 28px;
  }

  .lx-card {
    min-height: 0;
    padding: 16px;
    border-radius: 18px;
  }

  .lx-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .lx-card-body {
    padding-top: 18px;
  }

  .lx-card-body b {
    font-size: 21px;
  }

  .lx-card-body small {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .lx-card-meta {
    margin-top: 12px;
    padding-top: 11px;
    font-size: 10px;
  }

  .lx-grid > li.is-feature .lx-card {
    min-height: 230px;
    padding: 20px;
    padding-right: 38%;
  }

  .lx-grid > li.is-feature .lx-card-body small {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  .lx-grid > li.is-feature .lx-card-art {
    right: 4%;
    width: 32%;
  }

  .lx-promises li {
    padding: 18px 4px;
  }

  .lx-cta-panel {
    border-radius: 26px;
  }

  .lx-cta-actions {
    grid-auto-flow: row;
    justify-content: stretch;
  }

  .lx-cta-art {
    top: -120px;
    right: -150px;
  }
}

@media (max-width: 380px) {
  .lx-best {
    position: static;
    margin-top: 12px;
  }

  .lx-report-body {
    flex-direction: column;
    align-items: stretch;
  }

  .lx-ring {
    align-self: center;
  }
}

@media (max-width: 350px) {
  .lx-grid > li.is-feature .lx-card {
    padding-right: 20px;
  }

  .lx-grid > li.is-feature .lx-card-art {
    display: none;
  }

  .lx-scan {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .lx-scan-side {
    justify-items: center;
    text-align: center;
  }
}

@media (hover: none) {
  .lx-paper canvas {
    cursor: default;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lx-page *,
  .lx-page *::before,
  .lx-page *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .lx-scribble svg {
    stroke-dashoffset: 0;
  }

  .lx-marquee-track {
    animation: none;
  }
}
