:root {
    color-scheme: light;
    --surface: #fbfcff;
    --text: #172033;
    --muted: #58677f;
    --accent: #2362df;
    --border: #dbe3f0;
    /* Preserve-brand scale: controls 6px, content panels 14px. */
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    color: var(--text);
    background: var(--surface);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100dvh; display: flex; flex-direction: column; }
.landing-page { height: 100dvh; overflow: hidden; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; top: 8px; left: 8px; padding: 12px; background: var(--surface); transform: translateY(-160%); }
.skip-link:focus { transform: none; z-index: 1; }
.site-header { height: 68px; min-height: 68px; padding: 0 3vw; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-shrink: 0; }
.brand img { width: auto; height: 38px; }
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav > a:not(.button) { color: var(--text); }
.button { display: inline-flex; min-height: 42px; min-width: 92px; align-items: center; justify-content: center; padding: 9px 25px; border-radius: 6px; border: 1px solid var(--accent); font-weight: 500; white-space: nowrap; }
.button:hover { text-decoration: none; background: #eaf1ff; }
.button:active { transform: translateY(1px); }
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { background: #194fbd; }
.button-outline { background: transparent; }
.landing-main { width: min(1500px, 96%); margin: 18px auto; min-height: 0; flex: 1; display: flex; flex-direction: column; gap: 18px; }
.hero { position: relative; min-height: 0; flex: 1; display: grid; grid-template-columns: 46% 54%; align-items: center; padding: 32px 70px 46px 8%; border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(115deg, #edf3ff, #f5f8ff 60%, #edf3ff); overflow: hidden; }
.hero-copy { position: relative; }
.hero h1 { margin: 0 0 24px; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.5; letter-spacing: .01em; font-weight: 700; }
.hero h1 span { display: block; }
.hero-copy p { color: var(--muted); margin: 0 0 30px; line-height: 1.8; font-size: clamp(15px, 1.45vw, 20px); }
.text-link { display: inline-block; line-height: 1.6; font-weight: 500; }
.hero .text-link { font-size: clamp(17px, 1.6vw, 21px); }
.hero-illustration { width: 100%; height: auto; object-fit: contain; }
.carousel-arrow { position: absolute; top: calc(50% - 24px); width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--text); font-size: 32px; line-height: 1; box-shadow: 0 5px 16px rgb(47 71 110 / 10%); }
.carousel-arrow:hover { background: #e2ebff; }
.previous { left: 16px; }
.next { right: 16px; }
.carousel-indicators { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; }
.carousel-indicators button { border: 0; padding: 0; width: 36px; height: 36px; background: transparent; display: grid; place-items: center; }
.carousel-indicators button::before { content: ''; display: block; width: 10px; height: 10px; border-radius: 8px; background: #8697b3; }
.carousel-indicators [aria-current="true"]::before { width: 18px; background: var(--accent); }
.resource-links { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; align-items: center; min-height: 76px; border: 1px solid var(--border); border-radius: 14px; padding: 14px 30px; background: #fff; }
.resource-links h2 { margin: 0; font-size: 20px; text-align: center; }
.resource-links a { padding: 8px 20px; text-align: center; font-size: 18px; }
.resource-links a + a { border-left: 1px solid var(--border); }
.resource-links span { margin-left: 12px; }
.site-footer { margin-top: auto; border-top: 1px solid var(--border); padding: 7px 24px 9px; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.45; }
.site-footer p { margin: 0; }
.site-footer > p:first-child { flex-basis: 100%; }
.site-footer a { color: inherit; }
.footer-notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; font-size: 12px; }
.footer-notes [data-filings] { display: inline-flex; gap: 18px; }
.help-main { width: min(840px, calc(100% - 48px)); margin: 20px auto 60px; line-height: 1.9; }
.help-main section { padding: 24px 0; scroll-margin-top: 20px; }
.help-main section + section { border-top: 1px solid var(--border); }
.help-main h1 { font-size: 30px; }
.help-main h2 { font-size: 23px; }
.help-main p, .help-main li { color: var(--muted); }
.help-main li + li { margin-top: 12px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 180px; align-items: center; gap: 40px; }
.contact-email { font-size: 18px; font-weight: 600; }
.wechat-contact { margin: 0; text-align: center; color: var(--muted); font-size: 13px; }
.wechat-contact img { display: block; width: 160px; height: 160px; margin: 0 auto 8px; border: 1px solid var(--border); background: #fff; }
.auth-launcher { width: min(560px, calc(100% - 40px)); margin: 18vh auto 0; text-align: center; padding: 30px 0; }
.auth-launcher img { width: 240px; max-width: 100%; height: auto; }
.auth-launcher p { line-height: 1.8; color: var(--muted); margin: 28px 0; }
.auth-launcher .text-link { margin: 16px; }
@media (max-width: 1024px) {
    .site-header nav { gap: 18px; }
    .hero { padding-left: 65px; padding-right: 50px; grid-template-columns: 50% 50%; }
    .hero h1 { font-size: 33px; }
    .resource-links { padding: 18px; }
    .resource-links h2 { font-size: 17px; }
    .resource-links a { padding: 8px 10px; font-size: 16px; }
}
@media (max-width: 767px) {
    .site-header { padding: 0 20px; height: 72px; gap: 12px; }
    .brand img { height: auto; width: min(34vw, 215px); }
    .site-header .nav-info { display: none; }
    .site-header nav { gap: 10px; }
    .button { min-width: 62px; padding: 9px 14px; }
    .landing-page { height: auto; overflow: auto; }
    .landing-main { margin: 20px auto; gap: 20px; width: calc(100% - 32px); }
    .hero { min-height: 385px; height: auto; max-height: none; display: block; padding: 58px 42px 70px; }
    .hero h1 { font-size: clamp(27px, 5.6vw, 38px); }
    .hero-copy p { font-size: 16px; margin-bottom: 28px; }
    .hero-illustration { display: none; }
    .carousel-arrow { width: 32px; height: 44px; font-size: 28px; }
    .previous { left: 5px; } .next { right: 5px; }
    .resource-links { grid-template-columns: 1fr; padding: 18px 24px; }
    .resource-links h2 { text-align: left; margin-bottom: 10px; }
    .resource-links a { text-align: left; padding: 10px 0; display: flex; justify-content: space-between; }
    .resource-links a + a { border-left: 0; }
    .site-footer { padding: 10px 16px 12px; }
    .footer-notes { gap: 0 10px; font-size: 11px; }
    .contact-grid { grid-template-columns: 1fr; gap: 18px; }
    .wechat-contact { text-align: left; }
    .wechat-contact img { margin-left: 0; }
}
@media (min-width: 768px) and (max-height: 720px) {
    .site-header { height: 60px; min-height: 60px; }
    .brand img { height: 32px; }
    .landing-main { margin: 12px auto; gap: 12px; }
    .hero { padding-top: 22px; padding-bottom: 36px; }
    .hero h1 { margin-bottom: 14px; font-size: clamp(28px, 3vw, 42px); }
    .hero-copy p { margin-bottom: 18px; }
    .resource-links { min-height: 66px; padding-top: 10px; padding-bottom: 10px; }
    .site-footer { padding-top: 5px; padding-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
