.ap-home {
    --home-ink: #101a2b;
    --home-ease: cubic-bezier(.22, .61, .36, 1);
}

.ap-home :where(a):focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 4px;
}

.ap-home .ap-stage {
    padding: clamp(48px, 7vw, 100px) 0 clamp(36px, 5vw, 60px);
    color: #f4f8ff;
    background:
        radial-gradient(ellipse at 81% 8%, #244678 0%, transparent 56%),
        linear-gradient(150deg, #0c1527, #101e35 68%, #121f33);
}

.ap-home .ap-stage-grid {
    grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
    gap: clamp(32px, 4.5vw, 60px);
}

.ap-home .ap-stage-copy .ap-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #b2cbed;
}

.ap-home .ap-stage-copy .ap-kicker::before {
    width: 22px;
    height: 1px;
    background: #8db9fb;
    content: "";
}

.ap-home .ap-stage-title {
    color: #f4f8ff;
    font-size: clamp(34px, 4.65vw, 54px);
    line-height: 1.12;
    letter-spacing: -.04em;
    text-wrap: balance;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.ap-home .ap-stage-title:lang(zh) {
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.ap-home .ap-stage-lead {
    color: #c1cee2;
    font-size: clamp(16px, 1.63vw, 18px);
    line-height: 1.7;
}

.ap-home .ap-stage-actions .ap-btn { background: #1264de; }
.ap-home .ap-stage-actions .ap-btn:hover { background: #0652ca; }
.ap-home .ap-stage-actions .ap-link { color: #c2daff; }
.ap-home .ap-stage-marks li { color: #acbed8; }
.ap-home .ap-stage-marks span { color: #a9d3ff; background: #294465; }

.ap-home :where(.ap-stage, .ap-pillars) a:focus-visible { outline-color: #b3d7ff; }

.ap-home .ap-stage-media {
    isolation: isolate;
    aspect-ratio: 1.42;
    border: 1px solid #8bb3e04d;
    border-radius: clamp(18px, 2vw, 28px);
    background: #233854;
    box-shadow: 0 22px 54px #060c1d6e;
}

.ap-home .ap-stage-media img { object-position: center 55%; }

.ap-home .ap-stage-media::before {
    position: absolute;
    z-index: 1;
    inset: 40% 0 0;
    background: linear-gradient(transparent, #071326b3);
    pointer-events: none;
    content: "";
}

.ap-home .ap-stage-caption {
    z-index: 2;
    inset: auto 16px 16px;
    width: fit-content;
    max-width: calc(100% - 32px);
    padding: 10px 40px 10px 14px;
    border: 1px solid #a9c8f54d;
    border-radius: 12px;
    background: #0b1c34db;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ap-home .ap-stage-caption::after,
.ap-home .ap-pillar a::after,
.ap-home .ap-prod::after,
.ap-home .ap-scene-list a::after {
    position: absolute;
    top: 50%;
    right: 16px;
    height: .48em;
    width: .48em;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    transition: translate .28s var(--home-ease);
    content: "";
}

.ap-home .ap-stage-caption::after, .ap-home .ap-stage-caption strong { color: #f4f8ff; }
.ap-home .ap-stage-caption em { color: #c4d6ef; }

.ap-home .ap-pillars {
    padding-bottom: clamp(32px, 5vw, 58px);
    background: #121f33;
}

.ap-home .ap-pillar { --pillar-color: #9dc8ff; }
.ap-home .ap-pillar:nth-child(2) { --pillar-color: #8dddd2; }
.ap-home .ap-pillar:nth-child(3) { --pillar-color: #ddbdff; }

.ap-home .ap-pillar a {
    position: relative;
    padding: 17px 38px 17px 20px;
    border: 1px solid #415775;
    border-radius: 14px;
    background: linear-gradient(135deg, #233955, #192941);
    color: var(--pillar-color);
}

.ap-home .ap-pillar-tag { color: var(--pillar-color); }
.ap-home .ap-pillar-body strong { color: #f4f8ff; }
.ap-home .ap-pillar-body em { color: #b6c7dd; }

.ap-home .ap-capa-media {
    aspect-ratio: 3 / 2;
    background: #edf1f7;
}

.ap-home .ap-capa:focus-within { box-shadow: var(--ap-shadow-hover); }

.ap-home .ap-prod {
    position: relative;
    border: 1px solid #dce5f0;
    border-radius: 16px;
    background: linear-gradient(160deg, #fff 62%, #f0f6ff);
    color: #2362a2;
    box-shadow: 0 3px 12px #14284508;
}

.ap-home .ap-prod::after { top: 27px; }
.ap-home .ap-prod-body { padding-right: 35px; }
.ap-home .ap-prod-body strong { color: var(--home-ink); }

.ap-home .ap-scene { background: linear-gradient(150deg, #fbf9f6, #fff 65%); }
.ap-home .ap-scene-list a { position: relative; padding-right: 34px; }
.ap-home .ap-scene-list a::after { color: #2362a2; }
.ap-home .ap-scene-media { aspect-ratio: 3 / 2; }

.ap-home .ap-home-feature {
    height: 100%;
    padding: 32px 28px;
    border-radius: var(--ap-radius);
    background: #fff;
}

.ap-home .ap-home-feature h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; }
.ap-home .ap-home-feature p { margin: 0; color: var(--ap-text-2); font-size: 14px; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .ap-home :is(.ap-stage-media:hover .ap-stage-caption, .ap-pillar a:hover, .ap-prod:hover, .ap-scene-list a:hover)::after {
        translate: 3px 0;
    }

    .ap-home .ap-capa-media img { transition: transform .65s var(--home-ease); }
    .ap-home .ap-capa:is(:hover, :focus-within) .ap-capa-media img { transform: scale(1.045); }
}

@media (prefers-reduced-motion: no-preference) {
    .ap-home .ap-stage-copy > * {
        animation: home-rise .78s var(--home-ease) both;
    }

    .ap-home .ap-stage-title { animation-delay: .08s; }
    .ap-home .ap-stage-lead { animation-delay: .15s; }
    .ap-home .ap-stage-actions { animation-delay: .21s; }
    .ap-home .ap-stage-marks { animation-delay: .27s; }
    .ap-home .ap-stage-media img { animation: home-frame 1.55s var(--home-ease) both; }
    .ap-home .ap-stage-caption { animation: home-rise .85s var(--home-ease) .24s both; }
    .ap-home .ap-pillar { animation: home-rise .85s var(--home-ease) .2s both; }
    .ap-home .ap-pillar:nth-child(2) { animation-delay: .27s; }
    .ap-home .ap-pillar:nth-child(3) { animation-delay: .34s; }

    @keyframes home-rise {
        from { opacity: .65; transform: translateY(12px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @keyframes home-frame {
        from { transform: scale(1.055); }
        to { transform: scale(1); }
    }
}

@media (prefers-reduced-motion: reduce) {
    .ap-home :is(.ap-stage-actions a, .ap-pillar a, .ap-prod, .ap-capa, .ap-capa-media img, .ap-case, .ap-news):hover {
        transform: none;
    }
}

@media (max-width: 900px) {
    .ap-home .ap-stage-grid { grid-template-columns: 1fr; }
    .ap-home .ap-stage-media { order: 0; aspect-ratio: 1.6; }
    .ap-home .ap-pillar-list { gap: 10px; }
}

@media (max-width: 580px) {
    .ap-home .ap-stage { padding-top: 36px; }
    .ap-home .ap-stage-title { margin-bottom: 16px; }
    .ap-home .ap-stage-lead { margin-bottom: 22px; }
    .ap-home .ap-stage-actions { gap: 12px; }
    .ap-home .ap-stage-actions .ap-btn { padding: 12px 19px; }
    .ap-home .ap-stage-actions .ap-link { font-size: 16px; }
    .ap-home .ap-stage-marks { margin-top: 18px; }
    .ap-home .ap-stage-media { aspect-ratio: 1.45; }
    .ap-home .ap-stage-caption { inset: auto 11px 11px; max-width: calc(100% - 22px); }
}
