:root{
  --bg: #0b0f14;
  --panel: rgba(255,255,255,0.04);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.68);
  --link: #7dd3fc;
  --accent: #a78bfa;
  --border: rgba(255,255,255,0.10);
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

@media (prefers-color-scheme: light) {
  :root{
    --bg:#ffffff; --panel:#f7f7fb; --text:#111827; --muted:#4b5563;
    --link:#0369a1; --accent:#6d28d9; --border:rgba(17,24,39,0.10);
    --shadow: 0 10px 30px rgba(0,0,0,0.10);
  }
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  letter-spacing: 0.2px;
}

a{color:var(--link); text-decoration:none}
a:hover{text-decoration:underline}

.container{
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 18px 64px;
}

header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom: 18px;
}

nav a{
  margin-left: 12px;
  padding: 8px 10px;
  border-radius: 10px;
}
nav a:hover{
  background: var(--panel);
  text-decoration:none;
}

.card{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 18px;
  box-shadow: var(--shadow);
}

h1,h2,h3{line-height:1.2; margin: 0.6em 0 0.4em}
h1{font-size: 2rem}
h2{font-size: 1.35rem}
p{margin: 0.6em 0}
hr{border:none; border-top:1px solid var(--border); margin: 18px 0}

ul{padding-left: 1.2rem}
li{margin: 0.35rem 0}

.btn{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--link));
  color: white;
  border: 0;
  text-decoration:none;
  font-weight: 600;
}
.btn:hover{filter: brightness(1.05); text-decoration:none}

.meta{
  color: var(--muted);
  font-size: 0.95rem;
}
