* {
    box-sizing: border-box;
}

@font-face {
    font-family: "Noto Sans SC";
    src: url("/assets/fonts/NotoSansSC-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Noto Sans SC";
    src: url("/assets/fonts/NotoSansSC-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Noto Sans SC";
    src: url("/assets/fonts/NotoSansSC-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    font-family: "Noto Sans SC", "Source Han Sans SC", "WenQuanYi Micro Hei", "Segoe UI", sans-serif;
    background: #f4f7ff;
    color: #0f172a;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

.top-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid #dbe4ff;
}

.top-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    gap: 16px;
}

.brand {
    font-weight: 700;
    font-size: 20px;
    color: #2563eb;
}

.menu {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.menu a {
    font-size: 14px;
    color: #475569;
}

.menu a.active,
.menu a:hover {
    color: #1d4ed8;
}

.hero {
    padding: 56px 0 28px;
}

.hero h1 {
    margin: 0;
    font-size: 44px;
    line-height: 1.25;
    color: #0b1f55;
    letter-spacing: 0.4px;
}

.hero p {
    margin: 16px 0 24px;
    color: #475569;
}

.panel {
    background: #ffffff;
    border: 1px solid #dbe4ff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.grid {
    display: grid;
    gap: 16px;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.btn {
    border: none;
    border-radius: 12px;
    padding: 10px 16px;
    background: linear-gradient(90deg, #2563eb, #4f46e5);
    color: #fff;
    cursor: pointer;
    font-weight: 500;
}

.btn.secondary {
    background: #eef3ff;
    border: 1px solid #c7d6ff;
    color: #1e3a8a;
}

input,
select,
textarea {
    width: 100%;
    background: #f8faff;
    border: 1px solid #cdd9ff;
    color: #0f172a;
    border-radius: 10px;
    padding: 10px 12px;
}

textarea {
    min-height: 100px;
}

.footer {
    margin-top: 48px;
    border-top: 1px solid #dbe4ff;
    padding: 20px 0 28px;
    color: #64748b;
    font-size: 13px;
}

.tag {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #c7d6ff;
    color: #1e3a8a;
    background: #eef4ff;
    margin-right: 8px;
    margin-bottom: 8px;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    border-bottom: 1px solid #dbe4ff;
    padding: 10px 8px;
    text-align: left;
    font-size: 14px;
}

.split {
    display: flex;
    gap: 16px;
}

.split > .left {
    flex: 1;
}

.split > .right {
    width: 360px;
}

@media (max-width: 991px) {
    .grid-3,
    .grid-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .split {
        flex-direction: column;
    }

    .split > .right {
        width: auto;
    }

    .hero h1 {
        font-size: 32px;
    }
}
