.qyh-homepage {
    --qyh-ink: #1d1d1f;
    --qyh-muted: #6e6e73;
    --qyh-subtle: #86868b;
    --qyh-paper: #f5f5f7;
    --qyh-white: #ffffff;
    --qyh-line: #d2d2d7;
    --qyh-accent: #008f63;
    --qyh-accent-dark: #006c4a;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    color: var(--qyh-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    letter-spacing: 0;
    background: var(--qyh-white);
}

.qyh-homepage *,
.qyh-homepage *::before,
.qyh-homepage *::after {
    box-sizing: border-box;
}

.qyh-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.qyh-eyebrow {
    margin: 0 0 14px;
    color: var(--qyh-accent);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
}

.qyh-hero {
    background: var(--qyh-white);
}

.qyh-hero__inner {
    display: grid;
    min-height: 540px;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    align-items: center;
    gap: 78px;
    padding-top: 72px;
    padding-bottom: 72px;
}

.qyh-hero h1 {
    max-width: 680px;
    margin: 0;
    color: var(--qyh-ink);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.12;
}

.qyh-hero__lead {
    margin: 22px 0 0;
    color: var(--qyh-ink);
    font-size: 26px;
    font-weight: 500;
    line-height: 1.45;
}

.qyh-hero__body {
    max-width: 610px;
    margin: 18px 0 0;
    color: var(--qyh-muted);
    font-size: 16px;
    line-height: 1.8;
}

.qyh-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.qyh-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.qyh-button:hover {
    text-decoration: none;
}

.qyh-button--solid {
    color: #fff;
    background: var(--qyh-accent);
}

.qyh-button--solid:hover {
    color: #fff;
    background: var(--qyh-accent-dark);
}

.qyh-button--ghost,
.qyh-button--outline {
    color: var(--qyh-ink);
    background: transparent;
    border-color: var(--qyh-line);
}

.qyh-button--ghost:hover,
.qyh-button--outline:hover {
    color: var(--qyh-ink);
    background: var(--qyh-paper);
    border-color: #a8a8ad;
}

.qyh-hero__media {
    min-height: 350px;
    padding: 30px;
    color: var(--qyh-ink);
    background: #f1f6f3;
    border: 1px solid #dce6e1;
    border-radius: 8px;
}

.qyh-hero__media-label {
    color: var(--qyh-accent-dark);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.qyh-hero__summary {
    display: grid;
    margin-top: 28px;
    border-top: 1px solid #d5e0da;
}

.qyh-hero__summary div {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 2px 14px;
    padding: 18px 0;
    border-bottom: 1px solid #d5e0da;
}

.qyh-hero__summary-index {
    grid-row: span 2;
    color: var(--qyh-accent);
    font-size: 12px;
    font-weight: 700;
}

.qyh-hero__summary strong {
    font-size: 17px;
    line-height: 1.35;
}

.qyh-hero__summary small {
    color: var(--qyh-muted);
    font-size: 13px;
    line-height: 1.5;
}

.qyh-hero__media-note {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
    color: var(--qyh-subtle);
    font-size: 10px;
}

.qyh-proof {
    overflow: hidden;
    background: #f7f9f8;
    border-top: 1px solid #ececef;
    border-bottom: 1px solid #ececef;
}

.qyh-proof__viewport {
    width: 100%;
    overflow: hidden;
}

.qyh-proof__track {
    display: flex;
    width: max-content;
    animation: qyh-marquee 44s linear infinite;
    animation-play-state: running;
    will-change: transform;
}

.qyh-proof__track div {
    display: grid;
    width: 300px;
    min-height: 96px;
    align-content: center;
    gap: 6px;
    padding: 20px 24px;
    border-left: 1px solid var(--qyh-line);
}

.qyh-proof strong {
    color: var(--qyh-ink);
    font-size: 14px;
    line-height: 1.35;
}

.qyh-proof span {
    color: var(--qyh-muted);
    font-size: 12px;
    line-height: 1.45;
}

.qyh-section {
    padding: 104px 0;
}

.qyh-section-heading {
    max-width: 720px;
    margin-bottom: 48px;
}

.qyh-section-heading h2 {
    margin: 0;
    color: var(--qyh-ink);
    font-size: 44px;
    font-weight: 700;
    line-height: 1.18;
}

.qyh-section-heading > p:last-child {
    max-width: 650px;
    margin: 18px 0 0;
    color: var(--qyh-muted);
    font-size: 16px;
    line-height: 1.75;
}

.qyh-section-heading--compact {
    margin-bottom: 34px;
}

.qyh-products {
    background: var(--qyh-paper);
}

.qyh-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.qyh-product-card {
    display: flex;
    min-width: 0;
    min-height: 540px;
    flex-direction: column;
    overflow: hidden;
    background: var(--qyh-white);
    border-radius: 8px;
}

.qyh-product__visual {
    display: grid;
    min-height: 225px;
    place-items: center;
    overflow: hidden;
    padding: 14px;
    background: #fafafa;
    border-bottom: 1px solid #ececef;
}

.qyh-product__visual img {
    display: block;
    width: 100%;
    max-height: 205px;
    object-fit: contain;
}

.qyh-product__visual--screen {
    background: #eef0f2;
}

.qyh-product-card--hardware .qyh-product__visual {
    grid-template-rows: 1fr 62px;
    gap: 8px;
    padding: 10px 18px;
}

.qyh-product-card--hardware .qyh-product__visual > img:first-child {
    max-height: 188px;
}

.qyh-product-card--hardware .qyh-product__visual .qyh-product__label {
    max-height: 58px;
}

.qyh-product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 25px;
}

