:root {
  color-scheme: dark;
  --page-bg: #05060a;
  --panel-bg: #090b10;
  --text: #f7f4ee;
  --muted: #c8c0b4;
  --line: rgba(255, 255, 255, 0.18);
  --accent: #f2b56a;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 1200px;
  background: var(--page-bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans CJK SC",
    Arial,
    sans-serif;
  color: var(--text);
  background: var(--page-bg);
}

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

a:hover {
  color: var(--accent);
}

.site-shell {
  width: 100%;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 80px),
    var(--page-bg);
}

.brand-bar {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #121315;
}

.brand-inner {
  width: min(1180px, calc(100% - 80px));
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-logo {
  display: block;
  width: 86px;
  height: 62px;
  object-fit: contain;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.hero {
  width: 100%;
  height: 640px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #faf7ef;
}

.hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer {
  background:
    radial-gradient(circle at 28% 0%, rgba(242, 181, 106, 0.1), transparent 28%),
    var(--panel-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
  padding: 42px 0 28px;
}

.contact {
  width: 520px;
  min-height: 126px;
  padding-bottom: 34px;
}

.contact h1 {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.contact p {
  margin: 10px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 58px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #b9b1a5;
  font-size: 13px;
  line-height: 1.7;
}

.legal p {
  margin: 0;
}

@media (max-width: 1199px) {
  html {
    min-width: 0;
  }

  .brand-inner,
  .footer-inner {
    width: calc(100% - 40px);
  }

  .hero {
    height: 52vw;
    min-height: 360px;
    max-height: 640px;
  }

  .contact {
    width: 100%;
  }

  .legal {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
