:root {
    color-scheme: dark;
    --bg: #030611;
    --card: #101936;
    --card-strong: #17204a;
    --ink: #e8efff;
    --muted: #9aa8cf;
    --rule: #33406f;
    --cyan: #25ddff;
    --violet: #8b6cff;
    --pink: #ff4fd8;
    --shadow: rgba(0, 0, 0, .48);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

html {
    background: var(--bg);
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background:
        radial-gradient(circle at 20% 18%, rgba(139, 108, 255, .2), transparent 24%),
        radial-gradient(circle at 74% 12%, rgba(37, 221, 255, .13), transparent 26%),
        radial-gradient(circle at 50% 78%, rgba(255, 79, 216, .1), transparent 30%),
        linear-gradient(180deg, #050817 0%, #080b1d 48%, #02040c 100%);
    font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.58;
}

body > header,
body > footer {
    width: min(100% - 32px, 980px);
    margin-inline: auto;
}

body > header {
    position: relative;
    z-index: 5;
    padding: 32px 0 12px;
}

h1,
h2,
h3 {
    margin-top: 0;
    color: #f2f6ff;
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    margin-bottom: 7px;
    font-size: clamp(1.7rem, 5.4vw, 3.4rem);
    text-transform: lowercase;
    text-shadow: 0 0 18px rgba(139, 108, 255, .5), 0 0 34px rgba(37, 221, 255, .18);
}

body > header p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: .78rem;
}

main {
    position: relative;
    min-height: calc(100vh - 130px);
    width: 100%;
    margin: 0;
    padding: 18px 0 80px;
}

article {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: min(360px, calc(100vw - 24px));
    height: 168px;
    max-height: 168px;
    overflow: hidden;
    padding: 12px 14px 14px;
    border: 1px solid rgba(185, 198, 255, .2);
    background:
        radial-gradient(circle at 26px 22px, rgba(255,255,255,.1), transparent 16px),
        linear-gradient(180deg, rgba(23, 32, 74, .96), rgba(9, 14, 34, .97));
    box-shadow: 0 12px 30px var(--shadow), inset 0 0 28px rgba(255,255,255,.025);
    cursor: pointer;
    transform-origin: 50% 50%;
    transition: transform 280ms ease, box-shadow 160ms ease, border-color 160ms ease, max-height 160ms ease;
    will-change: transform;
    border-radius: 34px 42px 38px 30px;
}

article.is-ready {
    opacity: 1;
}

px;
    background: linear-gradient(90deg, transparent, rgba(37, 221, 255, .9), rgba(139, 108, 255, .75), transparent);
    box-shadow: 0 0 18px rgba(37, 221, 255, .45);
}

article:hover {
    border-color: rgba(218, 224, 255, .48);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .58);
}

article.is-active {
    height: auto;
    max-height: min(78vh, 860px);
    overflow: auto;
    border-color: rgba(220, 230, 255, .7);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .72);
    cursor: default;
}

article header {
    margin-bottom: 14px;
}

h2 {
    margin-bottom: 6px;
    font-size: clamp(.92rem, 2.4vw, 1.18rem);
}

h3 {
    margin: 1.55rem 0 .4rem;
    color: var(--cyan);
    font-size: .98rem;
}

time {
    display: block;
    color: var(--cyan);
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: .72rem;
}

p {
    margin: 0 0 .9rem;
}

p:first-of-type {
    font-size: .96rem;
}

a {
    color: var(--cyan);
    text-decoration-color: rgba(37, 221, 255, .55);
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}

a:hover {
    color: var(--pink);
    text-decoration-color: var(--pink);
}

code,
pre {
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: .86em;
}

code {
    padding: .08em .25em;
    border: 1px solid rgba(139, 108, 255, .28);
    background: #11162d;
    color: #f4efff;
}

pre {
    overflow-x: auto;
    margin: 1.2rem 0;
    padding: 12px 14px;
    border: 1px solid var(--rule);
    background: #0a0f22;
}

pre code {
    padding: 0;
    border: 0;
    background: transparent;
}

body > footer {
    position: relative;
    z-index: 2;
    padding: 18px 0 32px;
    color: var(--muted);
    border-top: 1px solid var(--rule);
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: .72rem;
}

body.has-active::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(2, 4, 12, .34);
}

@media (max-width: 640px) {
    article {
        width: calc(100vw - 20px);
        padding: 16px 16px 18px;
    }

    body > header {
        padding-top: 24px;
    }
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(232, 239, 255, .42) 0 1px, transparent 1.6px),
        radial-gradient(circle, rgba(139, 108, 255, .32) 0 1px, transparent 1.5px);
    background-size: 140px 120px, 210px 180px;
    background-position: 12px 18px, 80px 56px;
    opacity: .42;
}

article::after {
    content: "";
    position: absolute;
    right: 22px;
    bottom: 16px;
    width: 42px;
    height: 18px;
    border-radius: 999px;
    background: rgba(232, 239, 255, .045);
    box-shadow: -26px -8px 0 rgba(232, 239, 255, .035), 18px -12px 0 rgba(37, 221, 255, .035);
    pointer-events: none;
}
