:root {
    --bg: #fffff3;
    --panel: #fffafa;
    --footer: #FBFBEC;
    --ink: #303030;
    --body-strong: #45453c;
    --muted: #6d6d61;
    --accent: #6E8C8C;
    --accent-dark: #5D7682;
    --accent-dark-accessible: #475C62;
    --hairline: #E4E7DC;
    --border-card: #D7DCCF;
    --error-pink: #D100D1;
    --overlay: rgba(53, 53, 45, 0.42);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
}
body {
    min-height: 100vh;
    background-color: var(--bg);
    color: var(--ink);
    font-family: "Courier New", Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: transparent;
    backdrop-filter: blur(6px);
}
.site-header-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 5px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: xx-large;
    padding: 8px 0;
    font-weight: bold;
    color: var(--accent-dark);
    white-space: nowrap;
    text-decoration: none;
}
.site-header-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 13px;
}
.lang-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    color: var(--muted);
}
.lang-button:hover {
    color: var(--ink);
}
.hero {
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 32px 52px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 84px;
    align-items: start;
}
.hero-title {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--ink);
    margin: 18px 0;
}
.hero-para {
    font-size: 18px;
    color: var(--body-strong);
    max-width: 620px;
    margin-top: 14px;
}
.stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 44px;
    margin-top: 40px;
    padding-top: 28px;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-value {
    font-size: 30px;
    font-weight: 700;
    color: var(--accent-dark);
}
.stat-label {
    font-size: 13px;
    color: var(--muted);
}
.kayttajat {
    width: 100%;
}
.kayttajat h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 22px;
}
.failureNotification {
    display: block;
    color: var(--error-pink);
    margin-bottom: 18px;
}
.kayttajat table,
.kayttajat tbody {
    display: block;
    width: 100%;
}
.kayttajat tr {
    display: block;
    width: 100%;
    margin-bottom: 18px;
}
.kayttajat td {
    display: block;
    width: 100%;
    padding: 0;
}
.kayttajat td.header {
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--muted);
    margin-bottom: 8px;
}
.textEntry,
.passwordEntry {
    width: 100%;
    padding: 12px 14px;
    font: inherit;
    font-size: 15px;
    background: var(--bg);
    border: 1px solid var(--border-card);
    border-radius: 3px;
}
.textEntry:focus,
.passwordEntry:focus {
    border-color: var(--accent);
    background: var(--panel);
    outline: none;
}
.textEntry:focus-visible,
.passwordEntry:focus-visible,
.kayttajat .login-button:focus-visible {
    outline: 2px solid var(--accent-dark);
    outline-offset: 2px;
}
.login-error {
    display: block;
    color: var(--error-pink);
    font-size: 13px;
    margin-top: 6px;
}
.kayttajat .login-button {
    width: 100%;
    padding: 13px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--bg);
    background: var(--accent-dark);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.kayttajat .login-button:hover {
    background: var(--accent-dark-accessible);
}
.dots {
    display: none;
    align-items: center;
    margin-left: 6px;
}
.dots span {
    width: 4px;
    height: 4px;
    margin: 0 2px;
    border-radius: 50%;
    background-color: currentColor;
    animation: dot-bounce 1.4s infinite ease-in-out both;
}
.dots span:nth-child(1) {
    animation-delay: -0.32s;
}
.dots span:nth-child(2) {
    animation-delay: -0.16s;
}
@keyframes dot-bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}
.content-layout {
    max-width: 1300px;
    margin: 0 auto;
    padding: 24px 32px 96px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 66px;
    border-top: 1px solid var(--hairline);
}
.content-articles {
    max-width: 70ch;
}
.section-index-sticky {
    position: sticky;
    top: 104px;
}
.section-index-label {
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin: 40px 0 18px;
}
.section-index-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}
.section-index-link {
    color: var(--muted);
    text-decoration: none;
}
.section-index-link:hover {
    color: var(--ink);
}
.section-index-link.is-active {
    color: var(--ink);
    font-weight: 700;
}
.content-section {
    padding: 40px 0;
}
.content-section + .content-section {
    border-top: 1px solid var(--hairline);
}
.content-section-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ink);
    margin: 0 0 20px;
    scroll-margin-top: 104px;
}
.content-section p {
    margin: 0 0 22px;
    color: var(--body-strong);
}
.content-section p.muted {
    color: var(--muted);
}
.content-section p:last-child {
    margin-bottom: 0;
}
.content-sublabel {
/*    font-size: 13px;
    letter-spacing: 1px;*/
    color: var(--accent);
    margin: 0 0 12px;
}
.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 12px;
}
.bullet-list-item {
    display: flex;
    gap: 12px;
}
.bullet-list-marker {
    color: var(--muted);
}
.bullet-list-text {
    color: var(--body-strong);
}
.bullet-list-term {
    color: var(--body-strong);
    font-weight: 700;
}
.stat-callout {
    display: flex;
    flex-wrap: wrap;
    gap: 44px;
    margin: 0 0 26px;
    padding: 22px 50px;
    border: 1px solid var(--hairline);
}
.stat-callout-item {
    display: flex;
    flex-direction: column;
}
.stat-callout-value {
    font-size: 26px;
    font-weight: 700;
    color: var(--accent-dark);
}
.stat-callout-label {
    font-size: 13px;
    color: var(--muted);
}
.site-footer {
    background: var(--footer);
}
.site-footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.site-footer-copy {
    font-size: 12px;
    color: var(--muted);
}
.scroll-to-top {
    display: none;
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 40;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    color: var(--bg);
    background: var(--accent-dark);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(53, 53, 45, 0.2);
}
.scroll-to-top:hover {
    background: var(--accent-dark-accessible);
}
.scroll-to-top.is-visible {
    display: flex;
}
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 60;
    background: var(--overlay);
    align-items: center;
    justify-content: center;
    padding: 32px;
}
.modal-panel {
    position: relative;
    width: 100%;
    max-width: 660px;
    max-height: 82vh;
    overflow: auto;
    background: var(--bg);
    border: 1px solid var(--border-card);
    border-radius: 6px;
    padding: 44px 48px;
    box-shadow: 0 24px 60px rgba(53, 53, 45, 0.22);
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.modal-close:hover {
    color: var(--ink);
}
.about-lang {
    display: none;
}
.about-modal-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 24px;
}
.about-modal-para {
    margin: 0 0 20px;
    color: var(--body-strong);
}
.about-modal-para:last-child {
    margin-bottom: 0;
}
@media (max-width: 860px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 48px 32px;
    }
    .content-layout {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 24px 32px 72px;
    }
    .section-index {
        display: none;
    }
    .content-articles {
        max-width: none;
    }
}
@media (max-width: 480px) {
    .hero {
        padding: 40px 20px;
        gap: 32px;
    }
    .hero-title {
        font-size: 34px;
    }
    .hero-para {
        font-size: 16px;
    }
    .content-layout {
        padding: 24px 20px 72px;
    }
    .stat-callout {
        padding: 22px 24px;
    }
    .modal-panel {
        padding: 32px 24px;
    }
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
    }
}
.site-footer-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 13px;
}
.site-header-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
}
.menu-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--accent-dark);
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.site-header-toggle.is-open .menu-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.site-header-toggle.is-open .menu-bar:nth-child(2) {
    opacity: 0;
}
.site-header-toggle.is-open .menu-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 640px) {
    .site-header-inner {
        position: relative;
    }
    .site-header-toggle {
        display: flex;
    }
    .site-header-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 20px 32px;
        background: var(--bg);
        border-bottom: 1px solid var(--hairline);
        display: none;
    }
    .site-header-nav.is-open {
        display: flex;
    }
}
.stat-value,
.stat-callout-value {
    font-variant-numeric: tabular-nums;
}