/* ==========================================================================
   LimitlessAI — Core Design System v2
   One file. Tokens, base, navigation, footer, components, effects.
   Every redesigned page loads exactly: core.css (+ its own <style> block).
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* surfaces */
  --bg-0: #04050a;
  --bg-1: #090c14;
  --bg-2: #0e1220;
  --surface: rgba(255, 255, 255, 0.032);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);

  /* ink */
  --ink-1: #f2f5fc;
  --ink-2: #a9b2c8;
  --ink-3: #6b7590;

  /* brand — from the LimitlessAI mark: cyan → violet */
  --cyan: #00d4ff;
  --cyan-soft: #7be6ff;
  --iris: #818cf8;
  --violet: #8b5cf6;
  --violet-deep: #7c3aed;
  --grad-brand: linear-gradient(100deg, var(--cyan) 0%, var(--iris) 55%, var(--violet) 100%);
  --grad-brand-soft: linear-gradient(100deg, rgba(0, 212, 255, 0.16), rgba(139, 92, 246, 0.16));

  /* signals */
  --green: #2fe6a8;
  --amber: #fbc84a;
  --red: #ff6b81;

  /* type */
  --font-sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* geometry */
  --nav-h: 68px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --container: 1200px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.83, 0, 0.17, 1);

  /* elevation */
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, 0.45), 0 20px 60px rgba(0, 0, 0, 0.5);
  --glow-cyan: 0 0 0 1px rgba(0, 212, 255, 0.22), 0 8px 40px rgba(0, 212, 255, 0.14);
  --glow-violet: 0 0 0 1px rgba(139, 92, 246, 0.25), 0 8px 40px rgba(124, 58, 237, 0.18);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { color: var(--ink-1); margin: 0 0 0.5em; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
a { color: var(--cyan-soft); text-decoration: none; }
a:hover { color: var(--ink-1); }
img, svg, video { max-width: 100%; height: auto; display: block; }
::selection { background: rgba(0, 212, 255, 0.28); color: #fff; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* thin premium scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 99px; border: 3px solid var(--bg-0); }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- 3. Layout primitives ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container.narrow { max-width: 880px; }
.container.wide { max-width: 1360px; }

.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.section.alt { background: var(--bg-1); border-block: 1px solid var(--line); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- 4. Typography patterns ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 24px; height: 1px; background: var(--grad-brand); }
.kicker.center::after { content: ""; width: 24px; height: 1px; background: var(--grad-brand); }

.display {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.04;
}
.title-lg { font-size: clamp(2rem, 4vw, 3rem); font-weight: 640; letter-spacing: -0.035em; line-height: 1.08; }
.title-md { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 620; letter-spacing: -0.025em; }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.lede { font-size: clamp(1.06rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }

.mono-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }

/* big editorial index numbers — 01 / 02 / 03 */
.idx { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); letter-spacing: 0.08em; }
.idx b { color: var(--cyan); font-weight: 500; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--r-sm);
  font-family: var(--font-sans); font-size: 15px; font-weight: 550; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.2s;
  text-decoration: none;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn svg { flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(100deg, #00c2ea, #6d5ef0 90%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 28px rgba(56, 130, 246, 0.35);
}
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 12px 36px rgba(78, 118, 255, 0.45); }

.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink-1); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.28); transform: translateY(-1px); }

.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }

.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 550; font-size: 15px; color: var(--cyan-soft); }
.arrow-link::after { content: "→"; transition: transform 0.25s var(--ease); }
.arrow-link:hover { color: #fff; }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- 6. Chips, badges, stats ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 99px;
  border: 1px solid var(--line-2); background: var(--surface);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-2);
  white-space: nowrap;
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.chip.brand { border-color: rgba(0, 212, 255, 0.35); color: var(--cyan-soft); background: rgba(0, 212, 255, 0.07); }

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat .stat-n { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 650; letter-spacing: -0.04em; color: var(--ink-1); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .stat-n em { font-style: normal; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .stat-l { font-size: 13.5px; color: var(--ink-3); }

/* pill row under heros */
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ---------- 7. Cards ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-1); }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; letter-spacing: -0.015em; }
.card p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 0; }

