
/* ==========================================================================
   Nexus Offline Standalone Utility Classes
   100% Offline Compatible - Zero External CDN Network Dependency
   ========================================================================== */

/* Layout & Display */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-1\/2 { top: 50%; }
.left-0 { left: 0; }
.left-3\.5 { left: 14px; }
.left-1\/2 { left: 50%; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.-top-1 { top: -4px; }
.-right-1 { right: -4px; }
.-top-3 { top: -12px; }
.-translate-y-1\/2 { transform: translateY(-50%); }
.-translate-x-1\/2 { transform: translateX(-50%); }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.select-all { user-select: all; }
.break-all { word-break: break-all; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap { white-space: nowrap; }

/* Flexbox & Alignment */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }

/* Grid columns & Spacing */
.gap-1 { gap: 4px; }
.gap-1\.5 { gap: 6px; }
.gap-2 { gap: 8px; }
.gap-2\.5 { gap: 10px; }
.gap-3 { gap: 12px; }
.gap-3\.5 { gap: 14px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-12 { gap: 48px; }

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:w-60 { width: 240px; }
  .sm\:w-64 { width: 256px; }
  .sm\:px-8 { padding-left: 32px; padding-right: 32px; }
  .sm\:text-lg { font-size: 18px; }
  .sm\:text-3xl { font-size: 30px; }
  .sm\:text-4xl { font-size: 36px; }
  .sm\:text-6xl { font-size: 60px; }
  .sm\:inline { display: inline; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:col-span-8 { grid-column: span 8 / span 8; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:pl-64 { padding-left: 256px; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:pl-64 { padding-left: 256px; }
  .lg\:pl-20 { padding-left: 80px; }
}

/* Sizing */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-1\.5 { width: 6px; }
.w-2 { width: 8px; }
.w-2\.5 { width: 10px; }
.w-3 { width: 12px; }
.w-3\.5 { width: 14px; }
.w-4 { width: 16px; }
.w-5 { width: 20px; }
.w-6 { width: 24px; }
.w-7 { width: 28px; }
.w-8 { width: 32px; }
.w-9 { width: 36px; }
.w-10 { width: 40px; }
.w-12 { width: 48px; }
.w-14 { width: 56px; }
.w-16 { width: 64px; }
.w-20 { width: 80px; }
.w-48 { width: 192px; }
.w-64 { width: 256px; }
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }

.h-full { height: 100%; }
.h-1 { height: 4px; }
.h-1\.5 { height: 6px; }
.h-2 { height: 8px; }
.h-2\.5 { height: 10px; }
.h-3 { height: 12px; }
.h-3\.5 { height: 14px; }
.h-4 { height: 16px; }
.h-5 { height: 20px; }
.h-6 { height: 24px; }
.h-7 { height: 28px; }
.h-8 { height: 32px; }
.h-9 { height: 36px; }
.h-10 { height: 40px; }
.h-12 { height: 48px; }
.h-14 { height: 56px; }
.h-16 { height: 64px; }
.h-20 { height: 80px; }
.min-h-screen { min-height: 100vh; }
.min-h-\[520px\] { min-height: 520px; }
.min-h-\[560px\] { min-height: 560px; }
.max-h-\[380px\] { max-height: 380px; }
.max-h-\[400px\] { max-height: 400px; }
.max-h-\[460px\] { max-height: 460px; }
.max-h-\[500px\] { max-height: 500px; }
.max-h-\[85vh\] { max-height: 85vh; }
.max-w-xs { max-width: 320px; }
.max-w-sm { max-width: 384px; }
.max-w-md { max-width: 448px; }
.max-w-lg { max-width: 512px; }
.max-w-xl { max-width: 576px; }
.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }
.max-w-4xl { max-width: 896px; }
.max-w-6xl { max-width: 1152px; }
.max-w-7xl { max-width: 1280px; }

/* Spacing */
.p-1 { padding: 4px; }
.p-2 { padding: 8px; }
.p-2\.5 { padding: 10px; }
.p-3 { padding: 12px; }
.p-3\.5 { padding: 14px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }
.px-1\.5 { padding-left: 6px; padding-right: 6px; }
.px-2 { padding-left: 8px; padding-right: 8px; }
.px-2\.5 { padding-left: 10px; padding-right: 10px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.px-3\.5 { padding-left: 14px; padding-right: 14px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-5 { padding-left: 20px; padding-right: 20px; }
.px-6 { padding-left: 24px; padding-right: 24px; }
.py-0\.5 { padding-top: 2px; padding-bottom: 2px; }
.py-1 { padding-top: 4px; padding-bottom: 4px; }
.py-1\.5 { padding-top: 6px; padding-bottom: 6px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-2\.5 { padding-top: 10px; padding-bottom: 10px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-5 { padding-top: 20px; padding-bottom: 20px; }
.py-6 { padding-top: 24px; padding-bottom: 24px; }
.py-8 { padding-top: 32px; padding-bottom: 32px; }
.py-10 { padding-top: 40px; padding-bottom: 40px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.py-20 { padding-top: 80px; padding-bottom: 80px; }
.py-24 { padding-top: 96px; padding-bottom: 96px; }
.pt-1 { padding-top: 4px; }
.pt-2 { padding-top: 8px; }
.pt-3 { padding-top: 12px; }
.pt-4 { padding-top: 16px; }
.pt-5 { padding-top: 20px; }
.pt-6 { padding-top: 24px; }
.pt-20 { padding-top: 80px; }
.pb-2 { padding-bottom: 8px; }
.pb-2\.5 { padding-bottom: 10px; }
.pb-3 { padding-bottom: 12px; }
.pb-4 { padding-bottom: 16px; }
.pb-5 { padding-bottom: 20px; }
.pb-6 { padding-bottom: 24px; }
.pb-24 { padding-bottom: 96px; }
.pb-28 { padding-bottom: 112px; }
.pl-8 { padding-left: 32px; }
.pr-2 { padding-right: 8px; }
.pr-3 { padding-right: 12px; }
.pr-4 { padding-right: 16px; }

.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }
.mt-0\.5 { margin-top: 2px; }
.mt-1 { margin-top: 4px; }
.mt-1\.5 { margin-top: 6px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-10 { margin-top: 40px; }
.mb-1 { margin-bottom: 4px; }
.mb-1\.5 { margin-bottom: 6px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }
.mb-6 { margin-bottom: 24px; }
.mb-16 { margin-bottom: 64px; }

.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 4px; }
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 6px; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 8px; }
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 10px; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 12px; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 16px; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 20px; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 24px; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 32px; }

/* Typography */
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-xs { font-size: 12px; }
.text-sm { font-size: 14px; }
.text-base { font-size: 16px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.text-3xl { font-size: 30px; }
.text-4xl { font-size: 36px; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-none { line-height: 1; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.underline { text-decoration: underline; }

/* Colors */
.text-white { color: #ffffff; }
.text-slate-100 { color: #f1f5f9; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-blue-300 { color: #93c5fd; }
.text-blue-400 { color: #60a5fa; }
.text-cyan-300 { color: #67e8f9; }
.text-cyan-400 { color: #22d3ee; }
.text-emerald-400 { color: #34d399; }
.text-amber-300 { color: #fcd34d; }
.text-amber-400 { color: #fbbf24; }
.text-purple-300 { color: #d8b4fe; }
.text-purple-400 { color: #c084fc; }
.text-rose-400 { color: #fb7185; }
.text-transparent { color: transparent; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }

/* Backgrounds */
.bg-black { background-color: #000000; }
.bg-black\/20 { background-color: rgba(0, 0, 0, 0.2); }
.bg-black\/30 { background-color: rgba(0, 0, 0, 0.3); }
.bg-black\/40 { background-color: rgba(0, 0, 0, 0.4); }
.bg-black\/50 { background-color: rgba(0, 0, 0, 0.5); }
.bg-white { background-color: #ffffff; }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }
.bg-white\/\[0\.02\] { background-color: rgba(255, 255, 255, 0.02); }
.bg-white\/\[0\.03\] { background-color: rgba(255, 255, 255, 0.03); }
.bg-white\/\[0\.04\] { background-color: rgba(255, 255, 255, 0.04); }
.bg-blue-600 { background-color: #2563eb; }
.bg-blue-500\/10 { background-color: rgba(59, 130, 246, 0.1); }
.bg-blue-600\/10 { background-color: rgba(37, 99, 235, 0.1); }
.bg-blue-600\/15 { background-color: rgba(37, 99, 235, 0.15); }
.bg-blue-600\/20 { background-color: rgba(37, 99, 235, 0.2); }
.bg-cyan-400 { background-color: #22d3ee; }
.bg-cyan-500 { background-color: #06b6d4; }
.bg-cyan-500\/10 { background-color: rgba(6, 182, 212, 0.1); }
.bg-emerald-400 { background-color: #34d399; }
.bg-emerald-500\/10 { background-color: rgba(16, 185, 129, 0.1); }
.bg-amber-400 { background-color: #fbbf24; }
.bg-amber-500\/10 { background-color: rgba(245, 158, 11, 0.1); }
.bg-rose-500\/10 { background-color: rgba(244, 63, 94, 0.1); }
.bg-rose-500 { background-color: #f43f5e; }
.bg-amber-500 { background-color: #f59e0b; }
.bg-emerald-500 { background-color: #10b981; }
.bg-rose-500\/80 { background-color: rgba(244, 63, 94, 0.8); }
.bg-amber-500\/80 { background-color: rgba(245, 158, 11, 0.8); }
.bg-emerald-500\/80 { background-color: rgba(16, 185, 129, 0.8); }
.bg-purple-500\/10 { background-color: rgba(168, 85, 247, 0.1); }

/* Gradients */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-tr { background-image: linear-gradient(to top right, var(--tw-gradient-stops)); }
.from-blue-600 { --tw-gradient-from: #2563eb; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(37, 99, 235, 0)); }
.from-blue-500 { --tw-gradient-from: #3b82f6; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0)); }
.from-blue-400 { --tw-gradient-from: #60a5fa; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(96, 165, 250, 0)); }
.from-cyan-600 { --tw-gradient-from: #0891b2; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(8, 145, 178, 0)); }
.via-cyan-500 { --tw-gradient-stops: var(--tw-gradient-from), #06b6d4, var(--tw-gradient-to, rgba(6, 182, 212, 0)); }
.via-cyan-300 { --tw-gradient-stops: var(--tw-gradient-from), #67e8f9, var(--tw-gradient-to, rgba(103, 232, 249, 0)); }
.to-cyan-400 { --tw-gradient-to: #22d3ee; }
.to-cyan-300 { --tw-gradient-to: #67e8f9; }
.to-indigo-600 { --tw-gradient-to: #4f46e5; }
.to-indigo-400 { --tw-gradient-to: #818cf8; }
.to-blue-600 { --tw-gradient-to: #2563eb; }

/* Borders & Radius */
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-r { border-right-width: 1px; border-right-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }
.border-transparent { border-color: transparent; }
.border-white\/5 { border-color: rgba(255, 255, 255, 0.05); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white\/15 { border-color: rgba(255, 255, 255, 0.15); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-white\/\[0\.05\] { border-color: rgba(255, 255, 255, 0.05); }
.border-white\/\[0\.06\] { border-color: rgba(255, 255, 255, 0.06); }
.border-white\/\[0\.07\] { border-color: rgba(255, 255, 255, 0.07); }
.border-white\/\[0\.08\] { border-color: rgba(255, 255, 255, 0.08); }
.border-blue-500 { border-color: #3b82f6; }
.border-blue-500\/20 { border-color: rgba(59, 130, 246, 0.2); }
.border-blue-500\/30 { border-color: rgba(59, 130, 246, 0.3); }
.border-blue-500\/40 { border-color: rgba(59, 130, 246, 0.4); }
.border-blue-500\/50 { border-color: rgba(59, 130, 246, 0.5); }
.border-blue-500\/60 { border-color: rgba(59, 130, 246, 0.6); }
.border-blue-500\/70 { border-color: rgba(59, 130, 246, 0.7); }
.border-cyan-400 { border-color: #22d3ee; }
.border-cyan-500\/20 { border-color: rgba(6, 182, 212, 0.2); }
.border-cyan-500\/25 { border-color: rgba(6, 182, 212, 0.25); }
.border-cyan-500\/40 { border-color: rgba(6, 182, 212, 0.4); }
.border-cyan-500\/50 { border-color: rgba(6, 182, 212, 0.5); }
.border-emerald-400 { border-color: #34d399; }
.border-amber-400 { border-color: #fbbf24; }
.border-amber-500\/20 { border-color: rgba(245, 158, 11, 0.2); }
.border-amber-500\/25 { border-color: rgba(245, 158, 11, 0.25); }
.border-rose-500\/20 { border-color: rgba(244, 63, 94, 0.2); }

.rounded { border-radius: 4px; }
.rounded-md { border-radius: 6px; }
.rounded-lg { border-radius: 8px; }
.rounded-xl { border-radius: 12px; }
.rounded-2xl { border-radius: 16px; }
.rounded-full { border-radius: 9999px; }
.rounded-tr-none { border-top-right-radius: 0; }
.rounded-tl-none { border-top-left-radius: 0; }

/* Backdrop Blur & Shadows */
.backdrop-blur-sm { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.backdrop-blur-2xl { backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); }

.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6); }

/* Transitions & Animations */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.duration-700 { transition-duration: 700ms; }
.duration-1000 { transition-duration: 1000ms; }

.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
.animate-spin { animation: spin 1s linear infinite; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes pulse { 50% { opacity: .5; } }

/* ==========================================================================
   COVERAGE COMPLETION
   Utilities the enriched landing/hero markup relies on. Without these the
   classes resolve to nothing, which collapses spacing and clips content.
   Keep this list in sync via `node audit-classes.js`.
   ========================================================================== */

/* Fonts & text rendering */
.font-sans { font-family: var(--font-sans); }
.font-mono { font-family: var(--font-mono); }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.cursor-pointer { cursor: pointer; }

/* Margin extensions */
.ml-2 { margin-left: 8px; }
.mt-auto { margin-top: auto; }
.mt-5 { margin-top: 20px; }
.mb-7 { margin-bottom: 28px; }

/* Padding extensions */
.p-7 { padding: 28px; }
.p-12 { padding: 48px; }
.px-7 { padding-left: 28px; padding-right: 28px; }
.py-3\.5 { padding-top: 14px; padding-bottom: 14px; }
.py-7 { padding-top: 28px; padding-bottom: 28px; }
.pb-1 { padding-bottom: 4px; }
.pb-8 { padding-bottom: 32px; }
.pt-1\.5 { padding-top: 6px; }
.pt-8 { padding-top: 32px; }

/* Gap extensions */
.gap-14 { gap: 56px; }

/* Stack spacing */
.space-y-0\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 2px; }

/* Fractions & offsets */
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }
.top-1\/2 { top: 50%; }

/* Arbitrary max-widths */
.max-w-\[1440px\] { max-width: 1440px; }
.max-w-\[38ch\] { max-width: 38ch; }
.max-w-\[52ch\] { max-width: 52ch; }

/* Arbitrary type scale */
.text-\[15px\] { font-size: 15px; }
.leading-\[1\.12\] { line-height: 1.12; }
.text-5xl { font-size: 48px; line-height: 1.1; }
.text-6xl { font-size: 60px; line-height: 1.05; }

/* Colors */
.opacity-75 { opacity: 0.75; }
.text-slate-700 { color: #334155; }
html.dark .text-slate-700 { color: #cbd5e1; }
.from-sky-400 {
  --tw-gradient-from: #38bdf8;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(56, 189, 248, 0));
}

/* Neutral emphasis border used for the highlighted plan card (dark-safe). */
.border-white\/25 { border-color: rgba(255, 255, 255, 0.25); }
html.light .border-white\/25 { border-color: rgba(15, 23, 42, 0.22); }

/* View-root entry animation */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-fadeIn { animation: fadeIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) both; }

/* ==========================================================================
   NEGATIVE OFFSETS
   Used for corner badges (e.g. the unread-notice dot on the bell button).
   Without these the badge falls back into normal flow and renders in the
   wrong corner at the wrong size.
   ========================================================================== */
.-top-0\.5 { top: -2px; }
.-right-0\.5 { right: -2px; }
.-bottom-0\.5 { bottom: -2px; }
.-left-0\.5 { left: -2px; }
.-top-1 { top: -4px; }
.-right-1 { right: -4px; }
.-bottom-1 { bottom: -4px; }
.-left-1 { left: -4px; }
.-top-1\.5 { top: -6px; }
.-right-1\.5 { right: -6px; }
.-bottom-1\.5 { bottom: -6px; }
.-left-1\.5 { left: -6px; }
.-top-2 { top: -8px; }
.-right-2 { right: -8px; }
.-bottom-2 { bottom: -8px; }
.-left-2 { left: -8px; }
.-top-3 { top: -12px; }
.-right-3 { right: -12px; }
.-top-4 { top: -16px; }
.-right-4 { right: -16px; }

.-mt-1 { margin-top: -4px; }
.-mt-2 { margin-top: -8px; }
.-ml-1 { margin-left: -4px; }
.-ml-2 { margin-left: -8px; }
.-mr-1 { margin-right: -4px; }
.-mr-2 { margin-right: -8px; }
.-mb-1 { margin-bottom: -4px; }
.-mb-2 { margin-bottom: -8px; }
.-m-1 { margin: -4px; }
.-mx-1 { margin-left: -4px; margin-right: -4px; }
.-mx-2 { margin-left: -8px; margin-right: -8px; }
.-my-1 { margin-top: -4px; margin-bottom: -4px; }
.-my-2 { margin-top: -8px; margin-bottom: -8px; }

/* --- sm: >= 640px --- */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:inline-flex { display: inline-flex; }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:text-lg { font-size: 18px; }
  .sm\:text-5xl { font-size: 48px; line-height: 1.1; }
}

/* --- md: >= 768px --- */
@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* --- lg: >= 1024px --- */
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:text-6xl { font-size: 60px; line-height: 1.05; }
}


/* ==========================================================================
   Nexus Pro Max - Impeccable & Taste-Skill Master Design System
   Layout: TOP COMMAND DECK (no left sidebar)
   Motion: fluid springs, sliding segmented indicator, staggered entrance
   ========================================================================== */

/* --- 0. Typography Foundation (smooth geometric sans + mono for data) --- */
:root {
  --font-sans: 'Manrope', 'SF Pro Display', -apple-system, BlinkMacSystemFont,
               'Segoe UI Variable Display', 'Segoe UI', 'PingFang SC',
               'HarmonyOS Sans SC', 'MiSans', 'Microsoft YaHei UI', 'Microsoft YaHei',
               Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', 'Cascadia Code',
               'Cascadia Mono', Consolas, monospace;
}

/* --- 1. Master CSS Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  /* Eternal scrollbar gutter: the page never reflows left/right when content
     height changes between routes, and modals never shift the layout either. */
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--sb-thumb) transparent;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: 'ss01' 1, 'cv11' 1, 'kern' 1;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

a {
  color: inherit;
  text-decoration: none !important;
  cursor: pointer;
  transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

a:hover, a:focus, a:active, a:visited {
  text-decoration: none !important;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  color: inherit;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
}

button { cursor: pointer; user-select: none; }

/* --- 2. Color System & Dual-Mode Tokens --- */

/* ==========================================================================
   DARK MODE — "Graphite"
   Deliberately neutral and non-glowing: no blue tint in the surfaces, no
   coloured bloom in the background, a silver/white accent instead of blue.
   `--accent-rgb` carries the accent as raw channels so every translucent
   tint in this file (rgba(var(--accent-rgb), .12)) follows the theme.
   ========================================================================== */
:root, html.dark {
  --bg-main: #0d0c0c;
  --bg-surface: #151414;
  --bg-card: rgba(28, 27, 26, 0.74);
  --bg-card-hover: rgba(38, 36, 35, 0.9);
  --bg-card-solid: #1a1918;
  --bg-input: #100f0f;
  --bg-modal: #171615;
  --bg-deck: rgba(13, 12, 12, 0.84);

  --border-subtle: rgba(255, 255, 255, 0.075);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-focus: rgba(255, 255, 255, 0.45);

  --text-main: #f4f2f0;
  --text-muted: #a8a4a0;
  --text-dim: #767270;

  --accent-rgb: 232, 230, 227;
  --accent-primary: rgb(232, 230, 227);
  --accent-cyan: #c3bfba;
  --accent-emerald: #34d399;
  --accent-amber: #fbbf24;
  --accent-rose: #f43f5e;
  --accent-indigo: #9c9894;
  /* Text placed ON an --accent-primary fill; must flip together with the accent. */
  --on-accent: #131211;

  --grid-line: rgba(255, 255, 255, 0.018);
  --orb-1: rgba(255, 255, 255, 0.026);
  --orb-2: rgba(255, 255, 255, 0.018);

  --shadow-card: 0 10px 30px -12px rgba(0, 0, 0, 0.75);
  --shadow-elevation: 0 28px 70px -18px rgba(0, 0, 0, 0.88);
  --badge-bg: rgba(255, 255, 255, 0.055);
  --seg-indicator-bg: rgba(255, 255, 255, 0.11);
  --seg-indicator-border: rgba(255, 255, 255, 0.26);
  --sb-thumb: rgba(255, 255, 255, 0.16);
  --sb-thumb-hover: rgba(255, 255, 255, 0.4);

  /* Primary action: light control with dark label (Pro-tool look, no glow) */
  --btn-primary-bg: linear-gradient(180deg, #ffffff, #d9d7d4);
  --btn-primary-text: #131211;
  --btn-primary-border: rgba(255, 255, 255, 0.7);
  --btn-primary-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.8);
  --btn-primary-shadow-hover: 0 10px 26px -10px rgba(0, 0, 0, 0.85);
  --deck-logo-bg: linear-gradient(135deg, #4a4744, #85817c 55%, #b8b4af);
  --deck-logo-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.8);
}

html.light {
  --bg-main: #f7f9fc;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-card-hover: #ffffff;
  --bg-card-solid: #ffffff;
  --bg-input: #ffffff;
  --bg-modal: #ffffff;
  --bg-deck: rgba(255, 255, 255, 0.86);

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.16);
  --border-focus: rgba(var(--accent-rgb), 0.6);

  --text-main: #0b1220;
  --text-muted: #46536b;
  --text-dim: #6b7a94;

  --accent-rgb: 3, 105, 161;
  --accent-primary: #0369a1;
  --accent-cyan: #0e7490;
  --accent-emerald: #047857;
  --accent-amber: #b45309;
  --accent-rose: #be123c;
  --accent-indigo: #4338ca;
  /* Light mode: accent is dark blue, so text on it is white. */
  --on-accent: #ffffff;

  --grid-line: rgba(15, 23, 42, 0.03);
  --orb-1: rgba(var(--accent-rgb), 0.07);
  --orb-2: rgba(99, 102, 241, 0.05);

  --shadow-card: 0 2px 4px -1px rgba(15, 23, 42, 0.04), 0 8px 24px -6px rgba(15, 23, 42, 0.07);
  --shadow-elevation: 0 24px 50px -12px rgba(15, 23, 42, 0.16);
  --badge-bg: rgba(15, 23, 42, 0.04);
  --seg-indicator-bg: #ffffff;
  --seg-indicator-border: rgba(15, 23, 42, 0.1);
  --sb-thumb: rgba(15, 23, 42, 0.18);
  --sb-thumb-hover: rgba(3, 105, 161, 0.55);

  /* Light mode keeps the saturated blue action button */
  --btn-primary-bg: linear-gradient(135deg, #0284c7, #2563eb);
  --btn-primary-text: #ffffff;
  --btn-primary-border: rgba(255, 255, 255, 0.18);
  --btn-primary-shadow: 0 4px 18px rgba(var(--accent-rgb), 0.28);
  --btn-primary-shadow-hover: 0 8px 26px rgba(var(--accent-rgb), 0.42);
  --deck-logo-bg: linear-gradient(135deg, #0284c7, #22d3ee 55%, #6366f1);
  --deck-logo-shadow: 0 6px 18px -6px rgba(var(--accent-rgb), 0.7);
}

/* ==========================================================================
   2b. Scrollbars — thin, transparent-track, visually embedded
   The gutter is reserved permanently (html { overflow-y: scroll } +
   scrollbar-gutter: stable), so route changes and modal opens never shift
   the layout horizontally. Track is transparent so it reads as part of the page.
   ========================================================================== */
::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-corner {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: var(--sb-thumb);
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: content-box;
  transition: background-color 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--sb-thumb-hover);
  background-clip: content-box;
}

/* Inner scroll surfaces keep the same embedded look */
.reader-body,
.geek-table-scroll {
  scrollbar-gutter: stable;
}

/* --- 3. Motion Framework --- */
@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(26px) scale(1.06); }
  100% { transform: translateY(-18px) scale(0.95); }
}

@keyframes pulseAnim {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

@keyframes modalScaleIn {
  0% { opacity: 0; transform: scale(0.94) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes auroraSlide {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Route transition */
.page-fade-slide-enter-active,
.page-fade-slide-leave-active {
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.page-fade-slide-enter-from { opacity: 0; transform: translateY(10px) scale(0.995); }
.page-fade-slide-leave-to { opacity: 0; transform: translateY(-8px) scale(0.995); }

/* Staggered entrance for page content blocks */
.stagger > * { animation: riseIn 0.52s cubic-bezier(0.16, 1, 0.3, 1) both; }
.stagger > *:nth-child(1) { animation-delay: 0.02s; }
.stagger > *:nth-child(2) { animation-delay: 0.07s; }
.stagger > *:nth-child(3) { animation-delay: 0.12s; }
.stagger > *:nth-child(4) { animation-delay: 0.17s; }
.stagger > *:nth-child(5) { animation-delay: 0.22s; }
.stagger > *:nth-child(6) { animation-delay: 0.27s; }
.stagger > *:nth-child(7) { animation-delay: 0.32s; }

/* Staggered entrance for authenticated page content */
.deck-main > div > * { animation: riseIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
.deck-main > div > *:nth-child(1) { animation-delay: 0.02s; }
.deck-main > div > *:nth-child(2) { animation-delay: 0.08s; }
.deck-main > div > *:nth-child(3) { animation-delay: 0.14s; }
.deck-main > div > *:nth-child(4) { animation-delay: 0.2s; }
.deck-main > div > *:nth-child(5) { animation-delay: 0.26s; }
.deck-main > div > *:nth-child(6) { animation-delay: 0.32s; }
.deck-main > div > *:nth-child(7) { animation-delay: 0.38s; }
.deck-main > div > *:nth-child(8) { animation-delay: 0.44s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- 4. Ambient Background --- */
.geek-grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  z-index: 0;
}

.geek-glow-orb-1 {
  position: fixed;
  top: -140px;
  right: 12%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, var(--orb-1) 0%, transparent 68%);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 20s ease-in-out infinite alternate;
}

.geek-glow-orb-2 {
  position: fixed;
  bottom: 6%;
  left: -100px;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, var(--orb-2) 0%, transparent 68%);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 24s ease-in-out infinite alternate-reverse;
}

/* Theme config: background_glow = 0 */
html.no-ambient .geek-glow-orb-1,
html.no-ambient .geek-glow-orb-2 {
  display: none;
}

/* ==========================================================================
   5. COMMAND DECK — Top Navigation Layout
   ========================================================================== */
.deck-container {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-deck);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
}

.deck-aurora {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-cyan), transparent);
  background-size: 200% 100%;
  animation: auroraSlide 7s linear infinite;
  opacity: 0.6;
  pointer-events: none;
}

.deck-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.deck-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.deck-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--deck-logo-bg);
  padding: 1.5px;
  box-shadow: var(--deck-logo-shadow);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.deck-brand:hover .deck-logo { transform: rotate(-6deg) scale(1.05); }

.deck-logo-inner {
  width: 100%;
  height: 100%;
  border-radius: 10.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-main);
  color: var(--accent-primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.5px;
}

/* Segmented navigation with sliding indicator */
.segmented-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 14px;
  background: var(--badge-bg);
  border: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
}
.segmented-nav::-webkit-scrollbar { display: none; }

.segmented-indicator {
  position: absolute;
  top: 4px;
  left: 0;
  bottom: 4px;
  z-index: 1;
  border-radius: 10px;
  background: var(--seg-indicator-bg);
  border: 1px solid var(--seg-indicator-border);
  box-shadow: 0 2px 10px -2px rgba(var(--accent-rgb), 0.3);
  pointer-events: none;
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.36s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease;
}

.segmented-item {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.segmented-item:hover { color: var(--text-main); }

.segmented-item.router-link-active {
  color: var(--accent-primary);
  font-weight: 650;
}

.segmented-item:active { transform: scale(0.96); }

.seg-ico {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.segmented-item:hover .seg-ico { transform: scale(1.12); }

.seg-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-cyan);
  margin-left: 2px;
  box-shadow: 0 0 6px var(--accent-cyan);
}

/* Deck right-side actions */
.deck-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.deck-balance {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--badge-bg);
  border: 1px solid var(--border-subtle);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--text-muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.deck-balance:hover { border-color: var(--border-medium); color: var(--text-main); }

.deck-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--badge-bg);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.deck-avatar:hover { border-color: var(--accent-primary); color: var(--accent-primary); transform: translateY(-1px); }
.deck-avatar.is-open { border-color: var(--accent-primary); color: var(--accent-primary); }

.deck-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 236px;
  padding: 8px;
  border-radius: 16px;
  background: var(--bg-modal);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-elevation);
  z-index: 60;
  animation: modalScaleIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.deck-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: left;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.deck-menu-item:hover { background: var(--badge-bg); color: var(--text-main); }

/* Main content region */
.deck-main {
  flex: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 24px 44px;
  position: relative;
  z-index: 10;
}

/* Mobile deck navigation row */
.landing-mobile-nav { gap: 6px; }
.mobile-nav {
  display: flex;
  gap: 2px;
  padding: 8px 16px 10px;
  overflow-x: auto;
  border-top: 1px solid var(--border-subtle);
  scrollbar-width: none;
}
.mobile-nav::-webkit-scrollbar { display: none; }

@media (min-width: 1024px) {
  .mobile-nav { display: none; }
}

/* Landing header nav link (unchanged semantics) */
.nav-geek-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-geek-link:hover { color: var(--text-main); background: var(--badge-bg); }
.nav-geek-link.router-link-active { color: var(--accent-primary); font-weight: 600; background: var(--seg-indicator-bg); }

.nav-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent-primary);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  letter-spacing: 0.04em;
}

/* --- 6. Cards --- */
.geek-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
  position: relative;
  overflow: hidden;
}

.geek-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -14px rgba(0, 0, 0, 0.28);
}

.geek-card-glow-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 6%;
  right: 6%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-cyan), transparent);
  pointer-events: none;
}

/* Solid fallback when the user asks for reduced transparency */
@media (prefers-reduced-transparency: reduce) {
  .geek-card,
  .deck-container,
  .node-chip,
  .faq-item,
  .cta-band,
  .client-chip,
  .btn-geek-secondary {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--bg-card-solid) !important;
  }
}

/* --- 7. Buttons & Inputs --- */
.btn-geek-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text) !important;
  font-weight: 600;
  border: 1px solid var(--btn-primary-border);
  border-radius: 11px;
  padding: 9px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--btn-primary-shadow);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 13.5px;
}
.btn-geek-primary:hover { transform: translateY(-1px); box-shadow: var(--btn-primary-shadow-hover); }
.btn-geek-primary:active { transform: scale(0.97); }

.btn-geek-secondary {
  background: var(--badge-bg);
  color: var(--text-main) !important;
  border: 1px solid var(--border-subtle);
  border-radius: 11px;
  padding: 9px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-size: 13.5px;
  font-weight: 500;
}
.btn-geek-secondary:hover { background: rgba(125, 125, 125, 0.12); border-color: var(--border-medium); }
.btn-geek-secondary:active { transform: scale(0.97); }

.btn-geek-danger {
  background: rgba(244, 63, 94, 0.1);
  color: var(--accent-rose) !important;
  border: 1px solid rgba(244, 63, 94, 0.22);
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 13px;
  transition: all 0.2s ease;
}
.btn-geek-danger:hover { background: rgba(244, 63, 94, 0.2); }

.geek-input {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-main);
  padding: 10px 14px;
  font-size: 13.5px;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.geek-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18);
}

.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--badge-bg);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.theme-toggle-btn:hover { color: var(--text-main); border-color: var(--border-medium); transform: rotate(22deg) scale(1.06); }

/* --- 8. Modals & Status --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease-out forwards;
}

.modal-content {
  background: var(--bg-modal);
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  box-shadow: var(--shadow-elevation);
  overflow: hidden;
  animation: modalScaleIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.55;
  animation: pulseAnim 2s infinite;
}

.badge-geek {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 600;
}
.badge-green { background: rgba(16, 185, 129, 0.12); color: var(--accent-emerald); border: 1px solid rgba(16, 185, 129, 0.25); }
.badge-blue { background: rgba(var(--accent-rgb), 0.12); color: var(--accent-primary); border: 1px solid rgba(var(--accent-rgb), 0.25); }
.badge-amber { background: rgba(245, 158, 11, 0.12); color: var(--accent-amber); border: 1px solid rgba(245, 158, 11, 0.25); }
.badge-rose { background: rgba(244, 63, 94, 0.12); color: var(--accent-rose); border: 1px solid rgba(244, 63, 94, 0.25); }

/* --- 9. Data Table --- */
.geek-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}
.geek-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--badge-bg);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 12px;
}
.geek-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
  vertical-align: middle;
}
.geek-table tbody tr { transition: background-color 0.16s ease; }
.geek-table tbody tr:hover { background-color: var(--badge-bg); }

/* ==========================================================================
   10. FULL-SCREEN NOTICE READER (teleported to <body>)
   Fixes the trapped-modal bug: modals are no longer nested inside
   backdrop-filter cards, which used to become their containing block.
   ========================================================================== */
.reader-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(3, 5, 9, 0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.reader-panel {
  display: flex;
  flex-direction: column;
  width: min(960px, 94vw);
  max-height: 88vh;
  background: var(--bg-modal);
  border: 1px solid var(--border-medium);
  border-radius: 22px;
  box-shadow: var(--shadow-elevation);
  overflow: hidden;
  animation: modalScaleIn 0.34s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reader-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--badge-bg);
}

.reader-head-left { display: flex; align-items: center; gap: 9px; }

.reader-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-main);
}

.reader-count {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--accent-primary);
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
}

.reader-close {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.reader-close:hover { color: var(--text-main); border-color: var(--border-medium); transform: rotate(90deg); }

.reader-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 16px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border-subtle);
  scrollbar-width: none;
}
.reader-tabs::-webkit-scrollbar { display: none; }

.reader-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  white-space: nowrap;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.reader-tab:hover { color: var(--text-main); background: var(--badge-bg); }
.reader-tab.is-active {
  color: var(--accent-primary);
  background: var(--seg-indicator-bg);
  border-color: var(--seg-indicator-border);
  font-weight: 650;
}

.reader-pin {
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 5px;
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.reader-tab-text { max-width: 250px; overflow: hidden; text-overflow: ellipsis; }

.reader-body {
  flex: 1;
  overflow-y: auto;
  padding: 34px 48px 44px;
}

.reader-article { max-width: 720px; margin: 0 auto; }

.reader-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.reader-title {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.34;
  color: var(--text-main);
  margin: 0 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.reader-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.reader-hint {
  font-size: 11.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--text-dim);
}

.reader-pop-enter-active,
.reader-pop-leave-active { transition: opacity 0.24s ease; }
.reader-pop-enter-from,
.reader-pop-leave-to { opacity: 0; }

@media (max-width: 768px) {
  .reader-overlay { padding: 0; }
  .reader-panel { width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; border: none; }
  .reader-body { padding: 22px 20px 30px; }
  .reader-title { font-size: 20px; }
  .reader-tab-text { max-width: 150px; }
  .reader-hint { display: none; }
}

/* ==========================================================================
   12. LANDING PAGE SECTIONS
   ========================================================================== */
.land-section {
  position: relative;
  z-index: 10;
  max-width: 1440px;
  margin: 0 auto;
  padding: 96px 24px;
}

.land-section--tight { padding: 68px 24px; }

.land-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-primary);
  background: var(--badge-bg);
  border: 1px solid var(--border-subtle);
}

.land-h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text-main);
  margin: 18px 0 12px;
}

.land-lede {
  font-size: 15px;
  line-height: 1.72;
  color: var(--text-muted);
  max-width: 62ch;
}

.land-head { margin-bottom: 44px; }

/* ==========================================================================
   HERO: reserved, theme-configurable slots
   .hero-site-title    <- 站点标题   (theme config: site_title)
   .hero-site-subtitle <- 站点副标题 (theme config: site_subtitle)
   ========================================================================== */
.hero-site-title {
  font-size: clamp(30px, 4.4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text-main);
  margin: 22px 0 10px;
}

.hero-site-subtitle {
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-primary);
  margin-bottom: 18px;
}

.hero-tagline {
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.72;
  color: var(--text-muted);
}

/* Deck brand slots also read from theme config */
.deck-brand-title {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-main);
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deck-brand-sub {
  display: block;
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  color: var(--text-dim);
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Metric strip */
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}
.metric-cell {
  padding: 26px 24px;
  background: transparent;
  text-align: left;
}
.metric-cell + .metric-cell { box-shadow: inset 1px 0 0 var(--border-subtle); }
.metric-value {
  font-family: var(--font-mono);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-main);
}
.metric-label {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--text-dim);
}

/* Bento grid — 5 content cells, asymmetric rhythm */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.bento-cell { padding: 28px; display: flex; flex-direction: column; }
.bento-cell--wide { grid-column: span 4; }
.bento-cell--tall { grid-column: span 2; grid-row: span 2; }
.bento-cell--half { grid-column: span 3; }
.bento-cell--third { grid-column: span 2; }
.bento-cell--full { grid-column: span 6; }

/* Client compatibility chips */
.client-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 11px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--badge-bg);
  border: 1px solid var(--border-subtle);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease, border-color 0.2s ease;
}
.client-chip:hover { transform: translateY(-2px); color: var(--text-main); border-color: var(--border-medium); }

/* Mini stat inside the tall bento cell */
.topo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  font-size: 12.5px;
  color: var(--text-muted);
}
.topo-row + .topo-row { box-shadow: inset 0 1px 0 var(--border-subtle); }
.topo-row strong { color: var(--text-main); font-family: var(--font-mono); font-weight: 650; }

.bento-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  margin-bottom: 16px;
}

.bento-title {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 8px;
}

.bento-copy {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--text-muted);
}

/* Mini terminal inside bento */
.bento-term {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--text-muted);
  background: rgba(6, 9, 16, 0.55);
  border: 1px solid var(--border-subtle);
}
html.light .bento-term { background: rgba(15, 23, 42, 0.05); }

/* Node network */
.node-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.node-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}
.node-chip:hover { transform: translateY(-2px); border-color: var(--border-medium); }
.node-name { font-size: 13.5px; font-weight: 650; color: var(--text-main); }
.node-sub { font-size: 11px; color: var(--text-dim); font-family: var(--font-mono); }
.node-status { font-family: var(--font-mono); font-size: 12px; font-weight: 700; white-space: nowrap; color: var(--text-muted); }
.node-status--online { color: var(--accent-emerald); }
.node-status--offline { color: var(--accent-rose); }
.node-status--unknown { color: var(--text-dim); }

/* Pricing preview */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.price-cut {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--text-main);
}
.price-feat {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.price-feat svg { flex-shrink: 0; margin-top: 2px; color: var(--accent-emerald); }

/* Steps */
.step-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
}

