:root {
  --background: #ffffff;
  --foreground: #000000;
  --muted: #000000;
  --brand: #4da3ff;
  --surface: #ffffff;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand {
  color: var(--foreground);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 14px;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--foreground);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--foreground);
  background: #f2f2f2;
}

.nav-links a.active {
  color: var(--foreground);
  background: #eaeaea;
  border: 1px solid #dddddd;
}

/* Hero */
.hero {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 64px 0 80px;
  min-height: 68vh;
  background-image: radial-gradient(600px 300px at 50% 20%, rgba(0, 0, 0, 0.03), transparent 60%);
}

.company-name {
  font-size: clamp(32px, 5.2vw, 64px);
  margin: 56px 0;
  text-align: center;
  letter-spacing: 0.5px;
  line-height: 1.15;
  color: var(--foreground);
  font-weight: 700;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.company-name::after {
  content: "";
  display: block;
  width: 128px;
  height: 4px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, #4da3ff, #80c2ff);
  border-radius: 999px;
}

/* Footer */
.site-footer {
  border-top: none;
  background: #2f3a48;
  color: #cbd5e1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 0;
  flex-wrap: wrap;
}

.footer-center {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-links {
  display: flex;
  gap: 16px;
  width: 100%;
  justify-content: flex-end;
}

.site-footer .footer-links a {
  color: #dbeafe;
  text-decoration: none;
  opacity: 0.9;
}

.site-footer .footer-links a:hover {
  color: #ffffff;
  opacity: 1;
}

.site-footer .copyright {
  color: #cbd5e1;
  font-size: 14px;
}

.site-footer .beian a {
  color: #94a3b8;
  font-size: 12px;
  text-decoration: none;
}

.site-footer .beian a:hover {
  color: #cbd5e1;
  text-decoration: underline;
}

/* Content pages */
.page {
  flex: 1;
  padding: 40px 0 64px;
}

.page h1 {
  font-size: 28px;
  margin: 0 0 16px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.card p {
  color: var(--foreground);
  margin: 10px 0;
}


/* Preserve formatting for long legal texts */
.legal-text {
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  color: var(--foreground);
  margin: 0;
}


