:root {
  --ink: #142027;
  --muted: #60707b;
  --line: #dce5e5;
  --paper: #f7faf9;
  --white: #ffffff;
  --teal: #10a7a1;
  --teal-dark: #0a6f72;
  --amber: #d59c43;
  --charcoal: #08131a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Inter",
    "PingFang SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
  padding: 0 clamp(18px, 5vw, 72px);
  color: var(--white);
  background: rgba(5, 17, 24, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--charcoal);
  background: linear-gradient(135deg, #f8ffff, #80e4da 64%, #f0c16c);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--white);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 84svh;
  padding: 118px clamp(22px, 7vw, 96px) 78px;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 14, 20, 0.92) 0%, rgba(4, 14, 20, 0.72) 36%, rgba(4, 14, 20, 0.2) 68%),
    linear-gradient(0deg, rgba(4, 14, 20, 0.68) 0%, rgba(4, 14, 20, 0) 36%);
}

.hero-content {
  position: relative;
  width: min(680px, 100%);
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 9vw, 104px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  width: min(620px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-action,
.secondary-action,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-action {
  color: #062128;
  background: var(--teal);
  box-shadow: 0 16px 46px rgba(16, 167, 161, 0.28);
}

.secondary-action {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(22px, 7vw, 96px);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

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

.feature-card {
  min-height: 244px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-index {
  display: block;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.feature-card h3 {
  margin: 42px 0 12px;
  font-size: 21px;
}

.feature-card p,
.deployment-copy p,
.contact p {
  margin: 0;
  color: var(--muted);
}

.deployment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background: #eef5f4;
}

.deployment-copy p {
  max-width: 740px;
  margin-top: 22px;
  font-size: 17px;
}

.deployment-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.deployment-panel div {
  min-height: 132px;
  padding: 24px;
  background: var(--white);
}

.deployment-panel strong,
.deployment-panel span {
  display: block;
}

.deployment-panel strong {
  font-size: 20px;
}

.deployment-panel span {
  margin-top: 10px;
  color: var(--muted);
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--charcoal);
  color: var(--white);
}

.contact p {
  max-width: 680px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-link {
  color: #062128;
  background: linear-gradient(135deg, var(--teal), #f0c16c);
  white-space: nowrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px clamp(22px, 7vw, 96px);
  color: #6a7880;
  background: #ffffff;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer a {
  color: #53636c;
}

.site-footer a:hover {
  color: var(--teal-dark);
}

.legal-body {
  background: #f7faf9;
}

.legal-header {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 0 clamp(22px, 7vw, 96px);
  color: var(--white);
  background: var(--charcoal);
}

.legal-main {
  width: min(920px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 82px) 0;
}

.legal-main h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.legal-date {
  margin: 14px 0 34px;
  color: var(--muted);
}

.legal-main section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.legal-main h2 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.3;
}

.legal-main p {
  margin: 0;
  color: var(--muted);
}

.legal-main a,
.legal-footer a {
  color: var(--teal-dark);
  font-weight: 800;
}

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

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

@media (max-width: 720px) {
  .site-header {
    height: 62px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 86svh;
    padding-top: 104px;
    background-position: center;
  }

  .hero-bg {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(4, 14, 20, 0.92), rgba(4, 14, 20, 0.42)),
      linear-gradient(0deg, rgba(4, 14, 20, 0.74), rgba(4, 14, 20, 0.1));
  }

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

  .section-head,
  .contact,
  .site-footer {
    display: block;
  }

  .feature-grid,
  .deployment,
  .deployment-panel {
    grid-template-columns: 1fr;
  }

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

  .feature-card h3 {
    margin-top: 28px;
  }

  .contact-link {
    margin-top: 24px;
    width: 100%;
  }

  .site-footer span {
    display: block;
  }
}
