:root {
  --page-bg: #eff6ff;
  --title: #1b2531;
  --muted: #a3a3a3;
  --accent: #3284be;
  --header-h: 64px;
}

html,
body {
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--page-bg);
  color: var(--title);
  overflow-x: clip;
}

.page-wrap {
  width: 100%;
  max-width: 1180px;
}

.site-header {
  background: #fff;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
}

.site-logo {
  display: block;
  height: 40px;
  width: auto;
}

.page-title {
  color: var(--title);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 1.35rem 0 0.9rem;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  padding-bottom: 2rem;
}

.menu-link {
  display: block;
  width: 100%;
  min-width: 0;
  background: #fff;
  border-left: 4px solid var(--accent);
  color: var(--title);
  text-decoration: none;
  padding: 0.72rem 1rem 0.72rem 0.95rem;
  box-sizing: border-box;
}

.menu-link:hover {
  background: #f7fbff;
  color: var(--title);
}

.menu-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.menu-title,
.menu-text {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

.menu-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.menu-text {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 767.98px) {
  .site-logo {
    height: 34px;
  }

  .page-title {
    margin-top: 1.1rem;
  }

  .menu-link {
    padding: 0.7rem 0.85rem 0.7rem 0.8rem;
  }
}

@media (max-width: 575.98px) {
  .site-logo {
    height: 30px;
  }

  .page-title {
    font-size: 0.95rem;
  }

  .menu-title {
    font-size: 0.9rem;
  }

  .menu-text {
    font-size: 0.82rem;
  }
}
