/* The new landing page, v3 (rebrand 2026-11-09). Loaded only while /etc/nelix-lab/landing-v3.json is on
   (or ?preview=landing-v3). Nelix dark indigo from landing.css; one centred column, quiet sections, hairlines
   instead of boxes, mono eyebrows. Everything is scoped to body.lpn. */
.lp-ht { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); padding: 56px 0 64px; }
/* a faint dotted grid, framed by two thin vertical rules at the page's edges */
.lp-ht::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(rgba(199, 173, 252, 0.16) 1px, transparent 1.4px); background-size: 22px 22px; background-position: center top;
  -webkit-mask-image: linear-gradient(#000 0%, #000 70%, transparent 100%); mask-image: linear-gradient(#000 0%, #000 70%, transparent 100%); }
.lp-ht::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; z-index: -1; pointer-events: none;
  width: min(calc(var(--max) + 64px), calc(100% - 24px)); transform: translateX(-50%);
  border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2);
  background: radial-gradient(46% 38% at 50% 46%, rgba(114, 51, 247, 0.20), transparent 72%); }
.lp-ht-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lp-ht .lp-eyebrow { margin-bottom: 16px; }
.lp-ht h1 { margin: 0; max-width: 16em; color: var(--text); font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 650; }
.lp-ht-lede { margin: 16px 0 0; max-width: 34rem; color: var(--body); font-size: 17px; line-height: 1.55; }

/* the prompt box */
.lp-ht-box { width: min(672px, 100%); margin-top: 32px; padding: 16px 16px 12px 22px; text-align: left;
  border: 1px solid var(--line-2); border-radius: 18px; background: rgba(14, 8, 48, 0.86);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7), 0 0 0 6px rgba(114, 51, 247, 0.05); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.lp-ht-box:focus-within { border-color: rgba(199, 173, 252, 0.55); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7), 0 0 0 6px rgba(114, 51, 247, 0.14); }
.lp-ht-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-ht-idea { display: block; width: 100%; min-height: 56px; margin: 0; padding: 4px 0; resize: none; border: 0; outline: 0; background: transparent;
  color: var(--text); font: 400 16px/1.5 var(--font); caret-color: var(--accent-2); }
.lp-ht-idea::placeholder { color: var(--muted); opacity: 1; }
.lp-ht-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.lp-ht-blank { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin-left: -8px; padding: 0 8px; border-radius: 8px;
  color: var(--body); font-size: 13.5px; text-decoration: none; }