/* FAQ */
.faq-item {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease;
}
.faq-item:hover { border-color: var(--border-medium); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
}
.faq-caret {
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.is-open .faq-caret { transform: rotate(180deg); color: var(--accent-primary); }
.faq-a {
  padding: 0 22px 19px;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--text-muted);
  animation: riseIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Final CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 60px 44px;
  text-align: center;
  background:
    radial-gradient(120% 160% at 15% 0%, rgba(var(--accent-rgb), 0.16), transparent 58%),
    radial-gradient(120% 160% at 85% 100%, rgba(99, 102, 241, 0.14), transparent 58%),
    var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

/* Landing footer */
.land-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-subtle);
  background: var(--badge-bg);
}
.land-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 44px 24px 34px;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.land-footer h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.land-footer a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 0;
}
.land-footer a:hover { color: var(--accent-primary); }

@media (max-width: 1023px) {
  .land-section { padding: 68px 18px; }
  .metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Every base span must be reset here, including --full: leaving span 6 in a
     2-column grid creates implicit tracks and stretches the grid. */
  .bento-cell--wide,
  .bento-cell--tall,
  .bento-cell--half,
  .bento-cell--third,
  .bento-cell--full { grid-column: span 2; grid-row: auto; }
  .price-grid,
  .step-row { grid-template-columns: 1fr; }
  .land-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

@media (max-width: 640px) {
  .metric-strip { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .bento-cell--wide,
  .bento-cell--tall,
  .bento-cell--half,
  .bento-cell--third,
  .bento-cell--full { grid-column: span 1; }
  .bento-cell { padding: 20px; }
  .bento-title { font-size: 15.5px; }
  .bento-copy { font-size: 13px; }
  .client-chip { padding: 7px 12px; font-size: 12px; }
  .land-footer-inner { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 22px; }
}

/* --- 13. Responsive --- */
@media (max-width: 1023px) {
  .deck-inner { height: 60px; padding: 0 16px; gap: 12px; }
  .deck-inner > .segmented-nav { display: none; }
  .deck-inner > .deck-brand { min-width: 0; flex-shrink: 1; }
  .deck-brand > span:last-child { min-width: 0; }
  .deck-brand-title, .deck-brand-sub { max-width: 100%; }
  .deck-main { padding: 20px 16px 36px; }
  .deck-brand-sub { display: none; }
}

@media (max-width: 640px) {
  .segmented-item { padding: 7px 10px; font-size: 12.5px; }
  .segmented-item span.seg-label { display: none; }
  .deck-balance { display: none; }
  .landing-deck-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    min-height: 60px;
    gap: 10px;
    padding: 10px 16px;
  }
  .landing-deck-inner .deck-brand { min-width: 0; max-width: 100%; }
  .landing-deck-inner .deck-actions {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    justify-content: flex-start;
    gap: 8px;
  }
  .landing-deck-inner .theme-toggle-btn,
  .landing-deck-inner .deck-actions > button,
  .landing-deck-inner .deck-actions > a { min-height: 44px; }
  .landing-deck-inner .theme-toggle-btn,
  .landing-deck-inner .deck-actions > button:not(.btn-geek-primary):not(.btn-geek-secondary) { min-width: 44px; }
  .landing-deck-inner .deck-actions > .btn-geek-primary,
  .landing-deck-inner .deck-actions > .btn-geek-secondary { padding: 9px 12px; white-space: nowrap; }
  .land-h2--capabilities { overflow-wrap: anywhere; }
  .capabilities-break { display: none; }
}


/* ==========================================================================
   Nexus Markdown Typography Styling (Light / Dark Adaptive)
   ========================================================================== */

.markdown-body {
  color: var(--text-main);
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.75;
  word-wrap: break-word;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  color: var(--text-main);
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 12px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.markdown-body h1 {
  font-size: 22px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.markdown-body h2 {
  font-size: 18px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.markdown-body h3 {
  font-size: 16px;
}

.markdown-body p {
  margin-top: 0;
  margin-bottom: 14px;
}

.markdown-body a {
  color: var(--accent-primary) !important;
  text-decoration: none !important;
  font-weight: 500;
  border-bottom: 1px dashed var(--accent-primary);
  transition: all 0.2s ease;
}

.markdown-body a:hover {
  opacity: 0.85;
  border-bottom-style: solid;
}

.markdown-body strong {
  color: var(--text-main);
  font-weight: 600;
}

.markdown-body ul,
.markdown-body ol {
  margin-top: 0;
  margin-bottom: 14px;
  padding-left: 22px;
}

.markdown-body li {
  margin-bottom: 6px;
}

.markdown-body blockquote {
  margin: 16px 0;
  padding: 12px 18px;
  background: var(--badge-bg);
  border-left: 3px solid var(--accent-primary);
  border-radius: 0 10px 10px 0;
  color: var(--text-muted);
  font-size: 14px;
}

.markdown-body blockquote p:last-child {
  margin-bottom: 0;
}

.markdown-body code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  background: var(--badge-bg);
  color: var(--accent-primary);
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid var(--border-subtle);
}

.markdown-body pre {
  margin: 16px 0;
  background: #090c13 !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  overflow-x: auto;
  position: relative;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.markdown-body pre code {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  color: #e2e8f0 !important;
  font-size: 13px;
  line-height: 1.6;
}

.markdown-body table {
  width: 100%;
  margin: 16px 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
}

.markdown-body th {
  background: var(--badge-bg);
  color: var(--text-main);
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
}

.markdown-body td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 13px;
}

.markdown-body tr:last-child td {
  border-bottom: none;
}

