:root {
  color-scheme: light;
  --ink: #101918;
  --muted: #5f6f6c;
  --soft: #eef4f2;
  --line: rgba(25, 52, 48, 0.14);
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: rgba(255, 255, 255, 0.95);
  --teal: #007f73;
  --teal-dark: #005c55;
  --mint: #ccebe5;
  --amber: #c7892f;
  --rose: #a64553;
  --blue: #2f6f9f;
  --shadow: 0 24px 70px rgba(20, 43, 40, 0.13);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(0, 127, 115, 0.08), transparent 34%, rgba(47, 111, 159, 0.07)),
    linear-gradient(180deg, #f2f8f6 0%, #ffffff 46%, #edf5f2 100%);
  letter-spacing: 0;
}

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

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

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 20;
  transform: translateY(-150%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 10px 12px;
}

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

.page-shell {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  margin-top: 18px;
  padding: 14px 14px 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(14, 37, 34, 0.1);
  backdrop-filter: blur(22px);
}

.brand,
.site-nav,
.hero-actions,
.public-security-link {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
}

.brand-device {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(0, 127, 115, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(224, 241, 238, 0.82)),
    linear-gradient(45deg, rgba(0, 127, 115, 0.18), transparent);
}

.brand-device span {
  position: absolute;
  inset: 10px 8px 8px 12px;
  border-radius: 50%;
  background: rgba(0, 127, 115, 0.25);
  filter: blur(6px);
}

.brand-copy strong {
  display: block;
  font-size: 18px;
  line-height: 1.05;
}

.brand-copy small,
.eyebrow,
.dock-code,
.dock-status,
.tool-tile small,
.route-row span,
.console-strip span,
.console-panel span {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-copy small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.site-nav {
  justify-self: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(25, 52, 48, 0.1);
  border-radius: var(--radius);
  background: rgba(244, 249, 247, 0.78);
}

.site-nav a {
  border-radius: 6px;
  padding: 10px 14px;
  color: #3f5551;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  background: #ffffff;
  color: var(--teal-dark);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 800;
}

.header-action {
  justify-self: end;
  padding: 0 20px;
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 127, 115, 0.24);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.35fr);
  gap: 26px;
  min-height: 610px;
  margin-top: 30px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.72) 42%, rgba(227, 241, 239, 0.64)),
    repeating-linear-gradient(90deg, rgba(16, 25, 24, 0.035) 0 1px, transparent 1px 74px);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--amber), var(--rose));
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 520px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 64px;
  line-height: 0.98;
  font-weight: 900;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 12px;
  font-size: 42px;
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1.14;
}

.hero-lede,
.section-heading p,
.dock-card p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-lede {
  max-width: 460px;
  margin-bottom: 28px;
  font-size: 20px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  padding: 0 22px;
  border: 1px solid var(--line);
}

.button-primary {
  background: var(--teal);
  color: #ffffff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.8);
}

.matrix-console {
  position: relative;
  min-height: 530px;
  isolation: isolate;
}

.console-media {
  position: absolute;
  inset: 22px 0 76px 0;
  overflow: hidden;
  border: 1px solid rgba(25, 52, 48, 0.13);
  border-radius: var(--radius);
  background: #dfe9e7;
  box-shadow: 0 28px 68px rgba(20, 43, 40, 0.14);
  transition: transform 260ms ease;
}

.console-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  filter: saturate(0.82) contrast(1.04);
}

.console-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.38), transparent 30%, rgba(255, 255, 255, 0.5)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.6), transparent 42%);
}

.console-panel {
  position: absolute;
  z-index: 2;
  width: 186px;
  padding: 16px;
  border: 1px solid rgba(25, 52, 48, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 40px rgba(20, 43, 40, 0.12);
  backdrop-filter: blur(16px);
  transition: transform 260ms ease;
}

.console-panel strong,
.console-panel small {
  display: block;
}

.console-panel span {
  color: var(--teal);
}

.console-panel strong {
  margin-top: 8px;
  font-size: 22px;
}

.console-panel small {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.console-panel-data {
  top: 138px;
  right: 54px;
}

.console-panel-sample {
  top: 290px;
  right: 136px;
}

.console-panel-talent {
  top: 242px;
  left: 40px;
}

.console-panel-pay {
  top: 122px;
  left: 72px;
}

.console-panel-hr {
  top: 348px;
  left: 44px;
  width: 160px;
  padding: 12px 14px;
}

.console-panel-hr strong {
  margin-top: 5px;
  font-size: 18px;
}

.console-panel-hr small {
  margin-top: 5px;
  font-size: 11px;
}

.console-strip {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(122px, 1fr));
  overflow: hidden;
  border: 1px solid rgba(25, 52, 48, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 54px rgba(20, 43, 40, 0.12);
}

.console-strip div {
  padding: 18px 20px;
  border-left: 1px solid rgba(25, 52, 48, 0.12);
}

.console-strip div:first-child {
  border-left: 0;
}

.console-strip span {
  display: block;
  color: var(--muted);
}

.console-strip strong {
  display: block;
  margin-top: 9px;
  font-size: 28px;
}

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

.section-heading {
  display: grid;
  justify-items: center;
  text-align: center;
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 22px;
}

.section-heading .eyebrow {
  margin-bottom: 4px;
}

.section-heading p {
  max-width: 680px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
}

.dock-grid {
  display: grid;
  grid-template-columns: 1.14fr repeat(4, 0.93fr);
  gap: 14px;
}

.dock-card,
.tool-tile,
.route-board {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 44px rgba(20, 43, 40, 0.09);
}

.dock-card {
  position: relative;
  min-height: 292px;
  padding: 24px;
  overflow: hidden;
}

.dock-card::before,
.tool-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--teal);
}

