*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f5f5f7;
    --bg-card: #fff;
    --text: #1d1d1f;
    --text-muted: #86868b;
    --border: #e5e5e7;
    --radius: 14px;
    --accent: #0071e3;
    --link: #0066cc;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #1c1c1e;
        --bg-card: #2c2c2e;
        --text: #f5f5f7;
        --text-muted: #98989d;
        --border: #38383a;
        --accent: #0a84ff;
        --link: #64a8ff;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text);
}

.tagline {
    font-size: 14px;
    color: var(--text-muted);
}

.intro {
    padding: 60px 0 40px;
}

.intro h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.intro p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 520px;
}

.list {
    padding-bottom: 60px;
}

.group {
    margin-bottom: 40px;
}

.group-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.card:hover {
    border-color: var(--accent);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transform: translateY(-1px);
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-body {
    min-width: 0;
}

.card-body h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 1px;
}

.card-by {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.card-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.footer {
    padding: 20px 0;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

.footer-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.footer a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer a:hover {
    color: var(--text);
}

.dot {
    color: var(--border);
}

@media (max-width: 500px) {
    .intro h1 {
        font-size: 24px;
    }
    .card {
        padding: 12px 14px;
    }
}
