html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    color: #cbd5e1;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    color: #f8fafc;
}

.code-block {
    background-color: #020617;
    color: #e2e8f0;
}

.step-circle {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
}

.glass-panel {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.readable-dark .text-slate-500 {
    color: #94a3b8;
}

.readable-dark .text-slate-400 {
    color: #cbd5e1;
}

@media (max-width: 640px) {
    .readable-dark {
        font-size: 16px;
    }

    .readable-dark .text-xs {
        font-size: 0.875rem;
        line-height: 1.6;
    }

    .readable-dark .text-sm {
        font-size: 1rem;
        line-height: 1.7;
    }

    .readable-dark [class*="text-[11px]"] {
        font-size: 0.8125rem !important;
        line-height: 1.5;
    }

    .readable-dark .code-block code,
    .readable-dark pre {
        white-space: pre-wrap;
        word-break: break-word;
    }

    .readable-dark .overflow-x-auto {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .readable-dark [class*="opacity-0 group-hover:opacity-100"] {
        opacity: 1;
    }
}

::selection {
    background: rgba(99, 102, 241, 0.3);
    color: #f8fafc;
}