.qyh-product__index {
    margin: 0 0 12px;
    color: var(--qyh-accent);
    font-size: 11px;
    font-weight: 700;
}

.qyh-product-card h3 {
    margin: 0;
    color: var(--qyh-ink);
    font-size: 24px;
    font-weight: 680;
    line-height: 1.3;
}

.qyh-product-card__body > p:not(.qyh-product__index) {
    margin: 16px 0 0;
    color: var(--qyh-muted);
    font-size: 14px;
    line-height: 1.72;
}

.qyh-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
    color: var(--qyh-accent-dark);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.qyh-inline-link:hover {
    color: var(--qyh-accent);
    text-decoration: underline;
}

.qyh-resources {
    background: var(--qyh-white);
}

.qyh-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--qyh-line);
    border-bottom: 1px solid var(--qyh-line);
}

.qyh-resource {
    display: grid;
    min-height: 132px;
    grid-template-columns: 34px 1fr 18px;
    align-items: start;
    gap: 12px;
    padding: 24px;
    color: var(--qyh-ink);
    border-left: 1px solid var(--qyh-line);
    text-decoration: none;
    transition: background-color 160ms ease;
}

.qyh-resource:first-child {
    border-left: 0;
}

.qyh-resource:hover {
    color: var(--qyh-ink);
    background: var(--qyh-paper);
}

.qyh-resource__number {
    color: var(--qyh-accent);
    font-size: 11px;
    font-weight: 700;
}

.qyh-resource strong {
    display: block;
    font-size: 17px;
    line-height: 1.4;
}

.qyh-resource small {
    display: block;
    margin-top: 8px;
    color: var(--qyh-muted);
    font-size: 13px;
    line-height: 1.5;
}

.qyh-resource > span:last-child {
    color: var(--qyh-accent);
    font-size: 18px;
    line-height: 1;
}

.qyh-download-note {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin: 52px 0 18px;
}

.qyh-download-note strong {
    font-size: 22px;
}

.qyh-download-note span {
    color: var(--qyh-muted);
    font-size: 14px;
    line-height: 1.6;
}

.qyh-download-preview .qydc-section {
    width: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
}

.qyh-download-preview .qydc-heading-row {
    display: none;
}

.qyh-download-preview .qydc-grid {
    display: block;
}

.qyh-download-preview .qydc-card {
    display: grid;
    min-height: 0;
    grid-template-columns: 58px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--qyh-line);
    border-radius: 0;
    box-shadow: none;
}

.qyh-download-preview .qydc-file-icon {
    width: 46px;
    height: 52px;
    background: var(--qyh-accent);
}

