:root {
    --paper: #f6f9fe;
    --surface: #ffffff;
    --ink: #101828;
    --ink-soft: #475467;
    --rule: #d0d5dd;
    --blue: #1264f3;
    --blue-dark: #0e54d8;
    --deep-navy: #0b1f3a;
    --navy-2: #12345b;
    --light-blue: #eef5ff;
    --light-blue-2: #f6f9fe;
    --nav-height: 76px;
    --container: min(1320px, calc(100% - 64px));
    --radius: 8px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --font-sans: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + env(safe-area-inset-top, 0px) + 24px);
    overflow-x: clip;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    inset: 0 0 auto;
    z-index: 100;
    height: calc(var(--nav-height) + env(safe-area-inset-top, 0px));
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 0 max(28px, calc((100vw - 1440px) / 2));
    padding-top: env(safe-area-inset-top, 0px);
    background: var(--paper);
    border-bottom: 1px solid rgba(180, 199, 224, .6);
}

.brand,
.site-footer > div:first-child {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: 0;
}

.brand img,
.site-footer img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.site-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.4vw, 36px);
}

.site-nav a {
    position: relative;
    padding: 24px 0;
    color: #3c4a63;
    font-size: 16px;
    font-weight: 500;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 17px;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms var(--ease);
}

.site-nav a:hover::after,
.site-nav a.active::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-toggle,
.nav-toggle {
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}

.language-toggle {
    min-width: 44px;
    min-height: 44px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 700;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
}

.header-cta,
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: var(--radius);
    font-weight: 700;
}

.header-cta,
.page-link.primary {
    border: 1px solid var(--blue);
    background: var(--blue);
    color: white;
}

.page-link {
    border: 1px solid var(--rule);
    background: white;
    color: var(--ink);
}

main {
    overflow-x: hidden;
}

.solution-hero {
    position: relative;
    display: block;
    overflow: hidden;
    isolation: isolate;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: calc(var(--nav-height) + env(safe-area-inset-top, 0px) + 24px) 0 48px;
    background:
        linear-gradient(180deg, rgba(11, 31, 58, .98) 0%, rgba(18, 52, 91, .98) 100%);
    color: white;
}

.solution-shell {
    width: var(--container);
    margin: 0 auto;
}

.solution-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    gap: 48px;
    align-items: start;
}

.eyebrow {
    margin: 0 0 16px;
    color: #83baff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.solution-hero h1 {
    margin: 0;
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    line-height: 1.08;
}

.hero-lead,
.section-copy,
.section-note,
.hero-panel p,
.detail-row p {
    color: #d8e5f4;
    font-size: 16px;
    line-height: 1.75;
}

.hero-keys {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-keys span {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid rgba(238, 245, 255, .22);
    border-radius: 6px;
    background: rgba(238, 245, 255, .06);
    color: rgba(255, 255, 255, .92);
    font-size: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-panel {
    padding: 34px 32px;
    border: 1px solid rgba(238, 245, 255, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(12px);
}

.hero-panel h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 2.5vw, 38px);
    line-height: 1.18;
}

.hero-panel .panel-kicker {
    margin: 0 0 20px;
    color: #aebcd0;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.detail-section {
    width: 100%;
    padding: clamp(56px, 8vh, 80px) 0;
}

.detail-band {
    background: linear-gradient(180deg, rgba(238, 245, 255, .9) 0%, rgba(246, 249, 254, 1) 100%);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 40px;
    align-items: end;
    margin-bottom: 24px;
}

.section-heading h2,
.detail-title {
    margin: 0;
    font-size: clamp(2.25rem, 3.2vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.section-heading p,
.section-copy,
.section-note {
    margin: 0;
    color: var(--ink-soft);
}

.section-emphasis {
    margin: 18px 0 0;
    color: var(--ink);
    font-size: 20px;
    font-weight: 600;
}

.detail-list,
.flow-list {
    display: grid;
    gap: 14px;
}

.detail-row {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 24px 26px;
    border: 1px solid var(--rule);
    border-radius: 8px;
    background: var(--surface);
}

.detail-row-number {
    color: var(--blue);
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}

.detail-row h3 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.24;
}

.detail-row p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 16px;
}

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

.detail-note,
.detail-callout {
    padding: 22px 24px;
    border: 1px solid var(--rule);
    border-radius: 8px;
    background: var(--light-blue-2);
}

.detail-note h3,
.detail-callout h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.detail-note p,
.detail-callout p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 16px;
}

