:root {
    --text: #1d1d1b;
    --muted: #666;
    --line: #ddd;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font:
        17px/1.5 Arial,
        Helvetica,
        sans-serif;
}
.page {
    margin: 0 auto;
    padding: 28px 32px 44px;
}
h1 {
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.08;
    font-weight: 400;
    margin: 0 0 26px;
}
p {
    font-size: 18px;
    line-height: 1.55;
    margin: 0 0 46px;
    max-width: 720px;
}
h2 {
    font-size: 22px;
    line-height: 1.25;
    font-weight: 400;
    margin: 0 0 18px;
}
a {
    color: var(--text);
    text-decoration: none;
}
a:hover,
a:focus {
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
.courses {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 620px;
}
.courses li {
    margin-bottom: 12px;
}
.courses a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    background: #f7f7f7;
    font-size: 19px;
}
.courses a::after {
    content: "→";
    font-size: 22px;
    line-height: 1;
}
.courses a:hover,
.courses a:focus {
    background: #eee;
    text-decoration: none;
}
footer {
    margin-top: 80px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
}
footer a {
    color: var(--muted);
    margin-right: 18px;
}

a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}
.back-link {
    display: inline-block;
    margin-bottom: 32px;
    font-size: 15px;
}
.notice {
    max-width: 760px;
    overflow-wrap: break-word;
}
.notice h3 {
    font-size: 22px;
    line-height: 1.25;
    font-weight: 400;
    margin: 38px 0 16px;
}
.notice h4 {
    font-size: 19px;
    font-weight: 400;
    margin: 28px 0 12px;
}
.notice p,
.notice address,
.notice ul {
    font-size: 18px;
    line-height: 1.55;
    margin: 0 0 20px;
    max-width: none;
}
.notice address {
    font-style: normal;
}
.notice ul {
    padding-left: 24px;
}
.notice li {
    margin-bottom: 12px;
}
.notice a {
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
.notice .updated {
    color: var(--muted);
    font-size: 14px;
    margin-top: 32px;
}
@media (max-width: 480px) {
    .page {
        padding: 24px 20px 36px;
    }
}

.language-nav {
    display: flex;
    gap: 24px;
    margin-bottom: 36px;
    font-size: 15px;
}
.language-version {
    scroll-margin-top: 24px;
}
.language-version + .language-version {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}
.notice .language-title {
    font-size: clamp(26px, 4vw, 34px);
    line-height: 1.2;
    margin: 0 0 24px;
}
.notice .translation-note {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 28px;
}