.card .card-icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--grad-brand-soft);
  border: 1px solid rgba(0, 212, 255, 0.22);
  color: var(--cyan-soft);
}
.card .card-icon svg { width: 21px; height: 21px; }

/* hover ray — subtle radial light that follows the card top */
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px 140px at 50% -8%, rgba(0, 212, 255, 0.12), transparent 70%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.card:hover::after { opacity: 1; }

/* animated conic border for featured cards */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.glow-card { position: relative; background: var(--bg-1); border: 1px solid transparent; border-radius: var(--r-md); }
.glow-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--ang) at 50% 50%,
    rgba(0, 212, 255, 0) 0deg, rgba(0, 212, 255, 0.7) 70deg, rgba(139, 92, 246, 0.7) 140deg, rgba(0, 212, 255, 0) 220deg, rgba(0, 212, 255, 0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-ang 6s linear infinite;
  pointer-events: none;
}
@keyframes spin-ang { to { --ang: 360deg; } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bento > * { grid-column: span 4; }
.bento .span-3 { grid-column: span 3; } .bento .span-4 { grid-column: span 4; }
.bento .span-5 { grid-column: span 5; } .bento .span-6 { grid-column: span 6; }
.bento .span-7 { grid-column: span 7; } .bento .span-8 { grid-column: span 8; }
.bento .span-12 { grid-column: span 12; }
@media (max-width: 1024px) { .bento > * { grid-column: span 6 !important; } }
@media (max-width: 720px) { .bento > * { grid-column: span 12 !important; } }

/* ---------- 8. Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(255, 255, 255, 0.015); }
table.lx { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
table.lx th {
  text-align: left; padding: 14px 20px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); border-bottom: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}
table.lx td { padding: 15px 20px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
table.lx tr:last-child td { border-bottom: 0; }
table.lx tbody tr { transition: background 0.2s; }
table.lx tbody tr:hover { background: rgba(0, 212, 255, 0.035); }
table.lx td:first-child { color: var(--ink-1); font-weight: 550; }
table.lx .num { font-variant-numeric: tabular-nums; font-family: var(--font-mono); font-size: 13.5px; }

/* ---------- 9. Code window / terminal ---------- */
.code-win {
  background: #070910; border: 1px solid var(--line-2); border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow-2); font-size: 13.5px;
}
.code-win .cw-bar {
  display: flex; align-items: center; gap: 8px; padding: 11px 16px;
  border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
}
.code-win .cw-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.code-win .cw-bar i:nth-child(1) { background: #ff5f57; }
.code-win .cw-bar i:nth-child(2) { background: #febc2e; }
.code-win .cw-bar i:nth-child(3) { background: #28c840; }
.code-win .cw-title { margin-left: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.code-win pre { margin: 0; padding: 20px; overflow-x: auto; font-family: var(--font-mono); line-height: 1.75; color: #c7d3ec; }
.code-win .tok-k { color: var(--cyan-soft); }
.code-win .tok-s { color: #b8a6ff; }
.code-win .tok-n { color: var(--green); }
.code-win .tok-c { color: var(--ink-3); }
.code-win .tok-f { color: #82aaff; }

/* blinking cursor for typed terminals */
.cursor { display: inline-block; width: 8px; height: 1.1em; background: var(--cyan); vertical-align: text-bottom; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- 10. Steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 18px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-mono); font-size: 13px; color: var(--cyan); letter-spacing: 0.1em;
}
.step::after { content: ""; position: absolute; top: 6px; left: 0; width: 100%; height: 1px; background: var(--line); }
.step h3 { font-size: 1.05rem; margin: 10px 0 6px; }
.step p { font-size: 14px; margin: 0; }

/* ---------- 11. Accordion ---------- */
details.acc { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); margin-bottom: 10px; overflow: hidden; }
details.acc summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  color: var(--ink-1); font-weight: 550; font-size: 15.5px;
  transition: background 0.2s;
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-family: var(--font-mono); color: var(--ink-3); font-size: 18px; transition: transform 0.3s var(--ease); }
details.acc[open] summary::after { transform: rotate(45deg); color: var(--cyan); }
details.acc summary:hover { background: rgba(255, 255, 255, 0.03); }
details.acc .acc-body { padding: 0 22px 20px; font-size: 14.5px; color: var(--ink-2); }

/* ---------- 12. Tabs ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.tabs button {
  border: 0; background: transparent; color: var(--ink-2); cursor: pointer;
  padding: 9px 18px; border-radius: 9px; font-family: var(--font-sans); font-size: 14px; font-weight: 550;
  transition: background 0.25s var(--ease), color 0.2s;
}
.tabs button.on { background: rgba(255, 255, 255, 0.09); color: var(--ink-1); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset; }
.tab-pane { display: none; }
.tab-pane.on { display: block; animation: pane-in 0.45s var(--ease); }
@keyframes pane-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- 13. CTA band ---------- */
.cta-band {
  position: relative; text-align: center;
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: clamp(48px, 7vw, 88px) 28px; overflow: hidden;
  background:
    radial-gradient(600px 240px at 50% -10%, rgba(0, 212, 255, 0.14), transparent 65%),
    radial-gradient(600px 240px at 50% 110%, rgba(124, 58, 237, 0.16), transparent 65%),
    var(--bg-1);
}
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -0.035em; }
.cta-band p { max-width: 54ch; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 14. Navigation ---------- */
.ln-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.ln-nav.scrolled {
  background: rgba(4, 5, 10, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(18px); backdrop-filter: saturate(140%) blur(18px);
  border-bottom-color: var(--line);
}
.ln-nav-in {
  max-width: 1320px; margin-inline: auto; height: 100%;
  display: flex; align-items: center; gap: 28px; padding-inline: 24px;
}

.ln-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-1); font-weight: 650; font-size: 17.5px; letter-spacing: -0.02em; }
.ln-logo:hover { color: var(--ink-1); }
.ln-logo em { font-style: normal; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ln-logo svg { width: 26px; height: 26px; }

.ln-menu { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.ln-item { position: relative; }
.ln-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 9px; border: 0; background: none; cursor: pointer;
  color: var(--ink-2); font-family: var(--font-sans); font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.ln-link:hover, .ln-item.open > .ln-link { color: var(--ink-1); background: rgba(255, 255, 255, 0.05); }
.ln-link .chev { width: 10px; height: 10px; opacity: 0.6; transition: transform 0.25s var(--ease); }
.ln-item:hover .chev, .ln-item.open .chev { transform: rotate(180deg); }

.ln-dd {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 300px; padding: 10px;
  background: rgba(10, 12, 20, 0.92);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.ln-item:hover .ln-dd, .ln-item:focus-within .ln-dd, .ln-item.open .ln-dd {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.ln-dd.wide { min-width: 560px; }
.ln-dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ln-dd a {
  display: block; padding: 11px 14px; border-radius: 10px; color: var(--ink-2);
  transition: background 0.18s, color 0.18s;
}
.ln-dd a:hover { background: rgba(255, 255, 255, 0.055); color: var(--ink-1); }
.ln-dd a strong { display: block; color: var(--ink-1); font-size: 14px; font-weight: 550; letter-spacing: -0.01em; }
.ln-dd a span { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; line-height: 1.45; }
.ln-dd .ln-dd-lead {
  background: var(--grad-brand-soft); border: 1px solid rgba(0, 212, 255, 0.18); margin-bottom: 8px;
}
.ln-dd .ln-dd-lead strong { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ln-dd-grid .ln-dd-lead { grid-column: 1 / -1; }

.ln-actions { display: flex; align-items: center; gap: 12px; }
.ln-cart { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--ink-2); border: 1px solid transparent; transition: 0.2s; }
.ln-cart:hover { color: var(--ink-1); background: rgba(255, 255, 255, 0.05); }
.ln-cart svg { width: 19px; height: 19px; }
.ln-cart-n {
  position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 99px; background: var(--grad-brand); color: #fff;
  font-size: 10.5px; font-weight: 650; display: none; align-items: center; justify-content: center;
  font-family: var(--font-mono);
}
.ln-cart-n.show { display: inline-flex; }

.ln-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
.ln-burger span { width: 20px; height: 1.6px; background: var(--ink-1); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.ln-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.ln-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ln-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* mobile panel */
.ln-mobile {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 999;
  background: rgba(4, 5, 10, 0.97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: 20px 24px 48px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: 0.3s var(--ease);
}
.ln-mobile.open { opacity: 1; visibility: visible; transform: none; }
.ln-mobile details { border-bottom: 1px solid var(--line); }
.ln-mobile summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 17px 4px; color: var(--ink-1); font-weight: 550; font-size: 16.5px; cursor: pointer;
}
.ln-mobile summary::-webkit-details-marker { display: none; }
.ln-mobile summary::after { content: "+"; font-family: var(--font-mono); color: var(--ink-3); }
.ln-mobile details[open] summary::after { content: "−"; color: var(--cyan); }
.ln-mobile a.plain { display: block; padding: 17px 4px; border-bottom: 1px solid var(--line); color: var(--ink-1); font-weight: 550; font-size: 16.5px; }
.ln-mobile .ln-mob-links { padding: 2px 4px 16px; display: grid; gap: 2px; }
.ln-mobile .ln-mob-links a { padding: 9px 10px; border-radius: 8px; color: var(--ink-2); font-size: 15px; }
.ln-mobile .ln-mob-links a:hover { background: rgba(255, 255, 255, 0.05); color: var(--ink-1); }
.ln-mobile .ln-mob-cta { display: grid; gap: 10px; margin-top: 24px; }

@media (max-width: 960px) {
  .ln-menu { display: none; }
  .ln-burger { display: flex; }
  .ln-actions .btn { display: none; }
}

/* push page content below fixed nav */
main, .page-top { padding-top: var(--nav-h); }

/* ---------- 15. Footer ---------- */
.ln-footer { border-top: 1px solid var(--line); background: var(--bg-1); position: relative; overflow: hidden; }
.ln-footer::before {
  content: ""; position: absolute; top: -1px; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.6), rgba(139, 92, 246, 0.6), transparent);
}
.ln-footer .f-top {
  display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 40px;
  padding-block: 64px 48px;
}
@media (max-width: 1024px) { .ln-footer .f-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ln-footer .f-top { grid-template-columns: 1fr; } }

.ln-footer .f-brand p { font-size: 14px; max-width: 30ch; margin: 14px 0 20px; }
.ln-footer .f-contact { display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-3); }
.ln-footer .f-contact a { color: var(--ink-2); }
.ln-footer .f-contact a:hover { color: var(--cyan-soft); }

.ln-footer h5 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; font-weight: 500; }
.ln-footer .f-col a { display: block; padding: 5.5px 0; font-size: 14px; color: var(--ink-2); }
.ln-footer .f-col a:hover { color: var(--ink-1); }

.ln-footer .f-trust { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 22px; border-top: 1px solid var(--line); }
.ln-footer .f-trust .chip { font-size: 11px; padding: 5px 11px; }

.ln-footer .f-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding-block: 20px 28px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-3);
}
.ln-footer .f-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.ln-footer .f-legal a { color: var(--ink-3); font-size: 13px; }
.ln-footer .f-legal a:hover { color: var(--ink-1); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.status-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse-dot 2.4s ease infinite; }
@keyframes pulse-dot { 50% { opacity: 0.5; } }

/* ---------- 16. Effects kit ---------- */

/* aurora background — place inside a position:relative section */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora i {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; will-change: transform;
}
.aurora i:nth-child(1) { width: 640px; height: 640px; left: -12%; top: -22%; background: radial-gradient(circle, rgba(0, 212, 255, 0.32), transparent 62%); animation: drift-a 26s var(--ease-io) infinite alternate; }
.aurora i:nth-child(2) { width: 720px; height: 720px; right: -18%; top: -10%; background: radial-gradient(circle, rgba(124, 58, 237, 0.34), transparent 62%); animation: drift-b 32s var(--ease-io) infinite alternate; }
.aurora i:nth-child(3) { width: 520px; height: 520px; left: 32%; bottom: -42%; background: radial-gradient(circle, rgba(129, 140, 248, 0.25), transparent 62%); animation: drift-c 38s var(--ease-io) infinite alternate; }
@keyframes drift-a { to { transform: translate(90px, 70px) scale(1.12); } }
@keyframes drift-b { to { transform: translate(-110px, 60px) scale(0.94); } }
@keyframes drift-c { to { transform: translate(60px, -80px) scale(1.08); } }

/* dot grid */
.fx-grid { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 38%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 58% at 50% 38%, #000 40%, transparent 100%);
}

/* fine line grid variant */
.fx-lines { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 100%);
}

/* film grain — kills flat-gradient banding, adds texture */
.fx-grain { position: relative; }
.fx-grain::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px;
}

/* scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--rd, 0s); will-change: opacity, transform; }
[data-reveal="left"] { transform: translateX(-26px); }
[data-reveal="right"] { transform: translateX(26px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal].in { opacity: 1; transform: none; }

/* marquee */
.marquee { overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee var(--mq-speed, 36s) linear infinite; padding-block: 4px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* orbiting ring ornament */
.orbit-ring { position: relative; }
.orbit-ring::before {
  content: ""; position: absolute; inset: -18%; border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  animation: rotate-slow 40s linear infinite;
}
@keyframes rotate-slow { to { transform: rotate(360deg); } }

/* soft float for decorative nodes */
.float-slow { animation: float-y 7s ease-in-out infinite; }
.float-slower { animation: float-y 10s ease-in-out infinite reverse; }
@keyframes float-y { 50% { transform: translateY(-12px); } }

/* shimmer sweep across a surface (use sparingly) */
.shimmer { position: relative; overflow: hidden; }
.shimmer::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
  transform: translateX(-120%); animation: shimmer-x 5.5s var(--ease) infinite;
}
@keyframes shimmer-x { 12%, 100% { transform: translateX(120%); } }

/* waveform bars (voice pages, status meters) */
.wave { display: flex; align-items: center; gap: 4px; height: 44px; }
.wave i { width: 4px; border-radius: 3px; background: var(--grad-brand); height: 30%; animation: wave-y 1.3s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: 0.12s; } .wave i:nth-child(3n) { animation-delay: 0.24s; }
.wave i:nth-child(4n) { animation-delay: 0.36s; } .wave i:nth-child(5n) { animation-delay: 0.48s; }
@keyframes wave-y { 50% { height: 100%; } }

/* skeleton pulse line (dashboard mockups) */
.pulse-line { border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.11) 50%, rgba(255,255,255,.05) 75%); background-size: 200% 100%; animation: pulse-x 2.2s linear infinite; }
@keyframes pulse-x { to { background-position: -200% 0; } }

