

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #2f3e46;
    background: linear-gradient(180deg, #f5f8f6 0%, #ffffff 42%);
    line-height: 1.65;
}

a { color: #0f766e; }
a:hover { color: #115e59; }

.page-shell {
    max-width: 880px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3.5rem;
}

.page-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.page-nav__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.page-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #2f3e46;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
}

.page-nav__back {
    color: #5f6f76;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid #d8e4df;
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
}

.page-nav__back:hover {
    color: #2f3e46;
    border-color: #84a59d;
}

.lang-picker {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lang-picker__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7280;
    border: 1px solid #d8e4df;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
    font-family: inherit;
}

.lang-picker__btn:hover { background: #f3f4f6; color: #111827; }

.lang-picker__dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #fff;
    border: 1px solid #d8e4df;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    min-width: 164px;
    z-index: 200;
    overflow: hidden;
}

.lang-picker__dropdown[hidden] { display: none; }

.lang-picker__option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    color: #374151;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background-color 0.12s;
}

.lang-picker__option:hover,
.lang-picker__option[aria-current="true"] { background: #f3f4f6; }

.lang-picker__option[aria-current="true"] { font-weight: 600; color: #2563eb; }

.lang-picker__flag {
    display: inline-block;
    width: 22px;
    height: 16px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    overflow: hidden;
}

.page-hero {
    background: #ffffff;
    border: 1px solid #e3eeea;
    border-radius: 18px;
    padding: 1.7rem 1.4rem;
    box-shadow: 0 8px 26px rgba(47, 62, 70, 0.08);
    margin-bottom: 1.1rem;
}

.page-hero__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 700;
    color: #607d76;
    background: #eef5f2;
    border-radius: 999px;
    padding: 0.22rem 0.7rem;
    margin-bottom: 0.7rem;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(1.55rem, 4vw, 2.2rem);
    line-height: 1.2;
    color: #2f3e46;
}

.page-hero p {
    margin: 0.7rem 0 0;
    color: #4c6268;
}

.page-card {
    background: #ffffff;
    border: 1px solid #e3eeea;
    border-radius: 16px;
    padding: 1.3rem 1.2rem;
    margin-top: 0.95rem;
}

.page-card h2 {
    margin: 0;
    font-size: 1.1rem;
    color: #2f3e46;
}

.page-card p {
    margin: 0.65rem 0 0;
    color: #465b61;
}

.page-card ul {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
}

.page-card li {
    margin-top: 0.38rem;
}

.page-footer {
    margin-top: 1.35rem;
    font-size: 0.86rem;
    color: #607277;
}

.page-footer__links {
    margin-top: 0.4rem;
}

.page-footer__links a {
    color: #607277;
    text-decoration: underline;
}

.page-footer__links a:hover { color: #2f3e46; }

@media (max-width: 640px) {
    .page-nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-nav__actions {
        width: 100%;
        justify-content: space-between;
    }
}
