:root {
    --ink: #102033;
    --ink-strong: #07182c;
    --muted: #5c6b7b;
    --muted-light: #7d8a98;
    --blue: #0757d9;
    --blue-dark: #063b9e;
    --teal: #007f78;
    --green: #008b62;
    --orange: #c85e20;
    --paper: #ffffff;
    --canvas: #f3f6f8;
    --soft-blue: #eaf3ff;
    --line: #d8e1ea;
    --line-dark: #293d52;
    --navy: #081a2d;
    --header-height: 76px;
    --shadow-soft: 0 18px 42px rgba(14, 39, 69, 0.1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

button,
input,
textarea,
select {
    font: inherit;
    letter-spacing: 0;
}

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

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

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

figure,
p,
h1,
h2,
h3,
ol,
ul,
dl,
dd {
    margin: 0;
}

ol,
ul {
    padding: 0;
}

h1,
h2,
h3,
strong,
b {
    font-weight: 700;
}

h1,
h2,
h3 {
    color: var(--ink-strong);
    line-height: 1.18;
    letter-spacing: 0;
}

.shell {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 14px;
    color: #fff;
    background: var(--ink-strong);
    border-radius: 4px;
    transform: translateY(-180%);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid #4c9bff;
    outline-offset: 3px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    color: var(--ink-strong);
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(16, 32, 51, 0.1);
    transition: box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
    background: #fff;
    box-shadow: 0 10px 30px rgba(8, 26, 45, 0.08);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100%;
    gap: 32px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    min-height: 44px;
    min-width: 0;
    gap: 12px;
}

.brand-link img {
    width: 104px;
    height: auto;
    flex: 0 0 auto;
}

.brand-copy {
    min-width: 0;
}

.brand-copy strong {
    display: block;
    white-space: nowrap;
    font-size: 15px;
    line-height: 1.2;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    min-height: 44px;
    align-self: center;
    padding: 0 14px;
    color: #26384d;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 160ms ease, background-color 160ms ease;
}

.nav-link:not(.nav-contact)::after {
    position: absolute;
    right: 14px;
    bottom: 4px;
    left: 14px;
    height: 2px;
    content: "";
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
    color: var(--blue);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after {
    transform: scaleX(1);
}

.nav-contact {
    min-height: 44px;
    margin-left: 10px;
    padding-inline: 17px 14px;
    gap: 10px;
    color: #fff;
    background: var(--blue);
    border-radius: 6px;
}

.nav-contact:hover,
.nav-contact:focus-visible {
    color: #fff;
    background: var(--blue-dark);
}

.nav-contact svg,
.button svg,
.text-link svg,
.hero-text-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.icon-button {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 50%;
    cursor: pointer;
}

.nav-toggle {
    display: none;
    flex: 0 0 auto;
}

.nav-toggle svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}

.nav-toggle-close {
    display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-open {
    display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-close {
    display: block;
}

.detail-page {
    overflow: clip;
}

.section-block {
    padding-block: 96px;
}

.section-block-muted {
    background: var(--canvas);
}

.section-heading {
    display: grid;
    gap: 14px;
    max-width: 860px;
    margin-bottom: 42px;
}

.section-heading h2 {
    max-width: 820px;
    font-size: 36px;
}

.section-lead {
    max-width: 720px;
    color: var(--muted);
    font-size: 16px;
}

.eyebrow,
.hero-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow::after,
.hero-label::after {
    width: 38px;
    height: 1px;
    content: "";
    background: currentColor;
}

.hero-label strong {
    color: var(--ink);
    font-size: 14px;
}

.button,
.hero-text-link,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.button {
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 6px;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
}

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

.button-outline {
    color: var(--ink-strong);
    background: transparent;
    border-color: #a7b5c3;
}

.button-outline:hover {
    color: var(--blue);
    border-color: var(--blue);
}

.hero-text-link,
.text-link {
    min-width: 44px;
    color: var(--blue);
}

.hero-text-link:hover,
.text-link:hover {
    color: var(--blue-dark);
}

.terminal-cta {
    color: #fff;
    background: var(--navy);
}

.terminal-cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr) auto;
    align-items: center;
    gap: 36px;
    min-height: 280px;
    padding-block: 54px;
}

.terminal-cta .eyebrow {
    margin-bottom: 12px;
    color: #67d2c4;
}

.terminal-cta h2 {
    max-width: 600px;
    color: #fff;
    font-size: 34px;
}

.terminal-cta p {
    color: #becbd8;
}

.terminal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.terminal-cta .button-outline {
    color: #fff;
    border-color: #5c7084;
}

.terminal-cta .button-outline:hover {
    border-color: #fff;
}

.site-footer {
    color: #d4dde6;
    background: #061421;
    border-top: 1px solid #203447;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) minmax(140px, 0.6fr) minmax(140px, 0.6fr) minmax(240px, 0.9fr);
    gap: 50px;
    padding-block: 66px 50px;
}

.footer-identity {
    display: inline-grid;
    min-height: 44px;
    gap: 4px;
}

.footer-wordmark {
    color: #fff;
    font-size: 20px;
}

.footer-wordmark-en {
    color: #7f92a5;
    font-size: 12px;
    font-weight: 600;
}

.footer-tagline {
    max-width: 340px;
    margin-top: 20px;
    color: #9cabb9;
    font-size: 14px;
}

.footer-nav,
.footer-contact {
    display: grid;
    align-content: start;
    gap: 9px;
    font-style: normal;
}

.footer-column-title {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 11px;
    padding-bottom: 10px;
    color: #fff;
    border-bottom: 1px solid #2b3e50;
    font-size: 13px;
    font-weight: 700;
}

.footer-column-title small {
    color: #708498;
    font-size: 12px;
}

.footer-nav a,
.footer-contact a,
.footer-contact p {
    color: #aab7c4;
    font-size: 13px;
}

.footer-nav a,
.footer-contact a {
    min-height: 32px;
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    color: #788b9e;
    border-top: 1px solid #203447;
    font-size: 12px;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    color: #fff;
    background: var(--blue);
    border: 0;
    box-shadow: 0 10px 28px rgba(7, 87, 217, 0.26);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top.is-over-footer {
    background: #fff;
    color: var(--ink-strong);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .nav-link {
        padding-inline: 10px;
    }

    .nav-link:not(.nav-contact)::after {
        right: 10px;
        left: 10px;
    }

    .brand-link {
        gap: 9px;
    }

    .brand-link img {
        width: 94px;
    }

    .brand-copy strong {
        font-size: 14px;
    }
}

@media (max-width: 1060px) {
    :root {
        --header-height: 72px;
    }

    .js .nav-toggle {
        display: inline-grid;
    }

    .js .site-nav {
        position: fixed;
        top: var(--header-height);
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 99;
        display: grid;
        align-content: start;
        justify-content: stretch;
        gap: 0;
        padding: 24px;
        background: #fff;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .js .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .js .site-nav .nav-link {
        justify-content: flex-start;
        min-height: 56px;
        padding: 0;
        color: var(--ink-strong);
        border-bottom: 1px solid var(--line);
        font-size: 18px;
    }

    .js .site-nav .nav-link::after {
        display: none;
    }

    .js .site-nav .nav-link[aria-current="page"] {
        color: var(--blue);
    }

    .js .site-nav .nav-contact {
        justify-content: center;
        width: min(100%, 420px);
        min-height: 50px;
        margin: 24px 0 0;
        padding-inline: 18px;
        color: #fff;
        border: 0;
        font-size: 16px;
    }

    .terminal-cta-grid {
        grid-template-columns: 1fr 1fr;
    }

    .terminal-actions,
    .terminal-cta-grid > .button {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .footer-top {
        grid-template-columns: 1.2fr 0.8fr 0.8fr;
    }

    .footer-contact {
        grid-column: 1 / -1;
        max-width: 520px;
    }
}

@media (max-width: 720px) {
    .shell {
        width: min(100% - 32px, 1280px);
    }

    .section-block {
        padding-block: 68px;
    }

    .section-heading {
        gap: 11px;
        margin-bottom: 30px;
    }

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

    .section-lead {
        font-size: 15px;
    }

    .terminal-cta-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        min-height: 0;
        padding-block: 52px;
    }

    .terminal-cta h2 {
        font-size: 29px;
    }

    .terminal-actions {
        grid-column: auto;
        justify-content: flex-start;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 36px 28px;
        padding-block: 52px 38px;
    }

    .footer-brand,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        padding-block: 18px;
    }

    .footer-nav a,
    .footer-contact a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
    }
}

@media (max-width: 430px) {
    .shell {
        width: min(100% - 28px, 1280px);
    }

    .brand-link {
        gap: 7px;
    }

    .brand-link img {
        width: 76px;
    }

    .brand-copy strong {
        font-size: 12.5px;
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
    }

    .button {
        min-height: 46px;
        padding-inline: 17px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-contact {
        grid-column: auto;
    }

    .footer-wordmark {
        font-size: 18px;
    }
}

@media (max-width: 350px) {
    .shell {
        width: min(100% - 24px, 1280px);
    }

    .brand-link img {
        width: 68px;
    }

    .brand-copy strong {
        font-size: 12px;
    }
}

/* Keep the desktop header geometry identical to the homepage. */
@media (min-width: 1061px) {
    .site-header .nav-shell {
        width: min(1280px, calc(100% - 64px));
        height: 100%;
        min-height: 0;
        gap: clamp(22px, 3vw, 42px);
    }

    .site-header .brand-link {
        min-height: 44px;
        gap: 12px;
        font-family: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
    }

    .site-header .brand-link img {
        width: 96px;
        height: auto;
    }

    .site-header .brand-copy {
        position: relative;
        display: grid;
        gap: 0;
        padding-left: 12px;
        line-height: 1;
    }

    .site-header .brand-copy::before {
        position: absolute;
        top: 50%;
        left: 0;
        width: 1px;
        height: 27px;
        background: #32b7d7;
        content: "";
        transform: translateY(-50%);
    }

    .site-header .brand-copy strong {
        font-family: "HarmonyOS Sans SC", "MiSans", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
        font-size: 0.9rem;
        font-weight: 700;
        line-height: 1.25;
    }

    .site-header .site-nav {
        height: 100%;
        gap: 6px;
        margin-left: auto;
    }

    .site-header .site-nav .nav-link {
        height: 44px;
        min-height: 44px;
        align-self: center;
        padding-inline: 10px;
        color: #26374b;
        font-family: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
        font-size: 0.88rem;
        font-weight: 650;
        line-height: 1.7;
    }

    .site-header .site-nav .nav-link:not(.nav-contact)::after {
        right: 10px;
        bottom: 4px;
        left: 10px;
        height: 2px;
        background: #0041ce;
    }

    .site-header .site-nav .nav-link:hover,
    .site-header .site-nav .nav-link:focus-visible,
    .site-header .site-nav .nav-link[aria-current="page"] {
        color: #0041ce;
    }

    .site-header .site-nav .nav-contact {
        height: 40px;
        min-height: 40px;
        margin-left: 10px;
        padding: 0 0 0 20px;
        gap: 10px;
        color: #0041ce;
        background: transparent;
        border: 0;
        border-left: 1px solid #bccbda;
        border-radius: 0;
        box-shadow: none;
    }

    .site-header .site-nav .nav-contact:hover,
    .site-header .site-nav .nav-contact:focus-visible {
        color: #0035a8;
        background: transparent;
        border-color: #bccbda;
    }

    .site-header .site-nav .nav-contact svg {
        width: 16px;
        height: 16px;
        transition: transform 180ms ease;
    }

    .site-header .site-nav .nav-contact:hover svg,
    .site-header .site-nav .nav-contact:focus-visible svg {
        transform: translateY(-2px);
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}
