@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
  color-scheme: dark;
  --bg: #161b1a;
  --text: #f1f1e9;
  --muted: #bec7c0;
  --accent: #bacba6;
  --line: #3b4540;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.page { max-width: 1440px; margin-inline: auto; padding: 40px 120px 80px; }
.site-header {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 32px; border-bottom: 1px solid var(--line);
  font-size: 18px; font-weight: 600; line-height: 1.2;
}
.brand-mark { flex: 0 0 12px; width: 12px; height: 12px; border-radius: 2px; background: var(--accent); }
h1, h2, p { margin: 0; }
h1, h2 { overflow-wrap: break-word; }
.article-opening { padding-block: 64px; }
h1 { font-size: 60px; font-weight: 600; line-height: 1.12; letter-spacing: -2.3px; }
.introduction, .article-section { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 60px; }
.introduction { margin-top: 40px; }
.accent-rule { display: block; height: 3px; background: var(--accent); }
p { color: var(--muted); font-size: 19px; font-weight: 400; line-height: 1.75; overflow-wrap: break-word; }
.introduction p { font-size: 21px; line-height: 1.65; }
.article-section { border-top: 1px solid var(--line); padding-block: 48px 56px; }
.section-heading { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; min-width: 0; }
.section-heading h2 { width: 100%; min-width: 0; }
.section-number { color: var(--accent); font-size: 13px; font-weight: 500; line-height: 1.2; letter-spacing: 1.5px; }
h2 { font-size: 30px; font-weight: 500; line-height: 1.22; letter-spacing: -.6px; }
.section-content { min-width: 0; }
.section-content > * + * { margin-top: 24px; }
.section-content strong { color: var(--text); font-weight: 600; }
.section-content ul, .section-content ol {
  margin: 0;
  padding-left: 1.5em;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}
.section-content li + li { margin-top: 8px; }
.table-scroll { max-width: 100%; overflow-x: auto; }
.table-scroll table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.table-scroll th, .table-scroll td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-scroll thead th { color: var(--text); font-weight: 600; border-top: 2px solid var(--accent); }
.table-scroll tbody th { color: var(--text); font-weight: 600; }
.table-scroll tbody td { color: var(--muted); }
article { border-bottom: 3px solid var(--accent); }
::selection { background: var(--accent); color: var(--bg); }
.site-footer { padding-top: 32px; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; }
.footer-brand { color: var(--text); font-size: 16px; font-weight: 500; line-height: 1.6; }
.footer-tagline { color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer-link { color: var(--accent); font-size: 14px; line-height: 1.6; text-decoration: underline; text-underline-offset: 3px; }
.footer-link:hover, .footer-link:focus-visible { color: var(--text); }
@media (max-width: 1199px) {
  .page { padding-inline: 48px; }
  .introduction, .article-section { grid-template-columns: minmax(220px, .85fr) minmax(0, 2fr); gap: 40px; }
  h1 { font-size: clamp(40px, 4.5vw, 60px); }
}
@media (max-width: 767px) {
  .page { padding: 24px 24px 40px; }
  .site-header { gap: 10px; padding-bottom: 24px; font-size: 16px; }
  .brand-mark { flex-basis: 10px; width: 10px; height: 10px; }
  .article-opening { padding-block: 36px 40px; }
  h1 { font-size: 34px; line-height: 1.15; letter-spacing: -1.1px; }
  .introduction, .article-section { grid-template-columns: minmax(0, 1fr); }
  .introduction { margin-top: 28px; gap: 28px; }
  .accent-rule { width: 64px; }
  p, .introduction p { font-size: 18px; line-height: 1.7; }
  .article-section { padding-block: 32px 40px; gap: 22px; }
  .section-number { font-size: 12px; }
  h2 { font-size: 27px; line-height: 1.25; }
  .site-footer { padding-top: 24px; }
  .footer-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-brand { font-size: 15px; }
}

