@font-face { font-family: "TT Fors"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/TT_Fors_Regular.woff2") format("woff2"); }
@font-face { font-family: "TT Fors"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/TT_Fors_Medium.woff2") format("woff2"); }
@font-face { font-family: "TT Fors"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/TT_Fors_DemiBold.woff2") format("woff2"); }
@font-face { font-family: "TT Fors"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/TT_Fors_Bold.woff2") format("woff2"); }

/* Shared visual system: type hierarchy, readable measures and content-specific grids. */
:root {
  color-scheme: light;
  --bg: #fff;
  --ink: #101423;
  --body: #252e3d;
  --muted: #657187;
  --blue: #1e4dff;
  --blue-hover: #123fda;
  --panel: #edf1ff;
  --soft: #f6f7fb;
  --cyan-soft: #e0f6fb;
  --mint-soft: #e8f8e4;
  --line: #e8ecf3;
  --dark-pill: #242a38;
  --font: "TT Fors", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .72, .18, 1);
  --header-h: 64px;
  --page-gutter: clamp(32px, 4.1667vw, 80px);
  --content-max: 1440px;
  --title-measure: 1080px;
  --reference-h1: clamp(44px, 3.75vw, 56px);
  --reference-h2: clamp(32px, 2.8125vw, 44px);
  --reference-h3: 20px;
  --reference-lead: 20px;
  --reference-body: 16px;
  --reference-body-line-height: 1.5;
  --section-space: clamp(88px, 7.3vw, 112px);
  --grid-gap: 24px;
  --radius: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-y: scroll; scrollbar-gutter: stable; scrollbar-color: #9f9f9f var(--bg); }
body { color-scheme: light; scrollbar-color: auto; margin: 0; color: var(--body); background: var(--bg); font-family: var(--font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { color: #fff; background: var(--blue); }
:focus-visible { outline: 3px solid rgba(30,77,255,.35); outline-offset: 5px; }
.shell, .wide-shell, .hero-inner { width: min(var(--content-max), calc(100% - var(--page-gutter) * 2)); margin-inline: auto; }
main { padding-top: var(--header-h); }
main, main > section[id], .site-footer { scroll-margin-top: calc(var(--header-h) + 28px); }

/* Existing navigation, menu and language controls. */
.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: var(--header-h); background: rgba(255,255,255,.98); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 22px rgba(16,20,35,.035); }
.nav-shell { width: min(1760px, calc(100% - var(--page-gutter) * 2)); height: 100%; margin-inline: auto; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 24px; }
.brand-group, .brand { width: 166px; display: flex; align-items: center; }
.brand-logo { width: 60px; height: 33px; flex: none; }
.main-nav { display: flex; align-items: stretch; height: 100%; }
.main-nav > a, .nav-trigger { display: inline-flex; align-items: center; gap: 8px; padding: 0 24px; color: var(--ink); background: transparent; border: 0; font-size: 16px; line-height: 1.4; white-space: nowrap; cursor: pointer; transition: color .18s; }
.main-nav > a:hover, .nav-trigger:hover { color: var(--blue); }
.nav-trigger img, .language-trigger img { width: 12px; height: 12px; opacity: .6; transition: transform .2s; }
.nav-trigger[aria-expanded="true"] img, .language-trigger[aria-expanded="true"] img { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; justify-self: end; gap: 16px; }
.language-switch { position: relative; }
.language-trigger { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; background: var(--soft); border: 1px solid transparent; border-radius: 8px; font-size: 14px; cursor: pointer; }
.language-trigger:hover, .language-trigger[aria-expanded="true"] { border-color: var(--line); background: var(--bg); }
.language-menu { position: absolute; z-index: 110; top: 48px; right: 0; width: 112px; padding: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 6px 20px rgba(16,20,35,.08); }
.language-menu a { display: block; padding: 8px 10px; border-radius: 6px; font-size: 14px; }
.language-menu a:hover, .language-menu a[aria-current="page"] { background: var(--soft); }
.mobile-toggle { display: none; width: 40px; height: 40px; padding: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
.mobile-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); }
.mega-menu { position: fixed; z-index: 105; top: var(--menu-top, var(--header-h)); left: var(--menu-left,280px); width: 633px; max-width: calc(100vw - 32px); max-height: calc(100dvh - var(--menu-top, var(--header-h)) - 16px); overflow-y: auto; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgba(16,20,35,.09); }
.mega-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px; }
.mega-tabs, .mega-category-tabs { display: grid; align-content: start; gap: 4px; }
.mega-tabs > a, .mega-category-tabs button { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 10px 12px; background: transparent; border: 0; border-radius: 10px; font-size: 14px; text-align: left; cursor: pointer; }
.mega-tabs > a:hover, .mega-category-tabs button:hover { background: var(--soft); }
.mega-category-tabs button.is-selected { background: var(--cyan-soft); }
.mega-tabs img { width: 12px; height: 12px; flex: none; transform: rotate(-90deg); }
.mega-page-links { display: grid; align-content: start; }
.mega-page-links > a { min-height: 44px; display: block; padding: 10px 12px; border-radius: 10px; font-size: 15px; line-height: 1.6; transition: color .18s, background .18s; }
.mega-page-links > a:hover { color: var(--blue); background: var(--soft); }

/* Type and spacing: a shared scale, with deliberate title and paragraph measures. */
.hero-inner { padding-block: clamp(72px,6.25vw,104px) 0; text-align: center; }
.hero h1 { max-width: min(100%,var(--title-measure)); margin-inline: auto; font-size: var(--reference-h1); line-height: 1.24; letter-spacing: -.035em; text-wrap: balance; overflow-wrap: break-word; }
.heading-phrase { display: inline; }
.home-hero .heading-phrase { display: block; }
.hero > .hero-inner > p { max-width: 800px; margin: 24px auto 0; color: var(--muted); font-size: var(--reference-lead); line-height: 1.65; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 36px; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 24px; border: 1px solid transparent; border-radius: 8px; font-size: 16px; font-weight: 500; line-height: 1.5; text-align: center; cursor: pointer; transition: background .18s,border-color .18s,color .18s,transform .18s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { color: #fff; background: var(--blue); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.btn-outline { color: var(--ink); background: var(--bg); border-color: var(--ink); }
.btn-outline:hover { color: var(--blue); border-color: var(--blue); }
.btn-inverse { color: var(--blue); background: var(--bg); }
.btn-nav { min-height: 40px; padding: 7px 20px; }
.btn-large { min-height: 52px; padding: 13px 28px; }
.hero-actions .btn { min-width: 168px; }
.section { padding-block: var(--section-space); }
.section-heading { max-width: var(--title-measure); margin: 0 auto 48px; text-align: center; }
.section-heading h2, .workflow-title, .technology-section > .shell > h2, .directory-title, .technology-detail h2, .feature-copy h2, .panel-copy h2 { font-size: var(--reference-h2); line-height: 1.28; letter-spacing: -.025em; text-wrap: balance; }
.section-heading p { max-width: 760px; margin: 20px auto 0; color: var(--muted); font-size: var(--reference-body); line-height: var(--reference-body-line-height); }

/* Product tabs reuse the original artwork, without a second card frame. */
.platform-section { padding-bottom: calc(var(--section-space) + 8px); }
.home-hero + .platform-section { padding-top: min(var(--section-space), 96px); }
.capability-tabs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0 auto 40px; }
.capability-tabs button { min-height: 44px; padding: 10px 22px; color: var(--muted); background: transparent; border: 0; border-radius: 999px; font-size: 16px; line-height: 1.5; white-space: nowrap; cursor: pointer; transition: color .2s,background .2s; }
.capability-tabs button:hover { color: var(--ink); background: var(--soft); }
.capability-tabs button[aria-selected="true"] { color: #fff; background: var(--dark-pill); }
.capability-panel { display: grid; grid-template-columns: minmax(0,1.38fr) minmax(0,1fr); align-items: center; gap: 40px 64px; }
.capability-panel figure, .feature-art, .workflow-layout > figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: #edf1f8; }
.capability-panel figure { aspect-ratio: 928 / 568; }
.capability-panel figure img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.feature-art img, .workflow-layout > figure img { width: 100%; height: auto; object-fit: contain; }
.panel-copy { min-width: 0; max-width: 560px; }
.panel-copy h3 { font-size: var(--reference-h3); line-height: 1.4; letter-spacing: -.015em; text-wrap: balance; }
.panel-copy > p { margin-top: 20px; color: var(--muted); font-size: var(--reference-body); line-height: var(--reference-body-line-height); text-wrap: pretty; }
.panel-copy h3 + p { margin-top: 12px; }
.panel-copy > ul { display: grid; gap: 14px; margin-top: 24px; }
.panel-copy > ul li { position: relative; padding-left: 20px; color: var(--body); font-size: 16px; line-height: 1.7; }
.panel-copy > ul li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.panel-cta { margin-top: 28px; }

/* Four real process stages are grouped beside the original relationship diagram. */
.workflow-section, .inner-workflow { background: var(--soft); }
.workflow-layout { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); align-items: center; gap: 48px; }
.workflow-title { grid-column: 1 / -1; max-width: var(--title-measure); margin-inline: auto; text-align: center; }
.workflow-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--grid-gap); }
.workflow-cards > li { min-width: 0; padding: 28px; background: var(--bg); border-radius: 20px; }
.workflow-cards > li:first-child { background: var(--cyan-soft); }
.workflow-cards > li:last-child { background: var(--mint-soft); }
.workflow-cards h3 { font-size: var(--reference-h3); line-height: 1.4; letter-spacing: -.015em; }
.workflow-cards p { margin-top: 12px; color: var(--body); font-size: var(--reference-body); line-height: var(--reference-body-line-height); }

/* Three equal product cards on the reference's pale cyan section. */
.review-section { background: var(--cyan-soft); }
.review-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: var(--grid-gap); }
.review-cards > li { display: flex; flex-direction: column; min-width: 0; overflow: hidden; padding: 28px 24px 0; background: var(--bg); border-radius: var(--radius); }
.review-cards h3 { font-size: var(--reference-h3); line-height: 1.4; }
.review-cards p { margin: 12px 0 24px; color: var(--body); font-size: var(--reference-body); line-height: var(--reference-body-line-height); }
.review-card-art { aspect-ratio: 928 / 568; margin: auto -24px 0; overflow: hidden; background: #ecf1f9; }
.review-card-art img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.review-section + .technology-section { padding-top: var(--section-space); }

/* Technical cards, including the reference's balanced three-plus-two composition. */
.technology-section { padding-top: 0; }
.technology-section > .shell > h2, .directory-title { margin: 0 auto 48px; text-align: center; }
.technology-grid, .technology-detail-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--grid-gap); }
.technology-grid article, .technology-detail-grid article { min-width: 0; padding: 32px; background: var(--soft); border-radius: var(--radius); }
.technology-grid article:nth-child(2), .technology-detail-grid--security article:nth-child(2), .technology-detail-grid--delivery article:nth-child(2) { background: var(--cyan-soft); }
.technology-grid h3, .technology-detail-grid h3 { font-size: var(--reference-h3); line-height: 1.4; letter-spacing: -.015em; }
.technology-grid p, .technology-detail-grid p { margin-top: 12px; color: var(--muted); font-size: var(--reference-body); line-height: var(--reference-body-line-height); }
.technology-more { display: table; margin: 28px auto 0; color: var(--blue); font-size: 16px; font-weight: 500; text-underline-offset: 5px; }
.technology-more:hover { color: var(--blue-hover); text-decoration: underline; }
.technology-detail > .shell > h2 { max-width: var(--title-measure); margin-inline: auto; text-align: center; }
.technology-detail-lead { max-width: 840px; margin: 24px auto 0; color: var(--muted); font-size: var(--reference-body); line-height: var(--reference-body-line-height); text-align: center; text-wrap: pretty; }
.technology-detail-grid { margin-top: 40px; }
.technology-detail--soft { background: var(--soft); }
.technology-detail--soft .technology-detail-grid article { background: var(--bg); }
.technology-detail--soft .technology-detail-grid--security article:nth-child(2), .technology-detail--soft .technology-detail-grid--delivery article:nth-child(2) { background: var(--cyan-soft); }
.technology-detail-grid--five { grid-template-columns: repeat(6,minmax(0,1fr)); }
.technology-detail-grid--five > article { grid-column: span 2; }
.technology-detail-grid--five > article:nth-child(4) { grid-column: 2 / span 2; }
.technology-detail-grid--five > article:last-child { grid-column: 4 / span 2; }
.technology-detail-grid--two { grid-template-columns: repeat(2,minmax(0,1fr)); }

/* The approved product principle remains the single strong blue surface. */
.principles-section { padding-top: 0; }
.principles-panel { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 56px; padding: clamp(36px,4vw,64px); color: #fff; background: var(--blue); border-radius: var(--radius); }
.principles-panel article + article { padding-left: 56px; border-left: 1px solid rgba(255,255,255,.28); }
.principles-panel h2 { max-width: 12em; color: #fff; font-size: clamp(28px,2.15vw,36px); line-height: 1.4; letter-spacing: -.02em; text-wrap: balance; }
.principles-panel p { max-width: 32em; margin-top: 20px; color: rgba(255,255,255,.86); font-size: var(--reference-body); line-height: var(--reference-body-line-height); }

/* Inner-page lead and support sections have distinct density and hierarchy. */
.inner-feature--lead .capability-panel { row-gap: 40px; }
.feature-highlights { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--grid-gap); }
.feature-highlights > li { position: relative; padding: 26px 28px 26px 46px; background: var(--soft); border-radius: 20px; color: var(--body); font-size: 16px; line-height: 1.75; }
.feature-highlights > li::before { content: ""; position: absolute; left: 28px; top: 38px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.feature-highlights > li:nth-child(2) { background: var(--cyan-soft); }
.inner-feature--support { background: var(--soft); }
.capability-panel--reverse { grid-template-columns: minmax(0,1fr) minmax(0,1.38fr); }
.capability-panel--reverse figure { order: 2; }
.directory-group + .directory-group { margin-top: 64px; }
.directory-group-title { margin-bottom: 24px; color: var(--muted); font-size: 20px; line-height: 1.5; font-weight: 500; }
.directory-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--grid-gap); }
.directory-card { min-width: 0; display: block; padding: 32px; background: var(--soft); border-radius: var(--radius); transition: background .2s,transform .2s; }
.directory-group:nth-of-type(2) .directory-card { background: var(--cyan-soft); }
.directory-card h3, .directory-card h4 { font-size: var(--reference-h3); line-height: 1.4; letter-spacing: -.015em; }
.directory-card p { margin-top: 12px; color: var(--muted); font-size: var(--reference-body); line-height: var(--reference-body-line-height); }
.directory-card:hover { background: var(--panel); transform: translateY(-3px); }
.directory-card:hover h4 { color: var(--blue); }
.related-pages { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--grid-gap); padding-block: 48px var(--section-space); }
.related-pages a { display: block; padding: 24px 28px; color: var(--blue); background: var(--soft); border-radius: 16px; font-size: 18px; font-weight: 500; transition: background .2s; }
.related-pages a:last-child { text-align: right; }
.related-pages a:hover { background: var(--cyan-soft); }
.contact-layout { display: block; }
.contact-details { width: 100%; padding: clamp(36px,5vw,72px); background: var(--soft); border-radius: var(--radius); text-align: center; }
.contact-details > div + div { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.contact-details h2 { color: var(--muted); font-size: 16px; line-height: 1.5; font-weight: 500; }
.contact-details address, .contact-details a { display: block; max-width: 820px; margin: 16px auto 0; color: var(--ink); font-size: 24px; line-height: 1.65; font-style: normal; text-wrap: balance; }
.contact-details a { width: fit-content; color: var(--blue); font-size: 36px; line-height: 1.3; }
.contact-details a:hover { color: var(--blue-hover); }

/* Existing footer follows the same content measure. */
.site-footer { color: var(--body); background: var(--soft); }
.footer-inner { display: grid; grid-template-columns: auto minmax(200px,1fr) minmax(300px,480px); align-items: center; gap: 32px; padding-block: 40px; }
.footer-brand { display: flex; align-items: center; gap: 24px; }
.footer-language { width: 96px; min-height: 40px; padding: 8px; color: var(--body); background: transparent; border: 1px solid transparent; border-radius: 8px; font-size: 14px; cursor: pointer; }
.footer-language:hover { background: var(--bg); border-color: var(--line); }
.footer-copyright { color: var(--muted); font-size: 14px; line-height: 1.6; text-align: center; }
.footer-contact { display: grid; gap: 10px; font-size: 14px; font-style: normal; line-height: 1.65; }
.footer-contact p, .footer-contact a { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact img { flex: none; margin-top: 2px; opacity: .6; }
.footer-contact a { width: fit-content; }
.footer-contact a:hover { color: var(--blue); }

/* Progressive motion: every element is visible when scripting is unavailable. */
.has-motion [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease),transform .55s var(--ease); }
.has-motion [data-reveal].is-visible { opacity: 1; transform: none; }
.capability-panel.is-entering { animation: panel-enter .38s var(--ease) both; }
@keyframes panel-enter { from { opacity: .25; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Preserve responsive support; verification is confined to desktop. */
@media (max-width: 1180px) {
  .brand-group, .brand { width: 118px; }
  .capability-panel { column-gap: 40px; }
  .workflow-layout { gap: 32px; }
  .workflow-cards { gap: 16px; }
  .workflow-cards > li { padding: 22px; }
  .footer-inner { grid-template-columns: auto 1fr; gap: 24px; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-copyright { text-align: right; }
}
@media (max-width: 980px) {
  :root { --reference-h1: 40px; --reference-h2: 32px; --section-space: 72px; }
  .main-nav, .nav-actions { display: none; }
  .mobile-toggle { display: block; justify-self: end; }
  .nav-shell { grid-template-columns: auto 1fr auto; }
  .mobile-open .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: auto; display: grid; padding: 16px var(--page-gutter); background: var(--bg); border-bottom: 1px solid var(--line); }
  .mobile-open .main-nav > a, .mobile-open .nav-trigger { min-height: 48px; padding-inline: 12px; justify-content: space-between; }
  .capability-panel, .capability-panel--reverse, .workflow-layout { grid-template-columns: minmax(0,1fr); }
  .review-cards { grid-template-columns: minmax(0,1fr); }
  .capability-panel--reverse figure { order: 0; }
  .panel-copy { max-width: 100%; }
  .feature-highlights, .technology-grid, .technology-detail-grid, .directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .technology-detail-grid--five > article, .technology-detail-grid--five > article:nth-child(4), .technology-detail-grid--five > article:last-child { grid-column: auto; }
  .principles-panel { gap: 32px; }
  .principles-panel article + article { padding-left: 32px; }
}
@media (max-width: 640px) {
  :root { --page-gutter: 20px; --reference-h1: 32px; --reference-h2: 28px; --reference-h3: 20px; --reference-lead: 18px; --section-space: 56px; }
  .hero-inner { padding-top: 52px; }
  .hero h1 { letter-spacing: -.025em; }
  .home-hero .heading-phrase { display: inline; }
  .home-hero .heading-phrase + .heading-phrase::before { content: " "; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { min-width: 0; }
  .section-heading { margin-bottom: 32px; }
  .capability-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 8px; }
  .capability-tabs button { padding-inline: 16px; }
  .feature-highlights, .workflow-cards, .technology-grid, .technology-detail-grid, .directory-grid, .principles-panel, .related-pages { grid-template-columns: minmax(0,1fr); }
  .principles-panel article + article { padding: 28px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.28); }
  .principles-panel h2 { font-size: 26px; }
  .mega-shell { gap: 12px; padding: 16px; }
  .mega-tabs > a, .mega-category-tabs button, .mega-page-links > a { font-size: 13px; padding-inline: 8px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-copyright { grid-row: 3; text-align: left; }
  .contact-details address { font-size: 20px; }
  .contact-details a { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .has-motion [data-reveal] { opacity: 1; transform: none; }
}
