:root {
  color-scheme: light;
  --orange: #ff6a18;
  --orange-dark: #d94d09;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #e5e7eb;
  --paper: #ffffff;
  --soft: #f6f7f9;
  --green: #243d31;
  --green-2: #14241d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  opacity: 0.9;
}

.nav-links a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 19, 16, 0.78) 0%, rgba(10, 19, 16, 0.58) 38%, rgba(10, 19, 16, 0.1) 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.22));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 92px);
  padding-top: 56px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #ffd3b8;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 24px);
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 800;
}

.primary-action {
  color: #fff;
  background: var(--orange);
}

.secondary-action {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(72px, 9vw, 118px) clamp(20px, 6vw, 92px);
}

.section-light {
  background: #fff;
}

.section-dark {
  color: #fff;
  background: linear-gradient(145deg, var(--green-2), var(--green));
}

.section-accent {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(255, 106, 24, 0.92), rgba(217, 77, 9, 0.92)),
    url("./assets/camera-installation-hero.png") center / cover;
}

.section-head {
  max-width: 860px;
  margin-bottom: 44px;
}

.section-head h2,
.install-layout h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.section-head p,
.install-layout p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.section-dark .section-head p,
.section-accent .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.section-accent .eyebrow,
.section-dark .eyebrow {
  color: #ffd0b4;
}

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

.value-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.value-grid span,
.timeline span {
  color: var(--orange);
  font-weight: 900;
}

.value-grid h3,
.timeline h3 {
  margin: 18px 0 10px;
  font-size: 22px;
}

.value-grid p,
.timeline p,
.capability-list p,
.site-footer p,
.spec-list dd {
  color: var(--muted);
}

.system-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 42px;
  align-items: center;
}

.system-visual img {
  display: block;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

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

.capability-list div {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.capability-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.capability-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.install-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
  gap: 58px;
  align-items: start;
}

.spec-list {
  margin: 0;
  display: grid;
  gap: 12px;
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  font-weight: 850;
}

.spec-list dd {
  margin: 0;
  text-align: right;
}

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

.timeline div {
  padding-top: 26px;
  border-top: 2px solid var(--orange);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 6vw, 92px);
  color: #fff;
  background: #101820;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.64);
}

.site-footer a {
  font-weight: 800;
  color: #ffd0b4;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .value-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-layout,
  .install-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 12px 18px;
  }

  .brand span {
    font-size: 14px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: 720px;
    align-items: flex-end;
    padding-bottom: 56px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(10, 19, 16, 0.2) 0%, rgba(10, 19, 16, 0.8) 58%, rgba(10, 19, 16, 0.94) 100%);
  }

  .hero-content {
    margin: 0 20px;
    padding-top: 88px;
  }

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

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .value-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 20px;
  }

  .value-grid article {
    min-height: 0;
  }

  .spec-list div,
  .site-footer {
    display: block;
  }

  .spec-list dd {
    margin-top: 4px;
    text-align: left;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 18px;
  }
}
