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

:root {
    --ink: #14171c;
    --muted: #5d6570;
    --line: #d9dee5;
    --paper: #ffffff;
    --band: #f4f6f8;
    --hero-text: #f7f4ee;
}

html {
    scroll-behavior: auto;
}

section[id] {
    scroll-margin-top: 72px;
}

body {
    font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.75;
    letter-spacing: 0;
}

img {
    max-width: 100%;
    display: block;
}

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

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 40;
    color: var(--hero-text);
    background: rgba(10, 14, 20, 0.28);
    backdrop-filter: blur(10px);
    isolation: isolate;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.navbar.scrolled {
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 6px;
    color: inherit;
}

.brand-pulse {
    width: 62px;
    height: 32px;
    flex-shrink: 0;
}

.brand-en {
    font-family: Outfit, "Noto Sans SC", sans-serif;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.28em;
    padding-right: 0.08em;
    line-height: 1;
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 22px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.86;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
}

.hero {
    position: relative;
    min-height: 100svh;
    padding: 160px 0 96px;
    display: grid;
    place-items: center;
    color: var(--hero-text);
    overflow: hidden;
}

.hero-slides,
.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    object-fit: cover;
    object-position: center 40%;
    opacity: 0;
    transition: opacity 1.1s ease;
}

.hero-image.is-active {
    opacity: 1;
}

.hero-dots {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border: 0;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
}

.hero-dot.is-active {
    background: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
    .hero-image {
        transition: none;
    }
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 14, 20, 0.42) 0%, rgba(10, 14, 20, 0.18) 42%, rgba(10, 14, 20, 0.62) 100%);
}

.hero-copy {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    text-align: center;
}

.hero-kicker {
    font-size: 14px;
    margin-bottom: 18px;
    opacity: 0.9;
}

.hero h1 {
    font-family: "Noto Serif SC", serif;
    font-size: 80px;
    font-weight: 700;
    line-height: 1.12;
}

.hero-en {
    margin-top: 10px;
    font-size: 18px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    opacity: 0.82;
}

.hero-lead {
    margin-top: 28px;
    font-size: 22px;
}

.hero-contact {
    display: inline-block;
    margin-top: 36px;
    padding: 10px 26px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 4px;
}

.hero-contact:hover {
    background: #ffffff;
    color: var(--ink);
}

a:focus-visible {
    outline: 3px solid #2782ff;
    outline-offset: 5px;
}

.section {
    padding: 108px 0;
}

.eyebrow {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 12px;
}

.origin h2,
.cooperate h2,
.section-head h2,
.era h2 {
    font-family: "Noto Serif SC", serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.28;
    margin-bottom: 18px;
}

.section-head {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-head p {
    color: var(--muted);
    font-size: 16px;
}

.origin,
.era {
    background: var(--paper);
}

.origin-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: start;
}

.prose p {
    color: var(--muted);
    font-size: 16px;
}

.prose p + p {
    margin-top: 18px;
}


.cooperate {
    background: var(--band);
}


.partners {
    background: var(--paper);
    padding: 56px 0;
}

.partners .section-head {
    margin-bottom: 20px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
    gap: 12px 24px;
    width: 100%;
}

.partners-grid--insurance {
    margin-top: 18px;
}

.partners-grid--insurance img {
    width: min(100%, 188px);
    height: 40px;
}

.partner-card {
    min-height: 84px;
    padding: 14px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.partner-card img {
    width: min(100%, 188px);
    height: 40px;
    object-fit: contain;
}

.partner-card--zijin {
    padding: 6px 8px;
}

.partner-card--zijin img {
    width: min(100%, 168px);
    height: 68px;
}

.partner-card--name span {
    text-align: center;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
    padding: 0 4px;
    white-space: nowrap;
    background: linear-gradient(90deg, #2f6dff 0%, #7b5cff 48%, #ff6b8a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.partner-card--yuansu span {
    background: linear-gradient(90deg, #1f6bff 0%, #4fd3ff 55%, #7b5cff 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.partner-card--zhuowei span {
    background: linear-gradient(90deg, #ff7a18 0%, #ff4d6d 52%, #c44bff 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.era {
    background: var(--paper);
    padding-bottom: 88px;
}

.era-close {
    margin-top: 56px;
    font-family: "Noto Serif SC", serif;
    font-size: 28px;
    line-height: 1.6;
}

.contact {
    background: var(--band);
}

.contact-rows {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 48px;
}

.contact-rows h3 {
    font-family: "Noto Serif SC", serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--ink);
}

.contact-rows p {
    color: var(--muted);
}

.footer {
    background: var(--paper);
    color: var(--muted);
    border-top: 1px solid var(--line);
    padding: 28px 0;
    font-size: 13px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

@media (max-width: 900px) {
    .hero h1 {
        font-size: 52px;
    }

    .origin h2,
        .section-head h2,
    .era h2 {
        font-size: 32px;
    }

    .origin-grid,
                .partners-grid,
    .contact-rows {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .nav-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
        gap: 8px;
    }

    section[id] {
        scroll-margin-top: 128px;
    }

    .nav-menu {
        width: 100%;
        justify-content: space-between;
        gap: 4px;
    }

    .nav-link {
        font-size: 12px;
        padding: 10px 0;
    }

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

    .hero-lead {
        font-size: 18px;
    }

    .hero-en {
        font-size: 14px;
        letter-spacing: 0.18em;
    }

    .section {
        padding: 64px 0;
    }

    .origin-grid,
                .partners-grid,
    .contact-rows,
    .footer-inner {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 24px;
    }

    .era-close {
        font-size: 22px;
        margin-top: 32px;
    }

}
