:root {
    color-scheme: light;
}

html.dark {
    color-scheme: dark;
}

html.dark details {
    background-color: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}

html.dark details[open] {
    background-color: rgba(20, 184, 166, 0.12);
    border-color: #14b8a6;
}

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

body {
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

details > summary {
    list-style: none;
    cursor: pointer;
}

details > summary::-webkit-details-marker {
    display: none;
}

details[open] .chevron {
    transform: rotate(180deg);
}

.chevron {
    transition: transform 0.2s ease;
}

.hero-grid {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.atmosphere-layer {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 0%, rgba(20,184,166,0.13), transparent 32%),
        radial-gradient(circle at 88% 8%, rgba(16,185,129,0.08), transparent 28%),
        linear-gradient(to right, rgba(20,184,166,0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(20,184,166,0.035) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
}

html.dark body::before,
html.dark .atmosphere-layer {
    background:
        radial-gradient(circle at 15% 0%, rgba(20,184,166,0.22), transparent 30%),
        radial-gradient(circle at 88% 8%, rgba(132,204,22,0.08), transparent 28%),
        linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}
