*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f3f3f1;
    color: #1f1f1f;
    -webkit-font-smoothing: antialiased;
}

.page {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 16px;
}

.card {
    background: #ffffff;
    max-width: 960px;
    width: 100%;
    border-radius: 18px;
    padding: 20px 18px 24px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(15, 23, 42, 0.03);
    overflow-y: auto;
}

.lang-switch {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 12px;
}

.lang-button {
    font-size: 0.8rem;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    color: #4b5563;
    text-decoration: none;
    line-height: 1;
}

.lang-button:hover {
    background: #e5f4ee;
    border-color: #0b6b4c;
    color: #0b6b4c;
}

.lang-active {
    background: #0b6b4c;
    color: #ffffff;
    border-color: #0b6b4c;
}

@media (min-width: 768px) {
    .card {
        padding: 32px 32px 36px;
        margin: 24px 0;
    }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0b6b4c, #169c6e);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 16px rgba(11, 107, 76, 0.35);
}

h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0b6b4c;
    letter-spacing: 0.02em;
}

.subtitle {
    font-size: 0.9rem;
    color: #6b7280;
}

.updated {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #4b5563;
}

h2 {
    margin-top: 18px;
    margin-bottom: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #145c3f;
}

p {
    margin-bottom: 10px;
    font-size: 0.94rem;
    line-height: 1.6;
}

ul {
    margin-left: 18px;
    margin-bottom: 10px;
    font-size: 0.94rem;
    line-height: 1.6;
}

li {
    margin-bottom: 4px;
}

strong {
    font-weight: 600;
}

a {
    color: #0b6b4c;
    text-decoration: none;
    border-bottom: 1px solid rgba(11, 107, 76, 0.25);
}

a:hover {
    text-decoration: none;
    border-bottom-color: transparent;
    color: #09513a;
}

.footer {
    border-top: 1px solid #e5e7eb;
    margin-top: 18px;
    padding-top: 10px;
    font-size: 0.85rem;
    color: #6b7280;
    text-align: left;
}

/* Mobile first adjustments */
@media (max-width: 480px) {
    .card {
        border-radius: 0;
        max-width: 100%;
        height: 100vh;
    }

    .card-header {
        margin-top: 4px;
        margin-bottom: 12px;
    }

    h1 {
        font-size: 1.25rem;
    }

    p,
    ul {
        font-size: 0.9rem;
    }

    .lang-switch {
        margin-bottom: 8px;
    }

    .lang-button {
        padding: 5px 9px;
        font-size: 0.78rem;
    }
}

