html {
    background: #f5fbfb;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #173036;
    background:
        radial-gradient(circle at top right, rgba(68, 187, 187, 0.12), transparent 30%),
        radial-gradient(circle at top left, rgba(68, 187, 187, 0.08), transparent 24%),
        linear-gradient(180deg, #f9fdfd 0%, #f5fbfb 100%);
}

header,
main {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

header {
    padding-top: 1.25rem;
}

main {
    padding-top: 0.75rem;
    padding-bottom: 3rem;
}

main {
    position: relative;
}

main::before {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin: 0 0 1.25rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #3aa8a8, #8fd8d8);
}

p,
li,
blockquote,
table {
    max-width: 800px;
}

h1,
h2,
h3 {
    line-height: 1.2;
    color: #13363d;
}

h1 {
    margin-bottom: 0.5rem;
}

h2 {
    margin-top: 1.75rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(58, 168, 168, 0.25);
}

a {
    color: #167a80;
    text-decoration: underline;
    text-decoration-color: rgba(22, 122, 128, 0.35);
    text-underline-offset: 0.15em;
}

a:hover {
    color: #0f5f64;
    text-decoration-color: currentColor;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 2px;
    box-shadow: 0 10px 24px rgba(19, 54, 61, 0.08);
}

table {
    border-collapse: collapse;
    border: 1px solid rgba(19, 54, 61, 0.15);
    background: #fff;
}

th,
td {
    padding: 0.6rem 0.8rem;
    text-align: left;
    border: 1px solid rgba(19, 54, 61, 0.15);
}

th {
    background: #e7f6f6;
}

blockquote,
.note {
    margin: 1rem 0;
    padding: 0.9rem 1rem;
    border-left: 4px solid #3aa8a8;
    background: rgba(58, 168, 168, 0.08);
    border-radius: 0 10px 10px 0;
}

blockquote {
    font-style: italic;
}

.published-date {
    font-size: 0.9rem;
    color: #5f7277;
    font-style: italic;
}

.home-link {
    display: inline-block;
    margin: 0.25rem 0 0.5rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(58, 168, 168, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: #167a80;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(19, 54, 61, 0.05);
}

.home-link:hover,
.home-link.active {
    background: #dff4f4;
    color: #0f5f64;
}

.max-width-400 {
    max-width: 400px;
}

.tags {
    color: #33555a;
}

.things {
    font-style: italic;
}

.section-divider {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 1.5rem 0 0.95rem;
    color: #2f7f7f;
    font-weight: 600;
    letter-spacing: 0.03em;
    font-size: 1rem;
}

.section-divider::before,
.section-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(58, 168, 168, 0.65), transparent);
}

.section-divider span {
    padding: 0 0.35rem;
}

hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(58, 168, 168, 0.5), transparent);
    margin: 1rem 0;
}

.page-404 {
    min-height: calc(100vh - 2.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.page-404 p {
    margin-left: auto;
    margin-right: auto;
}