
:root {
    color-scheme: dark;
    --background: #0b1220;
    --panel: #111c2e;
    --panel-border: #26364d;
    --text: #e7edf7;
    --muted: #9aa9bd;
    --accent: #4c91ff;
    --accent-hover: #75aaff;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            #172b48 0%,
            var(--background) 55%
        );
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.65;
}

.site-header {
    width: min(100% - 48px, 1040px);
    margin: 0 auto;
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
    text-decoration: none;
    font-size: 21px;
    font-weight: 650;
    letter-spacing: 0.2px;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(145deg, #398cff, #2460c4);
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px;
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background: rgba(17, 28, 46, 0.75);
}

.language-switcher button {
    min-width: 38px;
    padding: 7px 9px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.language-switcher button:hover {
    color: var(--text);
}

.language-switcher button.active {
    background: #203d66;
    color: #ffffff;
}

.main-content {
    width: min(100% - 40px, 760px);
    margin: auto;
    padding: 42px 0 64px;
}

.hero-panel {
    padding: 48px;
    border: 1px solid var(--panel-border);
    border-radius: 18px;
    background: rgba(17, 28, 46, 0.94);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 2px;
}

h1 {
    margin: 0 0 18px;
    color: #f4f7fc;
    font-size: clamp(30px, 5vw, 42px);
    font-weight: 680;
    line-height: 1.2;
    letter-spacing: -1px;
}

h2 {
    margin: 0 0 12px;
    color: #f0f4fa;
    font-size: 20px;
    font-weight: 650;
}

p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 15px;
}

.intro {
    max-width: 590px;
    font-size: 17px;
    line-height: 1.75;
}

.content-divider {
    height: 1px;
    margin: 32px 0;
    background: var(--panel-border);
}

.link-list {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.site-link {
    min-height: 54px;
    padding: 13px 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    font-size: 14px;
    font-weight: 550;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.site-link:hover {
    border-color: var(--accent);
    background: rgba(76, 145, 255, 0.07);
}

.link-arrow {
    color: var(--accent);
    font-size: 19px;
}

.site-footer {
    width: min(100% - 48px, 1040px);
    margin: 0 auto;
    padding: 22px 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(154, 169, 189, 0.12);
    color: #718198;
    font-size: 12px;
}

@media (max-width: 600px) {
    .site-header {
        width: calc(100% - 32px);
        padding: 20px 0;
    }

    .main-content {
        width: calc(100% - 28px);
        padding: 28px 0 42px;
    }

    .hero-panel {
        padding: 28px 22px;
        border-radius: 14px;
    }

    .site-footer {
        width: calc(100% - 32px);
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}
