:root {
  --ink: #0d1116;
  --ink-soft: #141a20;
  --paper: #eef3f1;
  --muted: #a7b2b6;
  --line: rgba(238, 243, 241, 0.14);
  --cyan: #65e3f4;
  --coral: #ff937f;
  --lime: #c8ef77;
  --amber: #f4cf81;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  color: var(--ink);
  background: var(--cyan);
}

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

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

.page-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(101, 227, 244, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 227, 244, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.4) 68%, transparent 100%);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: 3px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(101, 227, 244, 0.7);
  transition: width 0.1s linear;
}

.site-header {
  position: fixed;
  top: 3px;
  right: 0;
  left: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(238, 243, 241, 0.09);
  background: rgba(13, 17, 22, 0.7);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 80px;
  margin: 0 auto;
}

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

.brand-logo {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 0 22px rgba(101, 227, 244, 0.16);
}

.brand-logo.small {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-text small {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  position: relative;
  padding: 27px 0 25px;
  color: #bdc7c9;
  font-size: 14px;
  transition: color 0.25s ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--paper);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0 9px 18px;
  border-left: 1px solid var(--line);
  color: var(--paper);
  font-size: 13px;
}

.nav-contact b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(101, 227, 244, 0.5);
  color: var(--cyan);
  font-size: 16px;
  font-weight: 400;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-contact:hover b {
  background: var(--cyan);
  color: var(--ink);
  transform: translate(2px, -2px);
}

.menu-toggle {
  display: none;
}

.section {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  scroll-snap-align: start;
}

.section-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -2;
  background-image: url("assets/hero-network.jpg");
  background-position: center right;
  background-size: cover;
  filter: saturate(0.86) contrast(1.05);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 17, 22, 0.98) 0%, rgba(13, 17, 22, 0.82) 31%, rgba(13, 17, 22, 0.28) 70%, rgba(13, 17, 22, 0.15) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 22%, rgba(13, 17, 22, 0.2) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.44fr);
  align-items: end;
  gap: 52px;
  padding-top: 120px;
  padding-bottom: 92px;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 25px;
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.eyebrow-line {
  display: block;
  width: 32px;
  height: 1px;
  background: currentColor;
}

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

h1,
h2 {
  margin-bottom: 0;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.07;
}

h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
}

h2 {
  font-size: clamp(1.85rem, 3.15vw, 3.35rem);
  line-height: 1.18;
}

@media (min-width: 641px) {
  h1,
  h2 {
    white-space: nowrap;
  }
}

h1 em,
h2 em {
  color: var(--cyan);
  font-style: normal;
}

.hero-lead {
  max-width: 470px;
  margin: 34px 0 0;
  color: #c2cdce;
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  font-size: 14px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.button-primary {
  padding: 0 17px 0 20px;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 600;
}

.button-primary span {
  font-size: 17px;
  line-height: 1;
}

.button-primary:hover {
  background: var(--paper);
  transform: translateY(-3px);
}

.button-quiet {
  color: #c2cdce;
}

.button-quiet span {
  color: var(--coral);
  font-size: 19px;
}

.button-quiet:hover {
  color: var(--paper);
  transform: translateX(3px);
}

.hero-meta {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 370px;
  padding-top: 8px;
  color: #c2cdce;
  font-size: 10px;
  letter-spacing: 0.15em;
}

.hero-meta-top,
.hero-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.hero-meta-top {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.hero-coordinates {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cyan);
  writing-mode: vertical-rl;
  transform: translateX(2px);
}

.coordinate-mark {
  display: block;
  width: 7px;
  height: 7px;
  border: 1px solid var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 147, 127, 0.12);
}

.hero-caption {
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.hero-caption span:first-child {
  color: var(--coral);
  font-size: 17px;
  letter-spacing: 0;
}

.scroll-cue {
  position: absolute;
  bottom: 27px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #b8c5c7;
  font-size: 9px;
  letter-spacing: 0.2em;
  transform: translateX(-50%);
  transition: color 0.25s ease;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 42px;
  height: 1px;
  background: currentColor;
}

.scroll-cue i::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  content: "";
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.scroll-cue:hover {
  color: var(--cyan);
}

.section-products {
  padding: 150px 0 120px;
  background: rgba(13, 17, 22, 0.96);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.23fr 0.86fr;
  align-items: end;
  gap: 34px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line);
}

.section-heading .eyebrow {
  align-self: start;
}

.section-intro {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 32px;
}

.product-card {
  position: relative;
  min-height: 410px;
  padding: 24px 21px 22px;
  border: 1px solid var(--line);
  background: rgba(20, 26, 32, 0.7);
  transform-style: preserve-3d;
  transition: border-color 0.28s ease, background 0.28s ease, transform 0.18s ease;
}

