:root {
  --bg: #f7f8f5;
  --surface: #ffffff;
  --surface-soft: #eef4f2;
  --text: #16212a;
  --muted: #5e6a72;
  --line: #d9e2de;
  --teal: #0f766e;
  --blue: #3454d1;
  --gold: #c98a18;
  --shadow: 0 22px 60px rgba(27, 42, 50, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Microsoft YaHei UI",
    "Segoe UI",
    Arial,
    sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 12px;
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: #17262d;
  color: #ffffff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

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

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: 48px;
  max-width: 1180px;
  min-height: min(760px, calc(100vh - 78px));
  margin: 0 auto;
  padding: 56px 24px 76px;
}

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

.section-label {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.35;
}

.hero-text,
.section-heading p,
.feature-card p,
.scenario-list p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.82;
}

.hero-text {
  margin-bottom: 32px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 700;
}

.button.primary {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.24);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section,
.split-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 24px;
}

.section-heading {
  max-width: 720px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.feature-card {
  min-height: 224px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 28px;
}

.feature-card:nth-child(2) {
  border-color: rgba(52, 84, 209, 0.28);
}

.feature-card:nth-child(3) {
  border-color: rgba(201, 138, 24, 0.28);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.scenario-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  column-gap: 22px;
  border-radius: 8px;
  background: var(--surface-soft);
  padding: 24px;
}

.scenario-list span {
  color: var(--blue);
  font-weight: 800;
}

.scenario-list h3,
.scenario-list p {
  grid-column: 2;
}

.principles {
  padding-bottom: 104px;
}

.principle-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.principle-row div {
  border-top: 3px solid var(--teal);
  background: var(--surface);
  padding: 22px;
  font-size: 18px;
  font-weight: 800;
}

.principle-row div:nth-child(2) {
  border-top-color: var(--blue);
}

.principle-row div:nth-child(3) {
  border-top-color: var(--gold);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 28px 24px 42px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 18px;
}

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

.police-record {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.police-record img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 44px;
  }

  .hero-visual img {
    aspect-ratio: 16 / 11;
  }

  .feature-grid,
  .principle-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section,
  .split-section,
  .footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  h1 {
    font-size: 39px;
  }

  .feature-grid,
  .principle-row {
    grid-template-columns: 1fr;
  }

  .scenario-list article {
    grid-template-columns: 1fr;
  }

  .scenario-list h3,
  .scenario-list p {
    grid-column: 1;
  }

  .footer {
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-start;
    justify-content: flex-start;
  }
}
