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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    color: #1f2937;
    background: #ffffff;
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.nav {
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    font-weight: 600;
    font-size: 18px;
    color: #111827;
    letter-spacing: 0.5px;
}

.logo {
    height: 36px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: #4b5563;
    font-size: 14px;
}

.nav-links a:hover {
    color: #2563eb;
    text-decoration: none;
}

/* Hero */
.hero {
    padding: 96px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.hero h1 {
    font-size: 40px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.hero .subtitle {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 32px;
}

.hero .lead {
    max-width: 640px;
    margin: 0 auto;
    color: #374151;
    font-size: 16px;
}

/* Sections */
section {
    padding: 72px 0;
    border-top: 1px solid #f3f4f6;
}

section h2 {
    font-size: 26px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 24px;
    text-align: center;
}

section p {
    color: #374151;
    margin-bottom: 16px;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 28px 24px;
    background: #ffffff;
    transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
}

.card h3 {
    font-size: 17px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.card p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* Contact */
.contact-block {
    text-align: center;
    background: #f9fafb;
    border-radius: 8px;
    padding: 40px 24px;
    margin-top: 32px;
}

.contact-block .label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
}

.contact-block .value {
    font-size: 18px;
    color: #111827;
    margin-bottom: 24px;
}

.contact-block .value:last-child {
    margin-bottom: 0;
}

/* Legal pages */
.legal {
    padding: 64px 0 80px;
}

.legal h1 {
    font-size: 28px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.legal .updated {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 32px;
}

.legal h2 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 32px 0 12px;
}

.legal p,
.legal li {
    color: #374151;
    margin-bottom: 12px;
}

.legal ul,
.legal ol {
    padding-left: 24px;
    margin-bottom: 12px;
}

/* Footer */
.footer {
    border-top: 1px solid #e5e7eb;
    padding: 32px 0;
    background: #f9fafb;
    color: #6b7280;
    font-size: 13px;
}

.footer .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.footer a {
    color: #6b7280;
}

.footer a:hover {
    color: #2563eb;
}

.footer-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Responsive */
@media (max-width: 640px) {
    .hero {
        padding: 64px 0 56px;
    }

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

    .hero .subtitle {
        font-size: 16px;
    }

    section {
        padding: 56px 0;
    }

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

    .nav-inner {
        height: 56px;
    }

    .nav-links {
        gap: 18px;
    }

    .brand {
        font-size: 16px;
    }
}
