@font-face {
  font-family: 'JetBrains Mono';
  src: local('JetBrains Mono'), url('https://cdn.jsdelivr.net/npm/jetbrains-mono@1.0.6/webfonts/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: local('JetBrains Mono Medium'), url('https://cdn.jsdelivr.net/npm/jetbrains-mono@1.0.6/webfonts/JetBrainsMono-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  background: #f9fafb;
  color: #0f1117;
  font-family: 'JetBrains Mono', 'Courier New', ui-monospace, monospace;
  font-size: 15px;
  line-height: 1.48;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.canvas {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr minmax(460px, 500px) 1fr;
  background: 
    linear-gradient(90deg, #f3f4f6 0%, #f9fafb 50%, #f3f4f6 100%),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" /><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.035 0"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.5"/></svg>');
  background-blend-mode: overlay;
  background-attachment: fixed;
}

.left-gutter, .right-gutter {
  background: #f0f2f5;
}

.content-column {
  background: #ffffff;
  padding: 64px 44px 120px;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.logo-container {
  margin: 0 -80px 72px;
  height: 44px;
  overflow: hidden;
}

.logo {
  display: block;
}

.page-meta {
  margin-bottom: 88px;
  color: #4b5563;
  font-size: 13.2px;
  letter-spacing: 0.6px;
  line-height: 1.6;
}

.meta-line {
  margin-bottom: 6px;
}

.meta-line.small {
  font-size: 12.4px;
  opacity: 0.78;
}

.hero {
  margin-bottom: 100px;
}

.hero h1 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.15px;
  margin-bottom: 20px;
  color: #111827;
}

.lead {
  font-size: 15.5px;
  line-height: 1.52;
  margin: 0 0 28px;
  color: #1f2937;
}

.lead-second {
  font-size: 14.8px;
  color: #374151;
  margin-bottom: 36px;
}

.artifact {
  margin: 96px 0 140px;
}

.artifact h2 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.9px;
  color: #111827;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #111827;
  display: inline-block;
}

.artifact-img {
  width: 100%;
  height: auto;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: block;
  background: #f9fafb;
}

.caption {
  margin-top: 18px;
  font-size: 13.4px;
  color: #4b5563;
  line-height: 1.55;
}

.text-block {
  margin: 80px 0 110px;
}

.text-block h2 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.7px;
  color: #111827;
  margin-bottom: 24px;
  padding-bottom: 9px;
  border-bottom: 1px solid #e5e7eb;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 28px 0;
}

.two-col h3 {
  font-size: 15px;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 14px;
}

.feature-list, .rules-list {
  list-style: none;
  margin: 20px 0;
}

.feature-list li, .rules-list li {
  margin: 12px 0;
  padding-left: 28px;
  position: relative;
}

.feature-list li:before, .rules-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: #374151;
  font-weight: 500;
}

.numbered-guide {
  counter-reset: step;
  list-style: none;
  margin: 32px 0;
}

.numbered-guide li {
  counter-increment: step;
  margin: 18px 0;
  padding-left: 48px;
  position: relative;
  min-height: 32px;
}

.numbered-guide li:before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 32px;
  height: 32px;
  background: #111827;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 500;
}

.mirrors {
  margin: 120px 0 100px;
  padding: 36px 0;
  border-top: 1px solid #111827;
  border-bottom: 1px solid #111827;
}

.mirrors h2 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #111827;
}

.mirrors-notice {
  color: #4b5563;
  font-size: 13.6px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.mirrors ul {
  list-style: none;
}

.mirrors li {
  margin: 16px 0;
}

.mirrors a {
  color: #111827;
  text-decoration: none;
  transition: all 0.14s ease;
  padding: 3px 6px;
  border-radius: 2px;
  word-break: break-all;
  display: inline-block;
}

.mirrors a:hover {
  background: #1f2937;
  color: #ffffff;
}

.update-notice {
  margin-top: 32px;
  font-size: 13.2px;
  color: #6b7280;
  text-align: center;
}

.rules {
  margin: 110px 0 130px;
}

.final-meta {
  text-align: center;
  color: #6b7280;
  font-size: 13px;
  margin-top: 140px;
  line-height: 1.6;
}

.seo-footer {
  margin-top: 48px;
  font-size: 12.2px;
  color: #9ca3af;
  text-align: center;
  letter-spacing: 0.4px;
}

:root {
  --bg-light: #f9fafb;
  --bg-gutter: #f3f4f6;
  --text-primary: #111827;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --accent-dark: #111827;
  --hover-bg: #1f2937;
  --white: #ffffff;
}

body {
  color: var(--text-primary);
  background: var(--bg-light);
}

.canvas {
  background: 
    linear-gradient(90deg, var(--bg-gutter) 0%, var(--bg-light) 50%, var(--bg-gutter) 100%),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.92" numOctaves="2"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.028 0"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.45"/></svg>');
}

.content-column {
  background: var(--white);
  border-color: var(--border);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.logo-container {
  margin: 0 -88px 80px;
}

.page-meta {
  color: var(--text-muted);
  font-size: 13.5px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 23px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.lead {
  font-size: 15.8px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.lead-second {
  font-size: 14.8px;
  color: var(--text-muted);
  font-weight: 400;
}

.artifact h2,
.text-block h2 {
  font-weight: 500;
  color: var(--accent-dark);
  border-bottom-color: var(--accent-dark);
}

.artifact-img {
  border-color: var(--border);
  background: #fcfdfe;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  border-radius: 3px;
}

.caption {
  color: var(--text-muted);
  font-size: 13.6px;
  line-height: 1.58;
}

.two-col {
  gap: 52px;
}

.two-col h3 {
  font-size: 15.2px;
  color: var(--text-primary);
  font-weight: 500;
}

.feature-list li:before,
.rules-list li:before {
  color: var(--accent-dark);
  font-weight: 600;
}

.numbered-guide li:before {
  background: var(--accent-dark);
  color: var(--white);
  font-weight: 500;
}

.mirrors {
  border-color: var(--accent-dark);
}

.mirrors h2 {
  color: var(--accent-dark);
}

.mirrors a {
  color: var(--accent-dark);
}

.mirrors a:hover {
  background: var(--hover-bg);
  color: var(--white);
}

.mirrors-notice,
.update-notice {
  color: var(--text-muted);
}

.final-meta {
  color: var(--text-muted);
}

.seo-footer {
  color: #9ca3af;
  font-size: 12.4px;
  letter-spacing: 0.3px;
}

/* Микро-улучшения читаемости и акцентов */
h1, h2, h3 {
  letter-spacing: -0.12px;
}

ul, ol, dl {
  margin: 1.1em 0;
}

li {
  margin: 0.42em 0;
}

dt {
  font-weight: 500;
  color: var(--text-primary);
  margin: 1.1em 0 0.35em;
}

dd {
  margin: 0 0 0.9em 1.8em;
  color: var(--text-secondary);
}

@media (min-width: 640px) {
  .content-column {
    padding: 72px 52px 140px;
  }
  
  .hero h1 {
    font-size: 24.5px;
  }
  
  .lead {
    font-size: 16.2px;
  }
}