.brand-insights .text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--blue);
    font-weight: 700;
}

.resource-grid,
.insight-resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.resource-link,
.insight-resource {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    min-height: 112px;
    padding: 20px 22px;
    border: 1px solid var(--rule);
    border-radius: 8px;
    background: var(--surface);
    transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), transform 220ms var(--ease);
}

.resource-index {
    color: var(--blue);
    font-size: 22px;
    font-weight: 700;
}

.resource-copy strong,
.insight-resource strong {
    display: block;
    font-size: 19px;
    line-height: 1.3;
}

.resource-copy small {
    display: block;
    margin-top: 6px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.55;
}

.resource-link > b,
.insight-resource > b {
    color: var(--blue);
    font-size: 18px;
}

.insight-resource {
    grid-template-columns: 1fr auto;
    align-items: start;
    min-height: 136px;
}

.insight-resource span {
    grid-column: 1 / -1;
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
}

.insight-resource strong {
    font-size: 21px;
}

@media (hover: hover) {
    .resource-link:hover,
    .insight-resource:hover {
        border-color: rgba(18, 100, 243, .28);
        box-shadow: 0 14px 30px rgba(11, 31, 58, .08);
        transform: translateY(-3px);
    }
}

.motion-target {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 560ms var(--ease) var(--motion-delay, 0ms),
        transform 560ms var(--ease) var(--motion-delay, 0ms),
        border-color 220ms var(--ease),
        box-shadow 220ms var(--ease);
    will-change: opacity, transform;
}

.motion-target.is-visible {
    opacity: 1;
    transform: none;
}

.solution-hero h1,
.solution-hero .hero-lead,
.solution-hero .hero-keys,
.solution-hero .hero-actions,
.solution-hero .hero-panel,
.solution-hero .motion-target {
    opacity: 1;
    transform: none;
}

.contact.section {
    width: 100%;
    padding: clamp(48px, 7vh, 72px) 0;
    background: var(--navy-2);
    color: white;
}

.contact-shell {
    width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
    gap: 40px;
    align-items: center;
}

.contact-copy .eyebrow {
    color: #83baff;
}

.contact-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(32px, 3.4vw, 48px);
    line-height: 1.08;
}

.contact-copy > p {
    color: #aebed2;
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.contact .page-link {
    border-color: rgba(238, 245, 255, .28);
    background: transparent;
    color: white;
}

.contact .page-link.primary {
    border-color: var(--blue);
    background: var(--blue);
    color: white;
}

.contact-links {
    display: grid;
    align-self: center;
    border-top: 1px solid #38506f;
}

.contact-links a {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    min-height: 76px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #38506f;
    border-radius: 0;
    background: transparent;
}

.contact-links span {
    display: block;
    color: #94a8c2;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-links strong {
    display: block;
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 18px;
}

.contact-links b {
    color: #7eb6ff;
    font-size: 22px;
    font-weight: 700;
}

.site-footer {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px 32px;
    padding: 24px max(28px, calc((100vw - 1440px) / 2));
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #233954;
    background: var(--deep-navy);
    color: #afbed0;
    font-size: 13px;
}

.site-footer > div:first-child {
    color: white;
}

.site-footer p {
    margin: 0;
    color: #afbed0;
}

.site-footer .footer-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px 20px;
}

.site-footer .icp-link {
    color: #afbed0;
}