.qyh-download-preview .qydc-card-body {
    padding: 0;
}

.qyh-download-preview .qydc-card h3 {
    margin-bottom: 4px;
    font-size: 17px;
}

.qyh-download-preview .qydc-card p {
    font-size: 13px;
}

.qyh-download-preview .qydc-meta {
    margin-top: 7px;
}

.qyh-download-preview .qydc-download-button {
    min-height: 40px;
    padding: 0 14px;
    background: var(--qyh-accent);
    border-color: var(--qyh-accent);
    border-radius: 6px;
}

.qyh-license {
    padding: 72px 0;
    color: var(--qyh-ink);
    background: #f1f6f3;
}

.qyh-license .qyh-eyebrow {
    color: var(--qyh-accent-dark);
}

.qyh-license__inner {
    display: grid;
    grid-template-columns: 1fr 1.35fr auto;
    align-items: center;
    gap: 42px;
}

.qyh-license h2 {
    margin: 0;
    color: var(--qyh-ink);
    font-size: 34px;
    line-height: 1.2;
}

.qyh-license__inner > p {
    margin: 0;
    color: var(--qyh-muted);
    font-size: 14px;
    line-height: 1.75;
}

.qyh-license .qyh-button--outline {
    color: var(--qyh-ink);
    border-color: var(--qyh-line);
}

.qyh-license .qyh-button--outline:hover {
    color: var(--qyh-ink);
    background: var(--qyh-white);
    border-color: #a8a8ad;
}

.qyh-partners {
    padding: 88px 0;
    overflow: hidden;
    background: #f7f9f8;
}

.qyh-partner-marquee {
    width: 100%;
    overflow: hidden;
    border-top: 1px solid var(--qyh-line);
    border-bottom: 1px solid var(--qyh-line);
}

.qyh-partner-track {
    display: flex;
    width: max-content;
    animation: qyh-marquee 36s linear infinite;
    animation-play-state: running;
    will-change: transform;
}

.qyh-partner-track span {
    display: grid;
    width: 340px;
    min-height: 112px;
    align-content: center;
    gap: 7px;
    padding: 20px 26px;
    color: var(--qyh-ink);
    border-left: 1px solid var(--qyh-line);
}

.qyh-partner-track strong {
    font-size: 18px;
    font-weight: 650;
    line-height: 1.35;
}

.qyh-partner-track small {
    color: var(--qyh-muted);
    font-size: 12px;
    line-height: 1.5;
}

@keyframes qyh-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.qyh-footer {
    color: var(--qyh-ink);
    background: var(--qyh-paper);
    border-top: 1px solid #ececef;
}

.qyh-footer__inner {
    display: flex;
    min-height: 176px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.qyh-footer strong {
    font-size: 17px;
}

.qyh-footer p {
    margin: 9px 0 0;
    color: var(--qyh-muted);
    font-size: 13px;
}

.qyh-footer__contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 26px;
    color: #4a4a4f;
    font-size: 13px;
}

.qyh-footer__contact a {
    color: var(--qyh-accent-dark);
    text-decoration: none;
}

.qyh-footer__contact a:hover {
    text-decoration: underline;
}

.qyh-footer__muted {
    color: var(--qyh-subtle);
}

body.home .qyh-homepage + * {
    display: none;
}

body.home #footer,
body.home .scroll-top {
    display: none !important;
}

