:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --card: var(--surface);
  --card-2: var(--surface-2);
  --border: #f7f9fc;
  --text: #1c2430;
  --muted: #55616f;
  --muted-2: #768394;
  --brand: #2b73d2;
  --brand-2: #1e5fb7;
  --success: #2ea44f;
  --nav-bg: #ffffff;
  --nav-border: #f8fafc;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  --radius: 16px;
  --radius-sm: 12px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "PingFang SC",
    "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

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

.brand__logo {
  width: auto;
  height: 36px;
  max-width: 220px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 640px) {
  .brand__logo {
    height: 32px;
    max-width: 180px;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(28, 36, 48, 0.9);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.2px;
}

.nav__link:hover {
  background: rgba(15, 23, 42, 0.04);
}

.nav__link--active {
  color: var(--brand);
  background: rgba(43, 115, 210, 0.08);
}

.nav__sep {
  width: 1px;
  height: 22px;
  background: var(--border);
  border-radius: 999px;
  margin: 0 4px;
}
