:root {
    --lamp-color-rgb: 255 219 112;
    --lamp-color: rgb(var(--lamp-color-rgb));
    --lamp-glow: rgba(var(--lamp-color-rgb), 0.15);
    --text-main: #e2e8f0;
    --text-mute: #94a3b8;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #020408;
}

::-webkit-scrollbar-thumb {
    background: #1a2639;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #1a2639 #020408;
}

::selection {
    background: rgba(255, 219, 112, 0.2);
    color: #ffdb70;
}

.prose {
    color: #94a3b8 !important;
    max-width: none !important;
}

.prose h1 {
    font-size: 3rem !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1.5rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
}

.prose h2 {
    font-size: 2.25rem !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
    padding-bottom: 0.5rem !important;
}

.prose h3 {
    font-size: 1.75rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.75rem !important;
    font-weight: 600 !important;
    color: var(--lamp-color) !important;
}

.prose p {
    font-size: 1.125rem !important;
    line-height: 1.8 !important;
    margin-bottom: 1.5rem !important;
    overflow-wrap: break-word !important;
}

.prose pre {
    background-color: #1a1b1e !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    margin: 1.5rem 0 !important;
    white-space: pre-wrap !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    overflow-x: hidden !important;
}

.prose code {
    font-family: 'JetBrains Mono', monospace !important;
    color: var(--lamp-color) !important;
    background-color: rgba(var(--lamp-color-rgb), 0.1) !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 6px !important;
    font-size: 0.95em !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}

.prose pre code {
    background-color: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: #e2e8f0 !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    display: block !important;
    white-space: pre-wrap !important;
}

.prose * {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
}

.prose img {
    border-radius: 16px;
    margin: 3rem auto;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.prose blockquote {
    border-left: 5px solid var(--lamp-color) !important;
    background: rgba(255, 219, 112, 0.03) !important;
    padding: 1.5rem 2rem !important;
    margin: 2rem 0 !important;
    font-style: normal !important;
    color: #cbd5e1 !important;
    border-radius: 0 12px 12px 0 !important;
}

.prose ul,
.prose ol {
    margin-bottom: 2rem !important;
    padding-left: 2rem !important;
}

.prose li {
    margin-bottom: 0.75rem !important;
    font-size: 1.125rem !important;
}