.site-footer .icp-link:hover {
    color: #fff;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--deep-navy);
    color: white;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(11, 31, 58, .28);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 220ms ease, transform 220ms ease, background 180ms ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.back-to-top:hover {
    background: var(--navy-2);
    transform: translateY(-3px);
}

.site-footer .filing {
    grid-column: 1 / -1;
    justify-self: center;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 400;
}

:focus-visible {
    outline: 3px solid var(--deep-navy);
    outline-offset: 3px;
}

.page-link:focus-visible,
.contact-links a:focus-visible,
.site-footer a:focus-visible,
.language-toggle:focus-visible,
.back-to-top:focus-visible {
    outline-color: var(--blue);
}

@media (hover: hover) {
    .page-link.primary:hover,
    .header-cta:hover {
        border-color: var(--blue-dark);
        background: var(--blue-dark);
    }

    .page-link:hover,
    .detail-row:hover,
    .detail-note:hover,
    .detail-callout:hover {
        border-color: rgba(18, 100, 243, .28);
        box-shadow: 0 14px 30px rgba(11, 31, 58, .08);
    }

    .contact .page-link:hover {
        border-color: rgba(238, 245, 255, .5);
        box-shadow: none;
    }

    .contact .page-link.primary:hover {
        border-color: var(--blue-dark);
        background: var(--blue-dark);
    }

    .contact-links a:hover {
        color: #fff;
    }

    .detail-row:hover,
    .detail-note:hover,
    .detail-callout:hover {
        transform: translateY(-3px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .motion-target {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
}

@media (max-width: 1120px) {
    .site-nav {
        gap: 18px;
    }

    .solution-hero-grid,
    .section-heading,
    .contact-shell {
        grid-template-columns: 1fr;
    }

    .detail-columns {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 1180px) {
    .site-header { gap: 20px; }
    .solution-hero-grid { gap: 32px; }
    .solution-hero h1 { font-size: clamp(2.75rem, 5vw, 4rem); }
    .section-heading { gap: 36px; }
}

@media (max-width: 860px) {
    .site-header {
        grid-template-columns: 1fr auto auto;
        gap: 8px;
        padding: 0 18px;
    }

    .solution-shell,
    .solution-hero-grid > *,
    .section-heading > *,
    .detail-row > *,
    .contact-copy,
    .contact-links { min-width: 0; }

    .nav-toggle {
        display: block;
        order: 3;
    }

    .header-actions {
        order: 2;
    }

    .header-cta {
        display: none;
    }

    .site-nav {
        position: fixed;
        inset: var(--nav-height) 0 auto;
        left: 0;
        width: 100vw;
        max-width: 100vw;
        display: grid;
        gap: 0;
        padding: 18px;
        background: var(--paper);
        border-bottom: 1px solid var(--rule);
        transform: translateY(-120%);
        visibility: hidden;
        transition: transform 240ms var(--ease), visibility 240ms;
    }

    .site-nav.open {
        transform: none;
        visibility: visible;
    }

    .site-nav a {
        min-height: 52px;
        padding: 14px 6px;
        border-bottom: 1px solid var(--rule);
        color: #3c4a63;
    }

    .site-nav a::after {
        display: none;
    }

    .solution-hero {
        display: block;
        height: auto;
        min-height: 0;
        padding: calc(var(--nav-height) + env(safe-area-inset-top, 0px) + 16px) 0 40px;
    }

    .solution-hero h1,
    .contact-copy h2 {
        font-size: clamp(2.5rem, 9vw, 3.25rem);
    }

    .hero-lead,
    .section-copy,
    .section-note,
    .hero-panel p,
    .detail-row p {
        font-size: 16px;
    }

    .detail-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .detail-row-number {
        font-size: 32px;
    }

    .contact.section,
    .detail-section {
        padding: 56px 0;
    }

    .contact-links a {
        grid-template-columns: 1fr auto;
        gap: 8px;
        min-height: 64px;
    }

    .contact-links span,
    .contact-links strong {
        grid-column: 1;
    }

    .contact-links b {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .site-footer {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 12px;
    }

    .site-footer .footer-meta {
        justify-content: flex-start;
    }

    .back-to-top {
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }
}
