:root {
  color-scheme: light;
  --ink: #122447;
  --muted: #50627d;
  --line: #dbe5f4;
  --paper: #f3f7fd;
  --dark: #0b1a36;
  --brand-blue: #3469c5;
  --brand-blue-text: #2457a5;
  --brand-cyan: #36caed;
  --brand-light: #80dfff;
  --brand-gold: #ffc453;
  --brand-orange: #ff9e3e;
  --wrap: 1220px;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--sans); line-height: 1.7; }
h1, h2, h3, p, dl, dd, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 90px; }
:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 5px; }
:is(.hero, .about) :focus-visible { outline-color: var(--brand-light); }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(var(--wrap), calc(100% - 96px)); margin-inline: auto; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; transform: translateY(-150%); padding: 10px 15px; color: var(--dark); background: var(--brand-light); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 5; top: 0; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.brand { flex: none; display: inline-flex; align-items: center; }
.brand img { width: 162px; height: auto; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3.4vw, 51px); }
.site-nav a { padding-block: 8px; font-size: 14px; color: var(--ink); white-space: nowrap; }
.site-nav a:hover, .back-top:hover { color: var(--brand-blue-text); }
.menu-button { display: none; }

.hero { position: relative; overflow: hidden; color: #fff; background: var(--dark); isolation: isolate; }
.hero-image { position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 80% 48%, #214d83 0, transparent 52%), var(--dark); }
.hero-image::before { content: ""; position: absolute; inset: 0 0 0 26%; background: url("assets/hero.webp") center 48% / cover no-repeat; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 0%, var(--dark) 25%, #0b1a36f2 38%, #0b1a3666 59%, #0b1a360f 92%), linear-gradient(0deg, #0b1a36c9, transparent 36%); }
.hero-inner { min-height: 573px; position: relative; display: grid; align-items: center; padding-block: 74px 88px; }
.hero-copy { max-width: 620px; }
.eyebrow { display: flex; align-items: center; gap: 11px; font-size: 13px; font-weight: 640; letter-spacing: .13em; }
.hero .eyebrow { color: #c9e7ff; }
.signal { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-cyan); flex: none; }
.hero .signal { background: var(--brand-gold); box-shadow: 0 0 14px #ffc45370; }
.hero h1 { margin-top: 22px; font-size: clamp(50px, 6.1vw, 87px); font-weight: 780; line-height: 1.11; letter-spacing: -.045em; }
.hero h1 span { color: var(--brand-light); }
@supports (background-clip: text) {
  .hero h1 span { background: linear-gradient(100deg, #53dbf9, #91b9ff); background-clip: text; color: transparent; }
}
.hero-lead { margin-top: 25px; color: #d5e3f1; max-width: 32em; font-size: clamp(15px, 1.35vw, 17px); line-height: 1.9; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; padding: 11px 17px; border: 1px solid transparent; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; font-size: 14px; font-weight: 700; transition: background .18s, border-color .18s; }
.button .icon { width: 17px; height: 17px; }
.button-primary { background: linear-gradient(105deg, var(--brand-gold), var(--brand-orange)); color: var(--dark); }
.button-primary:hover { background: var(--brand-gold); }
.button-outline { border-color: #b9daf575; background: #0d213c59; color: #f2f9ff; }
.button-outline:hover { background: #193b68; border-color: var(--brand-light); }

.overview { background: #102347; color: white; border-top: 1px solid #9eb9d835; border-bottom: 1px solid #9eb9d835; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); }
.metrics > div { display: flex; flex-direction: column-reverse; justify-content: center; gap: 8px; padding: 25px 28px 28px; border-left: 1px solid #b0cdea28; }
.metrics > div:last-child { border-right: 1px solid #b0cdea28; }
.metrics dt { color: #b8cee2; font-size: 13px; letter-spacing: .09em; }
.metrics dd { font-size: clamp(31px, 4vw, 54px); font-weight: 710; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.055em; }
.metrics dd span { margin-left: 4px; color: var(--brand-gold); font-size: .46em; letter-spacing: 0; }

.section { padding-block: 94px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px 44px; margin-bottom: 35px; }
.section-head > p { color: var(--muted); font-size: 15px; line-height: 1.8; padding-bottom: 4px; }
.section-label { color: var(--brand-blue-text); font: 700 12px/1.3 var(--mono); }
.section-label span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.section-label span:first-child::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .42; }
.section h2 { margin-top: 12px; font-size: clamp(36px, 4.3vw, 55px); line-height: 1.16; letter-spacing: -.045em; }
.section h3 { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.35; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.service-photo { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; background: var(--paper); }
.service-photo-frame { overflow: hidden; }
.service-photo-hardware { object-position: center 67%; transform: scale(1.29); }
.service-photo-stretch { object-fit: fill; }
.service-body { padding: 20px 23px 24px; }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.service-top .icon { width: 33px; height: 33px; padding: 6px; color: var(--brand-blue-text); background: #e7f1ff; border-radius: 5px; }
.service-top span { color: #566a81; font: 11px/1 var(--mono); letter-spacing: .04em; }
.service p, .platform-body p, .project p { margin-top: 10px; color: var(--muted); font-size: 14px; }

.platform-section { background: var(--paper); border-block: 1px solid #e8eef5; }
.platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.platform { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.platform-visual { display: flex; min-height: 165px; position: relative; isolation: isolate; overflow: hidden; flex-direction: column; justify-content: center; align-items: center; gap: 16px; padding: 25px 14px; color: #e5f5ff; background: radial-gradient(ellipse at 53% 70%, #284985 0%, #111f39 70%); }
.gateway { background: radial-gradient(ellipse at 56% 70%, #135074 0%, #102845 72%); }
.platform-gridlines { z-index: -1; position: absolute; inset: 0; background: linear-gradient(0deg, #b1ccff22 1px, transparent 1px), linear-gradient(90deg, #b1ccff22 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at center, black, transparent 80%); }
.flow-label { display: flex; align-items: center; gap: 8px; color: #ccdff6; font-size: 12px; letter-spacing: .1em; }
.flow-label .signal { width: 6px; height: 6px; }
.creative .signal { background: var(--brand-gold); }
.flow { display: flex; align-items: center; justify-content: center; width: 100%; }
.flow span { padding: 9px 12px; border: 1px solid #92b7f87a; border-radius: 5px; min-width: 75px; text-align: center; background: #1d3159; font-size: 13px; white-space: nowrap; }
.gateway .flow span { background: #163d5b; border-color: #80dfff82; }
.flow i { position: relative; width: clamp(14px, 3vw, 35px); height: 1px; background: #a0b7ea; }
.flow i::after { position: absolute; content: ""; width: 5px; height: 5px; top: -2px; right: 2px; transform: rotate(45deg); border-top: 1px solid; border-right: 1px solid; color: #a0b7ea; }
.platform-body { padding: 25px 28px 30px; }
.platform-type { display: inline-block; margin-bottom: 8px; color: var(--brand-blue-text); font-size: 12px; font-weight: 670; }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.project { position: relative; display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; padding: 26px 26px 24px; border-top: 2px solid var(--brand-blue); border-radius: 0 0 7px 7px; background: var(--paper); }
.project-index { margin-bottom: 17px; color: var(--brand-blue-text); font: 700 11px/1 var(--mono); letter-spacing: .1em; }
.project p { margin-bottom: 22px; }
.project-tag { margin-top: auto; color: #3e5672; border: 1px solid #c8d9e8; padding: 2px 9px; border-radius: 4px; font-size: 12px; }

.about { background: var(--dark); color: #f2f8ff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 7vw, 108px); }
.about .section-label { color: var(--brand-light); }
.about-copy > p:not(.eyebrow) { color: #c4d4e5; margin-top: 19px; font-size: 15px; }
.service-cities { padding-block: 21px; border-block: 1px solid #bfdcff36; }
.service-cities h3 { font-size: 16px; color: var(--brand-light); }
.city-list { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 13px; padding: 0; list-style: none; }
.city-list li { color: #f2f8ff; font-size: 16px; white-space: nowrap; }

.site-footer { background: var(--paper); color: var(--muted); }
.footer-inner { min-height: 96px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px 22px; padding-block: 20px; }
.footer-brand { justify-self: start; }
.footer-brand img { width: 143px; }
.footer-details { text-align: center; font-size: 12px; }
.icp-link { display: inline-block; margin-top: 4px; color: var(--brand-blue-text); text-decoration: underline; text-underline-offset: 3px; }
.back-top { justify-self: end; font-size: 12px; white-space: nowrap; }

@media (max-width: 960px) {
  .wrap { width: calc(100% - 64px); }
  .hero-inner { min-height: 510px; }
  .section { padding-block: 74px; }
  .service-body { padding-inline: 18px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 64px; gap: 12px; flex-wrap: wrap; }
  .brand img { width: 140px; }
  .menu-button { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-blue-text); background: var(--paper); border: 1px solid #a7c0eb; border-radius: 4px; padding: 6px 10px; cursor: pointer; font-size: 13px; }
  .menu-icon { display: block; width: 15px; height: 11px; border-block: 1px solid; position: relative; }
  .menu-icon::after { position: absolute; content: ""; inset: 4px 0 auto; height: 1px; background: currentColor; }
  .site-nav { width: 100%; display: flex; flex-wrap: wrap; gap: 5px 16px; justify-content: flex-start; padding-bottom: 8px; }
  .menu-ready .site-nav { display: none; }
  .menu-ready .menu-button[aria-expanded="true"] + .site-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
  .site-nav a { padding-block: 10px; }
  .hero-inner { min-height: 510px; padding-block: 63px 80px; }
  .hero-image::before { inset: 0; background-position: 66% center; }
  .hero-image::after { background: linear-gradient(90deg, #0b1a36fa 0%, #0b1a36d9 52%, #0b1a3670 100%), linear-gradient(0deg, var(--dark) 0%, transparent 52%); }
  .hero h1 { font-size: clamp(46px, 10vw, 68px); }
  .hero-lead { max-width: 30em; }
  .metrics > div { padding: 18px 12px; }
  .metrics dt { font-size: 11px; letter-spacing: 0; }
  .metrics dd { font-size: clamp(21px, 5vw, 40px); }
  .metrics dd span { margin-left: 2px; }
  .section { padding-block: 58px; }
  .section-head { align-items: start; flex-direction: column; gap: 14px; margin-bottom: 22px; }
  .desktop-break { display: none; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-grid, .project-grid, .about-grid { grid-template-columns: 1fr; }
  .platform-grid { gap: 14px; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-details { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 520px) {
  .service-grid { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .hero-inner { min-height: 470px; }
  .hero-actions { gap: 8px; }
  .button { padding-inline: 11px; gap: 8px; }
  .platform-body { padding: 20px; }
  .flow span { min-width: 66px; padding-inline: 8px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