@media (max-width: 980px) {
    .qyh-hero__inner {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .qyh-hero h1 {
        font-size: 48px;
    }

    .qyh-proof__track div {
        width: 280px;
    }

    .qyh-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qyh-product-card:last-child {
        grid-column: 1 / -1;
    }

    .qyh-license__inner {
        grid-template-columns: 1fr 1.2fr;
    }

    .qyh-license__inner .qyh-button {
        grid-column: 2;
        justify-self: start;
    }

    .qyh-partner-track span {
        width: 320px;
    }
}

@media (max-width: 640px) {
    .qyh-shell {
        width: min(100% - 32px, 1180px);
    }

    .qyh-hero__inner {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .qyh-hero h1 {
        font-size: 38px;
    }

    .qyh-hero__lead {
        font-size: 21px;
    }

    .qyh-hero__body {
        font-size: 15px;
    }

    .qyh-hero__media {
        min-height: 320px;
        padding: 24px;
    }

    .qyh-proof__track div {
        width: 250px;
        min-height: 88px;
        padding: 16px 18px;
    }

    .qyh-proof strong {
        font-size: 12px;
    }

    .qyh-proof span {
        font-size: 11px;
    }

    .qyh-section {
        padding: 72px 0;
    }

    .qyh-section-heading h2 {
        font-size: 34px;
    }

    .qyh-product-grid {
        grid-template-columns: 1fr;
    }

    .qyh-product-card,
    .qyh-product-card:last-child {
        min-height: 0;
        grid-column: auto;
    }

    .qyh-resource-grid {
        grid-template-columns: 1fr;
    }

    .qyh-resource {
        min-height: 112px;
        border-top: 1px solid var(--qyh-line);
        border-left: 0;
    }

    .qyh-resource:first-child {
        border-top: 0;
    }

    .qyh-download-note {
        display: block;
    }

    .qyh-download-note span {
        display: block;
        margin-top: 8px;
    }

    .qyh-download-preview .qydc-card {
        grid-template-columns: 48px 1fr;
        gap: 13px;
    }

    .qyh-download-preview .qydc-download-button {
        grid-column: 2;
        justify-self: start;
    }

    .qyh-license__inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .qyh-license__inner .qyh-button {
        grid-column: auto;
    }

    .qyh-license h2 {
        font-size: 30px;
    }

    .qyh-partner-track span {
        width: 280px;
        min-height: 96px;
        padding: 16px 20px;
    }

    .qyh-footer__inner {
        min-height: 220px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
    }

    .qyh-footer__contact {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qyh-button,
    .qyh-resource {
        transition: none;
    }

    /* These two rails are an explicit homepage requirement: keep them
       moving even when the browser requests reduced incidental motion. */
    .qyh-proof__track {
        animation: qyh-marquee 64s linear infinite;
    }

    .qyh-partner-track {
        animation: qyh-marquee 54s linear infinite;
    }
}

/* 导航栏内公众号标签（logo 右侧） */
.qyh-wechat--header {
    margin-left: 18px;
    align-self: center;
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .qyh-wechat--header {
        display: none;
    }
}

/* 导航栏内公众号二维码（标签右侧） */
.qyh-wechat-qr {
    margin-left: 12px;
    align-self: center;
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: 10px;
    border: 1px solid #bfe3d2;
    background: #fff;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .qyh-wechat-qr {
        display: none;
    }
}

/* 公众号标签（页脚/导航栏通用） */
.qyh-wechat {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    border-radius: 999px;
    background: #e5f3ec;
    color: #006c4a;
    font-weight: 650;
    border: 1px solid #bfe3d2;
}

.qyh-wechat em {
    font-style: normal;
    font-size: 12px;
    color: #008f63;
    font-weight: 600;
    padding-left: 10px;
    border-left: 1px solid #bfe3d2;
}

/* 服务卡片：整行横向卡片 */
.qyh-product-card--service {
    grid-column: 1 / -1;
    flex-direction: row;
    min-height: 0;
    align-items: stretch;
}

.qyh-product-card--service .qyh-product__visual {
    min-height: 0;
    width: 46%;
    border-bottom: 0;
    border-right: 1px solid #ececef;
    background: #f7f9f8;
}

.qyh-product-card--service .qyh-product__visual img {
    width: 100%;
    max-height: none;
    object-fit: cover;
}

.qyh-product-card--service .qyh-product-card__body {
    justify-content: center;
    padding: 40px 44px;
}

.qyh-product-card--service .qyh-product-card__body > p:not(.qyh-product__index) {
    max-width: 560px;
    font-size: 15px;
}

@media (max-width: 980px) {
    .qyh-product-card--service {
        flex-direction: column;
    }

    .qyh-product-card--service .qyh-product__visual {
        width: 100%;
        min-height: 200px;
        border-right: 0;
        border-bottom: 1px solid #ececef;
    }

    .qyh-product-card--service {
        grid-column: 1 / -1;
    }
}
