:root {
  --black: #333333;
  --text: #333333;
  --muted: #999999;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
}

html a {
  text-decoration: none;
}

html a:hover {
  text-decoration: none;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.site-header {
  position: relative;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background-color: var(--black);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 56px;
}

.brand {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.02em;
}

.brand span {
  font-weight: 400;
  opacity: 0.95;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.top-links a {
  color: #fff;
  font-size: 14px;
  transition: opacity 0.2s;
}

.top-links a:hover {
  opacity: 0.8;
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: min(52vw, 520px);
  min-height: 280px;
  margin-top: 56px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/images/company-bfb3bf888a.jpg") center center / cover no-repeat;
}

/* Intro */
.intro {
  flex: 1;
  background: var(--white);
  padding: 80px 24px 120px;
}

.intro-copy {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-copy p {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 2.2;
  color: var(--text);
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  padding: 0 16px 48px;
  text-align: center;
  background: var(--white);
}

.copyright {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

/* Sub pages */
.page-main {
  flex: 1;
  margin-top: 56px;
  padding: 40px 16px 64px;
  background: #f5f5f5;
}

.page-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 4px;
  padding: 32px 28px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.page-title {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #222;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

@media (max-width: 768px) {
  .topbar {
    padding: 0 16px;
    height: 50px;
  }

  .top-links {
    gap: 16px;
  }

  .top-links a {
    font-size: 13px;
  }

  .brand {
    font-size: 14px;
  }

  .hero {
    margin-top: 50px;
    height: 200px;
    min-height: 200px;
  }

  .intro {
    padding: 48px 20px 80px;
  }

  .intro-copy p {
    font-size: 14px;
    line-height: 1.9;
  }

  .page-main {
    margin-top: 50px;
    padding: 24px 12px 48px;
  }

  .page-container {
    padding: 24px 18px;
  }
}
