* {
    box-sizing: border-box;
}

html {
    background: #fff;
}

body {
    margin: 0;
    color: #1f2328;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

a {
    color: #0969da;
    text-underline-offset: 0.18em;
}

a:hover {
    text-decoration-thickness: 2px;
}

a:focus-visible,
summary:focus-visible {
    outline: 3px solid #0969da;
    outline-offset: 4px;
    border-radius: 2px;
}

.skip-link {
    position: absolute;
    top: 12px;
    left: 16px;
    z-index: 1;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #0969da;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header,
main,
.site-footer {
    width: calc(100% - 40px);
    max-width: 880px;
    margin-inline: auto;
}

.site-header {
    padding-block: 48px 20px;
    border-bottom: 1px solid #d1d9e0;
}

.site-label {
    margin: 0 0 8px;
    color: #59636e;
    font-size: 15px;
}

h1 {
    margin: 0 0 16px;
    font-size: 28px;
    line-height: 1.4;
    font-weight: 650;
}

.intro {
    max-width: 720px;
    margin: 0;
}

.site-nav,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 24px;
}

.site-nav {
    margin-top: 16px;
}

.site-nav a,
.footer-links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

main {
    padding-block: 8px 24px;
}

section {
    margin-block: 32px;
    scroll-margin-top: 24px;
}

h2 {
    margin: 0 0 16px;
    font-size: 21px;
    line-height: 1.5;
    font-weight: 650;
}

p {
    margin: 0 0 16px;
}

ul {
    padding-left: 24px;
}

.project-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.project-item {
    padding-block: 20px;
    border-top: 1px solid #d1d9e0;
}

.project-item h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
}

.summary {
    margin-bottom: 8px;
}

.project-meta {
    margin: 0;
    color: #59636e;
    font-size: 14px;
}

.english {
    margin-top: 24px;
    border-top: 1px solid #d1d9e0;
    padding-top: 12px;
}

summary {
    min-height: 44px;
    padding-block: 8px;
    cursor: pointer;
    color: #59636e;
}

.english[open] summary {
    margin-bottom: 12px;
}

.site-footer {
    border-top: 1px solid #d1d9e0;
    padding-block: 20px 32px;
    color: #59636e;
    font-size: 14px;
}

.site-footer p {
    margin-bottom: 8px;
}

@media (max-width: 480px) {
    .site-header,
    main,
    .site-footer {
        width: calc(100% - 32px);
    }

    .site-header {
        padding-top: 32px;
    }

    .site-nav,
    .footer-links {
        gap: 4px 20px;
    }
}

@media print {
    body {
        color: #000;
        font-size: 11pt;
    }

    .site-header,
    main,
    .site-footer {
        width: 100%;
        max-width: none;
    }

    .site-header {
        padding-top: 0;
    }

    .skip-link,
    .site-nav {
        display: none;
    }

    a,
    .site-label,
    .project-meta,
    .site-footer,
    summary {
        color: #000;
    }

    h2,
    h3 {
        break-after: avoid;
    }

    .project-item {
        break-inside: avoid;
    }
}
