:root {
    color-scheme: dark;
    background-color: #000;
    color: #fff;
    font-family: "Latin Modern Roman", "Computer Modern", "Times New Roman", Times, serif;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 3rem 1.5rem 4rem;
    letter-spacing: 0.02em;
}

main {
    width: min(760px, 100%);
    display: grid;
    gap: 2.75rem;
}

header {
    display: grid;
    gap: 1.5rem;
    text-align: center;
}

h1 {
    font-weight: 400;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    margin: 0;
}

.meta {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.6);
}

article {
    display: grid;
    gap: 1.75rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

h2,
h3 {
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9ecbff;
    margin: 0;
}

p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding-inline-start: 1.5rem;
    display: grid;
    gap: 0.75rem;
}

code {
    font-family: "Latin Modern Mono", "Computer Modern Typewriter", "Courier New", Courier, monospace;
    font-size: 0.95em;
}

figure {
    margin: 0;
    display: grid;
    gap: 0.75rem;
    place-items: center;
}

figure img {
    max-width: 100%;
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
}

figcaption {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.draft-placeholder {
    min-height: 260px;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 640px) {
    body {
        padding: 2.5rem 1.25rem 3rem;
    }

    main {
        gap: 2.25rem;
    }

    article {
        font-size: 1rem;
    }
}
