/* Базовые стили */
body {
	font-family: "Segoe UI", Roboto, Arial, sans-serif;
	background-color: #f9fafb;
	color: #1f2937;
	margin: 0;
	padding: 0;
	line-height: 1.6;
  }
  
  /* Заголовок */
  header {
	background: #151922;
	color: white;
	text-align: center;
	padding: 2rem 1rem;
  }
  
  header h1 {
	margin: 0;
	font-size: 2rem;
  }
  
  header .subtitle {
	margin-top: 0.5rem;
	font-size: 1.1rem;
	opacity: 0.9;
  }
  
  header a{
	color: #9EBCFF;
	text-decoration: none;
	font-size: 1rem;
  }

  header .subtitle{
	display: flex;            
	justify-content: center;  
	gap: 20px;                
	align-items: center;      
  }

  /* Основное содержимое */
  main {
	max-width: 900px;
	margin: 2rem auto;
	padding: 0 1rem;
  }
  
  /* Карточки */
  .card {
	background: white;
	border-radius: 12px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.08);
	padding: 1.5rem;
	margin-bottom: 2rem;
	overflow: auto;
  }
  
  .card h2 {
	margin-top: 0;
	font-size: 1.4rem;
	color: #151922;
  }
  
  code {
	/* background-color: #2C2C2C; */
	font-family: "Courier New", monospace;
  }

  /* Таблицы */
  table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 1rem;
  }
  
  table th, table td {
	border: 1px solid #e5e7eb;
	padding: 0.6rem 0.8rem;
	text-align: left;
	vertical-align:top;
  }
  
  table th {
	background-color: #f3f4f6;
	color: #111827;
	font-weight: 600;
  }
  
  table tr:nth-child(even) td {
	background-color: #f9fafb;
  }

  table td:last-child {
	width: 100%;   /* второй столбец растягивается */
  }

  table th:nth-child(1), table th:nth-child(2), 
  table td:nth-child(1), table td:nth-child(2)  {
	white-space: nowrap;
  }
  
  /* Списки */
  ul {
	padding-left: 1.2rem;
  }
  
  ul li {
	margin-bottom: 0.4rem;
  }
  
  /* Footer */
  footer {
	text-align: center;
	padding: 1rem;
	background: #f3f4f6;
	color: #6b7280;
	font-size: 0.9rem;
  }
  
  footer a {
	color: #151922;
	text-decoration: none;
  }
  
  footer a:hover {
	text-decoration: underline;
  }
  