/* Evolution Initiative — стиль страниц гайдов. Бренд-токены совпадают с лендингом. */
:root {
  --bg: #050505;
  --bg-1: #0a0a0a;
  --bg-2: #0f0f0f;
  --bg-3: #161616;
  --text: #ebe6dc;
  --text-2: #c2bcae;
  --muted: #8b8478;
  --muted-2: #6a6357;
  --accent: #c9a87a;
  --accent-bright: #e6c590;
  --accent-hot: #d4a04a;
  --line: rgba(201, 168, 122, 0.18);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #000; }

a { color: var(--accent-bright); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hot); text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.container { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.gnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5,5,5,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.gnav .container { display: flex; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; max-width: 1000px; }
.gnav-logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.gnav-logo:hover { color: var(--text); text-decoration: none; }
.gnav-logo img { width: 36px; height: 36px; }
.gnav-links { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.gnav-links a { color: var(--text-2); font-size: 15px; }
.gnav-cta {
  background: var(--accent); color: #000 !important;
  padding: 8px 16px; border-radius: 6px; font-weight: 600; font-size: 14px;
}
.gnav-cta:hover { background: var(--accent-bright); text-decoration: none; }

/* ===== ARTICLE ===== */
.article { padding: 56px 0 40px; }
.article .eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 16px;
}
.article h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(32px, 5vw, 48px); line-height: 1.12; color: var(--text);
  margin-bottom: 28px;
}
.article h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(24px, 3.5vw, 32px); line-height: 1.2; color: var(--text);
  margin: 44px 0 16px;
}
.article h3 {
  font-weight: 700; font-size: 20px; color: var(--text); margin: 30px 0 12px;
}
.article p { color: var(--text-2); margin-bottom: 18px; }
.article ul, .article ol { color: var(--text-2); margin: 0 0 18px 22px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--text); }
.article hr { border: none; border-top: 1px solid var(--line); margin: 40px 0; }
.article em { color: var(--muted); }

.article blockquote {
  border-left: 3px solid var(--accent); padding: 8px 20px; margin: 24px 0;
  color: var(--text-2); font-style: italic; background: var(--bg-1);
}

/* tables */
.article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 16px; }
.article th, .article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.article th { color: var(--accent); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.article tr:last-child td { border-bottom: none; }

/* ===== FOOTER ===== */
.gfooter { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 40px; }
.gfooter .container { max-width: 1000px; }
.gfooter p { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.gfooter a { font-size: 14px; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .gnav-links { gap: 14px; }
  .gnav-links a:not(.gnav-cta) { display: none; }
}
