:root {
  --bg: #0b1020;
  --bg-card: #131b32;
  --text: #e8ecf4;
  --text-muted: #9aa6c2;
  --accent: #f5a623;
  --border: rgba(255, 255, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

header {
  text-align: center;
  margin-bottom: 48px;
}

header h1 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 8px;
}

header .subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  display: block;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.1s;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.card h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--accent);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px;
}

@media (max-width: 600px) {
  article {
    padding: 24px;
  }
}

article h1 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 8px;
}

article .meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

article h2 {
  font-size: 1.3rem;
  color: var(--accent);
  margin-top: 32px;
  margin-bottom: 12px;
}

article h3 {
  font-size: 1.05rem;
  color: var(--text);
  margin-top: 20px;
  margin-bottom: 8px;
}

article p,
article li {
  color: var(--text);
  margin-bottom: 12px;
}

article ul,
article ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

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

article a:hover {
  text-decoration: underline;
}

article strong {
  color: var(--text);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 24px;
  transition: color 0.15s;
}

.back-link:hover {
  color: var(--accent);
}

footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

footer p {
  margin-bottom: 6px;
}

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

footer a:hover {
  text-decoration: underline;
}
