:root {
    color-scheme: light;
    --bg-start: #e3f2ff;
    --bg-end: #c7e3ff;
    --surface: rgba(255, 255, 255, 0.84);
    --surface-solid: #ffffff;
    --ink: #10213f;
    --muted: #425778;
    --line: #b8d4fb;
    --brand: #2b78eb;
    --brand-strong: #245fba;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Avenir Next", "SF Pro Display", "Segoe UI", sans-serif;
    line-height: 1.6;
    color: var(--ink);
    background: linear-gradient(160deg, var(--bg-start) 0%, var(--bg-end) 52%, #eff6ff 100%);
    position: relative;
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: 0;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(34px);
}

body::before {
    width: 360px;
    height: 360px;
    top: -130px;
    right: -110px;
    background: rgba(255, 255, 255, 0.75);
}

body::after {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -120px;
    background: rgba(43, 120, 235, 0.24);
}

.container {
    width: min(960px, 92vw);
    margin: 0 auto;
    padding: 2rem 0 3.2rem;
    position: relative;
    z-index: 1;
}

header {
    padding-top: 1rem;
}

h1,
h2,
h3 {
    line-height: 1.2;
    margin-top: 0;
}

h1 {
    margin-bottom: 0.75rem;
    font-size: clamp(2rem, 5.4vw, 3.15rem);
    max-width: 17ch;
}

.hero {
    margin-bottom: 1rem;
}

.brand-row {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.95rem;
}

.brand-row img {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(36, 95, 186, 0.22);
}

.wordmark {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.lead {
    color: var(--muted);
    font-size: 1.06rem;
    max-width: 64ch;
}

.links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 11px;
    border: 1px solid var(--brand);
    color: var(--brand);
    background: rgba(255, 255, 255, 0.7);
    padding: 0.58rem 0.98rem;
    font-weight: 600;
}

.btn.primary {
    background: var(--brand);
    color: #ffffff;
}

.btn:hover {
    border-color: var(--brand-strong);
    color: var(--brand-strong);
}

.btn.primary:hover {
    background: var(--brand-strong);
    color: #ffffff;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.9rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.15rem 1.2rem;
    margin-top: 1rem;
    backdrop-filter: blur(8px);
}

.card h2 {
    font-size: 1.06rem;
    margin-bottom: 0.45rem;
}

ul {
    padding-left: 1.2rem;
}

a {
    color: var(--brand);
}

footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.95rem;
}

@media (max-width: 560px) {
    .wordmark {
        font-size: 1.45rem;
    }

    .brand-row img {
        width: 46px;
        height: 46px;
    }
}