.lp-ht-blank span { font-size: 17px; line-height: 1; color: var(--muted); }
.lp-ht-blank:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.lp-ht-go { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; margin-left: auto; padding: 0 16px; border-radius: 10px;
  background: #f4f2fb; color: #0d0828; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.lp-ht-go:hover { background: #fff; color: #0d0828; }
.lp-ht-go span { transition: transform 0.15s ease; }
.lp-ht-go:hover span { transform: translateX(2px); }
.lp-ht .cta-auth { display: none; }
html.is-auth .lp-ht .cta-guest { display: none; }
html.is-auth .lp-ht .cta-auth { display: inline-flex; }
.lp-ht-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; margin: 18px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.9; }
.lp-ht-links > span { white-space: nowrap; }
.lp-ht-links a { color: var(--body); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.lp-ht-links a:hover { color: var(--text); text-decoration-color: var(--accent-2); }
.lp-ht-links i { margin: 0 10px; font-style: normal; color: var(--line-2); }

/* name tags of who works on a design with you (decoration, wide screens only) */
.lp-ht-tags { display: none; }
@media (min-width: 1200px) {
  .lp-ht-tags { display: block; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
  .lp-ht-tag { position: absolute; display: inline-flex; align-items: flex-start; animation: lp-ht-drift 9s ease-in-out infinite alternate; }
  .lp-ht-tag svg { flex: none; fill: var(--c); stroke: rgba(8, 2, 37, 0.6); stroke-width: 0.8; }
  .lp-ht-tag b { margin: 13px 0 0 -2px; padding: 2px 7px; border-radius: 5px; background: var(--c); color: #120d24; font: 600 11px/1.3 var(--font);
    letter-spacing: 0.01em; white-space: nowrap; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); }
  .lp-ht-tag.t1 { --c: #22c55e; left: calc(50% - 560px); top: 200px; }
  .lp-ht-tag.t2 { --c: #b69cff; left: calc(50% + 440px); top: 250px; animation-duration: 11s; animation-delay: -3s; }
  .lp-ht-tag.t3 { --c: #f59e0b; left: calc(50% - 500px); top: 400px; animation-duration: 10s; animation-delay: -5s; }
  .lp-ht-tag.t4 { --c: #60a5fa; left: calc(50% + 470px); top: 440px; animation-duration: 12s; animation-delay: -1s; }
}
@keyframes lp-ht-drift { from { transform: translate(0, 0); } 50% { transform: translate(14px, -10px); } to { transform: translate(-8px, 12px); } }
@media (prefers-reduced-motion: reduce) { .lp-ht-tag { animation: none; } .lp-ht-go span { transition: none; } }

/* the sign-up card over the page (visitors who are not signed in) */
.lp-ht-dlg { width: min(400px, calc(100% - 32px)); max-height: calc(100% - 32px); margin: auto; padding: 32px 30px 24px; border: 0; border-radius: 18px;
  background: #fff; color: #3f3a52; text-align: left; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6); overflow: auto; }
.lp-ht-dlg::backdrop { background: rgba(8, 2, 37, 0.62); backdrop-filter: blur(3px); }
.lp-ht-dlg-x { position: absolute; top: 10px; right: 10px; margin: 0; }
.lp-ht-dlg-x button { width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: #8a8599; font-size: 22px; line-height: 1; cursor: pointer; }
.lp-ht-dlg-x button:hover { background: #f1eff6; color: #12101a; }
.lp-ht-dlg-brand { margin: 0 0 22px; color: #12101a; font-size: 12px; font-weight: 680; letter-spacing: 0.12em; text-transform: uppercase; }
.lp-ht-dlg h2 { margin: 0 0 8px; color: #12101a; font-size: 28px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 650; }
.lp-ht-dlg-sub { margin: 0 0 20px; font-size: 15px; line-height: 1.55; }
.lp-ht-dlg-idea { position: relative; margin: 0 0 20px; padding: 12px 14px; border: 1px solid #e4e1ec; border-radius: 12px; background: #f8f7fb; }
.lp-ht-dlg-idea[hidden] { display: none; }
.lp-ht-dlg-label { margin: 0 0 4px; color: #8a8599; font: 400 10.5px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.lp-ht-dlg-idea blockquote { margin: 0; padding-right: 56px; color: #12101a; font-size: 14.5px; line-height: 1.5; max-height: 7.5em; overflow: auto; overflow-wrap: anywhere; }
.lp-ht-dlg-copy { position: absolute; top: 8px; right: 8px; min-height: 30px; padding: 0 10px; border: 1px solid #e4e1ec; border-radius: 8px; background: #fff; color: #3f3a52; font: 500 12.5px/1 var(--font); cursor: pointer; }
.lp-ht-dlg-copy:hover { border-color: #c9c3da; color: #12101a; }
.lp-ht-dlg-hint { margin: 8px 0 0; color: #8a8599; font-size: 12.5px; line-height: 1.45; }
.lp-ht-dlg-go { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
.lp-ht-dlg-go:hover { background: #5a22d8; color: #fff; }
.lp-ht-dlg-in { margin: 16px 0 0; text-align: center; font-size: 13.5px; }
.lp-ht-dlg a:not(.lp-ht-dlg-go) { color: #12101a; text-underline-offset: 3px; }
.lp-ht-dlg-free { margin: 18px 0 0; text-align: center; color: #3f3a52; font: 400 10.5px/1.5 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.lp-ht-dlg-legal { margin: 8px 0 0; text-align: center; color: #8a8599; font-size: 12px; }
.lp-ht-dlg-legal a { color: #5c5670 !important; }

/* ---------- the rest of the page ---------- */
/* the two thin side rules run the whole page, framing every section */
.lpn main.lp { position: relative; }
.lpn main.lp::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; z-index: 0; pointer-events: none;
  width: min(calc(var(--max) + 64px), calc(100% - 24px)); transform: translateX(-50%); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.lpn .lp-ht { background: transparent; }
.lpn .lp-ht::after { border: 0; }
.lpn-sec { position: relative; z-index: 1; padding: 104px 0; border-top: 1px solid var(--line); background: transparent; }
.lpn-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 auto 48px; max-width: 760px; }
.lpn-eyebrow { margin: 0 0 14px; color: var(--accent-2); font: 400 11px/1.4 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; }
.lpn-sec h2 { margin: 0; color: var(--text); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 650; text-wrap: balance; }
.lpn-lede { margin: 16px auto 0; max-width: 38rem; color: var(--body); font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.lpn-center { text-align: center; }
.lpn-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--text); font-size: 14.5px; font-weight: 500; text-decoration: none; }
.lpn-link:hover { color: #d6cbff; }
.lpn-link span { transition: transform 0.15s ease; }
.lpn-link:hover span { transform: translateX(2px); }
.lpn-num { color: var(--muted); font: 400 12px/1 var(--mono); letter-spacing: 0.1em; font-variant-numeric: tabular-nums; }
.lpn-sec h3 { margin: 0; color: var(--text); font-size: 17px; letter-spacing: -0.01em; font-weight: 600; }

/* a real build */
.lpn-shot { margin: 0 auto; max-width: 980px; }
.lpn-shot .lpn-frame { overflow: hidden; border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7), 0 0 0 6px rgba(114, 51, 247, 0.06); }
.lpn-frame-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.lpn-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c2940; }
.lpn-frame-bar span { margin-left: 12px; padding: 3px 12px; border-radius: 999px; background: var(--bg); color: var(--muted); font: 12px var(--mono); }
.lpn-shot img { display: block; width: 100%; height: auto; }
/* the close-up of the chip's real wiring, a small card over the lower-right corner of the screenshot (as on today's page) */
.lpn-shot { position: relative; }
.lpn-cells { position: absolute; right: -40px; bottom: 84px; width: 27%; overflow: hidden; border: 1px solid rgba(150, 125, 255, 0.35); border-radius: 14px;
  background: var(--surface); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6); }
.lpn-shot .lpn-cells img { display: block; width: 100%; height: auto; }
.lpn-cells span { display: flex; align-items: center; gap: 7px; padding: 7px 10px; border-top: 1px solid rgba(150, 125, 255, 0.14); color: #e4dcff; font: 500 11.5px var(--mono); letter-spacing: 0.02em; }
.lpn-cells span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4fd18b; box-shadow: 0 0 8px #4fd18b; }
@media (max-width: 1100px) { .lpn-cells { right: 12px; } }
@media (max-width: 700px) { .lpn-cells { right: 10px; bottom: auto; top: 30%; width: 40%; max-width: 180px; border-radius: 10px; }
  .lpn-cells span { padding: 5px 8px; font-size: 10.5px; } }
.lpn-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-bottom: 1px solid var(--line); }
.lpn-stats > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 18px; border-left: 1px solid var(--line); }
.lpn-stats > div:first-child { border-left: 0; }
.lpn-stats dt { color: var(--muted); font-size: 13px; }
.lpn-stats dd { margin: 0; color: var(--text); font: 500 15px/1 var(--mono); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lpn-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 56px 0 0; padding: 0; list-style: none; }
.lpn-facts li { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.lpn-facts b { color: var(--text); font-size: 15px; font-weight: 600; }
.lpn-facts span { color: var(--body); font-size: 14px; line-height: 1.55; }

/* how it works: four rows, words left, the real picture right */
.lpn-steps { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.lpn-steps > li { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 56px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.lpn-steps > li:first-child { border-top: 0; padding-top: 0; }
.lpn-steps > li:last-child { padding-bottom: 0; }
.lpn-step-copy { display: flex; flex-direction: column; gap: 10px; }
.lpn-step-copy h3 { font-size: 22px; }
.lpn-step-copy p { margin: 0; color: var(--body); font-size: 16px; line-height: 1.6; }
.lpn-steps .lp-fig, .lpn-steps .lp-code { border-radius: 14px; }

/* learn: five rungs in one row, then three quiet links */
.lpn-rungs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(14, 8, 48, 0.6); }
.lpn-rungs li { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; border-left: 1px solid var(--line); }
.lpn-rungs li:first-child { border-left: 0; }
.lpn-rungs b { color: var(--text); font-size: 15.5px; font-weight: 600; }
.lpn-rungs li > span:last-child { color: var(--body); font-size: 14px; line-height: 1.5; }
.lpn-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
.lpn-more article, .lpn-grid3 article { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.lpn-more p, .lpn-grid3 p { margin: 0; color: var(--body); font-size: 14.5px; line-height: 1.6; }
.lpn-more .lpn-link, .lpn-who .lpn-link { margin-top: auto; }

/* Nelix AI */
.lpn-rule { margin: 0 auto 56px; max-width: 820px; padding: 28px 32px; border: 1px solid rgba(150, 125, 255, 0.32); border-radius: 16px;
  background: linear-gradient(160deg, rgba(114, 51, 247, 0.16), rgba(14, 8, 48, 0.6) 70%); text-align: center; }
.lpn-rule p { margin: 0; color: var(--text); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5; letter-spacing: -0.01em; text-wrap: balance; }
.lpn-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
#ai .lpn-center { margin: 40px 0 0; }
.lpn-mission { margin: 48px 0 0; text-align: center; color: var(--muted); font-size: 14.5px; }

/* pricing: the shared plans block, centred */
.lpn-plans #plans-title { text-align: center; }
.lpn-plans .wrap > .lede { margin: 16px auto 0; text-align: center; color: var(--body); font-size: 17px; max-width: 38rem; }
.lpn-plans .lp2-note { text-align: center; }

/* questions */
.lpn-faq { max-width: 820px; }
.lpn-faq details { border-top: 1px solid var(--line); }
.lpn-faq details:last-of-type { border-bottom: 1px solid var(--line); }
.lpn-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; color: var(--text); font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.lpn-faq summary::-webkit-details-marker { display: none; }
.lpn-faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.lpn-faq details[open] summary::after { content: "\2212"; }
.lpn-faq details p { margin: 0 0 22px; color: var(--body); font-size: 16px; line-height: 1.65; }

/* closing call */
.lpn-final { text-align: center; padding: 112px 0; background: radial-gradient(40% 60% at 50% 50%, rgba(114, 51, 247, 0.18), transparent 72%); }
.lpn-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; margin-top: 28px; }
.lpn-actions .lp-ht-go { margin-left: 0; min-height: 44px; padding: 0 20px; }
.lpn-actions .cta-auth { display: none; }
html.is-auth .lpn-actions .cta-guest { display: none; }
html.is-auth .lpn-actions .cta-auth { display: inline-flex; }

/* header and footer, in the same quiet style */
.lpn .top { border-bottom-color: var(--line); }
.lpn .foot { position: relative; z-index: 1; }

@media (max-width: 1000px) {
  .lpn-rungs { grid-template-columns: minmax(0, 1fr); }
  .lpn-rungs li { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: baseline; gap: 4px 0; border-left: 0; border-top: 1px solid var(--line); }
  .lpn-rungs li:first-child { border-top: 0; }
  .lpn-rungs li > span:last-child { grid-column: 2; }
  .lpn-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lpn-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lpn-stats > div:nth-child(3) { border-left: 0; }
  .lpn-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .lpn-steps > li { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .lpn-more, .lpn-grid3 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 700px) {
  .lp-ht { padding: 40px 0 48px; }
  .lp-ht-lede { font-size: 16px; }
  .lp-ht-box { padding: 14px 12px 10px 16px; border-radius: 16px; }
  .lp-ht-links { column-gap: 16px; }
  .lp-ht-links i { display: none; }
  .lpn main.lp::before { display: none; }
  .lpn-sec { padding: 64px 0; }
  .lpn-head { margin-bottom: 32px; }
  .lpn-lede { font-size: 16px; }
  .lpn-facts { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 40px; }
  .lpn-rule { padding: 22px 20px; margin-bottom: 40px; }
  .lpn-final { padding: 72px 0; }
  .lpn-stats > div { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) { .lpn-link span { transition: none; } }
