:root {
    color-scheme: light;
    --bg: #f7fbff;
    --text: #152234;
    --muted: #617084;
    --line: #dce7f2;
    --panel: #ffffff;
    --blue: #007aff;
    --green: #1f9d64;
    --shadow: 0 18px 44px rgba(21, 34, 52, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(0, 122, 255, 0.12), transparent 34rem),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site-header,
.site-footer,
main {
    width: min(1040px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
    font-weight: 750;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 15px;
    font-weight: 650;
}

.hero {
    padding: 54px 0 32px;
}

.hero h1,
.page-title h1 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.02;
    letter-spacing: 0;
}

.hero p,
.page-title p {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 21px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--text);
    font-weight: 700;
}

.button.primary {
    border-color: var(--blue);
    background: var(--blue);
    color: #ffffff;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 26px 0 48px;
}

.tile,
.content-section {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.tile {
    padding: 22px;
}

.tile h2,
.content-section h2 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.25;
}

.tile p,
.content-section p,
.content-section li {
    color: var(--muted);
}

.tile p,
.content-section p {
    margin: 0;
}

.page-title {
    padding: 42px 0 24px;
}

.content {
    display: grid;
    gap: 18px;
    padding: 10px 0 56px;
}

.content-section {
    padding: 28px;
}

.content-section + .language-heading {
    margin-top: 12px;
}

.language-heading {
    margin: 24px 0 0;
    color: var(--green);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.content-section ul {
    margin: 10px 0 0;
    padding-left: 20px;
}

.meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 15px;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 24px 0 36px;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 760px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav {
        flex-wrap: wrap;
    }

    .hero {
        padding-top: 26px;
    }

    .hero p,
    .page-title p {
        font-size: 18px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 22px;
    }
}
