/* markoffice.stormshield-gate.ru — minimal release-notes site.
   No JS, no fonts beyond system-ui, light/dark via prefers-color-scheme. */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --border: #e4e6ea;
  --accent: #1f4ed8;
  --accent-hover: #1a3fb8;
  --max-width: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --bg-soft: #1d2024;
    --text: #ececec;
    --text-muted: #a4a8ae;
    --border: #2c3035;
    --accent: #6ea0ff;
    --accent-hover: #8fb6ff;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

.site-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 16px;
  background: var(--bg-soft);
}

.site-title {
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
}

.site-subtitle {
  color: var(--text-muted);
  font-size: 14px;
}

.site-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}
.site-footer p { margin: 0; }

h1 {
  font-size: 28px;
  margin: 0 0 8px;
  line-height: 1.3;
}

h2 {
  font-size: 20px;
  margin: 32px 0 12px;
  line-height: 1.35;
}

h3 {
  font-size: 17px;
  margin: 24px 0 8px;
}

p { margin: 0 0 12px; }
p.lead { color: var(--text-muted); margin-bottom: 24px; }

ul, ol { padding-left: 22px; margin: 0 0 16px; }
li { margin: 4px 0; }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

strong { font-weight: 600; }

article.release-notes img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin: 12px 0;
}

article.release-notes blockquote {
  margin: 12px 0;
  padding: 8px 14px;
  border-left: 3px solid var(--border);
  color: var(--text-muted);
}

article.release-notes code {
  background: var(--bg-soft);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.92em;
}

.back-nav {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.version-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.version-item { margin: 0; }

.version-link {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.12s ease, background-color 0.12s ease;
}

.version-link:hover {
  text-decoration: none;
  border-color: var(--accent);
  background: var(--bg-soft);
}

.version-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.version-number {
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
}

.version-date {
  color: var(--text-muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.version-title {
  display: block;
  margin-top: 4px;
  color: var(--text);
}

.version-summary {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}
