
:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --accent: #ffb347;
  --accent-soft: rgba(255,179,71,0.2);
  --text: #f5f5f5;
  --text-muted: #a0aec0;
  --border-subtle: rgba(255,255,255,0.06);
  --radius-xl: 18px;
  --shadow-soft: 0 18px 45px rgba(0,0,0,0.55);
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #1a1f35 0, #050816 45%, #000 100%);
  color: var(--text);
  font-family: var(--font-body);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  padding: 2.5rem 1.5rem 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.site-header h1 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin: 0 0 0.4rem;
  letter-spacing: 0.04em;
}

.tagline {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.top-nav {
  max-width: 960px;
  margin: 0 auto 1rem;
  padding: 0 1.5rem 0.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.top-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: all 0.15s ease-out;
  background: rgba(7, 10, 25, 0.9);
}

.top-nav a:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255,179,71,0.4);
}

.layout {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.2fr);
  gap: 1.5rem;
}

.main-column,
.sidebar {
  background: linear-gradient(145deg, rgba(15,23,42,0.98), rgba(17,24,39,0.98));
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem 1.5rem 1.6rem;
  backdrop-filter: blur(16px);
}

.sidebar {
  background: linear-gradient(150deg, rgba(15,23,42,0.97), rgba(20,20,36,0.97));
}

h2 {
  margin-top: 0;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

h3 {
  margin-top: 1.1rem;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

p {
  line-height: 1.6;
  font-size: 0.95rem;
}

.lead {
  font-size: 1rem;
}

.meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(15,23,42,0.9);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.15);
}

.card {
  border-radius: calc(var(--radius-xl) - 4px);
  border: 1px solid rgba(148,163,184,0.4);
  padding: 0.85rem 1rem;
  margin-top: 0.6rem;
  background: radial-gradient(circle at top left, rgba(148,163,255,0.12), transparent 60%);
}

.card p {
  margin: 0.15rem 0;
}

.card + .card {
  margin-top: 0.75rem;
}

ul {
  padding-left: 1.2rem;
}

ul li {
  margin: 0.15rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.muted {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer {
  border-top: 1px solid rgba(30,64,175,0.6);
  margin-top: auto;
  padding: 0.75rem 1.5rem 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: linear-gradient(to top, rgba(15,23,42,0.96), rgba(15,23,42,0.7));
  text-align: center;
}

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

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

/* Responsive */
@media (max-width: 768px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-header,
  .top-nav,
  .layout {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-footer {
    padding-inline: 1rem;
  }
}