.product-card::before {
  position: absolute;
  top: -1px;
  right: 25px;
  left: 25px;
  height: 2px;
  content: "";
  background: var(--card-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.product-card:hover {
  border-color: var(--card-accent);
  background: rgba(26, 35, 41, 0.88);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card-cyan {
  --card-accent: var(--cyan);
}

.product-card-coral {
  --card-accent: var(--coral);
}

.product-card-lime {
  --card-accent: var(--lime);
}

.product-card-amber {
  --card-accent: var(--amber);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--card-accent);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.card-number {
  font-size: 15px;
  letter-spacing: 0;
}

.card-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.card-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--card-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--card-accent) 15%, transparent);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-top: 58px;
  color: var(--card-accent);
}

.card-icon svg {
  width: 52px;
  height: 52px;
}

.product-card h3 {
  margin: 24px 0 13px;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.product-card p {
  max-width: 250px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.card-tags {
  position: absolute;
  bottom: 25px;
  left: 21px;
  display: flex;
  gap: 8px;
  color: #849397;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.card-tags span {
  padding: 4px 7px;
  border: 1px solid rgba(238, 243, 241, 0.13);
}

.card-arrow {
  position: absolute;
  right: 21px;
  bottom: 23px;
  color: var(--card-accent);
  font-size: 24px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.product-card:hover .card-arrow {
  transform: translate(3px, -3px);
}

.signal-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 74px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #8a989b;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.signal-strip i {
  width: 70px;
  height: 1px;
  background: var(--coral);
}

.section-jobs {
  display: flex;
  align-items: center;
  min-height: 91vh;
  padding: 130px 0;
  background: #151c21;
}

.section-jobs::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 39%;
  height: 100%;
  content: "";
  border-left: 1px solid var(--line);
  background:
    linear-gradient(135deg, transparent 49.5%, rgba(200, 239, 119, 0.08) 49.7%, transparent 50.4%),
    linear-gradient(45deg, transparent 49.5%, rgba(101, 227, 244, 0.06) 49.7%, transparent 50.4%);
  background-size: 155px 155px;
  opacity: 0.75;
}

.jobs-layout {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 100px;
}

.jobs-copy h2 em {
  color: var(--coral);
}

.jobs-note {
  display: flex;
  gap: 18px;
  max-width: 385px;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.note-mark {
  color: var(--lime);
  font-size: 26px;
  line-height: 1;
}

.jobs-note p {
  margin: 0;
  color: #99a7aa;
  font-size: 13px;
  line-height: 1.8;
}

.jobs-list {
  position: relative;
  z-index: 1;
  padding-top: 25px;
}

.job-row {
  display: grid;
  grid-template-columns: 50px 1fr 36px;
  align-items: center;
  gap: 15px;
  min-height: 110px;
  border-top: 1px solid var(--line);
  transition: padding 0.28s ease, color 0.28s ease;
}

.job-row:last-of-type {
  border-bottom: 1px solid var(--line);
}

.job-row:hover {
  padding: 0 12px;
  color: var(--cyan);
}

.job-index {
  color: var(--coral);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.job-row h3 {
  margin: 0 0 3px;
  font-size: 21px;
  font-weight: 400;
}

.job-row p {
  margin: 0;
  color: #7f8c90;
  font-size: 11px;
  letter-spacing: 0.09em;
}

.job-arrow {
  color: var(--cyan);
  font-size: 24px;
  transition: transform 0.25s ease;
}

.job-row:hover .job-arrow {
  transform: translate(3px, -3px);
}

.jobs-footnote {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-top: 25px;
  color: #7f8c90;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.jobs-footnote span:last-child {
  color: var(--lime);
}

.section-about {
  display: flex;
  align-items: center;
  min-height: 91vh;
  padding: 130px 0 100px;
  background: var(--ink);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.about-title h2 em {
  color: var(--lime);
}

.about-title .section-intro {
  margin-top: 39px;
}

.about-detail {
  padding-top: 27px;
}

.about-statement {
  display: flex;
  gap: 20px;
  padding: 25px 0 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-mark {
  color: var(--lime);
  font-size: 44px;
  font-family: Georgia, serif;
  line-height: 0.7;
}

.about-statement p {
  margin: 0;
  font-size: 25px;
  font-weight: 300;
  line-height: 1.45;
}

.company-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.fact {
  display: grid;
  gap: 5px;
  min-height: 105px;
  padding: 25px 20px 20px 0;
  border-bottom: 1px solid var(--line);
}

.fact:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.fact:nth-child(even) {
  padding-left: 20px;
}

.fact span {
  color: #849397;
  font-size: 11px;
}

.fact strong {
  color: var(--paper);
  font-size: 18px;
  font-weight: 400;
}

.fact-source {
  margin: 21px 0 0;
  color: #6f7c80;
  font-size: 11px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 91px;
  margin: 0 auto;
  color: #849397;
  font-size: 11px;
}

.footer-brand,
.footer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-meta {
  gap: 20px;
}

.footer-meta a {
  color: var(--cyan);
  transition: color 0.2s ease;
}

.footer-meta a:hover {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-signal {
  color: var(--coral);
  font-size: 10px;
  letter-spacing: 0.16em;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.product-grid [data-reveal]:nth-child(2) {
  transition-delay: 0.1s;
}

.product-grid [data-reveal]:nth-child(3) {
  transition-delay: 0.2s;
}

@media (max-width: 900px) {
  .header-inner,
  .section-inner,
  .footer-inner {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .site-nav {
    gap: 22px;
  }

  .nav-contact {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    display: none;
  }

  .section-heading {
    grid-template-columns: 0.55fr 1.2fr;
  }

  .section-heading .section-intro {
    grid-column: 2;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card {
    min-height: 340px;
  }

  .card-icon {
    margin-top: 50px;
  }

  .jobs-layout,
  .about-layout {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .section-jobs::before {
    width: 46%;
  }

  .about-detail {
    padding-top: 0;
  }

  .footer-inner {
    flex-wrap: wrap;
    padding: 24px 0;
  }

  .footer-meta {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 73px;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-text small {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    padding: 0 11px;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--cyan);
    transition: transform 0.25s ease;
  }

  .site-header.is-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .site-header.is-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    padding: 8px 20px 15px;
    border: 1px solid var(--line);
    border-top: 0;
    background: rgba(13, 17, 22, 0.97);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-7px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    padding: 13px 0;
    border-bottom: 1px solid rgba(238, 243, 241, 0.08);
  }

  .nav-link::after {
    right: auto;
    width: 24px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-image {
    background-position: 63% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(13, 17, 22, 0.98) 0%, rgba(13, 17, 22, 0.73) 65%, rgba(13, 17, 22, 0.35) 100%),
      linear-gradient(0deg, var(--ink) 0%, transparent 28%, rgba(13, 17, 22, 0.15) 100%);
  }

  .hero-inner {
    width: min(calc(100% - 36px), var(--max-width));
    padding-top: 98px;
    padding-bottom: 95px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  h1 {
    font-size: clamp(2.35rem, 8.5vw, 3.15rem);
  }

  h2 {
    font-size: clamp(1.85rem, 8.4vw, 2.75rem);
    line-height: 1.2;
  }

  .hero-lead {
    margin-top: 26px;
    font-size: 15px;
    line-height: 1.8;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    margin-top: 31px;
  }

  .scroll-cue {
    bottom: 22px;
    font-size: 8px;
  }

  .section-products,
  .section-jobs,
  .section-about {
    min-height: auto;
    padding: 100px 0 85px;
  }

  .section-heading {
    display: block;
    padding-bottom: 45px;
  }

  .section-heading .section-intro,
  .about-title .section-intro {
    margin-top: 30px;
  }

  .product-card {
    min-height: 355px;
    padding: 22px 20px 20px;
  }

  .product-card h3 {
    font-size: 22px;
  }

  .card-tags {
    bottom: 20px;
    left: 20px;
  }

  .card-arrow {
    right: 20px;
    bottom: 19px;
  }

  .signal-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    margin-top: 50px;
  }

  .signal-strip i {
    width: 45px;
  }

  .jobs-layout,
  .about-layout {
    gap: 48px;
  }

  .section-jobs::before {
    width: 100%;
    height: 45%;
    border-top: 1px solid var(--line);
    border-left: 0;
    opacity: 0.5;
  }

  .jobs-note {
    margin-top: 35px;
  }

  .jobs-list {
    padding-top: 0;
  }

  .job-row {
    grid-template-columns: 35px 1fr 25px;
    min-height: 95px;
    gap: 10px;
  }

  .job-row:hover {
    padding: 0 6px;
  }

  .job-row h3 {
    font-size: 18px;
  }

  .jobs-footnote {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding-top: 20px;
  }

  .about-statement p {
    font-size: 21px;
  }

  .fact {
    min-height: 92px;
    padding-top: 20px;
  }

  .fact strong {
    font-size: 16px;
  }

  .footer-inner {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .footer-signal {
    display: none;
  }
}

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