/* Scanexs: один тёмный стиль на все страницы. Один акцент, одна система радиусов (10px), системный шрифт. */
:root {
  --bg: #0c0d10;
  --bg-2: #121317;
  --line: #24262c;
  --text: #ececec;
  --muted: #9a9ca3;
  --accent: #2e7fff;
  --accent-ink: #ffffff;
  --radius: 10px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.nav { height: 64px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { font-weight: 600; letter-spacing: .01em; font-size: 18px; }
.nav-links { display: flex; gap: 28px; align-items: center; color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 16px;
  transition: transform .15s ease, filter .15s ease; white-space: nowrap;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: #3a3d45; }
.btn.small { height: 40px; font-size: 15px; padding: 0 16px; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.12; font-weight: 600; }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.2vw, 36px); }
p { margin: 0; }
.muted { color: var(--muted); }
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.footer { padding: 32px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
code, .mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .92em; }
@media (max-width: 767px) {
  body { font-size: 16px; }
  .nav-links a.hide-m { display: none; }
  .section { padding: 48px 0; }
}
