html,
body {
    height: 100%;
    width: 100%;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Roboto", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    margin: 0;
}

a {
    -webkit-transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    -moz-transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    color: #1a4f8c;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #0d3a6b;
}

hr {
    max-width: 100px;
    margin: 25px auto 0;
    border-width: 1px;
    border-color: rgba(34, 34, 34, 0.1);
}

hr.light {
    border-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    letter-spacing: 0;
    margin: 0;
}

p {
    font-size: 16px;
    line-height: 1.75;
    margin: 0 0 16px;
}

p:last-child {
    margin-bottom: 0;
}

/* —— 官网页面 —— */

.site-page {
    background: #f7f8fa;
    color: #2c2c2c;
    min-height: 100%;
}

.site-wrap {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #e4e6eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
}

.site-logo {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.02em;
}

.site-logo:hover {
    color: #1a4f8c;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.site-nav a {
    font-size: 14px;
    color: #4a4a4a;
}

.site-nav a:hover {
    color: #1a4f8c;
}

.site-hero {
    background: #fff;
    border-bottom: 1px solid #e4e6eb;
    padding: 64px 0 72px;
}

.site-hero-tag {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    letter-spacing: 0.08em;
}

.site-hero-title {
    font-size: 40px;
    line-height: 1.25;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.site-hero-desc {
    font-size: 17px;
    line-height: 1.8;
    color: #4a4a4a;
    max-width: 640px;
    margin-bottom: 32px;
}

.site-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-btn {
    display: inline-block;
    padding: 11px 28px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.site-btn-primary {
    background: #2b5ea8;
    color: #fff;
    border-color: #2b5ea8;
}

.site-btn-primary:hover {
    background: #1f4d8f;
    border-color: #1f4d8f;
    color: #fff;
}

.site-btn-ghost {
    background: #fff;
    color: #2b5ea8;
    border-color: #c5d0e0;
}

.site-btn-ghost:hover {
    background: #f0f4f9;
    color: #1f4d8f;
}

.site-section {
    padding: 56px 0;
}

.site-section-muted {
    background: #eef1f5;
    border-top: 1px solid #e4e6eb;
    border-bottom: 1px solid #e4e6eb;
}

.site-section-title {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 1px solid #d8dde4;
}

.site-prose {
    max-width: 800px;
}

.site-prose p {
    color: #4a4a4a;
    margin-bottom: 16px;
}

.site-grid {
    display: grid;
    gap: 20px;
}

.site-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.site-card {
    background: #fff;
    border: 1px solid #d8dde4;
    padding: 24px 22px;
    border-radius: 2px;
}

.site-card-title {
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.site-card-text {
    font-size: 14px;
    line-height: 1.7;
    color: #5c5c5c;
    margin: 0;
}

.site-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 720px;
}

.site-steps > li {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid #e4e6eb;
}

.site-steps > li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.site-step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #2b5ea8;
    background: #e8eef6;
    border-radius: 2px;
}

.site-step-body h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.site-step-body p {
    font-size: 14px;
    color: #5c5c5c;
    margin: 0;
}

.site-miniapp {
    max-width: 720px;
}

.site-miniapp-lead {
    font-size: 15px;
    color: #4a4a4a;
    margin-bottom: 24px;
}

.site-dl {
    margin: 0;
    background: #fff;
    border: 1px solid #d8dde4;
    border-radius: 2px;
}

.site-dl dt {
    font-size: 13px;
    color: #888;
    padding: 16px 20px 4px;
    font-weight: normal;
}

.site-dl dd {
    margin: 0;
    padding: 0 20px 16px;
    font-size: 15px;
    color: #2c2c2c;
    border-bottom: 1px solid #eef1f5;
}

.site-dl dd:last-child {
    border-bottom: none;
    padding-bottom: 20px;
}

@media (max-width: 900px) {
    .site-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 12px;
        padding-bottom: 12px;
        gap: 12px;
    }

    .site-hero {
        padding: 40px 0 48px;
    }

    .site-hero-title {
        font-size: 28px;
    }

    .site-section {
        padding: 40px 0;
    }

    .site-grid-3 {
        grid-template-columns: 1fr;
    }

    .site-nav {
        gap: 6px 16px;
    }
}

/* —— 底部备案（保留原结构） —— */

.footer {
    background-color: #222222;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}

.footer .container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer p {
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.footer a {
    color: rgba(255, 255, 255, 0.55);
}

.footer a:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* 兼容旧版单页占位样式 */

#mainbody {
    position: relative;
    width: 100%;
    min-height: auto;
    overflow-y: hidden;
    background: #f1f6fd;
    color: #474157;
    height: calc(100vh - 61px);
}

#mainbody > .container > .text-center {
    text-align: center;
    padding: 350px 0 50px;
    position: relative;
    height: 100vh;
}

#mainbody > .container > .text-center h1 {
    font-size: 50px;
    font-weight: bold;
    color: #171347;
}

#mainbody > .container > .text-center > a {
    background: #fdcc52;
    background: -webkit-linear-gradient(#fdcc52, #fdc539);
    background: linear-gradient(#fdcc52, #fdc539);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 300px;
    margin-top: 20px;
    padding: 10px 45px;
    font-size: 14px;
    text-decoration: none;
}

@media (max-height: 500px) {
    #mainbody {
        height: inherit;
    }
}

@media (min-width: 768px) {
    .navbar-default {
        background-color: transparent;
        border-color: transparent;
    }

    #mainbody .index-text {
        text-align: left;
    }
}

@media (max-width: 767px) {
    #mainbody > .container > .text-center {
        padding: 130px 0 0 0;
        height: calc(100vh - 261px);
    }

    #mainbody > .container > .text-center > h1 {
        font-size: 50px;
        margin-bottom: 20px;
    }
}
