:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --bg-soft: #eef2f7;
  --panel: #ffffff;
  --text: #102139;
  --muted: #52647d;
  --line: #d4deef;
  --accent: #1f6b5b;
  --accent-strong: #165545;
  --accent-soft: #eaf6f2;
  --shadow: 0 2px 8px rgba(16, 33, 57, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", Inter, Roboto, Arial, sans-serif;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1100px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 18px;
  border: 1px solid #e2e9f3;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 33, 57, 0.04);
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.site-nav__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--text);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.site-nav__name {
  font-size: 17px;
}

.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.site-nav__links a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.site-nav__links a:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.site-nav__muted {
  color: var(--muted) !important;
}

.site-nav__cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background: var(--text) !important;
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.16);
}

.site-nav__cta:hover {
  background: #1c3457 !important;
  color: #fff !important;
}

@media (max-width: 720px) {
  .site-nav {
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
  }

  .site-nav__links {
    justify-content: center;
  }
}
