:root {
  --ink: #17202a;
  --muted: #5f6976;
  --line: #dce3ea;
  --paper: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --amber: #d97706;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding: 0 6vw;
  color: #ffffff;
  background: rgba(12, 23, 31, 0.64);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  border-radius: 50%;
  font-size: 14px;
}

.brand-text {
  font-size: 16px;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 74vh;
  padding: 132px 6vw 78px;
  overflow: hidden;
  color: #ffffff;
}

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

.hero-media {
  background: url("assets/platform-preview.webp") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 16, 24, 0.92) 0%, rgba(5, 16, 24, 0.68) 46%, rgba(5, 16, 24, 0.24) 100%),
    rgba(11, 79, 74, 0.16);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
}

.hero h1 span {
  display: inline;
}

.hero-lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  min-height: 122px;
  padding: 28px 6vw;
  background: var(--paper);
}

.metric strong {
  display: block;
  color: var(--teal-dark);
  font-size: 32px;
  line-height: 1.1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 6vw;
  color: #d8e4e2;
  background: #0b1b19;
  font-size: 14px;
}

@media (max-width: 1080px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
    padding: 0 20px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand-text {
    max-width: calc(100vw - 92px);
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
  }

  .hero {
    min-height: 78vh;
    padding: 116px 20px 54px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(5, 16, 24, 0.9) 0%, rgba(5, 16, 24, 0.78) 68%, rgba(5, 16, 24, 0.68) 100%),
      rgba(11, 79, 74, 0.14);
  }

  .hero h1 {
    max-width: 100%;
    font-size: 32px;
    word-break: break-all;
  }

  .hero h1 span {
    display: block;
  }

  .hero-lead {
    font-size: 17px;
  }

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

  .metric {
    min-height: auto;
    padding: 24px 20px;
  }

  .site-footer {
    flex-direction: column;
    padding: 22px 20px;
  }
}
