html {
    scroll-behavior: smooth;
}

body {
    background: #26353B;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: #ECE9E1;
    color: #16211F;
}

/* Blueprint grid */
.blueprint {
    background-image:
        linear-gradient(rgba(236, 233, 225, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(236, 233, 225, 0.045) 1px, transparent 1px);
    background-size: 46px 46px;
}

.blueprint-fine {
    background-image:
        linear-gradient(rgba(236, 233, 225, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(236, 233, 225, 0.05) 1px, transparent 1px);
    background-size: 26px 26px;
}

.radial-fade {
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

.card-hover {
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s, background-color .35s;
}

.card-hover:hover {
    transform: translateY(-4px);
    border-color: rgba(236, 233, 225, 0.22);
    background-color: #33474D;
}

.link-hover {
    transition: color .25s;
}

.btn {
    transition: transform .25s, background-color .25s, border-color .25s, color .25s;
}

.btn:active {
    transform: translateY(1px);
}

.mono-label {
    font-family: "IBM Plex Mono", monospace;
    letter-spacing: .18em;
    font-size: 11px;
    text-transform: uppercase;
}

/* connective schematic line */
.node-dot {
    box-shadow: 0 0 0 6px rgba(236, 233, 225, 0.06);
}

details>summary {
    list-style: none;
    cursor: pointer;
}

details>summary::-webkit-details-marker {
    display: none;
}

details[open] .faq-plus {
    transform: rotate(45deg);
}

.faq-plus {
    transition: transform .3s ease;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid #ECE9E1;
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none;
    }

    * {
        animation: none !important;
    }
}

