:root[data-docs-home] { color-scheme:dark; background:#061511; --page:#061511; --surface:#0b221a; --surface-soft:#102d22; --text:#e0f4e8; --muted:#a0b9ac; --line:#28483b; --accent:#98edc2; --accent-soft:#153a2b; --selection:#2b6048; }
.home-page { background:var(--page); color:#bedacb; font-family:'Cascadia Code','SFMono-Regular',Consolas,'Liberation Mono',monospace; }
.home-page .site-header { position:fixed; top:0; left:0; right:0; z-index:30; border-bottom:1px solid transparent; background:linear-gradient(180deg,#04130edb,transparent); pointer-events:auto; transition:background .2s,border-color .2s; }
.home-page .site-header.is-scrolled,html:not(.js) .home-page .site-header { background:#061511f5; border-bottom-color:#28483b; backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); }
.home-page .header-inner { min-height:0; height:66px; padding:10px 48px; max-width:none; margin:0; display:flex; justify-content:space-between; gap:20px; }
.portal-signature { pointer-events:auto; display:inline-flex; align-items:center; min-height:44px; }
.portal-signature .wordmark { font-family:inherit; font-size:27px; color:#e6f7ed; }
.portal-signature .lia-logo { height:30px; }
.portal-signature .lia-logo-mark { color:#b0f2cf; }
.portal-navigation { display:flex; align-items:center; gap:16px; margin-left:auto; pointer-events:auto; }
.portal-nav-link { display:inline-flex; align-items:center; gap:9px; min-height:44px; min-width:44px; justify-content:center; color:#c7dfcf; font-size:12px; }
.portal-nav-link:hover { color:#a4efc7; }
.portal-nav-link .icon { width:15px; height:15px; }
.nav-label-short { display:none; }
.portal-pill { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:46px; padding:11px 22px; border:1px solid #54756299; border-radius:7px; background:#0b2119ec; font-family:inherit; font-size:14px; font-weight:500; line-height:1.3; letter-spacing:-.025em; color:#e6f7ed; white-space:nowrap; backdrop-filter:blur(12px); transition:border-color .2s,background .2s,transform .2s; pointer-events:auto; }
.portal-pill .icon { width:18px; height:18px; stroke-width:1.8; }
.portal-pill:hover { border-color:#92ba9e; transform:translateY(-1px); }

.pill-explore { background:#a0ebc3; border-color:#a0ebc3; color:#07261a; box-shadow:0 0 28px #4fd99d16; }.pill-explore .icon { color:currentColor; }.pill-explore:hover { background:#b9f5d3; border-color:#b9f5d3; }
.pill-telegram { background:#09271bb3; border-color:#73a88888; }.pill-telegram .icon { color:#a7ecc8; }

.portal-hero { height:clamp(510px,76svh,780px); min-height:0; position:relative; isolation:isolate; overflow:hidden; display:flex; align-items:center; justify-content:center; background:#051710; }
.ascii-scene { position:absolute; inset:0; z-index:-2; overflow:hidden; }
.ascii-scene>svg,.ascii-scene>canvas { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.ascii-scene>canvas { opacity:0; }
.has-ascii-canvas .ascii-scene>canvas { opacity:1; }
.has-ascii-canvas [data-ascii-fallback] { display:none; }
.ascii-scanlines { position:absolute; inset:0; pointer-events:none; opacity:.08; background:repeating-linear-gradient(0deg,transparent 0,transparent 3px,#020c08 4px,#020c08 5px); }
.portal-vignette { position:absolute; z-index:-1; inset:0; pointer-events:none; background:radial-gradient(ellipse at 50% 42%,#03150dc2 0%,#03150d85 25%,transparent 62%),linear-gradient(180deg,#04140d48,transparent 18%,transparent 78%,#061511); }
.portal-center { width:100%; padding:70px 20px 22px; margin-top:-10px; text-align:center; }
.portal-center h1 { display:flex; justify-content:center; margin:0; font-weight:400; font-size:inherit; line-height:1; letter-spacing:0; }
.portal-brand { position:relative; display:block; width:clamp(320px,38vw,540px); max-width:100%; isolation:isolate; color:#effbf4; }
.portal-brand .lia-logo { position:relative; display:block; width:100%; height:auto; filter:drop-shadow(0 0 24px #b0f2cf18); }
.portal-brand .lia-logo-mark { color:#b0f2cf; }
.portal-brand::before { content:''; position:absolute; z-index:-1; inset:-70% -24%; background:radial-gradient(ellipse,#72e5ab16,transparent 65%); pointer-events:none; }
.js .portal-brand { animation:brand-arrive 1.3s cubic-bezier(.2,.7,.2,1) both paused; }
.js .portal-brand::before { animation:brand-glow 8s ease-in-out infinite alternate paused; }
.is-animating .portal-brand,.is-animating .portal-brand::before { animation-play-state:running; }
@keyframes brand-arrive { from { opacity:.65; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@keyframes brand-glow { from { opacity:.4; transform:scale(.94); } to { opacity:1; transform:scale(1.05); } }
.portal-tagline { color:#dbf1e3; font-size:16px; line-height:1.6; letter-spacing:.015em; margin-top:25px; text-shadow:0 2px 4px #021008; }
.portal-description { max-width:38ch; margin:9px auto 0; color:#a9cdb7; font-size:14px; line-height:1.7; text-wrap:balance; }
.portal-actions { display:inline-flex; align-items:center; justify-content:center; gap:13px; margin-top:28px; max-width:100%; }
.portal-actions .portal-pill { min-height:47px; padding:12px 23px; }
.portal-search,.motion-toggle { flex:none; display:none; justify-content:center; align-items:center; width:44px; height:44px; padding:10px; background:transparent; color:#c7dfcf; border:1px solid transparent; border-radius:7px; }
.js .portal-search,.js .motion-toggle { display:inline-flex; }
.portal-search:hover,.motion-toggle:hover { background:#153a2bcc; border-color:#48765e; color:#b0f2cf; }
.motion-toggle svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.4; stroke-linecap:round; }
.motion-play,.motion-toggle[aria-pressed="true"] .motion-pause { display:none; }
.motion-toggle[aria-pressed="true"] .motion-play { display:block; }
.terminal-content { max-width:860px; margin:auto; padding:44px 26px 34px; }
.terminal-content h2 { font-size:29px; font-family:inherit; font-weight:400; letter-spacing:-.025em; line-height:1.4; color:#e8fbef; display:flex; gap:14px; align-items:center; }
.terminal-icon { display:block; flex:none; }
.terminal-icon .icon { width:27px; height:27px; stroke-width:1.7; }
.icon-docs { color:#99e9bc; }
.docs-directory { scroll-margin-top:0; }
.directory-heading { margin-bottom:22px; }
.directory-heading>p { margin-top:12px; max-width:60ch; text-wrap:balance; color:#a4c5b0; font-size:14px; line-height:1.75; }
.learn-search { display:flex; align-items:center; gap:14px; margin:0 0 24px; padding:7px 8px 7px 16px; background:#0c2119; border:1px solid #2d4d3c; border-radius:7px; color:#94bda5; }
.learn-search>svg { width:19px; height:19px; }
.learn-search input { width:0; min-width:0; flex:1; height:41px; font-size:15px; color:#e4f6e9; background:none; border:0; font-family:inherit; }
.learn-search input::placeholder { color:#9cb9a7; opacity:1; }
.learn-search kbd { font-size:10px; color:#8daa98; }
.learn-search button { display:grid; place-items:center; flex:none; width:44px; height:44px; background:#1a3e2b; color:#b4efd0; border-radius:5px; }
.learn-search button:hover { background:#28563d; }
.learn-search button .icon { width:18px; height:18px; }
.learn-search:focus-within { border-color:#a4efc7; box-shadow:0 0 0 1px #a4efc7; }
.learn-search input:focus-visible { outline:none; }
.doc-group { border-top:1px solid #294737; scroll-margin-top:0; }
.doc-group:last-child { border-bottom:1px solid #294737; }
.doc-group summary { min-height:68px; display:flex; align-items:center; gap:19px; list-style:none; cursor:pointer; }
.doc-group summary::-webkit-details-marker { display:none; }
.doc-group h3 { flex:1; font-family:inherit; font-size:17px; font-weight:400; letter-spacing:-.015em; line-height:1.4; color:#cee8d8; }
.doc-group-toggle { width:20px; text-align:center; font-size:21px; font-weight:400; color:#9bdfb8; transition:transform .2s; }
.doc-group[open] .doc-group-toggle { transform:rotate(45deg); }
.doc-group[open] h3 { color:#c8f5d9; }
.doc-group[open] .doc-group-links { border-left:1px solid #4a8562; margin:0 0 17px 3px; padding:0 0 5px 20px; }
.doc-group summary:hover h3 { color:#fff; }
.doc-group-links { display:grid; grid-template-columns:1fr 1fr; column-gap:28px; padding:0 0 22px 30px; }
.doc-group-links a { display:flex; justify-content:space-between; align-items:center; gap:15px; min-height:48px; padding:10px 0; color:#bed9c9; font-size:14px; line-height:1.6; }
.doc-group-links .icon { width:16px; height:16px; flex:none; color:#91bca1; }
.doc-group-links a:hover { color:#d8f9e4; text-decoration:underline; text-underline-offset:4px; }
.minimal-footer { max-width:860px; padding:34px 26px 30px; margin:auto; display:flex; align-items:center; justify-content:center; gap:20px; font-size:12px; font-weight:500; color:#91ab9a; }
.minimal-footer nav { flex:1; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px 28px; }
.minimal-footer a { display:inline-flex; align-items:center; min-height:44px; }
.minimal-footer a:hover { color:#d5f1df; }
.home-back-top { flex:none; width:44px; height:44px; justify-content:center; border:1px solid #28483b; border-radius:7px; background:#0b221a; }
.home-back-top .icon { width:19px; height:19px; }
.home-back-top:hover { border-color:#537b65; }
html:not(.js) .home-page .learn-search { display:none; }
.home-page .noscript-note { font-size:12px; line-height:1.8; color:#a4c5b0; background:#0b221a; }
@media(max-width:1000px) {
  .home-page .header-inner { padding-left:24px; padding-right:24px; }
  .portal-hero { height:clamp(510px,74svh,720px); }
  .portal-brand { width:420px; }
}
@media(max-width:600px) {
  .home-page .header-inner { height:64px; padding:10px 14px; gap:8px; }
  .portal-navigation { gap:6px; }
  .portal-nav-link { font-size:13px; }
  .nav-label-full { display:none; }
  .nav-label-short { display:inline; }
  .portal-signature .lia-logo { height:26px; }
  .portal-hero { height:min(560px,72svh); min-height:470px; }
  .portal-center { padding:76px 16px 22px; margin-top:0; }
  .portal-brand { width:min(78vw,320px); }
  .portal-tagline { font-size:14px; margin-top:22px; }
  .portal-description { font-size:13px; margin-top:8px; }
  .portal-actions { gap:10px; margin-top:28px; }
  .portal-actions .portal-pill { font-size:13px; padding:12px 13px; min-height:48px; gap:8px; }
  .portal-actions .icon { width:16px; height:16px; }
  .terminal-content { padding:32px 21px 16px; }
  .terminal-content h2 { font-size:25px; gap:11px; }
  .terminal-icon .icon { width:23px; height:23px; }
  .directory-heading { margin-bottom:20px; }
  .learn-search { padding-left:13px; gap:9px; }
  .learn-search input { font-size:16px; height:44px; letter-spacing:-.025em; }
  .learn-search kbd { display:none; }
  .learn-search>svg { width:18px; height:18px; }
  .doc-group summary { min-height:68px; gap:14px; }
  .doc-group h3 { font-size:16px; }
  .doc-group-links { grid-template-columns:1fr; }
  .doc-group-links a { font-size:14px; }
  .minimal-footer { padding:22px 21px 20px; gap:14px; font-size:12px; }
  .minimal-footer nav { justify-content:flex-start; gap:3px 18px; }
}
@media(max-width:360px) {
  .portal-navigation { gap:4px; }
  .portal-hero { min-height:520px; }
  .portal-actions { flex-direction:column; width:260px; max-width:100%; gap:9px; }
  .portal-actions .portal-pill { width:100%; }
  .terminal-content { padding-left:18px; padding-right:18px; }
  .terminal-content h2 { font-size:24px; }
}
@media(max-height:500px) and (min-width:601px) {
  .portal-hero { height:max(390px,100svh); }
  .portal-center { padding:76px 20px 22px; margin-top:0; }
  .portal-brand { width:280px; }
  .portal-tagline { font-size:14px; margin-top:12px; }
  .portal-description { font-size:13px; margin-top:6px; }
  .portal-actions { margin-top:18px; }
}
@media(prefers-reduced-motion:reduce) {
  .portal-brand,.portal-brand::before { animation:none!important; }
  .js .motion-toggle { display:none; }
}
@media print { :root[data-docs-home] { color-scheme:light; --page:#fff; --text:#111; }.portal-hero,.home-page .site-header,.learn-search,.minimal-footer { display:none!important; }.terminal-content { max-width:none; padding:0; }.terminal-content h2,.directory-heading>p,.doc-group h3,.doc-group-links a { color:#111; }.doc-group { break-inside:avoid; }.doc-group-links { display:grid; } }