/* ---------- 17. Toast ---------- */
.lx-toast {
  position: fixed; right: 22px; bottom: 22px; z-index: 2000;
  display: flex; align-items: center; gap: 12px;
  background: rgba(12, 15, 24, 0.95); border: 1px solid var(--line-2); border-radius: 13px;
  padding: 14px 18px; box-shadow: var(--shadow-2); color: var(--ink-1); font-size: 14.5px;
  transform: translateY(16px); opacity: 0; transition: 0.35s var(--ease);
  max-width: min(92vw, 380px);
}
.lx-toast.show { transform: none; opacity: 1; }
.lx-toast .t-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--grad-brand-soft); border: 1px solid rgba(0,212,255,.25); display: grid; place-items: center; color: var(--cyan-soft); flex: none; }
.lx-toast a { color: var(--cyan-soft); font-weight: 550; white-space: nowrap; }

/* ---------- 18. Page hero (subpages) ---------- */
.page-hero { position: relative; padding: clamp(96px, 14vw, 150px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.page-hero .breadcrumb { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 22px; }
.page-hero .breadcrumb a { color: var(--ink-3); } .page-hero .breadcrumb a:hover { color: var(--cyan-soft); }
.page-hero .breadcrumb .sep { opacity: 0.45; }

/* ---------- 19. Utility ---------- */
.center { text-align: center; }
.muted { color: var(--ink-3); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.flex { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.relative { position: relative; } .z1 { position: relative; z-index: 1; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; margin: 0; }

/* ---------- 20. Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