.dock-card-primary::before {
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.dock-card:hover,
.tool-tile:hover,
.route-row:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 127, 115, 0.34);
  background: var(--panel-strong);
}

.dock-card,
.tool-tile,
.route-row {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.dock-status {
  display: inline-flex;
  margin-bottom: 34px;
  border: 1px solid rgba(0, 127, 115, 0.2);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--teal-dark);
  background: rgba(204, 235, 229, 0.58);
}

.dock-code {
  display: block;
  color: var(--muted);
}

.dock-card h3 {
  margin-top: 12px;
}

.dock-card p {
  min-height: 76px;
}

.dock-card strong {
  display: block;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(25, 52, 48, 0.1);
  font-size: 17px;
}

.tool-block {
  padding-top: 92px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
}

.tool-tile {
  position: relative;
  min-height: 196px;
  border-width: 0 1px 0 0;
  border-radius: 0;
  padding: 24px;
  box-shadow: none;
}

.tool-tile:last-child {
  border-right: 0;
}

.tool-tile span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(25, 52, 48, 0.16);
  border-radius: 50%;
  color: var(--teal-dark);
  font-weight: 900;
}

.tool-tile small,
.tool-tile strong,
.tool-tile em {
  display: block;
}

.tool-tile small {
  margin-top: 34px;
  color: var(--muted);
}

.tool-tile strong {
  margin-top: 10px;
  font-size: 24px;
  line-height: 1.18;
}

.tool-tile em {
  margin-top: 18px;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.tool-qianchuan::before {
  background: var(--amber);
}

.tool-tmall::before {
  background: var(--teal);
}

.tool-photo::before {
  background: var(--blue);
}

.tool-lunbo::before {
  background: var(--rose);
}

.route-board {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.74);
}

.route-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 150px;
  gap: 18px;
  align-items: center;
  min-height: 76px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}

.route-row:last-child {
  border-bottom: 0;
}

.route-row span {
  color: var(--muted);
}

.route-row strong {
  font-size: 22px;
}

.route-row em {
  justify-self: end;
  color: var(--teal-dark);
  font-style: normal;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: center;
  padding: 42px 0 34px;
}

.public-security-link {
  justify-content: center;
  gap: 8px;
  color: #566965;
  font-size: 13px;
  font-weight: 700;
}

.public-security-link:hover {
  color: var(--teal-dark);
}

@media (max-width: 980px) {
  .page-shell {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 24px;
  }

  h1 {
    font-size: 50px;
  }

  .matrix-console {
    min-height: 520px;
  }

  .dock-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .tool-tile {
    border-width: 0 0 1px;
    border-radius: 0;
  }

  .tool-tile:last-child {
    border-bottom: 0;
  }

  .section-heading {
    gap: 0;
  }

  .section-heading .eyebrow,
  .section-heading h2,
  .section-heading p {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, var(--max));
  }

  .site-header {
    top: 10px;
    min-height: 68px;
    padding: 12px;
  }

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

  .brand-copy small {
    font-size: 10px;
  }

  .header-action {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    margin-top: 18px;
    padding: 20px;
  }

  h1 {
    font-size: 40px;
    line-height: 1.06;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 24px;
  }

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

  .button {
    width: 100%;
  }

  .matrix-console {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    margin-top: 26px;
  }

  .console-media {
    position: relative;
    inset: auto;
    height: 254px;
  }

  .console-panel {
    position: relative;
    inset: auto;
    width: 164px;
    padding: 14px;
  }

  .console-panel-data {
    justify-self: end;
    width: min(100%, 180px);
    margin-top: -92px;
    margin-right: 12px;
  }

  .console-panel-talent {
    justify-self: start;
    width: min(100%, 180px);
  }

  .console-panel-pay {
    justify-self: start;
    width: min(100%, 180px);
    margin-left: 18px;
  }

  .console-panel-hr {
    justify-self: start;
    width: min(100%, 180px);
    margin-left: 8px;
  }

  .console-panel-sample {
    justify-self: end;
    width: min(100%, 180px);
    margin-right: 18px;
  }

  .console-strip {
    position: relative;
    inset: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .console-strip div {
    border-left: 1px solid rgba(25, 52, 48, 0.12);
    border-top: 0;
    padding: 12px 14px;
  }

  .console-strip div:first-child {
    border-left: 0;
  }

  .console-strip strong {
    font-size: 22px;
  }

  .dock-card {
    min-height: 0;
  }

  .dock-card p {
    min-height: 0;
  }

  .route-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px;
  }

  .route-row em {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
