:root {
  color-scheme: dark;
  --bg: #05070a;
  --panel: rgba(10, 18, 24, 0.72);
  --panel-strong: rgba(13, 28, 36, 0.9);
  --text: #f4fbff;
  --muted: #a8bbc5;
  --line: rgba(157, 221, 238, 0.22);
  --cyan: #4fd7ff;
  --amber: #f6b44b;
  --green: #6ff0bd;
  --shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid transparent;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(5, 7, 10, 0.82);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(79, 215, 255, 0.58);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(79, 215, 255, 0.2), rgba(111, 240, 189, 0.08));
  box-shadow: 0 12px 40px rgba(79, 215, 255, 0.16);
  color: #dff9ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

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

.brand-text strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-text span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 32px);
  color: #d8e8ef;
  font-size: 14px;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--cyan);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(860px, 92vh);
  overflow: hidden;
  padding: 112px clamp(20px, 5vw, 72px) 96px;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.95) 0%, rgba(5, 7, 10, 0.74) 36%, rgba(5, 7, 10, 0.18) 72%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.45) 0%, rgba(5, 7, 10, 0.18) 48%, #05070a 100%);
}

.hero-inner {
  align-self: center;
  width: min(780px, 100%);
  min-width: 0;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(30px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 34px;
  color: #d5e5ec;
  font-size: clamp(17px, 2vw, 22px);
  overflow-wrap: break-word;
  word-break: break-all;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.mobile-break {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  border-color: rgba(79, 215, 255, 0.75);
  background: #dff9ff;
  color: #041016;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #e8f7fb;
}

.hero-metrics {
  display: grid;
  max-width: 640px;
  margin: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 10, 14, 0.35);
}

.hero-metrics div {
  padding: 18px 18px 16px;
  border-right: 1px solid var(--line);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics dt {
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
  background: var(--bg);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.intro-band {
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #071015;
}

.intro p {
  max-width: 940px;
  margin: 0;
  color: #d8e8ee;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.55;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4.8vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.business-card {
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(20, 42, 50, 0.86), rgba(8, 15, 20, 0.88)),
    var(--panel);
  box-shadow: 0 22px 70px var(--shadow);
}

.card-index {
  display: block;
  margin-bottom: 64px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
}

.business-card h3 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 23px;
  line-height: 1.2;
}

.business-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.capability-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(79, 215, 255, 0.12), transparent 36%),
    linear-gradient(180deg, #061014, #08161c);
}

.capability-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.capability-list {
  display: grid;
  gap: 12px;
}

.capability-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.capability-item span {
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
}

.capability-item p {
  margin: 0;
  color: #d5e4eb;
}

.contact-section {
  padding-top: clamp(64px, 8vw, 100px);
  padding-bottom: clamp(64px, 8vw, 100px);
}

.contact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.contact-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(246, 180, 75, 0.5);
  border-radius: 8px;
  background: rgba(246, 180, 75, 0.09);
  color: #ffe2aa;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: #879aa3;
  font-size: 13px;
}

@media (max-width: 980px) {
  .business-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .brand-text strong {
    max-width: 186px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 104px;
    padding-bottom: 56px;
  }

  .hero-inner,
  .hero-copy {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  h1 {
    max-width: calc(100vw - 40px);
    font-size: clamp(22px, 6.4vw, 34px);
  }

  .mobile-break {
    display: block;
  }

  .hero-media {
    object-position: 68% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 7, 10, 0.95), rgba(5, 7, 10, 0.52)),
      linear-gradient(180deg, rgba(5, 7, 10, 0.28), #05070a 100%);
  }

  .hero-metrics,
  .business-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .business-card {
    min-height: 220px;
  }

  .card-index {
    margin-bottom: 36px;
  }

  .capability-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .contact,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@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;
  }
}
