:root {
  --paper: #f7f6f2;
  --ink: #171a1f;
  --muted: #656970;
  --line: #d8d7d2;
  --accent: #315cff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.article-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 14px;
  font-weight: 800;
}
.back { color: var(--muted); font-size: 14px; font-weight: 700; }
.back:hover { color: var(--accent); }
article { width: min(800px, 100%); margin: 0 auto; padding: 96px 0 120px; }
.meta {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-size: clamp(44px, 7.2vw, 82px);
  line-height: .98;
  letter-spacing: -.06em;
}
.dek {
  margin: 32px 0 72px;
  color: var(--muted);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
}
.body { font-size: clamp(18px, 2vw, 21px); line-height: 1.68; }
.body p { margin: 0 0 28px; }
.body h2 {
  margin: 72px 0 24px;
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.body strong { color: var(--ink); }
.body ol { margin: 0 0 32px; padding-left: 26px; }
.body li { margin-bottom: 18px; padding-left: 8px; }
.closing {
  margin-top: 56px !important;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.38;
}
.article-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1120px); }
  .article-nav { padding: 18px 0; }
  .mark { width: 34px; height: 34px; font-size: 13px; }
  .back { font-size: 13px; }
  article { padding: 52px 0 72px; }
  .meta { margin-bottom: 18px; }
  h1 { font-size: clamp(36px, 12vw, 54px); line-height: 1; }
  .dek { margin: 24px 0 44px; font-size: 20px; }
  .body { font-size: 18px; line-height: 1.62; }
  .body p { margin-bottom: 23px; }
  .body h2 { margin: 54px 0 20px; font-size: 32px; }
  .closing { margin-top: 42px !important; padding-top: 26px; font-size: 22px; }
  .article-footer { flex-direction: column; gap: 8px; }
}
