/* Landing page: one dark theme in nelix.io's colours (deep indigo, brand violet), loaded after public.css on the home page only.
   Sections are separated by spacing and slightly lighter panels; no white bands. */
:root {
  --bg: #080225; --surface: #0e0830; --surface-2: #171040; --line: #1d1648; --line-2: #2c2463;
  --text: #eceaf5; --body: #a9a6bd; --muted: #8e8aa6; --accent: #7233f7; --accent-2: #c7adfc;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "Geist Mono", ui-monospace, monospace;
}
html, body { background: var(--bg); color: var(--body); font-family: var(--font); }
a { color: var(--accent-2); }
a:hover { color: #d6cbff; }
.top { background: rgba(8, 2, 37, 0.92); border-bottom-color: var(--line); backdrop-filter: saturate(140%) blur(10px); }
.btn { background: var(--accent); }
.btn:hover { background: #5a22d8; }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.04); }

/* sections: spacing, and every other one on a slightly lighter panel */
.lp .section { padding: 96px 0; background: var(--bg); color: var(--body); border-top: 1px solid var(--line); }
.lp .section.lp-band { background: var(--surface); }
.lp .section h2 { color: var(--text); }
.lp .section h3 { color: var(--text); }
.lp .section .lede { color: var(--body); }

/* hero */
.lp-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); padding: 72px 0 88px; }
/* as on nelix.io: a faint blueprint grid under a violet glow. Decoration only. */
.lp-hero::before, .lp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lp-hero::before {
  background-image: linear-gradient(rgba(150, 125, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 125, 255, 0.07) 1px, transparent 1px);
  background-size: 96px 96px; background-position: center top;
  -webkit-mask-image: radial-gradient(70% 80% at 75% 30%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 80% at 75% 30%, #000 0%, transparent 75%); }
.lp-hero::after { background: radial-gradient(40% 50% at 78% 38%, rgba(114, 51, 247, 0.28), transparent 70%), radial-gradient(30% 40% at 10% 0%, rgba(114, 51, 247, 0.12), transparent 70%); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: start; }
.lp-hero h1 { color: var(--text); letter-spacing: -0.03em; }
.lp-eyebrow { background: rgba(114, 51, 247, 0.14); border-color: rgba(150, 125, 255, 0.4); color: #d6cbff; }
.lp-for { margin: 16px 0 0; color: var(--text); font-size: 16px; font-weight: 500; }
.lp-hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.lp-textlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--text); font-weight: 500; text-decoration: none; }
.lp-textlink:hover { color: #d6cbff; }
.lp-textlink span { transition: transform 0.15s ease; }
.lp-textlink:hover span { transform: translateX(3px); }
.lp-fine { color: var(--muted); font-size: 13px; }
.lp-facts { list-style: none; margin: 36px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.lp-facts li { display: flex; flex-direction: column; gap: 3px; }
.lp-facts b { color: var(--text); font-size: 14px; font-weight: 600; }
.lp-facts span { color: var(--body); font-size: 13.5px; line-height: 1.5; }

/* the real lab in a browser frame, with the real layout as a smaller second picture */
.lp-shot { position: relative; margin: 8px 0 0; }
.lp-frame { overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(114, 51, 247, 0.12); }
.lp-frame-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.lp-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c2940; }
.lp-frame-bar span { margin-left: 12px; padding: 3px 12px; border-radius: 999px; background: var(--bg); color: var(--muted); font: 12px var(--mono); }
.lp-frame img { display: block; width: 100%; height: auto; }
.lp-layout { position: absolute; left: -44px; bottom: -28px; width: 30%; overflow: hidden; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6); }
.lp-layout img { display: block; width: 100%; height: auto; }
.lp-layout span { display: block; padding: 7px 10px; border-top: 1px solid var(--line); color: var(--body); font-size: 12px; }
.lp-shot figcaption { margin-top: 14px; padding-left: calc(30% - 20px); color: var(--muted); font-size: 13px; }

/* how it works */
.lp-steps li { border-color: var(--line); }
.lp-num { background: rgba(114, 51, 247, 0.18); color: #d6cbff; }
.lp-code { background: var(--bg); border: 1px solid var(--line); }
.lp-fig { background: var(--bg); border-color: var(--line); }
.lp-fig.paper { background: var(--bg); }
.lp-fig.paper svg { filter: invert(0.92) hue-rotate(180deg); }
.lp-fig .fg .b-surface { fill: #130b3a; stroke: #3d2f7a; } .lp-fig .fg .b-page { fill: #090522; stroke: #3d2f7a; }
.lp-fig .fg .b-accent-soft { fill: #1d1350; stroke: #6a4fd8; } .lp-fig .fg .b-accent { fill: #8f6bff; }
.lp-fig .fg .b-ink { fill: #e9e6f4; } .lp-fig .fg .b-warn { fill: #a9843a; stroke: #d9b160; }
.lp-cap { color: var(--muted); font-size: 13px; }
.lp-phases li { background: var(--surface-2); border-color: var(--line-2); color: var(--body); font-size: 12.5px; }
.lp-sub { margin: 0 0 8px; font-size: 22px; font-weight: 600; color: var(--text); }
.lp-learn { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
.lp-rungs li b { color: var(--text); }
.lp-rungs li span { color: var(--body); }
.lp-panel { background: var(--bg); border: 1px solid var(--line); }
.lp-panel p { color: var(--body); }

/* Nelix AI */
.lp-rule { background: rgba(114, 51, 247, 0.1); border-color: rgba(150, 125, 255, 0.35); }
.lp-agents article, .lp-who article { background: var(--surface); border: 1px solid var(--line); }
.lp .section.lp-band .lp-agents article, .lp .section.lp-band .lp-who article { background: var(--bg); }
.lp-agents p, .lp-who p { color: var(--body); }
.lp-mission { color: var(--body); }

/* pricing */
.lp-price { max-width: 760px; margin-top: 28px; padding: 28px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface); }
.lp-price h3 { margin: 0 0 6px; font-size: 18px; }
.lp-price p { margin: 0 0 14px; color: var(--body); }
.lp-allow { margin: 0 0 18px; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.lp-allow li { position: relative; padding-left: 22px; color: var(--text); font-size: 15px; }
.lp-allow li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: #7ee2a8; }
.lp-orgs { margin: 28px 0 8px; color: var(--text); font-size: 16px; font-weight: 500; }
.lp-orgs-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; max-width: 760px; }
.lp-orgs-list li { color: var(--body); font-size: 14px; }
.lp-orgs-list b { color: var(--text); }
.plan, .band article { background: var(--surface); border-color: var(--line); }

/* questions + the closing call to action */
.lp-faq details { border-color: var(--line); }
.lp-faq summary { color: var(--text); }
.lp-faq p { color: var(--body); }
.lp-close .lp-final { margin-top: 88px; padding: 56px 40px; border: 1px solid var(--line-2); border-radius: 20px; text-align: center;
  background: radial-gradient(40rem 18rem at 50% 0%, rgba(114, 51, 247, 0.2), transparent 70%), var(--surface); }
.lp-close .lp-final .actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; }

/* footer */
.foot { background: var(--bg); border-top: 1px solid var(--line); }
.foot a { color: var(--body); }
.foot a:hover { color: var(--text); }
.legal { color: var(--muted); }

/* phones: one header row (logo, menu icon, small Request access); Sign in lives in the menu */
.lp-menu-signin { display: none; }
@media (max-width: 980px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .lp-layout { position: relative; left: auto; bottom: auto; width: 46%; max-width: 260px; margin: -48px 0 0 12px; }
  .lp-shot figcaption { padding-left: 0; }
  .nav-box .lp-menu-signin { display: block; }
}
@media (max-width: 680px) {
  .top-inner { flex-wrap: nowrap; gap: 12px; padding: 0; min-height: 60px; }
  .brand { order: 1; flex: 1 1 auto; font-size: 12.5px; }
  .nav-box { order: 3; }
  .cta { order: 2; width: auto; margin: 0; }
  .cta .lp-signin, html.is-auth .cta .btn.lp-signin { display: none; }
  .cta .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; }
  .nav-box[open] .nav { position: absolute; left: 0; right: 0; top: 60px; padding: 8px 14px 14px; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav-box .nav a { display: flex; align-items: center; min-height: 44px; font-size: 16px; }
  .lp-hero { padding: 40px 0 64px; }
  .lp-facts { grid-template-columns: 1fr; }
  .lp-allow { grid-template-columns: 1fr; }
  .lp .section { padding: 64px 0; }
  .lp-close .lp-final { padding: 40px 20px; }
  .foot nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
  .foot nav a, .foot .brand a { display: inline-flex; align-items: center; min-height: 40px; }
}
/* the menu and footer show Sign in to visitors and Workspace/Dashboard to signed-in users, never both */
html:not(.is-auth) .nav-box .nav a.cta-auth, html.is-auth .nav-box .nav a.cta-guest,
html:not(.is-auth) .foot a.cta-auth, html.is-auth .foot a.cta-guest { display: none; }
@media (prefers-reduced-motion: reduce) { .lp-textlink span { transition: none; } }

/* ---------- premium hero (2026-10-29): CSS only, same words and pictures ---------- */
.lp-hero { padding: 96px 0 112px; }
@media (min-width: 981px) {
  .lp-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; gap: 64px; }
  .lp-shot { margin-top: 56px; }
}
.lp-hero h1 { font-size: clamp(40px, 4.6vw, 66px); font-weight: 650; line-height: 1.0; letter-spacing: -0.045em;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 45%, #cdb8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 10px; font-size: 12.5px; letter-spacing: 0.01em;
  border: 1px solid transparent; background: linear-gradient(rgba(20, 10, 60, 0.9), rgba(20, 10, 60, 0.9)) padding-box,
  linear-gradient(90deg, rgba(199, 173, 252, 0.7), rgba(114, 51, 247, 0.25)) border-box; box-shadow: 0 0 24px rgba(114, 51, 247, 0.25); }
.lp-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #c7adfc; box-shadow: 0 0 0 3px rgba(199, 173, 252, 0.18), 0 0 10px #a886ff; }
.lp-hero .lede { max-width: 36ch; color: #bdb8d6; font-size: 19px; line-height: 1.6; }
.lp-for { color: #ece8fb; font-size: 15px; letter-spacing: 0.01em; }
.lp-hero .actions { gap: 24px; margin-top: 32px; }
.lp-hero .actions .btn { padding: 14px 24px; border-radius: 12px; font-weight: 600;
  background: linear-gradient(180deg, #8452fa 0%, #7233f7 55%, #6526e8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 0 1px rgba(114, 51, 247, 0.6), 0 10px 30px -6px rgba(114, 51, 247, 0.65);
  transition: transform 160ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 160ms; }
.lp-hero .actions .btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 0 1px rgba(150, 110, 255, 0.8), 0 14px 38px -6px rgba(114, 51, 247, 0.8); }
.lp-textlink { color: #ece8fb; font-weight: 500; text-decoration: none; }
.lp-textlink span { display: inline-block; transition: transform 160ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.lp-textlink:hover { color: #fff; } .lp-textlink:hover span { transform: translateX(4px); }
.lp-fine { max-width: 52ch; color: #8a85a6; font-size: 12.5px; line-height: 1.6; }
.lp-facts { margin-top: 40px; padding-top: 0; border-top: 0; gap: 12px; }
.lp-facts li { position: relative; padding: 14px 16px 14px 42px; border: 1px solid rgba(150, 125, 255, 0.14); border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)); }
.lp-facts li::before { content: ""; position: absolute; left: 15px; top: 17px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(114, 51, 247, 0.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.9' fill='none' stroke='%23d6c6ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.lp-facts b { font-size: 13.5px; } .lp-facts span { font-size: 12.5px; color: #a49fc0; }
/* the product shot: lit edge, soft bloom, a slight angle on wide screens */
.lp-shot { perspective: 2000px; }
.lp-shot::before { content: ""; position: absolute; inset: -12% -8% -6% -6%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 55% 45%, rgba(114, 51, 247, 0.45), transparent 70%); filter: blur(30px); }
.lp-frame { border: 1px solid transparent; border-radius: 16px;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
  linear-gradient(160deg, rgba(214, 198, 255, 0.6), rgba(114, 51, 247, 0.25) 35%, rgba(255, 255, 255, 0.05) 70%) border-box;
  box-shadow: 0 50px 100px -20px rgba(4, 0, 20, 0.9), 0 30px 60px -30px rgba(114, 51, 247, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.lp-frame-bar { background: linear-gradient(180deg, #1a1248, #130c3a); border-bottom-color: rgba(150, 125, 255, 0.12); }
.lp-frame-bar i:nth-child(1) { background: #ff6b6b; opacity: 0.7; } .lp-frame-bar i:nth-child(2) { background: #f5c451; opacity: 0.7; } .lp-frame-bar i:nth-child(3) { background: #4fd18b; opacity: 0.7; }
.lp-frame-bar span { background: rgba(8, 2, 37, 0.7); border: 1px solid rgba(150, 125, 255, 0.14); color: #a49fc0; }
.lp-layout { border: 1px solid transparent; border-radius: 14px;
  background: linear-gradient(rgba(16, 9, 52, 0.92), rgba(16, 9, 52, 0.92)) padding-box,
  linear-gradient(150deg, rgba(214, 198, 255, 0.7), rgba(114, 51, 247, 0.2)) border-box;
  box-shadow: 0 30px 60px -10px rgba(4, 0, 20, 0.85), 0 0 40px -10px rgba(114, 51, 247, 0.6); }
.lp-layout span { display: flex; align-items: center; gap: 7px; border-top-color: rgba(150, 125, 255, 0.14); color: #e4dcff; font: 500 11.5px var(--mono); letter-spacing: 0.02em; }
.lp-layout span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4fd18b; box-shadow: 0 0 8px #4fd18b; }
.lp-shot figcaption { color: #8a85a6; font-size: 12.5px; }
@media (min-width: 1100px) {
  .lp-frame { transform: rotateY(-7deg) rotateX(3deg); transform-origin: left center; transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
  .lp-shot:hover .lp-frame { transform: rotateY(-2deg) rotateX(1deg); }
}
@media (max-width: 900px) { .lp-hero { padding: 48px 0 72px; } .lp-hero .lede { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .lp-frame, .lp-hero .actions .btn, .lp-textlink span { transition: none; } }
/* phones: a smaller "Its real cells" card so it covers only a corner of the 3D picture */
@media (max-width: 680px) { .lp-layout { width: 36%; max-width: 160px; margin: -32px 0 0 10px; } .lp-layout span { padding: 5px 8px; font-size: 10.5px; } }
