:root {
    --primary-fg-color: #333;
    --primary-bg-color: #fff;
    --header-bg-color: #242424;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
    font-size: 1.1em;
    color: var(--primary-fg-color);
    background-color: var(--primary-bg-color);
    -webkit-font-smoothing: auto;
    line-height: 1.3;
}

.header {
    background-color: var(--header-bg-color);
    color: #fff;
    padding: 0.75em 1.5em;
    display: flex;
    align-items: center;
    box-shadow: 0 0 0.2em rgba(0, 0, 0, 0.1), 0 0.2em 0.4em rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    flex-direction: column;
}

.header-subtitle {
    font-size: 0.95em;
    color: #b0b0b0;
    font-weight: 400;
    margin-top: 0.1em;
}

.header-title {
    font-weight: 700;
    font-size: 1.2em;
    letter-spacing: 0.05em;
}

.container {
    max-width: 51em;
    margin: 0 auto;
    padding: 2em 1.2em;
}

h1 {
    font: 400 1.84em;
    margin-bottom: 1.5em;
}

h2 {
    font: 700 1.3em;
    margin: 0px;
}

h2.single {
    padding-top: 1em;
    margin-bottom: 1em;
    border-bottom: 0.12em solid #e0e0e0;
}

h2.last {
    margin-bottom: 1em;
    border-bottom: 0.12em solid #e0e0e0;
}

h2.first {
    margin-bottom: 0.1em;
    padding-top: 1em;
}

h3 {
    font: 600 1.1em;
}

a {
    color: var(--primary-fg-color);
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    text-decoration: underline;
}

:not(pre) > code {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 0.1em 0.3em;
    border-radius: 3px;
    color: #c3185d;
}
pre {
    background-color: #eee;
    padding: 1em;
}
