/* Layouts & page sections demos. Every rule is scoped under a .ly-* class. */

/* shared wireframe primitives */
.ly-bar { display: block; height: 5px; width: var(--w, 60%); border-radius: 3px; background: color-mix(in srgb, var(--stage-ink) 20%, transparent); flex: none; }
.ly-bar-h { height: 8px; background: color-mix(in srgb, var(--stage-ink) 55%, transparent); }
.ly-bar-on { background: rgb(255 255 255 / 0.75); }
.ly-bar-inv { background: rgb(255 255 255 / 0.55); }
.ly-bar-inv.ly-bar-h { background: rgb(255 255 255 / 0.92); }
.ly-lab {
  display: inline-block; justify-self: start; align-self: start; width: max-content;
  font: 600 9.5px/1 var(--f-mono); letter-spacing: 0.01em; padding: 3px 6px; border-radius: 999px;
  background: #4b33d6; color: #fff; white-space: nowrap;
}
.ly-lab-inv { background: #fff; color: #3a26b8; }

/* landing page anatomy */
.ly-la { position: absolute; inset: 0; padding: 12px 12px 0; }
.ly-la-view {
  height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  border-radius: 10px 10px 0 0; background: var(--stage-card); border: 1px solid var(--stage-line); border-bottom: 0;
}
.ly-la-page { display: grid; }
.ly-la-s { display: grid; gap: 7px; padding: 9px 12px 12px; border-bottom: 1px dashed var(--stage-line); }
.ly-la-ann { background: color-mix(in srgb, #4b33d6 85%, var(--stage-card)); justify-items: center; padding-block: 6px 8px; gap: 5px; }
.ly-la-ann .ly-lab { justify-self: start; background: #fff; color: #3a26b8; }
.ly-la-row { display: flex; align-items: center; gap: 10px; }
.ly-la-row .ly-bar { width: 9%; }
.ly-la-logo { width: 16px; height: 16px; border-radius: 5px; background: #4b33d6; margin-right: auto; }
.ly-la-btn { display: block; width: 46px; height: 14px; border-radius: 5px; background: #4b33d6; }
.ly-la-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--stage-ink) 40%, transparent); }
.ly-la-row .ly-la-btn { margin-left: 6px; }
.ly-la-center { display: grid; justify-items: center; gap: 6px; padding-top: 4px; }
.ly-la-center .ly-bar-h { height: 11px; }
.ly-la-ctas { display: flex; gap: 6px; margin-top: 3px; }
.ly-la-shot { width: 84%; height: 64px; margin-top: 6px; border-radius: 7px 7px 0 0; background: linear-gradient(135deg, color-mix(in srgb, var(--d-violet) 55%, var(--stage-card)), color-mix(in srgb, var(--d-cyan) 45%, var(--stage-card))); }
.ly-la-logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ly-la-logos i { height: 10px; border-radius: 3px; background: color-mix(in srgb, var(--stage-ink) 28%, transparent); }
.ly-la-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 30px 30px; gap: 5px; }
.ly-la-bento i { border-radius: 6px; background: color-mix(in srgb, var(--stage-ink) 9%, transparent); border: 1px solid var(--stage-line); }
.ly-la-bento i:nth-child(1) { grid-column: span 2; grid-row: span 2; background: color-mix(in srgb, var(--d-violet) 22%, transparent); }
.ly-la-bento i:nth-child(2) { grid-column: span 2; }
.ly-la-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ly-la-quote { display: grid; gap: 4px; padding: 7px; border-radius: 6px; border: 1px solid var(--stage-line); }
.ly-la-quote b { width: 14px; height: 14px; border-radius: 50%; background: color-mix(in srgb, var(--d-amber) 70%, var(--stage-card)); }
.ly-la-price > div { display: grid; gap: 5px; padding: 8px 7px; border-radius: 6px; border: 1px solid var(--stage-line); }
.ly-la-price > div.is-pop { border: 1.5px solid #4b33d6; }
.ly-la-num { display: block; width: 50%; height: 12px; border-radius: 3px; background: color-mix(in srgb, var(--stage-ink) 60%, transparent); }
.ly-la-faq { display: grid; gap: 4px; }
.ly-la-faq div { display: flex; justify-content: space-between; align-items: center; padding: 5px 7px; border-radius: 5px; border: 1px solid var(--stage-line); }
.ly-la-faq b { font: 600 11px/1 var(--f-mono); opacity: 0.6; }
.ly-la-ctabox { display: grid; justify-items: center; gap: 8px; padding: 14px; border-radius: 8px; background: #4b33d6; }
.ly-la-inv { background: #fff; }
.ly-la-foot { background: color-mix(in srgb, var(--stage-ink) 5%, transparent); border-bottom: 0; }
.ly-la-fcols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ly-la-fcols > div { display: grid; gap: 5px; }
.ly-la-fcols .ly-bar-h { height: 6px; }
.ly-la-legal { display: flex; justify-content: space-between; padding-top: 7px; border-top: 1px solid var(--stage-line); }

/* hero section variants */
.ly-hero { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; width: 100%; padding: 0 5%; align-items: center; }
.ly-hv { margin: 0; display: grid; gap: 7px; justify-items: center; }
.ly-hv figcaption { font: 600 10.5px/1.2 var(--f-mono); text-align: center; color: var(--stage-ink); }
.ly-hv-frame {
  position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 8px;
  background: var(--stage-card); border: 1px solid var(--stage-line); padding: 15% 9% 0;
  display: grid; align-content: start; gap: 5px;
  animation: ly-hv-pick 7.5s ease infinite; animation-delay: calc(var(--i) * 2.5s);
}
.ly-hv figcaption { animation: ly-hv-cap 7.5s ease infinite; animation-delay: calc(var(--i) * 2.5s); }
@keyframes ly-hv-pick { 0%, 30% { box-shadow: 0 0 0 2px #4b33d6, 0 10px 22px -8px rgb(40 30 120 / 0.45); transform: translateY(-4px); } 36%, 100% { box-shadow: none; transform: none; } }
@keyframes ly-hv-cap { 0%, 30% { color: var(--d-violet); } 36%, 100% { color: var(--stage-ink); } }
.ly-hv-nav { position: absolute; left: 0; right: 0; top: 0; height: 9%; border-bottom: 1px solid var(--stage-line); background: linear-gradient(90deg, #4b33d6 0 9%, transparent 9%) 6% 50% / 70% 30% no-repeat; }
.ly-hv-ctas { display: flex; gap: 4px; margin-top: 2px; }
.ly-hv-ctas b { width: 24px; height: 8px; border-radius: 3px; background: #4b33d6; }
.ly-hv-ctas .ly-hv-ghost { background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--stage-ink) 40%, transparent); }
.ly-hv-ctas .ly-hv-white { background: #fff; }
.ly-hv-img { border-radius: 4px; background: linear-gradient(135deg, color-mix(in srgb, var(--d-violet) 60%, var(--stage-card)), color-mix(in srgb, var(--d-pink) 50%, var(--stage-card))); }
.ly-hv-c { justify-items: center; }
.ly-hv-c .ly-hv-img { width: 100%; height: 34%; margin-top: 6px; border-radius: 4px 4px 0 0; }
.ly-hv-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-items: center; height: 70%; }
.ly-hv-cols > div:first-child { display: grid; gap: 5px; }
.ly-hv-s .ly-hv-img { height: 100%; }
.ly-hv-m { padding: 0; background: linear-gradient(160deg, #ffb35c, #ff6b4a 40%, #7b2a8c 75%, #2a1450); }
.ly-hv-m .ly-hv-nav { border-bottom-color: rgb(255 255 255 / 0.25); background: linear-gradient(90deg, #fff 0 9%, transparent 9%) 6% 50% / 70% 30% no-repeat; }
.ly-hv-over { position: absolute; inset: auto 0 0; display: grid; gap: 5px; padding: 28% 9% 14%; background: linear-gradient(transparent, rgb(10 6 30 / 0.65)); }

/* logo cloud */
.ly-lc { display: grid; gap: 8px; width: 100%; padding: 0 6%; }
.ly-lc-k { margin: 0; font: 500 10.5px var(--f-mono); color: var(--stage-ink); opacity: 0.7; text-align: center; }
.ly-lc-grid, .ly-lc-move { list-style: none; margin: 0; padding: 0; }
.ly-lc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--stage-line); border-left: 1px solid var(--stage-line); margin-bottom: 6px; }
.ly-lc-grid .ly-lg { justify-content: center; padding: 9px 4px; border-right: 1px solid var(--stage-line); border-bottom: 1px solid var(--stage-line); }
.ly-lg { display: flex; align-items: center; gap: 5px; color: color-mix(in srgb, var(--stage-ink) 62%, transparent); font-size: 14px; line-height: 1; white-space: nowrap; }
.ly-lg-north { font-weight: 800; letter-spacing: -0.02em; }
.ly-lg-acme { font-weight: 900; font-stretch: 125%; font-size: 15px; letter-spacing: -0.04em; }
.ly-lg-globex { font-weight: 600; font-size: 11px; letter-spacing: 0.2em; }
.ly-lg-ini { font: italic 500 16px/1 var(--f-body); }
.ly-lg-umb { font-weight: 700; font-stretch: 85%; }
.ly-lg-hooli { font-weight: 800; font-size: 16px; letter-spacing: -0.03em; }
.ly-lg-dot { width: 11px; height: 11px; border-radius: 50%; background: currentColor; }
.ly-lg-tri { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid currentColor; }
.ly-lg-sq { width: 9px; height: 9px; background: currentColor; transform: rotate(45deg); }
.ly-lg-pt { width: 5px; height: 5px; border-radius: 50%; background: currentColor; align-self: flex-end; margin-left: -3px; }
.ly-lc-track { overflow: hidden; -webkit-mask: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); mask: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); }
.ly-lc-move { display: flex; gap: 28px; width: max-content; padding: 4px 0; animation: ly-lc 22s linear infinite; }
@keyframes ly-lc { to { transform: translateX(calc(-50% - 14px)); } }

/* bento grid */
.ly-bento { position: absolute; inset: 10px; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); gap: 8px; }
.ly-bt { position: relative; display: grid; align-content: start; gap: 5px; padding: 8px 9px; border-radius: 12px; background: var(--stage-card); border: 1px solid var(--stage-line); overflow: hidden; min-width: 0; }
.ly-bt p { margin: 0; font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 22px; }
.ly-bt > span { position: absolute; right: 7px; top: 8px; font: 600 9px/1 var(--f-mono); opacity: 0.55; }
.ly-bt-a { grid-column: 1 / 3; grid-row: 1 / 3; }
.ly-bt-b { grid-column: 3 / 5; grid-row: 1; }
.ly-bt-c { grid-column: 3; grid-row: 2; }
.ly-bt-d { grid-column: 4; grid-row: 2; }
.ly-bt-e { grid-column: 1 / 3; grid-row: 3; }
.ly-bt-f { grid-column: 3 / 5; grid-row: 3; }
.ly-bt-chart { position: absolute; left: 9px; right: 9px; bottom: 9px; top: 34px; display: flex; align-items: flex-end; gap: 5px; }
.ly-bt-chart i { flex: 1; height: calc(var(--v) * 100%); border-radius: 4px 4px 2px 2px; background: color-mix(in srgb, var(--d-violet) 75%, var(--stage-card)); transform-origin: bottom; animation: ly-bt-grow 4.5s ease-in-out infinite; }
.ly-bt-chart i:nth-child(2n) { animation-delay: -1.2s; }
.ly-bt-chart i:nth-child(3n) { animation-delay: -2.4s; }
@keyframes ly-bt-grow { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.62); } }
.ly-bt-dots { display: flex; gap: 6px; align-items: center; }
.ly-bt-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--d-cyan); animation: ly-bt-ping 2.8s ease-in-out infinite; }
.ly-bt-dots i:nth-child(2) { animation-delay: 0.2s; } .ly-bt-dots i:nth-child(3) { animation-delay: 0.4s; } .ly-bt-dots i:nth-child(4) { animation-delay: 0.6s; }
.ly-bt-dots i:nth-child(5) { animation-delay: 0.8s; } .ly-bt-dots i:nth-child(6) { animation-delay: 1s; } .ly-bt-dots i:nth-child(7) { animation-delay: 1.2s; }
@keyframes ly-bt-ping { 0%, 100% { opacity: 0.35; transform: scale(0.8); } 30% { opacity: 1; transform: scale(1.15); } }
.ly-bt-key { width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--d-amber); position: relative; }
.ly-bt-key::after { content: ""; position: absolute; left: 11px; top: 4px; width: 12px; height: 3px; background: var(--d-amber); border-radius: 2px; }
.ly-bt-e, .ly-bt-f { align-content: space-between; }
.ly-bt-e strong { line-height: 1; font-size: clamp(14px, 5cqi, 20px); font-weight: 850; font-stretch: 115%; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--d-violet); }
.ly-bt-f svg { width: 100%; height: 16px; color: var(--d-pink); }

/* masonry */
.ly-ms { position: absolute; inset: 12px; }
.ly-ms-box { height: 100%; width: 100%; overflow: hidden; border-radius: 8px; outline: 1px dashed color-mix(in srgb, var(--stage-ink) 35%, transparent); outline-offset: 3px; animation: ly-ms-w 9s ease-in-out infinite; }
@keyframes ly-ms-w { 0%, 18% { width: 100%; } 45%, 62% { width: 46%; } 90%, 100% { width: 100%; } }
.ly-ms-cols { columns: 64px; column-gap: 6px; }
.ly-ms-cols i { display: block; height: var(--h); margin-bottom: 6px; break-inside: avoid; border-radius: 6px; background: hsl(var(--hue) 70% 70%); }
.ly-ms-code { position: absolute; right: 6px; bottom: 6px; font: 600 10px/1 var(--f-mono); padding: 5px 7px; border-radius: 6px; background: var(--stage-card); color: var(--stage-ink); border: 1px solid var(--stage-line); }

/* split screen */
.ly-sp { position: absolute; inset: 12px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 10px; overflow: hidden; border: 1px solid var(--stage-line); background: var(--stage-card); }
.ly-sp-l { position: relative; display: grid; align-content: center; justify-items: start; gap: 6px; padding: 0 12%; }
.ly-sp-logo { width: 16px; height: 16px; border-radius: 5px; background: #4b33d6; margin-bottom: 4px; }
.ly-sp-h { margin: 0; font-size: clamp(13px, 4.4cqi, 18px); font-weight: 800; letter-spacing: -0.01em; }
.ly-sp-in { width: 100%; font: 400 9.5px/1 var(--f-mono); padding: 6px 7px; border-radius: 5px; border: 1px solid var(--stage-line); color: color-mix(in srgb, var(--stage-ink) 60%, transparent); }
.ly-sp-btn { width: 100%; text-align: center; font-size: 10.5px; font-weight: 700; padding: 6px 0; border-radius: 5px; background: #4b33d6; color: #fff; }
.ly-sp-r { position: relative; overflow: hidden; }
.ly-sp-art { position: absolute; inset: -20% -40% -20% 0; background: linear-gradient(150deg, #19c3d6, #2f7bff 45%, #2a1a7a); animation: ly-sp-pan 12s ease-in-out infinite alternate; }
.ly-sp-art i { position: absolute; border-radius: 50%; }
.ly-sp-art i:nth-child(1) { width: 38%; aspect-ratio: 1; left: 18%; top: 22%; background: radial-gradient(circle at 35% 35%, #fff6c8, #ffb020); }
.ly-sp-art i:nth-child(2) { width: 90%; height: 50%; left: -10%; bottom: 0; border-radius: 50% 50% 0 0; background: #1a1050; }
@keyframes ly-sp-pan { to { transform: translateX(-22%); } }
.ly-sp-lab { position: absolute; left: 8px; bottom: 8px; }

/* full-bleed / breakout grid */
.ly-fb { position: absolute; inset: 0; overflow: hidden; }
.ly-fb-grid {
  position: relative; height: 100%; display: grid; align-content: center; row-gap: 6px;
  grid-template-columns: [full-start] 1fr [breakout-start] 8% [content-start] 50% [content-end] 8% [breakout-end] 1fr [full-end];
}
.ly-fb-grid > * { grid-column: content; }
.ly-fb-grid > .ly-bar { width: var(--w); }
.ly-fb-guide { position: absolute; inset: 0; pointer-events: none; border-inline: 1px dashed color-mix(in srgb, var(--stage-ink) 32%, transparent); }
.ly-fb-g-content { grid-column: content; }
.ly-fb-g-break { grid-column: breakout; border-color: color-mix(in srgb, var(--d-pink) 55%, transparent); }
.ly-fb-tag { margin-bottom: 2px; }
.ly-fb-full { grid-column: full; height: 40px; margin-block: 4px; display: grid; place-items: center; background: linear-gradient(100deg, #ff6b4a, #ffb020 45%, #19c3d6); }
.ly-fb-break { grid-column: breakout; display: grid; gap: 5px; margin-block: 4px; padding: 7px 8px; border-radius: 6px; background: color-mix(in srgb, var(--d-pink) 16%, var(--stage-card)); border: 1px solid color-mix(in srgb, var(--d-pink) 40%, transparent); }
.ly-fb-break .ly-lab { background: var(--d-pink); }
.ly-fb-break code { font: 500 10px/1.2 var(--f-mono); color: var(--stage-ink); }

/* app shell */
.ly-as { position: absolute; inset: 12px; display: flex; border-radius: 10px; overflow: hidden; border: 1px solid var(--stage-line); background: var(--stage-card); }
.ly-as-side {
  position: relative; flex: none; width: 30%; display: grid; align-content: start; gap: 7px; padding: 10px 8px;
  border-right: 1px solid var(--stage-line); background: color-mix(in srgb, var(--stage-ink) 4%, var(--stage-card)); overflow: hidden;
  animation: ly-as-col 7s ease-in-out infinite;
}
@keyframes ly-as-col { 0%, 35% { width: 30%; } 48%, 80% { width: 12%; } 93%, 100% { width: 30%; } }
.ly-as-logo { width: 18px; height: 18px; border-radius: 6px; background: #4b33d6; margin: 0 0 6px 2px; }
.ly-as-item { display: flex; align-items: center; gap: 7px; padding: 5px 4px; border-radius: 6px; }
.ly-as-item i { flex: none; width: 12px; height: 12px; border-radius: 4px; background: color-mix(in srgb, var(--stage-ink) 30%, transparent); }
.ly-as-item.is-on { background: color-mix(in srgb, var(--d-violet) 18%, transparent); }
.ly-as-item.is-on i { background: var(--d-violet); }
.ly-as-right { flex: 1; min-width: 0; display: grid; grid-template-rows: auto 1fr; }
.ly-as-head { position: relative; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-bottom: 1px solid var(--stage-line); }
.ly-as-search { flex: 1; height: 14px; border-radius: 5px; border: 1px solid var(--stage-line); margin-left: 8px; }
.ly-as-av { width: 16px; height: 16px; border-radius: 50%; background: var(--d-amber); }
.ly-as-main { position: relative; display: grid; align-content: start; gap: 8px; padding: 10px; }
.ly-as-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ly-as-stats div { height: 30px; border-radius: 6px; border: 1px solid var(--stage-line); background: linear-gradient(var(--d-cyan), var(--d-cyan)) 8px 70% / 40% 4px no-repeat; }
.ly-as-panel { display: grid; gap: 6px; padding: 9px; border-radius: 6px; border: 1px solid var(--stage-line); }
.ly-as-lab { position: absolute; right: 6px; bottom: 6px; }
.ly-as-head .ly-as-lab { position: static; }
.ly-as-side .ly-as-lab { left: 6px; right: auto; }

/* floating navbar */
.ly-fn { position: absolute; inset: 0; overflow: hidden; }
.ly-fn-page { position: absolute; left: 0; right: 0; top: 0; display: grid; gap: 10px; padding: 50px 16px 0; animation: ly-fn-scroll 7s ease-in-out infinite; }
.ly-fn-hero { display: grid; justify-items: center; gap: 6px; }
.ly-fn-hero .ly-bar-h { height: 11px; }
.ly-fn-img { height: 90px; border-radius: 10px; background: linear-gradient(120deg, var(--d-pink), var(--d-violet) 50%, var(--d-cyan)); }
.ly-fn-img2 { background: linear-gradient(120deg, var(--d-amber), var(--d-coral) 50%, var(--d-pink)); }
.ly-fn-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ly-fn-cards i { height: 54px; border-radius: 8px; background: var(--stage-card); border: 1px solid var(--stage-line); }
.ly-fn-nav {
  position: absolute; left: 50%; top: 0; width: 100%; height: 34px; translate: -50% 0;
  display: flex; align-items: center; gap: 12px; padding: 0 8px 0 12px; font-size: 11px; font-weight: 600; white-space: nowrap;
  color: var(--stage-ink); background: color-mix(in srgb, var(--stage-card) 72%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid var(--stage-line); border-radius: 0; overflow: hidden;
  animation: ly-fn-nav 7s ease-in-out infinite;
}
.ly-fn-logo { flex: none; width: 14px; height: 14px; border-radius: 4px; background: #4b33d6; margin-right: auto; }
.ly-fn-nav em { font-style: normal; color: #fff; background: #4b33d6; padding: 5px 10px; border-radius: 999px; }
@keyframes ly-fn-scroll { 0%, 14% { transform: translateY(0); } 38%, 76% { transform: translateY(-46%); } 92%, 100% { transform: translateY(0); } }
@keyframes ly-fn-nav {
  0%, 14% { top: 0; width: 100%; border-radius: 0; box-shadow: none; border-bottom-color: var(--stage-line); }
  30%, 80% { top: 10px; width: 82%; border-radius: 18px; box-shadow: 0 8px 22px -6px rgb(20 20 60 / 0.35), inset 0 0 0 1px var(--stage-line); border-bottom-color: transparent; }
  94%, 100% { top: 0; width: 100%; border-radius: 0; box-shadow: none; border-bottom-color: var(--stage-line); }
}

/* mega menu */
.ly-mm { position: absolute; inset: 12px; border-radius: 10px; overflow: hidden; background: var(--stage-card); border: 1px solid var(--stage-line); }
.ly-mm-bar { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--stage-line); font-size: 11px; font-weight: 600; background: var(--stage-card); }
.ly-mm-logo { width: 14px; height: 14px; border-radius: 4px; background: #4b33d6; margin-right: 6px; }
.ly-mm-trig { display: inline-flex; align-items: center; gap: 4px; font: inherit; color: inherit; background: none; border: 0; padding: 4px 6px; margin: 0 -6px; border-radius: 6px; cursor: pointer; animation: ly-mm-trig 6s ease infinite; }
.ly-mm-trig svg { width: 8px; height: 6px; transition: transform 0.2s; }
.ly-mm-page { display: grid; gap: 7px; padding: 22px 16px; justify-items: start; }
.ly-mm-panel {
  position: absolute; z-index: 1; left: 0; right: 0; top: 36px; display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 10px;
  padding: 12px; background: var(--stage-card); border-bottom: 1px solid var(--stage-line); box-shadow: 0 18px 30px -12px rgb(20 20 60 / 0.35);
  transform-origin: top; animation: ly-mm-open 6s ease infinite;
}
.ly-mm-col { display: grid; align-content: start; gap: 6px; font-size: 10.5px; min-width: 0; }
.ly-mm-col p { margin: 0 0 2px; font: 600 9px/1 var(--f-mono); color: var(--d-violet); }
.ly-mm-col span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ly-mm-promo { display: grid; align-content: end; gap: 6px; padding: 8px; border-radius: 8px; font-size: 10px; font-weight: 700; color: #fff; background: linear-gradient(140deg, #7b5cff, #4b33d6); min-height: 70px; }
.ly-mm-promo b { width: 18px; height: 18px; border-radius: 50%; background: rgb(255 255 255 / 0.35); }
@keyframes ly-mm-open { 0%, 18% { opacity: 0; transform: translateY(-6px) scaleY(0.96); visibility: hidden; } 26%, 78% { opacity: 1; transform: none; visibility: visible; } 86%, 100% { opacity: 0; transform: translateY(-6px) scaleY(0.96); visibility: hidden; } }
@keyframes ly-mm-trig { 0%, 18% { background: transparent; } 22%, 80% { background: color-mix(in srgb, var(--d-violet) 16%, transparent); } 86%, 100% { background: transparent; } }
.ly-mm:hover .ly-mm-panel, .ly-mm.is-open .ly-mm-panel, .ly-mm:focus-within .ly-mm-panel { animation: none; opacity: 1; transform: none; visibility: visible; }
.ly-mm:hover .ly-mm-trig, .ly-mm.is-open .ly-mm-trig, .ly-mm:focus-within .ly-mm-trig { animation: none; background: color-mix(in srgb, var(--d-violet) 16%, transparent); }
.ly-mm:hover .ly-mm-trig svg, .ly-mm.is-open .ly-mm-trig svg { transform: rotate(180deg); }

/* off-canvas menu */
.ly-oc { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 18px; }
.ly-oc-phone { position: relative; height: 88%; aspect-ratio: 9 / 15; overflow: hidden; border-radius: 16px; background: var(--stage-card); border: 1px solid var(--stage-line); box-shadow: 0 10px 26px -10px rgb(20 20 60 / 0.35); }
.ly-oc-top { display: flex; justify-content: space-between; align-items: center; height: 30px; padding: 0 8px 0 10px; border-bottom: 1px solid var(--stage-line); }
.ly-oc-logo { width: 13px; height: 13px; border-radius: 4px; background: #4b33d6; }
.ly-oc-burger { position: relative; z-index: 3; display: grid; align-content: center; gap: 3px; width: 24px; height: 24px; padding: 0 5px; border: 0; border-radius: 6px; background: transparent; cursor: pointer; }
.ly-oc-burger i { display: block; height: 2px; border-radius: 2px; background: var(--stage-ink); transition: transform 0.25s ease, opacity 0.2s; }
.ly-oc.is-open .ly-oc-burger i { background: #fff; }
.ly-oc.is-open .ly-oc-burger i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.ly-oc.is-open .ly-oc-burger i:nth-child(2) { opacity: 0; }
.ly-oc.is-open .ly-oc-burger i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.ly-oc-content { display: grid; gap: 6px; padding: 12px 10px; }
.ly-oc-img { height: 44px; border-radius: 6px; margin-block: 4px; background: linear-gradient(120deg, var(--d-amber), var(--d-coral)); }
.ly-oc-scrim { position: absolute; inset: 0; z-index: 1; background: rgb(10 12 30 / 0.5); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.ly-oc-panel {
  position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; width: 74%; display: grid; align-content: start; gap: 2px; padding: 40px 12px 12px;
  background: #4b33d6; color: #fff; font-size: 12.5px; font-weight: 700; transform: translateX(-100%); transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ly-oc-panel span { padding: 5px 0; border-bottom: 1px solid rgb(255 255 255 / 0.18); }
.ly-oc.is-open .ly-oc-panel { transform: none; }
.ly-oc.is-open .ly-oc-scrim { opacity: 1; pointer-events: auto; }
.ly-oc-code { font: 500 10.5px/1.3 var(--f-mono); color: var(--stage-ink); max-width: 30%; }
.ly-oc-code b { color: var(--d-violet); font-weight: 700; }

/* RAM grid */
.ly-ram { position: absolute; inset: 12px; display: grid; grid-template-rows: 1fr auto; gap: 8px; }
.ly-ram-box { width: 100%; height: 100%; overflow: hidden; padding: 6px; border-radius: 8px; outline: 1px dashed color-mix(in srgb, var(--stage-ink) 35%, transparent); animation: ly-ram-w 9s ease-in-out infinite; }
@keyframes ly-ram-w { 0%, 14% { width: 100%; } 40%, 56% { width: 50%; } 80%, 100% { width: 74%; } }
.ly-ram-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 6px; }
.ly-ram-grid > div { display: grid; gap: 5px; padding: 5px; border-radius: 6px; background: var(--stage-card); border: 1px solid var(--stage-line); }
.ly-ram-grid > div i { height: 20px; border-radius: 4px; background: hsl(var(--hue) 70% 68%); }
.ly-ram-meta { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 500 10px/1.2 var(--f-mono); }
.ly-ram-meta code { font: inherit; min-width: 0; overflow-wrap: anywhere; }
.ly-ram-n { flex: none; font-weight: 700; color: var(--d-violet); font-variant-numeric: tabular-nums; }

/* container queries */
.ly-cq { position: absolute; inset: 12px; display: grid; grid-template-rows: 1fr auto; gap: 8px; }
.ly-cq-box { container-type: inline-size; width: 100%; align-self: center; padding: 6px; border-radius: 8px; outline: 1px dashed color-mix(in srgb, var(--stage-ink) 35%, transparent); animation: ly-cq-w 9s ease-in-out infinite; }
@keyframes ly-cq-w { 0%, 16% { width: 100%; } 38%, 52% { width: 62%; } 70%, 86% { width: 40%; } 100% { width: 100%; } }
.ly-cq-card { display: grid; gap: 8px; padding: 8px; border-radius: 10px; background: var(--stage-card); border: 1px solid var(--stage-line); overflow: hidden; }
.ly-cq-img { height: 52px; border-radius: 6px; background: linear-gradient(135deg, var(--d-cyan), var(--d-blue) 60%, var(--d-violet)); }
.ly-cq-txt { display: grid; gap: 5px; align-content: center; min-width: 0; }
.ly-cq-t { margin: 0; font-size: clamp(11px, 6cqi, 17px); font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ly-cq-s { margin: 0; font-size: 10.5px; opacity: 0.7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ly-cq-extra { display: none; }
.ly-cq-btn { justify-self: start; font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 5px; background: #4b33d6; color: #fff; }
@container (min-width: 210px) {
  .ly-cq-card { grid-template-columns: 40% 1fr; }
  .ly-cq-img { height: 100%; min-height: 70px; }
}
@container (min-width: 300px) {
  .ly-cq-extra { display: block; }
  .ly-cq-card { grid-template-columns: 34% 1fr; }
}
.ly-cq-meta { margin: 0; display: flex; justify-content: space-between; gap: 8px; font: 500 10.5px/1.2 var(--f-mono); }
.ly-cq-w { font: inherit; font-variant-numeric: tabular-nums; }
.ly-cq-state { font-weight: 700; color: var(--d-violet); }

/* pricing table */
.ly-pt { display: grid; justify-items: center; gap: 10px; width: 100%; padding: 0 12px; }
.ly-pt-toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--stage-ink) 8%, transparent); border: 1px solid var(--stage-line); }
.ly-pt-toggle button { font: 600 10.5px/1 var(--f-display); color: var(--stage-ink); background: transparent; border: 0; border-radius: 999px; padding: 5px 10px; cursor: pointer; white-space: nowrap; }
.ly-pt-toggle button[aria-pressed="true"] { background: var(--stage-card); box-shadow: 0 1px 3px rgb(20 20 60 / 0.2); }
.ly-pt-toggle em { font-style: normal; font-size: 9px; color: var(--d-violet); margin-left: 2px; }
.ly-pt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; width: 100%; align-items: stretch; }
.ly-pt-card { position: relative; display: grid; align-content: start; gap: 5px; padding: 10px 8px 8px; border-radius: 9px; background: var(--stage-card); border: 1px solid var(--stage-line); min-width: 0; }
.ly-pt-card.is-pop { border: 1.5px solid #4b33d6; box-shadow: 0 8px 20px -10px rgb(75 51 214 / 0.6); }
.ly-pt-badge { position: absolute; top: -8px; left: 50%; translate: -50% 0; font: 700 8.5px/1 var(--f-mono); padding: 3px 6px; border-radius: 999px; background: #4b33d6; color: #fff; white-space: nowrap; }
.ly-pt-n { margin: 0; font-size: 10.5px; font-weight: 700; opacity: 0.8; }
.ly-pt-p { margin: 0; display: flex; align-items: baseline; gap: 1px; }
.ly-pt-p b { font-size: clamp(16px, 5.6cqi, 22px); font-weight: 850; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ly-pt-p span { font-size: 9.5px; opacity: 0.65; }
.ly-pt-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 9.5px; line-height: 1.25; }
.ly-pt-card li { display: flex; gap: 4px; }
.ly-pt-card li::before { content: ""; flex: none; width: 7px; height: 4px; margin-top: 2px; border-left: 1.5px solid var(--d-violet); border-bottom: 1.5px solid var(--d-violet); transform: rotate(-45deg); }
.ly-pt-btn { margin-top: 3px; text-align: center; font-size: 9.5px; font-weight: 700; padding: 5px 0; border-radius: 5px; border: 1px solid var(--stage-line); }
.ly-pt-card.is-pop .ly-pt-btn { background: #4b33d6; border-color: #4b33d6; color: #fff; }

/* CTA banner */
.ly-cta { position: absolute; inset: 12px; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; }
.ly-cta-above { display: flex; align-items: center; gap: 10px; padding: 5px 8px; border-radius: 6px; border: 1px solid var(--stage-line); }
.ly-cta-above b { margin-left: auto; }
.ly-cta-above b { font: 600 11px/1 var(--f-mono); opacity: 0.55; }
.ly-cta-tag { flex: none; }
.ly-cta-band {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 5px; padding: 24px 10px 12px; border-radius: 12px; color: #fff; text-align: center; overflow: hidden;
  background: radial-gradient(120% 140% at var(--ly-cta-x, 20%) 0%, #7b5cff, transparent 60%), #4b33d6; animation: ly-cta-light 8s ease-in-out infinite alternate;
}
.ly-cta-band .ly-cta-tag { position: absolute; left: 8px; top: 8px; }
.ly-cta-h { margin: 0; font-size: clamp(14px, 5cqi, 20px); font-weight: 850; font-stretch: 110%; letter-spacing: -0.02em; line-height: 1.1; }
.ly-cta-s { margin: 0; font-size: 10.5px; opacity: 0.85; }
.ly-cta-btns { display: flex; gap: 6px; margin-top: 4px; }
.ly-cta-btns span { font-size: 10.5px; font-weight: 700; padding: 6px 11px; border-radius: 7px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.6); }
.ly-cta-btns .is-pri { background: #fff; color: #3a26b8; box-shadow: none; }
@property --ly-cta-x { syntax: '<percentage>'; inherits: false; initial-value: 20%; }
@keyframes ly-cta-light { to { --ly-cta-x: 80%; } }
.ly-cta-foot { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 6px; background: color-mix(in srgb, var(--stage-ink) 6%, transparent); }
.ly-cta-foot .ly-cta-tag { margin: 0 4px 0 0; }

/* fat footer */
.ly-ff { position: absolute; inset: auto 0 0 0; top: 10%; display: grid; grid-template-rows: 1fr auto; padding: 14px 14px 10px; background: var(--stage-card); border-top: 1px solid var(--stage-line); }
.ly-ff-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 10px; align-content: start; }
.ly-ff-brand { display: grid; align-content: start; gap: 5px; min-width: 0; }
.ly-ff-logo { margin: 0; display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; }
.ly-ff-logo b { width: 12px; height: 12px; border-radius: 50%; background: #4b33d6; }
.ly-ff-blurb { margin: 0; font-size: 9.5px; opacity: 0.7; }
.ly-ff-news { display: flex; margin-top: 4px; border: 1px solid var(--stage-line); border-radius: 6px; overflow: hidden; }
.ly-ff-news span { flex: 1; min-width: 0; font: 400 8.5px/1 var(--f-mono); padding: 6px 5px; opacity: 0.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ly-ff-news em { font-style: normal; font-size: 8.5px; font-weight: 700; padding: 6px 6px; background: #4b33d6; color: #fff; }
.ly-ff-col { display: grid; align-content: start; gap: 5px; font-size: 9.5px; min-width: 0; }
.ly-ff-col p { margin: 0 0 2px; font-weight: 700; font-size: 10px; }
.ly-ff-col span { opacity: 0.7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ly-ff-legal { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; border-top: 1px solid var(--stage-line); font-size: 9.5px; opacity: 0.8; }
.ly-ff-soc { display: flex; gap: 6px; }
.ly-ff-soc i { width: 12px; height: 12px; border-radius: 4px; background: color-mix(in srgb, var(--stage-ink) 40%, transparent); }
@container (max-width: 380px) {
  .ly-ff-top { grid-template-columns: repeat(4, 1fr); }
  .ly-ff-brand { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; }
  .ly-ff-brand .ly-ff-news { display: none; }
}
