:root {
  color-scheme: light;
  --ink: #101923;
  --navy: #071521;
  --navy-2: #0d2233;
  --slate: #263746;
  --muted: #66727e;
  --line: #d8dee3;
  --line-dark: rgba(255, 255, 255, 0.14);
  --paper: #f5f7f6;
  --white: #ffffff;
  --green: #0b5f59;
  --green-2: #0f766e;
  --gold: #c6a15b;
  --gold-2: #e3c77d;
  --red: #9e4a42;
  --blue: #2d5d83;
  --shadow: 0 28px 80px rgba(7, 21, 33, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(7, 21, 33, 0.94);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 238px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(227, 199, 125, 0.58);
  border-radius: 2px;
  background: linear-gradient(145deg, #0e2a3e, #0b5f59);
  color: var(--gold-2);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  letter-spacing: 0.01em;
}

.brand small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: var(--gold-2);
}

.language-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 94px;
  min-width: 94px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.language-toggle span {
  display: grid;
  min-height: 28px;
  place-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.language-toggle[aria-pressed="false"] span:first-child,
.language-toggle[aria-pressed="true"] span:last-child {
  background: var(--gold-2);
  color: var(--navy);
}

.section-band {
  padding: clamp(60px, 8vw, 110px) clamp(18px, 4vw, 56px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(90vh - 73px);
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(28px, 4vw, 44px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 21, 33, 0.98), rgba(7, 21, 33, 0.88) 48%, rgba(7, 21, 33, 0.72)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 44px);
  color: var(--white);
}

.hero::after {
  position: absolute;
  right: clamp(20px, 8vw, 140px);
  bottom: -1px;
  width: min(44vw, 620px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(40px, 4.9vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
}

.hero-lede {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(16px, 1.7vw, 19px);
}

.intro > p,
.contact-copy > p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--gold-2);
  color: var(--navy);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.contact-form .button.primary {
  background: var(--navy);
  color: var(--white);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  margin: 26px 0 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.metric-strip div {
  padding: 12px 18px 12px 0;
}

.metric-strip dt {
  color: var(--white);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 800;
}

.metric-strip dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(227, 199, 125, 0.32);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(11, 31, 46, 0.96), rgba(7, 21, 33, 0.96)),
    repeating-linear-gradient(0deg, rgba(227, 199, 125, 0.08) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 30px);
  box-shadow: var(--shadow);
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, transparent 0 52%, rgba(198, 161, 91, 0.14) 52% 52.35%, transparent 52.35%);
  content: "";
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.86);
}

.terminal-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.terminal-bar strong {
  margin-left: 8px;
  font-size: 12px;
  text-transform: uppercase;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.24fr 0.76fr;
  gap: 12px;
  padding: 14px;
}

.chart-panel {
  min-height: 136px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--white);
}

.chart-panel.large {
  grid-row: span 2;
  min-height: 270px;
}

.panel-label {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.bars {
  display: flex;
  align-items: end;
  gap: 9px;
  height: 170px;
  padding-top: 20px;
}

.bars i {
  flex: 1;
  min-width: 15px;
  height: var(--h);
  border-radius: 1px 1px 0 0;
  background: linear-gradient(180deg, var(--gold-2), var(--green-2));
  animation: rise 900ms ease both;
}

.radar {
  width: 92px;
  height: 92px;
  margin: 12px auto 0;
  border: 1px solid rgba(227, 199, 125, 0.24);
  border-radius: 50%;
  background:
    conic-gradient(from 18deg, rgba(227, 199, 125, 0.94), rgba(15, 118, 110, 0.84), rgba(45, 93, 131, 0.84), rgba(227, 199, 125, 0.94)),
    radial-gradient(circle, transparent 47%, rgba(255, 255, 255, 0.26) 48% 50%, transparent 51%);
  clip-path: polygon(50% 0, 84% 24%, 76% 77%, 50% 94%, 19% 70%, 24% 23%);
}

.mini-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-list span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-2);
}

.mini-list b {
  font-size: 12px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(280px, 1.08fr);
  gap: 40px;
  align-items: start;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.section-heading {
  margin-bottom: 32px;
}

.services,
.clients {
  background: #eef1f0;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 20px;
}

.service-tabs {
  display: grid;
  gap: 8px;
}

.service-tab {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.service-tab span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #f8f9f8;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.service-tab.is-active {
  border-color: rgba(198, 161, 91, 0.55);
  background: var(--navy);
  color: var(--white);
}

.service-tab.is-active span {
  border-color: rgba(227, 199, 125, 0.44);
  background: rgba(227, 199, 125, 0.12);
  color: var(--gold-2);
}

.service-detail {
  min-height: 360px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 18px 38px rgba(7, 21, 33, 0.06);
}

.service-kicker {
  max-width: 860px;
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.14;
}

.service-users {
  max-width: 820px;
  color: var(--muted);
  font-size: 16px;
}

.service-detail ul {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.service-detail li {
  position: relative;
  padding-left: 24px;
  color: #34414c;
}

.service-detail li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--gold);
  content: "";
}

.process {
  background: var(--white);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  min-height: 260px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fafbfa;
}

.process-list span {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.process-list p {
  margin: 0;
  color: #34414c;
  font-weight: 600;
}

.client-grid,
.edge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.client-grid article,
.edge-grid article {
  min-height: 206px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.client-grid article::before,
.edge-grid article::before {
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 22px;
  background: var(--gold);
  content: "";
}

.client-grid p,
.edge-grid p {
  color: var(--muted);
}

.edge {
  background:
    linear-gradient(180deg, rgba(7, 21, 33, 0.03), transparent 34%),
    var(--paper);
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: var(--navy);
  color: var(--white);
}

.contact .eyebrow {
  color: var(--gold-2);
}

.contact-copy > p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.contact-lines p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
}

.contact-lines strong {
  min-width: 92px;
  color: var(--gold-2);
}

.contact-lines span {
  color: rgba(255, 255, 255, 0.72);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(227, 199, 125, 0.28);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.05);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.contact-form input,
.contact-form select {
  min-height: 46px;
  padding: 0 12px;
}

.contact-form textarea {
  min-height: 126px;
  resize: vertical;
  padding: 12px;
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  text-transform: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid #172838;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.is-zh {
  font-family: Inter, "Noto Sans SC", system-ui, sans-serif;
}

@keyframes rise {
  from {
    transform: scaleY(0.25);
    transform-origin: bottom;
    opacity: 0;
  }
}

@media (max-width: 1040px) {
  .hero,
  .intro,
  .service-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-width: 760px;
  }

  .process-list,
  .client-grid,
  .edge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 34px;
  }

  h1 {
    font-size: clamp(32px, 10.4vw, 42px);
    line-height: 1.08;
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .metric-strip,
  .dashboard-grid,
  .process-list,
  .client-grid,
  .edge-grid {
    grid-template-columns: 1fr;
  }

  .metric-strip {
    display: none;
  }

  .chart-panel.large {
    min-height: 246px;
  }

  .bars {
    height: 160px;
  }

  .process-list li {
    min-height: 0;
  }

  .site-footer {
    display: grid;
  }
}
