/* ===== Global ===== */
:root {
  --bg: #050608;
  --bg-card: #101319;
  --accent: #ff6b3d;
  --accent-soft: rgba(255, 107, 61, 0.12);
  --text: #f5f6fa;
  --muted: #a4a8b6;
  --border: #232735;
  --radius: 18px;
  --max-width: 880px;
}

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

body {
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background: radial-gradient(circle at top,#151823 0,#050608 55%);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 18px 64px;
}

/* ===== Header ===== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 15px;
  background: radial-gradient(circle at 30% 20%,#ffb347,#ff6b3d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(0,0,0,.55);
}

.logo-text {
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--muted);
}

nav.main-nav {
  display: flex;
  gap: 10px;
  font-size: 13px;
}

nav.main-nav a {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
}
nav.main-nav a:hover {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.02);
}

/* ===== Article ===== */
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.breadcrumb a { text-decoration: underline; text-decoration-style: dotted; }

article {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px 18px 22px;
  box-shadow: 0 14px 32px rgba(0,0,0,.55);
}

article h1 {
  font-size: clamp(24px, 3vw, 30px);
  margin-bottom: 6px;
}

.article-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.lead {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

article h2 {
  font-size: 18px;
  margin: 18px 0 6px;
}

article p {
  font-size: 14px;
  margin-bottom: 10px;
}

.related {
  margin-top: 18px;
  font-size: 13px;
}
.related h3 {
  font-size: 14px;
  margin-bottom: 6px;
}
.related ul {
  list-style: disc;
  margin-left: 18px;
}
.related a {
  text-decoration: underline;
  text-decoration-style: dotted;
}

footer {
  margin-top: 24px;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid rgba(31,41,55,.9);
  padding-top: 12px;
}

@media (max-width: 640px) {
  header { flex-direction: column; align-items: flex-start; }
  .page { padding-inline: 14px; }
}
